waha-shared 1.0.211 → 1.0.213
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 +53 -19
- package/dist/data/areas/areas.zod.d.ts +12 -15
- package/dist/data/aslTimestamps/aslTimestamps.schema.json +11 -18
- package/dist/data/aslTimestamps/aslTimestamps.zod.d.ts +34 -4
- package/dist/data/bibleAudios/bibleAudios.schema.json +11 -14
- package/dist/data/bibleAudios/bibleAudios.zod.d.ts +15 -11
- package/dist/data/bibleAudios/bibleAudios.zod.js +4 -5
- package/dist/data/bibleAudios/index.d.ts +2 -5
- package/dist/data/bibleBooks/bibleBooks.schema.json +50 -71
- package/dist/data/bibleBooks/bibleBooks.zod.d.ts +51 -5
- package/dist/data/bibleBooks/index.d.ts +2 -2
- package/dist/data/bibleChaptersList/bibleChaptersList.schema.json +2 -5
- package/dist/data/bibleChaptersList/bibleChaptersList.zod.d.ts +1 -1
- package/dist/data/bibleStatuses/bibleStatuses.json +110 -2
- package/dist/data/bibleStatuses/bibleStatuses.schema.json +40 -46
- package/dist/data/bibleStatuses/bibleStatuses.zod.d.ts +25 -5
- package/dist/data/bibleStatuses/bibleStatuses.zod.js +27 -2
- package/dist/data/bibleTexts/bibleTexts.schema.json +24 -40
- package/dist/data/bibleTexts/bibleTexts.zod.d.ts +39 -11
- package/dist/data/bibleTexts/index.d.ts +3 -3
- package/dist/data/clones/clones.schema.json +26 -27
- package/dist/data/clones/clones.zod.d.ts +24 -2
- 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 +90 -91
- package/dist/data/countries/countries.zod.d.ts +88 -19
- package/dist/data/countries/countries.zod.js +138 -49
- package/dist/data/countriesAndLanguages/countriesAndLanguages.schema.json +8 -19
- package/dist/data/countriesAndLanguages/countriesAndLanguages.zod.d.ts +28 -2
- package/dist/data/countriesAndLanguages/index.d.ts +2 -2
- package/dist/data/crowdinLanguages/crowdinLanguages.schema.json +4 -13
- package/dist/data/crowdinLanguages/crowdinLanguages.zod.d.ts +13 -1
- package/dist/data/crowdinLanguages/index.d.ts +1 -1
- package/dist/data/curriculumFoundations/curriculumFoundations.schema.json +8 -16
- package/dist/data/curriculumFoundations/curriculumFoundations.zod.d.ts +10 -2
- package/dist/data/curriculumQuestions/curriculumQuestions.schema.json +13 -24
- package/dist/data/curriculumQuestions/curriculumQuestions.zod.d.ts +23 -3
- package/dist/data/curriculumTopics/curriculumTopics.schema.json +8 -16
- package/dist/data/curriculumTopics/curriculumTopics.zod.d.ts +10 -2
- package/dist/data/iosVoiceOverLanguages/iosVoiceOverLanguages.schema.json +2 -5
- package/dist/data/iosVoiceOverLanguages/iosVoiceOverLanguages.zod.d.ts +1 -1
- package/dist/data/iso6933LanguageCodes/iso6933LanguageCodes.schema.json +2 -8
- package/dist/data/iso6933LanguageCodes/iso6933LanguageCodes.zod.js +1 -1
- package/dist/data/languageAssets/languageAssets.json +37702 -0
- package/dist/data/languageAssets/languageAssets.schema.json +12 -15
- package/dist/data/languageAssets/languageAssets.zod.d.ts +1 -1
- package/dist/data/languageAssets/languageAssets.zod.js +43 -3
- package/dist/data/languages/index.d.ts +4 -8
- package/dist/data/languages/languages.json +1 -1
- package/dist/data/languages/languages.schema.json +89 -136
- package/dist/data/languages/languages.zod.d.ts +116 -194
- package/dist/data/languages/languages.zod.js +1 -7
- package/dist/data/mediaDurations/mediaDurations.schema.json +14 -21
- package/dist/data/mediaDurations/mediaDurations.zod.d.ts +1 -1
- package/dist/data/mediaDurations/mediaDurations.zod.js +41 -3
- package/dist/data/notification/notification.schema.json +57 -67
- package/dist/data/notification/notification.zod.d.ts +39 -15
- package/dist/data/notification/notification.zod.js +134 -4
- package/dist/data/numeralMaps/numeralMaps.schema.json +62 -62
- package/dist/data/numeralMaps/numeralMaps.zod.d.ts +46 -2
- package/dist/data/numeralMaps/numeralMaps.zod.js +64 -14
- package/dist/data/phoneLanguages/index.d.ts +1 -1
- package/dist/data/phoneLanguages/phoneLanguages.schema.json +8 -18
- package/dist/data/phoneLanguages/phoneLanguages.zod.d.ts +22 -2
- 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 +14 -6
- package/dist/data/releaseNotes/index.d.ts +1 -1
- package/dist/data/releaseNotes/releaseNotes.schema.json +11 -23
- package/dist/data/releaseNotes/releaseNotes.zod.d.ts +9 -1
- package/dist/data/releaseNotes/releaseNotes.zod.js +1 -1
- package/dist/data/screenshots/screenshots.schema.json +6 -12
- package/dist/data/screenshots/screenshots.zod.d.ts +5 -1
- package/dist/data/scripts/scripts.schema.json +4 -11
- package/dist/data/scripts/scripts.zod.d.ts +7 -1
- package/dist/data/sets/index.d.ts +2 -2
- package/dist/data/sets/sets.schema.json +22 -25
- package/dist/data/sets/sets.zod.d.ts +39 -61
- package/dist/data/specialIds/specialIds.schema.json +1 -5
- package/dist/data/specialIds/specialIds.zod.d.ts +41 -11
- package/dist/data/translationsApp/index.d.ts +9 -9
- package/dist/data/translationsApp/translationsApp.json +1 -0
- package/dist/data/translationsApp/translationsApp.schema.json +668 -667
- package/dist/data/translationsApp/translationsApp.zod.d.ts +631 -1
- package/dist/data/translationsApp/translationsApp.zod.js +2 -2
- package/dist/data/translationsFtb/translationsFtb.json +884 -0
- package/dist/data/translationsFtb/translationsFtb.schema.json +149 -147
- package/dist/data/translationsFtb/translationsFtb.zod.d.ts +135 -1
- package/dist/data/translationsFtb/translationsFtb.zod.js +1 -1
- package/dist/data/translationsIntroduction/translationsIntroduction.schema.json +18 -15
- package/dist/data/translationsIntroduction/translationsIntroduction.zod.d.ts +160 -2
- package/dist/data/translationsIntroduction/translationsIntroduction.zod.js +1 -1
- package/dist/data/translationsQuestion/translationsQuestion.json +480 -0
- package/dist/data/translationsQuestion/translationsQuestion.schema.json +14 -9
- package/dist/data/translationsQuestion/translationsQuestion.zod.js +1 -1
- package/dist/data/translationsSet/translationsSet.json +20694 -11135
- package/dist/data/translationsSet/translationsSet.schema.json +56 -52
- package/dist/data/translationsSet/translationsSet.zod.d.ts +19 -1
- package/dist/data/translationsSet/translationsSet.zod.js +4 -4
- package/dist/data/translationsSolarSpeaker/translationsSolarSpeaker.schema.json +100 -98
- package/dist/data/translationsSolarSpeaker/translationsSolarSpeaker.zod.d.ts +87 -1
- package/dist/data/translationsSolarSpeaker/translationsSolarSpeaker.zod.js +1 -1
- package/dist/data/translationsSpokenQuestion/translationsSpokenQuestion.json +480 -0
- package/dist/data/translationsSpokenQuestion/translationsSpokenQuestion.schema.json +23 -18
- package/dist/data/translationsSpokenQuestion/translationsSpokenQuestion.zod.js +1 -1
- package/dist/data/youtubePlaylists/youtubePlaylists.schema.json +2 -9
- package/dist/data/youtubePlaylists/youtubePlaylists.zod.js +1 -1
- package/dist/data/youtubeVideos/youtubeVideos.schema.json +2 -9
- package/dist/data/youtubeVideos/youtubeVideos.zod.js +1 -1
- package/dist/types/analytics.d.ts +1 -14
- package/dist/types/articles.d.ts +344 -94
- package/dist/types/articles.js +13 -13
- package/dist/types/bibleChapters.d.ts +91 -13
- package/dist/types/bibleChapters.js +1 -1
- package/dist/types/feedback.d.ts +41 -3
- package/dist/types/feedback.js +1 -1
- package/dist/types/microLessons.d.ts +869 -70
- package/dist/types/microLessons.js +29 -29
- package/dist/types/notifications.d.ts +119 -19
- package/dist/types/scripturePassages.d.ts +34 -4
- package/dist/types/users.d.ts +776 -221
- package/dist/types/users.js +1 -2
- package/dist/types/webContent.d.ts +20 -8
- package/package.json +3 -3
|
@@ -4,48 +4,48 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
|
4
4
|
};
|
|
5
5
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
6
|
exports.MicroLessonsResponse = exports.ResponseMicroLessonSchema = exports.MicroLessonSchema = void 0;
|
|
7
|
-
const
|
|
7
|
+
const zod_1 = __importDefault(require("zod"));
|
|
8
8
|
const webContent_1 = require("./webContent");
|
|
9
|
-
exports.MicroLessonSchema =
|
|
10
|
-
title:
|
|
11
|
-
subtitle:
|
|
9
|
+
exports.MicroLessonSchema = zod_1.default.object({
|
|
10
|
+
title: zod_1.default.string(),
|
|
11
|
+
subtitle: zod_1.default.string().optional(),
|
|
12
12
|
date: webContent_1.DateSchema,
|
|
13
13
|
isDraft: webContent_1.IsDraftSchema,
|
|
14
14
|
seekerFriendly: webContent_1.SeekerFriendlySchema,
|
|
15
15
|
platform: webContent_1.PlatformSchema,
|
|
16
|
-
image:
|
|
17
|
-
category:
|
|
18
|
-
campaign:
|
|
16
|
+
image: zod_1.default.string().optional(),
|
|
17
|
+
category: zod_1.default.enum(['Case Studies', 'How Tos']),
|
|
18
|
+
campaign: zod_1.default
|
|
19
19
|
.string()
|
|
20
20
|
.optional()
|
|
21
21
|
.describe('Optional campaign identifier for tracking purposes.'),
|
|
22
|
-
pages:
|
|
23
|
-
heading:
|
|
24
|
-
body:
|
|
25
|
-
icon:
|
|
26
|
-
image:
|
|
22
|
+
pages: zod_1.default.array(zod_1.default.object({
|
|
23
|
+
heading: zod_1.default.string().describe('The heading of the page'),
|
|
24
|
+
body: zod_1.default.string().optional(),
|
|
25
|
+
icon: zod_1.default.string().optional(),
|
|
26
|
+
image: zod_1.default.string().optional(),
|
|
27
27
|
audio: webContent_1.AudioSchema,
|
|
28
28
|
video: webContent_1.VideoSchema,
|
|
29
|
-
textInput:
|
|
29
|
+
textInput: zod_1.default
|
|
30
30
|
.object({
|
|
31
|
-
show:
|
|
32
|
-
placeholder:
|
|
33
|
-
showCopyButton:
|
|
34
|
-
prefilledText:
|
|
31
|
+
show: zod_1.default.boolean(),
|
|
32
|
+
placeholder: zod_1.default.string().optional(),
|
|
33
|
+
showCopyButton: zod_1.default.boolean().optional(),
|
|
34
|
+
prefilledText: zod_1.default.string().optional(),
|
|
35
35
|
})
|
|
36
36
|
.optional(),
|
|
37
|
-
radioButtons:
|
|
38
|
-
.array(
|
|
39
|
-
heading:
|
|
40
|
-
body:
|
|
37
|
+
radioButtons: zod_1.default
|
|
38
|
+
.array(zod_1.default.object({
|
|
39
|
+
heading: zod_1.default.string().optional(),
|
|
40
|
+
body: zod_1.default.string().optional(),
|
|
41
41
|
}))
|
|
42
42
|
.optional(),
|
|
43
43
|
platform: webContent_1.PlatformSchema.optional(),
|
|
44
|
-
notification:
|
|
44
|
+
notification: zod_1.default
|
|
45
45
|
.object({
|
|
46
|
-
title:
|
|
47
|
-
body:
|
|
48
|
-
delayInHours:
|
|
46
|
+
title: zod_1.default.string(),
|
|
47
|
+
body: zod_1.default.string(),
|
|
48
|
+
delayInHours: zod_1.default
|
|
49
49
|
.number()
|
|
50
50
|
.describe('The delay in hours before the notification is sent.'),
|
|
51
51
|
})
|
|
@@ -53,10 +53,10 @@ exports.MicroLessonSchema = v4_1.default.object({
|
|
|
53
53
|
.describe('Optional notification to send after the lesson is completed.'),
|
|
54
54
|
})),
|
|
55
55
|
});
|
|
56
|
-
exports.ResponseMicroLessonSchema =
|
|
57
|
-
id:
|
|
56
|
+
exports.ResponseMicroLessonSchema = zod_1.default.object({
|
|
57
|
+
id: zod_1.default.string(),
|
|
58
58
|
data: exports.MicroLessonSchema,
|
|
59
59
|
});
|
|
60
|
-
exports.MicroLessonsResponse =
|
|
61
|
-
data:
|
|
60
|
+
exports.MicroLessonsResponse = zod_1.default.object({
|
|
61
|
+
data: zod_1.default.array(exports.ResponseMicroLessonSchema),
|
|
62
62
|
});
|
|
@@ -1,38 +1,138 @@
|
|
|
1
1
|
import { z } from 'zod';
|
|
2
2
|
export declare const PushNotificationPayloadSchema: z.ZodObject<{
|
|
3
|
+
/** Optional URL to open when the primary notification action is taken. */
|
|
3
4
|
actionUrl: z.ZodOptional<z.ZodString>;
|
|
5
|
+
/**
|
|
6
|
+
* We want the full title, not the push title, to be attached to the
|
|
7
|
+
* notification.
|
|
8
|
+
*/
|
|
4
9
|
title: z.ZodString;
|
|
10
|
+
/**
|
|
11
|
+
* We want the full body, not the push body, to be attached to the
|
|
12
|
+
* notification.
|
|
13
|
+
*/
|
|
5
14
|
body: z.ZodString;
|
|
6
15
|
titleSource: z.ZodString;
|
|
7
16
|
bodySource: z.ZodString;
|
|
8
17
|
verified: z.ZodBoolean;
|
|
18
|
+
/**
|
|
19
|
+
* Either a remote url to an image to show with the notification or the name
|
|
20
|
+
* of a waha icon. See [SVG.tsx](src/components/General/SVG.tsx) for supported
|
|
21
|
+
* icons.
|
|
22
|
+
*/
|
|
9
23
|
imageUrl: z.ZodOptional<z.ZodString>;
|
|
10
24
|
wahaUserId: z.ZodOptional<z.ZodString>;
|
|
25
|
+
/**
|
|
26
|
+
* ISO string date in a special format. See [toIsoString
|
|
27
|
+
* function](src/functions/dates.ts).
|
|
28
|
+
*/
|
|
11
29
|
date: z.ZodString;
|
|
12
|
-
}, z.
|
|
30
|
+
}, "strip", z.ZodTypeAny, {
|
|
31
|
+
date: string;
|
|
32
|
+
title: string;
|
|
33
|
+
body: string;
|
|
34
|
+
verified: boolean;
|
|
35
|
+
titleSource: string;
|
|
36
|
+
bodySource: string;
|
|
37
|
+
actionUrl?: string | undefined;
|
|
38
|
+
imageUrl?: string | undefined;
|
|
39
|
+
wahaUserId?: string | undefined;
|
|
40
|
+
}, {
|
|
41
|
+
date: string;
|
|
42
|
+
title: string;
|
|
43
|
+
body: string;
|
|
44
|
+
verified: boolean;
|
|
45
|
+
titleSource: string;
|
|
46
|
+
bodySource: string;
|
|
47
|
+
actionUrl?: string | undefined;
|
|
48
|
+
imageUrl?: string | undefined;
|
|
49
|
+
wahaUserId?: string | undefined;
|
|
50
|
+
}>;
|
|
13
51
|
export type PushNotificationPayload = z.infer<typeof PushNotificationPayloadSchema>;
|
|
14
52
|
export declare const PushNotificationRecordSchema: z.ZodObject<{
|
|
15
53
|
date: z.ZodString;
|
|
16
54
|
notification: z.ZodObject<{
|
|
17
|
-
title: z.ZodRecord<z.ZodString, z.ZodString
|
|
18
|
-
body: z.ZodRecord<z.ZodString, z.ZodString
|
|
55
|
+
title: z.ZodEffects<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodNever]>>, Record<string, string>, Record<string, string>>;
|
|
56
|
+
body: z.ZodEffects<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodNever]>>, Record<string, string>, Record<string, string>>;
|
|
19
57
|
actionUrl: z.ZodOptional<z.ZodString>;
|
|
20
|
-
countriesToNotSendTo: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
21
|
-
countriesToSendTo: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
22
|
-
faithJourney: z.ZodOptional<z.ZodEnum<
|
|
23
|
-
all: "all";
|
|
24
|
-
seekers: "seekers";
|
|
25
|
-
believers: "believers";
|
|
26
|
-
}>>;
|
|
58
|
+
countriesToNotSendTo: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
59
|
+
countriesToSendTo: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
60
|
+
faithJourney: z.ZodOptional<z.ZodEnum<["all", "seekers", "believers"]>>;
|
|
27
61
|
imageUrl: z.ZodOptional<z.ZodString>;
|
|
28
|
-
meetLanguages: z.ZodOptional<z.ZodUnion<
|
|
62
|
+
meetLanguages: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"all">, z.ZodArray<z.ZodString, "many">]>>;
|
|
29
63
|
minCompletions: z.ZodOptional<z.ZodNumber>;
|
|
30
|
-
pushBody: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString
|
|
31
|
-
pushTitle: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString
|
|
32
|
-
pushTokens: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
33
|
-
verified: z.ZodArray<z.ZodString>;
|
|
34
|
-
}, z.
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
64
|
+
pushBody: z.ZodOptional<z.ZodEffects<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodNever]>>, Record<string, string>, Record<string, string>>>;
|
|
65
|
+
pushTitle: z.ZodOptional<z.ZodEffects<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodNever]>>, Record<string, string>, Record<string, string>>>;
|
|
66
|
+
pushTokens: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
67
|
+
verified: z.ZodArray<z.ZodString, "many">;
|
|
68
|
+
}, "strict", z.ZodTypeAny, {
|
|
69
|
+
title: Record<string, string>;
|
|
70
|
+
body: Record<string, string>;
|
|
71
|
+
verified: string[];
|
|
72
|
+
actionUrl?: string | undefined;
|
|
73
|
+
countriesToNotSendTo?: string[] | undefined;
|
|
74
|
+
countriesToSendTo?: string[] | undefined;
|
|
75
|
+
faithJourney?: "all" | "seekers" | "believers" | undefined;
|
|
76
|
+
imageUrl?: string | undefined;
|
|
77
|
+
meetLanguages?: string[] | "all" | undefined;
|
|
78
|
+
minCompletions?: number | undefined;
|
|
79
|
+
pushBody?: Record<string, string> | undefined;
|
|
80
|
+
pushTitle?: Record<string, string> | undefined;
|
|
81
|
+
pushTokens?: string[] | undefined;
|
|
82
|
+
}, {
|
|
83
|
+
title: Record<string, string>;
|
|
84
|
+
body: Record<string, string>;
|
|
85
|
+
verified: string[];
|
|
86
|
+
actionUrl?: string | undefined;
|
|
87
|
+
countriesToNotSendTo?: string[] | undefined;
|
|
88
|
+
countriesToSendTo?: string[] | undefined;
|
|
89
|
+
faithJourney?: "all" | "seekers" | "believers" | undefined;
|
|
90
|
+
imageUrl?: string | undefined;
|
|
91
|
+
meetLanguages?: string[] | "all" | undefined;
|
|
92
|
+
minCompletions?: number | undefined;
|
|
93
|
+
pushBody?: Record<string, string> | undefined;
|
|
94
|
+
pushTitle?: Record<string, string> | undefined;
|
|
95
|
+
pushTokens?: string[] | undefined;
|
|
96
|
+
}>;
|
|
97
|
+
receivedTokens: z.ZodArray<z.ZodString, "many">;
|
|
98
|
+
receivedUserIds: z.ZodArray<z.ZodString, "many">;
|
|
99
|
+
}, "strip", z.ZodTypeAny, {
|
|
100
|
+
date: string;
|
|
101
|
+
notification: {
|
|
102
|
+
title: Record<string, string>;
|
|
103
|
+
body: Record<string, string>;
|
|
104
|
+
verified: string[];
|
|
105
|
+
actionUrl?: string | undefined;
|
|
106
|
+
countriesToNotSendTo?: string[] | undefined;
|
|
107
|
+
countriesToSendTo?: string[] | undefined;
|
|
108
|
+
faithJourney?: "all" | "seekers" | "believers" | undefined;
|
|
109
|
+
imageUrl?: string | undefined;
|
|
110
|
+
meetLanguages?: string[] | "all" | undefined;
|
|
111
|
+
minCompletions?: number | undefined;
|
|
112
|
+
pushBody?: Record<string, string> | undefined;
|
|
113
|
+
pushTitle?: Record<string, string> | undefined;
|
|
114
|
+
pushTokens?: string[] | undefined;
|
|
115
|
+
};
|
|
116
|
+
receivedTokens: string[];
|
|
117
|
+
receivedUserIds: string[];
|
|
118
|
+
}, {
|
|
119
|
+
date: string;
|
|
120
|
+
notification: {
|
|
121
|
+
title: Record<string, string>;
|
|
122
|
+
body: Record<string, string>;
|
|
123
|
+
verified: string[];
|
|
124
|
+
actionUrl?: string | undefined;
|
|
125
|
+
countriesToNotSendTo?: string[] | undefined;
|
|
126
|
+
countriesToSendTo?: string[] | undefined;
|
|
127
|
+
faithJourney?: "all" | "seekers" | "believers" | undefined;
|
|
128
|
+
imageUrl?: string | undefined;
|
|
129
|
+
meetLanguages?: string[] | "all" | undefined;
|
|
130
|
+
minCompletions?: number | undefined;
|
|
131
|
+
pushBody?: Record<string, string> | undefined;
|
|
132
|
+
pushTitle?: Record<string, string> | undefined;
|
|
133
|
+
pushTokens?: string[] | undefined;
|
|
134
|
+
};
|
|
135
|
+
receivedTokens: string[];
|
|
136
|
+
receivedUserIds: string[];
|
|
137
|
+
}>;
|
|
38
138
|
export type PushNotificationRecord = z.infer<typeof PushNotificationRecordSchema>;
|
|
@@ -5,9 +5,39 @@ export declare const ScripturePassageSchema: z.ZodObject<{
|
|
|
5
5
|
header: z.ZodString;
|
|
6
6
|
verses: z.ZodArray<z.ZodObject<{
|
|
7
7
|
text: z.ZodString;
|
|
8
|
-
timings: z.ZodOptional<z.ZodUnion<
|
|
9
|
-
uroman: z.ZodOptional<z.ZodUnion<
|
|
8
|
+
timings: z.ZodOptional<z.ZodUnion<[z.ZodTuple<[z.ZodNumber, z.ZodNumber], null>, z.ZodNull]>>;
|
|
9
|
+
uroman: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNull]>>;
|
|
10
10
|
verseId: z.ZodString;
|
|
11
|
-
}, z.
|
|
12
|
-
|
|
11
|
+
}, "strict", z.ZodTypeAny, {
|
|
12
|
+
verseId: string;
|
|
13
|
+
text: string;
|
|
14
|
+
timings?: [number, number] | null | undefined;
|
|
15
|
+
uroman?: string | null | undefined;
|
|
16
|
+
}, {
|
|
17
|
+
verseId: string;
|
|
18
|
+
text: string;
|
|
19
|
+
timings?: [number, number] | null | undefined;
|
|
20
|
+
uroman?: string | null | undefined;
|
|
21
|
+
}>, "many">;
|
|
22
|
+
}, "strip", z.ZodTypeAny, {
|
|
23
|
+
verses: {
|
|
24
|
+
verseId: string;
|
|
25
|
+
text: string;
|
|
26
|
+
timings?: [number, number] | null | undefined;
|
|
27
|
+
uroman?: string | null | undefined;
|
|
28
|
+
}[];
|
|
29
|
+
passageId: string;
|
|
30
|
+
bibleId: string;
|
|
31
|
+
header: string;
|
|
32
|
+
}, {
|
|
33
|
+
verses: {
|
|
34
|
+
verseId: string;
|
|
35
|
+
text: string;
|
|
36
|
+
timings?: [number, number] | null | undefined;
|
|
37
|
+
uroman?: string | null | undefined;
|
|
38
|
+
}[];
|
|
39
|
+
passageId: string;
|
|
40
|
+
bibleId: string;
|
|
41
|
+
header: string;
|
|
42
|
+
}>;
|
|
13
43
|
export type ScripturePassage = z.infer<typeof ScripturePassageSchema>;
|