waha-shared 1.0.457 → 1.0.458
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/data/bibleStatuses/bibleStatuses.json +198 -196
- package/dist/data/bibleTexts/bibleTexts.json +11 -0
- package/dist/data/languages/index.d.ts +5 -4
- package/dist/data/languages/languages.json +92 -20
- package/dist/data/languages/languages.schema.json +83 -3
- package/dist/data/languages/languages.zod.d.ts +94 -23
- package/dist/data/languages/languages.zod.js +78 -2
- package/dist/data/mediaDurations/mediaDurations.json +147 -128
- package/dist/data/releaseNotes/releaseNotes.json +56 -2
- package/dist/data/translationsApp/index.d.ts +33 -4
- package/dist/data/translationsApp/translationsApp.json +1190 -1
- package/dist/data/translationsApp/translationsApp.schema.json +85 -23
- package/dist/data/translationsApp/translationsApp.zod.d.ts +107 -18
- package/dist/data/translationsApp/translationsApp.zod.js +76 -30
- package/dist/functions/magicLink.d.ts +12 -22
- package/dist/functions/magicLink.js +19 -25
- package/dist/functions/sets.js +4 -4
- package/dist/functions/userPaths.d.ts +90 -0
- package/dist/functions/userPaths.js +55 -0
- package/dist/types/analytics.d.ts +3 -1
- package/dist/types/bibleChapters.d.ts +8 -0
- package/dist/types/bibleChapters.js +2 -1
- package/dist/types/bookmarks.d.ts +23 -0
- package/dist/types/bookmarks.js +19 -0
- package/dist/types/completions.d.ts +32 -1
- package/dist/types/completions.js +22 -0
- package/dist/types/logs.d.ts +83 -0
- package/dist/types/logs.js +52 -0
- package/dist/types/meetFavorites.d.ts +10 -0
- package/dist/types/meetFavorites.js +11 -0
- package/dist/types/notes.d.ts +10 -0
- package/dist/types/notes.js +13 -0
- package/dist/types/users.d.ts +189 -309
- package/dist/types/users.js +152 -135
- package/package.json +9 -9
|
@@ -113,6 +113,81 @@
|
|
|
113
113
|
],
|
|
114
114
|
"description": "A BCP 47 language ID used only for iOS VoiceOver (screen reader) support. Should only be included if the language is supported by iOS VoiceOver; the value must be one of the supported VoiceOver languages. List of supported languages: https://www.apple.com/ios/feature-availability/#accessibility-voiceover"
|
|
115
115
|
},
|
|
116
|
+
"firebaseAuthLanguageId": {
|
|
117
|
+
"type": "string",
|
|
118
|
+
"enum": [
|
|
119
|
+
"en",
|
|
120
|
+
"af",
|
|
121
|
+
"sq",
|
|
122
|
+
"am",
|
|
123
|
+
"ar",
|
|
124
|
+
"hy",
|
|
125
|
+
"az",
|
|
126
|
+
"bn",
|
|
127
|
+
"bg",
|
|
128
|
+
"my",
|
|
129
|
+
"ca",
|
|
130
|
+
"hr",
|
|
131
|
+
"cs",
|
|
132
|
+
"zh-CN",
|
|
133
|
+
"zh-TW",
|
|
134
|
+
"da",
|
|
135
|
+
"nl",
|
|
136
|
+
"et",
|
|
137
|
+
"fil",
|
|
138
|
+
"fi",
|
|
139
|
+
"fr",
|
|
140
|
+
"de",
|
|
141
|
+
"ka",
|
|
142
|
+
"el",
|
|
143
|
+
"gu",
|
|
144
|
+
"iw",
|
|
145
|
+
"hi",
|
|
146
|
+
"hu",
|
|
147
|
+
"is",
|
|
148
|
+
"id",
|
|
149
|
+
"it",
|
|
150
|
+
"ja",
|
|
151
|
+
"kn",
|
|
152
|
+
"kk",
|
|
153
|
+
"km",
|
|
154
|
+
"ko",
|
|
155
|
+
"lo",
|
|
156
|
+
"lv",
|
|
157
|
+
"lt",
|
|
158
|
+
"mk",
|
|
159
|
+
"ms",
|
|
160
|
+
"ml",
|
|
161
|
+
"mr",
|
|
162
|
+
"mn",
|
|
163
|
+
"ne",
|
|
164
|
+
"no",
|
|
165
|
+
"fa",
|
|
166
|
+
"pl",
|
|
167
|
+
"pt-BR",
|
|
168
|
+
"pt-PT",
|
|
169
|
+
"pa",
|
|
170
|
+
"ro",
|
|
171
|
+
"ru",
|
|
172
|
+
"sr",
|
|
173
|
+
"si",
|
|
174
|
+
"sk",
|
|
175
|
+
"sl",
|
|
176
|
+
"es",
|
|
177
|
+
"es-419",
|
|
178
|
+
"sw",
|
|
179
|
+
"sv",
|
|
180
|
+
"ta",
|
|
181
|
+
"te",
|
|
182
|
+
"th",
|
|
183
|
+
"tr",
|
|
184
|
+
"uk",
|
|
185
|
+
"ur",
|
|
186
|
+
"uz",
|
|
187
|
+
"vi"
|
|
188
|
+
],
|
|
189
|
+
"description": "The language code Firebase Authentication uses to localize its automated emails. Taken from the Firebase Console Auth email-template dropdown. If exact language isn't available, choose a suitable bridge."
|
|
190
|
+
},
|
|
116
191
|
"bible": {
|
|
117
192
|
"type": "string",
|
|
118
193
|
"description": "The primary bible translation ID for this language (e.g. \"NAV\", \"NLT\")."
|
|
@@ -131,7 +206,7 @@
|
|
|
131
206
|
"anyOf": [
|
|
132
207
|
{
|
|
133
208
|
"type": "string",
|
|
134
|
-
"enum": ["
|
|
209
|
+
"enum": ["foundations", "topics", "training"]
|
|
135
210
|
},
|
|
136
211
|
{ "type": "string", "enum": ["OT", "NT"] }
|
|
137
212
|
],
|
|
@@ -240,8 +315,13 @@
|
|
|
240
315
|
"expectMissing": {
|
|
241
316
|
"type": "array",
|
|
242
317
|
"items": {
|
|
243
|
-
"
|
|
244
|
-
|
|
318
|
+
"anyOf": [
|
|
319
|
+
{
|
|
320
|
+
"type": "string",
|
|
321
|
+
"enum": ["foundations", "topics", "training"]
|
|
322
|
+
},
|
|
323
|
+
{ "type": "string", "const": "name" }
|
|
324
|
+
]
|
|
245
325
|
}
|
|
246
326
|
},
|
|
247
327
|
"mmsLanguageId": {
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { z } from 'zod';
|
|
2
2
|
export declare const SetCategory: z.ZodEnum<{
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
3
|
+
foundations: "foundations";
|
|
4
|
+
topics: "topics";
|
|
5
|
+
training: "training";
|
|
6
6
|
}>;
|
|
7
7
|
export type SetCategory = z.infer<typeof SetCategory>;
|
|
8
8
|
export declare const BibleTestament: z.ZodEnum<{
|
|
@@ -30,9 +30,9 @@ export declare const BridgeLanguages: z.ZodObject<{
|
|
|
30
30
|
}, z.core.$strip>;
|
|
31
31
|
export declare const BibleModifier: z.ZodObject<{
|
|
32
32
|
scope: z.ZodUnion<[z.ZodEnum<{
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
33
|
+
foundations: "foundations";
|
|
34
|
+
topics: "topics";
|
|
35
|
+
training: "training";
|
|
36
36
|
}>, z.ZodEnum<{
|
|
37
37
|
OT: "OT";
|
|
38
38
|
NT: "NT";
|
|
@@ -147,13 +147,84 @@ export declare const Languages: z.ZodArray<z.ZodObject<{
|
|
|
147
147
|
"ca-ES-valencia": "ca-ES-valencia";
|
|
148
148
|
vi: "vi";
|
|
149
149
|
}>>;
|
|
150
|
+
firebaseAuthLanguageId: z.ZodOptional<z.ZodEnum<{
|
|
151
|
+
id: "id";
|
|
152
|
+
ne: "ne";
|
|
153
|
+
sw: "sw";
|
|
154
|
+
ar: "ar";
|
|
155
|
+
bg: "bg";
|
|
156
|
+
ca: "ca";
|
|
157
|
+
hr: "hr";
|
|
158
|
+
cs: "cs";
|
|
159
|
+
da: "da";
|
|
160
|
+
fa: "fa";
|
|
161
|
+
fi: "fi";
|
|
162
|
+
de: "de";
|
|
163
|
+
el: "el";
|
|
164
|
+
hi: "hi";
|
|
165
|
+
hu: "hu";
|
|
166
|
+
it: "it";
|
|
167
|
+
ja: "ja";
|
|
168
|
+
kn: "kn";
|
|
169
|
+
kk: "kk";
|
|
170
|
+
ko: "ko";
|
|
171
|
+
lt: "lt";
|
|
172
|
+
ms: "ms";
|
|
173
|
+
"zh-CN": "zh-CN";
|
|
174
|
+
"zh-TW": "zh-TW";
|
|
175
|
+
mr: "mr";
|
|
176
|
+
pl: "pl";
|
|
177
|
+
"pt-BR": "pt-BR";
|
|
178
|
+
"pt-PT": "pt-PT";
|
|
179
|
+
ro: "ro";
|
|
180
|
+
ru: "ru";
|
|
181
|
+
sk: "sk";
|
|
182
|
+
sl: "sl";
|
|
183
|
+
sv: "sv";
|
|
184
|
+
ta: "ta";
|
|
185
|
+
te: "te";
|
|
186
|
+
th: "th";
|
|
187
|
+
tr: "tr";
|
|
188
|
+
uk: "uk";
|
|
189
|
+
vi: "vi";
|
|
190
|
+
en: "en";
|
|
191
|
+
af: "af";
|
|
192
|
+
sq: "sq";
|
|
193
|
+
am: "am";
|
|
194
|
+
hy: "hy";
|
|
195
|
+
az: "az";
|
|
196
|
+
bn: "bn";
|
|
197
|
+
my: "my";
|
|
198
|
+
nl: "nl";
|
|
199
|
+
et: "et";
|
|
200
|
+
fil: "fil";
|
|
201
|
+
fr: "fr";
|
|
202
|
+
ka: "ka";
|
|
203
|
+
gu: "gu";
|
|
204
|
+
iw: "iw";
|
|
205
|
+
is: "is";
|
|
206
|
+
km: "km";
|
|
207
|
+
lo: "lo";
|
|
208
|
+
lv: "lv";
|
|
209
|
+
mk: "mk";
|
|
210
|
+
ml: "ml";
|
|
211
|
+
mn: "mn";
|
|
212
|
+
no: "no";
|
|
213
|
+
pa: "pa";
|
|
214
|
+
sr: "sr";
|
|
215
|
+
si: "si";
|
|
216
|
+
es: "es";
|
|
217
|
+
"es-419": "es-419";
|
|
218
|
+
ur: "ur";
|
|
219
|
+
uz: "uz";
|
|
220
|
+
}>>;
|
|
150
221
|
bible: z.ZodOptional<z.ZodString>;
|
|
151
222
|
bibleFallbacks: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
152
223
|
bibleModifiers: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
153
224
|
scope: z.ZodUnion<[z.ZodEnum<{
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
225
|
+
foundations: "foundations";
|
|
226
|
+
topics: "topics";
|
|
227
|
+
training: "training";
|
|
157
228
|
}>, z.ZodEnum<{
|
|
158
229
|
OT: "OT";
|
|
159
230
|
NT: "NT";
|
|
@@ -203,11 +274,11 @@ export declare const Languages: z.ZodArray<z.ZodObject<{
|
|
|
203
274
|
hideDonateButton: z.ZodOptional<z.ZodBoolean>;
|
|
204
275
|
launchDate: z.ZodOptional<z.ZodISODate>;
|
|
205
276
|
likelyAppInterfacePair: z.ZodOptional<z.ZodString>;
|
|
206
|
-
expectMissing: z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
207
|
-
|
|
208
|
-
|
|
209
|
-
|
|
210
|
-
}>>>;
|
|
277
|
+
expectMissing: z.ZodOptional<z.ZodArray<z.ZodUnion<readonly [z.ZodEnum<{
|
|
278
|
+
foundations: "foundations";
|
|
279
|
+
topics: "topics";
|
|
280
|
+
training: "training";
|
|
281
|
+
}>, z.ZodLiteral<"name">]>>>;
|
|
211
282
|
mmsLanguageId: z.ZodOptional<z.ZodString>;
|
|
212
283
|
notes: z.ZodOptional<z.ZodString>;
|
|
213
284
|
pm: z.ZodOptional<z.ZodString>;
|
|
@@ -274,6 +345,14 @@ export declare const Languages: z.ZodArray<z.ZodObject<{
|
|
|
274
345
|
af: "af";
|
|
275
346
|
sq: "sq";
|
|
276
347
|
am: "am";
|
|
348
|
+
et: "et";
|
|
349
|
+
fil: "fil";
|
|
350
|
+
gu: "gu";
|
|
351
|
+
lv: "lv";
|
|
352
|
+
pa: "pa";
|
|
353
|
+
sr: "sr";
|
|
354
|
+
"es-419": "es-419";
|
|
355
|
+
ur: "ur";
|
|
277
356
|
"hy-AM": "hy-AM";
|
|
278
357
|
"az-AZ": "az-AZ";
|
|
279
358
|
"bn-BD": "bn-BD";
|
|
@@ -284,14 +363,11 @@ export declare const Languages: z.ZodArray<z.ZodObject<{
|
|
|
284
363
|
"da-DK": "da-DK";
|
|
285
364
|
"en-CA": "en-CA";
|
|
286
365
|
"en-SG": "en-SG";
|
|
287
|
-
et: "et";
|
|
288
|
-
fil: "fil";
|
|
289
366
|
"fi-FI": "fi-FI";
|
|
290
367
|
"gl-ES": "gl-ES";
|
|
291
368
|
"ka-GE": "ka-GE";
|
|
292
369
|
"de-DE": "de-DE";
|
|
293
370
|
"el-GR": "el-GR";
|
|
294
|
-
gu: "gu";
|
|
295
371
|
"iw-IL": "iw-IL";
|
|
296
372
|
"hi-IN": "hi-IN";
|
|
297
373
|
"hu-HU": "hu-HU";
|
|
@@ -303,7 +379,6 @@ export declare const Languages: z.ZodArray<z.ZodObject<{
|
|
|
303
379
|
"ko-KR": "ko-KR";
|
|
304
380
|
"ky-KG": "ky-KG";
|
|
305
381
|
"lo-LA": "lo-LA";
|
|
306
|
-
lv: "lv";
|
|
307
382
|
"mk-MK": "mk-MK";
|
|
308
383
|
"ms-MY": "ms-MY";
|
|
309
384
|
"ml-IN": "ml-IN";
|
|
@@ -315,18 +390,14 @@ export declare const Languages: z.ZodArray<z.ZodObject<{
|
|
|
315
390
|
"fa-AF": "fa-AF";
|
|
316
391
|
"fa-IR": "fa-IR";
|
|
317
392
|
"pl-PL": "pl-PL";
|
|
318
|
-
pa: "pa";
|
|
319
393
|
rm: "rm";
|
|
320
394
|
"ru-RU": "ru-RU";
|
|
321
|
-
sr: "sr";
|
|
322
395
|
"si-LK": "si-LK";
|
|
323
|
-
"es-419": "es-419";
|
|
324
396
|
"es-US": "es-US";
|
|
325
397
|
"sv-SE": "sv-SE";
|
|
326
398
|
"ta-IN": "ta-IN";
|
|
327
399
|
"te-IN": "te-IN";
|
|
328
400
|
"tr-TR": "tr-TR";
|
|
329
|
-
ur: "ur";
|
|
330
401
|
zu: "zu";
|
|
331
402
|
}>>;
|
|
332
403
|
storeIdIos: z.ZodOptional<z.ZodEnum<{
|
|
@@ -363,10 +434,10 @@ export declare const Languages: z.ZodArray<z.ZodObject<{
|
|
|
363
434
|
tr: "tr";
|
|
364
435
|
uk: "uk";
|
|
365
436
|
vi: "vi";
|
|
437
|
+
no: "no";
|
|
366
438
|
"en-CA": "en-CA";
|
|
367
439
|
"de-DE": "de-DE";
|
|
368
440
|
"ar-SA": "ar-SA";
|
|
369
|
-
no: "no";
|
|
370
441
|
"zh-Hans": "zh-Hans";
|
|
371
442
|
"zh-Hant": "zh-Hant";
|
|
372
443
|
}>>;
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.Languages = exports.LanguageStatuses = exports.AssetVersions = exports.BibleModifier = exports.BridgeLanguages = exports.LanguageId = exports.Status = exports.BibleTestament = exports.SetCategory = void 0;
|
|
4
4
|
const zod_1 = require("zod");
|
|
5
|
-
exports.SetCategory = zod_1.z.enum(['
|
|
5
|
+
exports.SetCategory = zod_1.z.enum(['foundations', 'topics', 'training']);
|
|
6
6
|
exports.BibleTestament = zod_1.z.enum(['OT', 'NT']);
|
|
7
7
|
exports.Status = zod_1.z.enum([
|
|
8
8
|
'notStarted',
|
|
@@ -129,6 +129,80 @@ exports.Languages = zod_1.z.array(zod_1.z
|
|
|
129
129
|
])
|
|
130
130
|
.describe('A BCP 47 language ID used only for iOS VoiceOver (screen reader) support. Should only be included if the language is supported by iOS VoiceOver; the value must be one of the supported VoiceOver languages. List of supported languages: https://www.apple.com/ios/feature-availability/#accessibility-voiceover')
|
|
131
131
|
.optional(),
|
|
132
|
+
firebaseAuthLanguageId: zod_1.z
|
|
133
|
+
.enum([
|
|
134
|
+
'en', // English
|
|
135
|
+
'af', // Afrikaans
|
|
136
|
+
'sq', // Albanian
|
|
137
|
+
'am', // Amharic
|
|
138
|
+
'ar', // Arabic
|
|
139
|
+
'hy', // Armenian
|
|
140
|
+
'az', // Azerbaijani
|
|
141
|
+
'bn', // Bangla
|
|
142
|
+
'bg', // Bulgarian
|
|
143
|
+
'my', // Burmese
|
|
144
|
+
'ca', // Catalan
|
|
145
|
+
'hr', // Croatian
|
|
146
|
+
'cs', // Czech
|
|
147
|
+
'zh-CN', // Chinese (Simplified)
|
|
148
|
+
'zh-TW', // Chinese (Traditional)
|
|
149
|
+
'da', // Danish
|
|
150
|
+
'nl', // Dutch
|
|
151
|
+
'et', // Estonian
|
|
152
|
+
'fil', // Filipino
|
|
153
|
+
'fi', // Finnish
|
|
154
|
+
'fr', // French
|
|
155
|
+
'de', // German
|
|
156
|
+
'ka', // Georgian
|
|
157
|
+
'el', // Greek
|
|
158
|
+
'gu', // Gujarati
|
|
159
|
+
'iw', // Hebrew (Firebase uses the legacy code "iw", not "he")
|
|
160
|
+
'hi', // Hindi
|
|
161
|
+
'hu', // Hungarian
|
|
162
|
+
'is', // Icelandic
|
|
163
|
+
'id', // Indonesian
|
|
164
|
+
'it', // Italian
|
|
165
|
+
'ja', // Japanese
|
|
166
|
+
'kn', // Kannada
|
|
167
|
+
'kk', // Kazakh
|
|
168
|
+
'km', // Khmer
|
|
169
|
+
'ko', // Korean
|
|
170
|
+
'lo', // Lao
|
|
171
|
+
'lv', // Latvian
|
|
172
|
+
'lt', // Lithuanian
|
|
173
|
+
'mk', // Macedonian
|
|
174
|
+
'ms', // Malay
|
|
175
|
+
'ml', // Malayalam
|
|
176
|
+
'mr', // Marathi
|
|
177
|
+
'mn', // Mongolian
|
|
178
|
+
'ne', // Nepali
|
|
179
|
+
'no', // Norwegian
|
|
180
|
+
'fa', // Persian
|
|
181
|
+
'pl', // Polish
|
|
182
|
+
'pt-BR', // Portuguese (Brazil)
|
|
183
|
+
'pt-PT', // Portuguese (Portugal)
|
|
184
|
+
'pa', // Punjabi
|
|
185
|
+
'ro', // Romanian
|
|
186
|
+
'ru', // Russian
|
|
187
|
+
'sr', // Serbian
|
|
188
|
+
'si', // Sinhala
|
|
189
|
+
'sk', // Slovak
|
|
190
|
+
'sl', // Slovenian
|
|
191
|
+
'es', // Spanish
|
|
192
|
+
'es-419', // Spanish (Latin America)
|
|
193
|
+
'sw', // Swahili
|
|
194
|
+
'sv', // Swedish
|
|
195
|
+
'ta', // Tamil
|
|
196
|
+
'te', // Telugu
|
|
197
|
+
'th', // Thai
|
|
198
|
+
'tr', // Turkish
|
|
199
|
+
'uk', // Ukrainian
|
|
200
|
+
'ur', // Urdu
|
|
201
|
+
'uz', // Uzbek
|
|
202
|
+
'vi', // Vietnamese
|
|
203
|
+
])
|
|
204
|
+
.describe("The language code Firebase Authentication uses to localize its automated emails. Taken from the Firebase Console Auth email-template dropdown. If exact language isn't available, choose a suitable bridge.")
|
|
205
|
+
.optional(),
|
|
132
206
|
bible: zod_1.z
|
|
133
207
|
.string()
|
|
134
208
|
.describe('The primary bible translation ID for this language (e.g. "NAV", "NLT").')
|
|
@@ -185,7 +259,9 @@ exports.Languages = zod_1.z.array(zod_1.z
|
|
|
185
259
|
.describe('The date this language launched in Waha, as an ISO date (YYYY-MM-DD).')
|
|
186
260
|
.optional(),
|
|
187
261
|
likelyAppInterfacePair: exports.LanguageId.describe('The language id of the language that is most likely to be used as the app interface language for this language.').optional(),
|
|
188
|
-
expectMissing: zod_1.z
|
|
262
|
+
expectMissing: zod_1.z
|
|
263
|
+
.array(zod_1.z.union([exports.SetCategory, zod_1.z.literal('name')]))
|
|
264
|
+
.optional(),
|
|
189
265
|
mmsLanguageId: zod_1.z
|
|
190
266
|
.string()
|
|
191
267
|
.describe('Id of a supported MMS language for running forced alignment.')
|