waha-shared 1.0.1 → 1.0.3
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 +2 -2
- package/dist/data/bibleAudios.d.ts +8 -0
- package/dist/data/bibleAudios.js +8 -0
- package/dist/data/bibleAudios.json +394 -0
- package/dist/data/bibleResources/bibleBooks.d.ts +3 -0
- package/dist/data/bibleResources/bibleBooks.js +7 -0
- package/dist/data/bibleResources/bibleBooks.json +6071 -0
- package/dist/data/bibleResources/bibleChaptersList.d.ts +2 -0
- package/dist/data/bibleResources/bibleChaptersList.js +8 -0
- package/dist/data/bibleResources/bibleChaptersList.json +1191 -0
- package/dist/data/bibleStatuses.d.ts +7 -0
- package/dist/data/bibleStatuses.js +8 -0
- package/dist/data/bibleStatuses.json +9196 -0
- package/dist/data/bibleTexts.d.ts +16 -0
- package/dist/data/bibleTexts.js +8 -0
- package/dist/data/bibleTexts.json +527 -0
- package/dist/data/countryResources/areas.d.ts +3 -0
- package/dist/data/countryResources/areas.js +7 -0
- package/dist/data/countryResources/areas.json +74 -0
- package/dist/data/countryResources/countries.d.ts +3 -0
- package/dist/data/countryResources/countries.js +7 -0
- package/dist/data/countryResources/countries.json +3362 -0
- package/dist/data/foundationsCurriculums.d.ts +5 -0
- package/dist/data/foundationsCurriculums.js +8 -0
- package/dist/data/foundationsCurriculums.json +130 -0
- package/dist/data/languageResources/countriesAndLanguages.d.ts +13 -0
- package/dist/data/languageResources/countriesAndLanguages.js +7 -0
- package/dist/data/languageResources/countriesAndLanguages.json +11718 -0
- package/dist/data/languageResources/phoneLanguages.d.ts +11 -0
- package/dist/data/languageResources/phoneLanguages.js +7 -0
- package/dist/data/languageResources/phoneLanguages.json +1532 -0
- package/dist/data/languages.d.ts +45 -0
- package/dist/data/languages.js +8 -0
- package/dist/data/languages.json +7045 -0
- package/dist/data/mediaDurations.d.ts +6 -0
- package/dist/data/mediaDurations.js +8 -0
- package/dist/data/mediaDurations.json +32364 -0
- package/dist/data/notification.d.ts +16 -0
- package/dist/data/notification.js +8 -0
- package/dist/data/notification.json +69 -0
- package/dist/data/numeralMaps.d.ts +13 -0
- package/dist/data/numeralMaps.js +8 -0
- package/dist/data/numeralMaps.json +26 -0
- package/dist/data/questions.d.ts +8 -0
- package/dist/data/questions.js +8 -0
- package/dist/data/questions.json +317 -0
- package/dist/data/questionsCurriculums.d.ts +8 -0
- package/dist/data/questionsCurriculums.js +8 -0
- package/dist/data/questionsCurriculums.json +753 -0
- package/dist/data/releaseNotes.d.ts +6 -0
- package/dist/data/releaseNotes.js +8 -0
- package/dist/data/releaseNotes.json +2381 -0
- package/dist/data/screenshots.d.ts +5 -0
- package/dist/data/screenshots.js +8 -0
- package/dist/data/screenshots.json +17 -0
- package/dist/data/sets.d.ts +14 -0
- package/dist/data/sets.js +8 -0
- package/dist/data/sets.json +12258 -0
- package/dist/data/specialIds.d.ts +18 -0
- package/dist/data/specialIds.js +7 -0
- package/dist/data/specialIds.json +72 -0
- package/dist/data/topicsCurriculums.d.ts +5 -0
- package/dist/data/topicsCurriculums.js +8 -0
- package/dist/data/topicsCurriculums.json +131 -0
- package/dist/data/typescript/appTranslations.d.ts +915 -0
- package/dist/data/typescript/appTranslations.js +315 -0
- package/dist/data/typescript/areas.d.ts +18 -0
- package/dist/data/typescript/areas.js +42 -0
- package/dist/data/typescript/aslTimestamps.d.ts +43 -0
- package/dist/data/typescript/aslTimestamps.js +31 -0
- package/dist/data/typescript/bibleAudioAvailableChapters.d.ts +3 -0
- package/dist/data/typescript/bibleAudioAvailableChapters.js +36 -0
- package/dist/data/typescript/bibleAudios.d.ts +21 -0
- package/dist/data/typescript/bibleAudios.js +23 -0
- package/dist/data/typescript/bibleBookNames.d.ts +3 -0
- package/dist/data/typescript/bibleBookNames.js +98 -0
- package/dist/data/typescript/bibleBooks.d.ts +69 -0
- package/dist/data/typescript/bibleBooks.js +56 -0
- package/dist/data/typescript/bibleChapters.d.ts +49 -0
- package/dist/data/typescript/bibleChapters.js +29 -0
- package/dist/data/typescript/bibleStatuses.d.ts +28 -0
- package/dist/data/typescript/bibleStatuses.js +39 -0
- package/dist/data/typescript/bibleTextAvailableChapters.d.ts +3 -0
- package/dist/data/typescript/bibleTextAvailableChapters.js +36 -0
- package/dist/data/typescript/bibleTexts.d.ts +53 -0
- package/dist/data/typescript/bibleTexts.js +54 -0
- package/dist/data/typescript/clones.d.ts +36 -0
- package/dist/data/typescript/clones.js +28 -0
- package/dist/data/typescript/countries.d.ts +98 -0
- package/dist/data/typescript/countries.js +149 -0
- package/dist/data/typescript/foundationsCurriculums.d.ts +12 -0
- package/dist/data/typescript/foundationsCurriculums.js +12 -0
- package/dist/data/typescript/introductionTranslations.d.ts +202 -0
- package/dist/data/typescript/introductionTranslations.js +53 -0
- package/dist/data/typescript/languages.d.ts +148 -0
- package/dist/data/typescript/languages.js +302 -0
- package/dist/data/typescript/mediaDurations.d.ts +23 -0
- package/dist/data/typescript/mediaDurations.js +72 -0
- package/dist/data/typescript/notification.d.ts +45 -0
- package/dist/data/typescript/notification.js +176 -0
- package/dist/data/typescript/numeralMaps.d.ts +58 -0
- package/dist/data/typescript/numeralMaps.js +71 -0
- package/dist/data/typescript/questionTranslations.d.ts +3 -0
- package/dist/data/typescript/questionTranslations.js +5 -0
- package/dist/data/typescript/questions.d.ts +21 -0
- package/dist/data/typescript/questions.js +18 -0
- package/dist/data/typescript/questionsCurriculums.d.ts +27 -0
- package/dist/data/typescript/questionsCurriculums.js +19 -0
- package/dist/data/typescript/releaseNotes.d.ts +15 -0
- package/dist/data/typescript/releaseNotes.js +9 -0
- package/dist/data/typescript/screenshots.d.ts +12 -0
- package/dist/data/typescript/screenshots.js +49 -0
- package/dist/data/typescript/setTranslations.d.ts +27 -0
- package/dist/data/typescript/setTranslations.js +32 -0
- package/dist/data/typescript/sets.d.ts +49 -0
- package/dist/data/typescript/sets.js +88 -0
- package/dist/data/typescript/topicsCurriculums.d.ts +12 -0
- package/dist/data/typescript/topicsCurriculums.js +12 -0
- package/dist/data/youtube/videos.d.ts +2 -0
- package/dist/data/youtube/videos.js +7 -0
- package/dist/data/youtube/videos.json +262 -0
- package/dist/functions/activeCampaign.d.ts +8 -0
- package/dist/functions/activeCampaign.js +97 -0
- package/dist/functions/bibleChapterUtils.d.ts +15 -0
- package/dist/functions/bibleChapterUtils.js +231 -0
- package/dist/functions/crowdin.d.ts +24 -0
- package/dist/functions/crowdin.js +34 -0
- package/dist/functions/languages.d.ts +24 -0
- package/dist/functions/languages.js +212 -0
- package/dist/functions/scripturePassages.d.ts +47 -0
- package/dist/functions/scripturePassages.js +261 -0
- package/dist/functions/sets.d.ts +30 -0
- package/dist/functions/sets.js +371 -0
- package/dist/translations/appTranslations.d.ts +306 -0
- package/dist/translations/appTranslations.js +8 -0
- package/dist/translations/appTranslations.json +10239 -0
- package/dist/translations/introductionTranslations.d.ts +43 -0
- package/dist/translations/introductionTranslations.js +8 -0
- package/dist/translations/introductionTranslations.json +422 -0
- package/dist/translations/questionTranslations.d.ts +2 -0
- package/dist/translations/questionTranslations.js +8 -0
- package/dist/translations/questionTranslations.json +1472 -0
- package/dist/translations/setTranslations.d.ts +10 -0
- package/dist/translations/setTranslations.js +8 -0
- package/dist/translations/setTranslations.json +30257 -0
- package/dist/types/analytics.d.ts +119 -0
- package/dist/types/analytics.js +2 -0
- package/dist/types/completions.d.ts +8 -0
- package/dist/types/completions.js +2 -0
- package/dist/types/feedback.d.ts +60 -0
- package/dist/types/feedback.js +27 -0
- package/dist/types/languages.d.ts +31 -0
- package/dist/types/languages.js +2 -0
- package/dist/types/notifications.d.ts +128 -0
- package/dist/types/notifications.js +30 -0
- package/dist/types/sets.d.ts +70 -0
- package/dist/types/sets.js +10 -0
- package/dist/types/users.d.ts +765 -0
- package/dist/types/users.js +137 -0
- package/package.json +2 -2
- package/.DS_Store +0 -0
- package/__init__.py +0 -0
- package/copy.ts +0 -37
- package/data/README.md +0 -45
- package/data/__init__.py +0 -0
- package/data/aslTimestamps.json +0 -192788
- package/data/bibleAudios.json +0 -394
- package/data/bibleAudios.ts +0 -4
- package/data/bibleResources/audioBibleLicenses.json +0 -6235
- package/data/bibleResources/bibleBooks.json +0 -6071
- package/data/bibleResources/bibleBooks.ts +0 -4
- package/data/bibleResources/bibleChaptersList.json +0 -1191
- package/data/bibleResources/bibleChaptersList.ts +0 -4
- package/data/bibleResources/textBibleLicenses.json +0 -14603
- package/data/bibleStatuses.json +0 -9196
- package/data/bibleStatuses.ts +0 -4
- package/data/bibleTexts.json +0 -527
- package/data/bibleTexts.ts +0 -4
- package/data/clones.json +0 -13
- package/data/countryResources/areas.json +0 -74
- package/data/countryResources/areas.ts +0 -4
- package/data/countryResources/countries.json +0 -3362
- package/data/countryResources/countries.ts +0 -4
- package/data/foundationsCurriculums.json +0 -130
- package/data/foundationsCurriculums.ts +0 -4
- package/data/languageResources/countriesAndLanguages.json +0 -11718
- package/data/languageResources/countriesAndLanguages.ts +0 -16
- package/data/languageResources/crowdinLanguages.json +0 -2172
- package/data/languageResources/iosVoiceOverLanguages.json +0 -64
- package/data/languageResources/iso6933LanguageCodes.json +0 -7927
- package/data/languageResources/mmsLanguages.json +0 -28164
- package/data/languageResources/phoneLanguages.json +0 -1532
- package/data/languageResources/phoneLanguages.ts +0 -14
- package/data/languages.json +0 -7045
- package/data/languages.ts +0 -4
- package/data/mediaDurations.json +0 -32364
- package/data/mediaDurations.ts +0 -4
- package/data/notification.json +0 -69
- package/data/notification.ts +0 -4
- package/data/numeralMaps.json +0 -26
- package/data/numeralMaps.ts +0 -4
- package/data/orphanedBibleTexts.json +0 -2747
- package/data/questions.json +0 -317
- package/data/questions.ts +0 -4
- package/data/questionsCurriculums.json +0 -753
- package/data/questionsCurriculums.ts +0 -4
- package/data/releaseNotes.json +0 -2381
- package/data/releaseNotes.ts +0 -4
- package/data/schemas/appTranslations.schema.json +0 -802
- package/data/schemas/areas.schema.json +0 -76
- package/data/schemas/aslTimestamps.schema.json +0 -59
- package/data/schemas/bibleAudios.schema.json +0 -37
- package/data/schemas/bibleBooks.schema.json +0 -112
- package/data/schemas/bibleChapters.schema.json +0 -61
- package/data/schemas/bibleStatuses.schema.json +0 -41
- package/data/schemas/bibleTexts.schema.json +0 -60
- package/data/schemas/clones.schema.json +0 -63
- package/data/schemas/countries.schema.json +0 -84
- package/data/schemas/foundationsCurriculums.schema.json +0 -20
- package/data/schemas/introductionTranslations.schema.json +0 -101
- package/data/schemas/languages.schema.json +0 -365
- package/data/schemas/mediaDurations.schema.json +0 -41
- package/data/schemas/notification.schema.json +0 -111
- package/data/schemas/numeralMaps.schema.json +0 -57
- package/data/schemas/questionTranslations.schema.json +0 -20
- package/data/schemas/questions.schema.json +0 -29
- package/data/schemas/questionsCurriculums.schema.json +0 -34
- package/data/schemas/releaseNotes.schema.json +0 -21
- package/data/schemas/screenshots.schema.json +0 -23
- package/data/schemas/setTranslations.schema.json +0 -70
- package/data/schemas/sets.schema.json +0 -109
- package/data/schemas/topicsCurriculums.schema.json +0 -20
- package/data/screenshots.json +0 -17
- package/data/screenshots.ts +0 -4
- package/data/sets.json +0 -12258
- package/data/sets.ts +0 -4
- package/data/specialIds.json +0 -72
- package/data/specialIds.ts +0 -19
- package/data/timings/som.json +0 -9150
- package/data/topicsCurriculums.json +0 -131
- package/data/topicsCurriculums.ts +0 -4
- package/data/typescript/appTranslations.ts +0 -322
- package/data/typescript/areas.ts +0 -45
- package/data/typescript/aslTimestamps.ts +0 -36
- package/data/typescript/bibleAudioAvailableChapters.ts +0 -35
- package/data/typescript/bibleAudios.ts +0 -32
- package/data/typescript/bibleBookNames.ts +0 -97
- package/data/typescript/bibleBooks.ts +0 -63
- package/data/typescript/bibleChapters.ts +0 -40
- package/data/typescript/bibleStatuses.ts +0 -54
- package/data/typescript/bibleTextAvailableChapters.ts +0 -35
- package/data/typescript/bibleTexts.ts +0 -63
- package/data/typescript/clones.ts +0 -35
- package/data/typescript/countries.ts +0 -152
- package/data/typescript/foundationsCurriculums.ts +0 -15
- package/data/typescript/introductionTranslations.ts +0 -60
- package/data/typescript/languages.ts +0 -369
- package/data/typescript/mediaDurations.ts +0 -89
- package/data/typescript/notification.ts +0 -189
- package/data/typescript/numeralMaps.ts +0 -74
- package/data/typescript/questionTranslations.ts +0 -6
- package/data/typescript/questions.ts +0 -25
- package/data/typescript/questionsCurriculums.ts +0 -26
- package/data/typescript/releaseNotes.ts +0 -10
- package/data/typescript/screenshots.ts +0 -52
- package/data/typescript/setTranslations.ts +0 -39
- package/data/typescript/sets.ts +0 -105
- package/data/typescript/topicsCurriculums.ts +0 -15
- package/data/youtube/playlists.json +0 -28
- package/data/youtube/videos.json +0 -262
- package/data/youtube/videos.ts +0 -2
- package/functions/activeCampaign.ts +0 -127
- package/functions/bibleChapterUtils.ts +0 -241
- package/functions/crowdin.ts +0 -51
- package/functions/languages.ts +0 -284
- package/functions/scripturePassages.ts +0 -368
- package/functions/sets.ts +0 -495
- package/translations/appTranslations.json +0 -10239
- package/translations/appTranslations.ts +0 -4
- package/translations/introductionTranslations.json +0 -422
- package/translations/introductionTranslations.ts +0 -4
- package/translations/questionTranslations.json +0 -1472
- package/translations/questionTranslations.ts +0 -4
- package/translations/setTranslations.json +0 -30257
- package/translations/setTranslations.ts +0 -4
- package/translations/spokenQuestionTranslations.json +0 -1472
- package/types/analytics.ts +0 -147
- package/types/completions.ts +0 -9
- package/types/feedback.ts +0 -27
- package/types/languages.ts +0 -37
- package/types/notifications.ts +0 -37
- package/types/sets.ts +0 -84
- package/types/users.ts +0 -162
|
@@ -0,0 +1,69 @@
|
|
|
1
|
+
import { z } from 'zod';
|
|
2
|
+
export declare const bibleBooks: z.ZodArray<z.ZodObject<{
|
|
3
|
+
name: z.ZodString;
|
|
4
|
+
title: z.ZodString;
|
|
5
|
+
bookId: z.ZodString;
|
|
6
|
+
chapters: z.ZodArray<z.ZodObject<{
|
|
7
|
+
id: z.ZodString;
|
|
8
|
+
verses: z.ZodNumber;
|
|
9
|
+
}, "strip", z.ZodTypeAny, {
|
|
10
|
+
id: string;
|
|
11
|
+
verses: number;
|
|
12
|
+
}, {
|
|
13
|
+
id: string;
|
|
14
|
+
verses: number;
|
|
15
|
+
}>, "many">;
|
|
16
|
+
englishDivision: z.ZodString;
|
|
17
|
+
hebrewDivision: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNull]>>;
|
|
18
|
+
hebrewOrder: z.ZodOptional<z.ZodUnion<[z.ZodNumber, z.ZodNull]>>;
|
|
19
|
+
isNt: z.ZodBoolean;
|
|
20
|
+
lowercase: z.ZodString;
|
|
21
|
+
lowercase_dashes: z.ZodString;
|
|
22
|
+
number: z.ZodNumber;
|
|
23
|
+
order: z.ZodNumber;
|
|
24
|
+
testament: z.ZodString;
|
|
25
|
+
title_dashes: z.ZodString;
|
|
26
|
+
usfm: z.ZodString;
|
|
27
|
+
nameAlternates: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
28
|
+
}, "strip", z.ZodTypeAny, {
|
|
29
|
+
number: number;
|
|
30
|
+
name: string;
|
|
31
|
+
usfm: string;
|
|
32
|
+
title: string;
|
|
33
|
+
bookId: string;
|
|
34
|
+
chapters: {
|
|
35
|
+
id: string;
|
|
36
|
+
verses: number;
|
|
37
|
+
}[];
|
|
38
|
+
englishDivision: string;
|
|
39
|
+
isNt: boolean;
|
|
40
|
+
lowercase: string;
|
|
41
|
+
lowercase_dashes: string;
|
|
42
|
+
order: number;
|
|
43
|
+
testament: string;
|
|
44
|
+
title_dashes: string;
|
|
45
|
+
hebrewDivision?: string | null | undefined;
|
|
46
|
+
hebrewOrder?: number | null | undefined;
|
|
47
|
+
nameAlternates?: string[] | undefined;
|
|
48
|
+
}, {
|
|
49
|
+
number: number;
|
|
50
|
+
name: string;
|
|
51
|
+
usfm: string;
|
|
52
|
+
title: string;
|
|
53
|
+
bookId: string;
|
|
54
|
+
chapters: {
|
|
55
|
+
id: string;
|
|
56
|
+
verses: number;
|
|
57
|
+
}[];
|
|
58
|
+
englishDivision: string;
|
|
59
|
+
isNt: boolean;
|
|
60
|
+
lowercase: string;
|
|
61
|
+
lowercase_dashes: string;
|
|
62
|
+
order: number;
|
|
63
|
+
testament: string;
|
|
64
|
+
title_dashes: string;
|
|
65
|
+
hebrewDivision?: string | null | undefined;
|
|
66
|
+
hebrewOrder?: number | null | undefined;
|
|
67
|
+
nameAlternates?: string[] | undefined;
|
|
68
|
+
}>, "many">;
|
|
69
|
+
export type BibleBooks = z.infer<typeof bibleBooks>;
|
|
@@ -0,0 +1,56 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.bibleBooks = void 0;
|
|
4
|
+
const zod_1 = require("zod");
|
|
5
|
+
exports.bibleBooks = zod_1.z.array(zod_1.z.object({
|
|
6
|
+
name: zod_1.z.string().describe('The name of the book.'),
|
|
7
|
+
title: zod_1.z.string().describe('The title of the book.'),
|
|
8
|
+
bookId: zod_1.z
|
|
9
|
+
.string()
|
|
10
|
+
.describe('The book identifier from the second JSON file.'),
|
|
11
|
+
chapters: zod_1.z
|
|
12
|
+
.array(zod_1.z.object({ id: zod_1.z.string(), verses: zod_1.z.number() }))
|
|
13
|
+
.describe('An array of chapter identifiers for the book.'),
|
|
14
|
+
englishDivision: zod_1.z
|
|
15
|
+
.string()
|
|
16
|
+
.describe("The English division of the book (e.g., 'Pentateuch', 'Wisdom')."),
|
|
17
|
+
hebrewDivision: zod_1.z
|
|
18
|
+
.union([
|
|
19
|
+
zod_1.z
|
|
20
|
+
.string()
|
|
21
|
+
.describe("The Hebrew division of the book (e.g., 'Torah', 'Ketuvim')."),
|
|
22
|
+
zod_1.z
|
|
23
|
+
.null()
|
|
24
|
+
.describe("The Hebrew division of the book (e.g., 'Torah', 'Ketuvim')."),
|
|
25
|
+
])
|
|
26
|
+
.describe("The Hebrew division of the book (e.g., 'Torah', 'Ketuvim').")
|
|
27
|
+
.optional(),
|
|
28
|
+
hebrewOrder: zod_1.z
|
|
29
|
+
.union([
|
|
30
|
+
zod_1.z.number().int().describe('The order of the book in the Hebrew Bible.'),
|
|
31
|
+
zod_1.z.null().describe('The order of the book in the Hebrew Bible.'),
|
|
32
|
+
])
|
|
33
|
+
.describe('The order of the book in the Hebrew Bible.')
|
|
34
|
+
.optional(),
|
|
35
|
+
isNt: zod_1.z
|
|
36
|
+
.boolean()
|
|
37
|
+
.describe('Indicates if the book is in the New Testament.'),
|
|
38
|
+
lowercase: zod_1.z.string().describe('The lowercase title of the book.'),
|
|
39
|
+
lowercase_dashes: zod_1.z
|
|
40
|
+
.string()
|
|
41
|
+
.describe('The lowercase title of the book with dashes.'),
|
|
42
|
+
number: zod_1.z
|
|
43
|
+
.number()
|
|
44
|
+
.int()
|
|
45
|
+
.describe('The numeric order of the book in the Bible.'),
|
|
46
|
+
order: zod_1.z.number().int().describe('The order of the book in the Bible.'),
|
|
47
|
+
testament: zod_1.z
|
|
48
|
+
.string()
|
|
49
|
+
.describe("The testament of the book ('old' or 'new')."),
|
|
50
|
+
title_dashes: zod_1.z.string().describe('The title of the book with dashes.'),
|
|
51
|
+
usfm: zod_1.z.string().describe('The USFM code for the book.'),
|
|
52
|
+
nameAlternates: zod_1.z
|
|
53
|
+
.array(zod_1.z.string())
|
|
54
|
+
.describe('Alternative names for the book.')
|
|
55
|
+
.optional(),
|
|
56
|
+
}));
|
|
@@ -0,0 +1,49 @@
|
|
|
1
|
+
import { z } from 'zod';
|
|
2
|
+
export declare const bibleChapters: z.ZodArray<z.ZodObject<{
|
|
3
|
+
bookName: z.ZodString;
|
|
4
|
+
chapterId: z.ZodString;
|
|
5
|
+
reference: z.ZodOptional<z.ZodString>;
|
|
6
|
+
titles: z.ZodOptional<z.ZodUnion<[z.ZodRecord<z.ZodString, z.ZodString>, z.ZodNull]>>;
|
|
7
|
+
translationId: z.ZodString;
|
|
8
|
+
verses: z.ZodArray<z.ZodObject<{
|
|
9
|
+
text: z.ZodString;
|
|
10
|
+
timings: z.ZodOptional<z.ZodUnion<[z.ZodTuple<[z.ZodNumber, z.ZodNumber], null>, z.ZodNull]>>;
|
|
11
|
+
uroman: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNull]>>;
|
|
12
|
+
verseId: z.ZodString;
|
|
13
|
+
}, "strict", z.ZodTypeAny, {
|
|
14
|
+
text: string;
|
|
15
|
+
verseId: string;
|
|
16
|
+
timings?: [number, number] | null | undefined;
|
|
17
|
+
uroman?: string | null | undefined;
|
|
18
|
+
}, {
|
|
19
|
+
text: string;
|
|
20
|
+
verseId: string;
|
|
21
|
+
timings?: [number, number] | null | undefined;
|
|
22
|
+
uroman?: string | null | undefined;
|
|
23
|
+
}>, "many">;
|
|
24
|
+
}, "strict", z.ZodTypeAny, {
|
|
25
|
+
verses: {
|
|
26
|
+
text: string;
|
|
27
|
+
verseId: string;
|
|
28
|
+
timings?: [number, number] | null | undefined;
|
|
29
|
+
uroman?: string | null | undefined;
|
|
30
|
+
}[];
|
|
31
|
+
bookName: string;
|
|
32
|
+
chapterId: string;
|
|
33
|
+
translationId: string;
|
|
34
|
+
titles?: Record<string, string> | null | undefined;
|
|
35
|
+
reference?: string | undefined;
|
|
36
|
+
}, {
|
|
37
|
+
verses: {
|
|
38
|
+
text: string;
|
|
39
|
+
verseId: string;
|
|
40
|
+
timings?: [number, number] | null | undefined;
|
|
41
|
+
uroman?: string | null | undefined;
|
|
42
|
+
}[];
|
|
43
|
+
bookName: string;
|
|
44
|
+
chapterId: string;
|
|
45
|
+
translationId: string;
|
|
46
|
+
titles?: Record<string, string> | null | undefined;
|
|
47
|
+
reference?: string | undefined;
|
|
48
|
+
}>, "many">;
|
|
49
|
+
export type BibleChapters = z.infer<typeof bibleChapters>;
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.bibleChapters = void 0;
|
|
4
|
+
const zod_1 = require("zod");
|
|
5
|
+
exports.bibleChapters = zod_1.z.array(zod_1.z
|
|
6
|
+
.object({
|
|
7
|
+
bookName: zod_1.z.string(),
|
|
8
|
+
chapterId: zod_1.z
|
|
9
|
+
.string()
|
|
10
|
+
.regex(new RegExp('^(GEN|EXO|LEV|NUM|DEU|JOS|JDG|RUT|1SA|2SA|1KI|2KI|1CH|2CH|EZR|NEH|EST|JOB|PSA|PRO|ECC|SNG|ISA|JER|LAM|EZK|DAN|HOS|JOL|AMO|OBA|JON|MIC|NAM|HAB|ZEP|HAG|ZEC|MAL|MAT|MRK|LUK|JHN|ACT|ROM|1CO|2CO|GAL|EPH|PHP|COL|1TH|2TH|1TI|2TI|TIT|PHM|HEB|JAS|1PE|2PE|1JN|2JN|3JN|JUD|REV)\\.[0-9]+$')),
|
|
11
|
+
reference: zod_1.z.string().optional(),
|
|
12
|
+
titles: zod_1.z.union([zod_1.z.record(zod_1.z.string()), zod_1.z.null()]).optional(),
|
|
13
|
+
translationId: zod_1.z.string(),
|
|
14
|
+
verses: zod_1.z
|
|
15
|
+
.array(zod_1.z
|
|
16
|
+
.object({
|
|
17
|
+
text: zod_1.z.string(),
|
|
18
|
+
timings: zod_1.z
|
|
19
|
+
.union([zod_1.z.tuple([zod_1.z.number(), zod_1.z.number()]), zod_1.z.null()])
|
|
20
|
+
.optional(),
|
|
21
|
+
uroman: zod_1.z.union([zod_1.z.string(), zod_1.z.null()]).optional(),
|
|
22
|
+
verseId: zod_1.z
|
|
23
|
+
.string()
|
|
24
|
+
.regex(new RegExp('^(GEN|EXO|LEV|NUM|DEU|JOS|JDG|RUT|1SA|2SA|1KI|2KI|1CH|2CH|EZR|NEH|EST|JOB|PSA|PRO|ECC|SNG|ISA|JER|LAM|EZK|DAN|HOS|JOL|AMO|OBA|JON|MIC|NAM|HAB|ZEP|HAG|ZEC|MAL|MAT|MRK|LUK|JHN|ACT|ROM|1CO|2CO|GAL|EPH|PHP|COL|1TH|2TH|1TI|2TI|TIT|PHM|HEB|JAS|1PE|2PE|1JN|2JN|3JN|JUD|REV)\\.[0-9]+\\.[0-9]+(-[0-9]+)?$')),
|
|
25
|
+
})
|
|
26
|
+
.strict())
|
|
27
|
+
.min(1),
|
|
28
|
+
})
|
|
29
|
+
.strict());
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
import { z } from 'zod';
|
|
2
|
+
export declare const bibleStatuses: z.ZodEffects<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
3
|
+
text: z.ZodArray<z.ZodString, "many">;
|
|
4
|
+
audio: z.ZodArray<z.ZodString, "many">;
|
|
5
|
+
timings: z.ZodArray<z.ZodString, "many">;
|
|
6
|
+
bookNames: z.ZodRecord<z.ZodString, z.ZodString>;
|
|
7
|
+
}, "strict", z.ZodTypeAny, {
|
|
8
|
+
text: string[];
|
|
9
|
+
audio: string[];
|
|
10
|
+
timings: string[];
|
|
11
|
+
bookNames: Record<string, string>;
|
|
12
|
+
}, {
|
|
13
|
+
text: string[];
|
|
14
|
+
audio: string[];
|
|
15
|
+
timings: string[];
|
|
16
|
+
bookNames: Record<string, string>;
|
|
17
|
+
}>>, Record<string, {
|
|
18
|
+
text: string[];
|
|
19
|
+
audio: string[];
|
|
20
|
+
timings: string[];
|
|
21
|
+
bookNames: Record<string, string>;
|
|
22
|
+
}>, Record<string, {
|
|
23
|
+
text: string[];
|
|
24
|
+
audio: string[];
|
|
25
|
+
timings: string[];
|
|
26
|
+
bookNames: Record<string, string>;
|
|
27
|
+
}>>;
|
|
28
|
+
export type BibleStatuses = z.infer<typeof bibleStatuses>;
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.bibleStatuses = void 0;
|
|
4
|
+
const zod_1 = require("zod");
|
|
5
|
+
exports.bibleStatuses = zod_1.z
|
|
6
|
+
.record(zod_1.z
|
|
7
|
+
.object({
|
|
8
|
+
text: zod_1.z.array(zod_1.z.string().regex(new RegExp('^([A-Z0-9]{3}(\\.[0-9]+)?|OT|NT)$'))),
|
|
9
|
+
audio: zod_1.z.array(zod_1.z.string().regex(new RegExp('^([A-Z0-9]{3}(\\.[0-9]+)?|OT|NT)$'))),
|
|
10
|
+
timings: zod_1.z.array(zod_1.z.string().regex(new RegExp('^([A-Z0-9]{3}(\\.[0-9]+)?|OT|NT)$'))),
|
|
11
|
+
bookNames: zod_1.z.record(zod_1.z.string()),
|
|
12
|
+
})
|
|
13
|
+
.strict())
|
|
14
|
+
.superRefine((value, ctx) => {
|
|
15
|
+
for (const key in value) {
|
|
16
|
+
if (key.match(new RegExp('^[A-Z0-9]+$'))) {
|
|
17
|
+
const result = zod_1.z
|
|
18
|
+
.object({
|
|
19
|
+
text: zod_1.z.array(zod_1.z.string().regex(new RegExp('^([A-Z0-9]{3}(\\.[0-9]+)?|OT|NT)$'))),
|
|
20
|
+
audio: zod_1.z.array(zod_1.z.string().regex(new RegExp('^([A-Z0-9]{3}(\\.[0-9]+)?|OT|NT)$'))),
|
|
21
|
+
timings: zod_1.z.array(zod_1.z.string().regex(new RegExp('^([A-Z0-9]{3}(\\.[0-9]+)?|OT|NT)$'))),
|
|
22
|
+
bookNames: zod_1.z.record(zod_1.z.string()),
|
|
23
|
+
})
|
|
24
|
+
.strict()
|
|
25
|
+
.safeParse(value[key]);
|
|
26
|
+
if (!result.success) {
|
|
27
|
+
ctx.addIssue({
|
|
28
|
+
path: [...ctx.path, key],
|
|
29
|
+
code: 'custom',
|
|
30
|
+
message: `Invalid input: Key matching regex /${key}/ must match schema`,
|
|
31
|
+
params: {
|
|
32
|
+
issues: result.error.issues,
|
|
33
|
+
},
|
|
34
|
+
});
|
|
35
|
+
}
|
|
36
|
+
}
|
|
37
|
+
}
|
|
38
|
+
})
|
|
39
|
+
.describe("Consolidated bible data containing text chapters, audio chapters, timings, and book names for each translation. Entries can be testament IDs ('OT', 'NT'), book IDs (e.g., 'GEN') for complete books, or chapter IDs (e.g., 'GEN.1') for individual chapters.");
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
import { z } from "zod";
|
|
2
|
+
export declare const bibleTextAvailableChapters: z.ZodEffects<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodArray<z.ZodString, "many">, z.ZodArray<z.ZodString, "many">]>>, Record<string, string[]>, Record<string, string[]>>;
|
|
3
|
+
export type BibleTextAvailableChapters = z.infer<typeof bibleTextAvailableChapters>;
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.bibleTextAvailableChapters = void 0;
|
|
4
|
+
const zod_1 = require("zod");
|
|
5
|
+
exports.bibleTextAvailableChapters = zod_1.z.record(zod_1.z.union([zod_1.z.array(zod_1.z.string().regex(new RegExp("^[A-Z0-9]{3}\\.[0-9]+$"))), zod_1.z.array(zod_1.z.string().regex(new RegExp("^[A-Z0-9]{3}\\.[0-9]+$")).describe("Chapter identifier in the format 'BOOK.CHAPTER' (e.g., 'GEN.1', 'REV.22')")).describe("Array of available text chapter identifiers for this translation")])).superRefine((value, ctx) => {
|
|
6
|
+
for (const key in value) {
|
|
7
|
+
let evaluated = false;
|
|
8
|
+
if (key.match(new RegExp("^[A-Z0-9]+$"))) {
|
|
9
|
+
evaluated = true;
|
|
10
|
+
const result = zod_1.z.array(zod_1.z.string().regex(new RegExp("^[A-Z0-9]{3}\\.[0-9]+$"))).safeParse(value[key]);
|
|
11
|
+
if (!result.success) {
|
|
12
|
+
ctx.addIssue({
|
|
13
|
+
path: [...ctx.path, key],
|
|
14
|
+
code: 'custom',
|
|
15
|
+
message: `Invalid input: Key matching regex /${key}/ must match schema`,
|
|
16
|
+
params: {
|
|
17
|
+
issues: result.error.issues
|
|
18
|
+
}
|
|
19
|
+
});
|
|
20
|
+
}
|
|
21
|
+
}
|
|
22
|
+
if (!evaluated) {
|
|
23
|
+
const result = zod_1.z.array(zod_1.z.string().regex(new RegExp("^[A-Z0-9]{3}\\.[0-9]+$")).describe("Chapter identifier in the format 'BOOK.CHAPTER' (e.g., 'GEN.1', 'REV.22')")).describe("Array of available text chapter identifiers for this translation").safeParse(value[key]);
|
|
24
|
+
if (!result.success) {
|
|
25
|
+
ctx.addIssue({
|
|
26
|
+
path: [...ctx.path, key],
|
|
27
|
+
code: 'custom',
|
|
28
|
+
message: `Invalid input: must match catchall schema`,
|
|
29
|
+
params: {
|
|
30
|
+
issues: result.error.issues
|
|
31
|
+
}
|
|
32
|
+
});
|
|
33
|
+
}
|
|
34
|
+
}
|
|
35
|
+
}
|
|
36
|
+
}).describe("A mapping of bible translation IDs to their available text chapters");
|
|
@@ -0,0 +1,53 @@
|
|
|
1
|
+
import { z } from 'zod';
|
|
2
|
+
export declare const bibleTexts: z.ZodArray<z.ZodObject<{
|
|
3
|
+
bibleTextId: z.ZodString;
|
|
4
|
+
name: z.ZodString;
|
|
5
|
+
alternativeFull: z.ZodOptional<z.ZodString>;
|
|
6
|
+
audioId: z.ZodOptional<z.ZodString>;
|
|
7
|
+
copyright: z.ZodOptional<z.ZodString>;
|
|
8
|
+
copyrightImage: z.ZodOptional<z.ZodString>;
|
|
9
|
+
language: z.ZodString;
|
|
10
|
+
nameEnglish: z.ZodOptional<z.ZodString>;
|
|
11
|
+
textSource: z.ZodObject<{
|
|
12
|
+
includeSectionTitles: z.ZodOptional<z.ZodBoolean>;
|
|
13
|
+
source: z.ZodEnum<["dbl", "bibleBrain", "usfm", "usfx", "yvp", "custom"]>;
|
|
14
|
+
sourceId: z.ZodOptional<z.ZodString>;
|
|
15
|
+
}, "strict", z.ZodTypeAny, {
|
|
16
|
+
source: "dbl" | "bibleBrain" | "custom" | "usfm" | "usfx" | "yvp";
|
|
17
|
+
sourceId?: string | undefined;
|
|
18
|
+
includeSectionTitles?: boolean | undefined;
|
|
19
|
+
}, {
|
|
20
|
+
source: "dbl" | "bibleBrain" | "custom" | "usfm" | "usfx" | "yvp";
|
|
21
|
+
sourceId?: string | undefined;
|
|
22
|
+
includeSectionTitles?: boolean | undefined;
|
|
23
|
+
}>;
|
|
24
|
+
}, "strict", z.ZodTypeAny, {
|
|
25
|
+
bibleTextId: string;
|
|
26
|
+
name: string;
|
|
27
|
+
language: string;
|
|
28
|
+
textSource: {
|
|
29
|
+
source: "dbl" | "bibleBrain" | "custom" | "usfm" | "usfx" | "yvp";
|
|
30
|
+
sourceId?: string | undefined;
|
|
31
|
+
includeSectionTitles?: boolean | undefined;
|
|
32
|
+
};
|
|
33
|
+
copyright?: string | undefined;
|
|
34
|
+
alternativeFull?: string | undefined;
|
|
35
|
+
audioId?: string | undefined;
|
|
36
|
+
copyrightImage?: string | undefined;
|
|
37
|
+
nameEnglish?: string | undefined;
|
|
38
|
+
}, {
|
|
39
|
+
bibleTextId: string;
|
|
40
|
+
name: string;
|
|
41
|
+
language: string;
|
|
42
|
+
textSource: {
|
|
43
|
+
source: "dbl" | "bibleBrain" | "custom" | "usfm" | "usfx" | "yvp";
|
|
44
|
+
sourceId?: string | undefined;
|
|
45
|
+
includeSectionTitles?: boolean | undefined;
|
|
46
|
+
};
|
|
47
|
+
copyright?: string | undefined;
|
|
48
|
+
alternativeFull?: string | undefined;
|
|
49
|
+
audioId?: string | undefined;
|
|
50
|
+
copyrightImage?: string | undefined;
|
|
51
|
+
nameEnglish?: string | undefined;
|
|
52
|
+
}>, "many">;
|
|
53
|
+
export type BibleTexts = z.infer<typeof bibleTexts>;
|
|
@@ -0,0 +1,54 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.bibleTexts = void 0;
|
|
4
|
+
const zod_1 = require("zod");
|
|
5
|
+
exports.bibleTexts = zod_1.z.array(zod_1.z
|
|
6
|
+
.object({
|
|
7
|
+
bibleTextId: zod_1.z.string(),
|
|
8
|
+
name: zod_1.z
|
|
9
|
+
.string()
|
|
10
|
+
.describe('The name of the bible translation in its own language.'),
|
|
11
|
+
alternativeFull: zod_1.z
|
|
12
|
+
.string()
|
|
13
|
+
.describe("If a bible isn't available for the full Bible due to licensing restrictions, define an alternative Bible that does support full Bible here.")
|
|
14
|
+
.optional(),
|
|
15
|
+
audioId: zod_1.z
|
|
16
|
+
.string()
|
|
17
|
+
.describe('The bibleAudioId of the corresponding audio bible translation, if available.')
|
|
18
|
+
.optional(),
|
|
19
|
+
copyright: zod_1.z
|
|
20
|
+
.string()
|
|
21
|
+
.describe('The copyright attribution text required to be shown in-app for this translation.')
|
|
22
|
+
.optional(),
|
|
23
|
+
copyrightImage: zod_1.z
|
|
24
|
+
.string()
|
|
25
|
+
.describe('The image to display with the copyright.')
|
|
26
|
+
.optional(),
|
|
27
|
+
language: zod_1.z
|
|
28
|
+
.string()
|
|
29
|
+
.regex(new RegExp('^[a-z]{3}$'))
|
|
30
|
+
.describe('The language of the translation.'),
|
|
31
|
+
nameEnglish: zod_1.z
|
|
32
|
+
.string()
|
|
33
|
+
.describe('The name of the bible translation in English.')
|
|
34
|
+
.optional(),
|
|
35
|
+
textSource: zod_1.z
|
|
36
|
+
.object({
|
|
37
|
+
includeSectionTitles: zod_1.z
|
|
38
|
+
.boolean()
|
|
39
|
+
.describe('Whether or not to include section titles in the text.')
|
|
40
|
+
.optional(),
|
|
41
|
+
source: zod_1.z.enum([
|
|
42
|
+
'dbl',
|
|
43
|
+
'bibleBrain',
|
|
44
|
+
'usfm',
|
|
45
|
+
'usfx',
|
|
46
|
+
'yvp',
|
|
47
|
+
'custom',
|
|
48
|
+
]),
|
|
49
|
+
sourceId: zod_1.z.string().optional(),
|
|
50
|
+
})
|
|
51
|
+
.strict()
|
|
52
|
+
.describe("Information about how to retrieve the text. Ideally, text is available on the DBL via API.Bible when the license is granted, but there are a few other options. We have access to translations available on BibleBrain as well as being able to parse USFX files. Some translations may be available on the YouVersion Platform (yvp). If none of these work, 'custom' can be used and some custom code added to leviathan to retrieve and parse the text."),
|
|
53
|
+
})
|
|
54
|
+
.strict());
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
import { z } from 'zod';
|
|
2
|
+
export declare const clones: z.ZodArray<z.ZodObject<{
|
|
3
|
+
appId: z.ZodString;
|
|
4
|
+
appIdCaps: z.ZodString;
|
|
5
|
+
appName: z.ZodString;
|
|
6
|
+
color: z.ZodString;
|
|
7
|
+
icon: z.ZodString;
|
|
8
|
+
iconNoBg: z.ZodString;
|
|
9
|
+
languages: z.ZodOptional<z.ZodAny>;
|
|
10
|
+
linkAndroid: z.ZodString;
|
|
11
|
+
linkIos: z.ZodString;
|
|
12
|
+
removeTraining: z.ZodBoolean;
|
|
13
|
+
}, "strict", z.ZodTypeAny, {
|
|
14
|
+
icon: string;
|
|
15
|
+
appId: string;
|
|
16
|
+
appIdCaps: string;
|
|
17
|
+
appName: string;
|
|
18
|
+
color: string;
|
|
19
|
+
iconNoBg: string;
|
|
20
|
+
linkAndroid: string;
|
|
21
|
+
linkIos: string;
|
|
22
|
+
removeTraining: boolean;
|
|
23
|
+
languages?: any;
|
|
24
|
+
}, {
|
|
25
|
+
icon: string;
|
|
26
|
+
appId: string;
|
|
27
|
+
appIdCaps: string;
|
|
28
|
+
appName: string;
|
|
29
|
+
color: string;
|
|
30
|
+
iconNoBg: string;
|
|
31
|
+
linkAndroid: string;
|
|
32
|
+
linkIos: string;
|
|
33
|
+
removeTraining: boolean;
|
|
34
|
+
languages?: any;
|
|
35
|
+
}>, "many">;
|
|
36
|
+
export type Clones = z.infer<typeof clones>;
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.clones = void 0;
|
|
4
|
+
const zod_1 = require("zod");
|
|
5
|
+
exports.clones = zod_1.z.array(zod_1.z
|
|
6
|
+
.object({
|
|
7
|
+
appId: zod_1.z.string().regex(new RegExp('^[a-z]*$')),
|
|
8
|
+
appIdCaps: zod_1.z.string().regex(new RegExp('^[A-Z]*$')),
|
|
9
|
+
appName: zod_1.z.string(),
|
|
10
|
+
color: zod_1.z.string().regex(new RegExp('^#[0-9A-Fa-f]{6}$')),
|
|
11
|
+
icon: zod_1.z
|
|
12
|
+
.string()
|
|
13
|
+
.regex(new RegExp('^src\\/assets\\/clones/[A-Za-z\\-\\_]*\\.png$')),
|
|
14
|
+
iconNoBg: zod_1.z
|
|
15
|
+
.string()
|
|
16
|
+
.regex(new RegExp('^src\\/assets\\/clones/[A-Za-z\\-\\_]*\\.png$')),
|
|
17
|
+
languages: zod_1.z.any().optional(),
|
|
18
|
+
linkAndroid: zod_1.z
|
|
19
|
+
.string()
|
|
20
|
+
.describe('URL to the app in the Google Play Store. Just `https://play.google.com/store/apps/details?id=com.kingdomstrategies.` + the clone appId.'),
|
|
21
|
+
linkIos: zod_1.z
|
|
22
|
+
.string()
|
|
23
|
+
.describe('URL to the app in the Apple App Store. After creating app on ASC, go to App Store Connect > App Information > Additional Information > App Store ID.'),
|
|
24
|
+
removeTraining: zod_1.z
|
|
25
|
+
.boolean()
|
|
26
|
+
.describe('If true, the training section and content will be removed from the clone.'),
|
|
27
|
+
})
|
|
28
|
+
.strict());
|
|
@@ -0,0 +1,98 @@
|
|
|
1
|
+
import { z } from 'zod';
|
|
2
|
+
export declare const countries: z.ZodEffects<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodObject<{
|
|
3
|
+
name: z.ZodString;
|
|
4
|
+
areaId: z.ZodEnum<["north-america", "latin-america-caribbean", "sub-saharan-africa", "middle-east-north-africa", "western-asia", "western-europe", "eastern-europe", "southern-asia", "central-asia", "eastern-asia", "southeast-asia", "oceania"]>;
|
|
5
|
+
boundingBox: z.ZodObject<{
|
|
6
|
+
ne: z.ZodObject<{
|
|
7
|
+
lat: z.ZodNumber;
|
|
8
|
+
lon: z.ZodNumber;
|
|
9
|
+
}, "strict", z.ZodTypeAny, {
|
|
10
|
+
lat: number;
|
|
11
|
+
lon: number;
|
|
12
|
+
}, {
|
|
13
|
+
lat: number;
|
|
14
|
+
lon: number;
|
|
15
|
+
}>;
|
|
16
|
+
sw: z.ZodObject<{
|
|
17
|
+
lat: z.ZodNumber;
|
|
18
|
+
lon: z.ZodNumber;
|
|
19
|
+
}, "strict", z.ZodTypeAny, {
|
|
20
|
+
lat: number;
|
|
21
|
+
lon: number;
|
|
22
|
+
}, {
|
|
23
|
+
lat: number;
|
|
24
|
+
lon: number;
|
|
25
|
+
}>;
|
|
26
|
+
}, "strict", z.ZodTypeAny, {
|
|
27
|
+
sw: {
|
|
28
|
+
lat: number;
|
|
29
|
+
lon: number;
|
|
30
|
+
};
|
|
31
|
+
ne: {
|
|
32
|
+
lat: number;
|
|
33
|
+
lon: number;
|
|
34
|
+
};
|
|
35
|
+
}, {
|
|
36
|
+
sw: {
|
|
37
|
+
lat: number;
|
|
38
|
+
lon: number;
|
|
39
|
+
};
|
|
40
|
+
ne: {
|
|
41
|
+
lat: number;
|
|
42
|
+
lon: number;
|
|
43
|
+
};
|
|
44
|
+
}>;
|
|
45
|
+
}, "strict", z.ZodTypeAny, {
|
|
46
|
+
name: string;
|
|
47
|
+
areaId: "north-america" | "latin-america-caribbean" | "sub-saharan-africa" | "middle-east-north-africa" | "western-asia" | "western-europe" | "eastern-europe" | "southern-asia" | "central-asia" | "eastern-asia" | "southeast-asia" | "oceania";
|
|
48
|
+
boundingBox: {
|
|
49
|
+
sw: {
|
|
50
|
+
lat: number;
|
|
51
|
+
lon: number;
|
|
52
|
+
};
|
|
53
|
+
ne: {
|
|
54
|
+
lat: number;
|
|
55
|
+
lon: number;
|
|
56
|
+
};
|
|
57
|
+
};
|
|
58
|
+
}, {
|
|
59
|
+
name: string;
|
|
60
|
+
areaId: "north-america" | "latin-america-caribbean" | "sub-saharan-africa" | "middle-east-north-africa" | "western-asia" | "western-europe" | "eastern-europe" | "southern-asia" | "central-asia" | "eastern-asia" | "southeast-asia" | "oceania";
|
|
61
|
+
boundingBox: {
|
|
62
|
+
sw: {
|
|
63
|
+
lat: number;
|
|
64
|
+
lon: number;
|
|
65
|
+
};
|
|
66
|
+
ne: {
|
|
67
|
+
lat: number;
|
|
68
|
+
lon: number;
|
|
69
|
+
};
|
|
70
|
+
};
|
|
71
|
+
}>, z.ZodNever]>>, Record<string, {
|
|
72
|
+
name: string;
|
|
73
|
+
areaId: "north-america" | "latin-america-caribbean" | "sub-saharan-africa" | "middle-east-north-africa" | "western-asia" | "western-europe" | "eastern-europe" | "southern-asia" | "central-asia" | "eastern-asia" | "southeast-asia" | "oceania";
|
|
74
|
+
boundingBox: {
|
|
75
|
+
sw: {
|
|
76
|
+
lat: number;
|
|
77
|
+
lon: number;
|
|
78
|
+
};
|
|
79
|
+
ne: {
|
|
80
|
+
lat: number;
|
|
81
|
+
lon: number;
|
|
82
|
+
};
|
|
83
|
+
};
|
|
84
|
+
}>, Record<string, {
|
|
85
|
+
name: string;
|
|
86
|
+
areaId: "north-america" | "latin-america-caribbean" | "sub-saharan-africa" | "middle-east-north-africa" | "western-asia" | "western-europe" | "eastern-europe" | "southern-asia" | "central-asia" | "eastern-asia" | "southeast-asia" | "oceania";
|
|
87
|
+
boundingBox: {
|
|
88
|
+
sw: {
|
|
89
|
+
lat: number;
|
|
90
|
+
lon: number;
|
|
91
|
+
};
|
|
92
|
+
ne: {
|
|
93
|
+
lat: number;
|
|
94
|
+
lon: number;
|
|
95
|
+
};
|
|
96
|
+
};
|
|
97
|
+
}>>;
|
|
98
|
+
export type Countries = z.infer<typeof countries>;
|