waha-shared 1.0.207 → 1.0.209

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.
Files changed (122) hide show
  1. package/dist/data/areas/areas.schema.json +19 -53
  2. package/dist/data/areas/areas.zod.d.ts +15 -12
  3. package/dist/data/aslTimestamps/aslTimestamps.schema.json +18 -11
  4. package/dist/data/aslTimestamps/aslTimestamps.zod.d.ts +4 -34
  5. package/dist/data/bibleAudios/bibleAudios.schema.json +14 -11
  6. package/dist/data/bibleAudios/bibleAudios.zod.d.ts +11 -15
  7. package/dist/data/bibleAudios/bibleAudios.zod.js +5 -4
  8. package/dist/data/bibleAudios/index.d.ts +5 -2
  9. package/dist/data/bibleBooks/bibleBooks.schema.json +71 -50
  10. package/dist/data/bibleBooks/bibleBooks.zod.d.ts +5 -51
  11. package/dist/data/bibleBooks/index.d.ts +2 -2
  12. package/dist/data/bibleChaptersList/bibleChaptersList.schema.json +5 -2
  13. package/dist/data/bibleChaptersList/bibleChaptersList.zod.d.ts +1 -1
  14. package/dist/data/bibleStatuses/bibleStatuses.json +2 -110
  15. package/dist/data/bibleStatuses/bibleStatuses.schema.json +46 -40
  16. package/dist/data/bibleStatuses/bibleStatuses.zod.d.ts +5 -25
  17. package/dist/data/bibleStatuses/bibleStatuses.zod.js +2 -27
  18. package/dist/data/bibleTexts/bibleTexts.schema.json +40 -24
  19. package/dist/data/bibleTexts/bibleTexts.zod.d.ts +11 -39
  20. package/dist/data/bibleTexts/index.d.ts +3 -3
  21. package/dist/data/clones/clones.schema.json +27 -26
  22. package/dist/data/clones/clones.zod.d.ts +2 -24
  23. package/dist/data/clones/clones.zod.js +1 -1
  24. package/dist/data/clones/index.d.ts +3 -3
  25. package/dist/data/countries/countries.schema.json +91 -90
  26. package/dist/data/countries/countries.zod.d.ts +19 -88
  27. package/dist/data/countries/countries.zod.js +49 -138
  28. package/dist/data/countriesAndLanguages/countriesAndLanguages.schema.json +19 -8
  29. package/dist/data/countriesAndLanguages/countriesAndLanguages.zod.d.ts +2 -28
  30. package/dist/data/countriesAndLanguages/index.d.ts +2 -2
  31. package/dist/data/crowdinLanguages/crowdinLanguages.schema.json +13 -4
  32. package/dist/data/crowdinLanguages/crowdinLanguages.zod.d.ts +1 -13
  33. package/dist/data/crowdinLanguages/index.d.ts +1 -1
  34. package/dist/data/curriculumFoundations/curriculumFoundations.schema.json +16 -8
  35. package/dist/data/curriculumFoundations/curriculumFoundations.zod.d.ts +2 -10
  36. package/dist/data/curriculumQuestions/curriculumQuestions.schema.json +24 -13
  37. package/dist/data/curriculumQuestions/curriculumQuestions.zod.d.ts +3 -23
  38. package/dist/data/curriculumTopics/curriculumTopics.schema.json +16 -8
  39. package/dist/data/curriculumTopics/curriculumTopics.zod.d.ts +2 -10
  40. package/dist/data/iosVoiceOverLanguages/iosVoiceOverLanguages.schema.json +5 -2
  41. package/dist/data/iosVoiceOverLanguages/iosVoiceOverLanguages.zod.d.ts +1 -1
  42. package/dist/data/iso6933LanguageCodes/iso6933LanguageCodes.schema.json +8 -2
  43. package/dist/data/iso6933LanguageCodes/iso6933LanguageCodes.zod.js +1 -1
  44. package/dist/data/languageAssets/languageAssets.json +0 -37702
  45. package/dist/data/languageAssets/languageAssets.schema.json +15 -12
  46. package/dist/data/languageAssets/languageAssets.zod.d.ts +1 -1
  47. package/dist/data/languageAssets/languageAssets.zod.js +3 -43
  48. package/dist/data/languages/index.d.ts +8 -4
  49. package/dist/data/languages/languages.json +1 -1
  50. package/dist/data/languages/languages.schema.json +136 -89
  51. package/dist/data/languages/languages.zod.d.ts +194 -116
  52. package/dist/data/languages/languages.zod.js +7 -1
  53. package/dist/data/mediaDurations/mediaDurations.schema.json +21 -14
  54. package/dist/data/mediaDurations/mediaDurations.zod.d.ts +1 -1
  55. package/dist/data/mediaDurations/mediaDurations.zod.js +3 -41
  56. package/dist/data/notification/notification.schema.json +67 -57
  57. package/dist/data/notification/notification.zod.d.ts +15 -39
  58. package/dist/data/notification/notification.zod.js +4 -134
  59. package/dist/data/numeralMaps/numeralMaps.schema.json +62 -62
  60. package/dist/data/numeralMaps/numeralMaps.zod.d.ts +2 -46
  61. package/dist/data/numeralMaps/numeralMaps.zod.js +14 -64
  62. package/dist/data/phoneLanguages/index.d.ts +1 -1
  63. package/dist/data/phoneLanguages/phoneLanguages.schema.json +18 -8
  64. package/dist/data/phoneLanguages/phoneLanguages.zod.d.ts +2 -22
  65. package/dist/data/questions/index.d.ts +1 -1
  66. package/dist/data/questions/questions.schema.json +11 -11
  67. package/dist/data/questions/questions.zod.d.ts +6 -14
  68. package/dist/data/releaseNotes/index.d.ts +1 -1
  69. package/dist/data/releaseNotes/releaseNotes.schema.json +23 -11
  70. package/dist/data/releaseNotes/releaseNotes.zod.d.ts +1 -9
  71. package/dist/data/releaseNotes/releaseNotes.zod.js +1 -1
  72. package/dist/data/screenshots/screenshots.schema.json +12 -6
  73. package/dist/data/screenshots/screenshots.zod.d.ts +1 -5
  74. package/dist/data/scripts/scripts.schema.json +11 -4
  75. package/dist/data/scripts/scripts.zod.d.ts +1 -7
  76. package/dist/data/sets/index.d.ts +2 -2
  77. package/dist/data/sets/sets.schema.json +25 -22
  78. package/dist/data/sets/sets.zod.d.ts +61 -39
  79. package/dist/data/specialIds/specialIds.schema.json +5 -1
  80. package/dist/data/specialIds/specialIds.zod.d.ts +11 -41
  81. package/dist/data/translationsApp/index.d.ts +9 -9
  82. package/dist/data/translationsApp/translationsApp.json +0 -1
  83. package/dist/data/translationsApp/translationsApp.schema.json +667 -668
  84. package/dist/data/translationsApp/translationsApp.zod.d.ts +1 -631
  85. package/dist/data/translationsApp/translationsApp.zod.js +2 -2
  86. package/dist/data/translationsFtb/translationsFtb.json +0 -884
  87. package/dist/data/translationsFtb/translationsFtb.schema.json +147 -149
  88. package/dist/data/translationsFtb/translationsFtb.zod.d.ts +1 -135
  89. package/dist/data/translationsFtb/translationsFtb.zod.js +1 -1
  90. package/dist/data/translationsIntroduction/translationsIntroduction.schema.json +15 -18
  91. package/dist/data/translationsIntroduction/translationsIntroduction.zod.d.ts +2 -160
  92. package/dist/data/translationsIntroduction/translationsIntroduction.zod.js +1 -1
  93. package/dist/data/translationsQuestion/translationsQuestion.json +0 -480
  94. package/dist/data/translationsQuestion/translationsQuestion.schema.json +9 -14
  95. package/dist/data/translationsQuestion/translationsQuestion.zod.js +1 -1
  96. package/dist/data/translationsSet/translationsSet.json +11234 -20793
  97. package/dist/data/translationsSet/translationsSet.schema.json +52 -56
  98. package/dist/data/translationsSet/translationsSet.zod.d.ts +1 -19
  99. package/dist/data/translationsSet/translationsSet.zod.js +4 -4
  100. package/dist/data/translationsSolarSpeaker/translationsSolarSpeaker.schema.json +98 -100
  101. package/dist/data/translationsSolarSpeaker/translationsSolarSpeaker.zod.d.ts +1 -87
  102. package/dist/data/translationsSolarSpeaker/translationsSolarSpeaker.zod.js +1 -1
  103. package/dist/data/translationsSpokenQuestion/translationsSpokenQuestion.json +0 -480
  104. package/dist/data/translationsSpokenQuestion/translationsSpokenQuestion.schema.json +18 -23
  105. package/dist/data/translationsSpokenQuestion/translationsSpokenQuestion.zod.js +1 -1
  106. package/dist/data/youtubePlaylists/youtubePlaylists.schema.json +9 -2
  107. package/dist/data/youtubePlaylists/youtubePlaylists.zod.js +1 -1
  108. package/dist/data/youtubeVideos/youtubeVideos.schema.json +9 -2
  109. package/dist/data/youtubeVideos/youtubeVideos.zod.js +1 -1
  110. package/dist/types/analytics.d.ts +14 -1
  111. package/dist/types/articles.d.ts +93 -343
  112. package/dist/types/bibleChapters.d.ts +13 -91
  113. package/dist/types/bibleChapters.js +1 -1
  114. package/dist/types/feedback.d.ts +3 -41
  115. package/dist/types/feedback.js +1 -1
  116. package/dist/types/microLessons.d.ts +69 -868
  117. package/dist/types/notifications.d.ts +19 -119
  118. package/dist/types/scripturePassages.d.ts +4 -34
  119. package/dist/types/users.d.ts +221 -776
  120. package/dist/types/users.js +2 -1
  121. package/dist/types/webContent.d.ts +8 -20
  122. package/package.json +3 -3
