@nyig/models 0.3.10 → 0.3.11

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 CHANGED
@@ -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
@@ -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
@@ -466,7 +466,7 @@ 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
@@ -363,7 +363,7 @@ 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
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@nyig/models",
3
- "version": "0.3.10",
3
+ "version": "0.3.11",
4
4
  "license": "MIT",
5
5
  "main": "index.js",
6
6
  "module": "index.mjs",