@mikemajesty/zod-mock-schema 1.0.33 → 1.0.34
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/__tests__/advanced-schemas.spec.js +44 -46
- package/dist/__tests__/advanced-schemas.spec.js.map +1 -1
- package/dist/__tests__/brazilian-formats.spec.js +67 -69
- package/dist/__tests__/brazilian-formats.spec.js.map +1 -1
- package/dist/__tests__/complex-intersections.spec.js +26 -28
- package/dist/__tests__/complex-intersections.spec.js.map +1 -1
- package/dist/__tests__/edge-cases.spec.js +64 -66
- package/dist/__tests__/edge-cases.spec.js.map +1 -1
- package/dist/__tests__/faker-injection.spec.js +38 -40
- package/dist/__tests__/faker-injection.spec.js.map +1 -1
- package/dist/__tests__/overrides-all-types.spec.js +83 -85
- package/dist/__tests__/overrides-all-types.spec.js.map +1 -1
- package/dist/__tests__/overrides.spec.js +93 -95
- package/dist/__tests__/overrides.spec.js.map +1 -1
- package/dist/__tests__/unsupported-types.spec.js +3 -5
- package/dist/__tests__/unsupported-types.spec.js.map +1 -1
- package/dist/__tests__/zod-types.spec.d.ts +53 -53
- package/dist/__tests__/zod-types.spec.js +308 -314
- package/dist/__tests__/zod-types.spec.js.map +1 -1
- package/dist/constants.js +81 -85
- package/dist/constants.js.map +1 -1
- package/dist/index.js +1 -5
- package/dist/index.js.map +1 -1
- package/dist/types.js +1 -2
- package/dist/zod-mock-schema.js +75 -80
- package/dist/zod-mock-schema.js.map +1 -1
- package/package.json +6 -11
- package/dist/cjs/__tests__/advanced-schemas.spec.js +0 -151
- package/dist/cjs/__tests__/advanced-schemas.spec.js.map +0 -1
- package/dist/cjs/__tests__/brazilian-formats.spec.js +0 -207
- package/dist/cjs/__tests__/brazilian-formats.spec.js.map +0 -1
- package/dist/cjs/__tests__/complex-intersections.spec.js +0 -178
- package/dist/cjs/__tests__/complex-intersections.spec.js.map +0 -1
- package/dist/cjs/__tests__/edge-cases.spec.js +0 -208
- package/dist/cjs/__tests__/edge-cases.spec.js.map +0 -1
- package/dist/cjs/__tests__/faker-injection.spec.js +0 -112
- package/dist/cjs/__tests__/faker-injection.spec.js.map +0 -1
- package/dist/cjs/__tests__/overrides-all-types.spec.js +0 -285
- package/dist/cjs/__tests__/overrides-all-types.spec.js.map +0 -1
- package/dist/cjs/__tests__/overrides.spec.js +0 -347
- package/dist/cjs/__tests__/overrides.spec.js.map +0 -1
- package/dist/cjs/__tests__/unsupported-types.spec.js +0 -29
- package/dist/cjs/__tests__/unsupported-types.spec.js.map +0 -1
- package/dist/cjs/__tests__/zod-types.spec.js +0 -532
- package/dist/cjs/__tests__/zod-types.spec.js.map +0 -1
- package/dist/cjs/constants.js +0 -87
- package/dist/cjs/constants.js.map +0 -1
- package/dist/cjs/index.js +0 -6
- package/dist/cjs/index.js.map +0 -1
- package/dist/cjs/types.js +0 -3
- package/dist/cjs/types.js.map +0 -1
- package/dist/cjs/zod-mock-schema.js +0 -373
- package/dist/cjs/zod-mock-schema.js.map +0 -1
|
@@ -12,7 +12,7 @@ export declare const PersonEntitySchema: z.ZodIntersection<z.ZodIntersection<z.Z
|
|
|
12
12
|
"Dr.": "Dr.";
|
|
13
13
|
"Prof.": "Prof.";
|
|
14
14
|
}>>;
|
|
15
|
-
}, z.core.$strip>;
|
|
15
|
+
}, z.z.core.$strip>;
|
|
16
16
|
demographic: z.ZodObject<{
|
|
17
17
|
birthDate: z.ZodDate;
|
|
18
18
|
age: z.ZodNumber;
|
|
@@ -29,13 +29,13 @@ export declare const PersonEntitySchema: z.ZodIntersection<z.ZodIntersection<z.Z
|
|
|
29
29
|
divorced: "divorced";
|
|
30
30
|
widowed: "widowed";
|
|
31
31
|
}>>;
|
|
32
|
-
}, z.core.$strip>;
|
|
32
|
+
}, z.z.core.$strip>;
|
|
33
33
|
officialDocuments: z.ZodObject<{
|
|
34
34
|
cpf: z.ZodString;
|
|
35
35
|
rg: z.ZodString;
|
|
36
36
|
pis: z.ZodOptional<z.ZodString>;
|
|
37
37
|
voterId: z.ZodOptional<z.ZodString>;
|
|
38
|
-
}, z.core.$strip>;
|
|
38
|
+
}, z.z.core.$strip>;
|
|
39
39
|
role: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
40
40
|
type: z.ZodLiteral<"student">;
|
|
41
41
|
studentId: z.ZodString;
|
|
@@ -65,14 +65,14 @@ export declare const PersonEntitySchema: z.ZodIntersection<z.ZodIntersection<z.Z
|
|
|
65
65
|
startTime: z.ZodString;
|
|
66
66
|
endTime: z.ZodString;
|
|
67
67
|
room: z.ZodOptional<z.ZodString>;
|
|
68
|
-
}, z.core.$strip>;
|
|
68
|
+
}, z.z.core.$strip>;
|
|
69
69
|
status: z.ZodEnum<{
|
|
70
70
|
active: "active";
|
|
71
71
|
inactive: "inactive";
|
|
72
72
|
completed: "completed";
|
|
73
73
|
cancelled: "cancelled";
|
|
74
74
|
}>;
|
|
75
|
-
}, z.core.$strip>;
|
|
75
|
+
}, z.z.core.$strip>;
|
|
76
76
|
grade: z.ZodOptional<z.ZodNumber>;
|
|
77
77
|
status: z.ZodEnum<{
|
|
78
78
|
enrolled: "enrolled";
|
|
@@ -81,8 +81,8 @@ export declare const PersonEntitySchema: z.ZodIntersection<z.ZodIntersection<z.Z
|
|
|
81
81
|
dropped: "dropped";
|
|
82
82
|
}>;
|
|
83
83
|
attendance: z.ZodOptional<z.ZodNumber>;
|
|
84
|
-
}, z.core.$strip>>;
|
|
85
|
-
}, z.core.$strip>;
|
|
84
|
+
}, z.z.core.$strip>>;
|
|
85
|
+
}, z.z.core.$strip>;
|
|
86
86
|
scholarships: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
87
87
|
id: z.ZodString;
|
|
88
88
|
type: z.ZodEnum<{
|
|
@@ -95,14 +95,14 @@ export declare const PersonEntitySchema: z.ZodIntersection<z.ZodIntersection<z.Z
|
|
|
95
95
|
startDate: z.ZodDate;
|
|
96
96
|
endDate: z.ZodDate;
|
|
97
97
|
renewable: z.ZodBoolean;
|
|
98
|
-
}, z.core.$strip>>>;
|
|
98
|
+
}, z.z.core.$strip>>>;
|
|
99
99
|
campus: z.ZodEnum<{
|
|
100
100
|
main: "main";
|
|
101
101
|
north: "north";
|
|
102
102
|
south: "south";
|
|
103
103
|
online: "online";
|
|
104
104
|
}>;
|
|
105
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
105
|
+
}, z.z.core.$strip>, z.ZodObject<{
|
|
106
106
|
type: z.ZodLiteral<"teacher">;
|
|
107
107
|
employeeId: z.ZodString;
|
|
108
108
|
hireDate: z.ZodDate;
|
|
@@ -140,7 +140,7 @@ export declare const PersonEntitySchema: z.ZodIntersection<z.ZodIntersection<z.Z
|
|
|
140
140
|
retirement: "retirement";
|
|
141
141
|
tuition: "tuition";
|
|
142
142
|
}>>>;
|
|
143
|
-
}, z.core.$strip>;
|
|
143
|
+
}, z.z.core.$strip>;
|
|
144
144
|
officeHours: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
145
145
|
day: z.ZodEnum<{
|
|
146
146
|
monday: "monday";
|
|
@@ -157,7 +157,7 @@ export declare const PersonEntitySchema: z.ZodIntersection<z.ZodIntersection<z.Z
|
|
|
157
157
|
virtual: "virtual";
|
|
158
158
|
hybrid: "hybrid";
|
|
159
159
|
}>;
|
|
160
|
-
}, z.core.$strip>>>;
|
|
160
|
+
}, z.z.core.$strip>>>;
|
|
161
161
|
coursesTeaching: z.ZodArray<z.ZodObject<{
|
|
162
162
|
course: z.ZodObject<{
|
|
163
163
|
id: z.ZodString;
|
|
@@ -177,18 +177,18 @@ export declare const PersonEntitySchema: z.ZodIntersection<z.ZodIntersection<z.Z
|
|
|
177
177
|
startTime: z.ZodString;
|
|
178
178
|
endTime: z.ZodString;
|
|
179
179
|
room: z.ZodOptional<z.ZodString>;
|
|
180
|
-
}, z.core.$strip>;
|
|
180
|
+
}, z.z.core.$strip>;
|
|
181
181
|
status: z.ZodEnum<{
|
|
182
182
|
active: "active";
|
|
183
183
|
inactive: "inactive";
|
|
184
184
|
completed: "completed";
|
|
185
185
|
cancelled: "cancelled";
|
|
186
186
|
}>;
|
|
187
|
-
}, z.core.$strip>;
|
|
187
|
+
}, z.z.core.$strip>;
|
|
188
188
|
semester: z.ZodString;
|
|
189
189
|
section: z.ZodString;
|
|
190
|
-
}, z.core.$strip>>;
|
|
191
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
190
|
+
}, z.z.core.$strip>>;
|
|
191
|
+
}, z.z.core.$strip>, z.ZodObject<{
|
|
192
192
|
type: z.ZodLiteral<"admin">;
|
|
193
193
|
employeeId: z.ZodString;
|
|
194
194
|
hireDate: z.ZodDate;
|
|
@@ -227,10 +227,10 @@ export declare const PersonEntitySchema: z.ZodIntersection<z.ZodIntersection<z.Z
|
|
|
227
227
|
global: "global";
|
|
228
228
|
personal: "personal";
|
|
229
229
|
}>;
|
|
230
|
-
}, z.core.$strip>>;
|
|
230
|
+
}, z.z.core.$strip>>;
|
|
231
231
|
reportsTo: z.ZodOptional<z.ZodUUID>;
|
|
232
232
|
managedDepartments: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
233
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
233
|
+
}, z.z.core.$strip>, z.ZodObject<{
|
|
234
234
|
type: z.ZodLiteral<"staff">;
|
|
235
235
|
employeeId: z.ZodString;
|
|
236
236
|
hireDate: z.ZodDate;
|
|
@@ -260,8 +260,8 @@ export declare const PersonEntitySchema: z.ZodIntersection<z.ZodIntersection<z.Z
|
|
|
260
260
|
thursday: "thursday";
|
|
261
261
|
friday: "friday";
|
|
262
262
|
}>>>;
|
|
263
|
-
}, z.core.$strip>;
|
|
264
|
-
}, z.core.$strip>], "type">;
|
|
263
|
+
}, z.z.core.$strip>;
|
|
264
|
+
}, z.z.core.$strip>], "type">;
|
|
265
265
|
status: z.ZodEnum<{
|
|
266
266
|
active: "active";
|
|
267
267
|
inactive: "inactive";
|
|
@@ -282,7 +282,7 @@ export declare const PersonEntitySchema: z.ZodIntersection<z.ZodIntersection<z.Z
|
|
|
282
282
|
effectiveDate: z.ZodDate;
|
|
283
283
|
reason: z.ZodOptional<z.ZodString>;
|
|
284
284
|
changedBy: z.ZodOptional<z.ZodUUID>;
|
|
285
|
-
}, z.core.$strip>>;
|
|
285
|
+
}, z.z.core.$strip>>;
|
|
286
286
|
emergencyContacts: z.ZodArray<z.ZodObject<{
|
|
287
287
|
name: z.ZodString;
|
|
288
288
|
phone: z.ZodString;
|
|
@@ -296,7 +296,7 @@ export declare const PersonEntitySchema: z.ZodIntersection<z.ZodIntersection<z.Z
|
|
|
296
296
|
}>;
|
|
297
297
|
priority: z.ZodNumber;
|
|
298
298
|
availableHours: z.ZodOptional<z.ZodString>;
|
|
299
|
-
}, z.core.$strip>>;
|
|
299
|
+
}, z.z.core.$strip>>;
|
|
300
300
|
documents: z.ZodOptional<z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
|
|
301
301
|
type: z.ZodLiteral<"id_card">;
|
|
302
302
|
number: z.ZodString;
|
|
@@ -305,7 +305,7 @@ export declare const PersonEntitySchema: z.ZodIntersection<z.ZodIntersection<z.Z
|
|
|
305
305
|
expiryDate: z.ZodOptional<z.ZodDate>;
|
|
306
306
|
photoUrl: z.ZodOptional<z.ZodURL>;
|
|
307
307
|
verified: z.ZodDefault<z.ZodBoolean>;
|
|
308
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
308
|
+
}, z.z.core.$strip>, z.ZodObject<{
|
|
309
309
|
type: z.ZodLiteral<"passport">;
|
|
310
310
|
number: z.ZodString;
|
|
311
311
|
country: z.ZodString;
|
|
@@ -317,15 +317,15 @@ export declare const PersonEntitySchema: z.ZodIntersection<z.ZodIntersection<z.Z
|
|
|
317
317
|
type: z.ZodString;
|
|
318
318
|
issueDate: z.ZodDate;
|
|
319
319
|
expiryDate: z.ZodDate;
|
|
320
|
-
}, z.core.$strip>>>;
|
|
321
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
320
|
+
}, z.z.core.$strip>>>;
|
|
321
|
+
}, z.z.core.$strip>, z.ZodObject<{
|
|
322
322
|
type: z.ZodLiteral<"professional">;
|
|
323
323
|
number: z.ZodString;
|
|
324
324
|
category: z.ZodString;
|
|
325
325
|
council: z.ZodString;
|
|
326
326
|
state: z.ZodString;
|
|
327
327
|
validity: z.ZodDate;
|
|
328
|
-
}, z.core.$strip>]>>>;
|
|
328
|
+
}, z.z.core.$strip>]>>>;
|
|
329
329
|
contactInfo: z.ZodObject<{
|
|
330
330
|
email: z.ZodEmail;
|
|
331
331
|
phone: z.ZodString;
|
|
@@ -342,8 +342,8 @@ export declare const PersonEntitySchema: z.ZodIntersection<z.ZodIntersection<z.Z
|
|
|
342
342
|
}>;
|
|
343
343
|
phone: z.ZodString;
|
|
344
344
|
priority: z.ZodNumber;
|
|
345
|
-
}, z.core.$strip>>;
|
|
346
|
-
}, z.core.$strip>;
|
|
345
|
+
}, z.z.core.$strip>>;
|
|
346
|
+
}, z.z.core.$strip>;
|
|
347
347
|
addresses: z.ZodArray<z.ZodObject<{
|
|
348
348
|
street: z.ZodString;
|
|
349
349
|
number: z.ZodString;
|
|
@@ -363,8 +363,8 @@ export declare const PersonEntitySchema: z.ZodIntersection<z.ZodIntersection<z.Z
|
|
|
363
363
|
coordinates: z.ZodOptional<z.ZodObject<{
|
|
364
364
|
lat: z.ZodNumber;
|
|
365
365
|
lng: z.ZodNumber;
|
|
366
|
-
}, z.core.$strip>>;
|
|
367
|
-
}, z.core.$strip>>;
|
|
366
|
+
}, z.z.core.$strip>>;
|
|
367
|
+
}, z.z.core.$strip>>;
|
|
368
368
|
financialInfo: z.ZodOptional<z.ZodObject<{
|
|
369
369
|
bankAccounts: z.ZodArray<z.ZodObject<{
|
|
370
370
|
bankCode: z.ZodString;
|
|
@@ -379,7 +379,7 @@ export declare const PersonEntitySchema: z.ZodIntersection<z.ZodIntersection<z.Z
|
|
|
379
379
|
}>;
|
|
380
380
|
isPrimary: z.ZodBoolean;
|
|
381
381
|
verifiedAt: z.ZodOptional<z.ZodDate>;
|
|
382
|
-
}, z.core.$strip>>;
|
|
382
|
+
}, z.z.core.$strip>>;
|
|
383
383
|
creditScore: z.ZodOptional<z.ZodNumber>;
|
|
384
384
|
incomeRange: z.ZodOptional<z.ZodEnum<{
|
|
385
385
|
A: "A";
|
|
@@ -396,7 +396,7 @@ export declare const PersonEntitySchema: z.ZodIntersection<z.ZodIntersection<z.Z
|
|
|
396
396
|
boleto: "boleto";
|
|
397
397
|
bank_transfer: "bank_transfer";
|
|
398
398
|
}>>;
|
|
399
|
-
}, z.core.$strip>>;
|
|
399
|
+
}, z.z.core.$strip>>;
|
|
400
400
|
healthInfo: z.ZodOptional<z.ZodObject<{
|
|
401
401
|
bloodType: z.ZodOptional<z.ZodEnum<{
|
|
402
402
|
"A+": "A+";
|
|
@@ -414,19 +414,19 @@ export declare const PersonEntitySchema: z.ZodIntersection<z.ZodIntersection<z.Z
|
|
|
414
414
|
dosage: z.ZodString;
|
|
415
415
|
frequency: z.ZodString;
|
|
416
416
|
prescribedBy: z.ZodOptional<z.ZodString>;
|
|
417
|
-
}, z.core.$strip>>>;
|
|
417
|
+
}, z.z.core.$strip>>>;
|
|
418
418
|
disabilities: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
419
419
|
type: z.ZodString;
|
|
420
420
|
description: z.ZodString;
|
|
421
421
|
accommodations: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
422
|
-
}, z.core.$strip>>>;
|
|
422
|
+
}, z.z.core.$strip>>>;
|
|
423
423
|
emergencyMedicalContacts: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
424
424
|
name: z.ZodString;
|
|
425
425
|
relationship: z.ZodString;
|
|
426
426
|
phone: z.ZodString;
|
|
427
427
|
priority: z.ZodNumber;
|
|
428
|
-
}, z.core.$strip>>>;
|
|
429
|
-
}, z.core.$strip>>;
|
|
428
|
+
}, z.z.core.$strip>>>;
|
|
429
|
+
}, z.z.core.$strip>>;
|
|
430
430
|
preferences: z.ZodObject<{
|
|
431
431
|
notification: z.ZodObject<{
|
|
432
432
|
email: z.ZodDefault<z.ZodBoolean>;
|
|
@@ -438,7 +438,7 @@ export declare const PersonEntitySchema: z.ZodIntersection<z.ZodIntersection<z.Z
|
|
|
438
438
|
weekly: "weekly";
|
|
439
439
|
daily: "daily";
|
|
440
440
|
}>>;
|
|
441
|
-
}, z.core.$strip>;
|
|
441
|
+
}, z.z.core.$strip>;
|
|
442
442
|
privacy: z.ZodObject<{
|
|
443
443
|
profileVisible: z.ZodDefault<z.ZodBoolean>;
|
|
444
444
|
searchable: z.ZodDefault<z.ZodBoolean>;
|
|
@@ -449,7 +449,7 @@ export declare const PersonEntitySchema: z.ZodIntersection<z.ZodIntersection<z.Z
|
|
|
449
449
|
essential: "essential";
|
|
450
450
|
all: "all";
|
|
451
451
|
}>>;
|
|
452
|
-
}, z.core.$strip>;
|
|
452
|
+
}, z.z.core.$strip>;
|
|
453
453
|
language: z.ZodDefault<z.ZodString>;
|
|
454
454
|
timeFormat: z.ZodDefault<z.ZodEnum<{
|
|
455
455
|
"12h": "12h";
|
|
@@ -460,7 +460,7 @@ export declare const PersonEntitySchema: z.ZodIntersection<z.ZodIntersection<z.Z
|
|
|
460
460
|
"MM/DD/YYYY": "MM/DD/YYYY";
|
|
461
461
|
"YYYY-MM-DD": "YYYY-MM-DD";
|
|
462
462
|
}>>;
|
|
463
|
-
}, z.core.$strip>;
|
|
463
|
+
}, z.z.core.$strip>;
|
|
464
464
|
roleSpecificMetadata: z.ZodOptional<z.ZodUnion<readonly [z.ZodObject<{
|
|
465
465
|
advisorId: z.ZodOptional<z.ZodUUID>;
|
|
466
466
|
thesisTitle: z.ZodOptional<z.ZodString>;
|
|
@@ -469,8 +469,8 @@ export declare const PersonEntitySchema: z.ZodIntersection<z.ZodIntersection<z.Z
|
|
|
469
469
|
title: z.ZodString;
|
|
470
470
|
year: z.ZodNumber;
|
|
471
471
|
venue: z.ZodOptional<z.ZodString>;
|
|
472
|
-
}, z.core.$strip>>>;
|
|
473
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
472
|
+
}, z.z.core.$strip>>>;
|
|
473
|
+
}, z.z.core.$strip>, z.ZodObject<{
|
|
474
474
|
researchInterests: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
475
475
|
publicationsCount: z.ZodNumber;
|
|
476
476
|
grants: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
@@ -479,9 +479,9 @@ export declare const PersonEntitySchema: z.ZodIntersection<z.ZodIntersection<z.Z
|
|
|
479
479
|
fundingAgency: z.ZodString;
|
|
480
480
|
amount: z.ZodNumber;
|
|
481
481
|
period: z.ZodString;
|
|
482
|
-
}, z.core.$strip>>>;
|
|
482
|
+
}, z.z.core.$strip>>>;
|
|
483
483
|
officeLocation: z.ZodString;
|
|
484
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
484
|
+
}, z.z.core.$strip>, z.ZodObject<{
|
|
485
485
|
budgetResponsibility: z.ZodOptional<z.ZodNumber>;
|
|
486
486
|
teamSize: z.ZodNumber;
|
|
487
487
|
projects: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
@@ -493,8 +493,8 @@ export declare const PersonEntitySchema: z.ZodIntersection<z.ZodIntersection<z.Z
|
|
|
493
493
|
planning: "planning";
|
|
494
494
|
}>;
|
|
495
495
|
deadline: z.ZodOptional<z.ZodDate>;
|
|
496
|
-
}, z.core.$strip>>>;
|
|
497
|
-
}, z.core.$strip>]>>;
|
|
496
|
+
}, z.z.core.$strip>>>;
|
|
497
|
+
}, z.z.core.$strip>]>>;
|
|
498
498
|
academicHistory: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
499
499
|
enrollmentId: z.ZodString;
|
|
500
500
|
semester: z.ZodString;
|
|
@@ -519,14 +519,14 @@ export declare const PersonEntitySchema: z.ZodIntersection<z.ZodIntersection<z.Z
|
|
|
519
519
|
startTime: z.ZodString;
|
|
520
520
|
endTime: z.ZodString;
|
|
521
521
|
room: z.ZodOptional<z.ZodString>;
|
|
522
|
-
}, z.core.$strip>;
|
|
522
|
+
}, z.z.core.$strip>;
|
|
523
523
|
status: z.ZodEnum<{
|
|
524
524
|
active: "active";
|
|
525
525
|
inactive: "inactive";
|
|
526
526
|
completed: "completed";
|
|
527
527
|
cancelled: "cancelled";
|
|
528
528
|
}>;
|
|
529
|
-
}, z.core.$strip>;
|
|
529
|
+
}, z.z.core.$strip>;
|
|
530
530
|
grade: z.ZodOptional<z.ZodNumber>;
|
|
531
531
|
status: z.ZodEnum<{
|
|
532
532
|
enrolled: "enrolled";
|
|
@@ -535,8 +535,8 @@ export declare const PersonEntitySchema: z.ZodIntersection<z.ZodIntersection<z.Z
|
|
|
535
535
|
dropped: "dropped";
|
|
536
536
|
}>;
|
|
537
537
|
attendance: z.ZodOptional<z.ZodNumber>;
|
|
538
|
-
}, z.core.$strip>>;
|
|
539
|
-
}, z.core.$strip>>>;
|
|
538
|
+
}, z.z.core.$strip>>;
|
|
539
|
+
}, z.z.core.$strip>>>;
|
|
540
540
|
system: z.ZodObject<{
|
|
541
541
|
isVerified: z.ZodDefault<z.ZodBoolean>;
|
|
542
542
|
verificationLevel: z.ZodDefault<z.ZodNumber>;
|
|
@@ -550,14 +550,14 @@ export declare const PersonEntitySchema: z.ZodIntersection<z.ZodIntersection<z.Z
|
|
|
550
550
|
fraud_risk: "fraud_risk";
|
|
551
551
|
legacy: "legacy";
|
|
552
552
|
}>>>;
|
|
553
|
-
}, z.core.$strip>;
|
|
554
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
553
|
+
}, z.z.core.$strip>;
|
|
554
|
+
}, z.z.core.$strip>, z.ZodObject<{
|
|
555
555
|
id: z.ZodUUID;
|
|
556
556
|
createdAt: z.ZodDate;
|
|
557
557
|
updatedAt: z.ZodOptional<z.ZodDate>;
|
|
558
558
|
deletedAt: z.ZodNullable<z.ZodOptional<z.ZodDate>>;
|
|
559
559
|
version: z.ZodDefault<z.ZodNumber>;
|
|
560
|
-
}, z.core.$strip>>, z.ZodObject<{
|
|
560
|
+
}, z.z.core.$strip>>, z.ZodObject<{
|
|
561
561
|
createdBy: z.ZodUUID;
|
|
562
562
|
updatedBy: z.ZodOptional<z.ZodUUID>;
|
|
563
563
|
deletedBy: z.ZodNullable<z.ZodOptional<z.ZodUUID>>;
|
|
@@ -571,5 +571,5 @@ export declare const PersonEntitySchema: z.ZodIntersection<z.ZodIntersection<z.Z
|
|
|
571
571
|
}>;
|
|
572
572
|
userId: z.ZodUUID;
|
|
573
573
|
changes: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
|
574
|
-
}, z.core.$strip>>>;
|
|
575
|
-
}, z.core.$strip>>;
|
|
574
|
+
}, z.z.core.$strip>>>;
|
|
575
|
+
}, z.z.core.$strip>>;
|