waha-shared 1.0.170 → 1.0.172

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 (43) hide show
  1. package/dist/data/areas/areas.schema.json +101 -0
  2. package/dist/data/aslTimestamps/aslTimestamps.schema.json +82 -0
  3. package/dist/data/bibleAudios/bibleAudios.schema.json +61 -0
  4. package/dist/data/bibleBooks/bibleBooks.schema.json +124 -0
  5. package/dist/data/bibleChaptersList/bibleChaptersList.schema.json +19 -0
  6. package/dist/data/bibleStatuses/bibleStatuses.schema.json +58 -0
  7. package/dist/data/bibleTexts/bibleTexts.schema.json +74 -0
  8. package/dist/data/clones/clones.schema.json +75 -0
  9. package/dist/data/countries/countries.schema.json +109 -0
  10. package/dist/data/countriesAndLanguages/countriesAndLanguages.schema.json +56 -0
  11. package/dist/data/crowdinLanguages/crowdinLanguages.schema.json +41 -0
  12. package/dist/data/curriculumFoundations/curriculumFoundations.schema.json +33 -0
  13. package/dist/data/curriculumQuestions/curriculumQuestions.schema.json +47 -0
  14. package/dist/data/curriculumTopics/curriculumTopics.schema.json +33 -0
  15. package/dist/data/dblAudioLicenses/dblAudioLicenses.json +6409 -0
  16. package/dist/data/dblTextLicenses/dblTextLicenses.json +14951 -0
  17. package/dist/data/iosVoiceOverLanguages/iosVoiceOverLanguages.schema.json +19 -0
  18. package/dist/data/iso6933LanguageCodes/iso6933LanguageCodes.schema.json +19 -0
  19. package/dist/data/languageAssets/languageAssets.json +499305 -0
  20. package/dist/data/languageAssets/languageAssets.schema.json +25 -0
  21. package/dist/data/languages/languages.schema.json +374 -0
  22. package/dist/data/mediaDurations/mediaDurations.schema.json +27 -0
  23. package/dist/data/notification/notification.schema.json +121 -0
  24. package/dist/data/numeralMaps/numeralMaps.schema.json +80 -0
  25. package/dist/data/orphanedBibleTexts/orphanedBibleTexts.json +2750 -0
  26. package/dist/data/phoneLanguages/phoneLanguages.schema.json +48 -0
  27. package/dist/data/questions/questions.schema.json +52 -0
  28. package/dist/data/releaseNotes/releaseNotes.schema.json +33 -0
  29. package/dist/data/screenshots/screenshots.schema.json +21 -0
  30. package/dist/data/scripts/scripts.json +20 -0
  31. package/dist/data/scripts/scripts.schema.json +26 -0
  32. package/dist/data/sets/sets.schema.json +135 -0
  33. package/dist/data/specialIds/specialIds.schema.json +132 -0
  34. package/dist/data/translationsApp/translationsApp.schema.json +1602 -0
  35. package/dist/data/translationsFtb/translationsFtb.schema.json +361 -0
  36. package/dist/data/translationsIntroduction/translationsIntroduction.schema.json +232 -0
  37. package/dist/data/translationsQuestion/translationsQuestion.schema.json +35 -0
  38. package/dist/data/translationsSet/translationsSet.schema.json +96 -0
  39. package/dist/data/translationsSolarSpeaker/translationsSolarSpeaker.schema.json +240 -0
  40. package/dist/data/translationsSpokenQuestion/translationsSpokenQuestion.schema.json +35 -0
  41. package/dist/data/youtubePlaylists/youtubePlaylists.schema.json +18 -0
  42. package/dist/data/youtubeVideos/youtubeVideos.schema.json +18 -0
  43. package/package.json +1 -1
