waha-shared 1.0.308 → 1.0.310

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 (110) hide show
  1. package/dist/data/areas/areas.json +50 -48
  2. package/dist/data/areas/areas.schema.json +2 -2
  3. package/dist/data/areas/areas.zod.d.ts +1 -1
  4. package/dist/data/areas/areas.zod.js +1 -1
  5. package/dist/data/areas/index.d.ts +1 -1
  6. package/dist/data/bibleAudios/bibleAudios.json +597 -314
  7. package/dist/data/bibleAudios/bibleAudios.schema.json +17 -8
  8. package/dist/data/bibleAudios/bibleAudios.zod.d.ts +43 -2
  9. package/dist/data/bibleAudios/bibleAudios.zod.js +16 -7
  10. package/dist/data/bibleAudios/index.d.ts +2 -1
  11. package/dist/data/bibleBooks/bibleBooks.json +792 -790
  12. package/dist/data/bibleStatuses/bibleStatuses.json +8302 -8711
  13. package/dist/data/bibleStatuses/bibleStatuses.schema.json +6 -0
  14. package/dist/data/bibleStatuses/bibleStatuses.zod.d.ts +1 -0
  15. package/dist/data/bibleStatuses/bibleStatuses.zod.js +4 -0
  16. package/dist/data/bibleStatuses/index.d.ts +1 -0
  17. package/dist/data/bibleTexts/bibleTexts.json +285 -187
  18. package/dist/data/bibleTexts/bibleTexts.schema.json +7 -0
  19. package/dist/data/bibleTexts/bibleTexts.zod.d.ts +28 -0
  20. package/dist/data/bibleTexts/bibleTexts.zod.js +10 -3
  21. package/dist/data/bibleTexts/index.d.ts +2 -0
  22. package/dist/data/clones/clones.json +2 -0
  23. package/dist/data/countries/countries.json +480 -480
  24. package/dist/data/countriesAndLanguages/countriesAndLanguages.json +6812 -6810
  25. package/dist/data/crowdinLanguages/crowdinLanguages.json +1440 -1438
  26. package/dist/data/crowdinLanguages/crowdinLanguages.schema.json +3 -3
  27. package/dist/data/crowdinLanguages/crowdinLanguages.zod.d.ts +2 -2
  28. package/dist/data/crowdinLanguages/crowdinLanguages.zod.js +2 -2
  29. package/dist/data/crowdinLanguages/index.d.ts +2 -2
  30. package/dist/data/curriculumFoundations/curriculumFoundations.json +86 -69
  31. package/dist/data/curriculumOnboarding/curriculumOnboarding.json +34 -0
  32. package/dist/data/curriculumOnboarding/curriculumOnboarding.schema.json +38 -0
  33. package/dist/data/curriculumOnboarding/curriculumOnboarding.zod.d.ts +11 -0
  34. package/dist/data/curriculumOnboarding/curriculumOnboarding.zod.js +18 -0
  35. package/dist/data/curriculumOnboarding/index.d.ts +9 -0
  36. package/dist/data/curriculumOnboarding/index.js +7 -0
  37. package/dist/data/curriculumQuestions/curriculumQuestions.json +194 -192
  38. package/dist/data/curriculumTopics/curriculumTopics.json +51 -8
  39. package/dist/data/dblAudioLicenses/dblAudioLicenses.json +450 -421
  40. package/dist/data/dblTextLicenses/dblTextLicenses.json +1251 -1161
  41. package/dist/data/firebase.d.ts +1 -0
  42. package/dist/data/firebase.js +4 -0
  43. package/dist/data/iosVoiceOverLanguages/iosVoiceOverLanguages.json +1 -1
  44. package/dist/data/iso6933LanguageCodes/iso6933LanguageCodes.json +1 -1
  45. package/dist/data/languages/index.d.ts +22 -10
  46. package/dist/data/languages/languages.json +3299 -2012
  47. package/dist/data/languages/languages.schema.json +102 -48
  48. package/dist/data/languages/languages.zod.d.ts +96 -30
  49. package/dist/data/languages/languages.zod.js +66 -37
  50. package/dist/data/lessonPauses/index.d.ts +0 -1
  51. package/dist/data/lessonPauses/lessonPauses.json +2 -3
  52. package/dist/data/lessonPauses/lessonPauses.schema.json +1 -11
  53. package/dist/data/lessonPauses/lessonPauses.zod.d.ts +0 -1
  54. package/dist/data/lessonPauses/lessonPauses.zod.js +0 -3
  55. package/dist/data/mediaDurations/mediaDurations.json +35797 -6076
  56. package/dist/data/mediaDurations/mediaDurations.schema.json +1 -1
  57. package/dist/data/mediaDurations/mediaDurations.zod.js +1 -1
  58. package/dist/data/notification/index.d.ts +1 -1
  59. package/dist/data/notification/notification.json +93 -169
  60. package/dist/data/phoneLanguages/phoneLanguages.json +637 -635
  61. package/dist/data/questions/questions.json +149 -147
  62. package/dist/data/releaseNotes/releaseNotes.json +176 -123
  63. package/dist/data/screenshots/screenshots.json +1 -1
  64. package/dist/data/scripts/scripts.json +6 -1
  65. package/dist/data/sets/index.d.ts +3 -3
  66. package/dist/data/sets/sets.json +1770 -480
  67. package/dist/data/sets/sets.schema.json +1 -1
  68. package/dist/data/sets/sets.zod.d.ts +3 -3
  69. package/dist/data/sets/sets.zod.js +3 -6
  70. package/dist/data/translationsApp/index.d.ts +1 -0
  71. package/dist/data/translationsApp/translationsApp.json +1610 -1569
  72. package/dist/data/translationsApp/translationsApp.schema.json +3 -1
  73. package/dist/data/translationsApp/translationsApp.zod.d.ts +2 -0
  74. package/dist/data/translationsApp/translationsApp.zod.js +1 -0
  75. package/dist/data/translationsFtb/translationsFtb.json +120 -664
  76. package/dist/data/translationsIntroduction/translationsIntroduction.json +1 -1
  77. package/dist/data/translationsQuestion/translationsQuestion.json +65 -33
  78. package/dist/data/translationsSet/translationsSet.json +30139 -19402
  79. package/dist/data/translationsSet/translationsSet.schema.json +3 -4
  80. package/dist/data/translationsSet/translationsSet.zod.js +4 -4
  81. package/dist/data/translationsSolarSpeaker/translationsSolarSpeaker.json +1 -1
  82. package/dist/data/translationsSpokenQuestion/translationsSpokenQuestion.json +65 -33
  83. package/dist/data/youtubePlaylists/youtubePlaylists.json +10 -10
  84. package/dist/data/youtubeVideos/youtubeVideos.json +82 -82
  85. package/dist/functions/bibleBooks.d.ts +16 -0
  86. package/dist/functions/bibleBooks.js +101 -0
  87. package/dist/functions/bibles.d.ts +47 -0
  88. package/dist/functions/bibles.js +315 -0
  89. package/dist/functions/languages.d.ts +6 -7
  90. package/dist/functions/languages.js +58 -53
  91. package/dist/functions/scripturePassages.d.ts +53 -47
  92. package/dist/functions/scripturePassages.js +217 -303
  93. package/dist/functions/sets.d.ts +13 -52
  94. package/dist/functions/sets.js +195 -205
  95. package/dist/functions/utils.d.ts +2 -0
  96. package/dist/functions/utils.js +8 -0
  97. package/dist/types/bibleChapters.d.ts +2 -2
  98. package/dist/types/bibleChapters.js +1 -1
  99. package/dist/types/languages.d.ts +48 -9
  100. package/dist/types/languages.js +2 -0
  101. package/dist/types/scripturePassages.d.ts +0 -1
  102. package/dist/types/scripturePassages.js +0 -1
  103. package/dist/types/sets.d.ts +28 -11
  104. package/package.json +1 -1
  105. package/dist/data/languageAssets/index.d.ts +0 -1
  106. package/dist/data/languageAssets/index.js +0 -7
  107. package/dist/data/languageAssets/languageAssets.json +0 -45406
  108. package/dist/data/languageAssets/languageAssets.schema.json +0 -19
  109. package/dist/data/languageAssets/languageAssets.zod.d.ts +0 -3
  110. package/dist/data/languageAssets/languageAssets.zod.js +0 -7
