waha-shared 1.0.361 → 1.0.362
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/assets/fonts/fonts.css +32 -64
- package/dist/data/bibleAudios/bibleAudios.json +0 -12
- package/dist/data/bibleTexts/bibleTexts.json +0 -12
- package/dist/data/languages/languages.json +2 -3
- package/dist/data/languages/languages.zod.d.ts +0 -26
- package/dist/data/languages/languages.zod.js +7 -8
- package/dist/functions/languages.js +0 -19
- package/dist/types/articles.d.ts +0 -3
- package/dist/types/languages.d.ts +1 -36
- package/dist/types/languages.js +0 -4
- package/dist/types/microLessons.d.ts +0 -3
- package/dist/types/webContent.d.ts +0 -1
- package/dist/types/webContent.js +0 -5
- package/package.json +3 -3
- package/assets/fonts/AnekBangla-Bold.woff2 +0 -0
- package/assets/fonts/AnekBangla-Regular.woff2 +0 -0
- package/assets/fonts/AnekTelugu-Bold.woff2 +0 -0
- package/assets/fonts/AnekTelugu-Regular.woff2 +0 -0
- package/assets/fonts/EudoxusSans-Bold.woff2 +0 -0
- package/assets/fonts/EudoxusSans-Regular.woff2 +0 -0
- package/assets/fonts/IBMPlexSansArabic-Bold.woff2 +0 -0
- package/assets/fonts/IBMPlexSansArabic-Regular.woff2 +0 -0
- package/assets/fonts/IBMPlexSansHebrew-Bold.woff2 +0 -0
- package/assets/fonts/IBMPlexSansHebrew-Regular.woff2 +0 -0
- package/assets/fonts/KhmerOSContent-Bold.woff2 +0 -0
- package/assets/fonts/KhmerOSContent-Regular.woff2 +0 -0
- package/assets/fonts/NotoSans-Bold.woff2 +0 -0
- package/assets/fonts/NotoSans-Regular.woff2 +0 -0
- package/assets/fonts/NotoSansDevanagari-Bold.woff2 +0 -0
- package/assets/fonts/NotoSansDevanagari-Regular.woff2 +0 -0
- package/assets/fonts/NotoSansGeorgian-Bold.woff2 +0 -0
- package/assets/fonts/NotoSansGeorgian-Regular.woff2 +0 -0
- package/assets/fonts/NotoSansJP-Bold.woff2 +0 -0
- package/assets/fonts/NotoSansJP-Regular.woff2 +0 -0
- package/assets/fonts/NotoSansKR-Bold.woff2 +0 -0
- package/assets/fonts/NotoSansKR-Regular.woff2 +0 -0
- package/assets/fonts/NotoSansSC-Bold.woff2 +0 -0
- package/assets/fonts/NotoSansSC-Regular.woff2 +0 -0
- package/assets/fonts/NotoSansTamil-Bold.woff2 +0 -0
- package/assets/fonts/NotoSansTamil-Regular.woff2 +0 -0
- package/assets/fonts/NotoSansThai-Bold.woff2 +0 -0
- package/assets/fonts/NotoSansThai-Regular.woff2 +0 -0
- package/assets/fonts/Padauk-Bold.woff2 +0 -0
- package/assets/fonts/Padauk-Regular.woff2 +0 -0
- package/assets/fonts/UKIJTuz-Bold.woff2 +0 -0
- package/assets/fonts/UKIJTuz-Regular.woff2 +0 -0
package/assets/fonts/fonts.css
CHANGED
|
@@ -3,256 +3,224 @@
|
|
|
3
3
|
|
|
4
4
|
@font-face {
|
|
5
5
|
font-family: 'AnekBangla';
|
|
6
|
-
src: url('./AnekBangla-Regular.
|
|
6
|
+
src: url('./AnekBangla-Regular.ttf');
|
|
7
7
|
font-weight: normal;
|
|
8
8
|
font-style: normal;
|
|
9
|
-
font-display: swap;
|
|
10
9
|
}
|
|
11
10
|
|
|
12
11
|
@font-face {
|
|
13
12
|
font-family: 'AnekBangla';
|
|
14
|
-
src: url('./AnekBangla-Bold.
|
|
13
|
+
src: url('./AnekBangla-Bold.ttf');
|
|
15
14
|
font-weight: bold;
|
|
16
15
|
font-style: normal;
|
|
17
|
-
font-display: swap;
|
|
18
16
|
}
|
|
19
17
|
|
|
20
18
|
@font-face {
|
|
21
19
|
font-family: 'AnekTelugu';
|
|
22
|
-
src: url('./AnekTelugu-Regular.
|
|
20
|
+
src: url('./AnekTelugu-Regular.ttf');
|
|
23
21
|
font-weight: normal;
|
|
24
22
|
font-style: normal;
|
|
25
|
-
font-display: swap;
|
|
26
23
|
}
|
|
27
24
|
|
|
28
25
|
@font-face {
|
|
29
26
|
font-family: 'AnekTelugu';
|
|
30
|
-
src: url('./AnekTelugu-Bold.
|
|
27
|
+
src: url('./AnekTelugu-Bold.ttf');
|
|
31
28
|
font-weight: bold;
|
|
32
29
|
font-style: normal;
|
|
33
|
-
font-display: swap;
|
|
34
30
|
}
|
|
35
31
|
|
|
36
32
|
@font-face {
|
|
37
33
|
font-family: 'EudoxusSans';
|
|
38
|
-
src: url('./EudoxusSans-Regular.
|
|
34
|
+
src: url('./EudoxusSans-Regular.ttf');
|
|
39
35
|
font-weight: normal;
|
|
40
36
|
font-style: normal;
|
|
41
|
-
font-display: swap;
|
|
42
37
|
}
|
|
43
38
|
|
|
44
39
|
@font-face {
|
|
45
40
|
font-family: 'EudoxusSans';
|
|
46
|
-
src: url('./EudoxusSans-Bold.
|
|
41
|
+
src: url('./EudoxusSans-Bold.ttf');
|
|
47
42
|
font-weight: bold;
|
|
48
43
|
font-style: normal;
|
|
49
|
-
font-display: swap;
|
|
50
44
|
}
|
|
51
45
|
|
|
52
46
|
@font-face {
|
|
53
47
|
font-family: 'IBMPlexSansArabic';
|
|
54
|
-
src: url('./IBMPlexSansArabic-Regular.
|
|
48
|
+
src: url('./IBMPlexSansArabic-Regular.ttf');
|
|
55
49
|
font-weight: normal;
|
|
56
50
|
font-style: normal;
|
|
57
|
-
font-display: swap;
|
|
58
51
|
}
|
|
59
52
|
|
|
60
53
|
@font-face {
|
|
61
54
|
font-family: 'IBMPlexSansArabic';
|
|
62
|
-
src: url('./IBMPlexSansArabic-Bold.
|
|
55
|
+
src: url('./IBMPlexSansArabic-Bold.ttf');
|
|
63
56
|
font-weight: bold;
|
|
64
57
|
font-style: normal;
|
|
65
|
-
font-display: swap;
|
|
66
58
|
}
|
|
67
59
|
|
|
68
60
|
@font-face {
|
|
69
61
|
font-family: 'IBMPlexSansHebrew';
|
|
70
|
-
src: url('./IBMPlexSansHebrew-Regular.
|
|
62
|
+
src: url('./IBMPlexSansHebrew-Regular.ttf');
|
|
71
63
|
font-weight: normal;
|
|
72
64
|
font-style: normal;
|
|
73
|
-
font-display: swap;
|
|
74
65
|
}
|
|
75
66
|
|
|
76
67
|
@font-face {
|
|
77
68
|
font-family: 'IBMPlexSansHebrew';
|
|
78
|
-
src: url('./IBMPlexSansHebrew-Bold.
|
|
69
|
+
src: url('./IBMPlexSansHebrew-Bold.ttf');
|
|
79
70
|
font-weight: bold;
|
|
80
71
|
font-style: normal;
|
|
81
|
-
font-display: swap;
|
|
82
72
|
}
|
|
83
73
|
|
|
84
74
|
@font-face {
|
|
85
75
|
font-family: 'KhmerOSContent';
|
|
86
|
-
src: url('./KhmerOSContent-Regular.
|
|
76
|
+
src: url('./KhmerOSContent-Regular.ttf');
|
|
87
77
|
font-weight: normal;
|
|
88
78
|
font-style: normal;
|
|
89
|
-
font-display: swap;
|
|
90
79
|
}
|
|
91
80
|
|
|
92
81
|
@font-face {
|
|
93
82
|
font-family: 'KhmerOSContent';
|
|
94
|
-
src: url('./KhmerOSContent-Bold.
|
|
83
|
+
src: url('./KhmerOSContent-Bold.ttf');
|
|
95
84
|
font-weight: bold;
|
|
96
85
|
font-style: normal;
|
|
97
|
-
font-display: swap;
|
|
98
86
|
}
|
|
99
87
|
|
|
100
88
|
@font-face {
|
|
101
89
|
font-family: 'NotoSans';
|
|
102
|
-
src: url('./NotoSans-Regular.
|
|
90
|
+
src: url('./NotoSans-Regular.ttf');
|
|
103
91
|
font-weight: normal;
|
|
104
92
|
font-style: normal;
|
|
105
|
-
font-display: swap;
|
|
106
93
|
}
|
|
107
94
|
|
|
108
95
|
@font-face {
|
|
109
96
|
font-family: 'NotoSans';
|
|
110
|
-
src: url('./NotoSans-Bold.
|
|
97
|
+
src: url('./NotoSans-Bold.ttf');
|
|
111
98
|
font-weight: bold;
|
|
112
99
|
font-style: normal;
|
|
113
|
-
font-display: swap;
|
|
114
100
|
}
|
|
115
101
|
|
|
116
102
|
@font-face {
|
|
117
103
|
font-family: 'NotoSansDevanagari';
|
|
118
|
-
src: url('./NotoSansDevanagari-Regular.
|
|
104
|
+
src: url('./NotoSansDevanagari-Regular.ttf');
|
|
119
105
|
font-weight: normal;
|
|
120
106
|
font-style: normal;
|
|
121
|
-
font-display: swap;
|
|
122
107
|
}
|
|
123
108
|
|
|
124
109
|
@font-face {
|
|
125
110
|
font-family: 'NotoSansDevanagari';
|
|
126
|
-
src: url('./NotoSansDevanagari-Bold.
|
|
111
|
+
src: url('./NotoSansDevanagari-Bold.ttf');
|
|
127
112
|
font-weight: bold;
|
|
128
113
|
font-style: normal;
|
|
129
|
-
font-display: swap;
|
|
130
114
|
}
|
|
131
115
|
|
|
132
116
|
@font-face {
|
|
133
117
|
font-family: 'NotoSansGeorgian';
|
|
134
|
-
src: url('./NotoSansGeorgian-Regular.
|
|
118
|
+
src: url('./NotoSansGeorgian-Regular.ttf');
|
|
135
119
|
font-weight: normal;
|
|
136
120
|
font-style: normal;
|
|
137
|
-
font-display: swap;
|
|
138
121
|
}
|
|
139
122
|
|
|
140
123
|
@font-face {
|
|
141
124
|
font-family: 'NotoSansGeorgian';
|
|
142
|
-
src: url('./NotoSansGeorgian-Bold.
|
|
125
|
+
src: url('./NotoSansGeorgian-Bold.ttf');
|
|
143
126
|
font-weight: bold;
|
|
144
127
|
font-style: normal;
|
|
145
|
-
font-display: swap;
|
|
146
128
|
}
|
|
147
129
|
|
|
148
130
|
@font-face {
|
|
149
131
|
font-family: 'NotoSansJP';
|
|
150
|
-
src: url('./NotoSansJP-Regular.
|
|
132
|
+
src: url('./NotoSansJP-Regular.ttf');
|
|
151
133
|
font-weight: normal;
|
|
152
134
|
font-style: normal;
|
|
153
|
-
font-display: swap;
|
|
154
135
|
}
|
|
155
136
|
|
|
156
137
|
@font-face {
|
|
157
138
|
font-family: 'NotoSansJP';
|
|
158
|
-
src: url('./NotoSansJP-Bold.
|
|
139
|
+
src: url('./NotoSansJP-Bold.ttf');
|
|
159
140
|
font-weight: bold;
|
|
160
141
|
font-style: normal;
|
|
161
|
-
font-display: swap;
|
|
162
142
|
}
|
|
163
143
|
|
|
164
144
|
@font-face {
|
|
165
145
|
font-family: 'NotoSansKR';
|
|
166
|
-
src: url('./NotoSansKR-Regular.
|
|
146
|
+
src: url('./NotoSansKR-Regular.ttf');
|
|
167
147
|
font-weight: normal;
|
|
168
148
|
font-style: normal;
|
|
169
|
-
font-display: swap;
|
|
170
149
|
}
|
|
171
150
|
|
|
172
151
|
@font-face {
|
|
173
152
|
font-family: 'NotoSansKR';
|
|
174
|
-
src: url('./NotoSansKR-Bold.
|
|
153
|
+
src: url('./NotoSansKR-Bold.ttf');
|
|
175
154
|
font-weight: bold;
|
|
176
155
|
font-style: normal;
|
|
177
|
-
font-display: swap;
|
|
178
156
|
}
|
|
179
157
|
|
|
180
158
|
@font-face {
|
|
181
159
|
font-family: 'NotoSansSC';
|
|
182
|
-
src: url('./NotoSansSC-Regular.
|
|
160
|
+
src: url('./NotoSansSC-Regular.ttf');
|
|
183
161
|
font-weight: normal;
|
|
184
162
|
font-style: normal;
|
|
185
|
-
font-display: swap;
|
|
186
163
|
}
|
|
187
164
|
|
|
188
165
|
@font-face {
|
|
189
166
|
font-family: 'NotoSansSC';
|
|
190
|
-
src: url('./NotoSansSC-Bold.
|
|
167
|
+
src: url('./NotoSansSC-Bold.ttf');
|
|
191
168
|
font-weight: bold;
|
|
192
169
|
font-style: normal;
|
|
193
|
-
font-display: swap;
|
|
194
170
|
}
|
|
195
171
|
|
|
196
172
|
@font-face {
|
|
197
173
|
font-family: 'NotoSansTamil';
|
|
198
|
-
src: url('./NotoSansTamil-Regular.
|
|
174
|
+
src: url('./NotoSansTamil-Regular.ttf');
|
|
199
175
|
font-weight: normal;
|
|
200
176
|
font-style: normal;
|
|
201
|
-
font-display: swap;
|
|
202
177
|
}
|
|
203
178
|
|
|
204
179
|
@font-face {
|
|
205
180
|
font-family: 'NotoSansTamil';
|
|
206
|
-
src: url('./NotoSansTamil-Bold.
|
|
181
|
+
src: url('./NotoSansTamil-Bold.ttf');
|
|
207
182
|
font-weight: bold;
|
|
208
183
|
font-style: normal;
|
|
209
|
-
font-display: swap;
|
|
210
184
|
}
|
|
211
185
|
|
|
212
186
|
@font-face {
|
|
213
187
|
font-family: 'NotoSansThai';
|
|
214
|
-
src: url('./NotoSansThai-Regular.
|
|
188
|
+
src: url('./NotoSansThai-Regular.ttf');
|
|
215
189
|
font-weight: normal;
|
|
216
190
|
font-style: normal;
|
|
217
|
-
font-display: swap;
|
|
218
191
|
}
|
|
219
192
|
|
|
220
193
|
@font-face {
|
|
221
194
|
font-family: 'NotoSansThai';
|
|
222
|
-
src: url('./NotoSansThai-Bold.
|
|
195
|
+
src: url('./NotoSansThai-Bold.ttf');
|
|
223
196
|
font-weight: bold;
|
|
224
197
|
font-style: normal;
|
|
225
|
-
font-display: swap;
|
|
226
198
|
}
|
|
227
199
|
|
|
228
200
|
@font-face {
|
|
229
201
|
font-family: 'Padauk';
|
|
230
|
-
src: url('./Padauk-Regular.
|
|
202
|
+
src: url('./Padauk-Regular.ttf');
|
|
231
203
|
font-weight: normal;
|
|
232
204
|
font-style: normal;
|
|
233
|
-
font-display: swap;
|
|
234
205
|
}
|
|
235
206
|
|
|
236
207
|
@font-face {
|
|
237
208
|
font-family: 'Padauk';
|
|
238
|
-
src: url('./Padauk-Bold.
|
|
209
|
+
src: url('./Padauk-Bold.ttf');
|
|
239
210
|
font-weight: bold;
|
|
240
211
|
font-style: normal;
|
|
241
|
-
font-display: swap;
|
|
242
212
|
}
|
|
243
213
|
|
|
244
214
|
@font-face {
|
|
245
215
|
font-family: 'UKIJTuz';
|
|
246
|
-
src: url('./UKIJTuz-Regular.
|
|
216
|
+
src: url('./UKIJTuz-Regular.ttf');
|
|
247
217
|
font-weight: normal;
|
|
248
218
|
font-style: normal;
|
|
249
|
-
font-display: swap;
|
|
250
219
|
}
|
|
251
220
|
|
|
252
221
|
@font-face {
|
|
253
222
|
font-family: 'UKIJTuz';
|
|
254
|
-
src: url('./UKIJTuz-Bold.
|
|
223
|
+
src: url('./UKIJTuz-Bold.ttf');
|
|
255
224
|
font-weight: bold;
|
|
256
225
|
font-style: normal;
|
|
257
|
-
font-display: swap;
|
|
258
226
|
}
|
|
@@ -683,18 +683,6 @@
|
|
|
683
683
|
}
|
|
684
684
|
]
|
|
685
685
|
},
|
|
686
|
-
{
|
|
687
|
-
"bibleAudioId": "TANT2022",
|
|
688
|
-
"canDownload": true,
|
|
689
|
-
"copyright": "Text: © United Bible Societies, 2011, 2018, 2022, Creative Commons Attribution-NonCommercial-NoDerivatives 4.0 International License. Audio: ℗ Hosanna, 2024, Creative Commons Attribution-NonCommercial-NoDerivatives 4.0 International License",
|
|
690
|
-
"audioSource": [
|
|
691
|
-
{
|
|
692
|
-
"scope": "all",
|
|
693
|
-
"source": "dbl",
|
|
694
|
-
"sourceId": "c2d41121545143a0-01"
|
|
695
|
-
}
|
|
696
|
-
]
|
|
697
|
-
},
|
|
698
686
|
{
|
|
699
687
|
"bibleAudioId": "TCL02",
|
|
700
688
|
"canDownload": false,
|
|
@@ -653,18 +653,6 @@
|
|
|
653
653
|
"nameEnglish": "Sudanese Arabic Audio Bible",
|
|
654
654
|
"textSource": {
|
|
655
655
|
"source": "custom"
|
|
656
|
-
},
|
|
657
|
-
"version": 2
|
|
658
|
-
},
|
|
659
|
-
{
|
|
660
|
-
"bibleTextId": "TANT2022",
|
|
661
|
-
"copyright": "Text copyright © United Bible Societies, 2011, 2018, 2022.",
|
|
662
|
-
"languageId": "aeb",
|
|
663
|
-
"name": "العهد الجديد بالدارجة التونسية 2022",
|
|
664
|
-
"nameEnglish": "Tunisian Arabic New Testament",
|
|
665
|
-
"textSource": {
|
|
666
|
-
"source": "dbl",
|
|
667
|
-
"sourceId": "26e0bbc90cf70432-01"
|
|
668
656
|
}
|
|
669
657
|
},
|
|
670
658
|
{
|
|
@@ -117,10 +117,10 @@
|
|
|
117
117
|
"languageId": "aeb",
|
|
118
118
|
"appInterface": false,
|
|
119
119
|
"assetVersions": {
|
|
120
|
-
"dbs":
|
|
120
|
+
"dbs": 2
|
|
121
121
|
},
|
|
122
122
|
"bcpLanguageId": "ar-TN",
|
|
123
|
-
"bible": "
|
|
123
|
+
"bible": "NAV",
|
|
124
124
|
"bridgeLanguages": {
|
|
125
125
|
"ftbs": "ara",
|
|
126
126
|
"intros": "ara",
|
|
@@ -151,7 +151,6 @@
|
|
|
151
151
|
"web": "notStarted"
|
|
152
152
|
},
|
|
153
153
|
"uuid": "b4c558bf-10bb-495c-8d9c-f4d9cf9cd0f0",
|
|
154
|
-
"bibleFallbacks": ["NAV"],
|
|
155
154
|
"countries": ["TN", "LY"]
|
|
156
155
|
},
|
|
157
156
|
{
|
|
@@ -47,32 +47,6 @@ export declare const AssetVersions: z.ZodObject<{
|
|
|
47
47
|
dmc: z.ZodOptional<z.ZodInt>;
|
|
48
48
|
cast: z.ZodOptional<z.ZodInt>;
|
|
49
49
|
}, z.core.$strip>;
|
|
50
|
-
export declare const LanguageStatuses: z.ZodObject<{
|
|
51
|
-
dbs: z.ZodEnum<{
|
|
52
|
-
notStarted: "notStarted";
|
|
53
|
-
inProgress: "inProgress";
|
|
54
|
-
testing: "testing";
|
|
55
|
-
launched: "launched";
|
|
56
|
-
}>;
|
|
57
|
-
trainingVideos: z.ZodEnum<{
|
|
58
|
-
notStarted: "notStarted";
|
|
59
|
-
inProgress: "inProgress";
|
|
60
|
-
testing: "testing";
|
|
61
|
-
launched: "launched";
|
|
62
|
-
}>;
|
|
63
|
-
gdmc: z.ZodEnum<{
|
|
64
|
-
notStarted: "notStarted";
|
|
65
|
-
inProgress: "inProgress";
|
|
66
|
-
testing: "testing";
|
|
67
|
-
launched: "launched";
|
|
68
|
-
}>;
|
|
69
|
-
web: z.ZodEnum<{
|
|
70
|
-
notStarted: "notStarted";
|
|
71
|
-
inProgress: "inProgress";
|
|
72
|
-
testing: "testing";
|
|
73
|
-
launched: "launched";
|
|
74
|
-
}>;
|
|
75
|
-
}, z.core.$strip>;
|
|
76
50
|
export declare const Languages: z.ZodArray<z.ZodObject<{
|
|
77
51
|
languageId: z.ZodString;
|
|
78
52
|
exonym: z.ZodString;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.Languages = exports.
|
|
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']);
|
|
@@ -65,12 +65,6 @@ exports.AssetVersions = zod_1.z
|
|
|
65
65
|
.describe('Asset version for cast-ready Foundations/Topics/GMDC video lessons.'),
|
|
66
66
|
})
|
|
67
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}`.');
|
|
68
|
-
exports.LanguageStatuses = zod_1.z.object({
|
|
69
|
-
dbs: exports.Status.describe("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."),
|
|
70
|
-
trainingVideos: exports.Status.describe("The status of this language's disciple making course training videos."),
|
|
71
|
-
gdmc: exports.Status.describe("The status of this language's growing as a dmc sets."),
|
|
72
|
-
web: exports.Status.describe("The status of this language's website localization on https://waha.app."),
|
|
73
|
-
});
|
|
74
68
|
exports.Languages = zod_1.z.array(zod_1.z
|
|
75
69
|
.object({
|
|
76
70
|
languageId: zod_1.z
|
|
@@ -122,7 +116,12 @@ exports.Languages = zod_1.z.array(zod_1.z
|
|
|
122
116
|
})
|
|
123
117
|
.strict()
|
|
124
118
|
.describe('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.'),
|
|
125
|
-
status:
|
|
119
|
+
status: zod_1.z.object({
|
|
120
|
+
dbs: exports.Status.describe("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."),
|
|
121
|
+
trainingVideos: exports.Status.describe("The status of this language's disciple making course training videos."),
|
|
122
|
+
gdmc: exports.Status.describe("The status of this language's growing as a dmc sets."),
|
|
123
|
+
web: exports.Status.describe("The status of this language's website localization on https://waha.app."),
|
|
124
|
+
}),
|
|
126
125
|
endonym: zod_1.z
|
|
127
126
|
.string()
|
|
128
127
|
.regex(new RegExp('^.+$'))
|
|
@@ -56,7 +56,6 @@ function getLanguageInfo(languageId, options) {
|
|
|
56
56
|
lessonPauses: lessonPauses_1.lessonPauses,
|
|
57
57
|
allBibleIds: [],
|
|
58
58
|
onboardingPassageIds: curriculumOnboarding_1.curriculumOnboarding[0].passages,
|
|
59
|
-
status: { ...languages_1.languages[0].status, dmCourse: 'notStarted' },
|
|
60
59
|
};
|
|
61
60
|
const language = languages_1.languages.find((language) => language.languageId === languageId);
|
|
62
61
|
if (!language) {
|
|
@@ -90,23 +89,6 @@ function getLanguageInfo(languageId, options) {
|
|
|
90
89
|
setIds.push(gdmcSetId);
|
|
91
90
|
}
|
|
92
91
|
}
|
|
93
|
-
let dmCourseStatus = 'notStarted';
|
|
94
|
-
if (language.status.trainingVideos === 'notStarted') {
|
|
95
|
-
if (!language.bridgeLanguages?.trainingVideos) {
|
|
96
|
-
dmCourseStatus = 'notStarted';
|
|
97
|
-
}
|
|
98
|
-
else {
|
|
99
|
-
if (language.status.dbs !== 'launched')
|
|
100
|
-
dmCourseStatus = language.status.dbs;
|
|
101
|
-
else {
|
|
102
|
-
const bridgeLanguageTrainingVideoStatus = languages_1.languages.find((l) => l.languageId === language.bridgeLanguages?.trainingVideos)?.status.trainingVideos ?? 'notStarted';
|
|
103
|
-
dmCourseStatus = bridgeLanguageTrainingVideoStatus;
|
|
104
|
-
}
|
|
105
|
-
}
|
|
106
|
-
}
|
|
107
|
-
else {
|
|
108
|
-
dmCourseStatus = language.status.trainingVideos;
|
|
109
|
-
}
|
|
110
92
|
const toReturn = {
|
|
111
93
|
...language,
|
|
112
94
|
setIds: setIds,
|
|
@@ -130,7 +112,6 @@ function getLanguageInfo(languageId, options) {
|
|
|
130
112
|
lessonPauses: lessonPauses_1.lessonPauses,
|
|
131
113
|
allBibleIds: (0, bibles_1.getAllBibleIds)(language),
|
|
132
114
|
onboardingPassageIds: onboardingCurriculum?.passages ?? defaultReturn.onboardingPassageIds,
|
|
133
|
-
status: { ...language.status, dmCourse: dmCourseStatus },
|
|
134
115
|
};
|
|
135
116
|
return toReturn;
|
|
136
117
|
}
|
package/dist/types/articles.d.ts
CHANGED
|
@@ -36,7 +36,6 @@ export declare const ArticleSchema: z.ZodObject<{
|
|
|
36
36
|
autoplay: z.ZodOptional<z.ZodBoolean>;
|
|
37
37
|
loop: z.ZodOptional<z.ZodBoolean>;
|
|
38
38
|
disableControls: z.ZodOptional<z.ZodBoolean>;
|
|
39
|
-
aspectRatio: z.ZodOptional<z.ZodNumber>;
|
|
40
39
|
}, z.core.$strip>>;
|
|
41
40
|
impactStoryRegion: z.ZodOptional<z.ZodEnum<{
|
|
42
41
|
"North America": "North America";
|
|
@@ -93,7 +92,6 @@ export declare const ResponseArticleSchema: z.ZodObject<{
|
|
|
93
92
|
autoplay: z.ZodOptional<z.ZodBoolean>;
|
|
94
93
|
loop: z.ZodOptional<z.ZodBoolean>;
|
|
95
94
|
disableControls: z.ZodOptional<z.ZodBoolean>;
|
|
96
|
-
aspectRatio: z.ZodOptional<z.ZodNumber>;
|
|
97
95
|
}, z.core.$strip>>;
|
|
98
96
|
impactStoryRegion: z.ZodOptional<z.ZodEnum<{
|
|
99
97
|
"North America": "North America";
|
|
@@ -153,7 +151,6 @@ export declare const ArticlesResponseSchema: z.ZodObject<{
|
|
|
153
151
|
autoplay: z.ZodOptional<z.ZodBoolean>;
|
|
154
152
|
loop: z.ZodOptional<z.ZodBoolean>;
|
|
155
153
|
disableControls: z.ZodOptional<z.ZodBoolean>;
|
|
156
|
-
aspectRatio: z.ZodOptional<z.ZodNumber>;
|
|
157
154
|
}, z.core.$strip>>;
|
|
158
155
|
impactStoryRegion: z.ZodOptional<z.ZodEnum<{
|
|
159
156
|
"North America": "North America";
|
|
@@ -32,40 +32,7 @@ declare const RequiredBridgeLanguages: z.ZodObject<{
|
|
|
32
32
|
onboardingPassages: z.ZodNonOptional<z.ZodOptional<z.ZodString>>;
|
|
33
33
|
}, z.core.$strip>;
|
|
34
34
|
type RequiredBridgeLanguages = z.infer<typeof RequiredBridgeLanguages>;
|
|
35
|
-
export
|
|
36
|
-
dbs: z.ZodEnum<{
|
|
37
|
-
notStarted: "notStarted";
|
|
38
|
-
inProgress: "inProgress";
|
|
39
|
-
testing: "testing";
|
|
40
|
-
launched: "launched";
|
|
41
|
-
}>;
|
|
42
|
-
trainingVideos: z.ZodEnum<{
|
|
43
|
-
notStarted: "notStarted";
|
|
44
|
-
inProgress: "inProgress";
|
|
45
|
-
testing: "testing";
|
|
46
|
-
launched: "launched";
|
|
47
|
-
}>;
|
|
48
|
-
gdmc: z.ZodEnum<{
|
|
49
|
-
notStarted: "notStarted";
|
|
50
|
-
inProgress: "inProgress";
|
|
51
|
-
testing: "testing";
|
|
52
|
-
launched: "launched";
|
|
53
|
-
}>;
|
|
54
|
-
web: z.ZodEnum<{
|
|
55
|
-
notStarted: "notStarted";
|
|
56
|
-
inProgress: "inProgress";
|
|
57
|
-
testing: "testing";
|
|
58
|
-
launched: "launched";
|
|
59
|
-
}>;
|
|
60
|
-
dmCourse: z.ZodEnum<{
|
|
61
|
-
notStarted: "notStarted";
|
|
62
|
-
inProgress: "inProgress";
|
|
63
|
-
testing: "testing";
|
|
64
|
-
launched: "launched";
|
|
65
|
-
}>;
|
|
66
|
-
}, z.core.$strip>;
|
|
67
|
-
export type LanguageInfoStatuses = z.infer<typeof LanguageInfoStatuses>;
|
|
68
|
-
export interface LanguageInfo extends Omit<Language, 'bible' | 'bibleFallbacks' | 'script' | 'bridgeLanguages' | 'status'> {
|
|
35
|
+
export interface LanguageInfo extends Omit<Language, 'bible' | 'bibleFallbacks' | 'script' | 'bridgeLanguages'> {
|
|
69
36
|
/** The set ids that make up this language's curriculum. */
|
|
70
37
|
setIds: string[];
|
|
71
38
|
/** The question sets available for this language. */
|
|
@@ -99,8 +66,6 @@ export interface LanguageInfo extends Omit<Language, 'bible' | 'bibleFallbacks'
|
|
|
99
66
|
* curriculum (some languages use different psalm numberings).
|
|
100
67
|
*/
|
|
101
68
|
onboardingPassageIds: CurriculumOnboarding[number]['passages'];
|
|
102
|
-
/** The statuses of this language. */
|
|
103
|
-
status: LanguageInfoStatuses;
|
|
104
69
|
}
|
|
105
70
|
export interface MeetTranslations {
|
|
106
71
|
sets: TranslationsSet[string];
|
package/dist/types/languages.js
CHANGED
|
@@ -1,8 +1,4 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.LanguageInfoStatuses = void 0;
|
|
4
3
|
const languages_zod_1 = require("../data/languages/languages.zod");
|
|
5
4
|
const RequiredBridgeLanguages = languages_zod_1.BridgeLanguages.required();
|
|
6
|
-
exports.LanguageInfoStatuses = languages_zod_1.LanguageStatuses.extend({
|
|
7
|
-
dmCourse: languages_zod_1.Status.describe("Whether or not the DM course is available for a language. Calculated via a combination of language's dbs status, language's training video status, and language's bridge languages."),
|
|
8
|
-
});
|
|
@@ -53,7 +53,6 @@ export declare const MicroLessonSchema: z.ZodObject<{
|
|
|
53
53
|
autoplay: z.ZodOptional<z.ZodBoolean>;
|
|
54
54
|
loop: z.ZodOptional<z.ZodBoolean>;
|
|
55
55
|
disableControls: z.ZodOptional<z.ZodBoolean>;
|
|
56
|
-
aspectRatio: z.ZodOptional<z.ZodNumber>;
|
|
57
56
|
}, z.core.$strip>>;
|
|
58
57
|
textInput: z.ZodOptional<z.ZodObject<{
|
|
59
58
|
show: z.ZodBoolean;
|
|
@@ -128,7 +127,6 @@ export declare const ResponseMicroLessonSchema: z.ZodObject<{
|
|
|
128
127
|
autoplay: z.ZodOptional<z.ZodBoolean>;
|
|
129
128
|
loop: z.ZodOptional<z.ZodBoolean>;
|
|
130
129
|
disableControls: z.ZodOptional<z.ZodBoolean>;
|
|
131
|
-
aspectRatio: z.ZodOptional<z.ZodNumber>;
|
|
132
130
|
}, z.core.$strip>>;
|
|
133
131
|
textInput: z.ZodOptional<z.ZodObject<{
|
|
134
132
|
show: z.ZodBoolean;
|
|
@@ -205,7 +203,6 @@ export declare const MicroLessonsResponse: z.ZodObject<{
|
|
|
205
203
|
autoplay: z.ZodOptional<z.ZodBoolean>;
|
|
206
204
|
loop: z.ZodOptional<z.ZodBoolean>;
|
|
207
205
|
disableControls: z.ZodOptional<z.ZodBoolean>;
|
|
208
|
-
aspectRatio: z.ZodOptional<z.ZodNumber>;
|
|
209
206
|
}, z.core.$strip>>;
|
|
210
207
|
textInput: z.ZodOptional<z.ZodObject<{
|
|
211
208
|
show: z.ZodBoolean;
|
|
@@ -16,7 +16,6 @@ export declare const VideoSchema: z.ZodOptional<z.ZodObject<{
|
|
|
16
16
|
autoplay: z.ZodOptional<z.ZodBoolean>;
|
|
17
17
|
loop: z.ZodOptional<z.ZodBoolean>;
|
|
18
18
|
disableControls: z.ZodOptional<z.ZodBoolean>;
|
|
19
|
-
aspectRatio: z.ZodOptional<z.ZodNumber>;
|
|
20
19
|
}, z.core.$strip>>;
|
|
21
20
|
export declare const CategorySchema: z.ZodEnum<{
|
|
22
21
|
"Case Studies": "Case Studies";
|
package/dist/types/webContent.js
CHANGED
|
@@ -32,11 +32,6 @@ exports.VideoSchema = zod_1.default
|
|
|
32
32
|
autoplay: zod_1.default.boolean().optional(),
|
|
33
33
|
loop: zod_1.default.boolean().optional(),
|
|
34
34
|
disableControls: zod_1.default.boolean().optional(),
|
|
35
|
-
aspectRatio: zod_1.default
|
|
36
|
-
.number()
|
|
37
|
-
.positive()
|
|
38
|
-
.describe('Width / height of the video. Defaults to 16/9. Use values < 1 for portrait videos (e.g. 9/16).')
|
|
39
|
-
.optional(),
|
|
40
35
|
})
|
|
41
36
|
.describe('Optional video to embed on the page.')
|
|
42
37
|
.optional();
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "waha-shared",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.362",
|
|
4
4
|
"author": "Waha",
|
|
5
5
|
"dependencies": {
|
|
6
6
|
"@types/signale": "^1.4.7",
|
|
@@ -27,7 +27,7 @@
|
|
|
27
27
|
"license": "MIT",
|
|
28
28
|
"scripts": {
|
|
29
29
|
"build": "npx tsc && copyfiles \"data/**/*.json\" dist",
|
|
30
|
-
"update": "yarn build && REGISTRY_VERSION=$(npm view waha-shared version) && npm version $REGISTRY_VERSION --no-git-tag-version --allow-same-version && npm version patch
|
|
31
|
-
"updateManual": "(npm whoami || npm login) && yarn build && REGISTRY_VERSION=$(npm view waha-shared version) && npm version $REGISTRY_VERSION --no-git-tag-version --allow-same-version &&
|
|
30
|
+
"update": "yarn build && REGISTRY_VERSION=$(npm view waha-shared version) && npm version $REGISTRY_VERSION --no-git-tag-version --allow-same-version && npm version patch && git add . && git commit -m 'chore: update shared types' && bash -c 'npm publish --access public --registry https://registry.npmjs.org --//registry.npmjs.org/:_authToken=$(grep NPM_TOKEN= ../.env | cut -d \"=\" -f2-)'",
|
|
31
|
+
"updateManual": "(npm whoami || npm login) && yarn build && REGISTRY_VERSION=$(npm view waha-shared version) && npm version $REGISTRY_VERSION --no-git-tag-version --allow-same-version && git add dist package.json && git commit -m 'chore: update shared types' && npm publish"
|
|
32
32
|
}
|
|
33
33
|
}
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|