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