@@ -10,7 +10,7 @@
10
10
  "items": {
11
11
  "type": "object",
12
12
  "properties": {
13
- "crowdin_id": {
13
+ "crowdinId": {
14
14
  "type": "string",
15
15
  "description": "Crowdin language identifier"
16
16
  },
@@ -23,12 +23,12 @@
23
23
  "type": "string",
24
24
  "description": "Locale code in format language-COUNTRY"
25
25
  },
26
- "duplicate_iso": {
26
+ "duplicateIso": {
27
27
  "type": "boolean",
28
28
  "description": "Whether this ISO code is duplicated across multiple Crowdin languages"
29
29
  }
30
30
  },
31
- "required": ["crowdin_id", "name", "iso", "locale", "duplicate_iso"],
31
+ "required": ["crowdinId", "name", "iso", "locale", "duplicateIso"],
32
32
  "additionalProperties": false
33
33
  }
34
34
  }
@@ -1,9 +1,9 @@
1
1
  import { z } from 'zod';
2
2
  export declare const CrowdinLanguages: z.ZodArray<z.ZodObject<{
3
- crowdin_id: z.ZodString;
3
+ crowdinId: z.ZodString;
4
4
  name: z.ZodString;
5
5
  iso: z.ZodString;
6
6
  locale: z.ZodString;
7
- duplicate_iso: z.ZodBoolean;
7
+ duplicateIso: z.ZodBoolean;
8
8
  }, z.core.$strict>>;
