waha-shared 1.0.397 → 1.0.398
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/languages/languages.json +3 -3
- package/dist/data/languages/languages.schema.json +25 -7
- package/dist/data/languages/languages.zod.d.ts +2 -0
- package/dist/data/languages/languages.zod.js +15 -36
- package/dist/data/translationsApp/translationsApp.json +80 -0
- package/dist/functions/bibles.js +8 -4
- package/dist/functions/ffmpeg.js +15 -8
- package/dist/functions/languages.d.ts +3 -3
- package/dist/functions/scripturePassages.js +5 -3
- package/dist/functions/sets.d.ts +2 -1
- package/dist/types/analytics.d.ts +6 -5
- package/dist/types/articles.d.ts +7 -7
- package/dist/types/articles.js +14 -14
- package/dist/types/feedback.d.ts +2 -2
- package/dist/types/feedback.js +2 -2
- package/dist/types/location.d.ts +2 -2
- package/dist/types/location.js +2 -2
- package/dist/types/microLessons.d.ts +12 -12
- package/dist/types/microLessons.js +21 -20
- package/dist/types/notifications.d.ts +4 -4
- package/dist/types/notifications.js +3 -3
- package/dist/types/scripturePassages.d.ts +2 -2
- package/dist/types/scripturePassages.js +2 -2
- package/dist/types/sets.d.ts +2 -2
- package/dist/types/stoplight.d.ts +2 -2
- package/dist/types/stoplight.js +2 -2
- package/dist/types/users.d.ts +23 -22
- package/dist/types/users.js +29 -29
- package/dist/types/webContent.d.ts +7 -7
- package/dist/types/webContent.js +8 -8
- package/package.json +1 -1
|
@@ -431,7 +431,7 @@
|
|
|
431
431
|
"pm": "Josh Müller",
|
|
432
432
|
"script": "arabic",
|
|
433
433
|
"status": {
|
|
434
|
-
"dbs": "
|
|
434
|
+
"dbs": "launched",
|
|
435
435
|
"gdmc": "notStarted",
|
|
436
436
|
"trainingVideos": "notStarted",
|
|
437
437
|
"web": "notStarted"
|
|
@@ -4862,7 +4862,7 @@
|
|
|
4862
4862
|
"mmsLanguageId": "nld",
|
|
4863
4863
|
"script": "latin",
|
|
4864
4864
|
"status": {
|
|
4865
|
-
"dbs": "
|
|
4865
|
+
"dbs": "launched",
|
|
4866
4866
|
"gdmc": "notStarted",
|
|
4867
4867
|
"trainingVideos": "notStarted",
|
|
4868
4868
|
"web": "notStarted"
|
|
@@ -5501,7 +5501,7 @@
|
|
|
5501
5501
|
},
|
|
5502
5502
|
"uuid": "97227f00-fa44-48bd-9249-c2fc25dda631",
|
|
5503
5503
|
"countries": ["AF"],
|
|
5504
|
-
"expectMissing": ["Foundations"]
|
|
5504
|
+
"expectMissing": ["Foundations", "Topics"]
|
|
5505
5505
|
},
|
|
5506
5506
|
{
|
|
5507
5507
|
"languageId": "pus",
|
|
@@ -12,6 +12,8 @@
|
|
|
12
12
|
"properties": {
|
|
13
13
|
"languageId": {
|
|
14
14
|
"type": "string",
|
|
15
|
+
"minLength": 3,
|
|
16
|
+
"maxLength": 3,
|
|
15
17
|
"description": "A 3 letter id used to represent a language in Waha. Use the standard ISO 693-3 id found in data/iso6933LanguageCodes.json. If the language isn't there, use a unique custom 3 letter id that isn't already taken and add it to that file so it doesn't get taken by another language."
|
|
16
18
|
},
|
|
17
19
|
"exonym": {
|
|
@@ -225,6 +227,8 @@
|
|
|
225
227
|
},
|
|
226
228
|
"likelyAppInterfacePair": {
|
|
227
229
|
"type": "string",
|
|
230
|
+
"minLength": 3,
|
|
231
|
+
"maxLength": 3,
|
|
228
232
|
"description": "The language id of the language that is most likely to be used as the app interface language for this language."
|
|
229
233
|
},
|
|
230
234
|
"expectMissing": {
|
|
@@ -435,31 +439,45 @@
|
|
|
435
439
|
"properties": {
|
|
436
440
|
"intros": {
|
|
437
441
|
"description": "If the language is not recording its own intros, specify the language id of the language that will be used as the bridge language for the intro content.",
|
|
438
|
-
"type": "string"
|
|
442
|
+
"type": "string",
|
|
443
|
+
"minLength": 3,
|
|
444
|
+
"maxLength": 3
|
|
439
445
|
},
|
|
440
446
|
"trainingVideos": {
|
|
441
447
|
"description": "If the language is not doing its own dmc videos, or if the dmc videos are in progress, you can specify one or more bridge languages that will be used in the meantime. If a language does not have a launched dm course and if they don't specify any bridge languages, the training content will not be available in the app.",
|
|
442
|
-
"type": "string"
|
|
448
|
+
"type": "string",
|
|
449
|
+
"minLength": 3,
|
|
450
|
+
"maxLength": 3
|
|
443
451
|
},
|
|
444
452
|
"ftbs": {
|
|
445
453
|
"description": "If the language is not recording its own ftbs, specify the language id of the language that will be used as the bridge language for the ftbs content.",
|
|
446
|
-
"type": "string"
|
|
454
|
+
"type": "string",
|
|
455
|
+
"minLength": 3,
|
|
456
|
+
"maxLength": 3
|
|
447
457
|
},
|
|
448
458
|
"titles": {
|
|
449
459
|
"description": "If the language is not translating its own titles, specify the language id of the language that will be used as the bridge language for the titles content.",
|
|
450
|
-
"type": "string"
|
|
460
|
+
"type": "string",
|
|
461
|
+
"minLength": 3,
|
|
462
|
+
"maxLength": 3
|
|
451
463
|
},
|
|
452
464
|
"questionText": {
|
|
453
465
|
"description": "If the language is not translating its own question text, specify the language id of the language that will be used as the bridge language for the question text content.",
|
|
454
|
-
"type": "string"
|
|
466
|
+
"type": "string",
|
|
467
|
+
"minLength": 3,
|
|
468
|
+
"maxLength": 3
|
|
455
469
|
},
|
|
456
470
|
"questionAudio": {
|
|
457
471
|
"description": "If the language is not recording its own question audio, specify the language id of the language that will be used as the bridge language for the question audio content.",
|
|
458
|
-
"type": "string"
|
|
472
|
+
"type": "string",
|
|
473
|
+
"minLength": 3,
|
|
474
|
+
"maxLength": 3
|
|
459
475
|
},
|
|
460
476
|
"onboardingPassages": {
|
|
461
477
|
"description": "The language id of the onboarding passages for this language.",
|
|
462
|
-
"type": "string"
|
|
478
|
+
"type": "string",
|
|
479
|
+
"minLength": 3,
|
|
480
|
+
"maxLength": 3
|
|
463
481
|
}
|
|
464
482
|
},
|
|
465
483
|
"additionalProperties": false,
|
|
@@ -17,6 +17,8 @@ export declare const Status: z.ZodEnum<{
|
|
|
17
17
|
launched: "launched";
|
|
18
18
|
}>;
|
|
19
19
|
export type Status = z.infer<typeof Status>;
|
|
20
|
+
export declare const LanguageId: z.ZodString;
|
|
21
|
+
export type LanguageId = z.infer<typeof LanguageId>;
|
|
20
22
|
export declare const BridgeLanguages: z.ZodObject<{
|
|
21
23
|
intros: z.ZodOptional<z.ZodString>;
|
|
22
24
|
trainingVideos: z.ZodOptional<z.ZodString>;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.Languages = exports.LanguageStatuses = exports.AssetVersions = exports.BibleModifier = exports.BridgeLanguages = exports.Status = exports.BibleTestament = exports.SetCategory = void 0;
|
|
3
|
+
exports.Languages = exports.LanguageStatuses = exports.AssetVersions = exports.BibleModifier = exports.BridgeLanguages = exports.LanguageId = 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']);
|
|
@@ -10,36 +10,20 @@ exports.Status = zod_1.z.enum([
|
|
|
10
10
|
'testing',
|
|
11
11
|
'launched',
|
|
12
12
|
]);
|
|
13
|
+
exports.LanguageId = zod_1.z
|
|
14
|
+
.string()
|
|
15
|
+
.min(3)
|
|
16
|
+
.max(3)
|
|
17
|
+
.describe("A 3 letter id used to represent a language in Waha. Use the standard ISO 693-3 id found in data/iso6933LanguageCodes.json. If the language isn't there, use a unique custom 3 letter id that isn't already taken and add it to that file so it doesn't get taken by another language.");
|
|
13
18
|
exports.BridgeLanguages = zod_1.z
|
|
14
19
|
.object({
|
|
15
|
-
intros:
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
.describe("If the language is not doing its own dmc videos, or if the dmc videos are in progress, you can specify one or more bridge languages that will be used in the meantime. If a language does not have a launched dm course and if they don't specify any bridge languages, the training content will not be available in the app."),
|
|
23
|
-
ftbs: zod_1.z
|
|
24
|
-
.string()
|
|
25
|
-
.optional()
|
|
26
|
-
.describe('If the language is not recording its own ftbs, specify the language id of the language that will be used as the bridge language for the ftbs content.'),
|
|
27
|
-
titles: zod_1.z
|
|
28
|
-
.string()
|
|
29
|
-
.optional()
|
|
30
|
-
.describe('If the language is not translating its own titles, specify the language id of the language that will be used as the bridge language for the titles content.'),
|
|
31
|
-
questionText: zod_1.z
|
|
32
|
-
.string()
|
|
33
|
-
.optional()
|
|
34
|
-
.describe('If the language is not translating its own question text, specify the language id of the language that will be used as the bridge language for the question text content.'),
|
|
35
|
-
questionAudio: zod_1.z
|
|
36
|
-
.string()
|
|
37
|
-
.optional()
|
|
38
|
-
.describe('If the language is not recording its own question audio, specify the language id of the language that will be used as the bridge language for the question audio content.'),
|
|
39
|
-
onboardingPassages: zod_1.z
|
|
40
|
-
.string()
|
|
41
|
-
.optional()
|
|
42
|
-
.describe('The language id of the onboarding passages for this language.'),
|
|
20
|
+
intros: exports.LanguageId.optional().describe('If the language is not recording its own intros, specify the language id of the language that will be used as the bridge language for the intro content.'),
|
|
21
|
+
trainingVideos: exports.LanguageId.optional().describe("If the language is not doing its own dmc videos, or if the dmc videos are in progress, you can specify one or more bridge languages that will be used in the meantime. If a language does not have a launched dm course and if they don't specify any bridge languages, the training content will not be available in the app."),
|
|
22
|
+
ftbs: exports.LanguageId.optional().describe('If the language is not recording its own ftbs, specify the language id of the language that will be used as the bridge language for the ftbs content.'),
|
|
23
|
+
titles: exports.LanguageId.optional().describe('If the language is not translating its own titles, specify the language id of the language that will be used as the bridge language for the titles content.'),
|
|
24
|
+
questionText: exports.LanguageId.optional().describe('If the language is not translating its own question text, specify the language id of the language that will be used as the bridge language for the question text content.'),
|
|
25
|
+
questionAudio: exports.LanguageId.optional().describe('If the language is not recording its own question audio, specify the language id of the language that will be used as the bridge language for the question audio content.'),
|
|
26
|
+
onboardingPassages: exports.LanguageId.optional().describe('The language id of the onboarding passages for this language.'),
|
|
43
27
|
})
|
|
44
28
|
.describe('Language ids to use as bridge languages for various pieces of content. Bridge languages are alternative languages to use for just that type of content.');
|
|
45
29
|
exports.BibleModifier = zod_1.z.object({
|
|
@@ -73,9 +57,7 @@ exports.LanguageStatuses = zod_1.z.object({
|
|
|
73
57
|
});
|
|
74
58
|
exports.Languages = zod_1.z.array(zod_1.z
|
|
75
59
|
.object({
|
|
76
|
-
languageId:
|
|
77
|
-
.string()
|
|
78
|
-
.describe("A 3 letter id used to represent a language in Waha. Use the standard ISO 693-3 id found in data/iso6933LanguageCodes.json. If the language isn't there, use a unique custom 3 letter id that isn't already taken and add it to that file so it doesn't get taken by another language."),
|
|
60
|
+
languageId: exports.LanguageId,
|
|
79
61
|
exonym: zod_1.z
|
|
80
62
|
.string()
|
|
81
63
|
.describe('The name of a language in English, i.e. "Spanish". This helps Waha team members identify the language.'),
|
|
@@ -198,10 +180,7 @@ exports.Languages = zod_1.z.array(zod_1.z
|
|
|
198
180
|
.boolean()
|
|
199
181
|
.describe('Whether or not to hide the donate button in the app when this language is selected as the meet language.')
|
|
200
182
|
.optional(),
|
|
201
|
-
likelyAppInterfacePair:
|
|
202
|
-
.string()
|
|
203
|
-
.describe('The language id of the language that is most likely to be used as the app interface language for this language.')
|
|
204
|
-
.optional(),
|
|
183
|
+
likelyAppInterfacePair: exports.LanguageId.describe('The language id of the language that is most likely to be used as the app interface language for this language.').optional(),
|
|
205
184
|
expectMissing: zod_1.z.array(exports.SetCategory).optional(),
|
|
206
185
|
mmsLanguageId: zod_1.z
|
|
207
186
|
.string()
|