@@ -1,284 +1,282 @@
1
1
  {
2
2
  "$schema": "http://json-schema.org/draft-07/schema#",
3
3
  "type": "object",
4
- "required": [
5
- "$schema",
6
- "data"
7
- ],
8
- "additionalProperties": false,
9
4
  "properties": {
10
5
  "$schema": {
11
- "type": "string",
12
- "description": "Path to the JSON schema file"
6
+ "type": "string"
13
7
  },
14
8
  "data": {
15
- "title": "From the Book Translations",
9
+ "$schema": "https://json-schema.org/draft/2020-12/schema",
10
+ "type": "object",
11
+ "propertyNames": {
12
+ "type": "string"
13
+ },
16
14
  "additionalProperties": {
17
- "description": "Translations for a single language (identified by a 3-letter code)_",
15
+ "type": "object",
18
16
  "properties": {
19
17
  "1CH": {
20
- "minLength": 1,
21
- "type": "string"
18
+ "type": "string",
19
+ "minLength": 1
22
20
  },
23
21
  "1CO": {
24
- "minLength": 1,
25
- "type": "string"
22
+ "type": "string",
23
+ "minLength": 1
26
24
  },
27
25
  "1JN": {
28
- "minLength": 1,
29
- "type": "string"
26
+ "type": "string",
27
+ "minLength": 1
30
28
  },
31
29
  "1KI": {
32
- "minLength": 1,
33
- "type": "string"
30
+ "type": "string",
31
+ "minLength": 1
34
32
  },
35
33
  "1PE": {
36
- "minLength": 1,
37
- "type": "string"
34
+ "type": "string",
35
+ "minLength": 1
38
36
  },
39
37
  "1SA": {
40
- "minLength": 1,
41
- "type": "string"
38
+ "type": "string",
39
+ "minLength": 1
42
40
  },
43
41
  "1TH": {
44
- "minLength": 1,
45
- "type": "string"
42
+ "type": "string",
43
+ "minLength": 1
46
44
  },
47
45
  "1TI": {
48
- "minLength": 1,
49
- "type": "string"
46
+ "type": "string",
47
+ "minLength": 1
50
48
  },
51
49
  "2CH": {
52
- "minLength": 1,
53
- "type": "string"
50
+ "type": "string",
51
+ "minLength": 1
54
52
  },
55
53
  "2CO": {
56
- "minLength": 1,
57
- "type": "string"
54
+ "type": "string",
55
+ "minLength": 1
58
56
  },
59
57
  "2JN": {
60
- "minLength": 1,
61
- "type": "string"
58
+ "type": "string",
59
+ "minLength": 1
62
60
  },
63
61
  "2KI": {
64
- "minLength": 1,
65
- "type": "string"
62
+ "type": "string",
63
+ "minLength": 1
66
64
  },
67
65
  "2PE": {
68
- "minLength": 1,
69
- "type": "string"
66
+ "type": "string",
67
+ "minLength": 1
70
68
  },
71
69
  "2SA": {
72
- "minLength": 1,
73
- "type": "string"
70
+ "type": "string",
71
+ "minLength": 1
74
72
  },
75
73
  "2TH": {
76
- "minLength": 1,
77
- "type": "string"
74
+ "type": "string",
75
+ "minLength": 1
78
76
  },
79
77
  "2TI": {
80
- "minLength": 1,
81
- "type": "string"
78
+ "type": "string",
79
+ "minLength": 1
82
80
  },
83
81
  "3JN": {
84
- "minLength": 1,
85
- "type": "string"
82
+ "type": "string",
83
+ "minLength": 1
86
84
  },
87
85
  "ACT": {
88
- "minLength": 1,
89
- "type": "string"
86
+ "type": "string",
87
+ "minLength": 1
90
88
  },
91
89
  "AMO": {
92
- "minLength": 1,
93
- "type": "string"
90
+ "type": "string",
91
+ "minLength": 1
94
92
  },
95
93
  "COL": {
96
- "minLength": 1,
97
- "type": "string"
94
+ "type": "string",
95
+ "minLength": 1
98
96
  },
99
97
  "DAN": {
100
- "minLength": 1,
101
- "type": "string"
98
+ "type": "string",
99
+ "minLength": 1
102
100
  },
103
101
  "DEU": {
104
- "minLength": 1,
105
- "type": "string"
102
+ "type": "string",
103
+ "minLength": 1
106
104
  },
107
105
  "ECC": {
108
- "minLength": 1,
109
- "type": "string"
106
+ "type": "string",
107
+ "minLength": 1
110
108
  },
111
109
  "EPH": {
112
- "minLength": 1,
113
- "type": "string"
110
+ "type": "string",
111
+ "minLength": 1
114
112
  },
115
113
  "EST": {
116
- "minLength": 1,
117
- "type": "string"
114
+ "type": "string",
115
+ "minLength": 1
118
116
  },
119
117
  "EXO": {
120
- "minLength": 1,
121
- "type": "string"
118
+ "type": "string",
119
+ "minLength": 1
122
120
  },
123
121
  "EZK": {
124
- "minLength": 1,
125
- "type": "string"
122
+ "type": "string",
123
+ "minLength": 1
126
124
  },
127
125
  "EZR": {
128
- "minLength": 1,
129
- "type": "string"
126
+ "type": "string",
127
+ "minLength": 1
130
128
  },
131
129
  "GAL": {
132
- "minLength": 1,
133
- "type": "string"
130
+ "type": "string",
131
+ "minLength": 1
134
132
  },
135
133
  "GEN": {
136
- "minLength": 1,
137
- "type": "string"
134
+ "type": "string",
135
+ "minLength": 1
138
136
  },
139
137
  "HAB": {
140
- "minLength": 1,
141
- "type": "string"
138
+ "type": "string",
139
+ "minLength": 1
142
140
  },
143
141
  "HAG": {
144
- "minLength": 1,
145
- "type": "string"
142
+ "type": "string",
143
+ "minLength": 1
146
144
  },
147
145
  "HEB": {
148
- "minLength": 1,
149
- "type": "string"
146
+ "type": "string",
147
+ "minLength": 1
150
148
  },
151
149
  "HOS": {
152
- "minLength": 1,
153
- "type": "string"
150
+ "type": "string",
151
+ "minLength": 1
154
152
  },
155
153
  "ISA": {
156
- "minLength": 1,
157
- "type": "string"
154
+ "type": "string",
155
+ "minLength": 1
158
156
  },
159
157
  "JAS": {
160
- "minLength": 1,
161
- "type": "string"
158
+ "type": "string",
159
+ "minLength": 1
162
160
  },
163
161
  "JDG": {
164
- "minLength": 1,
165
- "type": "string"
162
+ "type": "string",
163
+ "minLength": 1
166
164
  },
167
165
  "JER": {
168
- "minLength": 1,
169
- "type": "string"
166
+ "type": "string",
167
+ "minLength": 1
170
168
  },
171
169
  "JHN": {
172
- "minLength": 1,
173
- "type": "string"
170
+ "type": "string",
171
+ "minLength": 1
174
172
  },
175
173
  "JOB": {
176
- "minLength": 1,
177
- "type": "string"
174
+ "type": "string",
175
+ "minLength": 1
178
176
  },
179
177
  "JOL": {
180
- "minLength": 1,
181
- "type": "string"
178
+ "type": "string",
179
+ "minLength": 1
182
180
  },
183
181
  "JON": {
184
- "minLength": 1,
185
- "type": "string"
182
+ "type": "string",
183
+ "minLength": 1
186
184
  },
187
185
  "JOS": {
188
- "minLength": 1,
189
- "type": "string"
186
+ "type": "string",
187
+ "minLength": 1
190
188
  },
191
189
  "JUD": {
192
- "minLength": 1,
193
- "type": "string"
190
+ "type": "string",
191
+ "minLength": 1
194
192
  },
195
193
  "LAM": {
196
- "minLength": 1,
197
- "type": "string"
194
+ "type": "string",
195
+ "minLength": 1
198
196
  },
199
197
  "LEV": {
200
- "minLength": 1,
201
- "type": "string"
198
+ "type": "string",
199
+ "minLength": 1
202
200
  },
203
201
  "LUK": {
204
- "minLength": 1,
205
- "type": "string"
202
+ "type": "string",
203
+ "minLength": 1
206
204
  },
207
205
  "MAL": {
208
- "minLength": 1,
209
- "type": "string"
206
+ "type": "string",
207
+ "minLength": 1
210
208
  },
211
209
  "MAT": {
212
- "minLength": 1,
213
- "type": "string"
210
+ "type": "string",
211
+ "minLength": 1
214
212
  },
215
213
  "MIC": {
216
- "minLength": 1,
217
- "type": "string"
214
+ "type": "string",
215
+ "minLength": 1
218
216
  },
219
217
  "MRK": {
220
- "minLength": 1,
221
- "type": "string"
218
+ "type": "string",
219
+ "minLength": 1
222
220
  },
223
221
  "NAM": {
224
- "minLength": 1,
225
- "type": "string"
222
+ "type": "string",
223
+ "minLength": 1
226
224
  },
227
225
  "NEH": {
228
- "minLength": 1,
229
- "type": "string"
226
+ "type": "string",
227
+ "minLength": 1
230
228
  },
231
229
  "NUM": {
232
- "minLength": 1,
233
- "type": "string"
230
+ "type": "string",
231
+ "minLength": 1
234
232
  },
235
233
  "OBA": {
236
- "minLength": 1,
237
- "type": "string"
234
+ "type": "string",
235
+ "minLength": 1
238
236
  },
239
237
  "PHM": {
240
- "minLength": 1,
241
- "type": "string"
238
+ "type": "string",
239
+ "minLength": 1
242
240
  },
243
241
  "PHP": {
244
- "minLength": 1,
245
- "type": "string"
242
+ "type": "string",
243
+ "minLength": 1
246
244
  },
247
245
  "PRO": {
248
- "minLength": 1,
249
- "type": "string"
246
+ "type": "string",
247
+ "minLength": 1
250
248
  },
251
249
  "PSA": {
252
- "minLength": 1,
253
- "type": "string"
250
+ "type": "string",
251
+ "minLength": 1
254
252
  },
255
253
  "REV": {
256
- "minLength": 1,
257
- "type": "string"
254
+ "type": "string",
255
+ "minLength": 1
258
256
  },
259
257
  "ROM": {
260
- "minLength": 1,
261
- "type": "string"
258
+ "type": "string",
259
+ "minLength": 1
262
260
  },
263
261
  "RUT": {
264
- "minLength": 1,
265
- "type": "string"
262
+ "type": "string",
263
+ "minLength": 1
266
264
  },
267
265
  "SNG": {
268
- "minLength": 1,
269
- "type": "string"
266
+ "type": "string",
267
+ "minLength": 1
270
268
  },
271
269
  "TIT": {
272
- "minLength": 1,
273
- "type": "string"
270
+ "type": "string",
271
+ "minLength": 1
274
272
  },
275
273
  "ZEC": {
276
- "minLength": 1,
277
- "type": "string"
274
+ "type": "string",
275
+ "minLength": 1
278
276
  },
279
277
  "ZEP": {
280
- "minLength": 1,
281
- "type": "string"
278
+ "type": "string",
279
+ "minLength": 1
282
280
  }
283
281
  },
284
282
  "required": [
@@ -349,13 +347,13 @@
349
347
  "ZEC",
350
348
  "ZEP"
351
349
  ],
352
- "type": "object"
353
- },
354
- "propertyNames": {
355
- "description": "Language id (3 lowercase letters).",
356
- "pattern": "^[a-z]{3}$"
357
- },
358
- "type": "object"
350
+ "additionalProperties": false,
351
+ "description": "Translations for a single language (identified by a 3-letter code)_"
352
+ }
359
353
  }
360
- }
354
+ },
355
+ "required": [
356
+ "$schema",
357
+ "data"
358
+ ]
361
359
  }
