waha-shared 1.0.264 → 1.0.265
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/README.md +3 -60
- package/dist/data/areas/areas.schema.json +13 -4
- package/dist/data/areas/index.js +0 -1
- package/dist/data/aslTimestamps/aslTimestamps.schema.json +22 -6
- package/dist/data/aslTimestamps/index.js +0 -1
- package/dist/data/bibleAudios/bibleAudios.schema.json +27 -8
- package/dist/data/bibleAudios/index.js +0 -1
- package/dist/data/bibleBooks/bibleBooks.schema.json +24 -8
- package/dist/data/bibleBooks/index.js +0 -1
- package/dist/data/bibleChaptersList/bibleChaptersList.schema.json +7 -3
- package/dist/data/bibleChaptersList/index.js +0 -1
- package/dist/data/bibleStatuses/bibleStatuses.schema.json +23 -7
- package/dist/data/bibleStatuses/index.js +0 -1
- package/dist/data/bibleTexts/bibleTexts.schema.json +22 -7
- package/dist/data/bibleTexts/index.js +0 -1
- package/dist/data/clones/clones.schema.json +26 -8
- package/dist/data/clones/index.js +0 -1
- package/dist/data/countries/countries.schema.json +28 -8
- package/dist/data/countries/index.js +0 -1
- package/dist/data/countriesAndLanguages/countriesAndLanguages.schema.json +17 -5
- package/dist/data/countriesAndLanguages/index.js +0 -1
- package/dist/data/crowdinLanguages/crowdinLanguages.schema.json +18 -5
- package/dist/data/crowdinLanguages/index.js +0 -1
- package/dist/data/curriculumFoundations/curriculumFoundations.schema.json +21 -7
- package/dist/data/curriculumFoundations/index.js +0 -1
- package/dist/data/curriculumQuestions/curriculumQuestions.schema.json +28 -9
- package/dist/data/curriculumQuestions/index.js +0 -1
- package/dist/data/curriculumTopics/curriculumTopics.schema.json +21 -7
- package/dist/data/curriculumTopics/index.js +0 -1
- package/dist/data/iosVoiceOverLanguages/index.js +0 -1
- package/dist/data/iosVoiceOverLanguages/iosVoiceOverLanguages.schema.json +7 -3
- package/dist/data/iso6933LanguageCodes/index.js +0 -1
- package/dist/data/iso6933LanguageCodes/iso6933LanguageCodes.schema.json +10 -4
- package/dist/data/languageAssets/index.js +0 -1
- package/dist/data/languageAssets/languageAssets.schema.json +14 -5
- package/dist/data/languages/index.js +0 -1
- package/dist/data/languages/languages.json +1 -0
- package/dist/data/languages/languages.schema.json +76 -18
- package/dist/data/mediaDurations/index.js +0 -1
- package/dist/data/mediaDurations/mediaDurations.schema.json +14 -5
- package/dist/data/notification/index.js +0 -1
- package/dist/data/notification/notification.schema.json +71 -20
- package/dist/data/numeralMaps/index.js +0 -1
- package/dist/data/numeralMaps/numeralMaps.schema.json +22 -5
- package/dist/data/phoneLanguages/index.js +0 -1
- package/dist/data/phoneLanguages/phoneLanguages.schema.json +16 -5
- package/dist/data/questions/index.js +0 -1
- package/dist/data/questions/questions.schema.json +24 -7
- package/dist/data/releaseNotes/index.js +0 -1
- package/dist/data/releaseNotes/releaseNotes.schema.json +18 -6
- package/dist/data/screenshots/index.js +0 -1
- package/dist/data/screenshots/screenshots.schema.json +10 -4
- package/dist/data/scripts/index.js +0 -1
- package/dist/data/scripts/scripts.schema.json +20 -7
- package/dist/data/sets/index.js +0 -1
- package/dist/data/sets/sets.schema.json +30 -8
- package/dist/data/specialIds/index.js +0 -1
- package/dist/data/specialIds/specialIds.schema.json +19 -6
- package/dist/data/translationsApp/index.d.ts +11 -10
- package/dist/data/translationsApp/index.js +0 -1
- package/dist/data/translationsApp/translationsApp.json +7 -11676
- package/dist/data/translationsApp/translationsApp.schema.json +1086 -313
- package/dist/data/translationsApp/translationsApp.zod.d.ts +11 -10
- package/dist/data/translationsApp/translationsApp.zod.js +11 -11
- package/dist/data/translationsFtb/index.js +0 -1
- package/dist/data/translationsFtb/translationsFtb.schema.json +274 -70
- package/dist/data/translationsIntroduction/index.js +0 -1
- package/dist/data/translationsIntroduction/translationsIntroduction.schema.json +165 -43
- package/dist/data/translationsQuestion/index.js +0 -1
- package/dist/data/translationsQuestion/translationsQuestion.schema.json +13 -5
- package/dist/data/translationsSet/index.js +0 -1
- package/dist/data/translationsSet/translationsSet.json +0 -789
- package/dist/data/translationsSet/translationsSet.schema.json +36 -11
- package/dist/data/translationsSolarSpeaker/index.js +0 -1
- package/dist/data/translationsSolarSpeaker/translationsSolarSpeaker.schema.json +178 -46
- package/dist/data/translationsSpokenQuestion/index.js +0 -1
- package/dist/data/translationsSpokenQuestion/translationsSpokenQuestion.schema.json +13 -5
- package/dist/data/youtubePlaylists/index.js +0 -1
- package/dist/data/youtubePlaylists/youtubePlaylists.schema.json +10 -4
- package/dist/data/youtubeVideos/index.js +0 -1
- package/dist/data/youtubeVideos/youtubeVideos.schema.json +10 -4
- package/dist/types/analytics.d.ts +12 -26
- package/dist/types/articles.d.ts +0 -28
- package/dist/types/articles.js +9 -5
- package/dist/types/microLessons.d.ts +9 -60
- package/dist/types/microLessons.js +19 -23
- package/dist/types/webContent.d.ts +0 -16
- package/dist/types/webContent.js +1 -20
- package/package.json +1 -1
|
@@ -1,9 +1,10 @@
|
|
|
1
1
|
{
|
|
2
|
-
"description": "This file is auto-generated by scripts/prep. Do not edit manually.",
|
|
3
2
|
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
4
3
|
"type": "object",
|
|
5
4
|
"properties": {
|
|
6
|
-
"$schema": {
|
|
5
|
+
"$schema": {
|
|
6
|
+
"type": "string"
|
|
7
|
+
},
|
|
7
8
|
"data": {
|
|
8
9
|
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
9
10
|
"type": "array",
|
|
@@ -40,16 +41,27 @@
|
|
|
40
41
|
"description": "Number of speakers of this language in this country"
|
|
41
42
|
}
|
|
42
43
|
},
|
|
43
|
-
"required": [
|
|
44
|
+
"required": [
|
|
45
|
+
"languageId",
|
|
46
|
+
"languageName",
|
|
47
|
+
"numSpeakers"
|
|
48
|
+
],
|
|
44
49
|
"additionalProperties": false
|
|
45
50
|
},
|
|
46
51
|
"description": "Languages spoken in this country"
|
|
47
52
|
}
|
|
48
53
|
},
|
|
49
|
-
"required": [
|
|
54
|
+
"required": [
|
|
55
|
+
"countryCode",
|
|
56
|
+
"countryName",
|
|
57
|
+
"languages"
|
|
58
|
+
],
|
|
50
59
|
"additionalProperties": false
|
|
51
60
|
}
|
|
52
61
|
}
|
|
53
62
|
},
|
|
54
|
-
"required": [
|
|
63
|
+
"required": [
|
|
64
|
+
"$schema",
|
|
65
|
+
"data"
|
|
66
|
+
]
|
|
55
67
|
}
|
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.countriesAndLanguages = void 0;
|
|
4
|
-
// This file is auto-generated by scripts/prep. Do not edit manually.
|
|
5
4
|
const countriesAndLanguages_zod_1 = require("./countriesAndLanguages.zod");
|
|
6
5
|
const data = require('./countriesAndLanguages.json');
|
|
7
6
|
exports.countriesAndLanguages = countriesAndLanguages_zod_1.CountriesAndLanguages.parse(data.data);
|
|
@@ -1,9 +1,10 @@
|
|
|
1
1
|
{
|
|
2
|
-
"description": "This file is auto-generated by scripts/prep. Do not edit manually.",
|
|
3
2
|
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
4
3
|
"type": "object",
|
|
5
4
|
"properties": {
|
|
6
|
-
"$schema": {
|
|
5
|
+
"$schema": {
|
|
6
|
+
"type": "string"
|
|
7
|
+
},
|
|
7
8
|
"data": {
|
|
8
9
|
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
9
10
|
"type": "array",
|
|
@@ -18,7 +19,10 @@
|
|
|
18
19
|
"type": "string",
|
|
19
20
|
"description": "English name of the language"
|
|
20
21
|
},
|
|
21
|
-
"iso": {
|
|
22
|
+
"iso": {
|
|
23
|
+
"type": "string",
|
|
24
|
+
"description": "ISO 639-3 language code"
|
|
25
|
+
},
|
|
22
26
|
"locale": {
|
|
23
27
|
"type": "string",
|
|
24
28
|
"description": "Locale code in format language-COUNTRY"
|
|
@@ -28,10 +32,19 @@
|
|
|
28
32
|
"description": "Whether this ISO code is duplicated across multiple Crowdin languages"
|
|
29
33
|
}
|
|
30
34
|
},
|
|
31
|
-
"required": [
|
|
35
|
+
"required": [
|
|
36
|
+
"crowdin_id",
|
|
37
|
+
"name",
|
|
38
|
+
"iso",
|
|
39
|
+
"locale",
|
|
40
|
+
"duplicate_iso"
|
|
41
|
+
],
|
|
32
42
|
"additionalProperties": false
|
|
33
43
|
}
|
|
34
44
|
}
|
|
35
45
|
},
|
|
36
|
-
"required": [
|
|
46
|
+
"required": [
|
|
47
|
+
"$schema",
|
|
48
|
+
"data"
|
|
49
|
+
]
|
|
37
50
|
}
|
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.crowdinLanguages = void 0;
|
|
4
|
-
// This file is auto-generated by scripts/prep. Do not edit manually.
|
|
5
4
|
const crowdinLanguages_zod_1 = require("./crowdinLanguages.zod");
|
|
6
5
|
const data = require('./crowdinLanguages.json');
|
|
7
6
|
exports.crowdinLanguages = crowdinLanguages_zod_1.CrowdinLanguages.parse(data.data);
|
|
@@ -1,27 +1,41 @@
|
|
|
1
1
|
{
|
|
2
|
-
"description": "This file is auto-generated by scripts/prep. Do not edit manually.",
|
|
3
2
|
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
4
3
|
"type": "object",
|
|
5
4
|
"properties": {
|
|
6
|
-
"$schema": {
|
|
5
|
+
"$schema": {
|
|
6
|
+
"type": "string"
|
|
7
|
+
},
|
|
7
8
|
"data": {
|
|
8
9
|
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
9
10
|
"type": "array",
|
|
10
11
|
"items": {
|
|
11
12
|
"type": "object",
|
|
12
13
|
"properties": {
|
|
13
|
-
"curriculumId": {
|
|
14
|
-
|
|
14
|
+
"curriculumId": {
|
|
15
|
+
"type": "string"
|
|
16
|
+
},
|
|
17
|
+
"crowdinProjectId": {
|
|
18
|
+
"type": "string"
|
|
19
|
+
},
|
|
15
20
|
"sets": {
|
|
16
21
|
"type": "array",
|
|
17
|
-
"items": {
|
|
22
|
+
"items": {
|
|
23
|
+
"type": "string"
|
|
24
|
+
},
|
|
18
25
|
"description": "An array of set ids that make up this foundations curriculum. Set ids must be linked to valid sets present in data/sets.json."
|
|
19
26
|
}
|
|
20
27
|
},
|
|
21
|
-
"required": [
|
|
28
|
+
"required": [
|
|
29
|
+
"curriculumId",
|
|
30
|
+
"crowdinProjectId",
|
|
31
|
+
"sets"
|
|
32
|
+
],
|
|
22
33
|
"additionalProperties": false
|
|
23
34
|
}
|
|
24
35
|
}
|
|
25
36
|
},
|
|
26
|
-
"required": [
|
|
37
|
+
"required": [
|
|
38
|
+
"$schema",
|
|
39
|
+
"data"
|
|
40
|
+
]
|
|
27
41
|
}
|
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.curriculumFoundations = void 0;
|
|
4
|
-
// This file is auto-generated by scripts/prep. Do not edit manually.
|
|
5
4
|
const curriculumFoundations_zod_1 = require("./curriculumFoundations.zod");
|
|
6
5
|
const data = require('./curriculumFoundations.json');
|
|
7
6
|
exports.curriculumFoundations = curriculumFoundations_zod_1.CurriculumFoundations.parse(data.data);
|
|
@@ -1,39 +1,58 @@
|
|
|
1
1
|
{
|
|
2
|
-
"description": "This file is auto-generated by scripts/prep. Do not edit manually.",
|
|
3
2
|
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
4
3
|
"type": "object",
|
|
5
4
|
"properties": {
|
|
6
|
-
"$schema": {
|
|
5
|
+
"$schema": {
|
|
6
|
+
"type": "string"
|
|
7
|
+
},
|
|
7
8
|
"data": {
|
|
8
9
|
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
9
10
|
"type": "array",
|
|
10
11
|
"items": {
|
|
11
12
|
"type": "object",
|
|
12
13
|
"properties": {
|
|
13
|
-
"curriculumId": {
|
|
14
|
-
|
|
14
|
+
"curriculumId": {
|
|
15
|
+
"type": "string"
|
|
16
|
+
},
|
|
17
|
+
"crowdinProjectId": {
|
|
18
|
+
"type": "string"
|
|
19
|
+
},
|
|
15
20
|
"questionSets": {
|
|
16
21
|
"type": "array",
|
|
17
22
|
"items": {
|
|
18
23
|
"type": "object",
|
|
19
24
|
"properties": {
|
|
20
|
-
"questionSetId": {
|
|
25
|
+
"questionSetId": {
|
|
26
|
+
"type": "string"
|
|
27
|
+
},
|
|
21
28
|
"questions": {
|
|
22
29
|
"type": "array",
|
|
23
|
-
"items": {
|
|
30
|
+
"items": {
|
|
31
|
+
"type": "string"
|
|
32
|
+
},
|
|
24
33
|
"description": "An array of question ids that make up this question set."
|
|
25
34
|
}
|
|
26
35
|
},
|
|
27
|
-
"required": [
|
|
36
|
+
"required": [
|
|
37
|
+
"questionSetId",
|
|
38
|
+
"questions"
|
|
39
|
+
],
|
|
28
40
|
"additionalProperties": false
|
|
29
41
|
},
|
|
30
42
|
"description": "An array of question sets that make up this questions curriculum."
|
|
31
43
|
}
|
|
32
44
|
},
|
|
33
|
-
"required": [
|
|
45
|
+
"required": [
|
|
46
|
+
"curriculumId",
|
|
47
|
+
"crowdinProjectId",
|
|
48
|
+
"questionSets"
|
|
49
|
+
],
|
|
34
50
|
"additionalProperties": false
|
|
35
51
|
}
|
|
36
52
|
}
|
|
37
53
|
},
|
|
38
|
-
"required": [
|
|
54
|
+
"required": [
|
|
55
|
+
"$schema",
|
|
56
|
+
"data"
|
|
57
|
+
]
|
|
39
58
|
}
|
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.curriculumQuestions = void 0;
|
|
4
|
-
// This file is auto-generated by scripts/prep. Do not edit manually.
|
|
5
4
|
const curriculumQuestions_zod_1 = require("./curriculumQuestions.zod");
|
|
6
5
|
const data = require('./curriculumQuestions.json');
|
|
7
6
|
exports.curriculumQuestions = curriculumQuestions_zod_1.CurriculumQuestions.parse(data.data);
|
|
@@ -1,27 +1,41 @@
|
|
|
1
1
|
{
|
|
2
|
-
"description": "This file is auto-generated by scripts/prep. Do not edit manually.",
|
|
3
2
|
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
4
3
|
"type": "object",
|
|
5
4
|
"properties": {
|
|
6
|
-
"$schema": {
|
|
5
|
+
"$schema": {
|
|
6
|
+
"type": "string"
|
|
7
|
+
},
|
|
7
8
|
"data": {
|
|
8
9
|
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
9
10
|
"type": "array",
|
|
10
11
|
"items": {
|
|
11
12
|
"type": "object",
|
|
12
13
|
"properties": {
|
|
13
|
-
"curriculumId": {
|
|
14
|
-
|
|
14
|
+
"curriculumId": {
|
|
15
|
+
"type": "string"
|
|
16
|
+
},
|
|
17
|
+
"crowdinProjectId": {
|
|
18
|
+
"type": "string"
|
|
19
|
+
},
|
|
15
20
|
"sets": {
|
|
16
21
|
"type": "array",
|
|
17
|
-
"items": {
|
|
22
|
+
"items": {
|
|
23
|
+
"type": "string"
|
|
24
|
+
},
|
|
18
25
|
"description": "An array of set ids that make up this topics curriculum. Set ids must be linked to valid sets present in data/sets.json."
|
|
19
26
|
}
|
|
20
27
|
},
|
|
21
|
-
"required": [
|
|
28
|
+
"required": [
|
|
29
|
+
"curriculumId",
|
|
30
|
+
"crowdinProjectId",
|
|
31
|
+
"sets"
|
|
32
|
+
],
|
|
22
33
|
"additionalProperties": false
|
|
23
34
|
}
|
|
24
35
|
}
|
|
25
36
|
},
|
|
26
|
-
"required": [
|
|
37
|
+
"required": [
|
|
38
|
+
"$schema",
|
|
39
|
+
"data"
|
|
40
|
+
]
|
|
27
41
|
}
|
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.curriculumTopics = void 0;
|
|
4
|
-
// This file is auto-generated by scripts/prep. Do not edit manually.
|
|
5
4
|
const curriculumTopics_zod_1 = require("./curriculumTopics.zod");
|
|
6
5
|
const data = require('./curriculumTopics.json');
|
|
7
6
|
exports.curriculumTopics = curriculumTopics_zod_1.CurriculumTopics.parse(data.data);
|
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.iosVoiceOverLanguages = void 0;
|
|
4
|
-
// This file is auto-generated by scripts/prep. Do not edit manually.
|
|
5
4
|
const iosVoiceOverLanguages_zod_1 = require("./iosVoiceOverLanguages.zod");
|
|
6
5
|
const data = require('./iosVoiceOverLanguages.json');
|
|
7
6
|
exports.iosVoiceOverLanguages = iosVoiceOverLanguages_zod_1.IosVoiceOverLanguages.parse(data.data);
|
|
@@ -1,9 +1,10 @@
|
|
|
1
1
|
{
|
|
2
|
-
"description": "This file is auto-generated by scripts/prep. Do not edit manually.",
|
|
3
2
|
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
4
3
|
"type": "object",
|
|
5
4
|
"properties": {
|
|
6
|
-
"$schema": {
|
|
5
|
+
"$schema": {
|
|
6
|
+
"type": "string"
|
|
7
|
+
},
|
|
7
8
|
"data": {
|
|
8
9
|
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
9
10
|
"type": "array",
|
|
@@ -14,5 +15,8 @@
|
|
|
14
15
|
"description": "List of language names that iOS VoiceOver supports"
|
|
15
16
|
}
|
|
16
17
|
},
|
|
17
|
-
"required": [
|
|
18
|
+
"required": [
|
|
19
|
+
"$schema",
|
|
20
|
+
"data"
|
|
21
|
+
]
|
|
18
22
|
}
|
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.iso6933LanguageCodes = void 0;
|
|
4
|
-
// This file is auto-generated by scripts/prep. Do not edit manually.
|
|
5
4
|
const iso6933LanguageCodes_zod_1 = require("./iso6933LanguageCodes.zod");
|
|
6
5
|
const data = require('./iso6933LanguageCodes.json');
|
|
7
6
|
exports.iso6933LanguageCodes = iso6933LanguageCodes_zod_1.Iso6933LanguageCodes.parse(data.data);
|
|
@@ -1,13 +1,16 @@
|
|
|
1
1
|
{
|
|
2
|
-
"description": "This file is auto-generated by scripts/prep. Do not edit manually.",
|
|
3
2
|
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
4
3
|
"type": "object",
|
|
5
4
|
"properties": {
|
|
6
|
-
"$schema": {
|
|
5
|
+
"$schema": {
|
|
6
|
+
"type": "string"
|
|
7
|
+
},
|
|
7
8
|
"data": {
|
|
8
9
|
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
9
10
|
"type": "object",
|
|
10
|
-
"propertyNames": {
|
|
11
|
+
"propertyNames": {
|
|
12
|
+
"type": "string"
|
|
13
|
+
},
|
|
11
14
|
"additionalProperties": {
|
|
12
15
|
"type": "string",
|
|
13
16
|
"description": "Language name in English"
|
|
@@ -15,5 +18,8 @@
|
|
|
15
18
|
"description": "Mapping of ISO 639-3 language codes to language names"
|
|
16
19
|
}
|
|
17
20
|
},
|
|
18
|
-
"required": [
|
|
21
|
+
"required": [
|
|
22
|
+
"$schema",
|
|
23
|
+
"data"
|
|
24
|
+
]
|
|
19
25
|
}
|
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.languageAssets = void 0;
|
|
4
|
-
// This file is auto-generated by scripts/prep. Do not edit manually.
|
|
5
4
|
const languageAssets_zod_1 = require("./languageAssets.zod");
|
|
6
5
|
const data = require('./languageAssets.json');
|
|
7
6
|
exports.languageAssets = languageAssets_zod_1.LanguageAssets.parse(data.data);
|
|
@@ -1,19 +1,28 @@
|
|
|
1
1
|
{
|
|
2
|
-
"description": "This file is auto-generated by scripts/prep. Do not edit manually.",
|
|
3
2
|
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
4
3
|
"type": "object",
|
|
5
4
|
"properties": {
|
|
6
|
-
"$schema": {
|
|
5
|
+
"$schema": {
|
|
6
|
+
"type": "string"
|
|
7
|
+
},
|
|
7
8
|
"data": {
|
|
8
9
|
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
9
10
|
"type": "object",
|
|
10
|
-
"propertyNames": {
|
|
11
|
+
"propertyNames": {
|
|
12
|
+
"type": "string",
|
|
13
|
+
"pattern": "^[a-z]{3}$"
|
|
14
|
+
},
|
|
11
15
|
"additionalProperties": {
|
|
12
16
|
"type": "array",
|
|
13
|
-
"items": {
|
|
17
|
+
"items": {
|
|
18
|
+
"type": "string"
|
|
19
|
+
},
|
|
14
20
|
"description": "Language code (3-letter ISO code) containing assets"
|
|
15
21
|
}
|
|
16
22
|
}
|
|
17
23
|
},
|
|
18
|
-
"required": [
|
|
24
|
+
"required": [
|
|
25
|
+
"$schema",
|
|
26
|
+
"data"
|
|
27
|
+
]
|
|
19
28
|
}
|
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.languages = void 0;
|
|
4
|
-
// This file is auto-generated by scripts/prep. Do not edit manually.
|
|
5
4
|
const languages_zod_1 = require("./languages.zod");
|
|
6
5
|
const data = require('./languages.json');
|
|
7
6
|
exports.languages = languages_zod_1.Languages.parse(data.data);
|
|
@@ -1,9 +1,10 @@
|
|
|
1
1
|
{
|
|
2
|
-
"description": "This file is auto-generated by scripts/prep. Do not edit manually.",
|
|
3
2
|
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
4
3
|
"type": "object",
|
|
5
4
|
"properties": {
|
|
6
|
-
"$schema": {
|
|
5
|
+
"$schema": {
|
|
6
|
+
"type": "string"
|
|
7
|
+
},
|
|
7
8
|
"data": {
|
|
8
9
|
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
9
10
|
"type": "array",
|
|
@@ -18,7 +19,9 @@
|
|
|
18
19
|
"type": "string",
|
|
19
20
|
"description": "The name of a language in English, i.e. \"Spanish\". This helps Waha team members identify the language."
|
|
20
21
|
},
|
|
21
|
-
"appInterface": {
|
|
22
|
+
"appInterface": {
|
|
23
|
+
"type": "boolean"
|
|
24
|
+
},
|
|
22
25
|
"bcpLanguageId": {
|
|
23
26
|
"type": "string",
|
|
24
27
|
"description": "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/"
|
|
@@ -33,7 +36,9 @@
|
|
|
33
36
|
},
|
|
34
37
|
"countries": {
|
|
35
38
|
"type": "array",
|
|
36
|
-
"items": {
|
|
39
|
+
"items": {
|
|
40
|
+
"type": "string"
|
|
41
|
+
},
|
|
37
42
|
"description": "A list of country ids that this language is spoken in. This gets added automatically by the script found in scripts/mapCountriesToLanguages.ts which uses shared/data/languageResources/countriesAndLanguages.json to generate a list of countries where the language is spoken. This is used for determing the recommended list of meet languages based on the user's country location."
|
|
38
43
|
},
|
|
39
44
|
"crowdinId": {
|
|
@@ -52,17 +57,33 @@
|
|
|
52
57
|
"description": "The id for the foundations curriculum for this language."
|
|
53
58
|
},
|
|
54
59
|
"topics": {
|
|
55
|
-
"anyOf": [
|
|
60
|
+
"anyOf": [
|
|
61
|
+
{
|
|
62
|
+
"type": "string"
|
|
63
|
+
},
|
|
64
|
+
{
|
|
65
|
+
"type": "null"
|
|
66
|
+
}
|
|
67
|
+
],
|
|
56
68
|
"description": "The id for the foundations curriculum for this language."
|
|
57
69
|
}
|
|
58
70
|
},
|
|
59
|
-
"required": [
|
|
71
|
+
"required": [
|
|
72
|
+
"foundations",
|
|
73
|
+
"questions",
|
|
74
|
+
"topics"
|
|
75
|
+
],
|
|
60
76
|
"additionalProperties": false,
|
|
61
77
|
"description": "Determines what curriculums this language will use for its various content. Each must be linked to objects in data/foundationsCurriculums.json, data/topicsCurriculums.json , or data/questionsCurriculums.json."
|
|
62
78
|
},
|
|
63
79
|
"dmCourseStatus": {
|
|
64
80
|
"type": "string",
|
|
65
|
-
"enum": [
|
|
81
|
+
"enum": [
|
|
82
|
+
"notStarted",
|
|
83
|
+
"inProgress",
|
|
84
|
+
"testing",
|
|
85
|
+
"launched"
|
|
86
|
+
],
|
|
66
87
|
"description": "The status of this language's disciple making course."
|
|
67
88
|
},
|
|
68
89
|
"endonym": {
|
|
@@ -72,7 +93,12 @@
|
|
|
72
93
|
},
|
|
73
94
|
"gdmcStatus": {
|
|
74
95
|
"type": "string",
|
|
75
|
-
"enum": [
|
|
96
|
+
"enum": [
|
|
97
|
+
"notStarted",
|
|
98
|
+
"inProgress",
|
|
99
|
+
"testing",
|
|
100
|
+
"launched"
|
|
101
|
+
],
|
|
76
102
|
"description": "The status of this language's growing as a dmc sets."
|
|
77
103
|
},
|
|
78
104
|
"givingId": {
|
|
@@ -105,7 +131,12 @@
|
|
|
105
131
|
},
|
|
106
132
|
"questionSource": {
|
|
107
133
|
"type": "string",
|
|
108
|
-
"enum": [
|
|
134
|
+
"enum": [
|
|
135
|
+
"recorded",
|
|
136
|
+
"mms",
|
|
137
|
+
"elevenLabs",
|
|
138
|
+
"unknown"
|
|
139
|
+
],
|
|
109
140
|
"description": "The source for question audio generation for this language."
|
|
110
141
|
},
|
|
111
142
|
"script": {
|
|
@@ -151,16 +182,29 @@
|
|
|
151
182
|
"specialThanks": {
|
|
152
183
|
"type": "object",
|
|
153
184
|
"properties": {
|
|
154
|
-
"imageUrl": {
|
|
155
|
-
|
|
156
|
-
|
|
185
|
+
"imageUrl": {
|
|
186
|
+
"type": "string"
|
|
187
|
+
},
|
|
188
|
+
"text": {
|
|
189
|
+
"type": "string"
|
|
190
|
+
},
|
|
191
|
+
"url": {
|
|
192
|
+
"type": "string"
|
|
193
|
+
}
|
|
157
194
|
},
|
|
158
|
-
"required": [
|
|
195
|
+
"required": [
|
|
196
|
+
"text"
|
|
197
|
+
],
|
|
159
198
|
"additionalProperties": false
|
|
160
199
|
},
|
|
161
200
|
"status": {
|
|
162
201
|
"type": "string",
|
|
163
|
-
"enum": [
|
|
202
|
+
"enum": [
|
|
203
|
+
"notStarted",
|
|
204
|
+
"inProgress",
|
|
205
|
+
"testing",
|
|
206
|
+
"launched"
|
|
207
|
+
],
|
|
164
208
|
"description": "The overall status of this language. Determines whether or not the language will show up in the app. Only language's marked `launched` will be selectable in Waha."
|
|
165
209
|
},
|
|
166
210
|
"storeIdAndroid": {
|
|
@@ -311,7 +355,9 @@
|
|
|
311
355
|
},
|
|
312
356
|
"unsupportedDbsSets": {
|
|
313
357
|
"type": "array",
|
|
314
|
-
"items": {
|
|
358
|
+
"items": {
|
|
359
|
+
"type": "string"
|
|
360
|
+
},
|
|
315
361
|
"description": "A list of foundations or topics (01.x or 02.x) set ids that are not supported in this language. See data/sets.json for a list of set ids."
|
|
316
362
|
},
|
|
317
363
|
"uuid": {
|
|
@@ -335,11 +381,20 @@
|
|
|
335
381
|
},
|
|
336
382
|
"status": {
|
|
337
383
|
"type": "string",
|
|
338
|
-
"enum": [
|
|
384
|
+
"enum": [
|
|
385
|
+
"notStarted",
|
|
386
|
+
"inProgress",
|
|
387
|
+
"testing",
|
|
388
|
+
"launched"
|
|
389
|
+
],
|
|
339
390
|
"description": "The status of this language's website localization on https://waha.app."
|
|
340
391
|
}
|
|
341
392
|
},
|
|
342
|
-
"required": [
|
|
393
|
+
"required": [
|
|
394
|
+
"name",
|
|
395
|
+
"code",
|
|
396
|
+
"status"
|
|
397
|
+
],
|
|
343
398
|
"additionalProperties": false
|
|
344
399
|
}
|
|
345
400
|
},
|
|
@@ -359,5 +414,8 @@
|
|
|
359
414
|
}
|
|
360
415
|
}
|
|
361
416
|
},
|
|
362
|
-
"required": [
|
|
417
|
+
"required": [
|
|
418
|
+
"$schema",
|
|
419
|
+
"data"
|
|
420
|
+
]
|
|
363
421
|
}
|
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.mediaDurations = void 0;
|
|
4
|
-
// This file is auto-generated by scripts/prep. Do not edit manually.
|
|
5
4
|
const mediaDurations_zod_1 = require("./mediaDurations.zod");
|
|
6
5
|
const data = require('./mediaDurations.json');
|
|
7
6
|
exports.mediaDurations = mediaDurations_zod_1.MediaDurations.parse(data.data);
|
|
@@ -1,16 +1,22 @@
|
|
|
1
1
|
{
|
|
2
|
-
"description": "This file is auto-generated by scripts/prep. Do not edit manually.",
|
|
3
2
|
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
4
3
|
"type": "object",
|
|
5
4
|
"properties": {
|
|
6
|
-
"$schema": {
|
|
5
|
+
"$schema": {
|
|
6
|
+
"type": "string"
|
|
7
|
+
},
|
|
7
8
|
"data": {
|
|
8
9
|
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
9
10
|
"type": "object",
|
|
10
|
-
"propertyNames": {
|
|
11
|
+
"propertyNames": {
|
|
12
|
+
"type": "string",
|
|
13
|
+
"pattern": "^[a-z]{3}$"
|
|
14
|
+
},
|
|
11
15
|
"additionalProperties": {
|
|
12
16
|
"type": "object",
|
|
13
|
-
"propertyNames": {
|
|
17
|
+
"propertyNames": {
|
|
18
|
+
"type": "string"
|
|
19
|
+
},
|
|
14
20
|
"additionalProperties": {
|
|
15
21
|
"type": "number",
|
|
16
22
|
"minimum": 0,
|
|
@@ -21,5 +27,8 @@
|
|
|
21
27
|
"description": "Schema for media duration data organized by language code"
|
|
22
28
|
}
|
|
23
29
|
},
|
|
24
|
-
"required": [
|
|
30
|
+
"required": [
|
|
31
|
+
"$schema",
|
|
32
|
+
"data"
|
|
33
|
+
]
|
|
25
34
|
}
|