@gmb/bitmark-parser-generator 5.38.0 → 5.39.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -0,0 +1,16 @@
1
+ /**
2
+ * PLAN-020: Shape of the translated display-name data provided by the `./translations`
3
+ * subpath export.
4
+ *
5
+ * Keyed by bit type / bit-group key / resource-group key; each entry maps BCP-47 language
6
+ * tags to the translated display name. English (`en`) is not required here — the English
7
+ * name lives inline in the configs (`title`); lookups fall back
8
+ * `de-CH` → `de` → `en` (inline title) → technical key.
9
+ */
10
+ type TranslationsData = {
11
+ [bitTypeOrGroupKey: string]: {
12
+ [bcp47LanguageTag: string]: string;
13
+ };
14
+ };
15
+
16
+ export type { TranslationsData as T };
@@ -0,0 +1,16 @@
1
+ /**
2
+ * PLAN-020: Shape of the translated display-name data provided by the `./translations`
3
+ * subpath export.
4
+ *
5
+ * Keyed by bit type / bit-group key / resource-group key; each entry maps BCP-47 language
6
+ * tags to the translated display name. English (`en`) is not required here — the English
7
+ * name lives inline in the configs (`title`); lookups fall back
8
+ * `de-CH` → `de` → `en` (inline title) → technical key.
9
+ */
10
+ type TranslationsData = {
11
+ [bitTypeOrGroupKey: string]: {
12
+ [bcp47LanguageTag: string]: string;
13
+ };
14
+ };
15
+
16
+ export type { TranslationsData as T };