9
9
  export type CrowdinLanguages = z.infer<typeof CrowdinLanguages>;
@@ -4,11 +4,11 @@ exports.CrowdinLanguages = void 0;
4
4
  const zod_1 = require("zod");
5
5
  exports.CrowdinLanguages = zod_1.z.array(zod_1.z
6
6
  .object({
7
- crowdin_id: zod_1.z.string().describe('Crowdin language identifier'),
7
+ crowdinId: zod_1.z.string().describe('Crowdin language identifier'),
8
8
  name: zod_1.z.string().describe('English name of the language'),
9
9
  iso: zod_1.z.string().describe('ISO 639-3 language code'),
10
10
  locale: zod_1.z.string().describe('Locale code in format language-COUNTRY'),
11
- duplicate_iso: zod_1.z
11
+ duplicateIso: zod_1.z
12
12
  .boolean()
13
13
  .describe('Whether this ISO code is duplicated across multiple Crowdin languages'),
14
14
  })
@@ -1,7 +1,7 @@
1
1
  export declare const crowdinLanguages: {
2
- crowdin_id: string;
2
+ crowdinId: string;
3
3
  name: string;
4
4
  iso: string;
5
5
  locale: string;
6
- duplicate_iso: boolean;
6
+ duplicateIso: boolean;
7
7
  }[];
@@ -1,34 +1,42 @@
1
1
  {
2
2
  "$schema": "./curriculumFoundations.schema.json",
3
+ "sortKeys": ["curriculumId"],
4
+ "sortOrder": "ascending",
3
5
  "data": [
4
6
  {
5
- "curriculumId": "eng",
6
- "crowdinProjectId": "549537",
7
+ "curriculumId": "afb",
8
+ "crowdinProjectId": "866742",
7
9
  "sets": [
8
- "01.001",
9
- "01.002",
10
- "01.003",
11
- "01.004",
12
- "01.005",
13
- "01.006",
14
- "01.007",
15
- "01.008",
16
- "01.009"
10
+ "01.030",
11
+ "01.031",
12
+ "01.032",
13
+ "01.033",
14
+ "01.034",
15
+ "01.035",
16
+ "01.036",
17
+ "01.037",
18
+ "01.038",
19
+ "01.039",
20
+ "01.040",
21
+ "01.041"
17
22
  ]
18
23
  },
19
24
  {
20
- "curriculumId": "mfe",
21
- "crowdinProjectId": "866752",
25
+ "curriculumId": "ais",
26
+ "crowdinProjectId": "866736",
22
27
  "sets": [
23
- "01.072",
24
- "01.073",
25
- "01.074",
26
- "01.075",
27
- "01.076",
28
- "01.077",
29
- "01.078",
30
- "01.079",
31
- "01.080"
28
+ "01.042",
29
+ "01.043",
30
+ "01.044",
31
+ "01.045",
32
+ "01.046",
33
+ "01.047",
34
+ "01.048",
35
+ "01.049",
36
+ "01.050",
37
+ "01.051",
38
+ "01.052",
39
+ "01.053"
32
40
  ]
33
41
  },
34
42
  {
@@ -47,21 +55,33 @@
47
55
  ]
48
56
  },
49
57
  {
50
- "curriculumId": "afb",
51
- "crowdinProjectId": "866742",
58
+ "curriculumId": "ase",
59
+ "crowdinProjectId": "549537",
52
60
  "sets": [
53
- "01.030",
54
- "01.031",
55
- "01.032",
56
- "01.033",
57
- "01.034",
58
- "01.035",
59
- "01.036",
60
- "01.037",
61
- "01.038",
62
- "01.039",
63
- "01.040",
64
- "01.041"
61
+ "01.063",
62
+ "01.064",
63
+ "01.065",
64
+ "01.066",
65
+ "01.067",
66
+ "01.068",
67
+ "01.069",
68
+ "01.070",
69
+ "01.071"
70
+ ]
71
+ },
72
+ {
73
+ "curriculumId": "eng",
74
+ "crowdinProjectId": "549537",
75
+ "sets": [
76
+ "01.001",
77
+ "01.002",
78
+ "01.003",
79
+ "01.004",
80
+ "01.005",
81
+ "01.006",
82
+ "01.007",
83
+ "01.008",
84
+ "01.009"
65
85
  ]
66
86
  },
67
87
  {
@@ -90,6 +110,36 @@
90
110
  "01.016"
91
111
  ]
92
112
  },
113
+ {
114
+ "curriculumId": "mfe",
115
+ "crowdinProjectId": "866752",
116
+ "sets": [
117
+ "01.072",
118
+ "01.073",
119
+ "01.074",
120
+ "01.075",
121
+ "01.076",
122
+ "01.077",
123
+ "01.078",
124
+ "01.079",
125
+ "01.080"
126
+ ]
127
+ },
128
+ {
129
+ "curriculumId": "rus",
130
+ "crowdinProjectId": "899866",
131
+ "sets": [
132
+ "01.001",
133
+ "01.002",
134
+ "01.081",
135
+ "01.082",
136
+ "01.083",
137
+ "01.006",
138
+ "01.007",
139
+ "01.008",
140
+ "01.009"
141
+ ]
142
+ },
93
143
  {
94
144
  "curriculumId": "tur",
95
145
  "crowdinProjectId": "866738",
@@ -104,39 +154,6 @@
104
154
  "01.028",
105
155
  "01.029"
106
156
  ]
107
- },
108
- {
109
- "curriculumId": "ais",
110
- "crowdinProjectId": "866736",
111
- "sets": [
112
- "01.042",
113
- "01.043",
114
- "01.044",
115
- "01.045",
116
- "01.046",
117
- "01.047",
118
- "01.048",
119
- "01.049",
120
- "01.050",
121
- "01.051",
122
- "01.052",
123
- "01.053"
124
- ]
125
- },
126
- {
127
- "curriculumId": "ase",
128
- "crowdinProjectId": "549537",
129
- "sets": [
130
- "01.063",
131
- "01.064",
132
- "01.065",
133
- "01.066",
134
- "01.067",
135
- "01.068",
136
- "01.069",
137
- "01.070",
138
- "01.071"
139
- ]
140
157
  }
