waha-shared 1.0.335 → 1.0.337

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.
Files changed (33) hide show
  1. package/dist/data/bibleAudios/bibleAudios.json +0 -10
  2. package/dist/data/bibleStatuses/bibleStatuses.json +2013 -32
  3. package/dist/data/bibleTexts/bibleTexts.json +0 -10
  4. package/dist/data/languages/index.d.ts +1 -5
  5. package/dist/data/languages/languages.json +48 -139
  6. package/dist/data/languages/languages.schema.json +3 -24
  7. package/dist/data/languages/languages.zod.d.ts +1 -10
  8. package/dist/data/languages/languages.zod.js +5 -18
  9. package/dist/data/mediaDurations/mediaDurations.json +675 -24823
  10. package/dist/data/releaseNotes/releaseNotes.json +9 -2
  11. package/dist/data/translationsApp/index.d.ts +0 -1
  12. package/dist/data/translationsApp/translationsApp.json +0 -41
  13. package/dist/data/translationsApp/translationsApp.zod.d.ts +0 -2
  14. package/dist/data/translationsApp/translationsApp.zod.js +0 -1
  15. package/dist/data/translationsQuestion/translationsQuestion.json +3 -3
  16. package/dist/data/youtubeVideos/youtubeVideos.json +115 -55
  17. package/dist/functions/scripturePassages.js +11 -9
  18. package/dist/functions/sets.d.ts +4 -15
  19. package/dist/functions/sets.js +228 -168
  20. package/dist/functions/utils.d.ts +1 -6
  21. package/dist/functions/utils.js +4 -18
  22. package/dist/types/sets.d.ts +19 -22
  23. package/package.json +2 -3
  24. package/dist/data/languageAssets/index.d.ts +0 -1
  25. package/dist/data/languageAssets/index.js +0 -7
  26. package/dist/data/languageAssets/languageAssets.json +0 -44404
  27. package/dist/data/languageAssets/languageAssets.schema.json +0 -19
  28. package/dist/data/languageAssets/languageAssets.zod.d.ts +0 -3
  29. package/dist/data/languageAssets/languageAssets.zod.js +0 -7
  30. package/dist/functions/ffmpeg.d.ts +0 -104
  31. package/dist/functions/ffmpeg.js +0 -307
  32. package/dist/functions/upload.d.ts +0 -34
  33. package/dist/functions/upload.js +0 -49
@@ -634,16 +634,6 @@
634
634
  "sourceId": "e07bde4b48aeff94-01"
635
635
  }
636
636
  },
