waha-shared 1.0.211 → 1.0.213
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/dist/data/areas/areas.schema.json +53 -19
- package/dist/data/areas/areas.zod.d.ts +12 -15
- package/dist/data/aslTimestamps/aslTimestamps.schema.json +11 -18
- package/dist/data/aslTimestamps/aslTimestamps.zod.d.ts +34 -4
- package/dist/data/bibleAudios/bibleAudios.schema.json +11 -14
- package/dist/data/bibleAudios/bibleAudios.zod.d.ts +15 -11
- package/dist/data/bibleAudios/bibleAudios.zod.js +4 -5
- package/dist/data/bibleAudios/index.d.ts +2 -5
- package/dist/data/bibleBooks/bibleBooks.schema.json +50 -71
- package/dist/data/bibleBooks/bibleBooks.zod.d.ts +51 -5
- package/dist/data/bibleBooks/index.d.ts +2 -2
- package/dist/data/bibleChaptersList/bibleChaptersList.schema.json +2 -5
- package/dist/data/bibleChaptersList/bibleChaptersList.zod.d.ts +1 -1
- package/dist/data/bibleStatuses/bibleStatuses.json +110 -2
- package/dist/data/bibleStatuses/bibleStatuses.schema.json +40 -46
- package/dist/data/bibleStatuses/bibleStatuses.zod.d.ts +25 -5
- package/dist/data/bibleStatuses/bibleStatuses.zod.js +27 -2
- package/dist/data/bibleTexts/bibleTexts.schema.json +24 -40
- package/dist/data/bibleTexts/bibleTexts.zod.d.ts +39 -11
- package/dist/data/bibleTexts/index.d.ts +3 -3
- package/dist/data/clones/clones.schema.json +26 -27
- package/dist/data/clones/clones.zod.d.ts +24 -2
- package/dist/data/clones/clones.zod.js +1 -1
- package/dist/data/clones/index.d.ts +3 -3
- package/dist/data/countries/countries.schema.json +90 -91
- package/dist/data/countries/countries.zod.d.ts +88 -19
- package/dist/data/countries/countries.zod.js +138 -49
- package/dist/data/countriesAndLanguages/countriesAndLanguages.schema.json +8 -19
- package/dist/data/countriesAndLanguages/countriesAndLanguages.zod.d.ts +28 -2
- package/dist/data/countriesAndLanguages/index.d.ts +2 -2
- package/dist/data/crowdinLanguages/crowdinLanguages.schema.json +4 -13
- package/dist/data/crowdinLanguages/crowdinLanguages.zod.d.ts +13 -1
- package/dist/data/crowdinLanguages/index.d.ts +1 -1
- package/dist/data/curriculumFoundations/curriculumFoundations.schema.json +8 -16
- package/dist/data/curriculumFoundations/curriculumFoundations.zod.d.ts +10 -2
- package/dist/data/curriculumQuestions/curriculumQuestions.schema.json +13 -24
- package/dist/data/curriculumQuestions/curriculumQuestions.zod.d.ts +23 -3
- package/dist/data/curriculumTopics/curriculumTopics.schema.json +8 -16
- package/dist/data/curriculumTopics/curriculumTopics.zod.d.ts +10 -2
- package/dist/data/iosVoiceOverLanguages/iosVoiceOverLanguages.schema.json +2 -5
- package/dist/data/iosVoiceOverLanguages/iosVoiceOverLanguages.zod.d.ts +1 -1
- package/dist/data/iso6933LanguageCodes/iso6933LanguageCodes.schema.json +2 -8
- package/dist/data/iso6933LanguageCodes/iso6933LanguageCodes.zod.js +1 -1
- package/dist/data/languageAssets/languageAssets.json +37702 -0
- package/dist/data/languageAssets/languageAssets.schema.json +12 -15
- package/dist/data/languageAssets/languageAssets.zod.d.ts +1 -1
- package/dist/data/languageAssets/languageAssets.zod.js +43 -3
- package/dist/data/languages/index.d.ts +4 -8
- package/dist/data/languages/languages.json +1 -1
- package/dist/data/languages/languages.schema.json +89 -136
- package/dist/data/languages/languages.zod.d.ts +116 -194
- package/dist/data/languages/languages.zod.js +1 -7
- package/dist/data/mediaDurations/mediaDurations.schema.json +14 -21
- package/dist/data/mediaDurations/mediaDurations.zod.d.ts +1 -1
- package/dist/data/mediaDurations/mediaDurations.zod.js +41 -3
- package/dist/data/notification/notification.schema.json +57 -67
- package/dist/data/notification/notification.zod.d.ts +39 -15
- package/dist/data/notification/notification.zod.js +134 -4
- package/dist/data/numeralMaps/numeralMaps.schema.json +62 -62
- package/dist/data/numeralMaps/numeralMaps.zod.d.ts +46 -2
- package/dist/data/numeralMaps/numeralMaps.zod.js +64 -14
- package/dist/data/phoneLanguages/index.d.ts +1 -1
- package/dist/data/phoneLanguages/phoneLanguages.schema.json +8 -18
- package/dist/data/phoneLanguages/phoneLanguages.zod.d.ts +22 -2
- package/dist/data/questions/index.d.ts +1 -1
- package/dist/data/questions/questions.schema.json +11 -11
- package/dist/data/questions/questions.zod.d.ts +14 -6
- package/dist/data/releaseNotes/index.d.ts +1 -1
- package/dist/data/releaseNotes/releaseNotes.schema.json +11 -23
- package/dist/data/releaseNotes/releaseNotes.zod.d.ts +9 -1
- package/dist/data/releaseNotes/releaseNotes.zod.js +1 -1
- package/dist/data/screenshots/screenshots.schema.json +6 -12
- package/dist/data/screenshots/screenshots.zod.d.ts +5 -1
- package/dist/data/scripts/scripts.schema.json +4 -11
- package/dist/data/scripts/scripts.zod.d.ts +7 -1
- package/dist/data/sets/index.d.ts +2 -2
- package/dist/data/sets/sets.schema.json +22 -25
- package/dist/data/sets/sets.zod.d.ts +39 -61
- package/dist/data/specialIds/specialIds.schema.json +1 -5
- package/dist/data/specialIds/specialIds.zod.d.ts +41 -11
- package/dist/data/translationsApp/index.d.ts +9 -9
- package/dist/data/translationsApp/translationsApp.json +1 -0
- package/dist/data/translationsApp/translationsApp.schema.json +668 -667
- package/dist/data/translationsApp/translationsApp.zod.d.ts +631 -1
- package/dist/data/translationsApp/translationsApp.zod.js +2 -2
- package/dist/data/translationsFtb/translationsFtb.json +884 -0
- package/dist/data/translationsFtb/translationsFtb.schema.json +149 -147
- package/dist/data/translationsFtb/translationsFtb.zod.d.ts +135 -1
- package/dist/data/translationsFtb/translationsFtb.zod.js +1 -1
- package/dist/data/translationsIntroduction/translationsIntroduction.schema.json +18 -15
- package/dist/data/translationsIntroduction/translationsIntroduction.zod.d.ts +160 -2
- package/dist/data/translationsIntroduction/translationsIntroduction.zod.js +1 -1
- package/dist/data/translationsQuestion/translationsQuestion.json +480 -0
- package/dist/data/translationsQuestion/translationsQuestion.schema.json +14 -9
- package/dist/data/translationsQuestion/translationsQuestion.zod.js +1 -1
- package/dist/data/translationsSet/translationsSet.json +20694 -11135
- package/dist/data/translationsSet/translationsSet.schema.json +56 -52
- package/dist/data/translationsSet/translationsSet.zod.d.ts +19 -1
- package/dist/data/translationsSet/translationsSet.zod.js +4 -4
- package/dist/data/translationsSolarSpeaker/translationsSolarSpeaker.schema.json +100 -98
- package/dist/data/translationsSolarSpeaker/translationsSolarSpeaker.zod.d.ts +87 -1
- package/dist/data/translationsSolarSpeaker/translationsSolarSpeaker.zod.js +1 -1
- package/dist/data/translationsSpokenQuestion/translationsSpokenQuestion.json +480 -0
- package/dist/data/translationsSpokenQuestion/translationsSpokenQuestion.schema.json +23 -18
- package/dist/data/translationsSpokenQuestion/translationsSpokenQuestion.zod.js +1 -1
- package/dist/data/youtubePlaylists/youtubePlaylists.schema.json +2 -9
- package/dist/data/youtubePlaylists/youtubePlaylists.zod.js +1 -1
- package/dist/data/youtubeVideos/youtubeVideos.schema.json +2 -9
- package/dist/data/youtubeVideos/youtubeVideos.zod.js +1 -1
- package/dist/types/analytics.d.ts +1 -14
- package/dist/types/articles.d.ts +344 -94
- package/dist/types/articles.js +13 -13
- package/dist/types/bibleChapters.d.ts +91 -13
- package/dist/types/bibleChapters.js +1 -1
- package/dist/types/feedback.d.ts +41 -3
- package/dist/types/feedback.js +1 -1
- package/dist/types/microLessons.d.ts +869 -70
- package/dist/types/microLessons.js +29 -29
- package/dist/types/notifications.d.ts +119 -19
- package/dist/types/scripturePassages.d.ts +34 -4
- package/dist/types/users.d.ts +776 -221
- package/dist/types/users.js +1 -2
- package/dist/types/webContent.d.ts +20 -8
- package/package.json +3 -3
|
@@ -1,92 +1,96 @@
|
|
|
1
1
|
{
|
|
2
2
|
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
3
3
|
"type": "object",
|
|
4
|
+
"required": ["$schema", "data"],
|
|
5
|
+
"additionalProperties": false,
|
|
4
6
|
"properties": {
|
|
5
7
|
"$schema": {
|
|
6
|
-
"type": "string"
|
|
8
|
+
"type": "string",
|
|
9
|
+
"description": "Path to the JSON schema file"
|
|
7
10
|
},
|
|
8
11
|
"data": {
|
|
9
|
-
"
|
|
10
|
-
"
|
|
11
|
-
"
|
|
12
|
-
|
|
13
|
-
},
|
|
12
|
+
"title": "SetTranslations",
|
|
13
|
+
"$id": "https://waha.app/schemas/setTranslations.schema.json",
|
|
14
|
+
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
15
|
+
"minProperties": 0,
|
|
14
16
|
"additionalProperties": {
|
|
15
|
-
"
|
|
17
|
+
"description": "Array of translated sets for a given 3-letter language id (ISO-ish).",
|
|
16
18
|
"items": {
|
|
17
|
-
"type": "object",
|
|
18
19
|
"properties": {
|
|
19
20
|
"setId": {
|
|
20
|
-
"
|
|
21
|
+
"description": "Identifier of the set.",
|
|
21
22
|
"minLength": 1,
|
|
22
|
-
"
|
|
23
|
+
"type": "string"
|
|
23
24
|
},
|
|
24
25
|
"lessonTitles": {
|
|
25
|
-
"type": "object",
|
|
26
|
-
"propertyNames": {
|
|
27
|
-
"type": "string"
|
|
28
|
-
},
|
|
29
26
|
"additionalProperties": {
|
|
30
|
-
"
|
|
31
|
-
"
|
|
27
|
+
"minLength": 1,
|
|
28
|
+
"type": "string"
|
|
32
29
|
},
|
|
33
|
-
"description": "Mapping of lessonId to localized lesson title."
|
|
30
|
+
"description": "Mapping of lessonId to localized lesson title.",
|
|
31
|
+
"type": "object"
|
|
34
32
|
},
|
|
35
33
|
"pauseAndDiscuss": {
|
|
36
|
-
"
|
|
37
|
-
"
|
|
34
|
+
"description": "Localized text for 'Pause and Discuss' prompts. Used for lesson videos.",
|
|
35
|
+
"type": "string"
|
|
38
36
|
},
|
|
39
37
|
"sectionBodies": {
|
|
40
|
-
"type": "object",
|
|
41
|
-
"propertyNames": {
|
|
42
|
-
"type": "string"
|
|
43
|
-
},
|
|
44
38
|
"additionalProperties": {
|
|
45
|
-
"
|
|
46
|
-
"
|
|
39
|
+
"minLength": 1,
|
|
40
|
+
"type": "string"
|
|
47
41
|
},
|
|
48
|
-
"description": "Mapping of sectionId to localized section body text."
|
|
42
|
+
"description": "Mapping of sectionId to localized section body text.",
|
|
43
|
+
"type": "object"
|
|
49
44
|
},
|
|
50
45
|
"sectionHeaders": {
|
|
51
|
-
"type": "object",
|
|
52
|
-
"propertyNames": {
|
|
53
|
-
"type": "string"
|
|
54
|
-
},
|
|
55
46
|
"additionalProperties": {
|
|
56
|
-
"
|
|
57
|
-
"
|
|
47
|
+
"minLength": 1,
|
|
48
|
+
"type": "string"
|
|
58
49
|
},
|
|
59
|
-
"description": "Mapping of sectionId to localized section header text."
|
|
50
|
+
"description": "Mapping of sectionId to localized section header text.",
|
|
51
|
+
"type": "object"
|
|
60
52
|
},
|
|
61
53
|
"setDescription": {
|
|
62
|
-
"
|
|
63
|
-
"
|
|
54
|
+
"description": "Localized description for the set.",
|
|
55
|
+
"type": "string"
|
|
64
56
|
},
|
|
65
57
|
"setTag": {
|
|
66
|
-
"
|
|
58
|
+
"description": "Optional topical tag for the set.",
|
|
67
59
|
"minLength": 1,
|
|
68
|
-
"
|
|
60
|
+
"type": "string"
|
|
69
61
|
},
|
|
70
62
|
"setTitle": {
|
|
71
|
-
"
|
|
63
|
+
"description": "Localized title for the set.",
|
|
72
64
|
"minLength": 1,
|
|
73
|
-
"
|
|
65
|
+
"type": "string"
|
|
74
66
|
}
|
|
75
67
|
},
|
|
76
|
-
"required": [
|
|
77
|
-
|
|
78
|
-
"lessonTitles",
|
|
79
|
-
"setTitle"
|
|
80
|
-
],
|
|
81
|
-
"additionalProperties": false
|
|
68
|
+
"required": ["setId", "setTitle", "lessonTitles"],
|
|
69
|
+
"type": "object"
|
|
82
70
|
},
|
|
83
|
-
"
|
|
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}$"
|
|
84
92
|
},
|
|
85
|
-
"
|
|
93
|
+
"type": "object"
|
|
86
94
|
}
|
|
87
|
-
}
|
|
88
|
-
"required": [
|
|
89
|
-
"$schema",
|
|
90
|
-
"data"
|
|
91
|
-
]
|
|
95
|
+
}
|
|
92
96
|
}
|
|
@@ -8,5 +8,23 @@ export declare const TranslationsSet: z.ZodRecord<z.ZodString, z.ZodArray<z.ZodO
|
|
|
8
8
|
setDescription: z.ZodOptional<z.ZodString>;
|
|
9
9
|
setTag: z.ZodOptional<z.ZodString>;
|
|
10
10
|
setTitle: z.ZodString;
|
|
11
|
-
}, z.
|
|
11
|
+
}, "strip", z.ZodTypeAny, {
|
|
12
|
+
setId: string;
|
|
13
|
+
lessonTitles: Record<string, string>;
|
|
14
|
+
setTitle: string;
|
|
15
|
+
pauseAndDiscuss?: string | undefined;
|
|
16
|
+
sectionBodies?: Record<string, string> | undefined;
|
|
17
|
+
sectionHeaders?: Record<string, string> | undefined;
|
|
18
|
+
setDescription?: string | undefined;
|
|
19
|
+
setTag?: string | undefined;
|
|
20
|
+
}, {
|
|
21
|
+
setId: string;
|
|
22
|
+
lessonTitles: Record<string, string>;
|
|
23
|
+
setTitle: string;
|
|
24
|
+
pauseAndDiscuss?: string | undefined;
|
|
25
|
+
sectionBodies?: Record<string, string> | undefined;
|
|
26
|
+
sectionHeaders?: Record<string, string> | undefined;
|
|
27
|
+
setDescription?: string | undefined;
|
|
28
|
+
setTag?: string | undefined;
|
|
29
|
+
}>, "many">>;
|
|
12
30
|
export type TranslationsSet = z.infer<typeof TranslationsSet>;
|
|
@@ -3,22 +3,22 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
3
3
|
exports.TranslationsSet = void 0;
|
|
4
4
|
const zod_1 = require("zod");
|
|
5
5
|
exports.TranslationsSet = zod_1.z
|
|
6
|
-
.record(zod_1.z
|
|
6
|
+
.record(zod_1.z
|
|
7
7
|
.array(zod_1.z.object({
|
|
8
8
|
setId: zod_1.z.string().min(1).describe('Identifier of the set.'),
|
|
9
9
|
lessonTitles: zod_1.z
|
|
10
|
-
.record(zod_1.z.string()
|
|
10
|
+
.record(zod_1.z.string().min(1))
|
|
11
11
|
.describe('Mapping of lessonId to localized lesson title.'),
|
|
12
12
|
pauseAndDiscuss: zod_1.z
|
|
13
13
|
.string()
|
|
14
14
|
.describe("Localized text for 'Pause and Discuss' prompts. Used for lesson videos.")
|
|
15
15
|
.optional(),
|
|
16
16
|
sectionBodies: zod_1.z
|
|
17
|
-
.record(zod_1.z.string()
|
|
17
|
+
.record(zod_1.z.string().min(1))
|
|
18
18
|
.describe('Mapping of sectionId to localized section body text.')
|
|
19
19
|
.optional(),
|
|
20
20
|
sectionHeaders: zod_1.z
|
|
21
|
-
.record(zod_1.z.string()
|
|
21
|
+
.record(zod_1.z.string().min(1))
|
|
22
22
|
.describe('Mapping of sectionId to localized section header text.')
|
|
23
23
|
.optional(),
|
|
24
24
|
setDescription: zod_1.z
|
|
@@ -1,186 +1,187 @@
|
|
|
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,
|
|
4
9
|
"properties": {
|
|
5
10
|
"$schema": {
|
|
6
|
-
"type": "string"
|
|
11
|
+
"type": "string",
|
|
12
|
+
"description": "Path to the JSON schema file"
|
|
7
13
|
},
|
|
8
14
|
"data": {
|
|
9
|
-
"
|
|
10
|
-
"type": "object",
|
|
11
|
-
"propertyNames": {
|
|
12
|
-
"type": "string"
|
|
13
|
-
},
|
|
15
|
+
"title": "Solar Speakers Translations",
|
|
14
16
|
"additionalProperties": {
|
|
15
|
-
"type": "object",
|
|
16
17
|
"properties": {
|
|
17
18
|
"intro": {
|
|
18
|
-
"
|
|
19
|
-
"
|
|
19
|
+
"minLength": 1,
|
|
20
|
+
"type": "string"
|
|
20
21
|
},
|
|
21
22
|
"intro_foundations": {
|
|
22
|
-
"
|
|
23
|
-
"
|
|
23
|
+
"minLength": 1,
|
|
24
|
+
"type": "string"
|
|
24
25
|
},
|
|
25
26
|
"intro_topics": {
|
|
26
|
-
"
|
|
27
|
-
"
|
|
27
|
+
"minLength": 1,
|
|
28
|
+
"type": "string"
|
|
28
29
|
},
|
|
29
30
|
"lessons_001": {
|
|
30
|
-
"
|
|
31
|
-
"
|
|
31
|
+
"minLength": 1,
|
|
32
|
+
"type": "string"
|
|
32
33
|
},
|
|
33
34
|
"lessons_002": {
|
|
34
|
-
"
|
|
35
|
-
"
|
|
35
|
+
"minLength": 1,
|
|
36
|
+
"type": "string"
|
|
36
37
|
},
|
|
37
38
|
"lessons_003": {
|
|
38
|
-
"
|
|
39
|
-
"
|
|
39
|
+
"minLength": 1,
|
|
40
|
+
"type": "string"
|
|
40
41
|
},
|
|
41
42
|
"lessons_004": {
|
|
42
|
-
"
|
|
43
|
-
"
|
|
43
|
+
"minLength": 1,
|
|
44
|
+
"type": "string"
|
|
44
45
|
},
|
|
45
46
|
"lessons_005": {
|
|
46
|
-
"
|
|
47
|
-
"
|
|
47
|
+
"minLength": 1,
|
|
48
|
+
"type": "string"
|
|
48
49
|
},
|
|
49
50
|
"lessons_006": {
|
|
50
|
-
"
|
|
51
|
-
"
|
|
51
|
+
"minLength": 1,
|
|
52
|
+
"type": "string"
|
|
52
53
|
},
|
|
53
54
|
"lessons_007": {
|
|
54
|
-
"
|
|
55
|
-
"
|
|
55
|
+
"minLength": 1,
|
|
56
|
+
"type": "string"
|
|
56
57
|
},
|
|
57
58
|
"lessons_008": {
|
|
58
|
-
"
|
|
59
|
-
"
|
|
59
|
+
"minLength": 1,
|
|
60
|
+
"type": "string"
|
|
60
61
|
},
|
|
61
62
|
"lessons_009": {
|
|
62
|
-
"
|
|
63
|
-
"
|
|
63
|
+
"minLength": 1,
|
|
64
|
+
"type": "string"
|
|
64
65
|
},
|
|
65
66
|
"lessons_010": {
|
|
66
|
-
"
|
|
67
|
-
"
|
|
67
|
+
"minLength": 1,
|
|
68
|
+
"type": "string"
|
|
68
69
|
},
|
|
69
70
|
"lessons_011": {
|
|
70
|
-
"
|
|
71
|
-
"
|
|
71
|
+
"minLength": 1,
|
|
72
|
+
"type": "string"
|
|
72
73
|
},
|
|
73
74
|
"lessons_012": {
|
|
74
|
-
"
|
|
75
|
-
"
|
|
75
|
+
"minLength": 1,
|
|
76
|
+
"type": "string"
|
|
76
77
|
},
|
|
77
78
|
"lessons_013": {
|
|
78
|
-
"
|
|
79
|
-
"
|
|
79
|
+
"minLength": 1,
|
|
80
|
+
"type": "string"
|
|
80
81
|
},
|
|
81
82
|
"lessons_014": {
|
|
82
|
-
"
|
|
83
|
-
"
|
|
83
|
+
"minLength": 1,
|
|
84
|
+
"type": "string"
|
|
84
85
|
},
|
|
85
86
|
"lessons_015": {
|
|
86
|
-
"
|
|
87
|
-
"
|
|
87
|
+
"minLength": 1,
|
|
88
|
+
"type": "string"
|
|
88
89
|
},
|
|
89
90
|
"lessons_016": {
|
|
90
|
-
"
|
|
91
|
-
"
|
|
91
|
+
"minLength": 1,
|
|
92
|
+
"type": "string"
|
|
92
93
|
},
|
|
93
94
|
"lessons_017": {
|
|
94
|
-
"
|
|
95
|
-
"
|
|
95
|
+
"minLength": 1,
|
|
96
|
+
"type": "string"
|
|
96
97
|
},
|
|
97
98
|
"lessons_018": {
|
|
98
|
-
"
|
|
99
|
-
"
|
|
99
|
+
"minLength": 1,
|
|
100
|
+
"type": "string"
|
|
100
101
|
},
|
|
101
102
|
"lessons_019": {
|
|
102
|
-
"
|
|
103
|
-
"
|
|
103
|
+
"minLength": 1,
|
|
104
|
+
"type": "string"
|
|
104
105
|
},
|
|
105
106
|
"lessons_020": {
|
|
106
|
-
"
|
|
107
|
-
"
|
|
107
|
+
"minLength": 1,
|
|
108
|
+
"type": "string"
|
|
108
109
|
},
|
|
109
110
|
"lessons_021": {
|
|
110
|
-
"
|
|
111
|
-
"
|
|
111
|
+
"minLength": 1,
|
|
112
|
+
"type": "string"
|
|
112
113
|
},
|
|
113
114
|
"lessons_022": {
|
|
114
|
-
"
|
|
115
|
-
"
|
|
115
|
+
"minLength": 1,
|
|
116
|
+
"type": "string"
|
|
116
117
|
},
|
|
117
118
|
"lessons_023": {
|
|
118
|
-
"
|
|
119
|
-
"
|
|
119
|
+
"minLength": 1,
|
|
120
|
+
"type": "string"
|
|
120
121
|
},
|
|
121
122
|
"lessons_024": {
|
|
122
|
-
"
|
|
123
|
-
"
|
|
123
|
+
"minLength": 1,
|
|
124
|
+
"type": "string"
|
|
124
125
|
},
|
|
125
126
|
"lessons_025": {
|
|
126
|
-
"
|
|
127
|
-
"
|
|
127
|
+
"minLength": 1,
|
|
128
|
+
"type": "string"
|
|
128
129
|
},
|
|
129
130
|
"lessons_026": {
|
|
130
|
-
"
|
|
131
|
-
"
|
|
131
|
+
"minLength": 1,
|
|
132
|
+
"type": "string"
|
|
132
133
|
},
|
|
133
134
|
"lessons_027": {
|
|
134
|
-
"
|
|
135
|
-
"
|
|
135
|
+
"minLength": 1,
|
|
136
|
+
"type": "string"
|
|
136
137
|
},
|
|
137
138
|
"lessons_028": {
|
|
138
|
-
"
|
|
139
|
-
"
|
|
139
|
+
"minLength": 1,
|
|
140
|
+
"type": "string"
|
|
140
141
|
},
|
|
141
142
|
"lessons_029": {
|
|
142
|
-
"
|
|
143
|
-
"
|
|
143
|
+
"minLength": 1,
|
|
144
|
+
"type": "string"
|
|
144
145
|
},
|
|
145
146
|
"lessons_030": {
|
|
146
|
-
"
|
|
147
|
-
"
|
|
147
|
+
"minLength": 1,
|
|
148
|
+
"type": "string"
|
|
148
149
|
},
|
|
149
150
|
"lessons_031": {
|
|
150
|
-
"
|
|
151
|
-
"
|
|
151
|
+
"minLength": 1,
|
|
152
|
+
"type": "string"
|
|
152
153
|
},
|
|
153
154
|
"lessons_032": {
|
|
154
|
-
"
|
|
155
|
-
"
|
|
155
|
+
"minLength": 1,
|
|
156
|
+
"type": "string"
|
|
156
157
|
},
|
|
157
158
|
"lessons_033": {
|
|
158
|
-
"
|
|
159
|
-
"
|
|
159
|
+
"minLength": 1,
|
|
160
|
+
"type": "string"
|
|
160
161
|
},
|
|
161
162
|
"lessons_034": {
|
|
162
|
-
"
|
|
163
|
-
"
|
|
163
|
+
"minLength": 1,
|
|
164
|
+
"type": "string"
|
|
164
165
|
},
|
|
165
166
|
"lessons_035": {
|
|
166
|
-
"
|
|
167
|
-
"
|
|
167
|
+
"minLength": 1,
|
|
168
|
+
"type": "string"
|
|
168
169
|
},
|
|
169
170
|
"lessons_036": {
|
|
170
|
-
"
|
|
171
|
-
"
|
|
171
|
+
"minLength": 1,
|
|
172
|
+
"type": "string"
|
|
172
173
|
},
|
|
173
174
|
"lessons_037": {
|
|
174
|
-
"
|
|
175
|
-
"
|
|
175
|
+
"minLength": 1,
|
|
176
|
+
"type": "string"
|
|
176
177
|
},
|
|
177
178
|
"lessons_038": {
|
|
178
|
-
"
|
|
179
|
-
"
|
|
179
|
+
"minLength": 1,
|
|
180
|
+
"type": "string"
|
|
180
181
|
},
|
|
181
182
|
"lessons_039": {
|
|
182
|
-
"
|
|
183
|
-
"
|
|
183
|
+
"minLength": 1,
|
|
184
|
+
"type": "string"
|
|
184
185
|
}
|
|
185
186
|
},
|
|
186
187
|
"required": [
|
|
@@ -227,12 +228,13 @@
|
|
|
227
228
|
"lessons_038",
|
|
228
229
|
"lessons_039"
|
|
229
230
|
],
|
|
230
|
-
"
|
|
231
|
-
}
|
|
231
|
+
"type": "object"
|
|
232
|
+
},
|
|
233
|
+
"propertyNames": {
|
|
234
|
+
"description": "Language id (3 lowercase letters).",
|
|
235
|
+
"pattern": "^[a-z]{3}$"
|
|
236
|
+
},
|
|
237
|
+
"type": "object"
|
|
232
238
|
}
|
|
233
|
-
}
|
|
234
|
-
"required": [
|
|
235
|
-
"$schema",
|
|
236
|
-
"data"
|
|
237
|
-
]
|
|
239
|
+
}
|
|
238
240
|
}
|
|
@@ -42,5 +42,91 @@ export declare const TranslationsSolarSpeaker: z.ZodRecord<z.ZodString, z.ZodObj
|
|
|
42
42
|
lessons_037: z.ZodString;
|
|
43
43
|
lessons_038: z.ZodString;
|
|
44
44
|
lessons_039: z.ZodString;
|
|
45
|
-
}, z.
|
|
45
|
+
}, "strip", z.ZodTypeAny, {
|
|
46
|
+
intro: string;
|
|
47
|
+
intro_foundations: string;
|
|
48
|
+
intro_topics: string;
|
|
49
|
+
lessons_001: string;
|
|
50
|
+
lessons_002: string;
|
|
51
|
+
lessons_003: string;
|
|
52
|
+
lessons_004: string;
|
|
53
|
+
lessons_005: string;
|
|
54
|
+
lessons_006: string;
|
|
55
|
+
lessons_007: string;
|
|
56
|
+
lessons_008: string;
|
|
57
|
+
lessons_009: string;
|
|
58
|
+
lessons_010: string;
|
|
59
|
+
lessons_011: string;
|
|
60
|
+
lessons_012: string;
|
|
61
|
+
lessons_013: string;
|
|
62
|
+
lessons_014: string;
|
|
63
|
+
lessons_015: string;
|
|
64
|
+
lessons_016: string;
|
|
65
|
+
lessons_017: string;
|
|
66
|
+
lessons_018: string;
|
|
67
|
+
lessons_019: string;
|
|
68
|
+
lessons_020: string;
|
|
69
|
+
lessons_021: string;
|
|
70
|
+
lessons_022: string;
|
|
71
|
+
lessons_023: string;
|
|
72
|
+
lessons_024: string;
|
|
73
|
+
lessons_025: string;
|
|
74
|
+
lessons_026: string;
|
|
75
|
+
lessons_027: string;
|
|
76
|
+
lessons_028: string;
|
|
77
|
+
lessons_029: string;
|
|
78
|
+
lessons_030: string;
|
|
79
|
+
lessons_031: string;
|
|
80
|
+
lessons_032: string;
|
|
81
|
+
lessons_033: string;
|
|
82
|
+
lessons_034: string;
|
|
83
|
+
lessons_035: string;
|
|
84
|
+
lessons_036: string;
|
|
85
|
+
lessons_037: string;
|
|
86
|
+
lessons_038: string;
|
|
87
|
+
lessons_039: string;
|
|
88
|
+
}, {
|
|
89
|
+
intro: string;
|
|
90
|
+
intro_foundations: string;
|
|
91
|
+
intro_topics: string;
|
|
92
|
+
lessons_001: string;
|
|
93
|
+
lessons_002: string;
|
|
94
|
+
lessons_003: string;
|
|
95
|
+
lessons_004: string;
|
|
96
|
+
lessons_005: string;
|
|
97
|
+
lessons_006: string;
|
|
98
|
+
lessons_007: string;
|
|
99
|
+
lessons_008: string;
|
|
100
|
+
lessons_009: string;
|
|
101
|
+
lessons_010: string;
|
|
102
|
+
lessons_011: string;
|
|
103
|
+
lessons_012: string;
|
|
104
|
+
lessons_013: string;
|
|
105
|
+
lessons_014: string;
|
|
106
|
+
lessons_015: string;
|
|
107
|
+
lessons_016: string;
|
|
108
|
+
lessons_017: string;
|
|
109
|
+
lessons_018: string;
|
|
110
|
+
lessons_019: string;
|
|
111
|
+
lessons_020: string;
|
|
112
|
+
lessons_021: string;
|
|
113
|
+
lessons_022: string;
|
|
114
|
+
lessons_023: string;
|
|
115
|
+
lessons_024: string;
|
|
116
|
+
lessons_025: string;
|
|
117
|
+
lessons_026: string;
|
|
118
|
+
lessons_027: string;
|
|
119
|
+
lessons_028: string;
|
|
120
|
+
lessons_029: string;
|
|
121
|
+
lessons_030: string;
|
|
122
|
+
lessons_031: string;
|
|
123
|
+
lessons_032: string;
|
|
124
|
+
lessons_033: string;
|
|
125
|
+
lessons_034: string;
|
|
126
|
+
lessons_035: string;
|
|
127
|
+
lessons_036: string;
|
|
128
|
+
lessons_037: string;
|
|
129
|
+
lessons_038: string;
|
|
130
|
+
lessons_039: string;
|
|
131
|
+
}>>;
|
|
46
132
|
export type TranslationsSolarSpeaker = z.infer<typeof TranslationsSolarSpeaker>;
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.TranslationsSolarSpeaker = void 0;
|
|
4
4
|
const zod_1 = require("zod");
|
|
5
|
-
exports.TranslationsSolarSpeaker = zod_1.z.record(zod_1.z.
|
|
5
|
+
exports.TranslationsSolarSpeaker = zod_1.z.record(zod_1.z.object({
|
|
6
6
|
intro: zod_1.z.string().min(1),
|
|
7
7
|
intro_foundations: zod_1.z.string().min(1),
|
|
8
8
|
intro_topics: zod_1.z.string().min(1),
|