waha-shared 1.0.199 → 1.0.201

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.
@@ -21,7 +21,19 @@ exports.MicroLessonSchema = zod_1.default.object({
21
21
  heading: zod_1.default.string().describe('The heading of the page'),
22
22
  body: zod_1.default.string().optional(),
23
23
  image: zod_1.default.string().optional(),
24
- audio: zod_1.default.string().optional(),
24
+ audio: zod_1.default
25
+ .object({
26
+ audioUrl: zod_1.default.string(),
27
+ loop: zod_1.default.boolean().optional(),
28
+ })
29
+ .optional(),
30
+ video: zod_1.default
31
+ .object({
32
+ videoUrl: zod_1.default.string(),
33
+ autoplay: zod_1.default.boolean().optional(),
34
+ loop: zod_1.default.boolean().optional(),
35
+ })
36
+ .optional(),
25
37
  textInput: zod_1.default
26
38
  .object({
27
39
  show: zod_1.default.boolean(),
@@ -36,13 +48,6 @@ exports.MicroLessonSchema = zod_1.default.object({
36
48
  body: zod_1.default.string().optional(),
37
49
  }))
38
50
  .optional(),
39
- video: zod_1.default
40
- .object({
41
- videoUrl: zod_1.default.string(),
42
- autoplay: zod_1.default.boolean().optional(),
43
- loop: zod_1.default.boolean().optional(),
44
- })
45
- .optional(),
46
51
  platform: webContent_1.PlatformSchema.optional(),
47
52
  notification: zod_1.default
48
53
  .object({
@@ -177,7 +177,7 @@ export declare const CompletionEventSchema: z.ZodObject<{
177
177
  manual?: boolean | undefined;
178
178
  }>;
179
179
  export type CompletionEvent = z.infer<typeof CompletionEventSchema>;
180
- declare const MicroLessonAnswerSchema: z.ZodObject<{
180
+ declare const WorksheetAnswerSchema: z.ZodObject<{
181
181
  question: z.ZodString;
182
182
  answer: z.ZodString;
183
183
  }, "strip", z.ZodTypeAny, {
@@ -187,11 +187,11 @@ declare const MicroLessonAnswerSchema: z.ZodObject<{
187
187
  question: string;
188
188
  answer: string;
189
189
  }>;
190
- export type MicroLessonAnswer = z.infer<typeof MicroLessonAnswerSchema>;
191
- declare const MicroLessonCompletionEventSchema: z.ZodObject<{
190
+ export type WorksheetAnswer = z.infer<typeof WorksheetAnswerSchema>;
191
+ declare const WorksheetCompletionEventSchema: z.ZodObject<{
192
192
  startTime: z.ZodNumber;
193
193
  completionTime: z.ZodOptional<z.ZodNumber>;
194
- microLessonId: z.ZodString;
194
+ worksheetId: z.ZodString;
195
195
  answers: z.ZodArray<z.ZodObject<{
196
196
  question: z.ZodString;
197
197
  answer: z.ZodString;
@@ -210,7 +210,7 @@ declare const MicroLessonCompletionEventSchema: z.ZodObject<{
210
210
  feedback: z.ZodOptional<z.ZodString>;
211
211
  }, "strip", z.ZodTypeAny, {
212
212
  startTime: number;
213
- microLessonId: string;
213
+ worksheetId: string;
214
214
  answers: {
215
215
  question: string;
216
216
  answer: string;
@@ -224,7 +224,7 @@ declare const MicroLessonCompletionEventSchema: z.ZodObject<{
224
224
  feedback?: string | undefined;
225
225
  }, {
226
226
  startTime: number;
227
- microLessonId: string;
227
+ worksheetId: string;
228
228
  answers: {
229
229
  question: string;
230
230
  answer: string;
@@ -237,22 +237,22 @@ declare const MicroLessonCompletionEventSchema: z.ZodObject<{
237
237
  notificationText?: string | undefined;
238
238
  feedback?: string | undefined;
239
239
  }>;
240
- export type MicroLessonCompletionEvent = z.infer<typeof MicroLessonCompletionEventSchema>;
241
- export declare const WahaShareContentSchema: z.ZodEnum<["app", "passcode", "lessonAudio", "lessonText", "storyText", "storyAudio", "lessonLink", "setLink", "meetingInvite", "articleLink", "videoLink", "notification", "meetingSchedule", "scriptureText", "mt", "scriptureAudio", "inviteGroup", "lesson", "offlineVersionLink", "note", "customSet", "microLesson"]>;
240
+ export type WorksheetCompletionEvent = z.infer<typeof WorksheetCompletionEventSchema>;
241
+ export declare const WahaShareContentSchema: z.ZodEnum<["app", "passcode", "lessonAudio", "lessonText", "storyText", "storyAudio", "lessonLink", "setLink", "meetingInvite", "articleLink", "videoLink", "notification", "meetingSchedule", "scriptureText", "mt", "scriptureAudio", "inviteGroup", "lesson", "offlineVersionLink", "note", "customSet"]>;
242
242
  export type WahaShareContent = z.infer<typeof WahaShareContentSchema>;
243
243
  export declare const ShareLogEventSchema: z.ZodObject<{
244
244
  time: z.ZodNumber;
245
- content: z.ZodEnum<["app", "passcode", "lessonAudio", "lessonText", "storyText", "storyAudio", "lessonLink", "setLink", "meetingInvite", "articleLink", "videoLink", "notification", "meetingSchedule", "scriptureText", "mt", "scriptureAudio", "inviteGroup", "lesson", "offlineVersionLink", "note", "customSet", "microLesson"]>;
245
+ content: z.ZodEnum<["app", "passcode", "lessonAudio", "lessonText", "storyText", "storyAudio", "lessonLink", "setLink", "meetingInvite", "articleLink", "videoLink", "notification", "meetingSchedule", "scriptureText", "mt", "scriptureAudio", "inviteGroup", "lesson", "offlineVersionLink", "note", "customSet"]>;
246
246
  lessonId: z.ZodOptional<z.ZodString>;
247
247
  articleSlug: z.ZodOptional<z.ZodString>;
248
248
  }, "strip", z.ZodTypeAny, {
249
249
  time: number;
250
- content: "lesson" | "note" | "setLink" | "lessonLink" | "app" | "passcode" | "lessonAudio" | "lessonText" | "storyText" | "storyAudio" | "meetingInvite" | "articleLink" | "videoLink" | "notification" | "meetingSchedule" | "scriptureText" | "mt" | "scriptureAudio" | "inviteGroup" | "offlineVersionLink" | "customSet" | "microLesson";
250
+ content: "lesson" | "note" | "setLink" | "lessonLink" | "app" | "passcode" | "lessonAudio" | "lessonText" | "storyText" | "storyAudio" | "meetingInvite" | "articleLink" | "videoLink" | "notification" | "meetingSchedule" | "scriptureText" | "mt" | "scriptureAudio" | "inviteGroup" | "offlineVersionLink" | "customSet";
251
251
  lessonId?: string | undefined;
252
252
  articleSlug?: string | undefined;
253
253
  }, {
254
254
  time: number;
255
- content: "lesson" | "note" | "setLink" | "lessonLink" | "app" | "passcode" | "lessonAudio" | "lessonText" | "storyText" | "storyAudio" | "meetingInvite" | "articleLink" | "videoLink" | "notification" | "meetingSchedule" | "scriptureText" | "mt" | "scriptureAudio" | "inviteGroup" | "offlineVersionLink" | "customSet" | "microLesson";
255
+ content: "lesson" | "note" | "setLink" | "lessonLink" | "app" | "passcode" | "lessonAudio" | "lessonText" | "storyText" | "storyAudio" | "meetingInvite" | "articleLink" | "videoLink" | "notification" | "meetingSchedule" | "scriptureText" | "mt" | "scriptureAudio" | "inviteGroup" | "offlineVersionLink" | "customSet";
256
256
  lessonId?: string | undefined;
257
257
  articleSlug?: string | undefined;
258
258
  }>;
@@ -383,17 +383,17 @@ export declare const WahaUserSchema: z.ZodObject<{
383
383
  isDev: z.ZodBoolean;
384
384
  shareLog: z.ZodOptional<z.ZodArray<z.ZodObject<{
385
385
  time: z.ZodNumber;
386
- content: z.ZodEnum<["app", "passcode", "lessonAudio", "lessonText", "storyText", "storyAudio", "lessonLink", "setLink", "meetingInvite", "articleLink", "videoLink", "notification", "meetingSchedule", "scriptureText", "mt", "scriptureAudio", "inviteGroup", "lesson", "offlineVersionLink", "note", "customSet", "microLesson"]>;
386
+ content: z.ZodEnum<["app", "passcode", "lessonAudio", "lessonText", "storyText", "storyAudio", "lessonLink", "setLink", "meetingInvite", "articleLink", "videoLink", "notification", "meetingSchedule", "scriptureText", "mt", "scriptureAudio", "inviteGroup", "lesson", "offlineVersionLink", "note", "customSet"]>;
387
387
  lessonId: z.ZodOptional<z.ZodString>;
388
388
  articleSlug: z.ZodOptional<z.ZodString>;
389
389
  }, "strip", z.ZodTypeAny, {
390
390
  time: number;
391
- content: "lesson" | "note" | "setLink" | "lessonLink" | "app" | "passcode" | "lessonAudio" | "lessonText" | "storyText" | "storyAudio" | "meetingInvite" | "articleLink" | "videoLink" | "notification" | "meetingSchedule" | "scriptureText" | "mt" | "scriptureAudio" | "inviteGroup" | "offlineVersionLink" | "customSet" | "microLesson";
391
+ content: "lesson" | "note" | "setLink" | "lessonLink" | "app" | "passcode" | "lessonAudio" | "lessonText" | "storyText" | "storyAudio" | "meetingInvite" | "articleLink" | "videoLink" | "notification" | "meetingSchedule" | "scriptureText" | "mt" | "scriptureAudio" | "inviteGroup" | "offlineVersionLink" | "customSet";
392
392
  lessonId?: string | undefined;
393
393
  articleSlug?: string | undefined;
394
394
  }, {
395
395
  time: number;
396
- content: "lesson" | "note" | "setLink" | "lessonLink" | "app" | "passcode" | "lessonAudio" | "lessonText" | "storyText" | "storyAudio" | "meetingInvite" | "articleLink" | "videoLink" | "notification" | "meetingSchedule" | "scriptureText" | "mt" | "scriptureAudio" | "inviteGroup" | "offlineVersionLink" | "customSet" | "microLesson";
396
+ content: "lesson" | "note" | "setLink" | "lessonLink" | "app" | "passcode" | "lessonAudio" | "lessonText" | "storyText" | "storyAudio" | "meetingInvite" | "articleLink" | "videoLink" | "notification" | "meetingSchedule" | "scriptureText" | "mt" | "scriptureAudio" | "inviteGroup" | "offlineVersionLink" | "customSet";
397
397
  lessonId?: string | undefined;
398
398
  articleSlug?: string | undefined;
399
399
  }>, "many">>;
@@ -427,10 +427,10 @@ export declare const WahaUserSchema: z.ZodObject<{
427
427
  timeSpent: number;
428
428
  }>, "many">>;
429
429
  activated: z.ZodOptional<z.ZodBoolean>;
430
- microLessonCompletions: z.ZodOptional<z.ZodArray<z.ZodObject<Omit<{
430
+ worksheetCompletions: z.ZodOptional<z.ZodArray<z.ZodObject<Omit<{
431
431
  startTime: z.ZodNumber;
432
432
  completionTime: z.ZodOptional<z.ZodNumber>;
433
- microLessonId: z.ZodString;
433
+ worksheetId: z.ZodString;
434
434
  answers: z.ZodArray<z.ZodObject<{
435
435
  question: z.ZodString;
436
436
  answer: z.ZodString;
@@ -449,7 +449,7 @@ export declare const WahaUserSchema: z.ZodObject<{
449
449
  feedback: z.ZodOptional<z.ZodString>;
450
450
  }, "answers">, "strip", z.ZodTypeAny, {
451
451
  startTime: number;
452
- microLessonId: string;
452
+ worksheetId: string;
453
453
  city?: string | undefined;
454
454
  country?: string | undefined;
455
455
  region?: string | undefined;
@@ -459,7 +459,7 @@ export declare const WahaUserSchema: z.ZodObject<{
459
459
  feedback?: string | undefined;
460
460
  }, {
461
461
  startTime: number;
462
- microLessonId: string;
462
+ worksheetId: string;
463
463
  city?: string | undefined;
464
464
  country?: string | undefined;
465
465
  region?: string | undefined;
@@ -526,7 +526,7 @@ export declare const WahaUserSchema: z.ZodObject<{
526
526
  trainingUnlocked?: boolean | undefined;
527
527
  shareLog?: {
528
528
  time: number;
529
- content: "lesson" | "note" | "setLink" | "lessonLink" | "app" | "passcode" | "lessonAudio" | "lessonText" | "storyText" | "storyAudio" | "meetingInvite" | "articleLink" | "videoLink" | "notification" | "meetingSchedule" | "scriptureText" | "mt" | "scriptureAudio" | "inviteGroup" | "offlineVersionLink" | "customSet" | "microLesson";
529
+ content: "lesson" | "note" | "setLink" | "lessonLink" | "app" | "passcode" | "lessonAudio" | "lessonText" | "storyText" | "storyAudio" | "meetingInvite" | "articleLink" | "videoLink" | "notification" | "meetingSchedule" | "scriptureText" | "mt" | "scriptureAudio" | "inviteGroup" | "offlineVersionLink" | "customSet";
530
530
  lessonId?: string | undefined;
531
531
  articleSlug?: string | undefined;
532
532
  }[] | undefined;
@@ -542,9 +542,9 @@ export declare const WahaUserSchema: z.ZodObject<{
542
542
  timeSpent: number;
543
543
  }[] | undefined;
544
544
  activated?: boolean | undefined;
545
- microLessonCompletions?: {
545
+ worksheetCompletions?: {
546
546
  startTime: number;
547
- microLessonId: string;
547
+ worksheetId: string;
548
548
  city?: string | undefined;
549
549
  country?: string | undefined;
550
550
  region?: string | undefined;
@@ -611,7 +611,7 @@ export declare const WahaUserSchema: z.ZodObject<{
611
611
  trainingUnlocked?: boolean | undefined;
612
612
  shareLog?: {
613
613
  time: number;
614
- content: "lesson" | "note" | "setLink" | "lessonLink" | "app" | "passcode" | "lessonAudio" | "lessonText" | "storyText" | "storyAudio" | "meetingInvite" | "articleLink" | "videoLink" | "notification" | "meetingSchedule" | "scriptureText" | "mt" | "scriptureAudio" | "inviteGroup" | "offlineVersionLink" | "customSet" | "microLesson";
614
+ content: "lesson" | "note" | "setLink" | "lessonLink" | "app" | "passcode" | "lessonAudio" | "lessonText" | "storyText" | "storyAudio" | "meetingInvite" | "articleLink" | "videoLink" | "notification" | "meetingSchedule" | "scriptureText" | "mt" | "scriptureAudio" | "inviteGroup" | "offlineVersionLink" | "customSet";
615
615
  lessonId?: string | undefined;
616
616
  articleSlug?: string | undefined;
617
617
  }[] | undefined;
@@ -627,9 +627,9 @@ export declare const WahaUserSchema: z.ZodObject<{
627
627
  timeSpent: number;
628
628
  }[] | undefined;
629
629
  activated?: boolean | undefined;
630
- microLessonCompletions?: {
630
+ worksheetCompletions?: {
631
631
  startTime: number;
632
- microLessonId: string;
632
+ worksheetId: string;
633
633
  city?: string | undefined;
634
634
  country?: string | undefined;
635
635
  region?: string | undefined;
@@ -734,17 +734,17 @@ export declare const PushEnabledWahaUserSchema: z.ZodObject<Omit<{
734
734
  isDev: z.ZodBoolean;
735
735
  shareLog: z.ZodOptional<z.ZodArray<z.ZodObject<{
736
736
  time: z.ZodNumber;
737
- content: z.ZodEnum<["app", "passcode", "lessonAudio", "lessonText", "storyText", "storyAudio", "lessonLink", "setLink", "meetingInvite", "articleLink", "videoLink", "notification", "meetingSchedule", "scriptureText", "mt", "scriptureAudio", "inviteGroup", "lesson", "offlineVersionLink", "note", "customSet", "microLesson"]>;
737
+ content: z.ZodEnum<["app", "passcode", "lessonAudio", "lessonText", "storyText", "storyAudio", "lessonLink", "setLink", "meetingInvite", "articleLink", "videoLink", "notification", "meetingSchedule", "scriptureText", "mt", "scriptureAudio", "inviteGroup", "lesson", "offlineVersionLink", "note", "customSet"]>;
738
738
  lessonId: z.ZodOptional<z.ZodString>;
739
739
  articleSlug: z.ZodOptional<z.ZodString>;
740
740
  }, "strip", z.ZodTypeAny, {
741
741
  time: number;
742
- content: "lesson" | "note" | "setLink" | "lessonLink" | "app" | "passcode" | "lessonAudio" | "lessonText" | "storyText" | "storyAudio" | "meetingInvite" | "articleLink" | "videoLink" | "notification" | "meetingSchedule" | "scriptureText" | "mt" | "scriptureAudio" | "inviteGroup" | "offlineVersionLink" | "customSet" | "microLesson";
742
+ content: "lesson" | "note" | "setLink" | "lessonLink" | "app" | "passcode" | "lessonAudio" | "lessonText" | "storyText" | "storyAudio" | "meetingInvite" | "articleLink" | "videoLink" | "notification" | "meetingSchedule" | "scriptureText" | "mt" | "scriptureAudio" | "inviteGroup" | "offlineVersionLink" | "customSet";
743
743
  lessonId?: string | undefined;
744
744
  articleSlug?: string | undefined;
745
745
  }, {
746
746
  time: number;
747
- content: "lesson" | "note" | "setLink" | "lessonLink" | "app" | "passcode" | "lessonAudio" | "lessonText" | "storyText" | "storyAudio" | "meetingInvite" | "articleLink" | "videoLink" | "notification" | "meetingSchedule" | "scriptureText" | "mt" | "scriptureAudio" | "inviteGroup" | "offlineVersionLink" | "customSet" | "microLesson";
747
+ content: "lesson" | "note" | "setLink" | "lessonLink" | "app" | "passcode" | "lessonAudio" | "lessonText" | "storyText" | "storyAudio" | "meetingInvite" | "articleLink" | "videoLink" | "notification" | "meetingSchedule" | "scriptureText" | "mt" | "scriptureAudio" | "inviteGroup" | "offlineVersionLink" | "customSet";
748
748
  lessonId?: string | undefined;
749
749
  articleSlug?: string | undefined;
750
750
  }>, "many">>;
@@ -778,10 +778,10 @@ export declare const PushEnabledWahaUserSchema: z.ZodObject<Omit<{
778
778
  timeSpent: number;
779
779
  }>, "many">>;
780
780
  activated: z.ZodOptional<z.ZodBoolean>;
781
- microLessonCompletions: z.ZodOptional<z.ZodArray<z.ZodObject<Omit<{
781
+ worksheetCompletions: z.ZodOptional<z.ZodArray<z.ZodObject<Omit<{
782
782
  startTime: z.ZodNumber;
783
783
  completionTime: z.ZodOptional<z.ZodNumber>;
784
- microLessonId: z.ZodString;
784
+ worksheetId: z.ZodString;
785
785
  answers: z.ZodArray<z.ZodObject<{
786
786
  question: z.ZodString;
787
787
  answer: z.ZodString;
@@ -800,7 +800,7 @@ export declare const PushEnabledWahaUserSchema: z.ZodObject<Omit<{
800
800
  feedback: z.ZodOptional<z.ZodString>;
801
801
  }, "answers">, "strip", z.ZodTypeAny, {
802
802
  startTime: number;
803
- microLessonId: string;
803
+ worksheetId: string;
804
804
  city?: string | undefined;
805
805
  country?: string | undefined;
806
806
  region?: string | undefined;
@@ -810,7 +810,7 @@ export declare const PushEnabledWahaUserSchema: z.ZodObject<Omit<{
810
810
  feedback?: string | undefined;
811
811
  }, {
812
812
  startTime: number;
813
- microLessonId: string;
813
+ worksheetId: string;
814
814
  city?: string | undefined;
815
815
  country?: string | undefined;
816
816
  region?: string | undefined;
@@ -881,7 +881,7 @@ export declare const PushEnabledWahaUserSchema: z.ZodObject<Omit<{
881
881
  trainingUnlocked?: boolean | undefined;
882
882
  shareLog?: {
883
883
  time: number;
884
- content: "lesson" | "note" | "setLink" | "lessonLink" | "app" | "passcode" | "lessonAudio" | "lessonText" | "storyText" | "storyAudio" | "meetingInvite" | "articleLink" | "videoLink" | "notification" | "meetingSchedule" | "scriptureText" | "mt" | "scriptureAudio" | "inviteGroup" | "offlineVersionLink" | "customSet" | "microLesson";
884
+ content: "lesson" | "note" | "setLink" | "lessonLink" | "app" | "passcode" | "lessonAudio" | "lessonText" | "storyText" | "storyAudio" | "meetingInvite" | "articleLink" | "videoLink" | "notification" | "meetingSchedule" | "scriptureText" | "mt" | "scriptureAudio" | "inviteGroup" | "offlineVersionLink" | "customSet";
885
885
  lessonId?: string | undefined;
886
886
  articleSlug?: string | undefined;
887
887
  }[] | undefined;
@@ -897,9 +897,9 @@ export declare const PushEnabledWahaUserSchema: z.ZodObject<Omit<{
897
897
  timeSpent: number;
898
898
  }[] | undefined;
899
899
  activated?: boolean | undefined;
900
- microLessonCompletions?: {
900
+ worksheetCompletions?: {
901
901
  startTime: number;
902
- microLessonId: string;
902
+ worksheetId: string;
903
903
  city?: string | undefined;
904
904
  country?: string | undefined;
905
905
  region?: string | undefined;
@@ -966,7 +966,7 @@ export declare const PushEnabledWahaUserSchema: z.ZodObject<Omit<{
966
966
  trainingUnlocked?: boolean | undefined;
967
967
  shareLog?: {
968
968
  time: number;
969
- content: "lesson" | "note" | "setLink" | "lessonLink" | "app" | "passcode" | "lessonAudio" | "lessonText" | "storyText" | "storyAudio" | "meetingInvite" | "articleLink" | "videoLink" | "notification" | "meetingSchedule" | "scriptureText" | "mt" | "scriptureAudio" | "inviteGroup" | "offlineVersionLink" | "customSet" | "microLesson";
969
+ content: "lesson" | "note" | "setLink" | "lessonLink" | "app" | "passcode" | "lessonAudio" | "lessonText" | "storyText" | "storyAudio" | "meetingInvite" | "articleLink" | "videoLink" | "notification" | "meetingSchedule" | "scriptureText" | "mt" | "scriptureAudio" | "inviteGroup" | "offlineVersionLink" | "customSet";
970
970
  lessonId?: string | undefined;
971
971
  articleSlug?: string | undefined;
972
972
  }[] | undefined;
@@ -982,9 +982,9 @@ export declare const PushEnabledWahaUserSchema: z.ZodObject<Omit<{
982
982
  timeSpent: number;
983
983
  }[] | undefined;
984
984
  activated?: boolean | undefined;
985
- microLessonCompletions?: {
985
+ worksheetCompletions?: {
986
986
  startTime: number;
987
- microLessonId: string;
987
+ worksheetId: string;
988
988
  city?: string | undefined;
989
989
  country?: string | undefined;
990
990
  region?: string | undefined;
@@ -72,15 +72,15 @@ exports.CompletionEventSchema = zod_1.z.object({
72
72
  */
73
73
  manual: zod_1.z.boolean().optional(),
74
74
  });
75
- const MicroLessonAnswerSchema = zod_1.z.object({
75
+ const WorksheetAnswerSchema = zod_1.z.object({
76
76
  question: zod_1.z.string(),
77
77
  answer: zod_1.z.string(),
78
78
  });
79
- const MicroLessonCompletionEventSchema = zod_1.z.object({
79
+ const WorksheetCompletionEventSchema = zod_1.z.object({
80
80
  startTime: zod_1.z.number(),
81
81
  completionTime: zod_1.z.number().optional(),
82
- microLessonId: zod_1.z.string(),
83
- answers: zod_1.z.array(MicroLessonAnswerSchema),
82
+ worksheetId: zod_1.z.string(),
83
+ answers: zod_1.z.array(WorksheetAnswerSchema),
84
84
  country: zod_1.z.string().optional(),
85
85
  region: zod_1.z.string().optional(),
86
86
  city: zod_1.z.string().optional(),
@@ -110,7 +110,6 @@ exports.WahaShareContentSchema = zod_1.z.enum([
110
110
  'offlineVersionLink',
111
111
  'note',
112
112
  'customSet',
113
- 'microLesson',
114
113
  ]);
115
114
  exports.ShareLogEventSchema = zod_1.z.object({
116
115
  time: zod_1.z.number(),
@@ -147,8 +146,8 @@ exports.WahaUserSchema = exports.WahaUserStateSchema.extend({
147
146
  bibleSessions: zod_1.z.array(exports.BibleSessionSchema).optional(),
148
147
  articleSessions: zod_1.z.array(exports.ArticleSessionSchema).optional(),
149
148
  activated: zod_1.z.boolean().optional(),
150
- microLessonCompletions: zod_1.z
151
- .array(MicroLessonCompletionEventSchema.omit({ answers: true }))
149
+ worksheetCompletions: zod_1.z
150
+ .array(WorksheetCompletionEventSchema.omit({ answers: true }))
152
151
  .optional(),
153
152
  });
154
153
  exports.PushEnabledWahaUserSchema = exports.WahaUserSchema.omit({
@@ -1,5 +1,5 @@
1
1
  import z from 'zod';
2
- export declare const DateSchema: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodDate]>>;
3
- export declare const IsDraftSchema: z.ZodOptional<z.ZodBoolean>;
4
- export declare const SeekerFriendlySchema: z.ZodOptional<z.ZodBoolean>;
2
+ export declare const DateSchema: z.ZodUnion<[z.ZodString, z.ZodDate]>;
3
+ export declare const IsDraftSchema: z.ZodBoolean;
4
+ export declare const SeekerFriendlySchema: z.ZodBoolean;
5
5
  export declare const PlatformSchema: z.ZodEnum<["Web Only", "App Only", "All"]>;
@@ -7,16 +7,13 @@ exports.PlatformSchema = exports.SeekerFriendlySchema = exports.IsDraftSchema =
7
7
  const zod_1 = __importDefault(require("zod"));
8
8
  exports.DateSchema = zod_1.default
9
9
  .union([zod_1.default.string().datetime(), zod_1.default.date()])
10
- .describe('The date to publish the content. Can be in the future.')
11
- .optional();
10
+ .describe('The date to publish the content. Can be in the future.');
12
11
  exports.IsDraftSchema = zod_1.default
13
12
  .boolean()
14
- .describe('If this is checked the content will be marked as a draft and only available on the test website.')
15
- .optional();
13
+ .describe('If this is checked the content will be marked as a draft and only available on the test website.');
16
14
  exports.SeekerFriendlySchema = zod_1.default
17
15
  .boolean()
18
- .describe('If this is checked the micro lesson will be marked as seeker friendly. Seeker friendly micro lessons will not link back to the website.')
19
- .optional();
16
+ .describe('If this is checked the micro lesson will be marked as seeker friendly. Seeker friendly micro lessons will not link back to the website.');
20
17
  exports.PlatformSchema = zod_1.default
21
18
  .enum(['Web Only', 'App Only', 'All'])
22
19
  .describe('Set to determine which platform the content is available on.');
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "waha-shared",
3
- "version": "1.0.199",
3
+ "version": "1.0.201",
4
4
  "author": "Waha",
5
5
  "dependencies": {
6
6
  "@types/signale": "^1.4.7",