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
|
@@ -6,10 +6,10 @@
|
|
|
6
6
|
"type": "string"
|
|
7
7
|
},
|
|
8
8
|
"data": {
|
|
9
|
-
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
10
9
|
"type": "array",
|
|
11
10
|
"items": {
|
|
12
11
|
"type": "object",
|
|
12
|
+
"additionalProperties": false,
|
|
13
13
|
"properties": {
|
|
14
14
|
"crowdin_id": {
|
|
15
15
|
"type": "string",
|
|
@@ -32,19 +32,10 @@
|
|
|
32
32
|
"description": "Whether this ISO code is duplicated across multiple Crowdin languages"
|
|
33
33
|
}
|
|
34
34
|
},
|
|
35
|
-
"required": [
|
|
36
|
-
"crowdin_id",
|
|
37
|
-
"name",
|
|
38
|
-
"iso",
|
|
39
|
-
"locale",
|
|
40
|
-
"duplicate_iso"
|
|
41
|
-
],
|
|
42
|
-
"additionalProperties": false
|
|
35
|
+
"required": ["crowdin_id", "name", "iso", "locale", "duplicate_iso"]
|
|
43
36
|
}
|
|
44
37
|
}
|
|
45
38
|
},
|
|
46
|
-
"required": [
|
|
47
|
-
|
|
48
|
-
"data"
|
|
49
|
-
]
|
|
39
|
+
"required": ["data"],
|
|
40
|
+
"description": "Mapping of Crowdin language identifiers to ISO codes and locales"
|
|
50
41
|
}
|
|
@@ -5,5 +5,17 @@ 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
|
-
}, z.
|
|
8
|
+
}, "strict", z.ZodTypeAny, {
|
|
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">;
|
|
9
21
|
export type CrowdinLanguages = z.infer<typeof CrowdinLanguages>;
|
|
@@ -6,10 +6,8 @@
|
|
|
6
6
|
"type": "string"
|
|
7
7
|
},
|
|
8
8
|
"data": {
|
|
9
|
-
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
10
|
-
"type": "array",
|
|
11
9
|
"items": {
|
|
12
|
-
"
|
|
10
|
+
"additionalProperties": false,
|
|
13
11
|
"properties": {
|
|
14
12
|
"curriculumId": {
|
|
15
13
|
"type": "string"
|
|
@@ -18,24 +16,18 @@
|
|
|
18
16
|
"type": "string"
|
|
19
17
|
},
|
|
20
18
|
"sets": {
|
|
21
|
-
"
|
|
19
|
+
"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.",
|
|
22
20
|
"items": {
|
|
23
21
|
"type": "string"
|
|
24
22
|
},
|
|
25
|
-
"
|
|
23
|
+
"type": "array"
|
|
26
24
|
}
|
|
27
25
|
},
|
|
28
|
-
"required": [
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
],
|
|
33
|
-
"additionalProperties": false
|
|
34
|
-
}
|
|
26
|
+
"required": ["curriculumId", "crowdinProjectId", "sets"],
|
|
27
|
+
"type": "object"
|
|
28
|
+
},
|
|
29
|
+
"type": "array"
|
|
35
30
|
}
|
|
36
31
|
},
|
|
37
|
-
"required": [
|
|
38
|
-
"$schema",
|
|
39
|
-
"data"
|
|
40
|
-
]
|
|
32
|
+
"required": ["$schema", "data"]
|
|
41
33
|
}
|
|
@@ -2,6 +2,14 @@ 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
|
-
}, z.
|
|
5
|
+
sets: z.ZodArray<z.ZodString, "many">;
|
|
6
|
+
}, "strict", z.ZodTypeAny, {
|
|
7
|
+
curriculumId: string;
|
|
8
|
+
crowdinProjectId: string;
|
|
9
|
+
sets: string[];
|
|
10
|
+
}, {
|
|
11
|
+
curriculumId: string;
|
|
12
|
+
crowdinProjectId: string;
|
|
13
|
+
sets: string[];
|
|
14
|
+
}>, "many">;
|
|
7
15
|
export type CurriculumFoundations = z.infer<typeof CurriculumFoundations>;
|
|
@@ -6,10 +6,8 @@
|
|
|
6
6
|
"type": "string"
|
|
7
7
|
},
|
|
8
8
|
"data": {
|
|
9
|
-
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
10
|
-
"type": "array",
|
|
11
9
|
"items": {
|
|
12
|
-
"
|
|
10
|
+
"additionalProperties": false,
|
|
13
11
|
"properties": {
|
|
14
12
|
"curriculumId": {
|
|
15
13
|
"type": "string"
|
|
@@ -18,41 +16,32 @@
|
|
|
18
16
|
"type": "string"
|
|
19
17
|
},
|
|
20
18
|
"questionSets": {
|
|
21
|
-
"
|
|
19
|
+
"description": "An array of question sets that make up this questions curriculum.",
|
|
22
20
|
"items": {
|
|
23
|
-
"
|
|
21
|
+
"additionalProperties": false,
|
|
24
22
|
"properties": {
|
|
25
23
|
"questionSetId": {
|
|
26
24
|
"type": "string"
|
|
27
25
|
},
|
|
28
26
|
"questions": {
|
|
29
|
-
"
|
|
27
|
+
"description": "An array of question ids that make up this question set.",
|
|
30
28
|
"items": {
|
|
31
29
|
"type": "string"
|
|
32
30
|
},
|
|
33
|
-
"
|
|
31
|
+
"type": "array"
|
|
34
32
|
}
|
|
35
33
|
},
|
|
36
|
-
"required": [
|
|
37
|
-
|
|
38
|
-
"questions"
|
|
39
|
-
],
|
|
40
|
-
"additionalProperties": false
|
|
34
|
+
"required": ["questionSetId", "questions"],
|
|
35
|
+
"type": "object"
|
|
41
36
|
},
|
|
42
|
-
"
|
|
37
|
+
"type": "array"
|
|
43
38
|
}
|
|
44
39
|
},
|
|
45
|
-
"required": [
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
],
|
|
50
|
-
"additionalProperties": false
|
|
51
|
-
}
|
|
40
|
+
"required": ["curriculumId", "crowdinProjectId", "questionSets"],
|
|
41
|
+
"type": "object"
|
|
42
|
+
},
|
|
43
|
+
"type": "array"
|
|
52
44
|
}
|
|
53
45
|
},
|
|
54
|
-
"required": [
|
|
55
|
-
"$schema",
|
|
56
|
-
"data"
|
|
57
|
-
]
|
|
46
|
+
"required": ["$schema", "data"]
|
|
58
47
|
}
|
|
@@ -4,7 +4,27 @@ 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
|
-
}, z.
|
|
9
|
-
|
|
7
|
+
questions: z.ZodArray<z.ZodString, "many">;
|
|
8
|
+
}, "strict", z.ZodTypeAny, {
|
|
9
|
+
questionSetId: string;
|
|
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">;
|
|
10
30
|
export type CurriculumQuestions = z.infer<typeof CurriculumQuestions>;
|
|
@@ -6,10 +6,8 @@
|
|
|
6
6
|
"type": "string"
|
|
7
7
|
},
|
|
8
8
|
"data": {
|
|
9
|
-
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
10
|
-
"type": "array",
|
|
11
9
|
"items": {
|
|
12
|
-
"
|
|
10
|
+
"additionalProperties": false,
|
|
13
11
|
"properties": {
|
|
14
12
|
"curriculumId": {
|
|
15
13
|
"type": "string"
|
|
@@ -18,24 +16,18 @@
|
|
|
18
16
|
"type": "string"
|
|
19
17
|
},
|
|
20
18
|
"sets": {
|
|
21
|
-
"
|
|
19
|
+
"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.",
|
|
22
20
|
"items": {
|
|
23
21
|
"type": "string"
|
|
24
22
|
},
|
|
25
|
-
"
|
|
23
|
+
"type": "array"
|
|
26
24
|
}
|
|
27
25
|
},
|
|
28
|
-
"required": [
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
],
|
|
33
|
-
"additionalProperties": false
|
|
34
|
-
}
|
|
26
|
+
"required": ["curriculumId", "crowdinProjectId", "sets"],
|
|
27
|
+
"type": "object"
|
|
28
|
+
},
|
|
29
|
+
"type": "array"
|
|
35
30
|
}
|
|
36
31
|
},
|
|
37
|
-
"required": [
|
|
38
|
-
"$schema",
|
|
39
|
-
"data"
|
|
40
|
-
]
|
|
32
|
+
"required": ["$schema", "data"]
|
|
41
33
|
}
|
|
@@ -2,6 +2,14 @@ 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
|
-
}, z.
|
|
5
|
+
sets: z.ZodArray<z.ZodString, "many">;
|
|
6
|
+
}, "strict", z.ZodTypeAny, {
|
|
7
|
+
curriculumId: string;
|
|
8
|
+
crowdinProjectId: string;
|
|
9
|
+
sets: string[];
|
|
10
|
+
}, {
|
|
11
|
+
curriculumId: string;
|
|
12
|
+
crowdinProjectId: string;
|
|
13
|
+
sets: string[];
|
|
14
|
+
}>, "many">;
|
|
7
15
|
export type CurriculumTopics = z.infer<typeof CurriculumTopics>;
|
|
@@ -6,7 +6,6 @@
|
|
|
6
6
|
"type": "string"
|
|
7
7
|
},
|
|
8
8
|
"data": {
|
|
9
|
-
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
10
9
|
"type": "array",
|
|
11
10
|
"items": {
|
|
12
11
|
"type": "string",
|
|
@@ -15,8 +14,6 @@
|
|
|
15
14
|
"description": "List of language names that iOS VoiceOver supports"
|
|
16
15
|
}
|
|
17
16
|
},
|
|
18
|
-
"required": [
|
|
19
|
-
|
|
20
|
-
"data"
|
|
21
|
-
]
|
|
17
|
+
"required": ["data"],
|
|
18
|
+
"description": "Languages supported by iOS VoiceOver accessibility feature"
|
|
22
19
|
}
|
|
@@ -6,11 +6,7 @@
|
|
|
6
6
|
"type": "string"
|
|
7
7
|
},
|
|
8
8
|
"data": {
|
|
9
|
-
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
10
9
|
"type": "object",
|
|
11
|
-
"propertyNames": {
|
|
12
|
-
"type": "string"
|
|
13
|
-
},
|
|
14
10
|
"additionalProperties": {
|
|
15
11
|
"type": "string",
|
|
16
12
|
"description": "Language name in English"
|
|
@@ -18,8 +14,6 @@
|
|
|
18
14
|
"description": "Mapping of ISO 639-3 language codes to language names"
|
|
19
15
|
}
|
|
20
16
|
},
|
|
21
|
-
"required": [
|
|
22
|
-
|
|
23
|
-
"data"
|
|
24
|
-
]
|
|
17
|
+
"required": ["data"],
|
|
18
|
+
"description": "ISO 639-3 language codes mapped to their English language names"
|
|
25
19
|
}
|
|
@@ -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()
|
|
6
|
+
.record(zod_1.z.string().describe('Language name in English'))
|
|
7
7
|
.describe('Mapping of ISO 639-3 language codes to language names');
|