waha-shared 1.0.207 → 1.0.209
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/areas/areas.schema.json +19 -53
- package/dist/data/areas/areas.zod.d.ts +15 -12
- package/dist/data/aslTimestamps/aslTimestamps.schema.json +18 -11
- package/dist/data/aslTimestamps/aslTimestamps.zod.d.ts +4 -34
- package/dist/data/bibleAudios/bibleAudios.schema.json +14 -11
- package/dist/data/bibleAudios/bibleAudios.zod.d.ts +11 -15
- package/dist/data/bibleAudios/bibleAudios.zod.js +5 -4
- package/dist/data/bibleAudios/index.d.ts +5 -2
- package/dist/data/bibleBooks/bibleBooks.schema.json +71 -50
- package/dist/data/bibleBooks/bibleBooks.zod.d.ts +5 -51
- package/dist/data/bibleBooks/index.d.ts +2 -2
- package/dist/data/bibleChaptersList/bibleChaptersList.schema.json +5 -2
- package/dist/data/bibleChaptersList/bibleChaptersList.zod.d.ts +1 -1
- package/dist/data/bibleStatuses/bibleStatuses.json +2 -110
- package/dist/data/bibleStatuses/bibleStatuses.schema.json +46 -40
- package/dist/data/bibleStatuses/bibleStatuses.zod.d.ts +5 -25
- package/dist/data/bibleStatuses/bibleStatuses.zod.js +2 -27
- package/dist/data/bibleTexts/bibleTexts.schema.json +40 -24
- package/dist/data/bibleTexts/bibleTexts.zod.d.ts +11 -39
- package/dist/data/bibleTexts/index.d.ts +3 -3
- package/dist/data/clones/clones.schema.json +27 -26
- package/dist/data/clones/clones.zod.d.ts +2 -24
- package/dist/data/clones/clones.zod.js +1 -1
- package/dist/data/clones/index.d.ts +3 -3
- package/dist/data/countries/countries.schema.json +91 -90
- package/dist/data/countries/countries.zod.d.ts +19 -88
- package/dist/data/countries/countries.zod.js +49 -138
- package/dist/data/countriesAndLanguages/countriesAndLanguages.schema.json +19 -8
- package/dist/data/countriesAndLanguages/countriesAndLanguages.zod.d.ts +2 -28
- package/dist/data/countriesAndLanguages/index.d.ts +2 -2
- package/dist/data/crowdinLanguages/crowdinLanguages.schema.json +13 -4
- package/dist/data/crowdinLanguages/crowdinLanguages.zod.d.ts +1 -13
- package/dist/data/crowdinLanguages/index.d.ts +1 -1
- package/dist/data/curriculumFoundations/curriculumFoundations.schema.json +16 -8
- package/dist/data/curriculumFoundations/curriculumFoundations.zod.d.ts +2 -10
- package/dist/data/curriculumQuestions/curriculumQuestions.schema.json +24 -13
- package/dist/data/curriculumQuestions/curriculumQuestions.zod.d.ts +3 -23
- package/dist/data/curriculumTopics/curriculumTopics.schema.json +16 -8
- package/dist/data/curriculumTopics/curriculumTopics.zod.d.ts +2 -10
- package/dist/data/iosVoiceOverLanguages/iosVoiceOverLanguages.schema.json +5 -2
- package/dist/data/iosVoiceOverLanguages/iosVoiceOverLanguages.zod.d.ts +1 -1
- package/dist/data/iso6933LanguageCodes/iso6933LanguageCodes.schema.json +8 -2
- package/dist/data/iso6933LanguageCodes/iso6933LanguageCodes.zod.js +1 -1
- package/dist/data/languageAssets/languageAssets.json +0 -37702
- package/dist/data/languageAssets/languageAssets.schema.json +15 -12
- package/dist/data/languageAssets/languageAssets.zod.d.ts +1 -1
- package/dist/data/languageAssets/languageAssets.zod.js +3 -43
- package/dist/data/languages/index.d.ts +8 -4
- package/dist/data/languages/languages.json +1 -1
- package/dist/data/languages/languages.schema.json +136 -89
- package/dist/data/languages/languages.zod.d.ts +194 -116
- package/dist/data/languages/languages.zod.js +7 -1
- package/dist/data/mediaDurations/mediaDurations.schema.json +21 -14
- package/dist/data/mediaDurations/mediaDurations.zod.d.ts +1 -1
- package/dist/data/mediaDurations/mediaDurations.zod.js +3 -41
- package/dist/data/notification/notification.schema.json +67 -57
- package/dist/data/notification/notification.zod.d.ts +15 -39
- package/dist/data/notification/notification.zod.js +4 -134
- package/dist/data/numeralMaps/numeralMaps.schema.json +62 -62
- package/dist/data/numeralMaps/numeralMaps.zod.d.ts +2 -46
- package/dist/data/numeralMaps/numeralMaps.zod.js +14 -64
- package/dist/data/phoneLanguages/index.d.ts +1 -1
- package/dist/data/phoneLanguages/phoneLanguages.schema.json +18 -8
- package/dist/data/phoneLanguages/phoneLanguages.zod.d.ts +2 -22
- package/dist/data/questions/index.d.ts +1 -1
- package/dist/data/questions/questions.schema.json +11 -11
- package/dist/data/questions/questions.zod.d.ts +6 -14
- package/dist/data/releaseNotes/index.d.ts +1 -1
- package/dist/data/releaseNotes/releaseNotes.schema.json +23 -11
- package/dist/data/releaseNotes/releaseNotes.zod.d.ts +1 -9
- package/dist/data/releaseNotes/releaseNotes.zod.js +1 -1
- package/dist/data/screenshots/screenshots.schema.json +12 -6
- package/dist/data/screenshots/screenshots.zod.d.ts +1 -5
- package/dist/data/scripts/scripts.schema.json +11 -4
- package/dist/data/scripts/scripts.zod.d.ts +1 -7
- package/dist/data/sets/index.d.ts +2 -2
- package/dist/data/sets/sets.schema.json +25 -22
- package/dist/data/sets/sets.zod.d.ts +61 -39
- package/dist/data/specialIds/specialIds.schema.json +5 -1
- package/dist/data/specialIds/specialIds.zod.d.ts +11 -41
- package/dist/data/translationsApp/index.d.ts +9 -9
- package/dist/data/translationsApp/translationsApp.json +0 -1
- package/dist/data/translationsApp/translationsApp.schema.json +667 -668
- package/dist/data/translationsApp/translationsApp.zod.d.ts +1 -631
- package/dist/data/translationsApp/translationsApp.zod.js +2 -2
- package/dist/data/translationsFtb/translationsFtb.json +0 -884
- package/dist/data/translationsFtb/translationsFtb.schema.json +147 -149
- package/dist/data/translationsFtb/translationsFtb.zod.d.ts +1 -135
- package/dist/data/translationsFtb/translationsFtb.zod.js +1 -1
- package/dist/data/translationsIntroduction/translationsIntroduction.schema.json +15 -18
- package/dist/data/translationsIntroduction/translationsIntroduction.zod.d.ts +2 -160
- package/dist/data/translationsIntroduction/translationsIntroduction.zod.js +1 -1
- package/dist/data/translationsQuestion/translationsQuestion.json +0 -480
- package/dist/data/translationsQuestion/translationsQuestion.schema.json +9 -14
- package/dist/data/translationsQuestion/translationsQuestion.zod.js +1 -1
- package/dist/data/translationsSet/translationsSet.json +11234 -20793
- package/dist/data/translationsSet/translationsSet.schema.json +52 -56
- package/dist/data/translationsSet/translationsSet.zod.d.ts +1 -19
- package/dist/data/translationsSet/translationsSet.zod.js +4 -4
- package/dist/data/translationsSolarSpeaker/translationsSolarSpeaker.schema.json +98 -100
- package/dist/data/translationsSolarSpeaker/translationsSolarSpeaker.zod.d.ts +1 -87
- package/dist/data/translationsSolarSpeaker/translationsSolarSpeaker.zod.js +1 -1
- package/dist/data/translationsSpokenQuestion/translationsSpokenQuestion.json +0 -480
- package/dist/data/translationsSpokenQuestion/translationsSpokenQuestion.schema.json +18 -23
- package/dist/data/translationsSpokenQuestion/translationsSpokenQuestion.zod.js +1 -1
- package/dist/data/youtubePlaylists/youtubePlaylists.schema.json +9 -2
- package/dist/data/youtubePlaylists/youtubePlaylists.zod.js +1 -1
- package/dist/data/youtubeVideos/youtubeVideos.schema.json +9 -2
- package/dist/data/youtubeVideos/youtubeVideos.zod.js +1 -1
- package/dist/types/analytics.d.ts +14 -1
- package/dist/types/articles.d.ts +93 -343
- package/dist/types/bibleChapters.d.ts +13 -91
- package/dist/types/bibleChapters.js +1 -1
- package/dist/types/feedback.d.ts +3 -41
- package/dist/types/feedback.js +1 -1
- package/dist/types/microLessons.d.ts +69 -868
- package/dist/types/notifications.d.ts +19 -119
- package/dist/types/scripturePassages.d.ts +4 -34
- package/dist/types/users.d.ts +221 -776
- package/dist/types/users.js +2 -1
- package/dist/types/webContent.d.ts +8 -20
- package/package.json +3 -3
|
@@ -1,114 +1,36 @@
|
|
|
1
1
|
import { z } from 'zod';
|
|
2
2
|
export declare const BibleVerse: z.ZodObject<{
|
|
3
3
|
text: z.ZodString;
|
|
4
|
-
timings: z.ZodOptional<z.ZodUnion<[z.ZodTuple<[z.ZodNumber, z.ZodNumber], null>, z.ZodNull]>>;
|
|
5
|
-
uroman: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNull]>>;
|
|
4
|
+
timings: z.ZodOptional<z.ZodUnion<readonly [z.ZodTuple<[z.ZodNumber, z.ZodNumber], null>, z.ZodNull]>>;
|
|
5
|
+
uroman: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNull]>>;
|
|
6
6
|
verseId: z.ZodString;
|
|
7
|
-
},
|
|
8
|
-
verseId: string;
|
|
9
|
-
text: string;
|
|
10
|
-
timings?: [number, number] | null | undefined;
|
|
11
|
-
uroman?: string | null | undefined;
|
|
12
|
-
}, {
|
|
13
|
-
verseId: string;
|
|
14
|
-
text: string;
|
|
15
|
-
timings?: [number, number] | null | undefined;
|
|
16
|
-
uroman?: string | null | undefined;
|
|
17
|
-
}>;
|
|
7
|
+
}, z.core.$strict>;
|
|
18
8
|
export type BibleVerse = z.infer<typeof BibleVerse>;
|
|
19
9
|
export declare const BibleChapter: z.ZodObject<{
|
|
20
10
|
bookName: z.ZodString;
|
|
21
11
|
chapterId: z.ZodString;
|
|
22
12
|
reference: z.ZodOptional<z.ZodString>;
|
|
23
|
-
titles: z.ZodOptional<z.ZodUnion<[z.ZodRecord<z.ZodString, z.ZodString>, z.ZodNull]>>;
|
|
13
|
+
titles: z.ZodOptional<z.ZodUnion<readonly [z.ZodRecord<z.ZodString, z.ZodString>, z.ZodNull]>>;
|
|
24
14
|
translationId: z.ZodString;
|
|
25
15
|
verses: z.ZodArray<z.ZodObject<{
|
|
26
16
|
text: z.ZodString;
|
|
27
|
-
timings: z.ZodOptional<z.ZodUnion<[z.ZodTuple<[z.ZodNumber, z.ZodNumber], null>, z.ZodNull]>>;
|
|
28
|
-
uroman: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNull]>>;
|
|
17
|
+
timings: z.ZodOptional<z.ZodUnion<readonly [z.ZodTuple<[z.ZodNumber, z.ZodNumber], null>, z.ZodNull]>>;
|
|
18
|
+
uroman: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNull]>>;
|
|
29
19
|
verseId: z.ZodString;
|
|
30
|
-
},
|
|
31
|
-
|
|
32
|
-
text: string;
|
|
33
|
-
timings?: [number, number] | null | undefined;
|
|
34
|
-
uroman?: string | null | undefined;
|
|
35
|
-
}, {
|
|
36
|
-
verseId: string;
|
|
37
|
-
text: string;
|
|
38
|
-
timings?: [number, number] | null | undefined;
|
|
39
|
-
uroman?: string | null | undefined;
|
|
40
|
-
}>, "many">;
|
|
41
|
-
}, "strict", z.ZodTypeAny, {
|
|
42
|
-
verses: {
|
|
43
|
-
verseId: string;
|
|
44
|
-
text: string;
|
|
45
|
-
timings?: [number, number] | null | undefined;
|
|
46
|
-
uroman?: string | null | undefined;
|
|
47
|
-
}[];
|
|
48
|
-
bookName: string;
|
|
49
|
-
chapterId: string;
|
|
50
|
-
translationId: string;
|
|
51
|
-
titles?: Record<string, string> | null | undefined;
|
|
52
|
-
reference?: string | undefined;
|
|
53
|
-
}, {
|
|
54
|
-
verses: {
|
|
55
|
-
verseId: string;
|
|
56
|
-
text: string;
|
|
57
|
-
timings?: [number, number] | null | undefined;
|
|
58
|
-
uroman?: string | null | undefined;
|
|
59
|
-
}[];
|
|
60
|
-
bookName: string;
|
|
61
|
-
chapterId: string;
|
|
62
|
-
translationId: string;
|
|
63
|
-
titles?: Record<string, string> | null | undefined;
|
|
64
|
-
reference?: string | undefined;
|
|
65
|
-
}>;
|
|
20
|
+
}, z.core.$strict>>;
|
|
21
|
+
}, z.core.$strict>;
|
|
66
22
|
export type BibleChapter = z.infer<typeof BibleChapter>;
|
|
67
23
|
export declare const BibleChapters: z.ZodArray<z.ZodObject<{
|
|
68
24
|
bookName: z.ZodString;
|
|
69
25
|
chapterId: z.ZodString;
|
|
70
26
|
reference: z.ZodOptional<z.ZodString>;
|
|
71
|
-
titles: z.ZodOptional<z.ZodUnion<[z.ZodRecord<z.ZodString, z.ZodString>, z.ZodNull]>>;
|
|
27
|
+
titles: z.ZodOptional<z.ZodUnion<readonly [z.ZodRecord<z.ZodString, z.ZodString>, z.ZodNull]>>;
|
|
72
28
|
translationId: z.ZodString;
|
|
73
29
|
verses: z.ZodArray<z.ZodObject<{
|
|
74
30
|
text: z.ZodString;
|
|
75
|
-
timings: z.ZodOptional<z.ZodUnion<[z.ZodTuple<[z.ZodNumber, z.ZodNumber], null>, z.ZodNull]>>;
|
|
76
|
-
uroman: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNull]>>;
|
|
31
|
+
timings: z.ZodOptional<z.ZodUnion<readonly [z.ZodTuple<[z.ZodNumber, z.ZodNumber], null>, z.ZodNull]>>;
|
|
32
|
+
uroman: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNull]>>;
|
|
77
33
|
verseId: z.ZodString;
|
|
78
|
-
},
|
|
79
|
-
|
|
80
|
-
text: string;
|
|
81
|
-
timings?: [number, number] | null | undefined;
|
|
82
|
-
uroman?: string | null | undefined;
|
|
83
|
-
}, {
|
|
84
|
-
verseId: string;
|
|
85
|
-
text: string;
|
|
86
|
-
timings?: [number, number] | null | undefined;
|
|
87
|
-
uroman?: string | null | undefined;
|
|
88
|
-
}>, "many">;
|
|
89
|
-
}, "strict", z.ZodTypeAny, {
|
|
90
|
-
verses: {
|
|
91
|
-
verseId: string;
|
|
92
|
-
text: string;
|
|
93
|
-
timings?: [number, number] | null | undefined;
|
|
94
|
-
uroman?: string | null | undefined;
|
|
95
|
-
}[];
|
|
96
|
-
bookName: string;
|
|
97
|
-
chapterId: string;
|
|
98
|
-
translationId: string;
|
|
99
|
-
titles?: Record<string, string> | null | undefined;
|
|
100
|
-
reference?: string | undefined;
|
|
101
|
-
}, {
|
|
102
|
-
verses: {
|
|
103
|
-
verseId: string;
|
|
104
|
-
text: string;
|
|
105
|
-
timings?: [number, number] | null | undefined;
|
|
106
|
-
uroman?: string | null | undefined;
|
|
107
|
-
}[];
|
|
108
|
-
bookName: string;
|
|
109
|
-
chapterId: string;
|
|
110
|
-
translationId: string;
|
|
111
|
-
titles?: Record<string, string> | null | undefined;
|
|
112
|
-
reference?: string | undefined;
|
|
113
|
-
}>, "many">;
|
|
34
|
+
}, z.core.$strict>>;
|
|
35
|
+
}, z.core.$strict>>;
|
|
114
36
|
export type BibleChapters = z.infer<typeof BibleChapters>;
|
|
@@ -19,7 +19,7 @@ exports.BibleChapter = zod_1.z
|
|
|
19
19
|
.string()
|
|
20
20
|
.regex(new RegExp('^(GEN|EXO|LEV|NUM|DEU|JOS|JDG|RUT|1SA|2SA|1KI|2KI|1CH|2CH|EZR|NEH|EST|JOB|PSA|PRO|ECC|SNG|ISA|JER|LAM|EZK|DAN|HOS|JOL|AMO|OBA|JON|MIC|NAM|HAB|ZEP|HAG|ZEC|MAL|MAT|MRK|LUK|JHN|ACT|ROM|1CO|2CO|GAL|EPH|PHP|COL|1TH|2TH|1TI|2TI|TIT|PHM|HEB|JAS|1PE|2PE|1JN|2JN|3JN|JUD|REV)\\.[0-9]+$')),
|
|
21
21
|
reference: zod_1.z.string().optional(),
|
|
22
|
-
titles: zod_1.z.union([zod_1.z.record(zod_1.z.string()), zod_1.z.null()]).optional(),
|
|
22
|
+
titles: zod_1.z.union([zod_1.z.record(zod_1.z.string(), zod_1.z.string()), zod_1.z.null()]).optional(),
|
|
23
23
|
translationId: zod_1.z.string(),
|
|
24
24
|
verses: zod_1.z.array(exports.BibleVerse).min(1),
|
|
25
25
|
})
|
package/dist/types/feedback.d.ts
CHANGED
|
@@ -10,51 +10,13 @@ export declare const FeedbackSchema: z.ZodObject<{
|
|
|
10
10
|
lessonId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
11
11
|
wahaUserId: z.ZodOptional<z.ZodString>;
|
|
12
12
|
name: z.ZodOptional<z.ZodString>;
|
|
13
|
-
email: z.
|
|
13
|
+
email: z.ZodEmail;
|
|
14
14
|
message: z.ZodOptional<z.ZodString>;
|
|
15
|
-
journey: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodRecord<z.ZodString, z.ZodBoolean>]>>;
|
|
15
|
+
journey: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodRecord<z.ZodString, z.ZodBoolean>]>>;
|
|
16
16
|
goals: z.ZodOptional<z.ZodString>;
|
|
17
17
|
hear: z.ZodOptional<z.ZodString>;
|
|
18
18
|
beforeWaha: z.ZodOptional<z.ZodString>;
|
|
19
19
|
godDone: z.ZodOptional<z.ZodString>;
|
|
20
20
|
findOut: z.ZodOptional<z.ZodString>;
|
|
21
|
-
},
|
|
22
|
-
email: string;
|
|
23
|
-
language: string;
|
|
24
|
-
appVersion: string;
|
|
25
|
-
OS: string;
|
|
26
|
-
timeSubmitted: number;
|
|
27
|
-
formName: string;
|
|
28
|
-
city?: string | undefined;
|
|
29
|
-
name?: string | undefined;
|
|
30
|
-
message?: string | undefined;
|
|
31
|
-
lessonId?: string | null | undefined;
|
|
32
|
-
country?: string | undefined;
|
|
33
|
-
wahaUserId?: string | undefined;
|
|
34
|
-
journey?: string | Record<string, boolean> | undefined;
|
|
35
|
-
goals?: string | undefined;
|
|
36
|
-
hear?: string | undefined;
|
|
37
|
-
beforeWaha?: string | undefined;
|
|
38
|
-
godDone?: string | undefined;
|
|
39
|
-
findOut?: string | undefined;
|
|
40
|
-
}, {
|
|
41
|
-
email: string;
|
|
42
|
-
language: string;
|
|
43
|
-
appVersion: string;
|
|
44
|
-
OS: string;
|
|
45
|
-
timeSubmitted: number;
|
|
46
|
-
formName: string;
|
|
47
|
-
city?: string | undefined;
|
|
48
|
-
name?: string | undefined;
|
|
49
|
-
message?: string | undefined;
|
|
50
|
-
lessonId?: string | null | undefined;
|
|
51
|
-
country?: string | undefined;
|
|
52
|
-
wahaUserId?: string | undefined;
|
|
53
|
-
journey?: string | Record<string, boolean> | undefined;
|
|
54
|
-
goals?: string | undefined;
|
|
55
|
-
hear?: string | undefined;
|
|
56
|
-
beforeWaha?: string | undefined;
|
|
57
|
-
godDone?: string | undefined;
|
|
58
|
-
findOut?: string | undefined;
|
|
59
|
-
}>;
|
|
21
|
+
}, z.core.$strip>;
|
|
60
22
|
export type Feedback = z.infer<typeof FeedbackSchema>;
|
package/dist/types/feedback.js
CHANGED
|
@@ -13,7 +13,7 @@ exports.FeedbackSchema = zod_1.z.object({
|
|
|
13
13
|
lessonId: zod_1.z.string().nullable().optional(),
|
|
14
14
|
wahaUserId: zod_1.z.string().optional(),
|
|
15
15
|
name: zod_1.z.string().optional(),
|
|
16
|
-
email: zod_1.z.
|
|
16
|
+
email: zod_1.z.email(),
|
|
17
17
|
// For the standard contact us form.
|
|
18
18
|
message: zod_1.z.string().optional(),
|
|
19
19
|
// For the code request form.
|