waha-shared 1.0.307 → 1.0.308
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.json +48 -50
- package/dist/data/areas/areas.schema.json +2 -2
- package/dist/data/areas/areas.zod.d.ts +1 -1
- package/dist/data/areas/areas.zod.js +1 -1
- package/dist/data/areas/index.d.ts +1 -1
- package/dist/data/bibleAudios/bibleAudios.json +314 -581
- package/dist/data/bibleAudios/bibleAudios.schema.json +8 -17
- package/dist/data/bibleAudios/bibleAudios.zod.d.ts +2 -43
- package/dist/data/bibleAudios/bibleAudios.zod.js +7 -16
- package/dist/data/bibleAudios/index.d.ts +1 -2
- package/dist/data/bibleBooks/bibleBooks.json +782 -784
- package/dist/data/bibleStatuses/bibleStatuses.json +8284 -7785
- package/dist/data/bibleStatuses/bibleStatuses.schema.json +0 -6
- package/dist/data/bibleStatuses/bibleStatuses.zod.d.ts +0 -1
- package/dist/data/bibleStatuses/bibleStatuses.zod.js +0 -4
- package/dist/data/bibleStatuses/index.d.ts +0 -1
- package/dist/data/bibleTexts/bibleTexts.json +184 -269
- package/dist/data/bibleTexts/bibleTexts.schema.json +0 -7
- package/dist/data/bibleTexts/bibleTexts.zod.d.ts +0 -28
- package/dist/data/bibleTexts/bibleTexts.zod.js +3 -10
- package/dist/data/bibleTexts/index.d.ts +0 -2
- package/dist/data/clones/clones.json +0 -2
- package/dist/data/countries/countries.json +480 -480
- package/dist/data/countriesAndLanguages/countriesAndLanguages.json +6798 -6800
- package/dist/data/crowdinLanguages/crowdinLanguages.json +1438 -1440
- package/dist/data/crowdinLanguages/crowdinLanguages.schema.json +3 -3
- package/dist/data/crowdinLanguages/crowdinLanguages.zod.d.ts +2 -2
- package/dist/data/crowdinLanguages/crowdinLanguages.zod.js +2 -2
- package/dist/data/crowdinLanguages/index.d.ts +2 -2
- package/dist/data/curriculumFoundations/curriculumFoundations.json +69 -86
- package/dist/data/curriculumQuestions/curriculumQuestions.json +192 -194
- package/dist/data/curriculumTopics/curriculumTopics.json +8 -51
- package/dist/data/dblAudioLicenses/dblAudioLicenses.json +7 -36
- package/dist/data/dblTextLicenses/dblTextLicenses.json +4 -4
- package/dist/data/iosVoiceOverLanguages/iosVoiceOverLanguages.json +1 -1
- package/dist/data/iso6933LanguageCodes/iso6933LanguageCodes.json +1 -1
- package/dist/data/languageAssets/index.d.ts +1 -0
- package/dist/data/languageAssets/index.js +7 -0
- package/dist/data/languageAssets/languageAssets.json +45406 -0
- package/dist/data/languageAssets/languageAssets.schema.json +19 -0
- package/dist/data/languageAssets/languageAssets.zod.d.ts +3 -0
- package/dist/data/languageAssets/languageAssets.zod.js +7 -0
- package/dist/data/languages/index.d.ts +10 -20
- package/dist/data/languages/languages.json +2008 -2983
- package/dist/data/languages/languages.schema.json +47 -93
- package/dist/data/languages/languages.zod.d.ts +30 -93
- package/dist/data/languages/languages.zod.js +37 -59
- package/dist/data/lessonPauses/index.d.ts +1 -0
- package/dist/data/lessonPauses/lessonPauses.json +3 -2
- package/dist/data/lessonPauses/lessonPauses.schema.json +11 -1
- package/dist/data/lessonPauses/lessonPauses.zod.d.ts +1 -0
- package/dist/data/lessonPauses/lessonPauses.zod.js +3 -0
- package/dist/data/mediaDurations/mediaDurations.json +4231 -33446
- package/dist/data/mediaDurations/mediaDurations.schema.json +1 -1
- package/dist/data/mediaDurations/mediaDurations.zod.js +1 -1
- package/dist/data/notification/index.d.ts +1 -1
- package/dist/data/notification/notification.json +169 -93
- package/dist/data/phoneLanguages/phoneLanguages.json +635 -637
- package/dist/data/questions/questions.json +147 -149
- package/dist/data/releaseNotes/releaseNotes.json +124 -126
- package/dist/data/screenshots/screenshots.json +1 -1
- package/dist/data/scripts/scripts.json +1 -6
- package/dist/data/sets/index.d.ts +3 -3
- package/dist/data/sets/sets.json +476 -1766
- package/dist/data/sets/sets.schema.json +1 -1
- package/dist/data/sets/sets.zod.d.ts +3 -3
- package/dist/data/sets/sets.zod.js +6 -3
- package/dist/data/translationsApp/index.d.ts +0 -1
- package/dist/data/translationsApp/translationsApp.json +1582 -1623
- package/dist/data/translationsApp/translationsApp.schema.json +0 -1
- package/dist/data/translationsApp/translationsApp.zod.d.ts +0 -2
- package/dist/data/translationsApp/translationsApp.zod.js +0 -1
- package/dist/data/translationsFtb/translationsFtb.json +613 -69
- package/dist/data/translationsIntroduction/translationsIntroduction.json +1 -1
- package/dist/data/translationsQuestion/translationsQuestion.json +33 -65
- package/dist/data/translationsSet/translationsSet.json +19565 -30302
- package/dist/data/translationsSet/translationsSet.schema.json +4 -3
- package/dist/data/translationsSet/translationsSet.zod.js +4 -4
- package/dist/data/translationsSolarSpeaker/translationsSolarSpeaker.json +1 -1
- package/dist/data/translationsSpokenQuestion/translationsSpokenQuestion.json +33 -65
- package/dist/data/youtubePlaylists/youtubePlaylists.json +10 -10
- package/dist/data/youtubeVideos/youtubeVideos.json +82 -82
- package/dist/functions/languages.d.ts +7 -6
- package/dist/functions/languages.js +53 -51
- package/dist/functions/scripturePassages.d.ts +49 -34
- package/dist/functions/scripturePassages.js +304 -167
- package/dist/functions/sets.d.ts +52 -13
- package/dist/functions/sets.js +205 -193
- package/dist/types/bibleChapters.d.ts +2 -2
- package/dist/types/bibleChapters.js +1 -1
- package/dist/types/languages.d.ts +9 -39
- package/dist/types/languages.js +0 -2
- package/dist/types/sets.d.ts +11 -21
- package/package.json +1 -1
- package/dist/data/firebase.d.ts +0 -1
- package/dist/data/firebase.js +0 -4
- package/dist/functions/bibleBooks.d.ts +0 -16
- package/dist/functions/bibleBooks.js +0 -101
- package/dist/functions/bibles.d.ts +0 -44
- package/dist/functions/bibles.js +0 -291
- package/dist/functions/utils.d.ts +0 -2
- package/dist/functions/utils.js +0 -8
|
@@ -12,25 +12,16 @@
|
|
|
12
12
|
"properties": {
|
|
13
13
|
"bibleAudioId": { "type": "string" },
|
|
14
14
|
"audioSource": {
|
|
15
|
-
"type": "
|
|
16
|
-
"
|
|
17
|
-
"
|
|
18
|
-
|
|
19
|
-
"
|
|
20
|
-
"type": "string",
|
|
21
|
-
"enum": ["dbl", "youVersion", "bibleBrain", "custom"]
|
|
22
|
-
},
|
|
23
|
-
"sourceId": { "type": "string" },
|
|
24
|
-
"scope": {
|
|
25
|
-
"type": "string",
|
|
26
|
-
"enum": ["all", "OT", "NT"],
|
|
27
|
-
"description": "The scope of chapters this audio source covers. 'all' means the source covers the entire bible. 'OT' or 'NT' means it only covers that testament. Use multiple entries with different scopes when a bible has separate audio recordings for OT and NT."
|
|
28
|
-
}
|
|
15
|
+
"type": "object",
|
|
16
|
+
"properties": {
|
|
17
|
+
"source": {
|
|
18
|
+
"type": "string",
|
|
19
|
+
"enum": ["dbl", "youVersion", "bibleBrain", "custom"]
|
|
29
20
|
},
|
|
30
|
-
"
|
|
31
|
-
"additionalProperties": false
|
|
21
|
+
"sourceId": { "type": "string" }
|
|
32
22
|
},
|
|
33
|
-
"
|
|
23
|
+
"required": ["source"],
|
|
24
|
+
"additionalProperties": false
|
|
34
25
|
},
|
|
35
26
|
"canDownload": {
|
|
36
27
|
"type": "boolean",
|
|
@@ -1,42 +1,7 @@
|
|
|
1
1
|
import { z } from 'zod';
|
|
2
|
-
export declare const AudioSource: z.ZodObject<{
|
|
3
|
-
source: z.ZodEnum<{
|
|
4
|
-
custom: "custom";
|
|
5
|
-
dbl: "dbl";
|
|
6
|
-
youVersion: "youVersion";
|
|
7
|
-
bibleBrain: "bibleBrain";
|
|
8
|
-
}>;
|
|
9
|
-
sourceId: z.ZodOptional<z.ZodString>;
|
|
10
|
-
scope: z.ZodEnum<{
|
|
11
|
-
all: "all";
|
|
12
|
-
OT: "OT";
|
|
13
|
-
NT: "NT";
|
|
14
|
-
}>;
|
|
15
|
-
}, z.core.$strict>;
|
|
16
|
-
export type AudioSource = z.infer<typeof AudioSource>;
|
|
17
|
-
export declare const BibleAudio: z.ZodObject<{
|
|
18
|
-
bibleAudioId: z.ZodString;
|
|
19
|
-
audioSource: z.ZodArray<z.ZodObject<{
|
|
20
|
-
source: z.ZodEnum<{
|
|
21
|
-
custom: "custom";
|
|
22
|
-
dbl: "dbl";
|
|
23
|
-
youVersion: "youVersion";
|
|
24
|
-
bibleBrain: "bibleBrain";
|
|
25
|
-
}>;
|
|
26
|
-
sourceId: z.ZodOptional<z.ZodString>;
|
|
27
|
-
scope: z.ZodEnum<{
|
|
28
|
-
all: "all";
|
|
29
|
-
OT: "OT";
|
|
30
|
-
NT: "NT";
|
|
31
|
-
}>;
|
|
32
|
-
}, z.core.$strict>>;
|
|
33
|
-
canDownload: z.ZodBoolean;
|
|
34
|
-
copyright: z.ZodOptional<z.ZodString>;
|
|
35
|
-
disableStar: z.ZodOptional<z.ZodBoolean>;
|
|
36
|
-
}, z.core.$strict>;
|
|
37
2
|
export declare const BibleAudios: z.ZodArray<z.ZodObject<{
|
|
38
3
|
bibleAudioId: z.ZodString;
|
|
39
|
-
audioSource: z.
|
|
4
|
+
audioSource: z.ZodObject<{
|
|
40
5
|
source: z.ZodEnum<{
|
|
41
6
|
custom: "custom";
|
|
42
7
|
dbl: "dbl";
|
|
@@ -44,15 +9,9 @@ export declare const BibleAudios: z.ZodArray<z.ZodObject<{
|
|
|
44
9
|
bibleBrain: "bibleBrain";
|
|
45
10
|
}>;
|
|
46
11
|
sourceId: z.ZodOptional<z.ZodString>;
|
|
47
|
-
|
|
48
|
-
all: "all";
|
|
49
|
-
OT: "OT";
|
|
50
|
-
NT: "NT";
|
|
51
|
-
}>;
|
|
52
|
-
}, z.core.$strict>>;
|
|
12
|
+
}, z.core.$strip>;
|
|
53
13
|
canDownload: z.ZodBoolean;
|
|
54
14
|
copyright: z.ZodOptional<z.ZodString>;
|
|
55
15
|
disableStar: z.ZodOptional<z.ZodBoolean>;
|
|
56
16
|
}, z.core.$strict>>;
|
|
57
17
|
export type BibleAudios = z.infer<typeof BibleAudios>;
|
|
58
|
-
export type BibleAudio = z.infer<typeof BibleAudio>;
|
|
@@ -1,22 +1,14 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.BibleAudios =
|
|
3
|
+
exports.BibleAudios = void 0;
|
|
4
4
|
const zod_1 = require("zod");
|
|
5
|
-
exports.
|
|
6
|
-
.object({
|
|
7
|
-
source: zod_1.z.enum(['dbl', 'youVersion', 'bibleBrain', 'custom']),
|
|
8
|
-
sourceId: zod_1.z.string().optional(),
|
|
9
|
-
scope: zod_1.z
|
|
10
|
-
.enum(['all', 'OT', 'NT'])
|
|
11
|
-
.describe("The scope of chapters this audio source covers. 'all' means the source covers the entire bible. 'OT' or 'NT' means it only covers that testament. Use multiple entries with different scopes when a bible has separate audio recordings for OT and NT."),
|
|
12
|
-
})
|
|
13
|
-
.strict();
|
|
14
|
-
exports.BibleAudio = zod_1.z
|
|
5
|
+
exports.BibleAudios = zod_1.z.array(zod_1.z
|
|
15
6
|
.object({
|
|
16
7
|
bibleAudioId: zod_1.z.string(),
|
|
17
|
-
audioSource: zod_1.z
|
|
18
|
-
.
|
|
19
|
-
.
|
|
8
|
+
audioSource: zod_1.z.object({
|
|
9
|
+
source: zod_1.z.enum(['dbl', 'youVersion', 'bibleBrain', 'custom']),
|
|
10
|
+
sourceId: zod_1.z.string().optional(),
|
|
11
|
+
}),
|
|
20
12
|
canDownload: zod_1.z
|
|
21
13
|
.boolean()
|
|
22
14
|
.describe('Whether or not the audio can be downloaded for offline use on the web. Most likely false, unless the translation is creative commons.'),
|
|
@@ -29,5 +21,4 @@ exports.BibleAudio = zod_1.z
|
|
|
29
21
|
.describe('Star refers to adding a <star> string before the first line passed to mms forced alignment. Disabling it means that there is not any content read out before the start of verse 1. Most translations read out names of chapters or section headings, which is why adding <star> is the default behavior.')
|
|
30
22
|
.optional(),
|
|
31
23
|
})
|
|
32
|
-
.strict();
|
|
33
|
-
exports.BibleAudios = zod_1.z.array(exports.BibleAudio);
|
|
24
|
+
.strict());
|
|
@@ -2,9 +2,8 @@ export declare const bibleAudios: {
|
|
|
2
2
|
bibleAudioId: string;
|
|
3
3
|
audioSource: {
|
|
4
4
|
source: "custom" | "dbl" | "youVersion" | "bibleBrain";
|
|
5
|
-
scope: "all" | "OT" | "NT";
|
|
6
5
|
sourceId?: string | undefined;
|
|
7
|
-
}
|
|
6
|
+
};
|
|
8
7
|
canDownload: boolean;
|
|
9
8
|
copyright?: string | undefined;
|
|
10
9
|
disableStar?: boolean | undefined;
|