waha-shared 1.0.263 → 1.0.264

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