141
158
  ]
142
159
  }
@@ -0,0 +1,34 @@
1
+ {
2
+ "$schema": "./curriculumOnboarding.schema.json",
3
+ "sortKeys": ["curriculumId"],
4
+ "sortOrder": "ascending",
5
+ "data": [
6
+ {
7
+ "curriculumId": "eng",
8
+ "passages": {
9
+ "growInMyPurpose": "JHN.15.4-JHN.15.8",
10
+ "lookingForPeace": "PHP.4.4-PHP.4.7",
11
+ "shareWithOthers": "MAT.28.18-MAT.28.20",
12
+ "understandTheBible": "PSA.119.101-PSA.119.106"
13
+ }
14
+ },
15
+ {
16
+ "curriculumId": "rif",
17
+ "passages": {
18
+ "growInMyPurpose": "JHN.15.4-JHN.15.8",
19
+ "lookingForPeace": "PHP.4.4-PHP.4.7",
20
+ "shareWithOthers": "MAT.28.18-MAT.28.20",
21
+ "understandTheBible": "MAT.7.24-MAT.7.27"
22
+ }
23
+ },
24
+ {
25
+ "curriculumId": "rus",
26
+ "passages": {
27
+ "growInMyPurpose": "JHN.15.4-JHN.15.8",
28
+ "lookingForPeace": "PHP.4.4-PHP.4.7",
29
+ "shareWithOthers": "MAT.28.18-MAT.28.20",
30
+ "understandTheBible": "PSA.118.101-PSA.118.106"
31
+ }
32
+ }
33
+ ]
34
+ }
@@ -0,0 +1,38 @@
1
+ {
2
+ "description": "This file is auto-generated by scripts/prep. Do not edit manually.",
3
+ "$schema": "http://json-schema.org/draft-07/schema#",
4
+ "type": "object",
5
+ "properties": {
6
+ "$schema": { "type": "string" },
7
+ "data": {
8
+ "$schema": "https://json-schema.org/draft/2020-12/schema",
9
+ "type": "array",
10
+ "items": {
11
+ "type": "object",
12
+ "properties": {
13
+ "curriculumId": { "type": "string" },
14
+ "passages": {
15
+ "type": "object",
16
+ "properties": {
17
+ "lookingForPeace": { "type": "string" },
18
+ "understandTheBible": { "type": "string" },
19
+ "growInMyPurpose": { "type": "string" },
20
+ "shareWithOthers": { "type": "string" }
21
+ },
22
+ "required": [
23
+ "lookingForPeace",
24
+ "understandTheBible",
25
+ "growInMyPurpose",
26
+ "shareWithOthers"
27
+ ],
28
+ "additionalProperties": false,
29
+ "description": "The passage ids to use for each \"What brings you to Waha?\" onboarding answer."
30
+ }
31
+ },
32
+ "required": ["curriculumId", "passages"],
33
+ "additionalProperties": false
34
+ }
35
+ }
36
+ },
37
+ "required": ["$schema", "data"]
38
+ }
@@ -0,0 +1,11 @@
1
+ import { z } from 'zod';
2
+ export declare const CurriculumOnboarding: z.ZodArray<z.ZodObject<{
3
+ curriculumId: z.ZodString;
4
+ passages: z.ZodObject<{
5
+ lookingForPeace: z.ZodString;
6
+ understandTheBible: z.ZodString;
7
+ growInMyPurpose: z.ZodString;
8
+ shareWithOthers: z.ZodString;
9
+ }, z.core.$strict>;
10
+ }, z.core.$strict>>;
11
+ export type CurriculumOnboarding = z.infer<typeof CurriculumOnboarding>;
@@ -0,0 +1,18 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.CurriculumOnboarding = void 0;
4
+ const zod_1 = require("zod");
5
+ exports.CurriculumOnboarding = zod_1.z.array(zod_1.z
6
+ .object({
7
+ curriculumId: zod_1.z.string(),
8
+ passages: zod_1.z
9
+ .object({
10
+ lookingForPeace: zod_1.z.string(),
11
+ understandTheBible: zod_1.z.string(),
12
+ growInMyPurpose: zod_1.z.string(),
13
+ shareWithOthers: zod_1.z.string(),
14
+ })
15
+ .strict()
16
+ .describe('The passage ids to use for each "What brings you to Waha?" onboarding answer.'),
17
+ })
18
+ .strict());
@@ -0,0 +1,9 @@
1
+ export declare const curriculumOnboarding: {
2
+ curriculumId: string;
3
+ passages: {
4
+ lookingForPeace: string;
5
+ understandTheBible: string;
6
+ growInMyPurpose: string;
7
+ shareWithOthers: string;
8
+ };
9
+ }[];
@@ -0,0 +1,7 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.curriculumOnboarding = void 0;
4
+ // This file is auto-generated by scripts/prep. Do not edit manually.
5
+ const curriculumOnboarding_zod_1 = require("./curriculumOnboarding.zod");
6
+ const data = require('./curriculumOnboarding.json');
7
+ exports.curriculumOnboarding = curriculumOnboarding_zod_1.CurriculumOnboarding.parse(data.data);