Skip to content

Commit 466ca10

Browse files
committed
Update imports for relocated metadata files
- Update requirements.mts to import from data/api-metadata.json - Update translations.mts to import from data/alert-definitions.json
1 parent c488eb3 commit 466ca10

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/utils/requirements.mts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
* - getRequirementsKey: Convert command path to SDK method name
88
*/
99

10-
import requirementsJson from '../../.config/api-requirements.json' with { type: 'json' }
10+
import requirementsJson from '../../data/api-metadata.json' with { type: 'json' }
1111

1212
let _requirements:
1313
| Readonly<{

src/utils/translations.mts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
/** @fileoverview Socket alert definitions loader */
22

3-
import translationsJson from '../../.config/socket-alerts.json' with { type: 'json' }
3+
import translationsJson from '../../data/alert-definitions.json' with { type: 'json' }
44

55
let _translations: typeof translationsJson | undefined
66

0 commit comments

Comments
 (0)