waha-shared 1.0.19 → 1.0.21
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/arabic/Bold.ttf +0 -0
- package/assets/fonts/arabic/Regular.ttf +0 -0
- package/assets/fonts/burmese/Bold.ttf +0 -0
- package/assets/fonts/burmese/Regular.ttf +0 -0
- package/assets/fonts/chinese/Bold.ttf +0 -0
- package/assets/fonts/chinese/Regular.ttf +0 -0
- package/assets/fonts/cyrillic/Bold.ttf +0 -0
- package/assets/fonts/cyrillic/Regular.ttf +0 -0
- package/assets/fonts/devanagari/Bold.ttf +0 -0
- package/assets/fonts/devanagari/Regular.ttf +0 -0
- package/assets/fonts/fonts.css +178 -0
- package/assets/fonts/japanese/Bold.ttf +0 -0
- package/assets/fonts/japanese/Regular.ttf +0 -0
- package/assets/fonts/khmer/Bold.ttf +0 -0
- package/assets/fonts/khmer/Regular.ttf +0 -0
- package/assets/fonts/latin/Bold.ttf +0 -0
- package/assets/fonts/latin/Regular.ttf +0 -0
- package/assets/fonts/telugu/Bold.ttf +0 -0
- package/assets/fonts/telugu/Regular.ttf +0 -0
- package/assets/fonts/thai/Bold.ttf +0 -0
- package/assets/fonts/thai/Regular.ttf +0 -0
- package/assets/fonts/uyghur/Bold.ttf +0 -0
- package/assets/fonts/uyghur/Regular.ttf +0 -0
- package/dist/data/bibleAudios.json +18 -9
- package/dist/data/bibleTexts.json +34 -11
- package/dist/data/languages.json +57 -37
- package/dist/data/releaseNotes.json +46 -46
- package/dist/data/typescript/appTranslations.d.ts +52 -43
- package/dist/data/typescript/appTranslations.js +20 -17
- package/dist/data/typescript/setTranslations.d.ts +13 -10
- package/dist/data/typescript/setTranslations.js +15 -11
- package/dist/functions/languages.d.ts +1 -1
- package/dist/functions/languages.js +9 -9
- package/dist/functions/scripturePassages.d.ts +12 -0
- package/dist/functions/scripturePassages.js +1 -0
- package/dist/functions/sets.js +4 -0
- package/dist/translations/appTranslations.d.ts +17 -14
- package/dist/translations/appTranslations.json +1915 -1912
- package/dist/translations/setTranslations.d.ts +4 -3
- package/dist/translations/setTranslations.json +5211 -5168
- package/dist/types/analytics.d.ts +19 -1
- package/dist/types/notifications.d.ts +13 -3
- package/dist/types/notifications.js +16 -2
- package/dist/types/sets.d.ts +1 -0
- package/dist/types/users.d.ts +209 -20
- package/dist/types/users.js +19 -0
- package/package.json +3 -2
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
import { z } from 'zod';
|
|
2
2
|
export declare const AppTranslations: z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
3
|
-
percent_available: z.ZodOptional<z.ZodString>;
|
|
4
3
|
name: z.ZodString;
|
|
5
4
|
version: z.ZodString;
|
|
6
5
|
a11y_add_secondary_language_hint: z.ZodString;
|
|
@@ -51,7 +50,6 @@ export declare const AppTranslations: z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
|
51
50
|
add_language: z.ZodString;
|
|
52
51
|
all: z.ZodString;
|
|
53
52
|
all_languages: z.ZodString;
|
|
54
|
-
app_store_listing_title: z.ZodString;
|
|
55
53
|
app_store_listing_description: z.ZodString;
|
|
56
54
|
app_store_listing_screenshot_foundations: z.ZodString;
|
|
57
55
|
app_store_listing_screenshot_languages: z.ZodString;
|
|
@@ -64,6 +62,7 @@ export declare const AppTranslations: z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
|
64
62
|
app_store_listing_screenshot_testimonial: z.ZodString;
|
|
65
63
|
app_store_listing_screenshot_topics: z.ZodString;
|
|
66
64
|
app_store_listing_subtitle: z.ZodString;
|
|
65
|
+
app_store_listing_title: z.ZodString;
|
|
67
66
|
appearance: z.ZodString;
|
|
68
67
|
application: z.ZodString;
|
|
69
68
|
article_categories_65004e85fba2e8c9d281a73e: z.ZodString;
|
|
@@ -124,7 +123,10 @@ export declare const AppTranslations: z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
|
124
123
|
enter_passcode: z.ZodString;
|
|
125
124
|
favorites: z.ZodString;
|
|
126
125
|
fellowship: z.ZodString;
|
|
126
|
+
fetch_bible_error: z.ZodString;
|
|
127
|
+
fetch_bible_no_internet: z.ZodString;
|
|
127
128
|
filter_articles: z.ZodString;
|
|
129
|
+
finish: z.ZodOptional<z.ZodString>;
|
|
128
130
|
font_size: z.ZodString;
|
|
129
131
|
foundations: z.ZodString;
|
|
130
132
|
get_started_foundations: z.ZodString;
|
|
@@ -141,11 +143,13 @@ export declare const AppTranslations: z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
|
141
143
|
internet_required_download: z.ZodString;
|
|
142
144
|
internet_required_download_share: z.ZodString;
|
|
143
145
|
introduction: z.ZodString;
|
|
146
|
+
language_names: z.ZodRecord<z.ZodString, z.ZodString>;
|
|
144
147
|
language_types_app_interface: z.ZodString;
|
|
145
148
|
language_types_meet: z.ZodString;
|
|
146
149
|
language_types_meet_primary: z.ZodString;
|
|
147
150
|
language_types_meet_secondary: z.ZodString;
|
|
148
151
|
language_types_video_bridge: z.ZodString;
|
|
152
|
+
later: z.ZodOptional<z.ZodString>;
|
|
149
153
|
learn: z.ZodString;
|
|
150
154
|
learn_more: z.ZodString;
|
|
151
155
|
light: z.ZodString;
|
|
@@ -168,38 +172,40 @@ export declare const AppTranslations: z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
|
168
172
|
note_placeholder: z.ZodString;
|
|
169
173
|
note_saved: z.ZodString;
|
|
170
174
|
notes_view: z.ZodString;
|
|
175
|
+
notifications: z.ZodOptional<z.ZodString>;
|
|
171
176
|
notifications_enable: z.ZodString;
|
|
172
177
|
ok: z.ZodString;
|
|
173
178
|
passcode_set: z.ZodString;
|
|
179
|
+
percent_available: z.ZodOptional<z.ZodString>;
|
|
174
180
|
piano: z.ZodString;
|
|
175
181
|
piano_description: z.ZodString;
|
|
176
182
|
playback_speed: z.ZodString;
|
|
177
183
|
popups_app_interface_help: z.ZodString;
|
|
178
184
|
popups_casting_stop_confirm: z.ZodString;
|
|
179
185
|
popups_code_request_success_message: z.ZodString;
|
|
180
|
-
popups_codes_no_match_title: z.ZodString;
|
|
181
186
|
popups_codes_no_match_message: z.ZodString;
|
|
187
|
+
popups_codes_no_match_title: z.ZodString;
|
|
182
188
|
popups_foundations_description_believer: z.ZodString;
|
|
183
189
|
popups_foundations_description_seeker: z.ZodString;
|
|
184
|
-
popups_group_help_title: z.ZodString;
|
|
185
190
|
popups_group_help_message: z.ZodString;
|
|
191
|
+
popups_group_help_title: z.ZodString;
|
|
186
192
|
popups_meet_help: z.ZodString;
|
|
187
|
-
popups_notification_opt_in_title: z.ZodString;
|
|
188
193
|
popups_notification_opt_in_message: z.ZodString;
|
|
189
|
-
|
|
194
|
+
popups_notification_opt_in_title: z.ZodString;
|
|
190
195
|
popups_play_help_message: z.ZodString;
|
|
191
|
-
|
|
196
|
+
popups_play_help_title: z.ZodString;
|
|
192
197
|
popups_remove_meeting_message: z.ZodString;
|
|
193
|
-
|
|
198
|
+
popups_remove_meeting_title: z.ZodString;
|
|
194
199
|
popups_submit_feedback_error_message: z.ZodString;
|
|
195
|
-
|
|
200
|
+
popups_submit_feedback_error_title: z.ZodString;
|
|
196
201
|
popups_submit_feedback_success_message: z.ZodString;
|
|
202
|
+
popups_submit_feedback_success_title: z.ZodString;
|
|
197
203
|
popups_topics_description: z.ZodString;
|
|
198
204
|
popups_training_description_believer: z.ZodString;
|
|
199
|
-
popups_unlock_successful_title: z.ZodString;
|
|
200
205
|
popups_unlock_successful_message: z.ZodString;
|
|
201
|
-
|
|
206
|
+
popups_unlock_successful_title: z.ZodString;
|
|
202
207
|
popups_unlocked_learn_help_message: z.ZodString;
|
|
208
|
+
popups_unlocked_learn_help_title: z.ZodString;
|
|
203
209
|
popups_watch_on_youtube_blurb: z.ZodString;
|
|
204
210
|
privacy_policy: z.ZodString;
|
|
205
211
|
question: z.ZodString;
|
|
@@ -229,6 +235,7 @@ export declare const AppTranslations: z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
|
229
235
|
report_problem_help: z.ZodString;
|
|
230
236
|
request_passcode: z.ZodString;
|
|
231
237
|
required: z.ZodString;
|
|
238
|
+
retry: z.ZodString;
|
|
232
239
|
return_home: z.ZodString;
|
|
233
240
|
save_and_close: z.ZodString;
|
|
234
241
|
search: z.ZodString;
|
|
@@ -299,10 +306,6 @@ export declare const AppTranslations: z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
|
299
306
|
week: z.ZodString;
|
|
300
307
|
welcome_blurb: z.ZodString;
|
|
301
308
|
yes: z.ZodString;
|
|
302
|
-
retry: z.ZodString;
|
|
303
|
-
fetch_bible_no_internet: z.ZodString;
|
|
304
|
-
fetch_bible_error: z.ZodString;
|
|
305
|
-
language_names: z.ZodRecord<z.ZodString, z.ZodString>;
|
|
306
309
|
}, "strip", z.ZodTypeAny, {
|
|
307
310
|
message: string;
|
|
308
311
|
text: string;
|
|
@@ -360,7 +363,6 @@ export declare const AppTranslations: z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
|
360
363
|
about: string;
|
|
361
364
|
add_language: string;
|
|
362
365
|
all_languages: string;
|
|
363
|
-
app_store_listing_title: string;
|
|
364
366
|
app_store_listing_description: string;
|
|
365
367
|
app_store_listing_screenshot_foundations: string;
|
|
366
368
|
app_store_listing_screenshot_languages: string;
|
|
@@ -373,6 +375,7 @@ export declare const AppTranslations: z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
|
373
375
|
app_store_listing_screenshot_testimonial: string;
|
|
374
376
|
app_store_listing_screenshot_topics: string;
|
|
375
377
|
app_store_listing_subtitle: string;
|
|
378
|
+
app_store_listing_title: string;
|
|
376
379
|
appearance: string;
|
|
377
380
|
application: string;
|
|
378
381
|
article_categories_65004e85fba2e8c9d281a73e: string;
|
|
@@ -431,6 +434,8 @@ export declare const AppTranslations: z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
|
431
434
|
enter_passcode: string;
|
|
432
435
|
favorites: string;
|
|
433
436
|
fellowship: string;
|
|
437
|
+
fetch_bible_error: string;
|
|
438
|
+
fetch_bible_no_internet: string;
|
|
434
439
|
filter_articles: string;
|
|
435
440
|
font_size: string;
|
|
436
441
|
get_started_foundations: string;
|
|
@@ -447,6 +452,7 @@ export declare const AppTranslations: z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
|
447
452
|
internet_required_download: string;
|
|
448
453
|
internet_required_download_share: string;
|
|
449
454
|
introduction: string;
|
|
455
|
+
language_names: Record<string, string>;
|
|
450
456
|
language_types_app_interface: string;
|
|
451
457
|
language_types_meet: string;
|
|
452
458
|
language_types_meet_primary: string;
|
|
@@ -482,29 +488,29 @@ export declare const AppTranslations: z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
|
482
488
|
popups_app_interface_help: string;
|
|
483
489
|
popups_casting_stop_confirm: string;
|
|
484
490
|
popups_code_request_success_message: string;
|
|
485
|
-
popups_codes_no_match_title: string;
|
|
486
491
|
popups_codes_no_match_message: string;
|
|
492
|
+
popups_codes_no_match_title: string;
|
|
487
493
|
popups_foundations_description_believer: string;
|
|
488
494
|
popups_foundations_description_seeker: string;
|
|
489
|
-
popups_group_help_title: string;
|
|
490
495
|
popups_group_help_message: string;
|
|
496
|
+
popups_group_help_title: string;
|
|
491
497
|
popups_meet_help: string;
|
|
492
|
-
popups_notification_opt_in_title: string;
|
|
493
498
|
popups_notification_opt_in_message: string;
|
|
494
|
-
|
|
499
|
+
popups_notification_opt_in_title: string;
|
|
495
500
|
popups_play_help_message: string;
|
|
496
|
-
|
|
501
|
+
popups_play_help_title: string;
|
|
497
502
|
popups_remove_meeting_message: string;
|
|
498
|
-
|
|
503
|
+
popups_remove_meeting_title: string;
|
|
499
504
|
popups_submit_feedback_error_message: string;
|
|
500
|
-
|
|
505
|
+
popups_submit_feedback_error_title: string;
|
|
501
506
|
popups_submit_feedback_success_message: string;
|
|
507
|
+
popups_submit_feedback_success_title: string;
|
|
502
508
|
popups_topics_description: string;
|
|
503
509
|
popups_training_description_believer: string;
|
|
504
|
-
popups_unlock_successful_title: string;
|
|
505
510
|
popups_unlock_successful_message: string;
|
|
506
|
-
|
|
511
|
+
popups_unlock_successful_title: string;
|
|
507
512
|
popups_unlocked_learn_help_message: string;
|
|
513
|
+
popups_unlocked_learn_help_title: string;
|
|
508
514
|
popups_watch_on_youtube_blurb: string;
|
|
509
515
|
privacy_policy: string;
|
|
510
516
|
question: string;
|
|
@@ -534,6 +540,7 @@ export declare const AppTranslations: z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
|
534
540
|
report_problem_help: string;
|
|
535
541
|
request_passcode: string;
|
|
536
542
|
required: string;
|
|
543
|
+
retry: string;
|
|
537
544
|
return_home: string;
|
|
538
545
|
save_and_close: string;
|
|
539
546
|
search: string;
|
|
@@ -602,10 +609,9 @@ export declare const AppTranslations: z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
|
602
609
|
week: string;
|
|
603
610
|
welcome_blurb: string;
|
|
604
611
|
yes: string;
|
|
605
|
-
|
|
606
|
-
|
|
607
|
-
|
|
608
|
-
language_names: Record<string, string>;
|
|
612
|
+
finish?: string | undefined;
|
|
613
|
+
later?: string | undefined;
|
|
614
|
+
notifications?: string | undefined;
|
|
609
615
|
percent_available?: string | undefined;
|
|
610
616
|
}, {
|
|
611
617
|
message: string;
|
|
@@ -664,7 +670,6 @@ export declare const AppTranslations: z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
|
664
670
|
about: string;
|
|
665
671
|
add_language: string;
|
|
666
672
|
all_languages: string;
|
|
667
|
-
app_store_listing_title: string;
|
|
668
673
|
app_store_listing_description: string;
|
|
669
674
|
app_store_listing_screenshot_foundations: string;
|
|
670
675
|
app_store_listing_screenshot_languages: string;
|
|
@@ -677,6 +682,7 @@ export declare const AppTranslations: z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
|
677
682
|
app_store_listing_screenshot_testimonial: string;
|
|
678
683
|
app_store_listing_screenshot_topics: string;
|
|
679
684
|
app_store_listing_subtitle: string;
|
|
685
|
+
app_store_listing_title: string;
|
|
680
686
|
appearance: string;
|
|
681
687
|
application: string;
|
|
682
688
|
article_categories_65004e85fba2e8c9d281a73e: string;
|
|
@@ -735,6 +741,8 @@ export declare const AppTranslations: z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
|
735
741
|
enter_passcode: string;
|
|
736
742
|
favorites: string;
|
|
737
743
|
fellowship: string;
|
|
744
|
+
fetch_bible_error: string;
|
|
745
|
+
fetch_bible_no_internet: string;
|
|
738
746
|
filter_articles: string;
|
|
739
747
|
font_size: string;
|
|
740
748
|
get_started_foundations: string;
|
|
@@ -751,6 +759,7 @@ export declare const AppTranslations: z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
|
751
759
|
internet_required_download: string;
|
|
752
760
|
internet_required_download_share: string;
|
|
753
761
|
introduction: string;
|
|
762
|
+
language_names: Record<string, string>;
|
|
754
763
|
language_types_app_interface: string;
|
|
755
764
|
language_types_meet: string;
|
|
756
765
|
language_types_meet_primary: string;
|
|
@@ -786,29 +795,29 @@ export declare const AppTranslations: z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
|
786
795
|
popups_app_interface_help: string;
|
|
787
796
|
popups_casting_stop_confirm: string;
|
|
788
797
|
popups_code_request_success_message: string;
|
|
789
|
-
popups_codes_no_match_title: string;
|
|
790
798
|
popups_codes_no_match_message: string;
|
|
799
|
+
popups_codes_no_match_title: string;
|
|
791
800
|
popups_foundations_description_believer: string;
|
|
792
801
|
popups_foundations_description_seeker: string;
|
|
793
|
-
popups_group_help_title: string;
|
|
794
802
|
popups_group_help_message: string;
|
|
803
|
+
popups_group_help_title: string;
|
|
795
804
|
popups_meet_help: string;
|
|
796
|
-
popups_notification_opt_in_title: string;
|
|
797
805
|
popups_notification_opt_in_message: string;
|
|
798
|
-
|
|
806
|
+
popups_notification_opt_in_title: string;
|
|
799
807
|
popups_play_help_message: string;
|
|
800
|
-
|
|
808
|
+
popups_play_help_title: string;
|
|
801
809
|
popups_remove_meeting_message: string;
|
|
802
|
-
|
|
810
|
+
popups_remove_meeting_title: string;
|
|
803
811
|
popups_submit_feedback_error_message: string;
|
|
804
|
-
|
|
812
|
+
popups_submit_feedback_error_title: string;
|
|
805
813
|
popups_submit_feedback_success_message: string;
|
|
814
|
+
popups_submit_feedback_success_title: string;
|
|
806
815
|
popups_topics_description: string;
|
|
807
816
|
popups_training_description_believer: string;
|
|
808
|
-
popups_unlock_successful_title: string;
|
|
809
817
|
popups_unlock_successful_message: string;
|
|
810
|
-
|
|
818
|
+
popups_unlock_successful_title: string;
|
|
811
819
|
popups_unlocked_learn_help_message: string;
|
|
820
|
+
popups_unlocked_learn_help_title: string;
|
|
812
821
|
popups_watch_on_youtube_blurb: string;
|
|
813
822
|
privacy_policy: string;
|
|
814
823
|
question: string;
|
|
@@ -838,6 +847,7 @@ export declare const AppTranslations: z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
|
838
847
|
report_problem_help: string;
|
|
839
848
|
request_passcode: string;
|
|
840
849
|
required: string;
|
|
850
|
+
retry: string;
|
|
841
851
|
return_home: string;
|
|
842
852
|
save_and_close: string;
|
|
843
853
|
search: string;
|
|
@@ -906,10 +916,9 @@ export declare const AppTranslations: z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
|
906
916
|
week: string;
|
|
907
917
|
welcome_blurb: string;
|
|
908
918
|
yes: string;
|
|
909
|
-
|
|
910
|
-
|
|
911
|
-
|
|
912
|
-
language_names: Record<string, string>;
|
|
919
|
+
finish?: string | undefined;
|
|
920
|
+
later?: string | undefined;
|
|
921
|
+
notifications?: string | undefined;
|
|
913
922
|
percent_available?: string | undefined;
|
|
914
923
|
}>>;
|
|
915
924
|
export type AppTranslations = z.infer<typeof AppTranslations>;
|
|
@@ -5,7 +5,6 @@ const zod_1 = require("zod");
|
|
|
5
5
|
exports.AppTranslations = zod_1.z
|
|
6
6
|
.record(zod_1.z
|
|
7
7
|
.object({
|
|
8
|
-
percent_available: zod_1.z.string().min(1).optional(),
|
|
9
8
|
name: zod_1.z.string().min(1),
|
|
10
9
|
version: zod_1.z.string().min(1),
|
|
11
10
|
a11y_add_secondary_language_hint: zod_1.z.string().min(1),
|
|
@@ -56,7 +55,6 @@ exports.AppTranslations = zod_1.z
|
|
|
56
55
|
add_language: zod_1.z.string().min(1),
|
|
57
56
|
all: zod_1.z.string().min(1),
|
|
58
57
|
all_languages: zod_1.z.string().min(1),
|
|
59
|
-
app_store_listing_title: zod_1.z.string().min(1),
|
|
60
58
|
app_store_listing_description: zod_1.z.string().min(1),
|
|
61
59
|
app_store_listing_screenshot_foundations: zod_1.z.string().min(1),
|
|
62
60
|
app_store_listing_screenshot_languages: zod_1.z.string().min(1),
|
|
@@ -69,6 +67,7 @@ exports.AppTranslations = zod_1.z
|
|
|
69
67
|
app_store_listing_screenshot_testimonial: zod_1.z.string().min(1),
|
|
70
68
|
app_store_listing_screenshot_topics: zod_1.z.string().min(1),
|
|
71
69
|
app_store_listing_subtitle: zod_1.z.string().min(1),
|
|
70
|
+
app_store_listing_title: zod_1.z.string().min(1),
|
|
72
71
|
appearance: zod_1.z.string().min(1),
|
|
73
72
|
application: zod_1.z.string().min(1),
|
|
74
73
|
article_categories_65004e85fba2e8c9d281a73e: zod_1.z.string().min(1),
|
|
@@ -129,7 +128,10 @@ exports.AppTranslations = zod_1.z
|
|
|
129
128
|
enter_passcode: zod_1.z.string().min(1),
|
|
130
129
|
favorites: zod_1.z.string().min(1),
|
|
131
130
|
fellowship: zod_1.z.string().min(1),
|
|
131
|
+
fetch_bible_error: zod_1.z.string().min(1),
|
|
132
|
+
fetch_bible_no_internet: zod_1.z.string().min(1),
|
|
132
133
|
filter_articles: zod_1.z.string().min(1),
|
|
134
|
+
finish: zod_1.z.string().min(1).optional(),
|
|
133
135
|
font_size: zod_1.z.string().min(1),
|
|
134
136
|
foundations: zod_1.z.string().min(1),
|
|
135
137
|
get_started_foundations: zod_1.z.string().min(1),
|
|
@@ -146,11 +148,15 @@ exports.AppTranslations = zod_1.z
|
|
|
146
148
|
internet_required_download: zod_1.z.string().min(1),
|
|
147
149
|
internet_required_download_share: zod_1.z.string().min(1),
|
|
148
150
|
introduction: zod_1.z.string().min(1),
|
|
151
|
+
language_names: zod_1.z
|
|
152
|
+
.record(zod_1.z.string().min(1))
|
|
153
|
+
.describe('Mapping of language codes (ISO 639 or internal codes) to their localized display names'),
|
|
149
154
|
language_types_app_interface: zod_1.z.string().min(1),
|
|
150
155
|
language_types_meet: zod_1.z.string().min(1),
|
|
151
156
|
language_types_meet_primary: zod_1.z.string().min(1),
|
|
152
157
|
language_types_meet_secondary: zod_1.z.string().min(1),
|
|
153
158
|
language_types_video_bridge: zod_1.z.string().min(1),
|
|
159
|
+
later: zod_1.z.string().min(1).optional(),
|
|
154
160
|
learn: zod_1.z.string().min(1),
|
|
155
161
|
learn_more: zod_1.z.string().min(1),
|
|
156
162
|
light: zod_1.z.string().min(1),
|
|
@@ -173,38 +179,40 @@ exports.AppTranslations = zod_1.z
|
|
|
173
179
|
note_placeholder: zod_1.z.string().min(1),
|
|
174
180
|
note_saved: zod_1.z.string().min(1),
|
|
175
181
|
notes_view: zod_1.z.string().min(1),
|
|
182
|
+
notifications: zod_1.z.string().min(1).optional(),
|
|
176
183
|
notifications_enable: zod_1.z.string().min(1),
|
|
177
184
|
ok: zod_1.z.string().min(1),
|
|
178
185
|
passcode_set: zod_1.z.string().min(1),
|
|
186
|
+
percent_available: zod_1.z.string().min(1).optional(),
|
|
179
187
|
piano: zod_1.z.string().min(1),
|
|
180
188
|
piano_description: zod_1.z.string().min(1),
|
|
181
189
|
playback_speed: zod_1.z.string().min(1),
|
|
182
190
|
popups_app_interface_help: zod_1.z.string().min(1),
|
|
183
191
|
popups_casting_stop_confirm: zod_1.z.string().min(1),
|
|
184
192
|
popups_code_request_success_message: zod_1.z.string().min(1),
|
|
185
|
-
popups_codes_no_match_title: zod_1.z.string().min(1),
|
|
186
193
|
popups_codes_no_match_message: zod_1.z.string().min(1),
|
|
194
|
+
popups_codes_no_match_title: zod_1.z.string().min(1),
|
|
187
195
|
popups_foundations_description_believer: zod_1.z.string().min(1),
|
|
188
196
|
popups_foundations_description_seeker: zod_1.z.string().min(1),
|
|
189
|
-
popups_group_help_title: zod_1.z.string().min(1),
|
|
190
197
|
popups_group_help_message: zod_1.z.string().min(1),
|
|
198
|
+
popups_group_help_title: zod_1.z.string().min(1),
|
|
191
199
|
popups_meet_help: zod_1.z.string().min(1),
|
|
192
|
-
popups_notification_opt_in_title: zod_1.z.string().min(1),
|
|
193
200
|
popups_notification_opt_in_message: zod_1.z.string().min(1),
|
|
194
|
-
|
|
201
|
+
popups_notification_opt_in_title: zod_1.z.string().min(1),
|
|
195
202
|
popups_play_help_message: zod_1.z.string().min(1),
|
|
196
|
-
|
|
203
|
+
popups_play_help_title: zod_1.z.string().min(1),
|
|
197
204
|
popups_remove_meeting_message: zod_1.z.string().min(1),
|
|
198
|
-
|
|
205
|
+
popups_remove_meeting_title: zod_1.z.string().min(1),
|
|
199
206
|
popups_submit_feedback_error_message: zod_1.z.string().min(1),
|
|
200
|
-
|
|
207
|
+
popups_submit_feedback_error_title: zod_1.z.string().min(1),
|
|
201
208
|
popups_submit_feedback_success_message: zod_1.z.string().min(1),
|
|
209
|
+
popups_submit_feedback_success_title: zod_1.z.string().min(1),
|
|
202
210
|
popups_topics_description: zod_1.z.string().min(1),
|
|
203
211
|
popups_training_description_believer: zod_1.z.string().min(1),
|
|
204
|
-
popups_unlock_successful_title: zod_1.z.string().min(1),
|
|
205
212
|
popups_unlock_successful_message: zod_1.z.string().min(1),
|
|
206
|
-
|
|
213
|
+
popups_unlock_successful_title: zod_1.z.string().min(1),
|
|
207
214
|
popups_unlocked_learn_help_message: zod_1.z.string().min(1),
|
|
215
|
+
popups_unlocked_learn_help_title: zod_1.z.string().min(1),
|
|
208
216
|
popups_watch_on_youtube_blurb: zod_1.z.string().min(1),
|
|
209
217
|
privacy_policy: zod_1.z.string().min(1),
|
|
210
218
|
question: zod_1.z.string().min(1),
|
|
@@ -234,6 +242,7 @@ exports.AppTranslations = zod_1.z
|
|
|
234
242
|
report_problem_help: zod_1.z.string().min(1),
|
|
235
243
|
request_passcode: zod_1.z.string().min(1),
|
|
236
244
|
required: zod_1.z.string().min(1),
|
|
245
|
+
retry: zod_1.z.string().min(1),
|
|
237
246
|
return_home: zod_1.z.string().min(1),
|
|
238
247
|
save_and_close: zod_1.z.string().min(1),
|
|
239
248
|
search: zod_1.z.string().min(1),
|
|
@@ -304,12 +313,6 @@ exports.AppTranslations = zod_1.z
|
|
|
304
313
|
week: zod_1.z.string().min(1),
|
|
305
314
|
welcome_blurb: zod_1.z.string().min(1),
|
|
306
315
|
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
316
|
})
|
|
314
317
|
.describe('Translations for a single language (identified by a 3-letter code)_'))
|
|
315
318
|
.describe('Schema for appTranslations_json_ Root keys are 3-letter language identifiers (ISO-639 style)_ Each language object contains well-defined translation collections_');
|
|
@@ -1,27 +1,30 @@
|
|
|
1
1
|
import { z } from 'zod';
|
|
2
2
|
export declare const SetTranslations: z.ZodRecord<z.ZodString, z.ZodArray<z.ZodObject<{
|
|
3
3
|
setId: z.ZodString;
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
setTag: z.ZodOptional<z.ZodString>;
|
|
4
|
+
lessonTitles: z.ZodRecord<z.ZodString, z.ZodString>;
|
|
5
|
+
pauseAndDiscuss: z.ZodOptional<z.ZodString>;
|
|
7
6
|
sectionBodies: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
8
7
|
sectionHeaders: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
9
|
-
|
|
8
|
+
setDescription: z.ZodOptional<z.ZodString>;
|
|
9
|
+
setTag: z.ZodOptional<z.ZodString>;
|
|
10
|
+
setTitle: z.ZodString;
|
|
10
11
|
}, "strip", z.ZodTypeAny, {
|
|
11
12
|
setId: string;
|
|
12
|
-
setTitle: string;
|
|
13
13
|
lessonTitles: Record<string, string>;
|
|
14
|
-
|
|
15
|
-
|
|
14
|
+
setTitle: string;
|
|
15
|
+
pauseAndDiscuss?: string | undefined;
|
|
16
16
|
sectionBodies?: Record<string, string> | undefined;
|
|
17
17
|
sectionHeaders?: Record<string, string> | undefined;
|
|
18
|
+
setDescription?: string | undefined;
|
|
19
|
+
setTag?: string | undefined;
|
|
18
20
|
}, {
|
|
19
21
|
setId: string;
|
|
20
|
-
setTitle: string;
|
|
21
22
|
lessonTitles: Record<string, string>;
|
|
22
|
-
|
|
23
|
-
|
|
23
|
+
setTitle: string;
|
|
24
|
+
pauseAndDiscuss?: string | undefined;
|
|
24
25
|
sectionBodies?: Record<string, string> | undefined;
|
|
25
26
|
sectionHeaders?: Record<string, string> | undefined;
|
|
27
|
+
setDescription?: string | undefined;
|
|
28
|
+
setTag?: string | undefined;
|
|
26
29
|
}>, "many">>;
|
|
27
30
|
export type SetTranslations = z.infer<typeof SetTranslations>;
|
|
@@ -6,15 +6,12 @@ exports.SetTranslations = zod_1.z
|
|
|
6
6
|
.record(zod_1.z
|
|
7
7
|
.array(zod_1.z.object({
|
|
8
8
|
setId: zod_1.z.string().min(1).describe('Identifier of the set.'),
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
.
|
|
12
|
-
|
|
13
|
-
.optional(),
|
|
14
|
-
setTag: zod_1.z
|
|
9
|
+
lessonTitles: zod_1.z
|
|
10
|
+
.record(zod_1.z.string().min(1))
|
|
11
|
+
.describe('Mapping of lessonId to localized lesson title.'),
|
|
12
|
+
pauseAndDiscuss: zod_1.z
|
|
15
13
|
.string()
|
|
16
|
-
.
|
|
17
|
-
.describe('Optional topical tag for the set.')
|
|
14
|
+
.describe("Localized text for 'Pause and Discuss' prompts. Used for lesson videos.")
|
|
18
15
|
.optional(),
|
|
19
16
|
sectionBodies: zod_1.z
|
|
20
17
|
.record(zod_1.z.string().min(1))
|
|
@@ -24,9 +21,16 @@ exports.SetTranslations = zod_1.z
|
|
|
24
21
|
.record(zod_1.z.string().min(1))
|
|
25
22
|
.describe('Mapping of sectionId to localized section header text.')
|
|
26
23
|
.optional(),
|
|
27
|
-
|
|
28
|
-
.
|
|
29
|
-
.describe('
|
|
24
|
+
setDescription: zod_1.z
|
|
25
|
+
.string()
|
|
26
|
+
.describe('Localized description for the set.')
|
|
27
|
+
.optional(),
|
|
28
|
+
setTag: zod_1.z
|
|
29
|
+
.string()
|
|
30
|
+
.min(1)
|
|
31
|
+
.describe('Optional topical tag for the set.')
|
|
32
|
+
.optional(),
|
|
33
|
+
setTitle: zod_1.z.string().min(1).describe('Localized title for the set.'),
|
|
30
34
|
}))
|
|
31
35
|
.describe('Array of translated sets for a given 3-letter language id (ISO-ish).'))
|
|
32
36
|
.describe('Record of language ids to arrays of translated sets used by the app. Produced by scripts/prebuild/combine.ts (setTranslations.json). Each set item merges metadata translation fields (setTitle, setDescription, lessonTitles, etc.) under a setId.');
|
|
@@ -11,7 +11,7 @@ export declare function numerals(text: string, script: Languages[number]['script
|
|
|
11
11
|
* These values are not the name of the font necessarily, but the identifier of
|
|
12
12
|
* the font which can be found by inspecting the font in an app like Font Book.
|
|
13
13
|
*/
|
|
14
|
-
export declare const fonts: Record<Languages[number]['script'],
|
|
14
|
+
export declare const fonts: Record<Languages[number]['script'], string | null>;
|
|
15
15
|
/**
|
|
16
16
|
* Get the font family for a given script and weight.
|
|
17
17
|
*
|
|
@@ -162,18 +162,19 @@ function numerals(text, script) {
|
|
|
162
162
|
exports.fonts = {
|
|
163
163
|
arabic: 'IBMPlexSansArabic',
|
|
164
164
|
cyrillic: 'NotoSans',
|
|
165
|
-
chinese: '
|
|
166
|
-
devanagari: '
|
|
165
|
+
chinese: 'NotoSansSP',
|
|
166
|
+
devanagari: 'NotoSansDevanagari',
|
|
167
167
|
latin: 'EudoxusSans',
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
korean: 'NotoSans',
|
|
171
|
-
thai: 'NotoSans',
|
|
172
|
-
hebrew: 'NotoSans',
|
|
168
|
+
japanese: 'NotoSansJP',
|
|
169
|
+
thai: 'NotoSansThai',
|
|
173
170
|
khmer: 'KhmerOSContent',
|
|
174
|
-
bengali: null,
|
|
175
171
|
telugu: 'AnekTelugu',
|
|
176
172
|
burmese: 'Padauk',
|
|
173
|
+
uyghur: 'UKIJ Tuz',
|
|
174
|
+
greek: null,
|
|
175
|
+
bengali: null,
|
|
176
|
+
hebrew: null,
|
|
177
|
+
korean: null,
|
|
177
178
|
geez: null,
|
|
178
179
|
georgian: null,
|
|
179
180
|
gujarati: null,
|
|
@@ -181,7 +182,6 @@ exports.fonts = {
|
|
|
181
182
|
malayalam: null,
|
|
182
183
|
tamil: null,
|
|
183
184
|
gurmukhi: null,
|
|
184
|
-
uyghur: 'UKIJ Tuz',
|
|
185
185
|
};
|
|
186
186
|
/**
|
|
187
187
|
* Get the font family for a given script and weight.
|
|
@@ -22,6 +22,18 @@ export interface GetChapterParams {
|
|
|
22
22
|
bibleId: string;
|
|
23
23
|
}
|
|
24
24
|
export type GetChapter = (params: GetChapterParams) => Promise<BibleChapter | undefined>;
|
|
25
|
+
interface GetScripturePassageParams {
|
|
26
|
+
bibleId: string;
|
|
27
|
+
bibleFallbackId: string | undefined;
|
|
28
|
+
passageId: string;
|
|
29
|
+
getChapter: GetChapter;
|
|
30
|
+
languageInfo: LanguageInfo;
|
|
31
|
+
}
|
|
32
|
+
/**
|
|
33
|
+
* Gets a scripture passage by extracting verses from chapters This is the core
|
|
34
|
+
* parsing logic, independent of the data source
|
|
35
|
+
*/
|
|
36
|
+
export declare function getScripturePassage({ bibleId, bibleFallbackId, passageId, getChapter, languageInfo, }: GetScripturePassageParams): Promise<ScripturePassage | undefined>;
|
|
25
37
|
interface GetLessonScriptureParams {
|
|
26
38
|
bibleId: string;
|
|
27
39
|
bibleFallbackId: string | undefined;
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.getPassagesString = getPassagesString;
|
|
4
|
+
exports.getScripturePassage = getScripturePassage;
|
|
4
5
|
exports.getLessonScripture = getLessonScripture;
|
|
5
6
|
exports.parseBibleSnapshot = parseBibleSnapshot;
|
|
6
7
|
exports.verseToSuperscript = verseToSuperscript;
|
package/dist/functions/sets.js
CHANGED
|
@@ -223,6 +223,9 @@ function getLessonInfo({ lessonId, meetLanguageInfo, setInfo, t, }) {
|
|
|
223
223
|
};
|
|
224
224
|
}
|
|
225
225
|
else {
|
|
226
|
+
const lessonFileName = `${meetLanguageInfo.languageId}.${lessonId}.mp3`;
|
|
227
|
+
const totalDuration = mediaDurations_1.mediaDurations[meetLanguageId]?.lessons?.[lessonFileName] ?? 0;
|
|
228
|
+
const sectionTimings = calculateSectionTimings(sections, totalDuration, meetLanguageId);
|
|
226
229
|
return {
|
|
227
230
|
type: 'dbs',
|
|
228
231
|
...baseInfo,
|
|
@@ -243,6 +246,7 @@ function getLessonInfo({ lessonId, meetLanguageInfo, setInfo, t, }) {
|
|
|
243
246
|
`?alt=media`,
|
|
244
247
|
},
|
|
245
248
|
passagesString: (0, scripturePassages_1.getPassagesString)(lesson.s, meetLanguageInfo),
|
|
249
|
+
sectionTimings,
|
|
246
250
|
};
|
|
247
251
|
}
|
|
248
252
|
}
|