@@ -66,139 +66,5 @@ export declare const TranslationsFtb: z.ZodRecord<z.ZodString, z.ZodObject<{
66
66
  TIT: z.ZodString;
67
67
  ZEC: z.ZodString;
68
68
  ZEP: z.ZodString;
69
- }, "strip", z.ZodTypeAny, {
70
- '1CH': string;
71
- '1CO': string;
72
- '1JN': string;
73
- '1KI': string;
74
- '1PE': string;
75
- '1SA': string;
76
- '1TH': string;
77
- '1TI': string;
78
- '2CH': string;
79
- '2CO': string;
80
- '2JN': string;
81
- '2KI': string;
82
- '2PE': string;
83
- '2SA': string;
84
- '2TH': string;
85
- '2TI': string;
86
- '3JN': string;
87
- ACT: string;
88
- AMO: string;
89
- COL: string;
90
- DAN: string;
91
- DEU: string;
92
- ECC: string;
93
- EPH: string;
94
- EST: string;
95
- EXO: string;
96
- EZK: string;
97
- EZR: string;
98
- GAL: string;
99
- GEN: string;
100
- HAB: string;
101
- HAG: string;
102
- HEB: string;
103
- HOS: string;
104
- ISA: string;
105
- JAS: string;
106
- JDG: string;
107
- JER: string;
108
- JHN: string;
109
- JOB: string;
110
- JOL: string;
111
- JON: string;
112
- JOS: string;
113
- JUD: string;
114
- LAM: string;
115
- LEV: string;
116
- LUK: string;
117
- MAL: string;
118
- MAT: string;
119
- MIC: string;
120
- MRK: string;
121
- NAM: string;
122
- NEH: string;
123
- NUM: string;
124
- OBA: string;
125
- PHM: string;
126
- PHP: string;
127
- PRO: string;
128
- PSA: string;
129
- REV: string;
130
- ROM: string;
131
- RUT: string;
132
- SNG: string;
133
- TIT: string;
134
- ZEC: string;
135
- ZEP: string;
136
- }, {
137
- '1CH': string;
138
- '1CO': string;
139
- '1JN': string;
140
- '1KI': string;
141
- '1PE': string;
142
- '1SA': string;
143
- '1TH': string;
144
- '1TI': string;
145
- '2CH': string;
146
- '2CO': string;
147
- '2JN': string;
148
- '2KI': string;
149
- '2PE': string;
150
- '2SA': string;
151
- '2TH': string;
152
- '2TI': string;
153
- '3JN': string;
154
- ACT: string;
155
- AMO: string;
156
- COL: string;
157
- DAN: string;
158
- DEU: string;
159
- ECC: string;
160
- EPH: string;
161
- EST: string;
162
- EXO: string;
163
- EZK: string;
164
- EZR: string;
165
- GAL: string;
166
- GEN: string;
167
- HAB: string;
168
- HAG: string;
169
- HEB: string;
170
- HOS: string;
171
- ISA: string;
172
- JAS: string;
173
- JDG: string;
174
- JER: string;
175
- JHN: string;
176
- JOB: string;
177
- JOL: string;
178
- JON: string;
179
- JOS: string;
180
- JUD: string;
181
- LAM: string;
182
- LEV: string;
183
- LUK: string;
184
- MAL: string;
185
- MAT: string;
186
- MIC: string;
187
- MRK: string;
188
- NAM: string;
189
- NEH: string;
190
- NUM: string;
191
- OBA: string;
192
- PHM: string;
193
- PHP: string;
194
- PRO: string;
195
- PSA: string;
196
- REV: string;
197
- ROM: string;
198
- RUT: string;
199
- SNG: string;
200
- TIT: string;
201
- ZEC: string;
202
- ZEP: string;
203
- }>>;
69
+ }, z.core.$strip>>;
204
70
  export type TranslationsFtb = z.infer<typeof TranslationsFtb>;
