@_henriquewilson/gabirubi-domain 1.0.13 → 1.0.15

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.
@@ -1,6 +1,26 @@
1
1
  import { z } from 'zod';
2
2
 
3
- declare const ModuleSchema: z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extendShape<{
3
+ declare const PublishOnDate: z.ZodObject<z.objectUtil.extendShape<{
4
+ id: z.ZodOptional<z.ZodNullable<z.ZodOptional<z.ZodString>>>;
5
+ order: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodNumber>>>;
6
+ createAt: z.ZodOptional<z.ZodEffects<z.ZodType<FirebaseFirestore.Timestamp, z.ZodTypeDef, FirebaseFirestore.Timestamp>, FirebaseFirestore.Timestamp, unknown>>;
7
+ updateAt: z.ZodOptional<z.ZodEffects<z.ZodType<FirebaseFirestore.Timestamp, z.ZodTypeDef, FirebaseFirestore.Timestamp>, FirebaseFirestore.Timestamp, unknown>>;
8
+ }, {
9
+ publishOnDate: z.ZodOptional<z.ZodEffects<z.ZodType<FirebaseFirestore.Timestamp, z.ZodTypeDef, FirebaseFirestore.Timestamp>, FirebaseFirestore.Timestamp, unknown>>;
10
+ }>, "strip", z.ZodTypeAny, {
11
+ id?: string | null | undefined;
12
+ order?: number | null | undefined;
13
+ createAt?: FirebaseFirestore.Timestamp | undefined;
14
+ updateAt?: FirebaseFirestore.Timestamp | undefined;
15
+ publishOnDate?: FirebaseFirestore.Timestamp | undefined;
16
+ }, {
17
+ id?: string | null | undefined;
18
+ order?: number | null | undefined;
19
+ createAt?: unknown;
20
+ updateAt?: unknown;
21
+ publishOnDate?: unknown;
22
+ }>;
23
+ declare const ModuleSchema: z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extendShape<z.objectUtil.extendShape<{
4
24
  id: z.ZodOptional<z.ZodNullable<z.ZodOptional<z.ZodString>>>;
5
25
  order: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodNumber>>>;
6
26
  createAt: z.ZodOptional<z.ZodEffects<z.ZodType<FirebaseFirestore.Timestamp, z.ZodTypeDef, FirebaseFirestore.Timestamp>, FirebaseFirestore.Timestamp, unknown>>;
@@ -29,12 +49,20 @@ declare const ModuleSchema: z.ZodObject<z.objectUtil.extendShape<z.objectUtil.ex
29
49
  createAt?: unknown;
30
50
  updateAt?: unknown;
31
51
  }>, "many">>>;
52
+ }>>, z.objectUtil.extendShape<{
53
+ id: z.ZodOptional<z.ZodNullable<z.ZodOptional<z.ZodString>>>;
54
+ order: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodNumber>>>;
55
+ createAt: z.ZodOptional<z.ZodEffects<z.ZodType<FirebaseFirestore.Timestamp, z.ZodTypeDef, FirebaseFirestore.Timestamp>, FirebaseFirestore.Timestamp, unknown>>;
56
+ updateAt: z.ZodOptional<z.ZodEffects<z.ZodType<FirebaseFirestore.Timestamp, z.ZodTypeDef, FirebaseFirestore.Timestamp>, FirebaseFirestore.Timestamp, unknown>>;
57
+ }, {
58
+ publishOnDate: z.ZodOptional<z.ZodEffects<z.ZodType<FirebaseFirestore.Timestamp, z.ZodTypeDef, FirebaseFirestore.Timestamp>, FirebaseFirestore.Timestamp, unknown>>;
32
59
  }>>, "strip", z.ZodTypeAny, {
33
60
  title: string;
34
61
  id?: string | null | undefined;
35
62
  order?: number | null | undefined;
36
63
  createAt?: FirebaseFirestore.Timestamp | undefined;
37
64
  updateAt?: FirebaseFirestore.Timestamp | undefined;
65
+ publishOnDate?: FirebaseFirestore.Timestamp | undefined;
38
66
  previous?: {
39
67
  id?: string | null | undefined;
40
68
  order?: number | null | undefined;
@@ -47,6 +75,7 @@ declare const ModuleSchema: z.ZodObject<z.objectUtil.extendShape<z.objectUtil.ex
47
75
  order?: number | null | undefined;
48
76
  createAt?: unknown;
49
77
  updateAt?: unknown;
78
+ publishOnDate?: unknown;
50
79
  previous?: {
51
80
  id?: string | null | undefined;
52
81
  order?: number | null | undefined;
@@ -55,7 +84,7 @@ declare const ModuleSchema: z.ZodObject<z.objectUtil.extendShape<z.objectUtil.ex
55
84
  }[] | undefined;
56
85
  }>;
57
86
  declare const JourneyContentTypeSchema: z.ZodEnum<["video", "file", "audio", "text"]>;
58
- declare const ActivitySchema: z.ZodObject<z.objectUtil.extendShape<{
87
+ declare const ActivitySchema: z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extendShape<{
59
88
  id: z.ZodOptional<z.ZodNullable<z.ZodOptional<z.ZodString>>>;
60
89
  order: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodNumber>>>;
61
90
  createAt: z.ZodOptional<z.ZodEffects<z.ZodType<FirebaseFirestore.Timestamp, z.ZodTypeDef, FirebaseFirestore.Timestamp>, FirebaseFirestore.Timestamp, unknown>>;
@@ -65,7 +94,14 @@ declare const ActivitySchema: z.ZodObject<z.objectUtil.extendShape<{
65
94
  description: z.ZodOptional<z.ZodString>;
66
95
  contentType: z.ZodEnum<["video", "file", "audio", "text"]>;
67
96
  content: z.ZodString;
68
- }>, "strip", z.ZodTypeAny, {
97
+ }>, z.objectUtil.extendShape<{
98
+ id: z.ZodOptional<z.ZodNullable<z.ZodOptional<z.ZodString>>>;
99
+ order: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodNumber>>>;
100
+ createAt: z.ZodOptional<z.ZodEffects<z.ZodType<FirebaseFirestore.Timestamp, z.ZodTypeDef, FirebaseFirestore.Timestamp>, FirebaseFirestore.Timestamp, unknown>>;
101
+ updateAt: z.ZodOptional<z.ZodEffects<z.ZodType<FirebaseFirestore.Timestamp, z.ZodTypeDef, FirebaseFirestore.Timestamp>, FirebaseFirestore.Timestamp, unknown>>;
102
+ }, {
103
+ publishOnDate: z.ZodOptional<z.ZodEffects<z.ZodType<FirebaseFirestore.Timestamp, z.ZodTypeDef, FirebaseFirestore.Timestamp>, FirebaseFirestore.Timestamp, unknown>>;
104
+ }>>, "strip", z.ZodTypeAny, {
69
105
  title: string;
70
106
  contentType: "video" | "file" | "audio" | "text";
71
107
  content: string;
@@ -73,6 +109,7 @@ declare const ActivitySchema: z.ZodObject<z.objectUtil.extendShape<{
73
109
  order?: number | null | undefined;
74
110
  createAt?: FirebaseFirestore.Timestamp | undefined;
75
111
  updateAt?: FirebaseFirestore.Timestamp | undefined;
112
+ publishOnDate?: FirebaseFirestore.Timestamp | undefined;
76
113
  description?: string | undefined;
77
114
  }, {
78
115
  title: string;
@@ -82,10 +119,136 @@ declare const ActivitySchema: z.ZodObject<z.objectUtil.extendShape<{
82
119
  order?: number | null | undefined;
83
120
  createAt?: unknown;
84
121
  updateAt?: unknown;
122
+ publishOnDate?: unknown;
85
123
  description?: string | undefined;
86
124
  }>;
87
125
  type Module = z.infer<typeof ModuleSchema>;
126
+ declare const ModuleWithActivities: z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extendShape<z.objectUtil.extendShape<z.objectUtil.extendShape<{
127
+ id: z.ZodOptional<z.ZodNullable<z.ZodOptional<z.ZodString>>>;
128
+ order: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodNumber>>>;
129
+ createAt: z.ZodOptional<z.ZodEffects<z.ZodType<FirebaseFirestore.Timestamp, z.ZodTypeDef, FirebaseFirestore.Timestamp>, FirebaseFirestore.Timestamp, unknown>>;
130
+ updateAt: z.ZodOptional<z.ZodEffects<z.ZodType<FirebaseFirestore.Timestamp, z.ZodTypeDef, FirebaseFirestore.Timestamp>, FirebaseFirestore.Timestamp, unknown>>;
131
+ }, {
132
+ title: z.ZodString;
133
+ }>, z.objectUtil.extendShape<{
134
+ id: z.ZodOptional<z.ZodNullable<z.ZodOptional<z.ZodString>>>;
135
+ order: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodNumber>>>;
136
+ createAt: z.ZodOptional<z.ZodEffects<z.ZodType<FirebaseFirestore.Timestamp, z.ZodTypeDef, FirebaseFirestore.Timestamp>, FirebaseFirestore.Timestamp, unknown>>;
137
+ updateAt: z.ZodOptional<z.ZodEffects<z.ZodType<FirebaseFirestore.Timestamp, z.ZodTypeDef, FirebaseFirestore.Timestamp>, FirebaseFirestore.Timestamp, unknown>>;
138
+ }, {
139
+ previous: z.ZodLazy<z.ZodOptional<z.ZodArray<z.ZodObject<{
140
+ id: z.ZodOptional<z.ZodNullable<z.ZodOptional<z.ZodString>>>;
141
+ order: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodNumber>>>;
142
+ createAt: z.ZodOptional<z.ZodEffects<z.ZodType<FirebaseFirestore.Timestamp, z.ZodTypeDef, FirebaseFirestore.Timestamp>, FirebaseFirestore.Timestamp, unknown>>;
143
+ updateAt: z.ZodOptional<z.ZodEffects<z.ZodType<FirebaseFirestore.Timestamp, z.ZodTypeDef, FirebaseFirestore.Timestamp>, FirebaseFirestore.Timestamp, unknown>>;
144
+ }, "strip", z.ZodTypeAny, {
145
+ id?: string | null | undefined;
146
+ order?: number | null | undefined;
147
+ createAt?: FirebaseFirestore.Timestamp | undefined;
148
+ updateAt?: FirebaseFirestore.Timestamp | undefined;
149
+ }, {
150
+ id?: string | null | undefined;
151
+ order?: number | null | undefined;
152
+ createAt?: unknown;
153
+ updateAt?: unknown;
154
+ }>, "many">>>;
155
+ }>>, z.objectUtil.extendShape<{
156
+ id: z.ZodOptional<z.ZodNullable<z.ZodOptional<z.ZodString>>>;
157
+ order: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodNumber>>>;
158
+ createAt: z.ZodOptional<z.ZodEffects<z.ZodType<FirebaseFirestore.Timestamp, z.ZodTypeDef, FirebaseFirestore.Timestamp>, FirebaseFirestore.Timestamp, unknown>>;
159
+ updateAt: z.ZodOptional<z.ZodEffects<z.ZodType<FirebaseFirestore.Timestamp, z.ZodTypeDef, FirebaseFirestore.Timestamp>, FirebaseFirestore.Timestamp, unknown>>;
160
+ }, {
161
+ publishOnDate: z.ZodOptional<z.ZodEffects<z.ZodType<FirebaseFirestore.Timestamp, z.ZodTypeDef, FirebaseFirestore.Timestamp>, FirebaseFirestore.Timestamp, unknown>>;
162
+ }>>, {
163
+ activities: z.ZodArray<z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extendShape<{
164
+ id: z.ZodOptional<z.ZodNullable<z.ZodOptional<z.ZodString>>>;
165
+ order: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodNumber>>>;
166
+ createAt: z.ZodOptional<z.ZodEffects<z.ZodType<FirebaseFirestore.Timestamp, z.ZodTypeDef, FirebaseFirestore.Timestamp>, FirebaseFirestore.Timestamp, unknown>>;
167
+ updateAt: z.ZodOptional<z.ZodEffects<z.ZodType<FirebaseFirestore.Timestamp, z.ZodTypeDef, FirebaseFirestore.Timestamp>, FirebaseFirestore.Timestamp, unknown>>;
168
+ }, {
169
+ title: z.ZodString;
170
+ description: z.ZodOptional<z.ZodString>;
171
+ contentType: z.ZodEnum<["video", "file", "audio", "text"]>;
172
+ content: z.ZodString;
173
+ }>, z.objectUtil.extendShape<{
174
+ id: z.ZodOptional<z.ZodNullable<z.ZodOptional<z.ZodString>>>;
175
+ order: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodNumber>>>;
176
+ createAt: z.ZodOptional<z.ZodEffects<z.ZodType<FirebaseFirestore.Timestamp, z.ZodTypeDef, FirebaseFirestore.Timestamp>, FirebaseFirestore.Timestamp, unknown>>;
177
+ updateAt: z.ZodOptional<z.ZodEffects<z.ZodType<FirebaseFirestore.Timestamp, z.ZodTypeDef, FirebaseFirestore.Timestamp>, FirebaseFirestore.Timestamp, unknown>>;
178
+ }, {
179
+ publishOnDate: z.ZodOptional<z.ZodEffects<z.ZodType<FirebaseFirestore.Timestamp, z.ZodTypeDef, FirebaseFirestore.Timestamp>, FirebaseFirestore.Timestamp, unknown>>;
180
+ }>>, "strip", z.ZodTypeAny, {
181
+ title: string;
182
+ contentType: "video" | "file" | "audio" | "text";
183
+ content: string;
184
+ id?: string | null | undefined;
185
+ order?: number | null | undefined;
186
+ createAt?: FirebaseFirestore.Timestamp | undefined;
187
+ updateAt?: FirebaseFirestore.Timestamp | undefined;
188
+ publishOnDate?: FirebaseFirestore.Timestamp | undefined;
189
+ description?: string | undefined;
190
+ }, {
191
+ title: string;
192
+ contentType: "video" | "file" | "audio" | "text";
193
+ content: string;
194
+ id?: string | null | undefined;
195
+ order?: number | null | undefined;
196
+ createAt?: unknown;
197
+ updateAt?: unknown;
198
+ publishOnDate?: unknown;
199
+ description?: string | undefined;
200
+ }>, "many">;
201
+ }>, "strip", z.ZodTypeAny, {
202
+ title: string;
203
+ activities: {
204
+ title: string;
205
+ contentType: "video" | "file" | "audio" | "text";
206
+ content: string;
207
+ id?: string | null | undefined;
208
+ order?: number | null | undefined;
209
+ createAt?: FirebaseFirestore.Timestamp | undefined;
210
+ updateAt?: FirebaseFirestore.Timestamp | undefined;
211
+ publishOnDate?: FirebaseFirestore.Timestamp | undefined;
212
+ description?: string | undefined;
213
+ }[];
214
+ id?: string | null | undefined;
215
+ order?: number | null | undefined;
216
+ createAt?: FirebaseFirestore.Timestamp | undefined;
217
+ updateAt?: FirebaseFirestore.Timestamp | undefined;
218
+ publishOnDate?: FirebaseFirestore.Timestamp | undefined;
219
+ previous?: {
220
+ id?: string | null | undefined;
221
+ order?: number | null | undefined;
222
+ createAt?: FirebaseFirestore.Timestamp | undefined;
223
+ updateAt?: FirebaseFirestore.Timestamp | undefined;
224
+ }[] | undefined;
225
+ }, {
226
+ title: string;
227
+ activities: {
228
+ title: string;
229
+ contentType: "video" | "file" | "audio" | "text";
230
+ content: string;
231
+ id?: string | null | undefined;
232
+ order?: number | null | undefined;
233
+ createAt?: unknown;
234
+ updateAt?: unknown;
235
+ publishOnDate?: unknown;
236
+ description?: string | undefined;
237
+ }[];
238
+ id?: string | null | undefined;
239
+ order?: number | null | undefined;
240
+ createAt?: unknown;
241
+ updateAt?: unknown;
242
+ publishOnDate?: unknown;
243
+ previous?: {
244
+ id?: string | null | undefined;
245
+ order?: number | null | undefined;
246
+ createAt?: unknown;
247
+ updateAt?: unknown;
248
+ }[] | undefined;
249
+ }>;
250
+ type ModuleWithActivities = z.infer<typeof ModuleWithActivities>;
88
251
  type Activity = z.infer<typeof ActivitySchema>;
89
252
  type JourneyContentType = z.infer<typeof JourneyContentTypeSchema>;
90
253
 
91
- export { Activity, ActivitySchema, JourneyContentType, JourneyContentTypeSchema, Module, ModuleSchema };
254
+ export { Activity, ActivitySchema, JourneyContentType, JourneyContentTypeSchema, Module, ModuleSchema, ModuleWithActivities, PublishOnDate };
@@ -1,6 +1,26 @@
1
1
  import { z } from 'zod';
2
2
 
3
- declare const ModuleSchema: z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extendShape<{
3
+ declare const PublishOnDate: z.ZodObject<z.objectUtil.extendShape<{
4
+ id: z.ZodOptional<z.ZodNullable<z.ZodOptional<z.ZodString>>>;
5
+ order: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodNumber>>>;
6
+ createAt: z.ZodOptional<z.ZodEffects<z.ZodType<FirebaseFirestore.Timestamp, z.ZodTypeDef, FirebaseFirestore.Timestamp>, FirebaseFirestore.Timestamp, unknown>>;
7
+ updateAt: z.ZodOptional<z.ZodEffects<z.ZodType<FirebaseFirestore.Timestamp, z.ZodTypeDef, FirebaseFirestore.Timestamp>, FirebaseFirestore.Timestamp, unknown>>;
8
+ }, {
9
+ publishOnDate: z.ZodOptional<z.ZodEffects<z.ZodType<FirebaseFirestore.Timestamp, z.ZodTypeDef, FirebaseFirestore.Timestamp>, FirebaseFirestore.Timestamp, unknown>>;
10
+ }>, "strip", z.ZodTypeAny, {
11
+ id?: string | null | undefined;
12
+ order?: number | null | undefined;
13
+ createAt?: FirebaseFirestore.Timestamp | undefined;
14
+ updateAt?: FirebaseFirestore.Timestamp | undefined;
15
+ publishOnDate?: FirebaseFirestore.Timestamp | undefined;
16
+ }, {
17
+ id?: string | null | undefined;
18
+ order?: number | null | undefined;
19
+ createAt?: unknown;
20
+ updateAt?: unknown;
21
+ publishOnDate?: unknown;
22
+ }>;
23
+ declare const ModuleSchema: z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extendShape<z.objectUtil.extendShape<{
4
24
  id: z.ZodOptional<z.ZodNullable<z.ZodOptional<z.ZodString>>>;
5
25
  order: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodNumber>>>;
6
26
  createAt: z.ZodOptional<z.ZodEffects<z.ZodType<FirebaseFirestore.Timestamp, z.ZodTypeDef, FirebaseFirestore.Timestamp>, FirebaseFirestore.Timestamp, unknown>>;
@@ -29,12 +49,20 @@ declare const ModuleSchema: z.ZodObject<z.objectUtil.extendShape<z.objectUtil.ex
29
49
  createAt?: unknown;
30
50
  updateAt?: unknown;
31
51
  }>, "many">>>;
52
+ }>>, z.objectUtil.extendShape<{
53
+ id: z.ZodOptional<z.ZodNullable<z.ZodOptional<z.ZodString>>>;
54
+ order: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodNumber>>>;
55
+ createAt: z.ZodOptional<z.ZodEffects<z.ZodType<FirebaseFirestore.Timestamp, z.ZodTypeDef, FirebaseFirestore.Timestamp>, FirebaseFirestore.Timestamp, unknown>>;
56
+ updateAt: z.ZodOptional<z.ZodEffects<z.ZodType<FirebaseFirestore.Timestamp, z.ZodTypeDef, FirebaseFirestore.Timestamp>, FirebaseFirestore.Timestamp, unknown>>;
57
+ }, {
58
+ publishOnDate: z.ZodOptional<z.ZodEffects<z.ZodType<FirebaseFirestore.Timestamp, z.ZodTypeDef, FirebaseFirestore.Timestamp>, FirebaseFirestore.Timestamp, unknown>>;
32
59
  }>>, "strip", z.ZodTypeAny, {
33
60
  title: string;
34
61
  id?: string | null | undefined;
35
62
  order?: number | null | undefined;
36
63
  createAt?: FirebaseFirestore.Timestamp | undefined;
37
64
  updateAt?: FirebaseFirestore.Timestamp | undefined;
65
+ publishOnDate?: FirebaseFirestore.Timestamp | undefined;
38
66
  previous?: {
39
67
  id?: string | null | undefined;
40
68
  order?: number | null | undefined;
@@ -47,6 +75,7 @@ declare const ModuleSchema: z.ZodObject<z.objectUtil.extendShape<z.objectUtil.ex
47
75
  order?: number | null | undefined;
48
76
  createAt?: unknown;
49
77
  updateAt?: unknown;
78
+ publishOnDate?: unknown;
50
79
  previous?: {
51
80
  id?: string | null | undefined;
52
81
  order?: number | null | undefined;
@@ -55,7 +84,7 @@ declare const ModuleSchema: z.ZodObject<z.objectUtil.extendShape<z.objectUtil.ex
55
84
  }[] | undefined;
56
85
  }>;
57
86
  declare const JourneyContentTypeSchema: z.ZodEnum<["video", "file", "audio", "text"]>;
58
- declare const ActivitySchema: z.ZodObject<z.objectUtil.extendShape<{
87
+ declare const ActivitySchema: z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extendShape<{
59
88
  id: z.ZodOptional<z.ZodNullable<z.ZodOptional<z.ZodString>>>;
60
89
  order: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodNumber>>>;
61
90
  createAt: z.ZodOptional<z.ZodEffects<z.ZodType<FirebaseFirestore.Timestamp, z.ZodTypeDef, FirebaseFirestore.Timestamp>, FirebaseFirestore.Timestamp, unknown>>;
@@ -65,7 +94,14 @@ declare const ActivitySchema: z.ZodObject<z.objectUtil.extendShape<{
65
94
  description: z.ZodOptional<z.ZodString>;
66
95
  contentType: z.ZodEnum<["video", "file", "audio", "text"]>;
67
96
  content: z.ZodString;
68
- }>, "strip", z.ZodTypeAny, {
97
+ }>, z.objectUtil.extendShape<{
98
+ id: z.ZodOptional<z.ZodNullable<z.ZodOptional<z.ZodString>>>;
99
+ order: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodNumber>>>;
100
+ createAt: z.ZodOptional<z.ZodEffects<z.ZodType<FirebaseFirestore.Timestamp, z.ZodTypeDef, FirebaseFirestore.Timestamp>, FirebaseFirestore.Timestamp, unknown>>;
101
+ updateAt: z.ZodOptional<z.ZodEffects<z.ZodType<FirebaseFirestore.Timestamp, z.ZodTypeDef, FirebaseFirestore.Timestamp>, FirebaseFirestore.Timestamp, unknown>>;
102
+ }, {
103
+ publishOnDate: z.ZodOptional<z.ZodEffects<z.ZodType<FirebaseFirestore.Timestamp, z.ZodTypeDef, FirebaseFirestore.Timestamp>, FirebaseFirestore.Timestamp, unknown>>;
104
+ }>>, "strip", z.ZodTypeAny, {
69
105
  title: string;
70
106
  contentType: "video" | "file" | "audio" | "text";
71
107
  content: string;
@@ -73,6 +109,7 @@ declare const ActivitySchema: z.ZodObject<z.objectUtil.extendShape<{
73
109
  order?: number | null | undefined;
74
110
  createAt?: FirebaseFirestore.Timestamp | undefined;
75
111
  updateAt?: FirebaseFirestore.Timestamp | undefined;
112
+ publishOnDate?: FirebaseFirestore.Timestamp | undefined;
76
113
  description?: string | undefined;
77
114
  }, {
78
115
  title: string;
@@ -82,10 +119,136 @@ declare const ActivitySchema: z.ZodObject<z.objectUtil.extendShape<{
82
119
  order?: number | null | undefined;
83
120
  createAt?: unknown;
84
121
  updateAt?: unknown;
122
+ publishOnDate?: unknown;
85
123
  description?: string | undefined;
86
124
  }>;
87
125
  type Module = z.infer<typeof ModuleSchema>;
126
+ declare const ModuleWithActivities: z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extendShape<z.objectUtil.extendShape<z.objectUtil.extendShape<{
127
+ id: z.ZodOptional<z.ZodNullable<z.ZodOptional<z.ZodString>>>;
128
+ order: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodNumber>>>;
129
+ createAt: z.ZodOptional<z.ZodEffects<z.ZodType<FirebaseFirestore.Timestamp, z.ZodTypeDef, FirebaseFirestore.Timestamp>, FirebaseFirestore.Timestamp, unknown>>;
130
+ updateAt: z.ZodOptional<z.ZodEffects<z.ZodType<FirebaseFirestore.Timestamp, z.ZodTypeDef, FirebaseFirestore.Timestamp>, FirebaseFirestore.Timestamp, unknown>>;
131
+ }, {
132
+ title: z.ZodString;
133
+ }>, z.objectUtil.extendShape<{
134
+ id: z.ZodOptional<z.ZodNullable<z.ZodOptional<z.ZodString>>>;
135
+ order: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodNumber>>>;
136
+ createAt: z.ZodOptional<z.ZodEffects<z.ZodType<FirebaseFirestore.Timestamp, z.ZodTypeDef, FirebaseFirestore.Timestamp>, FirebaseFirestore.Timestamp, unknown>>;
137
+ updateAt: z.ZodOptional<z.ZodEffects<z.ZodType<FirebaseFirestore.Timestamp, z.ZodTypeDef, FirebaseFirestore.Timestamp>, FirebaseFirestore.Timestamp, unknown>>;
138
+ }, {
139
+ previous: z.ZodLazy<z.ZodOptional<z.ZodArray<z.ZodObject<{
140
+ id: z.ZodOptional<z.ZodNullable<z.ZodOptional<z.ZodString>>>;
141
+ order: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodNumber>>>;
142
+ createAt: z.ZodOptional<z.ZodEffects<z.ZodType<FirebaseFirestore.Timestamp, z.ZodTypeDef, FirebaseFirestore.Timestamp>, FirebaseFirestore.Timestamp, unknown>>;
143
+ updateAt: z.ZodOptional<z.ZodEffects<z.ZodType<FirebaseFirestore.Timestamp, z.ZodTypeDef, FirebaseFirestore.Timestamp>, FirebaseFirestore.Timestamp, unknown>>;
144
+ }, "strip", z.ZodTypeAny, {
145
+ id?: string | null | undefined;
146
+ order?: number | null | undefined;
147
+ createAt?: FirebaseFirestore.Timestamp | undefined;
148
+ updateAt?: FirebaseFirestore.Timestamp | undefined;
149
+ }, {
150
+ id?: string | null | undefined;
151
+ order?: number | null | undefined;
152
+ createAt?: unknown;
153
+ updateAt?: unknown;
154
+ }>, "many">>>;
155
+ }>>, z.objectUtil.extendShape<{
156
+ id: z.ZodOptional<z.ZodNullable<z.ZodOptional<z.ZodString>>>;
157
+ order: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodNumber>>>;
158
+ createAt: z.ZodOptional<z.ZodEffects<z.ZodType<FirebaseFirestore.Timestamp, z.ZodTypeDef, FirebaseFirestore.Timestamp>, FirebaseFirestore.Timestamp, unknown>>;
159
+ updateAt: z.ZodOptional<z.ZodEffects<z.ZodType<FirebaseFirestore.Timestamp, z.ZodTypeDef, FirebaseFirestore.Timestamp>, FirebaseFirestore.Timestamp, unknown>>;
160
+ }, {
161
+ publishOnDate: z.ZodOptional<z.ZodEffects<z.ZodType<FirebaseFirestore.Timestamp, z.ZodTypeDef, FirebaseFirestore.Timestamp>, FirebaseFirestore.Timestamp, unknown>>;
162
+ }>>, {
163
+ activities: z.ZodArray<z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extendShape<{
164
+ id: z.ZodOptional<z.ZodNullable<z.ZodOptional<z.ZodString>>>;
165
+ order: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodNumber>>>;
166
+ createAt: z.ZodOptional<z.ZodEffects<z.ZodType<FirebaseFirestore.Timestamp, z.ZodTypeDef, FirebaseFirestore.Timestamp>, FirebaseFirestore.Timestamp, unknown>>;
167
+ updateAt: z.ZodOptional<z.ZodEffects<z.ZodType<FirebaseFirestore.Timestamp, z.ZodTypeDef, FirebaseFirestore.Timestamp>, FirebaseFirestore.Timestamp, unknown>>;
168
+ }, {
169
+ title: z.ZodString;
170
+ description: z.ZodOptional<z.ZodString>;
171
+ contentType: z.ZodEnum<["video", "file", "audio", "text"]>;
172
+ content: z.ZodString;
173
+ }>, z.objectUtil.extendShape<{
174
+ id: z.ZodOptional<z.ZodNullable<z.ZodOptional<z.ZodString>>>;
175
+ order: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodNumber>>>;
176
+ createAt: z.ZodOptional<z.ZodEffects<z.ZodType<FirebaseFirestore.Timestamp, z.ZodTypeDef, FirebaseFirestore.Timestamp>, FirebaseFirestore.Timestamp, unknown>>;
177
+ updateAt: z.ZodOptional<z.ZodEffects<z.ZodType<FirebaseFirestore.Timestamp, z.ZodTypeDef, FirebaseFirestore.Timestamp>, FirebaseFirestore.Timestamp, unknown>>;
178
+ }, {
179
+ publishOnDate: z.ZodOptional<z.ZodEffects<z.ZodType<FirebaseFirestore.Timestamp, z.ZodTypeDef, FirebaseFirestore.Timestamp>, FirebaseFirestore.Timestamp, unknown>>;
180
+ }>>, "strip", z.ZodTypeAny, {
181
+ title: string;
182
+ contentType: "video" | "file" | "audio" | "text";
183
+ content: string;
184
+ id?: string | null | undefined;
185
+ order?: number | null | undefined;
186
+ createAt?: FirebaseFirestore.Timestamp | undefined;
187
+ updateAt?: FirebaseFirestore.Timestamp | undefined;
188
+ publishOnDate?: FirebaseFirestore.Timestamp | undefined;
189
+ description?: string | undefined;
190
+ }, {
191
+ title: string;
192
+ contentType: "video" | "file" | "audio" | "text";
193
+ content: string;
194
+ id?: string | null | undefined;
195
+ order?: number | null | undefined;
196
+ createAt?: unknown;
197
+ updateAt?: unknown;
198
+ publishOnDate?: unknown;
199
+ description?: string | undefined;
200
+ }>, "many">;
201
+ }>, "strip", z.ZodTypeAny, {
202
+ title: string;
203
+ activities: {
204
+ title: string;
205
+ contentType: "video" | "file" | "audio" | "text";
206
+ content: string;
207
+ id?: string | null | undefined;
208
+ order?: number | null | undefined;
209
+ createAt?: FirebaseFirestore.Timestamp | undefined;
210
+ updateAt?: FirebaseFirestore.Timestamp | undefined;
211
+ publishOnDate?: FirebaseFirestore.Timestamp | undefined;
212
+ description?: string | undefined;
213
+ }[];
214
+ id?: string | null | undefined;
215
+ order?: number | null | undefined;
216
+ createAt?: FirebaseFirestore.Timestamp | undefined;
217
+ updateAt?: FirebaseFirestore.Timestamp | undefined;
218
+ publishOnDate?: FirebaseFirestore.Timestamp | undefined;
219
+ previous?: {
220
+ id?: string | null | undefined;
221
+ order?: number | null | undefined;
222
+ createAt?: FirebaseFirestore.Timestamp | undefined;
223
+ updateAt?: FirebaseFirestore.Timestamp | undefined;
224
+ }[] | undefined;
225
+ }, {
226
+ title: string;
227
+ activities: {
228
+ title: string;
229
+ contentType: "video" | "file" | "audio" | "text";
230
+ content: string;
231
+ id?: string | null | undefined;
232
+ order?: number | null | undefined;
233
+ createAt?: unknown;
234
+ updateAt?: unknown;
235
+ publishOnDate?: unknown;
236
+ description?: string | undefined;
237
+ }[];
238
+ id?: string | null | undefined;
239
+ order?: number | null | undefined;
240
+ createAt?: unknown;
241
+ updateAt?: unknown;
242
+ publishOnDate?: unknown;
243
+ previous?: {
244
+ id?: string | null | undefined;
245
+ order?: number | null | undefined;
246
+ createAt?: unknown;
247
+ updateAt?: unknown;
248
+ }[] | undefined;
249
+ }>;
250
+ type ModuleWithActivities = z.infer<typeof ModuleWithActivities>;
88
251
  type Activity = z.infer<typeof ActivitySchema>;
89
252
  type JourneyContentType = z.infer<typeof JourneyContentTypeSchema>;
90
253
 
91
- export { Activity, ActivitySchema, JourneyContentType, JourneyContentTypeSchema, Module, ModuleSchema };
254
+ export { Activity, ActivitySchema, JourneyContentType, JourneyContentTypeSchema, Module, ModuleSchema, ModuleWithActivities, PublishOnDate };
@@ -186771,6 +186771,12 @@ __export(journey_exports, {
186771
186771
  },
186772
186772
  ModuleSchema: function() {
186773
186773
  return ModuleSchema;
186774
+ },
186775
+ ModuleWithActivities: function() {
186776
+ return ModuleWithActivities;
186777
+ },
186778
+ PublishOnDate: function() {
186779
+ return PublishOnDate;
186774
186780
  }
186775
186781
  });
186776
186782
  module.exports = __toCommonJS(journey_exports);
@@ -186803,9 +186809,12 @@ var EnabledSchema = import_zod2.z.object({
186803
186809
  });
186804
186810
  // src/model/journey.ts
186805
186811
  var import_zod3 = require("zod");
186812
+ var PublishOnDate = ModelSchema.extend({
186813
+ publishOnDate: TimestampOrNow
186814
+ });
186806
186815
  var ModuleSchema = ModelSchema.extend({
186807
186816
  title: import_zod3.z.string()
186808
- }).merge(PreviousSchema);
186817
+ }).merge(PreviousSchema).merge(PublishOnDate);
186809
186818
  var JourneyContentTypeSchema = import_zod3.z.enum([
186810
186819
  "video",
186811
186820
  "file",
@@ -186817,12 +186826,17 @@ var ActivitySchema = ModelSchema.extend({
186817
186826
  description: import_zod3.z.string().optional(),
186818
186827
  contentType: JourneyContentTypeSchema,
186819
186828
  content: import_zod3.z.string()
186829
+ }).merge(PublishOnDate);
186830
+ var ModuleWithActivities = ModuleSchema.extend({
186831
+ activities: ActivitySchema.array()
186820
186832
  });
186821
186833
  // Annotate the CommonJS export names for ESM import in node:
186822
186834
  0 && (module.exports = {
186823
186835
  ActivitySchema: ActivitySchema,
186824
186836
  JourneyContentTypeSchema: JourneyContentTypeSchema,
186825
- ModuleSchema: ModuleSchema
186837
+ ModuleSchema: ModuleSchema,
186838
+ ModuleWithActivities: ModuleWithActivities,
186839
+ PublishOnDate: PublishOnDate
186826
186840
  }); /*! Bundled license information:
186827
186841
 
186828
186842
  safe-buffer/index.js: