waha-shared 1.0.1 → 1.0.2
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,315 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.appTranslations = void 0;
|
|
4
|
+
const zod_1 = require("zod");
|
|
5
|
+
exports.appTranslations = zod_1.z
|
|
6
|
+
.record(zod_1.z
|
|
7
|
+
.object({
|
|
8
|
+
percent_available: zod_1.z.string().min(1).optional(),
|
|
9
|
+
name: zod_1.z.string().min(1),
|
|
10
|
+
version: zod_1.z.string().min(1),
|
|
11
|
+
a11y_add_secondary_language_hint: zod_1.z.string().min(1),
|
|
12
|
+
a11y_article_hint: zod_1.z.string().min(1),
|
|
13
|
+
a11y_banner_dismiss_hint: zod_1.z.string().min(1),
|
|
14
|
+
a11y_bible_audio_controls_label: zod_1.z.string().min(1),
|
|
15
|
+
a11y_bible_translation_hint: zod_1.z.string().min(1),
|
|
16
|
+
a11y_bookmark_hint: zod_1.z.string().min(1),
|
|
17
|
+
a11y_bookmark_label: zod_1.z.string().min(1),
|
|
18
|
+
a11y_change_languages_hint: zod_1.z.string().min(1),
|
|
19
|
+
a11y_chapter_button_hint: zod_1.z.string().min(1),
|
|
20
|
+
a11y_choose_primary_language_hint: zod_1.z.string().min(1),
|
|
21
|
+
a11y_clear_passcode_hint: zod_1.z.string().min(1),
|
|
22
|
+
a11y_download_set_label: zod_1.z.string().min(1),
|
|
23
|
+
a11y_extra_controls_hint: zod_1.z.string().min(1),
|
|
24
|
+
a11y_extra_controls_label: zod_1.z.string().min(1),
|
|
25
|
+
a11y_font_size_decrement_label: zod_1.z.string().min(1),
|
|
26
|
+
a11y_font_size_increment_label: zod_1.z.string().min(1),
|
|
27
|
+
a11y_font_size_label: zod_1.z.string().min(1),
|
|
28
|
+
a11y_give_button_hint: zod_1.z.string().min(1),
|
|
29
|
+
a11y_group_help_hint: zod_1.z.string().min(1),
|
|
30
|
+
a11y_lesson_actions_hint: zod_1.z.string().min(1),
|
|
31
|
+
a11y_lesson_actions_label: zod_1.z.string().min(1),
|
|
32
|
+
a11y_lesson_hint: zod_1.z.string().min(1),
|
|
33
|
+
a11y_lesson_label: zod_1.z.string().min(1),
|
|
34
|
+
a11y_lesson_question_label: zod_1.z.string().min(1),
|
|
35
|
+
a11y_lesson_text_hint: zod_1.z.string().min(1),
|
|
36
|
+
a11y_mute_label: zod_1.z.string().min(1),
|
|
37
|
+
a11y_play_button_label: zod_1.z.string().min(1),
|
|
38
|
+
a11y_playback_speed_decrement_label: zod_1.z.string().min(1),
|
|
39
|
+
a11y_playback_speed_increment_label: zod_1.z.string().min(1),
|
|
40
|
+
a11y_playback_speed_label: zod_1.z.string().min(1),
|
|
41
|
+
a11y_radio_hint: zod_1.z.string().min(1),
|
|
42
|
+
a11y_remove_language_label: zod_1.z.string().min(1),
|
|
43
|
+
a11y_scrubber_decrement_label: zod_1.z.string().min(1),
|
|
44
|
+
a11y_scrubber_increment_label: zod_1.z.string().min(1),
|
|
45
|
+
a11y_scrubber_label: zod_1.z.string().min(1),
|
|
46
|
+
a11y_search_hint: zod_1.z.string().min(1),
|
|
47
|
+
a11y_security_mode_label: zod_1.z.string().min(1),
|
|
48
|
+
a11y_set_hint: zod_1.z.string().min(1),
|
|
49
|
+
a11y_share_lesson_label: zod_1.z.string().min(1),
|
|
50
|
+
a11y_tab_hint: zod_1.z.string().min(1),
|
|
51
|
+
a11y_video_label: zod_1.z.string().min(1),
|
|
52
|
+
a11y_view_bible_hint: zod_1.z.string().min(1),
|
|
53
|
+
a11y_view_in_progress_language_hint: zod_1.z.string().min(1),
|
|
54
|
+
a11y_view_launched_language_hint: zod_1.z.string().min(1),
|
|
55
|
+
about: zod_1.z.string().min(1),
|
|
56
|
+
add_language: zod_1.z.string().min(1),
|
|
57
|
+
all: zod_1.z.string().min(1),
|
|
58
|
+
all_languages: zod_1.z.string().min(1),
|
|
59
|
+
app_store_listing_title: zod_1.z.string().min(1),
|
|
60
|
+
app_store_listing_description: zod_1.z.string().min(1),
|
|
61
|
+
app_store_listing_screenshot_foundations: zod_1.z.string().min(1),
|
|
62
|
+
app_store_listing_screenshot_languages: zod_1.z.string().min(1),
|
|
63
|
+
app_store_listing_screenshot_learn: zod_1.z.string().min(1),
|
|
64
|
+
app_store_listing_screenshot_lesson: zod_1.z.string().min(1),
|
|
65
|
+
app_store_listing_screenshot_reviews_1: zod_1.z.string().min(1),
|
|
66
|
+
app_store_listing_screenshot_reviews_2: zod_1.z.string().min(1),
|
|
67
|
+
app_store_listing_screenshot_set: zod_1.z.string().min(1),
|
|
68
|
+
app_store_listing_screenshot_share: zod_1.z.string().min(1),
|
|
69
|
+
app_store_listing_screenshot_testimonial: zod_1.z.string().min(1),
|
|
70
|
+
app_store_listing_screenshot_topics: zod_1.z.string().min(1),
|
|
71
|
+
app_store_listing_subtitle: zod_1.z.string().min(1),
|
|
72
|
+
appearance: zod_1.z.string().min(1),
|
|
73
|
+
application: zod_1.z.string().min(1),
|
|
74
|
+
article_categories_65004e85fba2e8c9d281a73e: zod_1.z.string().min(1),
|
|
75
|
+
article_categories_65004e8eaf7c1d3f8289315a: zod_1.z.string().min(1),
|
|
76
|
+
article_categories_65004f8eead7951cf3c33243: zod_1.z.string().min(1),
|
|
77
|
+
article_categories_65005061a72598db83565c66: zod_1.z.string().min(1),
|
|
78
|
+
article_categories_65400527806b42d2e6ae4fd0: zod_1.z.string().min(1),
|
|
79
|
+
article_categories_65ca47557375e35a56523645: zod_1.z.string().min(1),
|
|
80
|
+
article_cta_body: zod_1.z.string().min(1),
|
|
81
|
+
article_cta_header: zod_1.z.string().min(1),
|
|
82
|
+
articles: zod_1.z.string().min(1),
|
|
83
|
+
audio: zod_1.z.string().min(1),
|
|
84
|
+
back: zod_1.z.string().min(1),
|
|
85
|
+
bible: zod_1.z.string().min(1),
|
|
86
|
+
bookmarks: zod_1.z.string().min(1),
|
|
87
|
+
bookmarks_description: zod_1.z.string().min(1),
|
|
88
|
+
bridge_language_explanation: zod_1.z.string().min(1),
|
|
89
|
+
calculator: zod_1.z.string().min(1),
|
|
90
|
+
calculator_description: zod_1.z.string().min(1),
|
|
91
|
+
cancel: zod_1.z.string().min(1),
|
|
92
|
+
cant_share_until_download: zod_1.z.string().min(1),
|
|
93
|
+
cast_to_tv: zod_1.z.string().min(1),
|
|
94
|
+
casting: zod_1.z.string().min(1),
|
|
95
|
+
change_chapter: zod_1.z.string().min(1),
|
|
96
|
+
change_languages: zod_1.z.string().min(1),
|
|
97
|
+
change_passcode: zod_1.z.string().min(1),
|
|
98
|
+
change_security_app: zod_1.z.string().min(1),
|
|
99
|
+
change_security_app_description: zod_1.z.string().min(1),
|
|
100
|
+
change_timeout: zod_1.z.string().min(1),
|
|
101
|
+
change_video_language: zod_1.z.string().min(1),
|
|
102
|
+
changing_layout_direction: zod_1.z.string().min(1),
|
|
103
|
+
chapter_fetching: zod_1.z.string().min(1),
|
|
104
|
+
chapter_not_available: zod_1.z.string().min(1),
|
|
105
|
+
chapter_offline: zod_1.z.string().min(1),
|
|
106
|
+
choose_passcode: zod_1.z.string().min(1),
|
|
107
|
+
clear: zod_1.z.string().min(1),
|
|
108
|
+
close: zod_1.z.string().min(1),
|
|
109
|
+
confirm: zod_1.z.string().min(1),
|
|
110
|
+
confirm_passcode: zod_1.z.string().min(1),
|
|
111
|
+
connect_to_continue: zod_1.z.string().min(1),
|
|
112
|
+
contact_us: zod_1.z.string().min(1),
|
|
113
|
+
continue: zod_1.z.string().min(1),
|
|
114
|
+
contribute: zod_1.z.string().min(1),
|
|
115
|
+
copied_to_clipboard: zod_1.z.string().min(1),
|
|
116
|
+
dark: zod_1.z.string().min(1),
|
|
117
|
+
dark_mode: zod_1.z.string().min(1),
|
|
118
|
+
default: zod_1.z.string().min(1),
|
|
119
|
+
disciple_making_course: zod_1.z.string().min(1),
|
|
120
|
+
dm_course_locked_blurb: zod_1.z.string().min(1),
|
|
121
|
+
done: zod_1.z.string().min(1),
|
|
122
|
+
download: zod_1.z.string().min(1),
|
|
123
|
+
download_app: zod_1.z.string().min(1),
|
|
124
|
+
download_paused: zod_1.z.string().min(1),
|
|
125
|
+
downloading: zod_1.z.string().min(1),
|
|
126
|
+
downloading_to_share: zod_1.z.string().min(1),
|
|
127
|
+
edit: zod_1.z.string().min(1),
|
|
128
|
+
email: zod_1.z.string().min(1),
|
|
129
|
+
enter_passcode: zod_1.z.string().min(1),
|
|
130
|
+
favorites: zod_1.z.string().min(1),
|
|
131
|
+
fellowship: zod_1.z.string().min(1),
|
|
132
|
+
filter_articles: zod_1.z.string().min(1),
|
|
133
|
+
font_size: zod_1.z.string().min(1),
|
|
134
|
+
foundations: zod_1.z.string().min(1),
|
|
135
|
+
get_started_foundations: zod_1.z.string().min(1),
|
|
136
|
+
get_started_training: zod_1.z.string().min(1),
|
|
137
|
+
give: zod_1.z.string().min(1),
|
|
138
|
+
give_blurb: zod_1.z.string().min(1),
|
|
139
|
+
give_to_language: zod_1.z.string().min(1),
|
|
140
|
+
got_it: zod_1.z.string().min(1),
|
|
141
|
+
help_tips: zod_1.z.string().min(1),
|
|
142
|
+
heres_whats_new: zod_1.z.string().min(1),
|
|
143
|
+
home: zod_1.z.string().min(1),
|
|
144
|
+
in_development: zod_1.z.string().min(1),
|
|
145
|
+
instant: zod_1.z.string().min(1),
|
|
146
|
+
internet_required_download: zod_1.z.string().min(1),
|
|
147
|
+
internet_required_download_share: zod_1.z.string().min(1),
|
|
148
|
+
introduction: zod_1.z.string().min(1),
|
|
149
|
+
language_types_app_interface: zod_1.z.string().min(1),
|
|
150
|
+
language_types_meet: zod_1.z.string().min(1),
|
|
151
|
+
language_types_meet_primary: zod_1.z.string().min(1),
|
|
152
|
+
language_types_meet_secondary: zod_1.z.string().min(1),
|
|
153
|
+
language_types_video_bridge: zod_1.z.string().min(1),
|
|
154
|
+
learn: zod_1.z.string().min(1),
|
|
155
|
+
learn_more: zod_1.z.string().min(1),
|
|
156
|
+
light: zod_1.z.string().min(1),
|
|
157
|
+
listen_to_story_again: zod_1.z.string().min(1),
|
|
158
|
+
loading_file_size: zod_1.z.string().min(1),
|
|
159
|
+
mark_complete: zod_1.z.string().min(1),
|
|
160
|
+
meet: zod_1.z.string().min(1),
|
|
161
|
+
meeting_history: zod_1.z.string().min(1),
|
|
162
|
+
megabyte: zod_1.z.string().min(1),
|
|
163
|
+
message: zod_1.z.string().min(1),
|
|
164
|
+
more: zod_1.z.string().min(1),
|
|
165
|
+
my_primary_language: zod_1.z.string().min(1),
|
|
166
|
+
no_connection: zod_1.z.string().min(1),
|
|
167
|
+
no_files_to_delete: zod_1.z.string().min(1),
|
|
168
|
+
no_languages_found: zod_1.z.string().min(1),
|
|
169
|
+
not_now: zod_1.z.string().min(1),
|
|
170
|
+
note_add: zod_1.z.string().min(1),
|
|
171
|
+
note_delete: zod_1.z.string().min(1),
|
|
172
|
+
note_edit: zod_1.z.string().min(1),
|
|
173
|
+
note_placeholder: zod_1.z.string().min(1),
|
|
174
|
+
note_saved: zod_1.z.string().min(1),
|
|
175
|
+
notes_view: zod_1.z.string().min(1),
|
|
176
|
+
notifications_enable: zod_1.z.string().min(1),
|
|
177
|
+
ok: zod_1.z.string().min(1),
|
|
178
|
+
passcode_set: zod_1.z.string().min(1),
|
|
179
|
+
piano: zod_1.z.string().min(1),
|
|
180
|
+
piano_description: zod_1.z.string().min(1),
|
|
181
|
+
playback_speed: zod_1.z.string().min(1),
|
|
182
|
+
popups_app_interface_help: zod_1.z.string().min(1),
|
|
183
|
+
popups_casting_stop_confirm: zod_1.z.string().min(1),
|
|
184
|
+
popups_code_request_success_message: zod_1.z.string().min(1),
|
|
185
|
+
popups_codes_no_match_title: zod_1.z.string().min(1),
|
|
186
|
+
popups_codes_no_match_message: zod_1.z.string().min(1),
|
|
187
|
+
popups_foundations_description_believer: zod_1.z.string().min(1),
|
|
188
|
+
popups_foundations_description_seeker: zod_1.z.string().min(1),
|
|
189
|
+
popups_group_help_title: zod_1.z.string().min(1),
|
|
190
|
+
popups_group_help_message: zod_1.z.string().min(1),
|
|
191
|
+
popups_meet_help: zod_1.z.string().min(1),
|
|
192
|
+
popups_notification_opt_in_title: zod_1.z.string().min(1),
|
|
193
|
+
popups_notification_opt_in_message: zod_1.z.string().min(1),
|
|
194
|
+
popups_play_help_title: zod_1.z.string().min(1),
|
|
195
|
+
popups_play_help_message: zod_1.z.string().min(1),
|
|
196
|
+
popups_remove_meeting_title: zod_1.z.string().min(1),
|
|
197
|
+
popups_remove_meeting_message: zod_1.z.string().min(1),
|
|
198
|
+
popups_submit_feedback_error_title: zod_1.z.string().min(1),
|
|
199
|
+
popups_submit_feedback_error_message: zod_1.z.string().min(1),
|
|
200
|
+
popups_submit_feedback_success_title: zod_1.z.string().min(1),
|
|
201
|
+
popups_submit_feedback_success_message: zod_1.z.string().min(1),
|
|
202
|
+
popups_topics_description: zod_1.z.string().min(1),
|
|
203
|
+
popups_training_description_believer: zod_1.z.string().min(1),
|
|
204
|
+
popups_unlock_successful_title: zod_1.z.string().min(1),
|
|
205
|
+
popups_unlock_successful_message: zod_1.z.string().min(1),
|
|
206
|
+
popups_unlocked_learn_help_title: zod_1.z.string().min(1),
|
|
207
|
+
popups_unlocked_learn_help_message: zod_1.z.string().min(1),
|
|
208
|
+
popups_watch_on_youtube_blurb: zod_1.z.string().min(1),
|
|
209
|
+
privacy_policy: zod_1.z.string().min(1),
|
|
210
|
+
question: zod_1.z.string().min(1),
|
|
211
|
+
question_dm_course: zod_1.z.string().min(1),
|
|
212
|
+
question_god_journey_option_1: zod_1.z.string().min(1),
|
|
213
|
+
question_god_journey_option_2: zod_1.z.string().min(1),
|
|
214
|
+
question_god_journey_option_3: zod_1.z.string().min(1),
|
|
215
|
+
question_god_journey_option_4: zod_1.z.string().min(1),
|
|
216
|
+
question_god_journey_question: zod_1.z.string().min(1),
|
|
217
|
+
question_hear_waha: zod_1.z.string().min(1),
|
|
218
|
+
question_how_familiar_bible_option_1_body: zod_1.z.string().min(1),
|
|
219
|
+
question_how_familiar_bible_option_1_title: zod_1.z.string().min(1),
|
|
220
|
+
question_how_familiar_bible_option_2_body: zod_1.z.string().min(1),
|
|
221
|
+
question_how_familiar_bible_option_2_title: zod_1.z.string().min(1),
|
|
222
|
+
question_how_familiar_bible_option_3_body: zod_1.z.string().min(1),
|
|
223
|
+
question_how_familiar_bible_option_3_title: zod_1.z.string().min(1),
|
|
224
|
+
question_how_familiar_bible_question: zod_1.z.string().min(1),
|
|
225
|
+
question_how_long_bible_option_1: zod_1.z.string().min(1),
|
|
226
|
+
question_how_long_bible_option_2: zod_1.z.string().min(1),
|
|
227
|
+
question_how_long_bible_question: zod_1.z.string().min(1),
|
|
228
|
+
rate_waha: zod_1.z.string().min(1),
|
|
229
|
+
recommended: zod_1.z.string().min(1),
|
|
230
|
+
recommended_for_you: zod_1.z.string().min(1),
|
|
231
|
+
remove: zod_1.z.string().min(1),
|
|
232
|
+
remove_download: zod_1.z.string().min(1),
|
|
233
|
+
report_a_problem: zod_1.z.string().min(1),
|
|
234
|
+
report_problem_help: zod_1.z.string().min(1),
|
|
235
|
+
request_passcode: zod_1.z.string().min(1),
|
|
236
|
+
required: zod_1.z.string().min(1),
|
|
237
|
+
return_home: zod_1.z.string().min(1),
|
|
238
|
+
save_and_close: zod_1.z.string().min(1),
|
|
239
|
+
search: zod_1.z.string().min(1),
|
|
240
|
+
search_meet: zod_1.z.string().min(1),
|
|
241
|
+
secondary_languages: zod_1.z.string().min(1),
|
|
242
|
+
security: zod_1.z.string().min(1),
|
|
243
|
+
security_mode: zod_1.z.string().min(1),
|
|
244
|
+
security_mode_blurb: zod_1.z.string().min(1),
|
|
245
|
+
security_onboarding_page_1_message: zod_1.z.string().min(1),
|
|
246
|
+
security_onboarding_page_1_title: zod_1.z.string().min(1),
|
|
247
|
+
security_onboarding_page_2_message: zod_1.z.string().min(1),
|
|
248
|
+
security_onboarding_page_2_title: zod_1.z.string().min(1),
|
|
249
|
+
security_onboarding_page_3_message: zod_1.z.string().min(1),
|
|
250
|
+
security_onboarding_page_3_title: zod_1.z.string().min(1),
|
|
251
|
+
security_onboarding_page_4_message: zod_1.z.string().min(1),
|
|
252
|
+
security_onboarding_page_4_title: zod_1.z.string().min(1),
|
|
253
|
+
see_help: zod_1.z.string().min(1),
|
|
254
|
+
select_bible: zod_1.z.string().min(1),
|
|
255
|
+
select_book: zod_1.z.string().min(1),
|
|
256
|
+
select_initial_languages_blurb: zod_1.z.string().min(1),
|
|
257
|
+
send_invite: zod_1.z.string().min(1),
|
|
258
|
+
settings: zod_1.z.string().min(1),
|
|
259
|
+
share: zod_1.z.string().min(1),
|
|
260
|
+
share_app: zod_1.z.string().min(1),
|
|
261
|
+
share_lesson_audio: zod_1.z.string().min(1),
|
|
262
|
+
share_lesson_link: zod_1.z.string().min(1),
|
|
263
|
+
share_lesson_text: zod_1.z.string().min(1),
|
|
264
|
+
share_lesson_video: zod_1.z.string().min(1),
|
|
265
|
+
share_passcode: zod_1.z.string().min(1),
|
|
266
|
+
share_story: zod_1.z.string().min(1),
|
|
267
|
+
share_story_text: zod_1.z.string().min(1),
|
|
268
|
+
share_with_group: zod_1.z.string().min(1),
|
|
269
|
+
sharing_messages_invite: zod_1.z.string().min(1),
|
|
270
|
+
sharing_messages_unlock_code: zod_1.z.string().min(1),
|
|
271
|
+
show_less: zod_1.z.string().min(1),
|
|
272
|
+
show_more: zod_1.z.string().min(1),
|
|
273
|
+
show_original: zod_1.z.string().min(1),
|
|
274
|
+
show_translation: zod_1.z.string().min(1),
|
|
275
|
+
skip: zod_1.z.string().min(1),
|
|
276
|
+
special_thanks: zod_1.z.string().min(1),
|
|
277
|
+
stop_casting: zod_1.z.string().min(1),
|
|
278
|
+
storage: zod_1.z.string().min(1),
|
|
279
|
+
story: zod_1.z.string().min(1),
|
|
280
|
+
submit: zod_1.z.string().min(1),
|
|
281
|
+
submitting: zod_1.z.string().min(1),
|
|
282
|
+
support_development: zod_1.z.string().min(1),
|
|
283
|
+
system: zod_1.z.string().min(1),
|
|
284
|
+
text: zod_1.z.string().min(1),
|
|
285
|
+
topics: zod_1.z.string().min(1),
|
|
286
|
+
trailer: zod_1.z.string().min(1),
|
|
287
|
+
training: zod_1.z.string().min(1),
|
|
288
|
+
training_video: zod_1.z.string().min(1),
|
|
289
|
+
translated_with_ai: zod_1.z.string().min(1),
|
|
290
|
+
unlock_onboarding_page_1_message: zod_1.z.string().min(1),
|
|
291
|
+
unlock_onboarding_page_1_title: zod_1.z.string().min(1),
|
|
292
|
+
unlock_onboarding_page_2_message: zod_1.z.string().min(1),
|
|
293
|
+
unlock_onboarding_page_2_title: zod_1.z.string().min(1),
|
|
294
|
+
unmatched_message: zod_1.z.string().min(1),
|
|
295
|
+
up_next: zod_1.z.string().min(1),
|
|
296
|
+
view: zod_1.z.string().min(1),
|
|
297
|
+
view_all: zod_1.z.string().min(1),
|
|
298
|
+
view_copyright: zod_1.z.string().min(1),
|
|
299
|
+
view_lesson_notes: zod_1.z.string().min(1),
|
|
300
|
+
visit_website: zod_1.z.string().min(1),
|
|
301
|
+
volunteer: zod_1.z.string().min(1),
|
|
302
|
+
waiting_to_start_download: zod_1.z.string().min(1),
|
|
303
|
+
watch_on_youtube: zod_1.z.string().min(1),
|
|
304
|
+
week: zod_1.z.string().min(1),
|
|
305
|
+
welcome_blurb: zod_1.z.string().min(1),
|
|
306
|
+
yes: zod_1.z.string().min(1),
|
|
307
|
+
retry: zod_1.z.string().min(1),
|
|
308
|
+
fetch_bible_no_internet: zod_1.z.string().min(1),
|
|
309
|
+
fetch_bible_error: zod_1.z.string().min(1),
|
|
310
|
+
language_names: zod_1.z
|
|
311
|
+
.record(zod_1.z.string().min(1))
|
|
312
|
+
.describe('Mapping of language codes (ISO 639 or internal codes) to their localized display names'),
|
|
313
|
+
})
|
|
314
|
+
.describe('Translations for a single language (identified by a 3-letter code)_'))
|
|
315
|
+
.describe('Schema for appTranslations_json_ Root keys are 3-letter language identifiers (ISO-639 style)_ Each language object contains well-defined translation collections_');
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import { z } from 'zod';
|
|
2
|
+
export declare const areas: z.ZodArray<z.ZodObject<{
|
|
3
|
+
name: z.ZodString;
|
|
4
|
+
id: 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
|
+
lat: z.ZodNumber;
|
|
6
|
+
lng: z.ZodNumber;
|
|
7
|
+
}, "strict", z.ZodTypeAny, {
|
|
8
|
+
name: string;
|
|
9
|
+
id: "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";
|
|
10
|
+
lat: number;
|
|
11
|
+
lng: number;
|
|
12
|
+
}, {
|
|
13
|
+
name: string;
|
|
14
|
+
id: "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";
|
|
15
|
+
lat: number;
|
|
16
|
+
lng: number;
|
|
17
|
+
}>, "many">;
|
|
18
|
+
export type Areas = z.infer<typeof areas>;
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.areas = void 0;
|
|
4
|
+
const zod_1 = require("zod");
|
|
5
|
+
exports.areas = zod_1.z
|
|
6
|
+
.array(zod_1.z
|
|
7
|
+
.object({
|
|
8
|
+
name: zod_1.z
|
|
9
|
+
.string()
|
|
10
|
+
.min(1)
|
|
11
|
+
.describe('Human-readable display name for the area'),
|
|
12
|
+
id: zod_1.z
|
|
13
|
+
.enum([
|
|
14
|
+
'north-america',
|
|
15
|
+
'latin-america-caribbean',
|
|
16
|
+
'sub-saharan-africa',
|
|
17
|
+
'middle-east-north-africa',
|
|
18
|
+
'western-asia',
|
|
19
|
+
'western-europe',
|
|
20
|
+
'eastern-europe',
|
|
21
|
+
'southern-asia',
|
|
22
|
+
'central-asia',
|
|
23
|
+
'eastern-asia',
|
|
24
|
+
'southeast-asia',
|
|
25
|
+
'oceania',
|
|
26
|
+
])
|
|
27
|
+
.describe('The geographical area identifier'),
|
|
28
|
+
lat: zod_1.z
|
|
29
|
+
.number()
|
|
30
|
+
.gte(-90)
|
|
31
|
+
.lte(90)
|
|
32
|
+
.describe('Latitude coordinate for the area center point'),
|
|
33
|
+
lng: zod_1.z
|
|
34
|
+
.number()
|
|
35
|
+
.gte(-180)
|
|
36
|
+
.lte(180)
|
|
37
|
+
.describe('Longitude coordinate for the area center point'),
|
|
38
|
+
})
|
|
39
|
+
.strict()
|
|
40
|
+
.describe('A geographic area with identification, coordinates, and display information'))
|
|
41
|
+
.min(1)
|
|
42
|
+
.describe('Schema for geographic areas with coordinates and metadata');
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
import { z } from 'zod';
|
|
2
|
+
export declare const aslTimestamps: z.ZodArray<z.ZodObject<{
|
|
3
|
+
bookId: z.ZodString;
|
|
4
|
+
chapters: z.ZodArray<z.ZodNumber, "many">;
|
|
5
|
+
section: z.ZodArray<z.ZodString, "many">;
|
|
6
|
+
verses: z.ZodArray<z.ZodObject<{
|
|
7
|
+
chapter: z.ZodNumber;
|
|
8
|
+
timestamp: z.ZodNumber;
|
|
9
|
+
verse: z.ZodNumber;
|
|
10
|
+
verseId: z.ZodString;
|
|
11
|
+
}, "strict", z.ZodTypeAny, {
|
|
12
|
+
chapter: number;
|
|
13
|
+
timestamp: number;
|
|
14
|
+
verse: number;
|
|
15
|
+
verseId: string;
|
|
16
|
+
}, {
|
|
17
|
+
chapter: number;
|
|
18
|
+
timestamp: number;
|
|
19
|
+
verse: number;
|
|
20
|
+
verseId: string;
|
|
21
|
+
}>, "many">;
|
|
22
|
+
}, "strict", z.ZodTypeAny, {
|
|
23
|
+
bookId: string;
|
|
24
|
+
verses: {
|
|
25
|
+
chapter: number;
|
|
26
|
+
timestamp: number;
|
|
27
|
+
verse: number;
|
|
28
|
+
verseId: string;
|
|
29
|
+
}[];
|
|
30
|
+
chapters: number[];
|
|
31
|
+
section: string[];
|
|
32
|
+
}, {
|
|
33
|
+
bookId: string;
|
|
34
|
+
verses: {
|
|
35
|
+
chapter: number;
|
|
36
|
+
timestamp: number;
|
|
37
|
+
verse: number;
|
|
38
|
+
verseId: string;
|
|
39
|
+
}[];
|
|
40
|
+
chapters: number[];
|
|
41
|
+
section: string[];
|
|
42
|
+
}>, "many">;
|
|
43
|
+
export type AslTimestamps = z.infer<typeof aslTimestamps>;
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.aslTimestamps = void 0;
|
|
4
|
+
const zod_1 = require("zod");
|
|
5
|
+
exports.aslTimestamps = zod_1.z.array(zod_1.z
|
|
6
|
+
.object({
|
|
7
|
+
bookId: zod_1.z.string().describe('The book ID (e.g., GEN, EXO)'),
|
|
8
|
+
chapters: zod_1.z
|
|
9
|
+
.array(zod_1.z.number().int())
|
|
10
|
+
.min(2)
|
|
11
|
+
.max(2)
|
|
12
|
+
.describe('The start and end chapter numbers for this section'),
|
|
13
|
+
section: zod_1.z
|
|
14
|
+
.array(zod_1.z.string())
|
|
15
|
+
.min(2)
|
|
16
|
+
.max(2)
|
|
17
|
+
.describe('The start and end verse IDs for this section (e.g., GEN.1.1, GEN.2.4)'),
|
|
18
|
+
verses: zod_1.z
|
|
19
|
+
.array(zod_1.z
|
|
20
|
+
.object({
|
|
21
|
+
chapter: zod_1.z.number().int().describe('The chapter number'),
|
|
22
|
+
timestamp: zod_1.z
|
|
23
|
+
.number()
|
|
24
|
+
.describe('The timestamp in seconds for this verse'),
|
|
25
|
+
verse: zod_1.z.number().int().describe('The verse number'),
|
|
26
|
+
verseId: zod_1.z.string().describe('The verse ID (e.g., GEN.1.1)'),
|
|
27
|
+
})
|
|
28
|
+
.strict())
|
|
29
|
+
.describe('Array of verse timing information'),
|
|
30
|
+
})
|
|
31
|
+
.strict());
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
import { z } from "zod";
|
|
2
|
+
export declare const bibleAudioAvailableChapters: 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 BibleAudioAvailableChapters = z.infer<typeof bibleAudioAvailableChapters>;
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.bibleAudioAvailableChapters = void 0;
|
|
4
|
+
const zod_1 = require("zod");
|
|
5
|
+
exports.bibleAudioAvailableChapters = 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 audio 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 audio 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 audio chapters");
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import { z } from 'zod';
|
|
2
|
+
export declare const bibleAudios: z.ZodArray<z.ZodObject<{
|
|
3
|
+
bibleAudioId: z.ZodString;
|
|
4
|
+
audioSource: z.ZodAny;
|
|
5
|
+
canDownload: z.ZodBoolean;
|
|
6
|
+
copyright: z.ZodOptional<z.ZodString>;
|
|
7
|
+
disableStar: z.ZodOptional<z.ZodAny>;
|
|
8
|
+
}, "strict", z.ZodTypeAny, {
|
|
9
|
+
bibleAudioId: string;
|
|
10
|
+
canDownload: boolean;
|
|
11
|
+
audioSource?: any;
|
|
12
|
+
copyright?: string | undefined;
|
|
13
|
+
disableStar?: any;
|
|
14
|
+
}, {
|
|
15
|
+
bibleAudioId: string;
|
|
16
|
+
canDownload: boolean;
|
|
17
|
+
audioSource?: any;
|
|
18
|
+
copyright?: string | undefined;
|
|
19
|
+
disableStar?: any;
|
|
20
|
+
}>, "many">;
|
|
21
|
+
export type BibleAudios = z.infer<typeof bibleAudios>;
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.bibleAudios = void 0;
|
|
4
|
+
const zod_1 = require("zod");
|
|
5
|
+
exports.bibleAudios = zod_1.z.array(zod_1.z
|
|
6
|
+
.object({
|
|
7
|
+
bibleAudioId: zod_1.z.string(),
|
|
8
|
+
audioSource: zod_1.z
|
|
9
|
+
.any()
|
|
10
|
+
.describe('The best place to get audio bible chapters for this bible translation. Audio is hopefully available on the DBL via API.Bible when the license is granted. If not, it may be available on YouVersion. If not, the license holder may provide the audio. If not, the audio may be available to be scraped somewhere on the internet. For the last 2 options, use `custom`.'),
|
|
11
|
+
canDownload: zod_1.z
|
|
12
|
+
.boolean()
|
|
13
|
+
.describe('Whether or not the audio can be downloaded for offline use on the web. Most likely false, unless the translation is creative commons.'),
|
|
14
|
+
copyright: zod_1.z
|
|
15
|
+
.string()
|
|
16
|
+
.describe('Any copyright attribution text required to be added to the app for this translation for legal purposes.')
|
|
17
|
+
.optional(),
|
|
18
|
+
disableStar: zod_1.z
|
|
19
|
+
.any()
|
|
20
|
+
.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.')
|
|
21
|
+
.optional(),
|
|
22
|
+
})
|
|
23
|
+
.strict());
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
import { z } from "zod";
|
|
2
|
+
export declare const bibleBookNames: z.ZodEffects<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodRecord<z.ZodString, z.ZodString>, z.ZodEffects<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString]>>, Record<string, string>, Record<string, string>>]>>, Record<string, Record<string, string>>, Record<string, Record<string, string>>>;
|
|
3
|
+
export type BibleBookNames = z.infer<typeof bibleBookNames>;
|
|
@@ -0,0 +1,98 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.bibleBookNames = void 0;
|
|
4
|
+
const zod_1 = require("zod");
|
|
5
|
+
exports.bibleBookNames = zod_1.z.record(zod_1.z.union([zod_1.z.record(zod_1.z.string()), zod_1.z.record(zod_1.z.union([zod_1.z.string().describe("Localized name for the book ID (e.g., 'GEN' -> 'Génesis')"), zod_1.z.string().describe("Localized name of the bible book")])).superRefine((value, ctx) => {
|
|
6
|
+
for (const key in value) {
|
|
7
|
+
let evaluated = false;
|
|
8
|
+
if (key.match(new RegExp("^[A-Z0-9]{3}$"))) {
|
|
9
|
+
evaluated = true;
|
|
10
|
+
const result = zod_1.z.string().describe("Localized name for the book ID (e.g., 'GEN' -> 'Génesis')").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.string().describe("Localized name of the bible book").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 book IDs to their localized names for this translation")])).superRefine((value, ctx) => {
|
|
37
|
+
for (const key in value) {
|
|
38
|
+
let evaluated = false;
|
|
39
|
+
if (key.match(new RegExp("^[A-Z0-9]+$"))) {
|
|
40
|
+
evaluated = true;
|
|
41
|
+
const result = zod_1.z.record(zod_1.z.string()).safeParse(value[key]);
|
|
42
|
+
if (!result.success) {
|
|
43
|
+
ctx.addIssue({
|
|
44
|
+
path: [...ctx.path, key],
|
|
45
|
+
code: 'custom',
|
|
46
|
+
message: `Invalid input: Key matching regex /${key}/ must match schema`,
|
|
47
|
+
params: {
|
|
48
|
+
issues: result.error.issues
|
|
49
|
+
}
|
|
50
|
+
});
|
|
51
|
+
}
|
|
52
|
+
}
|
|
53
|
+
if (!evaluated) {
|
|
54
|
+
const result = zod_1.z.record(zod_1.z.union([zod_1.z.string().describe("Localized name for the book ID (e.g., 'GEN' -> 'Génesis')"), zod_1.z.string().describe("Localized name of the bible book")])).superRefine((value, ctx) => {
|
|
55
|
+
for (const key in value) {
|
|
56
|
+
let evaluated = false;
|
|
57
|
+
if (key.match(new RegExp("^[A-Z0-9]{3}$"))) {
|
|
58
|
+
evaluated = true;
|
|
59
|
+
const result = zod_1.z.string().describe("Localized name for the book ID (e.g., 'GEN' -> 'Génesis')").safeParse(value[key]);
|
|
60
|
+
if (!result.success) {
|
|
61
|
+
ctx.addIssue({
|
|
62
|
+
path: [...ctx.path, key],
|
|
63
|
+
code: 'custom',
|
|
64
|
+
message: `Invalid input: Key matching regex /${key}/ must match schema`,
|
|
65
|
+
params: {
|
|
66
|
+
issues: result.error.issues
|
|
67
|
+
}
|
|
68
|
+
});
|
|
69
|
+
}
|
|
70
|
+
}
|
|
71
|
+
if (!evaluated) {
|
|
72
|
+
const result = zod_1.z.string().describe("Localized name of the bible book").safeParse(value[key]);
|
|
73
|
+
if (!result.success) {
|
|
74
|
+
ctx.addIssue({
|
|
75
|
+
path: [...ctx.path, key],
|
|
76
|
+
code: 'custom',
|
|
77
|
+
message: `Invalid input: must match catchall schema`,
|
|
78
|
+
params: {
|
|
79
|
+
issues: result.error.issues
|
|
80
|
+
}
|
|
81
|
+
});
|
|
82
|
+
}
|
|
83
|
+
}
|
|
84
|
+
}
|
|
85
|
+
}).describe("A mapping of Bible book IDs to their localized names for this translation").safeParse(value[key]);
|
|
86
|
+
if (!result.success) {
|
|
87
|
+
ctx.addIssue({
|
|
88
|
+
path: [...ctx.path, key],
|
|
89
|
+
code: 'custom',
|
|
90
|
+
message: `Invalid input: must match catchall schema`,
|
|
91
|
+
params: {
|
|
92
|
+
issues: result.error.issues
|
|
93
|
+
}
|
|
94
|
+
});
|
|
95
|
+
}
|
|
96
|
+
}
|
|
97
|
+
}
|
|
98
|
+
}).describe("A mapping of bible translation IDs to their localized book names");
|