@@ -2,7 +2,7 @@
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.TranslationsFtb = void 0;
4
4
  const zod_1 = require("zod");
5
- exports.TranslationsFtb = zod_1.z.record(zod_1.z
5
+ exports.TranslationsFtb = zod_1.z.record(zod_1.z.string(), zod_1.z
6
6
  .object({
7
7
  '1CH': zod_1.z.string().min(1),
8
8
  '1CO': zod_1.z.string().min(1),
@@ -1,35 +1,24 @@
1
1
  {
2
2
  "$schema": "http://json-schema.org/draft-07/schema#",
3
3
  "type": "object",
4
- "required": [
5
- "$schema",
6
- "data"
7
- ],
8
- "additionalProperties": false,
9
4
  "properties": {
10
5
  "$schema": {
11
- "type": "string",
12
- "description": "Path to the JSON schema file"
6
+ "type": "string"
13
7
  },
14
8
  "data": {
15
- "$id": "https://waha_app/schemas/introductionTranslations_schema_json",
16
- "title": "Introduction Translations",
9
+ "$schema": "https://json-schema.org/draft/2020-12/schema",
17
10
  "type": "object",
18
- "description": "Schema for introductionTranslations_json. Root keys are 3-letter language identifiers (ISO-639 style). Each language object contains an 'introduction' string and an 'introductions' object mapping lesson identifiers (e.g. 03.005.001) or the key 'eq' to localized string content.",
19
11
  "propertyNames": {
20
- "pattern": "^[a-z]{3}$",
21
- "description": "Language id (3 lowercase letters)."
12
+ "type": "string"
22
13
  },
23
14
  "additionalProperties": {
24
15
  "type": "object",
25
- "description": "Translations for a single language (identified by a 3-letter code).",
26
16
  "properties": {
27
17
  "introduction": {
28
18
  "type": "string"
29
19
  },
30
20
  "introductions": {
31
21
  "type": "object",
32
- "description": "Mapping of lesson identifiers (NN.NNN.NNN) or 'eq' to translated strings.",
33
22
  "properties": {
34
23
  "03.005.001": {
35
24
  "type": "string",
@@ -218,15 +207,23 @@
218
207
  "03.007.011",
219
208
  "03.007.012",
220
209
  "eq"
221
- ]
210
+ ],
211
+ "additionalProperties": false,
212
+ "description": "Mapping of lesson identifiers (NN.NNN.NNN) or 'eq' to translated strings."
222
213
  }
223
214
  },
224
215
  "required": [
225
216
  "introduction",
226
217
  "introductions"
227
218
  ],
228
- "additionalProperties": false
229
- }
219
+ "additionalProperties": false,
220
+ "description": "Translations for a single language (identified by a 3-letter code)."
221
+ },
222
+ "description": "Schema for introductionTranslations_json. Root keys are 3-letter language identifiers (ISO-639 style). Each language object contains an 'introduction' string and an 'introductions' object mapping lesson identifiers (e.g. 03.005.001) or the key 'eq' to localized string content."
230
223
  }
231
- }
224
+ },
225
+ "required": [
226
+ "$schema",
227
+ "data"
228
+ ]
232
229
  }