@nyig/models 0.3.10 → 0.3.12
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/index.d.mts +8 -8
- package/index.d.ts +8 -8
- package/index.js +2 -2
- package/index.mjs +2 -2
- package/package.json +1 -1
package/index.d.mts
CHANGED
|
@@ -1241,7 +1241,7 @@ declare const zCampTrackerRequest: z.ZodObject<{
|
|
|
1241
1241
|
occurrences: z.ZodArray<z.ZodString, "many">;
|
|
1242
1242
|
publicDescription: z.ZodOptional<z.ZodString>;
|
|
1243
1243
|
isNonPublic: z.ZodOptional<z.ZodBoolean>;
|
|
1244
|
-
attendances: z.ZodObject<{
|
|
1244
|
+
attendances: z.ZodArray<z.ZodObject<{
|
|
1245
1245
|
editedBy: z.ZodOptional<z.ZodString>;
|
|
1246
1246
|
createdAt: z.ZodOptional<z.ZodString>;
|
|
1247
1247
|
updatedAt: z.ZodOptional<z.ZodString>;
|
|
@@ -1291,7 +1291,7 @@ declare const zCampTrackerRequest: z.ZodObject<{
|
|
|
1291
1291
|
paid?: boolean | undefined;
|
|
1292
1292
|
campOption?: CampOption | undefined;
|
|
1293
1293
|
_id?: string | undefined;
|
|
1294
|
-
}>;
|
|
1294
|
+
}>, "many">;
|
|
1295
1295
|
}, z.UnknownKeysParam, z.ZodTypeAny, {
|
|
1296
1296
|
_id: string;
|
|
1297
1297
|
course: string;
|
|
@@ -1312,7 +1312,7 @@ declare const zCampTrackerRequest: z.ZodObject<{
|
|
|
1312
1312
|
paid?: boolean | undefined;
|
|
1313
1313
|
campOption?: CampOption | undefined;
|
|
1314
1314
|
_id?: string | undefined;
|
|
1315
|
-
};
|
|
1315
|
+
}[];
|
|
1316
1316
|
notes?: string | undefined;
|
|
1317
1317
|
editedBy?: string | undefined;
|
|
1318
1318
|
createdAt?: string | undefined;
|
|
@@ -1339,7 +1339,7 @@ declare const zCampTrackerRequest: z.ZodObject<{
|
|
|
1339
1339
|
paid?: boolean | undefined;
|
|
1340
1340
|
campOption?: CampOption | undefined;
|
|
1341
1341
|
_id?: string | undefined;
|
|
1342
|
-
};
|
|
1342
|
+
}[];
|
|
1343
1343
|
notes?: string | undefined;
|
|
1344
1344
|
editedBy?: string | undefined;
|
|
1345
1345
|
createdAt?: string | undefined;
|
|
@@ -1517,7 +1517,7 @@ declare const zCampTrackerResponse: z.ZodObject<{
|
|
|
1517
1517
|
createdAt?: string | undefined;
|
|
1518
1518
|
updatedAt?: string | undefined;
|
|
1519
1519
|
}>;
|
|
1520
|
-
attendances: z.ZodObject<{
|
|
1520
|
+
attendances: z.ZodArray<z.ZodObject<{
|
|
1521
1521
|
student: z.ZodString;
|
|
1522
1522
|
states: z.ZodArray<z.ZodNativeEnum<typeof AttendState>, "many">;
|
|
1523
1523
|
tuition: z.ZodOptional<z.ZodObject<{
|
|
@@ -1567,7 +1567,7 @@ declare const zCampTrackerResponse: z.ZodObject<{
|
|
|
1567
1567
|
editedBy?: string | undefined;
|
|
1568
1568
|
createdAt?: string | undefined;
|
|
1569
1569
|
updatedAt?: string | undefined;
|
|
1570
|
-
}>;
|
|
1570
|
+
}>, "many">;
|
|
1571
1571
|
}, z.UnknownKeysParam, z.ZodTypeAny, {
|
|
1572
1572
|
_id: string;
|
|
1573
1573
|
course: {
|
|
@@ -1638,7 +1638,7 @@ declare const zCampTrackerResponse: z.ZodObject<{
|
|
|
1638
1638
|
editedBy?: string | undefined;
|
|
1639
1639
|
createdAt?: string | undefined;
|
|
1640
1640
|
updatedAt?: string | undefined;
|
|
1641
|
-
};
|
|
1641
|
+
}[];
|
|
1642
1642
|
notes?: string | undefined;
|
|
1643
1643
|
editedBy?: string | undefined;
|
|
1644
1644
|
createdAt?: string | undefined;
|
|
@@ -1715,7 +1715,7 @@ declare const zCampTrackerResponse: z.ZodObject<{
|
|
|
1715
1715
|
editedBy?: string | undefined;
|
|
1716
1716
|
createdAt?: string | undefined;
|
|
1717
1717
|
updatedAt?: string | undefined;
|
|
1718
|
-
};
|
|
1718
|
+
}[];
|
|
1719
1719
|
notes?: string | undefined;
|
|
1720
1720
|
editedBy?: string | undefined;
|
|
1721
1721
|
createdAt?: string | undefined;
|
package/index.d.ts
CHANGED
|
@@ -1241,7 +1241,7 @@ declare const zCampTrackerRequest: z.ZodObject<{
|
|
|
1241
1241
|
occurrences: z.ZodArray<z.ZodString, "many">;
|
|
1242
1242
|
publicDescription: z.ZodOptional<z.ZodString>;
|
|
1243
1243
|
isNonPublic: z.ZodOptional<z.ZodBoolean>;
|
|
1244
|
-
attendances: z.ZodObject<{
|
|
1244
|
+
attendances: z.ZodArray<z.ZodObject<{
|
|
1245
1245
|
editedBy: z.ZodOptional<z.ZodString>;
|
|
1246
1246
|
createdAt: z.ZodOptional<z.ZodString>;
|
|
1247
1247
|
updatedAt: z.ZodOptional<z.ZodString>;
|
|
@@ -1291,7 +1291,7 @@ declare const zCampTrackerRequest: z.ZodObject<{
|
|
|
1291
1291
|
paid?: boolean | undefined;
|
|
1292
1292
|
campOption?: CampOption | undefined;
|
|
1293
1293
|
_id?: string | undefined;
|
|
1294
|
-
}>;
|
|
1294
|
+
}>, "many">;
|
|
1295
1295
|
}, z.UnknownKeysParam, z.ZodTypeAny, {
|
|
1296
1296
|
_id: string;
|
|
1297
1297
|
course: string;
|
|
@@ -1312,7 +1312,7 @@ declare const zCampTrackerRequest: z.ZodObject<{
|
|
|
1312
1312
|
paid?: boolean | undefined;
|
|
1313
1313
|
campOption?: CampOption | undefined;
|
|
1314
1314
|
_id?: string | undefined;
|
|
1315
|
-
};
|
|
1315
|
+
}[];
|
|
1316
1316
|
notes?: string | undefined;
|
|
1317
1317
|
editedBy?: string | undefined;
|
|
1318
1318
|
createdAt?: string | undefined;
|
|
@@ -1339,7 +1339,7 @@ declare const zCampTrackerRequest: z.ZodObject<{
|
|
|
1339
1339
|
paid?: boolean | undefined;
|
|
1340
1340
|
campOption?: CampOption | undefined;
|
|
1341
1341
|
_id?: string | undefined;
|
|
1342
|
-
};
|
|
1342
|
+
}[];
|
|
1343
1343
|
notes?: string | undefined;
|
|
1344
1344
|
editedBy?: string | undefined;
|
|
1345
1345
|
createdAt?: string | undefined;
|
|
@@ -1517,7 +1517,7 @@ declare const zCampTrackerResponse: z.ZodObject<{
|
|
|
1517
1517
|
createdAt?: string | undefined;
|
|
1518
1518
|
updatedAt?: string | undefined;
|
|
1519
1519
|
}>;
|
|
1520
|
-
attendances: z.ZodObject<{
|
|
1520
|
+
attendances: z.ZodArray<z.ZodObject<{
|
|
1521
1521
|
student: z.ZodString;
|
|
1522
1522
|
states: z.ZodArray<z.ZodNativeEnum<typeof AttendState>, "many">;
|
|
1523
1523
|
tuition: z.ZodOptional<z.ZodObject<{
|
|
@@ -1567,7 +1567,7 @@ declare const zCampTrackerResponse: z.ZodObject<{
|
|
|
1567
1567
|
editedBy?: string | undefined;
|
|
1568
1568
|
createdAt?: string | undefined;
|
|
1569
1569
|
updatedAt?: string | undefined;
|
|
1570
|
-
}>;
|
|
1570
|
+
}>, "many">;
|
|
1571
1571
|
}, z.UnknownKeysParam, z.ZodTypeAny, {
|
|
1572
1572
|
_id: string;
|
|
1573
1573
|
course: {
|
|
@@ -1638,7 +1638,7 @@ declare const zCampTrackerResponse: z.ZodObject<{
|
|
|
1638
1638
|
editedBy?: string | undefined;
|
|
1639
1639
|
createdAt?: string | undefined;
|
|
1640
1640
|
updatedAt?: string | undefined;
|
|
1641
|
-
};
|
|
1641
|
+
}[];
|
|
1642
1642
|
notes?: string | undefined;
|
|
1643
1643
|
editedBy?: string | undefined;
|
|
1644
1644
|
createdAt?: string | undefined;
|
|
@@ -1715,7 +1715,7 @@ declare const zCampTrackerResponse: z.ZodObject<{
|
|
|
1715
1715
|
editedBy?: string | undefined;
|
|
1716
1716
|
createdAt?: string | undefined;
|
|
1717
1717
|
updatedAt?: string | undefined;
|
|
1718
|
-
};
|
|
1718
|
+
}[];
|
|
1719
1719
|
notes?: string | undefined;
|
|
1720
1720
|
editedBy?: string | undefined;
|
|
1721
1721
|
createdAt?: string | undefined;
|
package/index.js
CHANGED
|
@@ -460,13 +460,13 @@ var zBCampTracker = import_zod13.z.object({
|
|
|
460
460
|
});
|
|
461
461
|
var zCampTracker = addAutoProps(zBCampTracker);
|
|
462
462
|
var zCampTrackerRequest = zCampTracker.extend({
|
|
463
|
-
attendances: zAttendanceRequest
|
|
463
|
+
attendances: import_zod13.z.array(zAttendanceRequest)
|
|
464
464
|
});
|
|
465
465
|
var zCampTrackerResponse = zCampTracker.extend({
|
|
466
466
|
course: zCourse,
|
|
467
467
|
teacher: zTeacher,
|
|
468
468
|
semester: zSemester,
|
|
469
|
-
attendances: zAttendance
|
|
469
|
+
attendances: import_zod13.z.array(zAttendance)
|
|
470
470
|
});
|
|
471
471
|
|
|
472
472
|
// src/interface/tracking/classTracker.ts
|
package/index.mjs
CHANGED
|
@@ -357,13 +357,13 @@ var zBCampTracker = z13.object({
|
|
|
357
357
|
});
|
|
358
358
|
var zCampTracker = addAutoProps(zBCampTracker);
|
|
359
359
|
var zCampTrackerRequest = zCampTracker.extend({
|
|
360
|
-
attendances: zAttendanceRequest
|
|
360
|
+
attendances: z13.array(zAttendanceRequest)
|
|
361
361
|
});
|
|
362
362
|
var zCampTrackerResponse = zCampTracker.extend({
|
|
363
363
|
course: zCourse,
|
|
364
364
|
teacher: zTeacher,
|
|
365
365
|
semester: zSemester,
|
|
366
|
-
attendances: zAttendance
|
|
366
|
+
attendances: z13.array(zAttendance)
|
|
367
367
|
});
|
|
368
368
|
|
|
369
369
|
// src/interface/tracking/classTracker.ts
|