waha-shared 1.0.264 → 1.0.265
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 +3 -60
- package/dist/data/areas/areas.schema.json +13 -4
- package/dist/data/areas/index.js +0 -1
- package/dist/data/aslTimestamps/aslTimestamps.schema.json +22 -6
- package/dist/data/aslTimestamps/index.js +0 -1
- package/dist/data/bibleAudios/bibleAudios.schema.json +27 -8
- package/dist/data/bibleAudios/index.js +0 -1
- package/dist/data/bibleBooks/bibleBooks.schema.json +24 -8
- package/dist/data/bibleBooks/index.js +0 -1
- package/dist/data/bibleChaptersList/bibleChaptersList.schema.json +7 -3
- package/dist/data/bibleChaptersList/index.js +0 -1
- package/dist/data/bibleStatuses/bibleStatuses.schema.json +23 -7
- package/dist/data/bibleStatuses/index.js +0 -1
- package/dist/data/bibleTexts/bibleTexts.schema.json +22 -7
- package/dist/data/bibleTexts/index.js +0 -1
- package/dist/data/clones/clones.schema.json +26 -8
- package/dist/data/clones/index.js +0 -1
- package/dist/data/countries/countries.schema.json +28 -8
- package/dist/data/countries/index.js +0 -1
- package/dist/data/countriesAndLanguages/countriesAndLanguages.schema.json +17 -5
- package/dist/data/countriesAndLanguages/index.js +0 -1
- package/dist/data/crowdinLanguages/crowdinLanguages.schema.json +18 -5
- package/dist/data/crowdinLanguages/index.js +0 -1
- package/dist/data/curriculumFoundations/curriculumFoundations.schema.json +21 -7
- package/dist/data/curriculumFoundations/index.js +0 -1
- package/dist/data/curriculumQuestions/curriculumQuestions.schema.json +28 -9
- package/dist/data/curriculumQuestions/index.js +0 -1
- package/dist/data/curriculumTopics/curriculumTopics.schema.json +21 -7
- package/dist/data/curriculumTopics/index.js +0 -1
- package/dist/data/iosVoiceOverLanguages/index.js +0 -1
- package/dist/data/iosVoiceOverLanguages/iosVoiceOverLanguages.schema.json +7 -3
- package/dist/data/iso6933LanguageCodes/index.js +0 -1
- package/dist/data/iso6933LanguageCodes/iso6933LanguageCodes.schema.json +10 -4
- package/dist/data/languageAssets/index.js +0 -1
- package/dist/data/languageAssets/languageAssets.schema.json +14 -5
- package/dist/data/languages/index.js +0 -1
- package/dist/data/languages/languages.json +1 -0
- package/dist/data/languages/languages.schema.json +76 -18
- package/dist/data/mediaDurations/index.js +0 -1
- package/dist/data/mediaDurations/mediaDurations.schema.json +14 -5
- package/dist/data/notification/index.js +0 -1
- package/dist/data/notification/notification.schema.json +71 -20
- package/dist/data/numeralMaps/index.js +0 -1
- package/dist/data/numeralMaps/numeralMaps.schema.json +22 -5
- package/dist/data/phoneLanguages/index.js +0 -1
- package/dist/data/phoneLanguages/phoneLanguages.schema.json +16 -5
- package/dist/data/questions/index.js +0 -1
- package/dist/data/questions/questions.schema.json +24 -7
- package/dist/data/releaseNotes/index.js +0 -1
- package/dist/data/releaseNotes/releaseNotes.schema.json +18 -6
- package/dist/data/screenshots/index.js +0 -1
- package/dist/data/screenshots/screenshots.schema.json +10 -4
- package/dist/data/scripts/index.js +0 -1
- package/dist/data/scripts/scripts.schema.json +20 -7
- package/dist/data/sets/index.js +0 -1
- package/dist/data/sets/sets.schema.json +30 -8
- package/dist/data/specialIds/index.js +0 -1
- package/dist/data/specialIds/specialIds.schema.json +19 -6
- package/dist/data/translationsApp/index.d.ts +11 -10
- package/dist/data/translationsApp/index.js +0 -1
- package/dist/data/translationsApp/translationsApp.json +7 -11676
- package/dist/data/translationsApp/translationsApp.schema.json +1086 -313
- package/dist/data/translationsApp/translationsApp.zod.d.ts +11 -10
- package/dist/data/translationsApp/translationsApp.zod.js +11 -11
- package/dist/data/translationsFtb/index.js +0 -1
- package/dist/data/translationsFtb/translationsFtb.schema.json +274 -70
- package/dist/data/translationsIntroduction/index.js +0 -1
- package/dist/data/translationsIntroduction/translationsIntroduction.schema.json +165 -43
- package/dist/data/translationsQuestion/index.js +0 -1
- package/dist/data/translationsQuestion/translationsQuestion.schema.json +13 -5
- package/dist/data/translationsSet/index.js +0 -1
- package/dist/data/translationsSet/translationsSet.json +0 -789
- package/dist/data/translationsSet/translationsSet.schema.json +36 -11
- package/dist/data/translationsSolarSpeaker/index.js +0 -1
- package/dist/data/translationsSolarSpeaker/translationsSolarSpeaker.schema.json +178 -46
- package/dist/data/translationsSpokenQuestion/index.js +0 -1
- package/dist/data/translationsSpokenQuestion/translationsSpokenQuestion.schema.json +13 -5
- package/dist/data/youtubePlaylists/index.js +0 -1
- package/dist/data/youtubePlaylists/youtubePlaylists.schema.json +10 -4
- package/dist/data/youtubeVideos/index.js +0 -1
- package/dist/data/youtubeVideos/youtubeVideos.schema.json +10 -4
- package/dist/types/analytics.d.ts +12 -26
- package/dist/types/articles.d.ts +0 -28
- package/dist/types/articles.js +9 -5
- package/dist/types/microLessons.d.ts +9 -60
- package/dist/types/microLessons.js +19 -23
- package/dist/types/webContent.d.ts +0 -16
- package/dist/types/webContent.js +1 -20
- package/package.json +1 -1
|
@@ -1,13 +1,16 @@
|
|
|
1
1
|
{
|
|
2
|
-
"description": "This file is auto-generated by scripts/prep. Do not edit manually.",
|
|
3
2
|
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
4
3
|
"type": "object",
|
|
5
4
|
"properties": {
|
|
6
|
-
"$schema": {
|
|
5
|
+
"$schema": {
|
|
6
|
+
"type": "string"
|
|
7
|
+
},
|
|
7
8
|
"data": {
|
|
8
9
|
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
9
10
|
"type": "object",
|
|
10
|
-
"propertyNames": {
|
|
11
|
+
"propertyNames": {
|
|
12
|
+
"type": "string"
|
|
13
|
+
},
|
|
11
14
|
"additionalProperties": {
|
|
12
15
|
"type": "array",
|
|
13
16
|
"items": {
|
|
@@ -20,8 +23,13 @@
|
|
|
20
23
|
},
|
|
21
24
|
"lessonTitles": {
|
|
22
25
|
"type": "object",
|
|
23
|
-
"propertyNames": {
|
|
24
|
-
|
|
26
|
+
"propertyNames": {
|
|
27
|
+
"type": "string"
|
|
28
|
+
},
|
|
29
|
+
"additionalProperties": {
|
|
30
|
+
"type": "string",
|
|
31
|
+
"minLength": 1
|
|
32
|
+
},
|
|
25
33
|
"description": "Mapping of lessonId to localized lesson title."
|
|
26
34
|
},
|
|
27
35
|
"pauseAndDiscuss": {
|
|
@@ -30,14 +38,24 @@
|
|
|
30
38
|
},
|
|
31
39
|
"sectionBodies": {
|
|
32
40
|
"type": "object",
|
|
33
|
-
"propertyNames": {
|
|
34
|
-
|
|
41
|
+
"propertyNames": {
|
|
42
|
+
"type": "string"
|
|
43
|
+
},
|
|
44
|
+
"additionalProperties": {
|
|
45
|
+
"type": "string",
|
|
46
|
+
"minLength": 1
|
|
47
|
+
},
|
|
35
48
|
"description": "Mapping of sectionId to localized section body text."
|
|
36
49
|
},
|
|
37
50
|
"sectionHeaders": {
|
|
38
51
|
"type": "object",
|
|
39
|
-
"propertyNames": {
|
|
40
|
-
|
|
52
|
+
"propertyNames": {
|
|
53
|
+
"type": "string"
|
|
54
|
+
},
|
|
55
|
+
"additionalProperties": {
|
|
56
|
+
"type": "string",
|
|
57
|
+
"minLength": 1
|
|
58
|
+
},
|
|
41
59
|
"description": "Mapping of sectionId to localized section header text."
|
|
42
60
|
},
|
|
43
61
|
"setDescription": {
|
|
@@ -55,7 +73,11 @@
|
|
|
55
73
|
"description": "Localized title for the set."
|
|
56
74
|
}
|
|
57
75
|
},
|
|
58
|
-
"required": [
|
|
76
|
+
"required": [
|
|
77
|
+
"setId",
|
|
78
|
+
"lessonTitles",
|
|
79
|
+
"setTitle"
|
|
80
|
+
],
|
|
59
81
|
"additionalProperties": false
|
|
60
82
|
},
|
|
61
83
|
"description": "Array of translated sets for a given 3-letter language id (ISO-ish)."
|
|
@@ -63,5 +85,8 @@
|
|
|
63
85
|
"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."
|
|
64
86
|
}
|
|
65
87
|
},
|
|
66
|
-
"required": [
|
|
88
|
+
"required": [
|
|
89
|
+
"$schema",
|
|
90
|
+
"data"
|
|
91
|
+
]
|
|
67
92
|
}
|
|
@@ -1,7 +1,6 @@
|
|
|
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.
|
|
5
4
|
const translationsSolarSpeaker_zod_1 = require("./translationsSolarSpeaker.zod");
|
|
6
5
|
const data = require('./translationsSolarSpeaker.json');
|
|
7
6
|
exports.translationsSolarSpeaker = translationsSolarSpeaker_zod_1.TranslationsSolarSpeaker.parse(data.data);
|
|
@@ -1,58 +1,187 @@
|
|
|
1
1
|
{
|
|
2
|
-
"description": "This file is auto-generated by scripts/prep. Do not edit manually.",
|
|
3
2
|
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
4
3
|
"type": "object",
|
|
5
4
|
"properties": {
|
|
6
|
-
"$schema": {
|
|
5
|
+
"$schema": {
|
|
6
|
+
"type": "string"
|
|
7
|
+
},
|
|
7
8
|
"data": {
|
|
8
9
|
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
9
10
|
"type": "object",
|
|
10
|
-
"propertyNames": {
|
|
11
|
+
"propertyNames": {
|
|
12
|
+
"type": "string"
|
|
13
|
+
},
|
|
11
14
|
"additionalProperties": {
|
|
12
15
|
"type": "object",
|
|
13
16
|
"properties": {
|
|
14
|
-
"intro": {
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
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
|
-
|
|
17
|
+
"intro": {
|
|
18
|
+
"type": "string",
|
|
19
|
+
"minLength": 1
|
|
20
|
+
},
|
|
21
|
+
"intro_foundations": {
|
|
22
|
+
"type": "string",
|
|
23
|
+
"minLength": 1
|
|
24
|
+
},
|
|
25
|
+
"intro_topics": {
|
|
26
|
+
"type": "string",
|
|
27
|
+
"minLength": 1
|
|
28
|
+
},
|
|
29
|
+
"lessons_001": {
|
|
30
|
+
"type": "string",
|
|
31
|
+
"minLength": 1
|
|
32
|
+
},
|
|
33
|
+
"lessons_002": {
|
|
34
|
+
"type": "string",
|
|
35
|
+
"minLength": 1
|
|
36
|
+
},
|
|
37
|
+
"lessons_003": {
|
|
38
|
+
"type": "string",
|
|
39
|
+
"minLength": 1
|
|
40
|
+
},
|
|
41
|
+
"lessons_004": {
|
|
42
|
+
"type": "string",
|
|
43
|
+
"minLength": 1
|
|
44
|
+
},
|
|
45
|
+
"lessons_005": {
|
|
46
|
+
"type": "string",
|
|
47
|
+
"minLength": 1
|
|
48
|
+
},
|
|
49
|
+
"lessons_006": {
|
|
50
|
+
"type": "string",
|
|
51
|
+
"minLength": 1
|
|
52
|
+
},
|
|
53
|
+
"lessons_007": {
|
|
54
|
+
"type": "string",
|
|
55
|
+
"minLength": 1
|
|
56
|
+
},
|
|
57
|
+
"lessons_008": {
|
|
58
|
+
"type": "string",
|
|
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
|
+
}
|
|
56
185
|
},
|
|
57
186
|
"required": [
|
|
58
187
|
"intro",
|
|
@@ -102,5 +231,8 @@
|
|
|
102
231
|
}
|
|
103
232
|
}
|
|
104
233
|
},
|
|
105
|
-
"required": [
|
|
234
|
+
"required": [
|
|
235
|
+
"$schema",
|
|
236
|
+
"data"
|
|
237
|
+
]
|
|
106
238
|
}
|
|
@@ -1,7 +1,6 @@
|
|
|
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.
|
|
5
4
|
const translationsSpokenQuestion_zod_1 = require("./translationsSpokenQuestion.zod");
|
|
6
5
|
const data = require('./translationsSpokenQuestion.json');
|
|
7
6
|
exports.translationsSpokenQuestion = translationsSpokenQuestion_zod_1.TranslationsSpokenQuestion.parse(data.data);
|
|
@@ -1,16 +1,21 @@
|
|
|
1
1
|
{
|
|
2
|
-
"description": "This file is auto-generated by scripts/prep. Do not edit manually.",
|
|
3
2
|
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
4
3
|
"type": "object",
|
|
5
4
|
"properties": {
|
|
6
|
-
"$schema": {
|
|
5
|
+
"$schema": {
|
|
6
|
+
"type": "string"
|
|
7
|
+
},
|
|
7
8
|
"data": {
|
|
8
9
|
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
9
10
|
"type": "object",
|
|
10
|
-
"propertyNames": {
|
|
11
|
+
"propertyNames": {
|
|
12
|
+
"type": "string"
|
|
13
|
+
},
|
|
11
14
|
"additionalProperties": {
|
|
12
15
|
"type": "object",
|
|
13
|
-
"propertyNames": {
|
|
16
|
+
"propertyNames": {
|
|
17
|
+
"type": "string"
|
|
18
|
+
},
|
|
14
19
|
"additionalProperties": {
|
|
15
20
|
"type": "string",
|
|
16
21
|
"description": "Question text in the target language"
|
|
@@ -18,5 +23,8 @@
|
|
|
18
23
|
}
|
|
19
24
|
}
|
|
20
25
|
},
|
|
21
|
-
"required": [
|
|
26
|
+
"required": [
|
|
27
|
+
"$schema",
|
|
28
|
+
"data"
|
|
29
|
+
]
|
|
22
30
|
}
|
|
@@ -1,7 +1,6 @@
|
|
|
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.
|
|
5
4
|
const youtubePlaylists_zod_1 = require("./youtubePlaylists.zod");
|
|
6
5
|
const data = require('./youtubePlaylists.json');
|
|
7
6
|
exports.youtubePlaylists = youtubePlaylists_zod_1.YoutubePlaylists.parse(data.data);
|
|
@@ -1,13 +1,16 @@
|
|
|
1
1
|
{
|
|
2
|
-
"description": "This file is auto-generated by scripts/prep. Do not edit manually.",
|
|
3
2
|
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
4
3
|
"type": "object",
|
|
5
4
|
"properties": {
|
|
6
|
-
"$schema": {
|
|
5
|
+
"$schema": {
|
|
6
|
+
"type": "string"
|
|
7
|
+
},
|
|
7
8
|
"data": {
|
|
8
9
|
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
9
10
|
"type": "object",
|
|
10
|
-
"propertyNames": {
|
|
11
|
+
"propertyNames": {
|
|
12
|
+
"type": "string"
|
|
13
|
+
},
|
|
11
14
|
"additionalProperties": {
|
|
12
15
|
"type": "string",
|
|
13
16
|
"description": "YouTube playlist ID"
|
|
@@ -15,5 +18,8 @@
|
|
|
15
18
|
"description": "Maps language codes to YouTube playlist IDs"
|
|
16
19
|
}
|
|
17
20
|
},
|
|
18
|
-
"required": [
|
|
21
|
+
"required": [
|
|
22
|
+
"$schema",
|
|
23
|
+
"data"
|
|
24
|
+
]
|
|
19
25
|
}
|
|
@@ -1,7 +1,6 @@
|
|
|
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.
|
|
5
4
|
const youtubeVideos_zod_1 = require("./youtubeVideos.zod");
|
|
6
5
|
const data = require('./youtubeVideos.json');
|
|
7
6
|
exports.youtubeVideos = youtubeVideos_zod_1.YoutubeVideos.parse(data.data);
|
|
@@ -1,13 +1,16 @@
|
|
|
1
1
|
{
|
|
2
|
-
"description": "This file is auto-generated by scripts/prep. Do not edit manually.",
|
|
3
2
|
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
4
3
|
"type": "object",
|
|
5
4
|
"properties": {
|
|
6
|
-
"$schema": {
|
|
5
|
+
"$schema": {
|
|
6
|
+
"type": "string"
|
|
7
|
+
},
|
|
7
8
|
"data": {
|
|
8
9
|
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
9
10
|
"type": "object",
|
|
10
|
-
"propertyNames": {
|
|
11
|
+
"propertyNames": {
|
|
12
|
+
"type": "string"
|
|
13
|
+
},
|
|
11
14
|
"additionalProperties": {
|
|
12
15
|
"type": "string",
|
|
13
16
|
"description": "YouTube video ID"
|
|
@@ -15,5 +18,8 @@
|
|
|
15
18
|
"description": "Maps video file names to YouTube video IDs"
|
|
16
19
|
}
|
|
17
20
|
},
|
|
18
|
-
"required": [
|
|
21
|
+
"required": [
|
|
22
|
+
"$schema",
|
|
23
|
+
"data"
|
|
24
|
+
]
|
|
19
25
|
}
|
|
@@ -1,24 +1,4 @@
|
|
|
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
|
-
}
|
|
22
2
|
type Meeting = {
|
|
23
3
|
name: 'OpenPlayScreen';
|
|
24
4
|
payload: {
|
|
@@ -148,17 +128,23 @@ type Bible = {
|
|
|
148
128
|
name: 'BibleSession';
|
|
149
129
|
payload: BibleSession;
|
|
150
130
|
};
|
|
151
|
-
type
|
|
152
|
-
name: '
|
|
131
|
+
type Worksheets = {
|
|
132
|
+
name: 'WorksheetNotificationResponse';
|
|
153
133
|
payload: {
|
|
154
|
-
|
|
134
|
+
worksheetId: string;
|
|
135
|
+
didApply: boolean;
|
|
155
136
|
};
|
|
156
137
|
} | {
|
|
157
|
-
name: '
|
|
138
|
+
name: 'WorksheetStart';
|
|
158
139
|
payload: {
|
|
159
|
-
|
|
140
|
+
worksheetId: string;
|
|
141
|
+
};
|
|
142
|
+
} | {
|
|
143
|
+
name: 'WorksheetComplete';
|
|
144
|
+
payload: {
|
|
145
|
+
worksheetId: string;
|
|
160
146
|
timeToCompletion: number;
|
|
161
147
|
};
|
|
162
148
|
};
|
|
163
|
-
export type AnalyticsEvent = Meeting | Share | Misc | Article | Bible | Note |
|
|
149
|
+
export type AnalyticsEvent = Meeting | Share | Misc | Article | Bible | Note | Worksheets | Give;
|
|
164
150
|
export {};
|
package/dist/types/articles.d.ts
CHANGED
|
@@ -9,14 +9,6 @@ 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";
|
|
20
12
|
}>;
|
|
21
13
|
image: z.ZodOptional<z.ZodString>;
|
|
22
14
|
date: z.ZodCoercedDate<unknown>;
|
|
@@ -65,14 +57,6 @@ export declare const ResponseArticleSchema: z.ZodObject<{
|
|
|
65
57
|
"Product Updates": "Product Updates";
|
|
66
58
|
Books: "Books";
|
|
67
59
|
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";
|
|
76
60
|
}>;
|
|
77
61
|
image: z.ZodOptional<z.ZodString>;
|
|
78
62
|
date: z.ZodCoercedDate<unknown>;
|
|
@@ -124,14 +108,6 @@ export declare const ArticlesResponseSchema: z.ZodObject<{
|
|
|
124
108
|
"Product Updates": "Product Updates";
|
|
125
109
|
Books: "Books";
|
|
126
110
|
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";
|
|
135
111
|
}>;
|
|
136
112
|
image: z.ZodOptional<z.ZodString>;
|
|
137
113
|
date: z.ZodCoercedDate<unknown>;
|
|
@@ -170,7 +146,3 @@ export declare const ArticlesResponseSchema: z.ZodObject<{
|
|
|
170
146
|
body: z.ZodString;
|
|
171
147
|
}, z.core.$strip>>;
|
|
172
148
|
}, 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,13 +3,20 @@ 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.
|
|
6
|
+
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:
|
|
12
|
+
category: v4_1.default.enum([
|
|
13
|
+
'Case Studies',
|
|
14
|
+
'Discovering God',
|
|
15
|
+
'Disciple Making Secrets',
|
|
16
|
+
'Product Updates',
|
|
17
|
+
'Books',
|
|
18
|
+
'Films',
|
|
19
|
+
]),
|
|
13
20
|
image: v4_1.default.string().optional(),
|
|
14
21
|
date: webContent_1.DateSchema,
|
|
15
22
|
isDraft: webContent_1.IsDraftSchema,
|
|
@@ -43,6 +50,3 @@ exports.ResponseArticleSchema = v4_1.default.object({
|
|
|
43
50
|
exports.ArticlesResponseSchema = v4_1.default.object({
|
|
44
51
|
data: v4_1.default.array(exports.ResponseArticleSchema),
|
|
45
52
|
});
|
|
46
|
-
exports.ArticleLanguagesResponseSchema = v4_1.default.object({
|
|
47
|
-
data: v4_1.default.array(v4_1.default.string()),
|
|
48
|
-
});
|