waha-shared 1.0.264 → 1.0.266
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/assets/fonts/fonts.css +1 -1
- package/dist/data/languageAssets/languageAssets.json +11 -1
- package/dist/data/languages/languages.json +3 -0
- package/dist/data/mediaDurations/mediaDurations.json +11 -1
- package/dist/data/releaseNotes/releaseNotes.json +137 -2
- package/dist/data/translationsApp/index.d.ts +16 -1
- package/dist/data/translationsApp/translationsApp.json +2951 -62
- package/dist/data/translationsApp/translationsApp.schema.json +17 -2
- package/dist/data/translationsApp/translationsApp.zod.d.ts +347 -1
- package/dist/data/translationsApp/translationsApp.zod.js +22 -8
- package/dist/data/translationsSet/translationsSet.schema.json +1 -1
- package/dist/data/translationsSet/translationsSet.zod.js +1 -1
- package/dist/functions/scripturePassages.d.ts +24 -0
- package/dist/functions/scripturePassages.js +29 -4
- package/dist/types/analytics.d.ts +7 -1
- package/dist/types/microLessons.d.ts +12 -12
- package/dist/types/microLessons.js +48 -18
- package/dist/types/users.d.ts +34 -41
- package/dist/types/users.js +3 -19
- package/dist/types/webContent.js +2 -0
- package/package.json +1 -1
|
@@ -223,7 +223,6 @@
|
|
|
223
223
|
"language_types_meet_primary": { "type": "string", "minLength": 1 },
|
|
224
224
|
"language_types_meet_secondary": { "type": "string", "minLength": 1 },
|
|
225
225
|
"language_types_video_bridge": { "type": "string", "minLength": 1 },
|
|
226
|
-
"later": { "type": "string", "minLength": 1 },
|
|
227
226
|
"learn": { "type": "string", "minLength": 1 },
|
|
228
227
|
"learn_more": { "type": "string", "minLength": 1 },
|
|
229
228
|
"light": { "type": "string", "minLength": 1 },
|
|
@@ -502,7 +501,23 @@
|
|
|
502
501
|
"micro_lesson": { "type": "string", "minLength": 1 },
|
|
503
502
|
"micro_lessons": { "type": "string", "minLength": 1 },
|
|
504
503
|
"filter_micro_lessons": { "type": "string", "minLength": 1 },
|
|
505
|
-
"question_placeholder": { "type": "string", "minLength": 1 }
|
|
504
|
+
"question_placeholder": { "type": "string", "minLength": 1 },
|
|
505
|
+
"join_others_discovering": { "type": "string" },
|
|
506
|
+
"people_shared_last_week": { "type": "string" },
|
|
507
|
+
"onboarding_dbs_intro_heading": { "type": "string" },
|
|
508
|
+
"onboarding_dbs_intro_body": { "type": "string" },
|
|
509
|
+
"onboarding_invite_group_heading": { "type": "string" },
|
|
510
|
+
"onboarding_invite_group_body": { "type": "string" },
|
|
511
|
+
"popups_need_help_with_group_title": { "type": "string" },
|
|
512
|
+
"popups_need_help_with_group_message": { "type": "string" },
|
|
513
|
+
"popups_micro_lessons_banner": { "type": "string" },
|
|
514
|
+
"question_in_a_group": { "type": "string" },
|
|
515
|
+
"question_what_brings_you_question": { "type": "string" },
|
|
516
|
+
"question_what_brings_you_body": { "type": "string" },
|
|
517
|
+
"question_what_brings_you_option_1": { "type": "string" },
|
|
518
|
+
"question_what_brings_you_option_2": { "type": "string" },
|
|
519
|
+
"question_what_brings_you_option_3": { "type": "string" },
|
|
520
|
+
"question_what_brings_you_option_4": { "type": "string" }
|
|
506
521
|
},
|
|
507
522
|
"required": [
|
|
508
523
|
"name",
|
|
@@ -1,4 +1,335 @@
|
|
|
1
1
|
import { z } from 'zod';
|
|
2
|
+
export declare const LanguageTranslationsApp: z.ZodObject<{
|
|
3
|
+
name: z.ZodString;
|
|
4
|
+
version: z.ZodString;
|
|
5
|
+
a11y_add_secondary_language_hint: z.ZodString;
|
|
6
|
+
a11y_article_hint: z.ZodString;
|
|
7
|
+
a11y_banner_dismiss_hint: z.ZodString;
|
|
8
|
+
a11y_bible_audio_controls_label: z.ZodString;
|
|
9
|
+
a11y_bible_translation_hint: z.ZodString;
|
|
10
|
+
a11y_bookmark_hint: z.ZodString;
|
|
11
|
+
a11y_bookmark_label: z.ZodString;
|
|
12
|
+
a11y_change_languages_hint: z.ZodString;
|
|
13
|
+
a11y_chapter_button_hint: z.ZodString;
|
|
14
|
+
a11y_choose_primary_language_hint: z.ZodString;
|
|
15
|
+
a11y_clear_passcode_hint: z.ZodString;
|
|
16
|
+
a11y_download_set_label: z.ZodString;
|
|
17
|
+
a11y_extra_controls_hint: z.ZodString;
|
|
18
|
+
a11y_extra_controls_label: z.ZodString;
|
|
19
|
+
a11y_font_size_decrement_label: z.ZodString;
|
|
20
|
+
a11y_font_size_increment_label: z.ZodString;
|
|
21
|
+
a11y_font_size_label: z.ZodString;
|
|
22
|
+
a11y_give_button_hint: z.ZodString;
|
|
23
|
+
a11y_group_help_hint: z.ZodString;
|
|
24
|
+
a11y_lesson_actions_hint: z.ZodString;
|
|
25
|
+
a11y_lesson_actions_label: z.ZodString;
|
|
26
|
+
a11y_lesson_hint: z.ZodString;
|
|
27
|
+
a11y_lesson_label: z.ZodString;
|
|
28
|
+
a11y_lesson_question_label: z.ZodString;
|
|
29
|
+
a11y_lesson_text_hint: z.ZodString;
|
|
30
|
+
a11y_mute_label: z.ZodString;
|
|
31
|
+
a11y_play_button_label: z.ZodString;
|
|
32
|
+
a11y_playback_speed_decrement_label: z.ZodString;
|
|
33
|
+
a11y_playback_speed_increment_label: z.ZodString;
|
|
34
|
+
a11y_playback_speed_label: z.ZodString;
|
|
35
|
+
a11y_radio_hint: z.ZodString;
|
|
36
|
+
a11y_remove_language_label: z.ZodString;
|
|
37
|
+
a11y_scrubber_decrement_label: z.ZodString;
|
|
38
|
+
a11y_scrubber_increment_label: z.ZodString;
|
|
39
|
+
a11y_scrubber_label: z.ZodString;
|
|
40
|
+
a11y_search_hint: z.ZodString;
|
|
41
|
+
a11y_security_mode_label: z.ZodString;
|
|
42
|
+
a11y_set_hint: z.ZodString;
|
|
43
|
+
a11y_share_lesson_label: z.ZodString;
|
|
44
|
+
a11y_tab_hint: z.ZodString;
|
|
45
|
+
a11y_video_label: z.ZodString;
|
|
46
|
+
a11y_view_bible_hint: z.ZodString;
|
|
47
|
+
a11y_view_in_progress_language_hint: z.ZodString;
|
|
48
|
+
a11y_view_launched_language_hint: z.ZodString;
|
|
49
|
+
about: z.ZodString;
|
|
50
|
+
add_language: z.ZodString;
|
|
51
|
+
all: z.ZodString;
|
|
52
|
+
all_languages: z.ZodString;
|
|
53
|
+
app_store_listing_description: z.ZodString;
|
|
54
|
+
app_store_listing_screenshot_foundations: z.ZodString;
|
|
55
|
+
app_store_listing_screenshot_languages: z.ZodString;
|
|
56
|
+
app_store_listing_screenshot_bible: z.ZodString;
|
|
57
|
+
app_store_listing_screenshot_lesson: z.ZodString;
|
|
58
|
+
app_store_listing_screenshot_reviews_1: z.ZodString;
|
|
59
|
+
app_store_listing_screenshot_reviews_2: z.ZodString;
|
|
60
|
+
app_store_listing_screenshot_set: z.ZodString;
|
|
61
|
+
app_store_listing_screenshot_share: z.ZodString;
|
|
62
|
+
app_store_listing_screenshot_testimonial: z.ZodString;
|
|
63
|
+
app_store_listing_screenshot_topics: z.ZodString;
|
|
64
|
+
app_store_listing_subtitle: z.ZodString;
|
|
65
|
+
app_store_listing_title: z.ZodString;
|
|
66
|
+
appearance: z.ZodString;
|
|
67
|
+
application: z.ZodString;
|
|
68
|
+
article_cta_body: z.ZodString;
|
|
69
|
+
article_cta_header: z.ZodString;
|
|
70
|
+
articles: z.ZodString;
|
|
71
|
+
audio: z.ZodString;
|
|
72
|
+
back: z.ZodString;
|
|
73
|
+
bible: z.ZodString;
|
|
74
|
+
bookmarks: z.ZodString;
|
|
75
|
+
bookmarks_description: z.ZodString;
|
|
76
|
+
bridge_language_explanation: z.ZodString;
|
|
77
|
+
calculator: z.ZodString;
|
|
78
|
+
calculator_description: z.ZodString;
|
|
79
|
+
cancel: z.ZodString;
|
|
80
|
+
cant_share_until_download: z.ZodString;
|
|
81
|
+
cast_to_tv: z.ZodString;
|
|
82
|
+
casting: z.ZodString;
|
|
83
|
+
change_chapter: z.ZodString;
|
|
84
|
+
change_languages: z.ZodString;
|
|
85
|
+
change_passcode: z.ZodString;
|
|
86
|
+
change_security_app: z.ZodString;
|
|
87
|
+
change_security_app_description: z.ZodString;
|
|
88
|
+
change_timeout: z.ZodString;
|
|
89
|
+
change_video_language: z.ZodString;
|
|
90
|
+
changing_layout_direction: z.ZodString;
|
|
91
|
+
chapter_fetching: z.ZodString;
|
|
92
|
+
chapter_not_available: z.ZodString;
|
|
93
|
+
chapter_offline: z.ZodString;
|
|
94
|
+
choose_passcode: z.ZodString;
|
|
95
|
+
clear: z.ZodString;
|
|
96
|
+
close: z.ZodString;
|
|
97
|
+
confirm: z.ZodString;
|
|
98
|
+
confirm_passcode: z.ZodString;
|
|
99
|
+
connect_to_continue: z.ZodString;
|
|
100
|
+
contact_us: z.ZodString;
|
|
101
|
+
continue: z.ZodString;
|
|
102
|
+
contribute: z.ZodString;
|
|
103
|
+
copied_to_clipboard: z.ZodString;
|
|
104
|
+
dark: z.ZodString;
|
|
105
|
+
dark_mode: z.ZodString;
|
|
106
|
+
default: z.ZodString;
|
|
107
|
+
disciple_making_course: z.ZodString;
|
|
108
|
+
dm_course_locked_blurb: z.ZodString;
|
|
109
|
+
done: z.ZodString;
|
|
110
|
+
download: z.ZodString;
|
|
111
|
+
download_app: z.ZodString;
|
|
112
|
+
download_over_data: z.ZodString;
|
|
113
|
+
download_paused: z.ZodString;
|
|
114
|
+
downloading: z.ZodString;
|
|
115
|
+
downloading_to_share: z.ZodString;
|
|
116
|
+
edit: z.ZodString;
|
|
117
|
+
email: z.ZodString;
|
|
118
|
+
enter_passcode: z.ZodString;
|
|
119
|
+
favorites: z.ZodString;
|
|
120
|
+
fellowship: z.ZodString;
|
|
121
|
+
fetch_bible_error: z.ZodString;
|
|
122
|
+
fetch_bible_no_internet: z.ZodString;
|
|
123
|
+
filter_articles: z.ZodString;
|
|
124
|
+
finish: z.ZodString;
|
|
125
|
+
font_size: z.ZodString;
|
|
126
|
+
foundations: z.ZodString;
|
|
127
|
+
get_started_foundations: z.ZodString;
|
|
128
|
+
get_started_training: z.ZodString;
|
|
129
|
+
give: z.ZodString;
|
|
130
|
+
give_blurb: z.ZodString;
|
|
131
|
+
give_to_language: z.ZodString;
|
|
132
|
+
got_it: z.ZodString;
|
|
133
|
+
help_tips: z.ZodString;
|
|
134
|
+
heres_whats_new: z.ZodString;
|
|
135
|
+
home: z.ZodString;
|
|
136
|
+
in_development: z.ZodString;
|
|
137
|
+
instant: z.ZodString;
|
|
138
|
+
internet_required_download: z.ZodString;
|
|
139
|
+
internet_required_download_share: z.ZodString;
|
|
140
|
+
introduction: z.ZodString;
|
|
141
|
+
language_names: z.ZodRecord<z.ZodString, z.ZodString>;
|
|
142
|
+
language_types_app_interface: z.ZodString;
|
|
143
|
+
language_types_meet: z.ZodString;
|
|
144
|
+
language_types_meet_primary: z.ZodString;
|
|
145
|
+
language_types_meet_secondary: z.ZodString;
|
|
146
|
+
language_types_video_bridge: z.ZodString;
|
|
147
|
+
learn: z.ZodString;
|
|
148
|
+
learn_more: z.ZodString;
|
|
149
|
+
light: z.ZodString;
|
|
150
|
+
listen_to_story_again: z.ZodString;
|
|
151
|
+
loading_file_size: z.ZodString;
|
|
152
|
+
mark_complete: z.ZodString;
|
|
153
|
+
meet: z.ZodString;
|
|
154
|
+
meeting_history: z.ZodString;
|
|
155
|
+
megabyte: z.ZodString;
|
|
156
|
+
message: z.ZodString;
|
|
157
|
+
more: z.ZodString;
|
|
158
|
+
my_primary_language: z.ZodString;
|
|
159
|
+
no_connection: z.ZodString;
|
|
160
|
+
no_files_to_delete: z.ZodString;
|
|
161
|
+
no_languages_found: z.ZodString;
|
|
162
|
+
not_now: z.ZodString;
|
|
163
|
+
note_add: z.ZodString;
|
|
164
|
+
note_delete: z.ZodString;
|
|
165
|
+
note_edit: z.ZodString;
|
|
166
|
+
note_placeholder: z.ZodString;
|
|
167
|
+
note_saved: z.ZodString;
|
|
168
|
+
notes_view: z.ZodString;
|
|
169
|
+
notifications: z.ZodString;
|
|
170
|
+
notifications_enable: z.ZodString;
|
|
171
|
+
ok: z.ZodString;
|
|
172
|
+
passcode_set: z.ZodString;
|
|
173
|
+
percent_available: z.ZodString;
|
|
174
|
+
piano: z.ZodString;
|
|
175
|
+
piano_description: z.ZodString;
|
|
176
|
+
playback_speed: z.ZodString;
|
|
177
|
+
popups_app_interface_help: z.ZodString;
|
|
178
|
+
popups_casting_stop_confirm: z.ZodString;
|
|
179
|
+
popups_code_request_success_message: z.ZodString;
|
|
180
|
+
popups_codes_no_match_message: z.ZodString;
|
|
181
|
+
popups_codes_no_match_title: z.ZodString;
|
|
182
|
+
popups_foundations_description_believer: z.ZodString;
|
|
183
|
+
popups_foundations_description_seeker: z.ZodString;
|
|
184
|
+
popups_group_help_message: z.ZodString;
|
|
185
|
+
popups_group_help_title: z.ZodString;
|
|
186
|
+
popups_meet_help: z.ZodString;
|
|
187
|
+
popups_notification_opt_in_message: z.ZodString;
|
|
188
|
+
popups_notification_opt_in_title: z.ZodString;
|
|
189
|
+
popups_play_help_message: z.ZodString;
|
|
190
|
+
popups_play_help_title: z.ZodString;
|
|
191
|
+
popups_remove_meeting_message: z.ZodString;
|
|
192
|
+
popups_remove_meeting_title: z.ZodString;
|
|
193
|
+
popups_submit_feedback_error_message: z.ZodString;
|
|
194
|
+
popups_submit_feedback_error_title: z.ZodString;
|
|
195
|
+
popups_submit_feedback_success_message: z.ZodString;
|
|
196
|
+
popups_submit_feedback_success_title: z.ZodString;
|
|
197
|
+
popups_topics_description: z.ZodString;
|
|
198
|
+
popups_training_description_believer: z.ZodString;
|
|
199
|
+
popups_unlock_successful_message: z.ZodString;
|
|
200
|
+
popups_unlock_successful_title: z.ZodString;
|
|
201
|
+
popups_unlocked_learn_help_message: z.ZodString;
|
|
202
|
+
popups_unlocked_learn_help_title: z.ZodString;
|
|
203
|
+
popups_watch_on_youtube_blurb: z.ZodString;
|
|
204
|
+
privacy_policy: z.ZodString;
|
|
205
|
+
question: z.ZodString;
|
|
206
|
+
question_dm_course: z.ZodString;
|
|
207
|
+
question_god_journey_option_1: z.ZodString;
|
|
208
|
+
question_god_journey_option_2: z.ZodString;
|
|
209
|
+
question_god_journey_option_3: z.ZodString;
|
|
210
|
+
question_god_journey_option_4: z.ZodString;
|
|
211
|
+
question_god_journey_question: z.ZodString;
|
|
212
|
+
question_hear_waha: z.ZodString;
|
|
213
|
+
question_how_familiar_bible_option_1_body: z.ZodString;
|
|
214
|
+
question_how_familiar_bible_option_1_title: z.ZodString;
|
|
215
|
+
question_how_familiar_bible_option_2_body: z.ZodString;
|
|
216
|
+
question_how_familiar_bible_option_2_title: z.ZodString;
|
|
217
|
+
question_how_familiar_bible_option_3_body: z.ZodString;
|
|
218
|
+
question_how_familiar_bible_option_3_title: z.ZodString;
|
|
219
|
+
question_how_familiar_bible_question: z.ZodString;
|
|
220
|
+
question_how_long_bible_option_1: z.ZodString;
|
|
221
|
+
question_how_long_bible_option_2: z.ZodString;
|
|
222
|
+
question_how_long_bible_question: z.ZodString;
|
|
223
|
+
rate_waha: z.ZodString;
|
|
224
|
+
recommended: z.ZodString;
|
|
225
|
+
recommended_for_you: z.ZodString;
|
|
226
|
+
remove: z.ZodString;
|
|
227
|
+
remove_download: z.ZodString;
|
|
228
|
+
report_a_problem: z.ZodString;
|
|
229
|
+
report_problem_help: z.ZodString;
|
|
230
|
+
request_passcode: z.ZodString;
|
|
231
|
+
required: z.ZodString;
|
|
232
|
+
retry: z.ZodString;
|
|
233
|
+
return_home: z.ZodString;
|
|
234
|
+
save_and_close: z.ZodString;
|
|
235
|
+
search: z.ZodString;
|
|
236
|
+
search_meet: z.ZodString;
|
|
237
|
+
secondary_languages: z.ZodString;
|
|
238
|
+
security: z.ZodString;
|
|
239
|
+
security_mode: z.ZodString;
|
|
240
|
+
security_mode_blurb: z.ZodString;
|
|
241
|
+
security_onboarding_page_1_message: z.ZodString;
|
|
242
|
+
security_onboarding_page_1_title: z.ZodString;
|
|
243
|
+
security_onboarding_page_2_message: z.ZodString;
|
|
244
|
+
security_onboarding_page_2_title: z.ZodString;
|
|
245
|
+
security_onboarding_page_3_message: z.ZodString;
|
|
246
|
+
security_onboarding_page_3_title: z.ZodString;
|
|
247
|
+
security_onboarding_page_4_message: z.ZodString;
|
|
248
|
+
security_onboarding_page_4_title: z.ZodString;
|
|
249
|
+
see_help: z.ZodString;
|
|
250
|
+
select_bible: z.ZodString;
|
|
251
|
+
select_book: z.ZodString;
|
|
252
|
+
select_initial_languages_blurb: z.ZodString;
|
|
253
|
+
send_invite: z.ZodString;
|
|
254
|
+
settings: z.ZodString;
|
|
255
|
+
share: z.ZodString;
|
|
256
|
+
share_app: z.ZodString;
|
|
257
|
+
share_lesson_audio: z.ZodString;
|
|
258
|
+
share_lesson_link: z.ZodString;
|
|
259
|
+
share_lesson_text: z.ZodString;
|
|
260
|
+
share_lesson_video: z.ZodString;
|
|
261
|
+
share_passcode: z.ZodString;
|
|
262
|
+
share_story: z.ZodString;
|
|
263
|
+
share_story_text: z.ZodString;
|
|
264
|
+
share_with_group: z.ZodString;
|
|
265
|
+
sharing_messages_invite: z.ZodString;
|
|
266
|
+
sharing_messages_unlock_code: z.ZodString;
|
|
267
|
+
show_less: z.ZodString;
|
|
268
|
+
show_more: z.ZodString;
|
|
269
|
+
show_original: z.ZodString;
|
|
270
|
+
show_translation: z.ZodString;
|
|
271
|
+
skip: z.ZodString;
|
|
272
|
+
special_thanks: z.ZodString;
|
|
273
|
+
stop_casting: z.ZodString;
|
|
274
|
+
storage: z.ZodString;
|
|
275
|
+
story: z.ZodString;
|
|
276
|
+
submit: z.ZodString;
|
|
277
|
+
submitting: z.ZodString;
|
|
278
|
+
support_development: z.ZodString;
|
|
279
|
+
system: z.ZodString;
|
|
280
|
+
text: z.ZodString;
|
|
281
|
+
topics: z.ZodString;
|
|
282
|
+
trailer: z.ZodString;
|
|
283
|
+
training: z.ZodString;
|
|
284
|
+
training_video: z.ZodString;
|
|
285
|
+
translated_with_ai: z.ZodString;
|
|
286
|
+
unlock_onboarding_page_1_message: z.ZodString;
|
|
287
|
+
unlock_onboarding_page_1_title: z.ZodString;
|
|
288
|
+
unlock_onboarding_page_2_message: z.ZodString;
|
|
289
|
+
unlock_onboarding_page_2_title: z.ZodString;
|
|
290
|
+
unmatched_message: z.ZodString;
|
|
291
|
+
up_next: z.ZodString;
|
|
292
|
+
view: z.ZodString;
|
|
293
|
+
view_all: z.ZodString;
|
|
294
|
+
view_copyright: z.ZodString;
|
|
295
|
+
view_lesson_notes: z.ZodString;
|
|
296
|
+
visit_website: z.ZodString;
|
|
297
|
+
volunteer: z.ZodString;
|
|
298
|
+
waiting_to_start_download: z.ZodString;
|
|
299
|
+
watch_on_youtube: z.ZodString;
|
|
300
|
+
week: z.ZodString;
|
|
301
|
+
welcome_blurb: z.ZodString;
|
|
302
|
+
yes: z.ZodString;
|
|
303
|
+
story_set: z.ZodString;
|
|
304
|
+
story_sets: z.ZodString;
|
|
305
|
+
lesson: z.ZodString;
|
|
306
|
+
lessons: z.ZodString;
|
|
307
|
+
article: z.ZodString;
|
|
308
|
+
no_results: z.ZodString;
|
|
309
|
+
no_notes: z.ZodString;
|
|
310
|
+
not_yet: z.ZodString;
|
|
311
|
+
micro_lesson: z.ZodString;
|
|
312
|
+
micro_lessons: z.ZodString;
|
|
313
|
+
filter_micro_lessons: z.ZodString;
|
|
314
|
+
question_placeholder: z.ZodString;
|
|
315
|
+
join_others_discovering: z.ZodOptional<z.ZodString>;
|
|
316
|
+
people_shared_last_week: z.ZodOptional<z.ZodString>;
|
|
317
|
+
onboarding_dbs_intro_heading: z.ZodOptional<z.ZodString>;
|
|
318
|
+
onboarding_dbs_intro_body: z.ZodOptional<z.ZodString>;
|
|
319
|
+
onboarding_invite_group_heading: z.ZodOptional<z.ZodString>;
|
|
320
|
+
onboarding_invite_group_body: z.ZodOptional<z.ZodString>;
|
|
321
|
+
popups_need_help_with_group_title: z.ZodOptional<z.ZodString>;
|
|
322
|
+
popups_need_help_with_group_message: z.ZodOptional<z.ZodString>;
|
|
323
|
+
popups_micro_lessons_banner: z.ZodOptional<z.ZodString>;
|
|
324
|
+
question_in_a_group: z.ZodOptional<z.ZodString>;
|
|
325
|
+
question_what_brings_you_question: z.ZodOptional<z.ZodString>;
|
|
326
|
+
question_what_brings_you_body: z.ZodOptional<z.ZodString>;
|
|
327
|
+
question_what_brings_you_option_1: z.ZodOptional<z.ZodString>;
|
|
328
|
+
question_what_brings_you_option_2: z.ZodOptional<z.ZodString>;
|
|
329
|
+
question_what_brings_you_option_3: z.ZodOptional<z.ZodString>;
|
|
330
|
+
question_what_brings_you_option_4: z.ZodOptional<z.ZodString>;
|
|
331
|
+
}, z.core.$strip>;
|
|
332
|
+
export type LanguageTranslationsApp = z.infer<typeof LanguageTranslationsApp>;
|
|
2
333
|
export declare const TranslationsApp: z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
3
334
|
name: z.ZodString;
|
|
4
335
|
version: z.ZodString;
|
|
@@ -144,7 +475,6 @@ export declare const TranslationsApp: z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
|
144
475
|
language_types_meet_primary: z.ZodString;
|
|
145
476
|
language_types_meet_secondary: z.ZodString;
|
|
146
477
|
language_types_video_bridge: z.ZodString;
|
|
147
|
-
later: z.ZodOptional<z.ZodString>;
|
|
148
478
|
learn: z.ZodString;
|
|
149
479
|
learn_more: z.ZodString;
|
|
150
480
|
light: z.ZodString;
|
|
@@ -313,5 +643,21 @@ export declare const TranslationsApp: z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
|
313
643
|
micro_lessons: z.ZodString;
|
|
314
644
|
filter_micro_lessons: z.ZodString;
|
|
315
645
|
question_placeholder: z.ZodString;
|
|
646
|
+
join_others_discovering: z.ZodOptional<z.ZodString>;
|
|
647
|
+
people_shared_last_week: z.ZodOptional<z.ZodString>;
|
|
648
|
+
onboarding_dbs_intro_heading: z.ZodOptional<z.ZodString>;
|
|
649
|
+
onboarding_dbs_intro_body: z.ZodOptional<z.ZodString>;
|
|
650
|
+
onboarding_invite_group_heading: z.ZodOptional<z.ZodString>;
|
|
651
|
+
onboarding_invite_group_body: z.ZodOptional<z.ZodString>;
|
|
652
|
+
popups_need_help_with_group_title: z.ZodOptional<z.ZodString>;
|
|
653
|
+
popups_need_help_with_group_message: z.ZodOptional<z.ZodString>;
|
|
654
|
+
popups_micro_lessons_banner: z.ZodOptional<z.ZodString>;
|
|
655
|
+
question_in_a_group: z.ZodOptional<z.ZodString>;
|
|
656
|
+
question_what_brings_you_question: z.ZodOptional<z.ZodString>;
|
|
657
|
+
question_what_brings_you_body: z.ZodOptional<z.ZodString>;
|
|
658
|
+
question_what_brings_you_option_1: z.ZodOptional<z.ZodString>;
|
|
659
|
+
question_what_brings_you_option_2: z.ZodOptional<z.ZodString>;
|
|
660
|
+
question_what_brings_you_option_3: z.ZodOptional<z.ZodString>;
|
|
661
|
+
question_what_brings_you_option_4: z.ZodOptional<z.ZodString>;
|
|
316
662
|
}, z.core.$strip>>;
|
|
317
663
|
export type TranslationsApp = z.infer<typeof TranslationsApp>;
|
|
@@ -1,10 +1,8 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.TranslationsApp = void 0;
|
|
3
|
+
exports.TranslationsApp = exports.LanguageTranslationsApp = void 0;
|
|
4
4
|
const zod_1 = require("zod");
|
|
5
|
-
exports.
|
|
6
|
-
.record(zod_1.z.string(), zod_1.z
|
|
7
|
-
.object({
|
|
5
|
+
exports.LanguageTranslationsApp = zod_1.z.object({
|
|
8
6
|
name: zod_1.z.string().min(1),
|
|
9
7
|
version: zod_1.z.string().min(1),
|
|
10
8
|
a11y_add_secondary_language_hint: zod_1.z.string().min(1),
|
|
@@ -151,7 +149,6 @@ exports.TranslationsApp = zod_1.z
|
|
|
151
149
|
language_types_meet_primary: zod_1.z.string().min(1),
|
|
152
150
|
language_types_meet_secondary: zod_1.z.string().min(1),
|
|
153
151
|
language_types_video_bridge: zod_1.z.string().min(1),
|
|
154
|
-
later: zod_1.z.string().min(1).optional(),
|
|
155
152
|
learn: zod_1.z.string().min(1),
|
|
156
153
|
learn_more: zod_1.z.string().min(1),
|
|
157
154
|
light: zod_1.z.string().min(1),
|
|
@@ -315,12 +312,29 @@ exports.TranslationsApp = zod_1.z
|
|
|
315
312
|
article: zod_1.z.string().min(1),
|
|
316
313
|
no_results: zod_1.z.string().min(1),
|
|
317
314
|
no_notes: zod_1.z.string().min(1),
|
|
318
|
-
// Will remove optional soon.
|
|
319
315
|
not_yet: zod_1.z.string().min(1),
|
|
320
316
|
micro_lesson: zod_1.z.string().min(1),
|
|
321
317
|
micro_lessons: zod_1.z.string().min(1),
|
|
322
318
|
filter_micro_lessons: zod_1.z.string().min(1),
|
|
323
319
|
question_placeholder: zod_1.z.string().min(1),
|
|
324
|
-
|
|
325
|
-
.
|
|
320
|
+
// These are trickier strings and will take some time to localize. onboarding.tsx is set up to default to the old onboarding if strings for the new onboarding are not localized.
|
|
321
|
+
join_others_discovering: zod_1.z.string().optional(),
|
|
322
|
+
people_shared_last_week: zod_1.z.string().optional(),
|
|
323
|
+
onboarding_dbs_intro_heading: zod_1.z.string().optional(),
|
|
324
|
+
onboarding_dbs_intro_body: zod_1.z.string().optional(),
|
|
325
|
+
onboarding_invite_group_heading: zod_1.z.string().optional(),
|
|
326
|
+
onboarding_invite_group_body: zod_1.z.string().optional(),
|
|
327
|
+
popups_need_help_with_group_title: zod_1.z.string().optional(),
|
|
328
|
+
popups_need_help_with_group_message: zod_1.z.string().optional(),
|
|
329
|
+
popups_micro_lessons_banner: zod_1.z.string().optional(),
|
|
330
|
+
question_in_a_group: zod_1.z.string().optional(),
|
|
331
|
+
question_what_brings_you_question: zod_1.z.string().optional(),
|
|
332
|
+
question_what_brings_you_body: zod_1.z.string().optional(),
|
|
333
|
+
question_what_brings_you_option_1: zod_1.z.string().optional(),
|
|
334
|
+
question_what_brings_you_option_2: zod_1.z.string().optional(),
|
|
335
|
+
question_what_brings_you_option_3: zod_1.z.string().optional(),
|
|
336
|
+
question_what_brings_you_option_4: zod_1.z.string().optional(),
|
|
337
|
+
});
|
|
338
|
+
exports.TranslationsApp = zod_1.z
|
|
339
|
+
.record(zod_1.z.string(), exports.LanguageTranslationsApp.describe('Translations for a single language (identified by a 3-letter code)_'))
|
|
326
340
|
.describe('Schema for appTranslations_json_ Root keys are 3-letter language identifiers (ISO-639 style)_ Each language object contains well-defined translation collections_');
|
|
@@ -60,7 +60,7 @@
|
|
|
60
60
|
},
|
|
61
61
|
"description": "Array of translated sets for a given 3-letter language id (ISO-ish)."
|
|
62
62
|
},
|
|
63
|
-
"description": "Record of language ids to arrays of translated sets used by the app. Produced by scripts/
|
|
63
|
+
"description": "Record of language ids to arrays of translated sets used by the app. Produced by scripts/prep/combine.ts (setTranslations.json). Each set item merges metadata translation fields (setTitle, setDescription, lessonTitles, etc.) under a setId."
|
|
64
64
|
}
|
|
65
65
|
},
|
|
66
66
|
"required": ["$schema", "data"]
|
|
@@ -33,4 +33,4 @@ exports.TranslationsSet = zod_1.z
|
|
|
33
33
|
setTitle: zod_1.z.string().min(1).describe('Localized title for the set.'),
|
|
34
34
|
}))
|
|
35
35
|
.describe('Array of translated sets for a given 3-letter language id (ISO-ish).'))
|
|
36
|
-
.describe('Record of language ids to arrays of translated sets used by the app. Produced by scripts/
|
|
36
|
+
.describe('Record of language ids to arrays of translated sets used by the app. Produced by scripts/prep/combine.ts (setTranslations.json). Each set item merges metadata translation fields (setTitle, setDescription, lessonTitles, etc.) under a setId.');
|
|
@@ -1,6 +1,30 @@
|
|
|
1
1
|
import { BibleChapter, BibleChapters } from '../types/bibleChapters';
|
|
2
2
|
import type { LanguageInfo } from '../types/languages';
|
|
3
3
|
import { ScripturePassage } from '../types/scripturePassages';
|
|
4
|
+
export interface VerseRangeInfo {
|
|
5
|
+
startBook: string;
|
|
6
|
+
startChapter: string;
|
|
7
|
+
startVerse: string;
|
|
8
|
+
endBook: string;
|
|
9
|
+
endChapter: string;
|
|
10
|
+
endVerse: string;
|
|
11
|
+
startChapterId: string;
|
|
12
|
+
endChapterId: string;
|
|
13
|
+
}
|
|
14
|
+
/**
|
|
15
|
+
* Parses a verse range string like "GEN.1.1-GEN.1.25" or "JHN.3.16" or "REV.22"
|
|
16
|
+
* Returns the start and end verse IDs
|
|
17
|
+
*/
|
|
18
|
+
export declare function parseVerseRange(passageId: string): VerseRangeInfo;
|
|
19
|
+
type GetChapterUrlParams = {
|
|
20
|
+
bibleAudioId: string;
|
|
21
|
+
passageId: string;
|
|
22
|
+
} | {
|
|
23
|
+
startBook: string;
|
|
24
|
+
startChapter: string;
|
|
25
|
+
bibleAudioId: string;
|
|
26
|
+
};
|
|
27
|
+
export declare function getChapterUrl(params: GetChapterUrlParams): string;
|
|
4
28
|
/**
|
|
5
29
|
* Condenses a list of USFM passage IDs into a readable string format. Groups
|
|
6
30
|
* consecutive passages from the same book together.
|
|
@@ -1,5 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.parseVerseRange = parseVerseRange;
|
|
4
|
+
exports.getChapterUrl = getChapterUrl;
|
|
3
5
|
exports.getPassagesString = getPassagesString;
|
|
4
6
|
exports.getScripturePassage = getScripturePassage;
|
|
5
7
|
exports.getLessonScripture = getLessonScripture;
|
|
@@ -8,17 +10,24 @@ exports.verseToSuperscript = verseToSuperscript;
|
|
|
8
10
|
const bibleStatuses_1 = require("../data/bibleStatuses");
|
|
9
11
|
const languages_1 = require("../functions/languages");
|
|
10
12
|
const bibleChapters_1 = require("../types/bibleChapters");
|
|
13
|
+
const sets_1 = require("./sets");
|
|
11
14
|
/**
|
|
12
|
-
* Parses a verse range string like "GEN.1.1-GEN.1.25" or "JHN.3.16"
|
|
13
|
-
* start and end verse IDs
|
|
15
|
+
* Parses a verse range string like "GEN.1.1-GEN.1.25" or "JHN.3.16" or "REV.22"
|
|
16
|
+
* Returns the start and end verse IDs
|
|
14
17
|
*/
|
|
15
18
|
function parseVerseRange(passageId) {
|
|
16
19
|
// Handle single verse: "GEN.1.1" -> "GEN.1.1-GEN.1.1"
|
|
17
20
|
const parts = passageId.includes('-')
|
|
18
21
|
? passageId.split('-')
|
|
19
22
|
: [passageId, passageId];
|
|
20
|
-
const
|
|
21
|
-
const
|
|
23
|
+
const startParts = parts[0].split('.');
|
|
24
|
+
const endParts = parts[1].split('.');
|
|
25
|
+
const startBook = startParts[0];
|
|
26
|
+
const startChapter = startParts[1];
|
|
27
|
+
const startVerse = startParts.length > 2 ? startParts[2] : '1';
|
|
28
|
+
const endBook = endParts[0];
|
|
29
|
+
const endChapter = endParts[1];
|
|
30
|
+
const endVerse = endParts.length > 2 ? endParts[2] : '1';
|
|
22
31
|
return {
|
|
23
32
|
startBook,
|
|
24
33
|
startChapter,
|
|
@@ -26,8 +35,24 @@ function parseVerseRange(passageId) {
|
|
|
26
35
|
endBook,
|
|
27
36
|
endChapter,
|
|
28
37
|
endVerse,
|
|
38
|
+
startChapterId: `${startBook}.${startChapter}`,
|
|
39
|
+
endChapterId: `${endBook}.${endChapter}`,
|
|
29
40
|
};
|
|
30
41
|
}
|
|
42
|
+
function getChapterUrl(params) {
|
|
43
|
+
const startBook = 'startBook' in params
|
|
44
|
+
? params.startBook
|
|
45
|
+
: parseVerseRange(params.passageId).startBook;
|
|
46
|
+
const startChapter = 'startChapter' in params
|
|
47
|
+
? params.startChapter
|
|
48
|
+
: parseVerseRange(params.passageId).startChapter;
|
|
49
|
+
return (sets_1.firebaseUrl +
|
|
50
|
+
encodeURIComponent('audio_bibles' +
|
|
51
|
+
`/${params.bibleAudioId}` +
|
|
52
|
+
`/${startBook}` +
|
|
53
|
+
`/${startBook}_${startChapter.padStart(3, '0')}.mp3`) +
|
|
54
|
+
`?alt=media`);
|
|
55
|
+
}
|
|
31
56
|
/** Extracts verses from a chapter based on verse numbers */
|
|
32
57
|
function extractVersesFromChapter(chapter, startVerse, endVerse) {
|
|
33
58
|
const verses = chapter.verses.filter((verse) => {
|
|
@@ -78,10 +78,16 @@ type Misc = {
|
|
|
78
78
|
payload: {
|
|
79
79
|
enabled: boolean;
|
|
80
80
|
};
|
|
81
|
+
} | {
|
|
82
|
+
name: 'StartOnboarding';
|
|
83
|
+
payload: {
|
|
84
|
+
usedOldOnboarding?: boolean;
|
|
85
|
+
};
|
|
81
86
|
} | {
|
|
82
87
|
name: 'FinishOnboarding';
|
|
83
88
|
payload: {
|
|
84
|
-
|
|
89
|
+
skippedFromPage: number | undefined;
|
|
90
|
+
usedOldOnboarding?: boolean;
|
|
85
91
|
};
|
|
86
92
|
} | {
|
|
87
93
|
name: 'ClickNotification';
|
|
@@ -21,7 +21,7 @@ export declare const MicroLessonSchema: z.ZodObject<{
|
|
|
21
21
|
"App Only": "App Only";
|
|
22
22
|
All: "All";
|
|
23
23
|
}>;
|
|
24
|
-
image: z.
|
|
24
|
+
image: z.ZodString;
|
|
25
25
|
category: z.ZodEnum<{
|
|
26
26
|
"Case Studies": "Case Studies";
|
|
27
27
|
"Discovering God": "Discovering God";
|
|
@@ -75,9 +75,9 @@ export declare const MicroLessonSchema: z.ZodObject<{
|
|
|
75
75
|
All: "All";
|
|
76
76
|
}>>;
|
|
77
77
|
notification: z.ZodOptional<z.ZodObject<{
|
|
78
|
-
title: z.
|
|
79
|
-
body: z.
|
|
80
|
-
delayInHours: z.
|
|
78
|
+
title: z.ZodString;
|
|
79
|
+
body: z.ZodString;
|
|
80
|
+
delayInHours: z.ZodNumber;
|
|
81
81
|
}, z.core.$strip>>;
|
|
82
82
|
}, z.core.$strip>>;
|
|
83
83
|
}, z.core.$strip>;
|
|
@@ -95,7 +95,7 @@ export declare const ResponseMicroLessonSchema: z.ZodObject<{
|
|
|
95
95
|
"App Only": "App Only";
|
|
96
96
|
All: "All";
|
|
97
97
|
}>;
|
|
98
|
-
image: z.
|
|
98
|
+
image: z.ZodString;
|
|
99
99
|
category: z.ZodEnum<{
|
|
100
100
|
"Case Studies": "Case Studies";
|
|
101
101
|
"Discovering God": "Discovering God";
|
|
@@ -149,9 +149,9 @@ export declare const ResponseMicroLessonSchema: z.ZodObject<{
|
|
|
149
149
|
All: "All";
|
|
150
150
|
}>>;
|
|
151
151
|
notification: z.ZodOptional<z.ZodObject<{
|
|
152
|
-
title: z.
|
|
153
|
-
body: z.
|
|
154
|
-
delayInHours: z.
|
|
152
|
+
title: z.ZodString;
|
|
153
|
+
body: z.ZodString;
|
|
154
|
+
delayInHours: z.ZodNumber;
|
|
155
155
|
}, z.core.$strip>>;
|
|
156
156
|
}, z.core.$strip>>;
|
|
157
157
|
}, z.core.$strip>;
|
|
@@ -171,7 +171,7 @@ export declare const MicroLessonsResponse: z.ZodObject<{
|
|
|
171
171
|
"App Only": "App Only";
|
|
172
172
|
All: "All";
|
|
173
173
|
}>;
|
|
174
|
-
image: z.
|
|
174
|
+
image: z.ZodString;
|
|
175
175
|
category: z.ZodEnum<{
|
|
176
176
|
"Case Studies": "Case Studies";
|
|
177
177
|
"Discovering God": "Discovering God";
|
|
@@ -225,9 +225,9 @@ export declare const MicroLessonsResponse: z.ZodObject<{
|
|
|
225
225
|
All: "All";
|
|
226
226
|
}>>;
|
|
227
227
|
notification: z.ZodOptional<z.ZodObject<{
|
|
228
|
-
title: z.
|
|
229
|
-
body: z.
|
|
230
|
-
delayInHours: z.
|
|
228
|
+
title: z.ZodString;
|
|
229
|
+
body: z.ZodString;
|
|
230
|
+
delayInHours: z.ZodNumber;
|
|
231
231
|
}, z.core.$strip>>;
|
|
232
232
|
}, z.core.$strip>>;
|
|
233
233
|
}, z.core.$strip>;
|