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.
- package/dist/data/areas/areas.schema.json +19 -53
- package/dist/data/areas/areas.zod.d.ts +15 -12
- package/dist/data/aslTimestamps/aslTimestamps.schema.json +18 -11
- package/dist/data/aslTimestamps/aslTimestamps.zod.d.ts +4 -34
- package/dist/data/bibleAudios/bibleAudios.schema.json +14 -11
- package/dist/data/bibleAudios/bibleAudios.zod.d.ts +11 -15
- package/dist/data/bibleAudios/bibleAudios.zod.js +5 -4
- package/dist/data/bibleAudios/index.d.ts +5 -2
- package/dist/data/bibleBooks/bibleBooks.schema.json +71 -50
- package/dist/data/bibleBooks/bibleBooks.zod.d.ts +5 -51
- package/dist/data/bibleBooks/index.d.ts +2 -2
- package/dist/data/bibleChaptersList/bibleChaptersList.schema.json +5 -2
- package/dist/data/bibleChaptersList/bibleChaptersList.zod.d.ts +1 -1
- package/dist/data/bibleStatuses/bibleStatuses.json +2 -110
- package/dist/data/bibleStatuses/bibleStatuses.schema.json +46 -40
- package/dist/data/bibleStatuses/bibleStatuses.zod.d.ts +5 -25
- package/dist/data/bibleStatuses/bibleStatuses.zod.js +2 -27
- package/dist/data/bibleTexts/bibleTexts.schema.json +40 -24
- package/dist/data/bibleTexts/bibleTexts.zod.d.ts +11 -39
- package/dist/data/bibleTexts/index.d.ts +3 -3
- package/dist/data/clones/clones.schema.json +27 -26
- package/dist/data/clones/clones.zod.d.ts +2 -24
- 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 +91 -90
- package/dist/data/countries/countries.zod.d.ts +19 -88
- package/dist/data/countries/countries.zod.js +49 -138
- package/dist/data/countriesAndLanguages/countriesAndLanguages.schema.json +19 -8
- package/dist/data/countriesAndLanguages/countriesAndLanguages.zod.d.ts +2 -28
- package/dist/data/countriesAndLanguages/index.d.ts +2 -2
- package/dist/data/crowdinLanguages/crowdinLanguages.schema.json +13 -4
- package/dist/data/crowdinLanguages/crowdinLanguages.zod.d.ts +1 -13
- package/dist/data/crowdinLanguages/index.d.ts +1 -1
- package/dist/data/curriculumFoundations/curriculumFoundations.schema.json +16 -8
- package/dist/data/curriculumFoundations/curriculumFoundations.zod.d.ts +2 -10
- package/dist/data/curriculumQuestions/curriculumQuestions.schema.json +24 -13
- package/dist/data/curriculumQuestions/curriculumQuestions.zod.d.ts +3 -23
- package/dist/data/curriculumTopics/curriculumTopics.schema.json +16 -8
- package/dist/data/curriculumTopics/curriculumTopics.zod.d.ts +2 -10
- package/dist/data/iosVoiceOverLanguages/iosVoiceOverLanguages.schema.json +5 -2
- package/dist/data/iosVoiceOverLanguages/iosVoiceOverLanguages.zod.d.ts +1 -1
- package/dist/data/iso6933LanguageCodes/iso6933LanguageCodes.schema.json +8 -2
- package/dist/data/iso6933LanguageCodes/iso6933LanguageCodes.zod.js +1 -1
- package/dist/data/languageAssets/languageAssets.json +0 -37702
- package/dist/data/languageAssets/languageAssets.schema.json +15 -12
- package/dist/data/languageAssets/languageAssets.zod.d.ts +1 -1
- package/dist/data/languageAssets/languageAssets.zod.js +3 -43
- package/dist/data/languages/index.d.ts +8 -4
- package/dist/data/languages/languages.json +1 -1
- package/dist/data/languages/languages.schema.json +136 -89
- package/dist/data/languages/languages.zod.d.ts +194 -116
- package/dist/data/languages/languages.zod.js +7 -1
- package/dist/data/mediaDurations/mediaDurations.schema.json +21 -14
- package/dist/data/mediaDurations/mediaDurations.zod.d.ts +1 -1
- package/dist/data/mediaDurations/mediaDurations.zod.js +3 -41
- package/dist/data/notification/notification.schema.json +67 -57
- package/dist/data/notification/notification.zod.d.ts +15 -39
- package/dist/data/notification/notification.zod.js +4 -134
- package/dist/data/numeralMaps/numeralMaps.schema.json +62 -62
- package/dist/data/numeralMaps/numeralMaps.zod.d.ts +2 -46
- package/dist/data/numeralMaps/numeralMaps.zod.js +14 -64
- package/dist/data/phoneLanguages/index.d.ts +1 -1
- package/dist/data/phoneLanguages/phoneLanguages.schema.json +18 -8
- package/dist/data/phoneLanguages/phoneLanguages.zod.d.ts +2 -22
- 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 +6 -14
- package/dist/data/releaseNotes/index.d.ts +1 -1
- package/dist/data/releaseNotes/releaseNotes.schema.json +23 -11
- package/dist/data/releaseNotes/releaseNotes.zod.d.ts +1 -9
- package/dist/data/releaseNotes/releaseNotes.zod.js +1 -1
- package/dist/data/screenshots/screenshots.schema.json +12 -6
- package/dist/data/screenshots/screenshots.zod.d.ts +1 -5
- package/dist/data/scripts/scripts.schema.json +11 -4
- package/dist/data/scripts/scripts.zod.d.ts +1 -7
- package/dist/data/sets/index.d.ts +2 -2
- package/dist/data/sets/sets.schema.json +25 -22
- package/dist/data/sets/sets.zod.d.ts +61 -39
- package/dist/data/specialIds/specialIds.schema.json +5 -1
- package/dist/data/specialIds/specialIds.zod.d.ts +11 -41
- package/dist/data/translationsApp/index.d.ts +9 -9
- package/dist/data/translationsApp/translationsApp.json +0 -1
- package/dist/data/translationsApp/translationsApp.schema.json +667 -668
- package/dist/data/translationsApp/translationsApp.zod.d.ts +1 -631
- package/dist/data/translationsApp/translationsApp.zod.js +2 -2
- package/dist/data/translationsFtb/translationsFtb.json +0 -884
- package/dist/data/translationsFtb/translationsFtb.schema.json +147 -149
- package/dist/data/translationsFtb/translationsFtb.zod.d.ts +1 -135
- package/dist/data/translationsFtb/translationsFtb.zod.js +1 -1
- package/dist/data/translationsIntroduction/translationsIntroduction.schema.json +15 -18
- package/dist/data/translationsIntroduction/translationsIntroduction.zod.d.ts +2 -160
- package/dist/data/translationsIntroduction/translationsIntroduction.zod.js +1 -1
- package/dist/data/translationsQuestion/translationsQuestion.json +0 -480
- package/dist/data/translationsQuestion/translationsQuestion.schema.json +9 -14
- package/dist/data/translationsQuestion/translationsQuestion.zod.js +1 -1
- package/dist/data/translationsSet/translationsSet.json +11234 -20793
- package/dist/data/translationsSet/translationsSet.schema.json +52 -56
- package/dist/data/translationsSet/translationsSet.zod.d.ts +1 -19
- package/dist/data/translationsSet/translationsSet.zod.js +4 -4
- package/dist/data/translationsSolarSpeaker/translationsSolarSpeaker.schema.json +98 -100
- package/dist/data/translationsSolarSpeaker/translationsSolarSpeaker.zod.d.ts +1 -87
- package/dist/data/translationsSolarSpeaker/translationsSolarSpeaker.zod.js +1 -1
- package/dist/data/translationsSpokenQuestion/translationsSpokenQuestion.json +0 -480
- package/dist/data/translationsSpokenQuestion/translationsSpokenQuestion.schema.json +18 -23
- package/dist/data/translationsSpokenQuestion/translationsSpokenQuestion.zod.js +1 -1
- package/dist/data/youtubePlaylists/youtubePlaylists.schema.json +9 -2
- package/dist/data/youtubePlaylists/youtubePlaylists.zod.js +1 -1
- package/dist/data/youtubeVideos/youtubeVideos.schema.json +9 -2
- package/dist/data/youtubeVideos/youtubeVideos.zod.js +1 -1
- package/dist/types/analytics.d.ts +14 -1
- package/dist/types/articles.d.ts +93 -343
- package/dist/types/bibleChapters.d.ts +13 -91
- package/dist/types/bibleChapters.js +1 -1
- package/dist/types/feedback.d.ts +3 -41
- package/dist/types/feedback.js +1 -1
- package/dist/types/microLessons.d.ts +69 -868
- package/dist/types/notifications.d.ts +19 -119
- package/dist/types/scripturePassages.d.ts +4 -34
- package/dist/types/users.d.ts +221 -776
- package/dist/types/users.js +2 -1
- package/dist/types/webContent.d.ts +8 -20
- package/package.json +3 -3
|
@@ -5,17 +5,5 @@ export declare const CrowdinLanguages: z.ZodArray<z.ZodObject<{
|
|
|
5
5
|
iso: z.ZodString;
|
|
6
6
|
locale: z.ZodString;
|
|
7
7
|
duplicate_iso: z.ZodBoolean;
|
|
8
|
-
},
|
|
9
|
-
name: string;
|
|
10
|
-
crowdin_id: string;
|
|
11
|
-
iso: string;
|
|
12
|
-
locale: string;
|
|
13
|
-
duplicate_iso: boolean;
|
|
14
|
-
}, {
|
|
15
|
-
name: string;
|
|
16
|
-
crowdin_id: string;
|
|
17
|
-
iso: string;
|
|
18
|
-
locale: string;
|
|
19
|
-
duplicate_iso: boolean;
|
|
20
|
-
}>, "many">;
|
|
8
|
+
}, z.core.$strict>>;
|
|
21
9
|
export type CrowdinLanguages = z.infer<typeof CrowdinLanguages>;
|
|
@@ -6,8 +6,10 @@
|
|
|
6
6
|
"type": "string"
|
|
7
7
|
},
|
|
8
8
|
"data": {
|
|
9
|
+
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
10
|
+
"type": "array",
|
|
9
11
|
"items": {
|
|
10
|
-
"
|
|
12
|
+
"type": "object",
|
|
11
13
|
"properties": {
|
|
12
14
|
"curriculumId": {
|
|
13
15
|
"type": "string"
|
|
@@ -16,18 +18,24 @@
|
|
|
16
18
|
"type": "string"
|
|
17
19
|
},
|
|
18
20
|
"sets": {
|
|
19
|
-
"
|
|
21
|
+
"type": "array",
|
|
20
22
|
"items": {
|
|
21
23
|
"type": "string"
|
|
22
24
|
},
|
|
23
|
-
"
|
|
25
|
+
"description": "An array of set ids that make up this foundations curriculum. Set ids must be linked to valid sets present in data/sets.json."
|
|
24
26
|
}
|
|
25
27
|
},
|
|
26
|
-
"required": [
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
28
|
+
"required": [
|
|
29
|
+
"curriculumId",
|
|
30
|
+
"crowdinProjectId",
|
|
31
|
+
"sets"
|
|
32
|
+
],
|
|
33
|
+
"additionalProperties": false
|
|
34
|
+
}
|
|
30
35
|
}
|
|
31
36
|
},
|
|
32
|
-
"required": [
|
|
37
|
+
"required": [
|
|
38
|
+
"$schema",
|
|
39
|
+
"data"
|
|
40
|
+
]
|
|
33
41
|
}
|
|
@@ -2,14 +2,6 @@ import { z } from 'zod';
|
|
|
2
2
|
export declare const CurriculumFoundations: z.ZodArray<z.ZodObject<{
|
|
3
3
|
curriculumId: z.ZodString;
|
|
4
4
|
crowdinProjectId: z.ZodString;
|
|
5
|
-
sets: z.ZodArray<z.ZodString
|
|
6
|
-
},
|
|
7
|
-
curriculumId: string;
|
|
8
|
-
crowdinProjectId: string;
|
|
9
|
-
sets: string[];
|
|
10
|
-
}, {
|
|
11
|
-
curriculumId: string;
|
|
12
|
-
crowdinProjectId: string;
|
|
13
|
-
sets: string[];
|
|
14
|
-
}>, "many">;
|
|
5
|
+
sets: z.ZodArray<z.ZodString>;
|
|
6
|
+
}, z.core.$strict>>;
|
|
15
7
|
export type CurriculumFoundations = z.infer<typeof CurriculumFoundations>;
|
|
@@ -6,8 +6,10 @@
|
|
|
6
6
|
"type": "string"
|
|
7
7
|
},
|
|
8
8
|
"data": {
|
|
9
|
+
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
10
|
+
"type": "array",
|
|
9
11
|
"items": {
|
|
10
|
-
"
|
|
12
|
+
"type": "object",
|
|
11
13
|
"properties": {
|
|
12
14
|
"curriculumId": {
|
|
13
15
|
"type": "string"
|
|
@@ -16,32 +18,41 @@
|
|
|
16
18
|
"type": "string"
|
|
17
19
|
},
|
|
18
20
|
"questionSets": {
|
|
19
|
-
"
|
|
21
|
+
"type": "array",
|
|
20
22
|
"items": {
|
|
21
|
-
"
|
|
23
|
+
"type": "object",
|
|
22
24
|
"properties": {
|
|
23
25
|
"questionSetId": {
|
|
24
26
|
"type": "string"
|
|
25
27
|
},
|
|
26
28
|
"questions": {
|
|
27
|
-
"
|
|
29
|
+
"type": "array",
|
|
28
30
|
"items": {
|
|
29
31
|
"type": "string"
|
|
30
32
|
},
|
|
31
|
-
"
|
|
33
|
+
"description": "An array of question ids that make up this question set."
|
|
32
34
|
}
|
|
33
35
|
},
|
|
34
|
-
"required": [
|
|
35
|
-
|
|
36
|
+
"required": [
|
|
37
|
+
"questionSetId",
|
|
38
|
+
"questions"
|
|
39
|
+
],
|
|
40
|
+
"additionalProperties": false
|
|
36
41
|
},
|
|
37
|
-
"
|
|
42
|
+
"description": "An array of question sets that make up this questions curriculum."
|
|
38
43
|
}
|
|
39
44
|
},
|
|
40
|
-
"required": [
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
45
|
+
"required": [
|
|
46
|
+
"curriculumId",
|
|
47
|
+
"crowdinProjectId",
|
|
48
|
+
"questionSets"
|
|
49
|
+
],
|
|
50
|
+
"additionalProperties": false
|
|
51
|
+
}
|
|
44
52
|
}
|
|
45
53
|
},
|
|
46
|
-
"required": [
|
|
54
|
+
"required": [
|
|
55
|
+
"$schema",
|
|
56
|
+
"data"
|
|
57
|
+
]
|
|
47
58
|
}
|
|
@@ -4,27 +4,7 @@ export declare const CurriculumQuestions: z.ZodArray<z.ZodObject<{
|
|
|
4
4
|
crowdinProjectId: z.ZodString;
|
|
5
5
|
questionSets: z.ZodArray<z.ZodObject<{
|
|
6
6
|
questionSetId: z.ZodString;
|
|
7
|
-
questions: z.ZodArray<z.ZodString
|
|
8
|
-
},
|
|
9
|
-
|
|
10
|
-
questions: string[];
|
|
11
|
-
}, {
|
|
12
|
-
questionSetId: string;
|
|
13
|
-
questions: string[];
|
|
14
|
-
}>, "many">;
|
|
15
|
-
}, "strict", z.ZodTypeAny, {
|
|
16
|
-
curriculumId: string;
|
|
17
|
-
crowdinProjectId: string;
|
|
18
|
-
questionSets: {
|
|
19
|
-
questionSetId: string;
|
|
20
|
-
questions: string[];
|
|
21
|
-
}[];
|
|
22
|
-
}, {
|
|
23
|
-
curriculumId: string;
|
|
24
|
-
crowdinProjectId: string;
|
|
25
|
-
questionSets: {
|
|
26
|
-
questionSetId: string;
|
|
27
|
-
questions: string[];
|
|
28
|
-
}[];
|
|
29
|
-
}>, "many">;
|
|
7
|
+
questions: z.ZodArray<z.ZodString>;
|
|
8
|
+
}, z.core.$strict>>;
|
|
9
|
+
}, z.core.$strict>>;
|
|
30
10
|
export type CurriculumQuestions = z.infer<typeof CurriculumQuestions>;
|
|
@@ -6,8 +6,10 @@
|
|
|
6
6
|
"type": "string"
|
|
7
7
|
},
|
|
8
8
|
"data": {
|
|
9
|
+
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
10
|
+
"type": "array",
|
|
9
11
|
"items": {
|
|
10
|
-
"
|
|
12
|
+
"type": "object",
|
|
11
13
|
"properties": {
|
|
12
14
|
"curriculumId": {
|
|
13
15
|
"type": "string"
|
|
@@ -16,18 +18,24 @@
|
|
|
16
18
|
"type": "string"
|
|
17
19
|
},
|
|
18
20
|
"sets": {
|
|
19
|
-
"
|
|
21
|
+
"type": "array",
|
|
20
22
|
"items": {
|
|
21
23
|
"type": "string"
|
|
22
24
|
},
|
|
23
|
-
"
|
|
25
|
+
"description": "An array of set ids that make up this topics curriculum. Set ids must be linked to valid sets present in data/sets.json."
|
|
24
26
|
}
|
|
25
27
|
},
|
|
26
|
-
"required": [
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
28
|
+
"required": [
|
|
29
|
+
"curriculumId",
|
|
30
|
+
"crowdinProjectId",
|
|
31
|
+
"sets"
|
|
32
|
+
],
|
|
33
|
+
"additionalProperties": false
|
|
34
|
+
}
|
|
30
35
|
}
|
|
31
36
|
},
|
|
32
|
-
"required": [
|
|
37
|
+
"required": [
|
|
38
|
+
"$schema",
|
|
39
|
+
"data"
|
|
40
|
+
]
|
|
33
41
|
}
|
|
@@ -2,14 +2,6 @@ import { z } from 'zod';
|
|
|
2
2
|
export declare const CurriculumTopics: z.ZodArray<z.ZodObject<{
|
|
3
3
|
curriculumId: z.ZodString;
|
|
4
4
|
crowdinProjectId: z.ZodString;
|
|
5
|
-
sets: z.ZodArray<z.ZodString
|
|
6
|
-
},
|
|
7
|
-
curriculumId: string;
|
|
8
|
-
crowdinProjectId: string;
|
|
9
|
-
sets: string[];
|
|
10
|
-
}, {
|
|
11
|
-
curriculumId: string;
|
|
12
|
-
crowdinProjectId: string;
|
|
13
|
-
sets: string[];
|
|
14
|
-
}>, "many">;
|
|
5
|
+
sets: z.ZodArray<z.ZodString>;
|
|
6
|
+
}, z.core.$strict>>;
|
|
15
7
|
export type CurriculumTopics = z.infer<typeof CurriculumTopics>;
|
|
@@ -6,6 +6,7 @@
|
|
|
6
6
|
"type": "string"
|
|
7
7
|
},
|
|
8
8
|
"data": {
|
|
9
|
+
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
9
10
|
"type": "array",
|
|
10
11
|
"items": {
|
|
11
12
|
"type": "string",
|
|
@@ -14,6 +15,8 @@
|
|
|
14
15
|
"description": "List of language names that iOS VoiceOver supports"
|
|
15
16
|
}
|
|
16
17
|
},
|
|
17
|
-
"required": [
|
|
18
|
-
|
|
18
|
+
"required": [
|
|
19
|
+
"$schema",
|
|
20
|
+
"data"
|
|
21
|
+
]
|
|
19
22
|
}
|
|
@@ -6,7 +6,11 @@
|
|
|
6
6
|
"type": "string"
|
|
7
7
|
},
|
|
8
8
|
"data": {
|
|
9
|
+
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
9
10
|
"type": "object",
|
|
11
|
+
"propertyNames": {
|
|
12
|
+
"type": "string"
|
|
13
|
+
},
|
|
10
14
|
"additionalProperties": {
|
|
11
15
|
"type": "string",
|
|
12
16
|
"description": "Language name in English"
|
|
@@ -14,6 +18,8 @@
|
|
|
14
18
|
"description": "Mapping of ISO 639-3 language codes to language names"
|
|
15
19
|
}
|
|
16
20
|
},
|
|
17
|
-
"required": [
|
|
18
|
-
|
|
21
|
+
"required": [
|
|
22
|
+
"$schema",
|
|
23
|
+
"data"
|
|
24
|
+
]
|
|
19
25
|
}
|
|
@@ -3,5 +3,5 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
3
3
|
exports.Iso6933LanguageCodes = void 0;
|
|
4
4
|
const zod_1 = require("zod");
|
|
5
5
|
exports.Iso6933LanguageCodes = zod_1.z
|
|
6
|
-
.record(zod_1.z.string().describe('Language name in English'))
|
|
6
|
+
.record(zod_1.z.string(), zod_1.z.string().describe('Language name in English'))
|
|
7
7
|
.describe('Mapping of ISO 639-3 language codes to language names');
|