waha-shared 1.0.263 → 1.0.264
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.
- package/README.md +60 -3
- package/dist/data/areas/areas.schema.json +4 -13
- package/dist/data/areas/index.js +1 -0
- package/dist/data/aslTimestamps/aslTimestamps.schema.json +6 -22
- package/dist/data/aslTimestamps/index.js +1 -0
- package/dist/data/bibleAudios/bibleAudios.schema.json +8 -27
- package/dist/data/bibleAudios/index.js +1 -0
- package/dist/data/bibleBooks/bibleBooks.schema.json +8 -24
- package/dist/data/bibleBooks/index.js +1 -0
- package/dist/data/bibleChaptersList/bibleChaptersList.schema.json +3 -7
- package/dist/data/bibleChaptersList/index.js +1 -0
- package/dist/data/bibleStatuses/bibleStatuses.schema.json +7 -23
- package/dist/data/bibleStatuses/index.js +1 -0
- package/dist/data/bibleTexts/bibleTexts.schema.json +7 -22
- package/dist/data/bibleTexts/index.js +1 -0
- package/dist/data/clones/clones.schema.json +8 -26
- package/dist/data/clones/index.js +1 -0
- package/dist/data/countries/countries.schema.json +8 -28
- package/dist/data/countries/index.js +1 -0
- package/dist/data/countriesAndLanguages/countriesAndLanguages.schema.json +5 -17
- package/dist/data/countriesAndLanguages/index.js +1 -0
- package/dist/data/crowdinLanguages/crowdinLanguages.schema.json +5 -18
- package/dist/data/crowdinLanguages/index.js +1 -0
- package/dist/data/curriculumFoundations/curriculumFoundations.schema.json +7 -21
- package/dist/data/curriculumFoundations/index.js +1 -0
- package/dist/data/curriculumQuestions/curriculumQuestions.schema.json +9 -28
- package/dist/data/curriculumQuestions/index.js +1 -0
- package/dist/data/curriculumTopics/curriculumTopics.schema.json +7 -21
- package/dist/data/curriculumTopics/index.js +1 -0
- package/dist/data/iosVoiceOverLanguages/index.js +1 -0
- package/dist/data/iosVoiceOverLanguages/iosVoiceOverLanguages.schema.json +3 -7
- package/dist/data/iso6933LanguageCodes/index.js +1 -0
- package/dist/data/iso6933LanguageCodes/iso6933LanguageCodes.schema.json +4 -10
- package/dist/data/languageAssets/index.js +1 -0
- package/dist/data/languageAssets/languageAssets.schema.json +5 -14
- package/dist/data/languages/index.js +1 -0
- package/dist/data/languages/languages.json +0 -1
- package/dist/data/languages/languages.schema.json +18 -76
- package/dist/data/mediaDurations/index.js +1 -0
- package/dist/data/mediaDurations/mediaDurations.schema.json +5 -14
- package/dist/data/notification/index.js +1 -0
- package/dist/data/notification/notification.schema.json +20 -71
- package/dist/data/numeralMaps/index.js +1 -0
- package/dist/data/numeralMaps/numeralMaps.schema.json +5 -22
- package/dist/data/phoneLanguages/index.js +1 -0
- package/dist/data/phoneLanguages/phoneLanguages.schema.json +5 -16
- package/dist/data/questions/index.js +1 -0
- package/dist/data/questions/questions.schema.json +7 -24
- package/dist/data/releaseNotes/index.js +1 -0
- package/dist/data/releaseNotes/releaseNotes.schema.json +6 -18
- package/dist/data/screenshots/index.js +1 -0
- package/dist/data/screenshots/screenshots.schema.json +4 -10
- package/dist/data/scripts/index.js +1 -0
- package/dist/data/scripts/scripts.schema.json +7 -20
- package/dist/data/sets/index.js +1 -0
- package/dist/data/sets/sets.schema.json +8 -30
- package/dist/data/specialIds/index.js +1 -0
- package/dist/data/specialIds/specialIds.schema.json +6 -19
- package/dist/data/translationsApp/index.d.ts +10 -11
- package/dist/data/translationsApp/index.js +1 -0
- package/dist/data/translationsApp/translationsApp.json +11676 -7
- package/dist/data/translationsApp/translationsApp.schema.json +313 -1086
- package/dist/data/translationsApp/translationsApp.zod.d.ts +10 -11
- package/dist/data/translationsApp/translationsApp.zod.js +11 -11
- package/dist/data/translationsFtb/index.js +1 -0
- package/dist/data/translationsFtb/translationsFtb.schema.json +70 -274
- package/dist/data/translationsIntroduction/index.js +1 -0
- package/dist/data/translationsIntroduction/translationsIntroduction.schema.json +43 -165
- package/dist/data/translationsQuestion/index.js +1 -0
- package/dist/data/translationsQuestion/translationsQuestion.schema.json +5 -13
- package/dist/data/translationsSet/index.js +1 -0
- package/dist/data/translationsSet/translationsSet.json +789 -0
- package/dist/data/translationsSet/translationsSet.schema.json +11 -36
- package/dist/data/translationsSolarSpeaker/index.js +1 -0
- package/dist/data/translationsSolarSpeaker/translationsSolarSpeaker.schema.json +46 -178
- package/dist/data/translationsSpokenQuestion/index.js +1 -0
- package/dist/data/translationsSpokenQuestion/translationsSpokenQuestion.schema.json +5 -13
- package/dist/data/youtubePlaylists/index.js +1 -0
- package/dist/data/youtubePlaylists/youtubePlaylists.schema.json +4 -10
- package/dist/data/youtubeVideos/index.js +1 -0
- package/dist/data/youtubeVideos/youtubeVideos.schema.json +4 -10
- package/dist/types/analytics.d.ts +26 -12
- package/dist/types/articles.d.ts +28 -0
- package/dist/types/articles.js +5 -9
- package/dist/types/microLessons.d.ts +60 -9
- package/dist/types/microLessons.js +23 -19
- package/dist/types/webContent.d.ts +16 -0
- package/dist/types/webContent.js +20 -1
- package/package.json +1 -1
|
@@ -1,16 +1,13 @@
|
|
|
1
1
|
{
|
|
2
|
+
"description": "This file is auto-generated by scripts/prep. Do not edit manually.",
|
|
2
3
|
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
3
4
|
"type": "object",
|
|
4
5
|
"properties": {
|
|
5
|
-
"$schema": {
|
|
6
|
-
"type": "string"
|
|
7
|
-
},
|
|
6
|
+
"$schema": { "type": "string" },
|
|
8
7
|
"data": {
|
|
9
8
|
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
10
9
|
"type": "object",
|
|
11
|
-
"propertyNames": {
|
|
12
|
-
"type": "string"
|
|
13
|
-
},
|
|
10
|
+
"propertyNames": { "type": "string" },
|
|
14
11
|
"additionalProperties": {
|
|
15
12
|
"type": "array",
|
|
16
13
|
"items": {
|
|
@@ -23,13 +20,8 @@
|
|
|
23
20
|
},
|
|
24
21
|
"lessonTitles": {
|
|
25
22
|
"type": "object",
|
|
26
|
-
"propertyNames": {
|
|
27
|
-
|
|
28
|
-
},
|
|
29
|
-
"additionalProperties": {
|
|
30
|
-
"type": "string",
|
|
31
|
-
"minLength": 1
|
|
32
|
-
},
|
|
23
|
+
"propertyNames": { "type": "string" },
|
|
24
|
+
"additionalProperties": { "type": "string", "minLength": 1 },
|
|
33
25
|
"description": "Mapping of lessonId to localized lesson title."
|
|
34
26
|
},
|
|
35
27
|
"pauseAndDiscuss": {
|
|
@@ -38,24 +30,14 @@
|
|
|
38
30
|
},
|
|
39
31
|
"sectionBodies": {
|
|
40
32
|
"type": "object",
|
|
41
|
-
"propertyNames": {
|
|
42
|
-
|
|
43
|
-
},
|
|
44
|
-
"additionalProperties": {
|
|
45
|
-
"type": "string",
|
|
46
|
-
"minLength": 1
|
|
47
|
-
},
|
|
33
|
+
"propertyNames": { "type": "string" },
|
|
34
|
+
"additionalProperties": { "type": "string", "minLength": 1 },
|
|
48
35
|
"description": "Mapping of sectionId to localized section body text."
|
|
49
36
|
},
|
|
50
37
|
"sectionHeaders": {
|
|
51
38
|
"type": "object",
|
|
52
|
-
"propertyNames": {
|
|
53
|
-
|
|
54
|
-
},
|
|
55
|
-
"additionalProperties": {
|
|
56
|
-
"type": "string",
|
|
57
|
-
"minLength": 1
|
|
58
|
-
},
|
|
39
|
+
"propertyNames": { "type": "string" },
|
|
40
|
+
"additionalProperties": { "type": "string", "minLength": 1 },
|
|
59
41
|
"description": "Mapping of sectionId to localized section header text."
|
|
60
42
|
},
|
|
61
43
|
"setDescription": {
|
|
@@ -73,11 +55,7 @@
|
|
|
73
55
|
"description": "Localized title for the set."
|
|
74
56
|
}
|
|
75
57
|
},
|
|
76
|
-
"required": [
|
|
77
|
-
"setId",
|
|
78
|
-
"lessonTitles",
|
|
79
|
-
"setTitle"
|
|
80
|
-
],
|
|
58
|
+
"required": ["setId", "lessonTitles", "setTitle"],
|
|
81
59
|
"additionalProperties": false
|
|
82
60
|
},
|
|
83
61
|
"description": "Array of translated sets for a given 3-letter language id (ISO-ish)."
|
|
@@ -85,8 +63,5 @@
|
|
|
85
63
|
"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."
|
|
86
64
|
}
|
|
87
65
|
},
|
|
88
|
-
"required": [
|
|
89
|
-
"$schema",
|
|
90
|
-
"data"
|
|
91
|
-
]
|
|
66
|
+
"required": ["$schema", "data"]
|
|
92
67
|
}
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.translationsSolarSpeaker = void 0;
|
|
4
|
+
// This file is auto-generated by scripts/prep. Do not edit manually.
|
|
4
5
|
const translationsSolarSpeaker_zod_1 = require("./translationsSolarSpeaker.zod");
|
|
5
6
|
const data = require('./translationsSolarSpeaker.json');
|
|
6
7
|
exports.translationsSolarSpeaker = translationsSolarSpeaker_zod_1.TranslationsSolarSpeaker.parse(data.data);
|
|
@@ -1,187 +1,58 @@
|
|
|
1
1
|
{
|
|
2
|
+
"description": "This file is auto-generated by scripts/prep. Do not edit manually.",
|
|
2
3
|
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
3
4
|
"type": "object",
|
|
4
5
|
"properties": {
|
|
5
|
-
"$schema": {
|
|
6
|
-
"type": "string"
|
|
7
|
-
},
|
|
6
|
+
"$schema": { "type": "string" },
|
|
8
7
|
"data": {
|
|
9
8
|
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
10
9
|
"type": "object",
|
|
11
|
-
"propertyNames": {
|
|
12
|
-
"type": "string"
|
|
13
|
-
},
|
|
10
|
+
"propertyNames": { "type": "string" },
|
|
14
11
|
"additionalProperties": {
|
|
15
12
|
"type": "object",
|
|
16
13
|
"properties": {
|
|
17
|
-
"intro": {
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
},
|
|
21
|
-
"
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
},
|
|
25
|
-
"
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
},
|
|
29
|
-
"
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
},
|
|
33
|
-
"
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
},
|
|
37
|
-
"
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
},
|
|
41
|
-
"
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
},
|
|
45
|
-
"
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
},
|
|
49
|
-
"
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
},
|
|
53
|
-
"
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
},
|
|
57
|
-
"
|
|
58
|
-
|
|
59
|
-
"minLength": 1
|
|
60
|
-
},
|
|
61
|
-
"lessons_009": {
|
|
62
|
-
"type": "string",
|
|
63
|
-
"minLength": 1
|
|
64
|
-
},
|
|
65
|
-
"lessons_010": {
|
|
66
|
-
"type": "string",
|
|
67
|
-
"minLength": 1
|
|
68
|
-
},
|
|
69
|
-
"lessons_011": {
|
|
70
|
-
"type": "string",
|
|
71
|
-
"minLength": 1
|
|
72
|
-
},
|
|
73
|
-
"lessons_012": {
|
|
74
|
-
"type": "string",
|
|
75
|
-
"minLength": 1
|
|
76
|
-
},
|
|
77
|
-
"lessons_013": {
|
|
78
|
-
"type": "string",
|
|
79
|
-
"minLength": 1
|
|
80
|
-
},
|
|
81
|
-
"lessons_014": {
|
|
82
|
-
"type": "string",
|
|
83
|
-
"minLength": 1
|
|
84
|
-
},
|
|
85
|
-
"lessons_015": {
|
|
86
|
-
"type": "string",
|
|
87
|
-
"minLength": 1
|
|
88
|
-
},
|
|
89
|
-
"lessons_016": {
|
|
90
|
-
"type": "string",
|
|
91
|
-
"minLength": 1
|
|
92
|
-
},
|
|
93
|
-
"lessons_017": {
|
|
94
|
-
"type": "string",
|
|
95
|
-
"minLength": 1
|
|
96
|
-
},
|
|
97
|
-
"lessons_018": {
|
|
98
|
-
"type": "string",
|
|
99
|
-
"minLength": 1
|
|
100
|
-
},
|
|
101
|
-
"lessons_019": {
|
|
102
|
-
"type": "string",
|
|
103
|
-
"minLength": 1
|
|
104
|
-
},
|
|
105
|
-
"lessons_020": {
|
|
106
|
-
"type": "string",
|
|
107
|
-
"minLength": 1
|
|
108
|
-
},
|
|
109
|
-
"lessons_021": {
|
|
110
|
-
"type": "string",
|
|
111
|
-
"minLength": 1
|
|
112
|
-
},
|
|
113
|
-
"lessons_022": {
|
|
114
|
-
"type": "string",
|
|
115
|
-
"minLength": 1
|
|
116
|
-
},
|
|
117
|
-
"lessons_023": {
|
|
118
|
-
"type": "string",
|
|
119
|
-
"minLength": 1
|
|
120
|
-
},
|
|
121
|
-
"lessons_024": {
|
|
122
|
-
"type": "string",
|
|
123
|
-
"minLength": 1
|
|
124
|
-
},
|
|
125
|
-
"lessons_025": {
|
|
126
|
-
"type": "string",
|
|
127
|
-
"minLength": 1
|
|
128
|
-
},
|
|
129
|
-
"lessons_026": {
|
|
130
|
-
"type": "string",
|
|
131
|
-
"minLength": 1
|
|
132
|
-
},
|
|
133
|
-
"lessons_027": {
|
|
134
|
-
"type": "string",
|
|
135
|
-
"minLength": 1
|
|
136
|
-
},
|
|
137
|
-
"lessons_028": {
|
|
138
|
-
"type": "string",
|
|
139
|
-
"minLength": 1
|
|
140
|
-
},
|
|
141
|
-
"lessons_029": {
|
|
142
|
-
"type": "string",
|
|
143
|
-
"minLength": 1
|
|
144
|
-
},
|
|
145
|
-
"lessons_030": {
|
|
146
|
-
"type": "string",
|
|
147
|
-
"minLength": 1
|
|
148
|
-
},
|
|
149
|
-
"lessons_031": {
|
|
150
|
-
"type": "string",
|
|
151
|
-
"minLength": 1
|
|
152
|
-
},
|
|
153
|
-
"lessons_032": {
|
|
154
|
-
"type": "string",
|
|
155
|
-
"minLength": 1
|
|
156
|
-
},
|
|
157
|
-
"lessons_033": {
|
|
158
|
-
"type": "string",
|
|
159
|
-
"minLength": 1
|
|
160
|
-
},
|
|
161
|
-
"lessons_034": {
|
|
162
|
-
"type": "string",
|
|
163
|
-
"minLength": 1
|
|
164
|
-
},
|
|
165
|
-
"lessons_035": {
|
|
166
|
-
"type": "string",
|
|
167
|
-
"minLength": 1
|
|
168
|
-
},
|
|
169
|
-
"lessons_036": {
|
|
170
|
-
"type": "string",
|
|
171
|
-
"minLength": 1
|
|
172
|
-
},
|
|
173
|
-
"lessons_037": {
|
|
174
|
-
"type": "string",
|
|
175
|
-
"minLength": 1
|
|
176
|
-
},
|
|
177
|
-
"lessons_038": {
|
|
178
|
-
"type": "string",
|
|
179
|
-
"minLength": 1
|
|
180
|
-
},
|
|
181
|
-
"lessons_039": {
|
|
182
|
-
"type": "string",
|
|
183
|
-
"minLength": 1
|
|
184
|
-
}
|
|
14
|
+
"intro": { "type": "string", "minLength": 1 },
|
|
15
|
+
"intro_foundations": { "type": "string", "minLength": 1 },
|
|
16
|
+
"intro_topics": { "type": "string", "minLength": 1 },
|
|
17
|
+
"lessons_001": { "type": "string", "minLength": 1 },
|
|
18
|
+
"lessons_002": { "type": "string", "minLength": 1 },
|
|
19
|
+
"lessons_003": { "type": "string", "minLength": 1 },
|
|
20
|
+
"lessons_004": { "type": "string", "minLength": 1 },
|
|
21
|
+
"lessons_005": { "type": "string", "minLength": 1 },
|
|
22
|
+
"lessons_006": { "type": "string", "minLength": 1 },
|
|
23
|
+
"lessons_007": { "type": "string", "minLength": 1 },
|
|
24
|
+
"lessons_008": { "type": "string", "minLength": 1 },
|
|
25
|
+
"lessons_009": { "type": "string", "minLength": 1 },
|
|
26
|
+
"lessons_010": { "type": "string", "minLength": 1 },
|
|
27
|
+
"lessons_011": { "type": "string", "minLength": 1 },
|
|
28
|
+
"lessons_012": { "type": "string", "minLength": 1 },
|
|
29
|
+
"lessons_013": { "type": "string", "minLength": 1 },
|
|
30
|
+
"lessons_014": { "type": "string", "minLength": 1 },
|
|
31
|
+
"lessons_015": { "type": "string", "minLength": 1 },
|
|
32
|
+
"lessons_016": { "type": "string", "minLength": 1 },
|
|
33
|
+
"lessons_017": { "type": "string", "minLength": 1 },
|
|
34
|
+
"lessons_018": { "type": "string", "minLength": 1 },
|
|
35
|
+
"lessons_019": { "type": "string", "minLength": 1 },
|
|
36
|
+
"lessons_020": { "type": "string", "minLength": 1 },
|
|
37
|
+
"lessons_021": { "type": "string", "minLength": 1 },
|
|
38
|
+
"lessons_022": { "type": "string", "minLength": 1 },
|
|
39
|
+
"lessons_023": { "type": "string", "minLength": 1 },
|
|
40
|
+
"lessons_024": { "type": "string", "minLength": 1 },
|
|
41
|
+
"lessons_025": { "type": "string", "minLength": 1 },
|
|
42
|
+
"lessons_026": { "type": "string", "minLength": 1 },
|
|
43
|
+
"lessons_027": { "type": "string", "minLength": 1 },
|
|
44
|
+
"lessons_028": { "type": "string", "minLength": 1 },
|
|
45
|
+
"lessons_029": { "type": "string", "minLength": 1 },
|
|
46
|
+
"lessons_030": { "type": "string", "minLength": 1 },
|
|
47
|
+
"lessons_031": { "type": "string", "minLength": 1 },
|
|
48
|
+
"lessons_032": { "type": "string", "minLength": 1 },
|
|
49
|
+
"lessons_033": { "type": "string", "minLength": 1 },
|
|
50
|
+
"lessons_034": { "type": "string", "minLength": 1 },
|
|
51
|
+
"lessons_035": { "type": "string", "minLength": 1 },
|
|
52
|
+
"lessons_036": { "type": "string", "minLength": 1 },
|
|
53
|
+
"lessons_037": { "type": "string", "minLength": 1 },
|
|
54
|
+
"lessons_038": { "type": "string", "minLength": 1 },
|
|
55
|
+
"lessons_039": { "type": "string", "minLength": 1 }
|
|
185
56
|
},
|
|
186
57
|
"required": [
|
|
187
58
|
"intro",
|
|
@@ -231,8 +102,5 @@
|
|
|
231
102
|
}
|
|
232
103
|
}
|
|
233
104
|
},
|
|
234
|
-
"required": [
|
|
235
|
-
"$schema",
|
|
236
|
-
"data"
|
|
237
|
-
]
|
|
105
|
+
"required": ["$schema", "data"]
|
|
238
106
|
}
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.translationsSpokenQuestion = void 0;
|
|
4
|
+
// This file is auto-generated by scripts/prep. Do not edit manually.
|
|
4
5
|
const translationsSpokenQuestion_zod_1 = require("./translationsSpokenQuestion.zod");
|
|
5
6
|
const data = require('./translationsSpokenQuestion.json');
|
|
6
7
|
exports.translationsSpokenQuestion = translationsSpokenQuestion_zod_1.TranslationsSpokenQuestion.parse(data.data);
|
|
@@ -1,21 +1,16 @@
|
|
|
1
1
|
{
|
|
2
|
+
"description": "This file is auto-generated by scripts/prep. Do not edit manually.",
|
|
2
3
|
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
3
4
|
"type": "object",
|
|
4
5
|
"properties": {
|
|
5
|
-
"$schema": {
|
|
6
|
-
"type": "string"
|
|
7
|
-
},
|
|
6
|
+
"$schema": { "type": "string" },
|
|
8
7
|
"data": {
|
|
9
8
|
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
10
9
|
"type": "object",
|
|
11
|
-
"propertyNames": {
|
|
12
|
-
"type": "string"
|
|
13
|
-
},
|
|
10
|
+
"propertyNames": { "type": "string" },
|
|
14
11
|
"additionalProperties": {
|
|
15
12
|
"type": "object",
|
|
16
|
-
"propertyNames": {
|
|
17
|
-
"type": "string"
|
|
18
|
-
},
|
|
13
|
+
"propertyNames": { "type": "string" },
|
|
19
14
|
"additionalProperties": {
|
|
20
15
|
"type": "string",
|
|
21
16
|
"description": "Question text in the target language"
|
|
@@ -23,8 +18,5 @@
|
|
|
23
18
|
}
|
|
24
19
|
}
|
|
25
20
|
},
|
|
26
|
-
"required": [
|
|
27
|
-
"$schema",
|
|
28
|
-
"data"
|
|
29
|
-
]
|
|
21
|
+
"required": ["$schema", "data"]
|
|
30
22
|
}
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.youtubePlaylists = void 0;
|
|
4
|
+
// This file is auto-generated by scripts/prep. Do not edit manually.
|
|
4
5
|
const youtubePlaylists_zod_1 = require("./youtubePlaylists.zod");
|
|
5
6
|
const data = require('./youtubePlaylists.json');
|
|
6
7
|
exports.youtubePlaylists = youtubePlaylists_zod_1.YoutubePlaylists.parse(data.data);
|
|
@@ -1,16 +1,13 @@
|
|
|
1
1
|
{
|
|
2
|
+
"description": "This file is auto-generated by scripts/prep. Do not edit manually.",
|
|
2
3
|
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
3
4
|
"type": "object",
|
|
4
5
|
"properties": {
|
|
5
|
-
"$schema": {
|
|
6
|
-
"type": "string"
|
|
7
|
-
},
|
|
6
|
+
"$schema": { "type": "string" },
|
|
8
7
|
"data": {
|
|
9
8
|
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
10
9
|
"type": "object",
|
|
11
|
-
"propertyNames": {
|
|
12
|
-
"type": "string"
|
|
13
|
-
},
|
|
10
|
+
"propertyNames": { "type": "string" },
|
|
14
11
|
"additionalProperties": {
|
|
15
12
|
"type": "string",
|
|
16
13
|
"description": "YouTube playlist ID"
|
|
@@ -18,8 +15,5 @@
|
|
|
18
15
|
"description": "Maps language codes to YouTube playlist IDs"
|
|
19
16
|
}
|
|
20
17
|
},
|
|
21
|
-
"required": [
|
|
22
|
-
"$schema",
|
|
23
|
-
"data"
|
|
24
|
-
]
|
|
18
|
+
"required": ["$schema", "data"]
|
|
25
19
|
}
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.youtubeVideos = void 0;
|
|
4
|
+
// This file is auto-generated by scripts/prep. Do not edit manually.
|
|
4
5
|
const youtubeVideos_zod_1 = require("./youtubeVideos.zod");
|
|
5
6
|
const data = require('./youtubeVideos.json');
|
|
6
7
|
exports.youtubeVideos = youtubeVideos_zod_1.YoutubeVideos.parse(data.data);
|
|
@@ -1,16 +1,13 @@
|
|
|
1
1
|
{
|
|
2
|
+
"description": "This file is auto-generated by scripts/prep. Do not edit manually.",
|
|
2
3
|
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
3
4
|
"type": "object",
|
|
4
5
|
"properties": {
|
|
5
|
-
"$schema": {
|
|
6
|
-
"type": "string"
|
|
7
|
-
},
|
|
6
|
+
"$schema": { "type": "string" },
|
|
8
7
|
"data": {
|
|
9
8
|
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
10
9
|
"type": "object",
|
|
11
|
-
"propertyNames": {
|
|
12
|
-
"type": "string"
|
|
13
|
-
},
|
|
10
|
+
"propertyNames": { "type": "string" },
|
|
14
11
|
"additionalProperties": {
|
|
15
12
|
"type": "string",
|
|
16
13
|
"description": "YouTube video ID"
|
|
@@ -18,8 +15,5 @@
|
|
|
18
15
|
"description": "Maps video file names to YouTube video IDs"
|
|
19
16
|
}
|
|
20
17
|
},
|
|
21
|
-
"required": [
|
|
22
|
-
"$schema",
|
|
23
|
-
"data"
|
|
24
|
-
]
|
|
18
|
+
"required": ["$schema", "data"]
|
|
25
19
|
}
|
|
@@ -1,4 +1,24 @@
|
|
|
1
1
|
import type { ArticleSession, BibleSession, WahaShareContent } from './users';
|
|
2
|
+
export interface BaseEventParams {
|
|
3
|
+
meetLanguageId: string;
|
|
4
|
+
appInterfaceLanguageId: string;
|
|
5
|
+
favorites: string;
|
|
6
|
+
pathname: string;
|
|
7
|
+
bible: string;
|
|
8
|
+
trainingUnlocked: boolean;
|
|
9
|
+
firestoreUserId?: string;
|
|
10
|
+
groupID?: string;
|
|
11
|
+
lessonID?: string;
|
|
12
|
+
setID?: string;
|
|
13
|
+
articleId?: string;
|
|
14
|
+
sessionID?: string;
|
|
15
|
+
clone?: string;
|
|
16
|
+
utm_campaign?: string;
|
|
17
|
+
utm_source?: string;
|
|
18
|
+
utm_content?: string;
|
|
19
|
+
utm_medium?: string;
|
|
20
|
+
utm_term?: string;
|
|
21
|
+
}
|
|
2
22
|
type Meeting = {
|
|
3
23
|
name: 'OpenPlayScreen';
|
|
4
24
|
payload: {
|
|
@@ -128,23 +148,17 @@ type Bible = {
|
|
|
128
148
|
name: 'BibleSession';
|
|
129
149
|
payload: BibleSession;
|
|
130
150
|
};
|
|
131
|
-
type
|
|
132
|
-
name: '
|
|
151
|
+
type MicroLessons = {
|
|
152
|
+
name: 'MicroLessonStart';
|
|
133
153
|
payload: {
|
|
134
|
-
|
|
135
|
-
didApply: boolean;
|
|
154
|
+
microLessonId: string;
|
|
136
155
|
};
|
|
137
156
|
} | {
|
|
138
|
-
name: '
|
|
157
|
+
name: 'MicroLessonComplete';
|
|
139
158
|
payload: {
|
|
140
|
-
|
|
141
|
-
};
|
|
142
|
-
} | {
|
|
143
|
-
name: 'WorksheetComplete';
|
|
144
|
-
payload: {
|
|
145
|
-
worksheetId: string;
|
|
159
|
+
microLessonId: string;
|
|
146
160
|
timeToCompletion: number;
|
|
147
161
|
};
|
|
148
162
|
};
|
|
149
|
-
export type AnalyticsEvent = Meeting | Share | Misc | Article | Bible | Note |
|
|
163
|
+
export type AnalyticsEvent = Meeting | Share | Misc | Article | Bible | Note | MicroLessons | Give;
|
|
150
164
|
export {};
|
package/dist/types/articles.d.ts
CHANGED
|
@@ -9,6 +9,14 @@ export declare const ArticleSchema: z.ZodObject<{
|
|
|
9
9
|
"Product Updates": "Product Updates";
|
|
10
10
|
Books: "Books";
|
|
11
11
|
Films: "Films";
|
|
12
|
+
"How Tos": "How Tos";
|
|
13
|
+
"Mengenali Tuhan": "Mengenali Tuhan";
|
|
14
|
+
"\u00D6rnek Olay \u00C7al\u0131\u015Fmalar\u0131": "Örnek Olay Çalışmaları";
|
|
15
|
+
"\u00D6\u011Frenci Yeti\u015Ftirme S\u0131rlar\u0131": "Öğrenci Yetiştirme Sırları";
|
|
16
|
+
"Tanr\u0131'y\u0131 Ke\u015Ffetmek": "Tanrı'yı Keşfetmek";
|
|
17
|
+
"Historias de la vida real": "Historias de la vida real";
|
|
18
|
+
"Secretos para hacer disc\u00EDpulos": "Secretos para hacer discípulos";
|
|
19
|
+
"Descubriendo a Dios": "Descubriendo a Dios";
|
|
12
20
|
}>;
|
|
13
21
|
image: z.ZodOptional<z.ZodString>;
|
|
14
22
|
date: z.ZodCoercedDate<unknown>;
|
|
@@ -57,6 +65,14 @@ export declare const ResponseArticleSchema: z.ZodObject<{
|
|
|
57
65
|
"Product Updates": "Product Updates";
|
|
58
66
|
Books: "Books";
|
|
59
67
|
Films: "Films";
|
|
68
|
+
"How Tos": "How Tos";
|
|
69
|
+
"Mengenali Tuhan": "Mengenali Tuhan";
|
|
70
|
+
"\u00D6rnek Olay \u00C7al\u0131\u015Fmalar\u0131": "Örnek Olay Çalışmaları";
|
|
71
|
+
"\u00D6\u011Frenci Yeti\u015Ftirme S\u0131rlar\u0131": "Öğrenci Yetiştirme Sırları";
|
|
72
|
+
"Tanr\u0131'y\u0131 Ke\u015Ffetmek": "Tanrı'yı Keşfetmek";
|
|
73
|
+
"Historias de la vida real": "Historias de la vida real";
|
|
74
|
+
"Secretos para hacer disc\u00EDpulos": "Secretos para hacer discípulos";
|
|
75
|
+
"Descubriendo a Dios": "Descubriendo a Dios";
|
|
60
76
|
}>;
|
|
61
77
|
image: z.ZodOptional<z.ZodString>;
|
|
62
78
|
date: z.ZodCoercedDate<unknown>;
|
|
@@ -108,6 +124,14 @@ export declare const ArticlesResponseSchema: z.ZodObject<{
|
|
|
108
124
|
"Product Updates": "Product Updates";
|
|
109
125
|
Books: "Books";
|
|
110
126
|
Films: "Films";
|
|
127
|
+
"How Tos": "How Tos";
|
|
128
|
+
"Mengenali Tuhan": "Mengenali Tuhan";
|
|
129
|
+
"\u00D6rnek Olay \u00C7al\u0131\u015Fmalar\u0131": "Örnek Olay Çalışmaları";
|
|
130
|
+
"\u00D6\u011Frenci Yeti\u015Ftirme S\u0131rlar\u0131": "Öğrenci Yetiştirme Sırları";
|
|
131
|
+
"Tanr\u0131'y\u0131 Ke\u015Ffetmek": "Tanrı'yı Keşfetmek";
|
|
132
|
+
"Historias de la vida real": "Historias de la vida real";
|
|
133
|
+
"Secretos para hacer disc\u00EDpulos": "Secretos para hacer discípulos";
|
|
134
|
+
"Descubriendo a Dios": "Descubriendo a Dios";
|
|
111
135
|
}>;
|
|
112
136
|
image: z.ZodOptional<z.ZodString>;
|
|
113
137
|
date: z.ZodCoercedDate<unknown>;
|
|
@@ -146,3 +170,7 @@ export declare const ArticlesResponseSchema: z.ZodObject<{
|
|
|
146
170
|
body: z.ZodString;
|
|
147
171
|
}, z.core.$strip>>;
|
|
148
172
|
}, z.core.$strip>;
|
|
173
|
+
export declare const ArticleLanguagesResponseSchema: z.ZodObject<{
|
|
174
|
+
data: z.ZodArray<z.ZodString>;
|
|
175
|
+
}, z.core.$strip>;
|
|
176
|
+
export type ArticleCategory = z.infer<typeof ArticleSchema>['category'];
|
package/dist/types/articles.js
CHANGED
|
@@ -3,20 +3,13 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
|
3
3
|
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
4
4
|
};
|
|
5
5
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
|
-
exports.ArticlesResponseSchema = exports.ResponseArticleSchema = exports.ArticleSchema = void 0;
|
|
6
|
+
exports.ArticleLanguagesResponseSchema = exports.ArticlesResponseSchema = exports.ResponseArticleSchema = exports.ArticleSchema = void 0;
|
|
7
7
|
const v4_1 = __importDefault(require("zod/v4"));
|
|
8
8
|
const webContent_1 = require("./webContent");
|
|
9
9
|
exports.ArticleSchema = v4_1.default.object({
|
|
10
10
|
title: v4_1.default.string(),
|
|
11
11
|
author: v4_1.default.string().optional(),
|
|
12
|
-
category:
|
|
13
|
-
'Case Studies',
|
|
14
|
-
'Discovering God',
|
|
15
|
-
'Disciple Making Secrets',
|
|
16
|
-
'Product Updates',
|
|
17
|
-
'Books',
|
|
18
|
-
'Films',
|
|
19
|
-
]),
|
|
12
|
+
category: webContent_1.CategorySchema,
|
|
20
13
|
image: v4_1.default.string().optional(),
|
|
21
14
|
date: webContent_1.DateSchema,
|
|
22
15
|
isDraft: webContent_1.IsDraftSchema,
|
|
@@ -50,3 +43,6 @@ exports.ResponseArticleSchema = v4_1.default.object({
|
|
|
50
43
|
exports.ArticlesResponseSchema = v4_1.default.object({
|
|
51
44
|
data: v4_1.default.array(exports.ResponseArticleSchema),
|
|
52
45
|
});
|
|
46
|
+
exports.ArticleLanguagesResponseSchema = v4_1.default.object({
|
|
47
|
+
data: v4_1.default.array(v4_1.default.string()),
|
|
48
|
+
});
|