637
- {
638
- "bibleTextId": "SUARB",
639
- "bookNameFallback": "NAV",
640
- "languageId": "apd",
641
- "name": "الكتاب المقدس الصوتي بالعربية السودانية",
642
- "nameEnglish": "Sudanese Arabic Audio Bible",
643
- "textSource": {
644
- "source": "custom"
645
- }
646
- },
647
637
  {
648
638
  "bibleTextId": "TCL02",
649
639
  "copyright": "Kutsal Kitap © The Bible Society in Turkey (Kitabı Mukaddes Şirketi), The Translation Trust / Yeni Yaşam Yayınları 2001, 2008",
@@ -17,11 +17,7 @@ export declare const languages: {
17
17
  questionSource: "unknown" | "recorded" | "mms" | "elevenLabs";
18
18
  script: "arabic" | "bengali" | "burmese" | "chinese" | "cyrillic" | "devanagari" | "geez" | "georgian" | "greek" | "gujarati" | "gurmukhi" | "hebrew" | "japanese" | "kannada" | "khmer" | "korean" | "latin" | "malayalam" | "tamil" | "telugu" | "thai" | "uyghur";
19
19
  uuid: string;
20
- assetVersions?: {
21
- dbs?: number | undefined;
22
- dmc?: number | undefined;
23
- cast?: number | undefined;
24
- } | undefined;
20
+ audioAssetVersion?: number | undefined;
25
21
  bcpLanguageId?: string | undefined;
26
22
  bible?: string | undefined;
27
23
  bibleFallbacks?: string[] | undefined;
@@ -55,9 +55,7 @@
55
55
  {
56
56
  "languageId": "ach",
57
57
  "appInterface": false,
58
- "assetVersions": {
59
- "dbs": 2
60
- },
58
+ "audioAssetVersion": 2,
61
59
  "bcpLanguageId": "ach",
62
60
  "bible": "Aco85",
63
61
  "crowdinId": "ach",
@@ -116,9 +114,7 @@
116
114
  {
117
115
  "languageId": "aeb",
118
116
  "appInterface": false,
119
- "assetVersions": {
120
- "dbs": 2
121
- },
117
+ "audioAssetVersion": 2,
122
118
  "bcpLanguageId": "ar-TN",
123
119
  "bible": "NAV",
124
120
  "bridgeLanguages": {
@@ -156,9 +152,7 @@
156
152
  {
157
153
  "languageId": "afb",
158
154
  "appInterface": false,
159
- "assetVersions": {
160
- "dbs": 2
161
- },
155
+ "audioAssetVersion": 2,
162
156
  "bcpLanguageId": "ar-AE",
163
157
  "bible": "NAV",
164
158
  "bridgeLanguages": {
@@ -266,9 +260,7 @@
266
260
  {
267
261
  "languageId": "ais",
268
262
  "appInterface": false,
269
- "assetVersions": {
270
- "dbs": 2
271
- },
263
+ "audioAssetVersion": 2,
272
264
  "bcpLanguageId": "ar-SY",
273
265
  "bible": "GNA",
274
266
  "bridgeLanguages": {
@@ -368,9 +360,7 @@
368
360
  {
369
361
  "languageId": "apa",
370
362
  "appInterface": false,
371
- "assetVersions": {
372
- "dbs": 2
373
- },
363
+ "audioAssetVersion": 2,
374
364
  "bcpLanguageId": "ar-PS",
375
365
  "bible": "SAB",
376
366
  "bridgeLanguages": {
@@ -406,9 +396,7 @@
406
396
  {
407
397
  "languageId": "apc",
408
398
  "appInterface": false,
409
- "assetVersions": {
410
- "dbs": 2
411
- },
399
+ "audioAssetVersion": 2,
412
400
  "bcpLanguageId": "ar-LB",
413
401
  "bible": "NAV",
414
402
  "bridgeLanguages": {
@@ -447,7 +435,6 @@
447
435
  "languageId": "apd",
448
436
  "appInterface": false,
449
437
  "bcpLanguageId": "ar-SD",
450
- "bible": "SUARB",
451
438
  "bridgeLanguages": {
452
439
  "intros": "ara",
453
440
  "trainingVideos": "ara"
@@ -471,7 +458,7 @@
471
458
  "speakersSecondary": 9000000,
472
459
  "speakersTotal": 42332360,
473
460
  "status": {
474
- "dbs": "testing",
461
+ "dbs": "inProgress",
475
462
  "gdmc": "notStarted",
476
463
  "trainingVideos": "notStarted",
477
464
  "web": "notStarted"
@@ -655,9 +642,7 @@
655
642
  {
656
643
  "languageId": "ary",
657
644
  "appInterface": false,
658
- "assetVersions": {
659
- "dbs": 2
660
- },
645
+ "audioAssetVersion": 2,
661
646
  "bcpLanguageId": "ar-MA",
662
647
  "bible": "NAV",
663
648
  "bridgeLanguages": {
@@ -707,9 +692,7 @@
707
692
  {
708
693
  "languageId": "arz",
709
694
  "appInterface": false,
710
- "assetVersions": {
711
- "dbs": 2
712
- },
695
+ "audioAssetVersion": 2,
713
696
  "bcpLanguageId": "ar-EG",
714
697
  "bible": "NAV",
715
698
  "bridgeLanguages": {
@@ -886,9 +869,7 @@
886
869
  {
887
870
  "languageId": "ayl",
888
871
  "appInterface": false,
889
- "assetVersions": {
890
- "dbs": 2
891
- },
872
+ "audioAssetVersion": 2,
892
873
  "bcpLanguageId": "ar-LY",
893
874
  "bible": "NAV",
894
875
  "bridgeLanguages": {
@@ -1459,9 +1440,7 @@
1459
1440
  {
1460
1441
  "languageId": "ceb",
1461
1442
  "appInterface": true,
1462
- "assetVersions": {
1463
- "dbs": 2
1464
- },
1443
+ "audioAssetVersion": 2,
1465
1444
  "bcpLanguageId": "ceb",
1466
1445
  "bible": "CCB",
1467
1446
  "crowdinId": "ceb",
@@ -1644,9 +1623,7 @@
1644
1623
  {
1645
1624
  "languageId": "ckb",
1646
1625
  "appInterface": true,
1647
- "assetVersions": {
1648
- "dbs": 2
1649
- },
1626
+ "audioAssetVersion": 2,
1650
1627
  "bcpLanguageId": "ckb",
1651
1628
  "bible": "OKSS",
1652
1629
  "crowdinId": "ckb",
@@ -2082,10 +2059,7 @@
2082
2059
  {
2083
2060
  "languageId": "eng",
2084
2061
  "appInterface": true,
2085
- "assetVersions": {
2086
- "dbs": 2,
2087
- "dmc": 2
2088
- },
2062
+ "audioAssetVersion": 2,
2089
2063
  "bcpLanguageId": "en",
2090
2064
  "bible": "NLT",
2091
2065
  "crowdinId": "en",
@@ -2408,9 +2382,7 @@
2408
2382
  {
2409
2383
  "languageId": "fra",
2410
2384
  "appInterface": true,
2411
- "assetVersions": {
2412
- "dbs": 2
2413
- },
2385
+ "audioAssetVersion": 2,
2414
2386
  "bcpLanguageId": "fr",
2415
2387
  "bible": "PDV",
2416
2388
  "crowdinId": "fr",
@@ -3068,9 +3040,7 @@
3068
3040
  {
3069
3041
  "languageId": "hic",
3070
3042
  "appInterface": false,
3071
- "assetVersions": {
3072
- "dbs": 2
3073
- },
3043
+ "audioAssetVersion": 2,
3074
3044
  "bcpLanguageId": "ur-IN",
3075
3045
  "bible": "URDGVH",
3076
3046
  "bridgeLanguages": {
@@ -3128,9 +3098,7 @@
3128
3098
  {
3129
3099
  "languageId": "hin",
3130
3100
  "appInterface": true,
3131
- "assetVersions": {
3132
- "dbs": 2
3133
- },
3101
+ "audioAssetVersion": 2,
3134
3102
  "bcpLanguageId": "hi",
3135
3103
  "bible": "HINOVBSI",
3136
3104
  "crowdinId": "hi",
@@ -3325,9 +3293,7 @@
3325
3293
  {
3326
3294
  "languageId": "hye",
3327
3295
  "appInterface": true,
3328
- "assetVersions": {
3329
- "dbs": 4
3330
- },
3296
+ "audioAssetVersion": 4,
3331
3297
  "bible": "NEB",
3332
3298
  "crowdinId": "hy-AM",
3333
3299
  "curriculum": {
@@ -3475,9 +3441,7 @@
3475
3441
  {
3476
3442
  "languageId": "ind",
3477
3443
  "appInterface": true,
3478
- "assetVersions": {
3479
- "dbs": 3
3480
- },
3444
+ "audioAssetVersion": 3,
3481
3445
  "bcpLanguageId": "id",
3482
3446
  "bible": "TSI",
3483
3447
  "crowdinId": "inq",
@@ -3844,9 +3808,7 @@
3844
3808
  {
3845
3809
  "languageId": "kat",
3846
3810
  "appInterface": false,
3847
- "assetVersions": {
3848
- "dbs": 2
3849
- },
3811
+ "audioAssetVersion": 2,
3850
3812
  "bcpLanguageId": "ka",
3851
3813
  "bible": "GEO02",
3852
3814
  "crowdinId": "ka",
@@ -4023,9 +3985,7 @@
4023
3985
  {
4024
3986
  "languageId": "khm",
4025
3987
  "appInterface": true,
4026
- "assetVersions": {
4027
- "dbs": 2
4028
- },
3988
+ "audioAssetVersion": 2,
4029
3989
  "bcpLanguageId": "km",
4030
3990
  "bible": "KHSV05",
4031
3991
  "crowdinId": "km",
@@ -4130,9 +4090,7 @@
4130
4090
  {
4131
4091
  "languageId": "kmr",
4132
4092
  "appInterface": false,
4133
- "assetVersions": {
4134
- "dbs": 3
4135
- },
4093
+ "audioAssetVersion": 3,
4136
4094
  "bcpLanguageId": "ku",
4137
4095
  "bible": "KK",
4138
4096
  "crowdinId": "kmr",
@@ -4264,9 +4222,7 @@
4264
4222
  {
4265
4223
  "languageId": "kox",
4266
4224
  "appInterface": false,
4267
- "assetVersions": {
4268
- "dbs": 2
4269
- },
4225
+ "audioAssetVersion": 2,
4270
4226
  "bible": "NKCT",
4271
4227
  "bridgeLanguages": {
4272
4228
  "ftbs": "kor",
@@ -4673,9 +4629,7 @@
4673
4629
  {
4674
4630
  "languageId": "mar",
4675
4631
  "appInterface": true,
4676
- "assetVersions": {
4677
- "dbs": 2
4678
- },
4632
+ "audioAssetVersion": 2,
4679
4633
  "bcpLanguageId": "mr",
4680
4634
  "bible": "MARVBSI",
4681
4635
  "crowdinId": "mr",
@@ -4768,9 +4722,7 @@
4768
4722
  {
4769
4723
  "languageId": "mfe",
4770
4724
  "appInterface": false,
4771
- "assetVersions": {
4772
- "dbs": 2
4773
- },
4725
+ "audioAssetVersion": 2,
4774
4726
  "bcpLanguageId": "mfe",
4775
4727
  "bible": "NTKM2009",
4776
4728
  "bridgeLanguages": {
@@ -4830,9 +4782,7 @@
4830
4782
  {
4831
4783
  "languageId": "mlg",
4832
4784
  "appInterface": true,
4833
- "assetVersions": {
4834
- "dbs": 2
4835
- },
4785
+ "audioAssetVersion": 2,
4836
4786
  "bcpLanguageId": "mg",
4837
4787
  "bible": "MPB",
4838
4788
  "crowdinId": "mg",
@@ -5878,9 +5828,7 @@
5878
5828
  {
5879
5829
  "languageId": "por",
5880
5830
  "appInterface": true,
5881
- "assetVersions": {
5882
- "dbs": 2
5883
- },
5831
+ "audioAssetVersion": 2,
5884
5832
  "bcpLanguageId": "pt-BR",
5885
5833
  "bible": "NVI-PT",
5886
5834
  "crowdinId": "pt-PT",
@@ -5914,9 +5862,7 @@
5914
5862
  {
5915
5863
  "languageId": "prs",
5916
5864
  "appInterface": false,
5917
- "assetVersions": {
5918
- "dbs": 2
5919
- },
5865
+ "audioAssetVersion": 2,
5920
5866
  "bcpLanguageId": "prs",
5921
5867
  "bible": "TDV08",
5922
5868
  "crowdinId": "fa-AF",
@@ -5977,9 +5923,7 @@
5977
5923
  {
5978
5924
  "languageId": "qak",
5979
5925
  "appInterface": false,
5980
- "assetVersions": {
5981
- "dbs": 2
5982
- },
5926
+ "audioAssetVersion": 2,
5983
5927
  "bcpLanguageId": "ku-Arab",
5984
5928
  "bible": "AKAB",
5985
5929
  "bridgeLanguages": {
@@ -5992,7 +5936,7 @@
5992
5936
  "questions": "eng",
5993
5937
  "topics": "eng"
5994
5938
  },
5995
- "endonym": "كورمانجي عفريني",
5939
+ "endonym": "کورمانجی",
5996
5940
  "exonym": "Afrini Kurmanji",
5997
5941
  "mmsLanguageId": "kmr-script_arabic",
5998
5942
  "notes": "Both AKAB (existing bible) and WAHA_QAK (waha recorded bible) are audio only, so to still have text on the screen, our sponsors opted to copy GNA arabic text into both bibles. Thus, chapters labelled AKAB.GEN.1 actually contain GNA text even though the verse timings are synced to the AKAB audio.",
@@ -6083,9 +6027,7 @@
6083
6027
  {
6084
6028
  "languageId": "rfa",
6085
6029
  "appInterface": false,
6086
- "assetVersions": {
6087
- "dbs": 2
6088
- },
6030
+ "audioAssetVersion": 2,
6089
6031
  "bcpLanguageId": "rif-Arab",
6090
6032
  "bible": "RIF-A",
6091
6033
  "bridgeLanguages": {
@@ -6118,9 +6060,7 @@
6118
6060
  {
6119
6061
  "languageId": "rif",
6120
6062
  "appInterface": false,
6121
- "assetVersions": {
6122
- "dbs": 2
6123
- },
6063
+ "audioAssetVersion": 2,
6124
6064
  "bcpLanguageId": "rif",
6125
6065
  "bible": "RIF-L",
6126
6066
  "bridgeLanguages": {
@@ -6252,9 +6192,7 @@
6252
6192
  {
6253
6193
  "languageId": "ron",
6254
6194
  "appInterface": true,
6255
- "assetVersions": {
6256
- "dbs": 2
6257
- },
6195
+ "audioAssetVersion": 2,
6258
6196
  "bcpLanguageId": "ro",
6259
6197
  "bible": "NTR",
6260
6198
  "crowdinId": "ro",
@@ -6311,9 +6249,7 @@
6311
6249
  {
6312
6250
  "languageId": "rus",
6313
6251
  "appInterface": true,
6314
- "assetVersions": {
6315
- "dbs": 2
6316
- },
6252
+ "audioAssetVersion": 2,
6317
6253
  "bcpLanguageId": "ru",
6318
6254
  "bible": "NRT",
6319
6255
  "crowdinId": "ru",
@@ -6598,9 +6534,7 @@
6598
6534
  {
6599
6535
  "languageId": "shf",
6600
6536
  "appInterface": false,
6601
- "assetVersions": {
6602
- "dbs": 2
6603
- },
6537
+ "audioAssetVersion": 2,
6604
6538
  "bcpLanguageId": "shi-Latn",
6605
6539
  "bible": "COHT-L",
6606
6540
  "bridgeLanguages": {
@@ -6634,9 +6568,7 @@
6634
6568
  {
6635
6569
  "languageId": "shi",
6636
6570
  "appInterface": false,
6637
- "assetVersions": {
6638
- "dbs": 2
6639
- },
6571
+ "audioAssetVersion": 2,
6640
6572
  "bcpLanguageId": "shi-Arab",
6641
6573
  "bible": "COHT-A",
6642
6574
  "bridgeLanguages": {
@@ -6897,9 +6829,7 @@
6897
6829
  {
6898
6830
  "languageId": "som",
6899
6831
  "appInterface": false,
6900
- "assetVersions": {
6901
- "dbs": 2
6902
- },
6832
+ "audioAssetVersion": 2,
6903
6833
  "bcpLanguageId": "so",
6904
6834
  "bible": "SOMSIM",
6905
6835
  "crowdinId": "so",
@@ -6979,9 +6909,7 @@
6979
6909
  {
6980
6910
  "languageId": "spa",
6981
6911
  "appInterface": true,
6982
- "assetVersions": {
6983
- "dbs": 2
6984
- },
6912
+ "audioAssetVersion": 2,
6985
6913
  "bcpLanguageId": "es-419",
6986
6914
  "bible": "NBLA",
6987
6915
  "crowdinId": "es-419",
@@ -7138,9 +7066,7 @@
7138
7066
  {
7139
7067
  "languageId": "swe",
7140
7068
  "appInterface": true,
7141
- "assetVersions": {
7142
- "dbs": 2
7143
- },
7069
+ "audioAssetVersion": 2,
7144
7070
  "bcpLanguageId": "sv",
7145
7071
  "bible": "SFB15",
7146
7072
  "crowdinId": "sv-SE",
@@ -7174,9 +7100,7 @@
7174
7100
  {
7175
7101
  "languageId": "swz",
7176
7102
  "appInterface": true,
7177
- "assetVersions": {
7178
- "dbs": 2
7179
- },
7103
+ "audioAssetVersion": 2,
7180
7104
  "bible": "NENO",
7181
7105
  "crowdinId": "sw-TZ",
7182
7106
  "curriculum": {
@@ -7187,6 +7111,7 @@
7187
7111
  },
7188
7112
  "endonym": "Kiswahili",
7189
7113
  "exonym": "Swahili",
7114
+ "likelyAppInterfacePair": "swh",
7190
7115
  "mmsLanguageId": "swh",
7191
7116
  "pm": "Josh Müller",
7192
7117
  "questionSource": "unknown",
@@ -7328,9 +7253,7 @@
7328
7253
  {
7329
7254
  "languageId": "tel",
7330
7255
  "appInterface": true,
7331
- "assetVersions": {
7332
- "dbs": 2
7333
- },
7256
+ "audioAssetVersion": 2,
7334
7257
  "bcpLanguageId": "te",
7335
7258
  "bible": "TELUBSI",
7336
7259
  "crowdinId": "te",
@@ -7676,9 +7599,7 @@
7676
7599
  {
7677
7600
  "languageId": "tur",
7678
7601
  "appInterface": true,
7679
- "assetVersions": {
7680
- "dbs": 2
7681
- },
7602
+ "audioAssetVersion": 2,
7682
7603
  "bcpLanguageId": "tr",
7683
7604
  "bible": "TCL02",
7684
7605
  "crowdinId": "tr",
@@ -7759,9 +7680,7 @@
7759
7680
  {
7760
7681
  "languageId": "tzm",
7761
7682
  "appInterface": false,
7762
- "assetVersions": {
7763
- "dbs": 3
7764
- },
7683
+ "audioAssetVersion": 3,
7765
7684
  "bcpLanguageId": "tzm",
7766
7685
  "bible": "TZM",
7767
7686
  "bridgeLanguages": {
@@ -7820,9 +7739,7 @@
7820
7739
  {
7821
7740
  "languageId": "uig",
7822
7741
  "appInterface": true,
7823
- "assetVersions": {
7824
- "dbs": 2
7825
- },
7742
+ "audioAssetVersion": 2,
7826
7743
  "bcpLanguageId": "ug",
7827
7744
  "bible": "HZUT",
7828
7745
  "crowdinId": "ug",
@@ -7854,9 +7771,7 @@
7854
7771
  {
7855
7772
  "languageId": "ukr",
7856
7773
  "appInterface": true,
7857
- "assetVersions": {
7858
- "dbs": 2
7859
- },
7774
+ "audioAssetVersion": 2,
7860
7775
  "bcpLanguageId": "uk",
7861
7776
  "bible": "UBIO",
7862
7777
  "crowdinId": "uk",
@@ -7914,9 +7829,7 @@
7914
7829
  {
7915
7830
  "languageId": "urd",
7916
7831
  "appInterface": true,
7917
- "assetVersions": {
7918
- "dbs": 2
7919
- },
7832
+ "audioAssetVersion": 2,
7920
7833
  "bcpLanguageId": "ur",
7921
7834
  "bible": "URDGVU",
7922
7835
  "crowdinId": "ur-PK",
@@ -8045,9 +7958,7 @@
8045
7958
  {
8046
7959
  "languageId": "vie",
8047
7960
  "appInterface": true,
8048
- "assetVersions": {
8049
- "dbs": 2
8050
- },
7961
+ "audioAssetVersion": 2,
8051
7962
  "bcpLanguageId": "vi",
8052
7963
  "bible": "OVCB",
8053
7964
  "crowdinId": "vi",
@@ -8378,9 +8289,7 @@
8378
8289
  {
8379
8290
  "languageId": "zsm",
8380
8291
  "appInterface": true,
8381
- "assetVersions": {
8382
- "dbs": 2
8383
- },
8292
+ "audioAssetVersion": 2,
8384
8293
  "bcpLanguageId": "ms",
8385
8294
  "bible": "AVB",
8386
8295
  "crowdinId": "ms",
@@ -19,30 +19,9 @@
19
19
  "description": "The name of a language in English, i.e. \"Spanish\". This helps Waha team members identify the language."
20
20
  },
21
21
  "appInterface": { "type": "boolean" },
22
- "assetVersions": {
23
- "type": "object",
24
- "properties": {
25
- "dbs": {
26
- "description": "Asset version for Foundations/Topics/GDMC audio lessons.",
27
- "type": "integer",
28
- "minimum": -9007199254740991,
29
- "maximum": 9007199254740991
30
- },
31
- "dmc": {
32
- "description": "Asset version for Training lessons, including compressed training videos, music-ified narration audio, and production-ready disciple making course video lessons.",
33
- "type": "integer",
34
- "minimum": -9007199254740991,
35
- "maximum": 9007199254740991
36
- },
37
- "cast": {
38
- "description": "Asset version for cast-ready Foundations/Topics/GMDC video lessons.",
39
- "type": "integer",
40
- "minimum": -9007199254740991,
41
- "maximum": 9007199254740991
42
- }
43
- },
44
- "additionalProperties": false,
45
- "description": "Version numbers for various language assets that determine where files will be generated and retrieved. Omitting will always look for all assets in `full_lessons`. Adding for a category will generate and look for assets in `full_lessons${versionNumber}`."
22
+ "audioAssetVersion": {
23
+ "description": "The version number of the audio assets directory. When set, audio files will be looked up in a versioned directory (e.g. full_lessons2) instead of the default (full_lessons).",
24
+ "type": "number"
46
25
  },
47
26
  "bcpLanguageId": {
48
27
  "type": "string",
@@ -42,20 +42,11 @@ export declare const BibleModifier: z.ZodObject<{
42
42
  bibleId: z.ZodString;
43
43
  }, z.core.$strip>;
44
44
  export type BibleModifier = z.infer<typeof BibleModifier>;
45
- export declare const AssetVersions: z.ZodObject<{
46
- dbs: z.ZodOptional<z.ZodInt>;
47
- dmc: z.ZodOptional<z.ZodInt>;
48
- cast: z.ZodOptional<z.ZodInt>;
49
- }, z.core.$strip>;
50
45
  export declare const Languages: z.ZodArray<z.ZodObject<{
51
46
  languageId: z.ZodString;
52
47
  exonym: z.ZodString;
53
48
  appInterface: z.ZodBoolean;
54
- assetVersions: z.ZodOptional<z.ZodObject<{
55
- dbs: z.ZodOptional<z.ZodInt>;
56
- dmc: z.ZodOptional<z.ZodInt>;
57
- cast: z.ZodOptional<z.ZodInt>;
58
- }, z.core.$strip>>;
49
+ audioAssetVersion: z.ZodOptional<z.ZodNumber>;
59
50
  bcpLanguageId: z.ZodOptional<z.ZodString>;
60
51
  bible: z.ZodOptional<z.ZodString>;
61
52
  bibleFallbacks: z.ZodOptional<z.ZodArray<z.ZodString>>;
@@ -1,6 +1,6 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.Languages = exports.AssetVersions = exports.BibleModifier = exports.BridgeLanguages = exports.Status = exports.BibleTestament = exports.SetCategory = void 0;
3
+ exports.Languages = exports.BibleModifier = exports.BridgeLanguages = exports.Status = exports.BibleTestament = exports.SetCategory = void 0;
4
4
  const zod_1 = require("zod");
5
5
  exports.SetCategory = zod_1.z.enum(['Foundations', 'Topics', 'WahaTraining']);
6
6
  exports.BibleTestament = zod_1.z.enum(['OT', 'NT']);
@@ -49,22 +49,6 @@ exports.BibleModifier = zod_1.z.object({
49
49
  .describe('What to do with the bible. "replace" swaps the primary bible. "concat" adds this bible alongside the primary (both are used in the lesson).'),
50
50
  bibleId: zod_1.z.string().describe('The bible translation ID to use.'),
51
51
  });
52
- exports.AssetVersions = zod_1.z
53
- .object({
54
- dbs: zod_1.z
55
- .int()
56
- .optional()
57
- .describe('Asset version for Foundations/Topics/GDMC audio lessons.'),
58
- dmc: zod_1.z
59
- .int()
60
- .optional()
61
- .describe('Asset version for Training lessons, including compressed training videos, music-ified narration audio, and production-ready disciple making course video lessons.'),
62
- cast: zod_1.z
63
- .int()
64
- .optional()
65
- .describe('Asset version for cast-ready Foundations/Topics/GMDC video lessons.'),
66
- })
67
- .describe('Version numbers for various language assets that determine where files will be generated and retrieved. Omitting will always look for all assets in `full_lessons`. Adding for a category will generate and look for assets in `full_lessons${versionNumber}`.');
68
52
  exports.Languages = zod_1.z.array(zod_1.z
69
53
  .object({
70
54
  languageId: zod_1.z
@@ -74,7 +58,10 @@ exports.Languages = zod_1.z.array(zod_1.z
74
58
  .string()
75
59
  .describe('The name of a language in English, i.e. "Spanish". This helps Waha team members identify the language.'),
76
60
  appInterface: zod_1.z.boolean(),
77
- assetVersions: exports.AssetVersions.optional(),
61
+ audioAssetVersion: zod_1.z
62
+ .number()
63
+ .optional()
64
+ .describe('The version number of the audio assets directory. When set, audio files will be looked up in a versioned directory (e.g. full_lessons2) instead of the default (full_lessons).'),
78
65
  bcpLanguageId: zod_1.z
79
66
  .string()
80
67
  .describe("A language ID used for iOS's screen reader support. Should be in BCP 47 format. Should only be included if language is supported by iOS's screen reader. List of supported languages can be found here: https://www.apple.com/ios/feature-availability/")