waha-shared 1.0.344 → 1.0.345
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/dist/data/bibleAudios/bibleAudios.json +22 -0
- package/dist/data/bibleStatuses/bibleStatuses.json +594 -159
- package/dist/data/bibleTexts/bibleTexts.json +21 -0
- package/dist/data/languageAssets/index.d.ts +1 -0
- package/dist/data/languageAssets/index.js +7 -0
- package/dist/data/languageAssets/languageAssets.json +44404 -0
- package/dist/data/languageAssets/languageAssets.schema.json +19 -0
- package/dist/data/languageAssets/languageAssets.zod.d.ts +3 -0
- package/dist/data/languageAssets/languageAssets.zod.js +7 -0
- package/dist/data/languages/index.d.ts +5 -1
- package/dist/data/languages/languages.json +148 -54
- package/dist/data/languages/languages.schema.json +24 -3
- package/dist/data/languages/languages.zod.d.ts +10 -1
- package/dist/data/languages/languages.zod.js +18 -5
- package/dist/data/mediaDurations/mediaDurations.json +31030 -684
- package/dist/data/releaseNotes/releaseNotes.json +16 -2
- package/dist/data/translationsApp/index.d.ts +1 -0
- package/dist/data/translationsApp/translationsApp.json +41 -0
- package/dist/data/translationsApp/translationsApp.zod.d.ts +2 -0
- package/dist/data/translationsApp/translationsApp.zod.js +1 -0
- package/dist/data/youtubeVideos/youtubeVideos.json +55 -115
- package/dist/functions/ffmpeg.d.ts +104 -0
- package/dist/functions/ffmpeg.js +307 -0
- package/dist/functions/scripturePassages.js +9 -11
- package/dist/functions/sets.d.ts +15 -4
- package/dist/functions/sets.js +172 -228
- package/dist/functions/upload.d.ts +34 -0
- package/dist/functions/upload.js +49 -0
- package/dist/functions/utils.d.ts +6 -1
- package/dist/functions/utils.js +18 -4
- package/dist/types/sets.d.ts +22 -19
- package/package.json +3 -2
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.Languages = exports.BibleModifier = exports.BridgeLanguages = exports.Status = exports.BibleTestament = exports.SetCategory = void 0;
|
|
3
|
+
exports.Languages = exports.AssetVersions = 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,6 +49,22 @@ 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}`.');
|
|
52
68
|
exports.Languages = zod_1.z.array(zod_1.z
|
|
53
69
|
.object({
|
|
54
70
|
languageId: zod_1.z
|
|
@@ -58,10 +74,7 @@ exports.Languages = zod_1.z.array(zod_1.z
|
|
|
58
74
|
.string()
|
|
59
75
|
.describe('The name of a language in English, i.e. "Spanish". This helps Waha team members identify the language.'),
|
|
60
76
|
appInterface: zod_1.z.boolean(),
|
|
61
|
-
|
|
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).'),
|
|
77
|
+
assetVersions: exports.AssetVersions.optional(),
|
|
65
78
|
bcpLanguageId: zod_1.z
|
|
66
79
|
.string()
|
|
67
80
|
.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/")
|