@@ -0,0 +1,96 @@
1
+ {
2
+ "$schema": "http://json-schema.org/draft-07/schema#",
3
+ "type": "object",
4
+ "required": ["$schema", "data"],
5
+ "additionalProperties": false,
6
+ "properties": {
7
+ "$schema": {
8
+ "type": "string",
9
+ "description": "Path to the JSON schema file"
10
+ },
11
+ "data": {
12
+ "title": "SetTranslations",
13
+ "$id": "https://waha.app/schemas/setTranslations.schema.json",
14
+ "$schema": "http://json-schema.org/draft-07/schema#",
15
+ "minProperties": 0,
16
+ "additionalProperties": {
17
+ "description": "Array of translated sets for a given 3-letter language id (ISO-ish).",
18
+ "items": {
19
+ "properties": {
20
+ "setId": {
21
+ "description": "Identifier of the set.",
22
+ "minLength": 1,
23
+ "type": "string"
24
+ },
25
+ "lessonTitles": {
26
+ "additionalProperties": {
27
+ "minLength": 1,
28
+ "type": "string"
29
+ },
30
+ "description": "Mapping of lessonId to localized lesson title.",
31
+ "type": "object"
32
+ },
33
+ "pauseAndDiscuss": {
34
+ "description": "Localized text for 'Pause and Discuss' prompts. Used for lesson videos.",
35
+ "type": "string"
36
+ },
37
+ "sectionBodies": {
38
+ "additionalProperties": {
39
+ "minLength": 1,
40
+ "type": "string"
41
+ },
42
+ "description": "Mapping of sectionId to localized section body text.",
43
+ "type": "object"
44
+ },
45
+ "sectionHeaders": {
46
+ "additionalProperties": {
47
+ "minLength": 1,
48
+ "type": "string"
49
+ },
50
+ "description": "Mapping of sectionId to localized section header text.",
51
+ "type": "object"
52
+ },
53
+ "setDescription": {
54
+ "description": "Localized description for the set.",
55
+ "type": "string"
56
+ },
57
+ "setTag": {
58
+ "description": "Optional topical tag for the set.",
59
+ "minLength": 1,
60
+ "type": "string"
61
+ },
62
+ "setTitle": {
63
+ "description": "Localized title for the set.",
64
+ "minLength": 1,
65
+ "type": "string"
66
+ }
67
+ },
68
+ "required": ["setId", "setTitle", "lessonTitles"],
69
+ "type": "object"
70
+ },
71
+ "type": "array"
72
+ },
73
+ "description": "Record of language ids to arrays of translated sets used by the app. Produced by scripts/prebuild/combine.ts (setTranslations.json). Each set item merges metadata translation fields (setTitle, setDescription, lessonTitles, etc.) under a setId.",
74
+ "examples": [
75
+ {
76
+ "eng": [
77
+ {
78
+ "setId": "01.001",
79
+ "lessonTitles": {
80
+ "01.001.001": "Creation",
81
+ "01.001.002": "Creation of Humans"
82
+ },
83
+ "setDescription": "Start your journey toward discovering God...",
84
+ "setTitle": "From Creation to the Birth of Jesus"
85
+ }
86
+ ]
87
+ }
88
+ ],
89
+ "propertyNames": {
90
+ "description": "Language id (3 lowercase letters).",
91
+ "pattern": "^[a-z]{3}$"
92
+ },
93
+ "type": "object"
94
+ }
95
+ }
96
+ }
@@ -0,0 +1,240 @@
1
+ {
2
+ "$schema": "http://json-schema.org/draft-07/schema#",
3
+ "type": "object",
4
+ "required": [
5
+ "$schema",
6
+ "data"
7
+ ],
8
+ "additionalProperties": false,
9
+ "properties": {
10
+ "$schema": {
11
+ "type": "string",
12
+ "description": "Path to the JSON schema file"
13
+ },
14
+ "data": {
15
+ "title": "Solar Speakers Translations",
16
+ "additionalProperties": {
17
+ "properties": {
18
+ "intro": {
19
+ "minLength": 1,
20
+ "type": "string"
21
+ },
22
+ "intro_foundations": {
23
+ "minLength": 1,
24
+ "type": "string"
25
+ },
26
+ "intro_topics": {
27
+ "minLength": 1,
28
+ "type": "string"
29
+ },
30
+ "lessons_001": {
31
+ "minLength": 1,
32
+ "type": "string"
33
+ },
34
+ "lessons_002": {
35
+ "minLength": 1,
36
+ "type": "string"
37
+ },
38
+ "lessons_003": {
39
+ "minLength": 1,
40
+ "type": "string"
41
+ },
42
+ "lessons_004": {
43
+ "minLength": 1,
44
+ "type": "string"
45
+ },
46
+ "lessons_005": {
47
+ "minLength": 1,
48
+ "type": "string"
49
+ },
50
+ "lessons_006": {
51
+ "minLength": 1,
52
+ "type": "string"
53
+ },
54
+ "lessons_007": {
55
+ "minLength": 1,
56
+ "type": "string"
57
+ },
58
+ "lessons_008": {
59
+ "minLength": 1,
60
+ "type": "string"
61
+ },
62
+ "lessons_009": {
63
+ "minLength": 1,
64
+ "type": "string"
65
+ },
66
+ "lessons_010": {
67
+ "minLength": 1,
68
+ "type": "string"
69
+ },
70
+ "lessons_011": {
71
+ "minLength": 1,
72
+ "type": "string"
73
+ },
74
+ "lessons_012": {
75
+ "minLength": 1,
76
+ "type": "string"
77
+ },
78
+ "lessons_013": {
79
+ "minLength": 1,
80
+ "type": "string"
81
+ },
82
+ "lessons_014": {
83
+ "minLength": 1,
84
+ "type": "string"
85
+ },
86
+ "lessons_015": {
87
+ "minLength": 1,
88
+ "type": "string"
89
+ },
90
+ "lessons_016": {
91
+ "minLength": 1,
92
+ "type": "string"
93
+ },
94
+ "lessons_017": {
95
+ "minLength": 1,
96
+ "type": "string"
97
+ },
98
+ "lessons_018": {
99
+ "minLength": 1,
100
+ "type": "string"
101
+ },
102
+ "lessons_019": {
103
+ "minLength": 1,
104
+ "type": "string"
105
+ },
106
+ "lessons_020": {
107
+ "minLength": 1,
108
+ "type": "string"
109
+ },
110
+ "lessons_021": {
111
+ "minLength": 1,
112
+ "type": "string"
113
+ },
114
+ "lessons_022": {
115
+ "minLength": 1,
116
+ "type": "string"
117
+ },
118
+ "lessons_023": {
119
+ "minLength": 1,
120
+ "type": "string"
121
+ },
122
+ "lessons_024": {
123
+ "minLength": 1,
124
+ "type": "string"
125
+ },
126
+ "lessons_025": {
127
+ "minLength": 1,
128
+ "type": "string"
129
+ },
130
+ "lessons_026": {
131
+ "minLength": 1,
132
+ "type": "string"
133
+ },
134
+ "lessons_027": {
135
+ "minLength": 1,
136
+ "type": "string"
137
+ },
138
+ "lessons_028": {
139
+ "minLength": 1,
140
+ "type": "string"
141
+ },
142
+ "lessons_029": {
143
+ "minLength": 1,
144
+ "type": "string"
145
+ },
146
+ "lessons_030": {
147
+ "minLength": 1,
148
+ "type": "string"
149
+ },
150
+ "lessons_031": {
151
+ "minLength": 1,
152
+ "type": "string"
153
+ },
154
+ "lessons_032": {
155
+ "minLength": 1,
156
+ "type": "string"
157
+ },
158
+ "lessons_033": {
159
+ "minLength": 1,
160
+ "type": "string"
161
+ },
162
+ "lessons_034": {
163
+ "minLength": 1,
164
+ "type": "string"
165
+ },
166
+ "lessons_035": {
167
+ "minLength": 1,
168
+ "type": "string"
169
+ },
170
+ "lessons_036": {
171
+ "minLength": 1,
172
+ "type": "string"
173
+ },
174
+ "lessons_037": {
175
+ "minLength": 1,
176
+ "type": "string"
177
+ },
178
+ "lessons_038": {
179
+ "minLength": 1,
180
+ "type": "string"
181
+ },
182
+ "lessons_039": {
183
+ "minLength": 1,
184
+ "type": "string"
185
+ }
186
+ },
187
+ "required": [
188
+ "intro",
189
+ "intro_foundations",
190
+ "intro_topics",
191
+ "lessons_001",
192
+ "lessons_002",
193
+ "lessons_003",
194
+ "lessons_004",
195
+ "lessons_005",
196
+ "lessons_006",
197
+ "lessons_007",
198
+ "lessons_008",
199
+ "lessons_009",
200
+ "lessons_010",
201
+ "lessons_011",
202
+ "lessons_012",
203
+ "lessons_013",
204
+ "lessons_014",
205
+ "lessons_015",
206
+ "lessons_016",
207
+ "lessons_017",
208
+ "lessons_018",
209
+ "lessons_019",
210
+ "lessons_020",
211
+ "lessons_021",
212
+ "lessons_022",
213
+ "lessons_023",
214
+ "lessons_024",
215
+ "lessons_025",
216
+ "lessons_026",
217
+ "lessons_027",
218
+ "lessons_028",
219
+ "lessons_029",
220
+ "lessons_030",
221
+ "lessons_031",
222
+ "lessons_032",
223
+ "lessons_033",
224
+ "lessons_034",
225
+ "lessons_035",
226
+ "lessons_036",
227
+ "lessons_037",
228
+ "lessons_038",
229
+ "lessons_039"
230
+ ],
231
+ "type": "object"
232
+ },
233
+ "propertyNames": {
234
+ "description": "Language id (3 lowercase letters).",
235
+ "pattern": "^[a-z]{3}$"
236
+ },
237
+ "type": "object"
238
+ }
239
+ }
240
+ }
@@ -0,0 +1,35 @@
1
+ {
2
+ "$schema": "http://json-schema.org/draft-07/schema#",
3
+ "type": "object",
4
+ "required": [
5
+ "$schema",
6
+ "data"
7
+ ],
8
+ "additionalProperties": false,
9
+ "properties": {
10
+ "$schema": {
11
+ "type": "string",
12
+ "description": "Path to the JSON schema file"
13
+ },
14
+ "data": {
15
+ "title": "Question Translations Schema",
16
+ "$id": "questionTranslations.schema.json",
17
+ "$schema": "http://json-schema.org/draft-07/schema#",
18
+ "additionalProperties": {
19
+ "additionalProperties": {
20
+ "description": "Question text in the target language",
21
+ "type": "string"
22
+ },
23
+ "propertyNames": {
24
+ "pattern": "^[af]\\.[0-9]{3}$"
25
+ },
26
+ "type": "object"
27
+ },
28
+ "propertyNames": {
29
+ "description": "Language id (3 lowercase letters).",
30
+ "pattern": "^[a-z]{3}$"
31
+ },
32
+ "type": "object"
33
+ }
34
+ }
35
+ }
@@ -0,0 +1,18 @@
1
+ {
2
+ "$schema": "http://json-schema.org/draft-07/schema#",
3
+ "type": "object",
4
+ "required": ["$schema", "data"],
5
+ "properties": {
6
+ "$schema": {
7
+ "type": "string"
8
+ },
9
+ "data": {
10
+ "type": "object",
11
+ "additionalProperties": {
12
+ "type": "string",
13
+ "description": "YouTube playlist ID"
14
+ },
15
+ "description": "Maps language codes to YouTube playlist IDs"
16
+ }
17
+ }
18
+ }
@@ -0,0 +1,18 @@
1
+ {
2
+ "$schema": "http://json-schema.org/draft-07/schema#",
3
+ "type": "object",
4
+ "required": ["$schema", "data"],
5
+ "properties": {
6
+ "$schema": {
7
+ "type": "string"
8
+ },
9
+ "data": {
10
+ "type": "object",
11
+ "additionalProperties": {
12
+ "type": "string",
13
+ "description": "YouTube video ID"
14
+ },
15
+ "description": "Maps video file names to YouTube video IDs"
16
+ }
17
+ }
18
+ }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "waha-shared",
3
- "version": "1.0.170",
3
+ "version": "1.0.172",
4
4
  "author": "Waha",
5
5
  "dependencies": {
6
6
  "@types/signale": "^1.4.7",