@nyig/models 0.3.6 → 0.3.7

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
@@ -1159,6 +1159,7 @@ declare const zBCourse: z.ZodObject<{
1159
1159
  * Camp tuition for full-day option
1160
1160
  */
1161
1161
  fullCampTuition: z.ZodOptional<z.ZodNumber>;
1162
+ superadminOnly: z.ZodOptional<z.ZodBoolean>;
1162
1163
  }, "strip", z.ZodTypeAny, {
1163
1164
  name: string;
1164
1165
  price: number;
@@ -1169,6 +1170,7 @@ declare const zBCourse: z.ZodObject<{
1169
1170
  recLevel?: string | undefined;
1170
1171
  halfCampTuition?: number | undefined;
1171
1172
  fullCampTuition?: number | undefined;
1173
+ superadminOnly?: boolean | undefined;
1172
1174
  }, {
1173
1175
  name: string;
1174
1176
  price: number;
@@ -1179,6 +1181,7 @@ declare const zBCourse: z.ZodObject<{
1179
1181
  recLevel?: string | undefined;
1180
1182
  halfCampTuition?: number | undefined;
1181
1183
  fullCampTuition?: number | undefined;
1184
+ superadminOnly?: boolean | undefined;
1182
1185
  }>;
1183
1186
  declare const zCourse: z.ZodObject<{
1184
1187
  name: z.ZodString;
@@ -1190,6 +1193,7 @@ declare const zCourse: z.ZodObject<{
1190
1193
  recLevel: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodLiteral<"">]>>;
1191
1194
  halfCampTuition: z.ZodOptional<z.ZodNumber>;
1192
1195
  fullCampTuition: z.ZodOptional<z.ZodNumber>;
1196
+ superadminOnly: z.ZodOptional<z.ZodBoolean>;
1193
1197
  _id: z.ZodString;
1194
1198
  editedBy: z.ZodOptional<z.ZodString>;
1195
1199
  createdAt: z.ZodOptional<z.ZodString>;
@@ -1205,6 +1209,7 @@ declare const zCourse: z.ZodObject<{
1205
1209
  recLevel?: string | undefined;
1206
1210
  halfCampTuition?: number | undefined;
1207
1211
  fullCampTuition?: number | undefined;
1212
+ superadminOnly?: boolean | undefined;
1208
1213
  editedBy?: string | undefined;
1209
1214
  createdAt?: string | undefined;
1210
1215
  updatedAt?: string | undefined;
@@ -1219,6 +1224,7 @@ declare const zCourse: z.ZodObject<{
1219
1224
  recLevel?: string | undefined;
1220
1225
  halfCampTuition?: number | undefined;
1221
1226
  fullCampTuition?: number | undefined;
1227
+ superadminOnly?: boolean | undefined;
1222
1228
  editedBy?: string | undefined;
1223
1229
  createdAt?: string | undefined;
1224
1230
  updatedAt?: string | undefined;
package/index.d.ts CHANGED
@@ -1159,6 +1159,7 @@ declare const zBCourse: z.ZodObject<{
1159
1159
  * Camp tuition for full-day option
1160
1160
  */
1161
1161
  fullCampTuition: z.ZodOptional<z.ZodNumber>;
1162
+ superadminOnly: z.ZodOptional<z.ZodBoolean>;
1162
1163
  }, "strip", z.ZodTypeAny, {
1163
1164
  name: string;
1164
1165
  price: number;
@@ -1169,6 +1170,7 @@ declare const zBCourse: z.ZodObject<{
1169
1170
  recLevel?: string | undefined;
1170
1171
  halfCampTuition?: number | undefined;
1171
1172
  fullCampTuition?: number | undefined;
1173
+ superadminOnly?: boolean | undefined;
1172
1174
  }, {
1173
1175
  name: string;
1174
1176
  price: number;
@@ -1179,6 +1181,7 @@ declare const zBCourse: z.ZodObject<{
1179
1181
  recLevel?: string | undefined;
1180
1182
  halfCampTuition?: number | undefined;
1181
1183
  fullCampTuition?: number | undefined;
1184
+ superadminOnly?: boolean | undefined;
1182
1185
  }>;
1183
1186
  declare const zCourse: z.ZodObject<{
1184
1187
  name: z.ZodString;
@@ -1190,6 +1193,7 @@ declare const zCourse: z.ZodObject<{
1190
1193
  recLevel: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodLiteral<"">]>>;
1191
1194
  halfCampTuition: z.ZodOptional<z.ZodNumber>;
1192
1195
  fullCampTuition: z.ZodOptional<z.ZodNumber>;
1196
+ superadminOnly: z.ZodOptional<z.ZodBoolean>;
1193
1197
  _id: z.ZodString;
1194
1198
  editedBy: z.ZodOptional<z.ZodString>;
1195
1199
  createdAt: z.ZodOptional<z.ZodString>;
@@ -1205,6 +1209,7 @@ declare const zCourse: z.ZodObject<{
1205
1209
  recLevel?: string | undefined;
1206
1210
  halfCampTuition?: number | undefined;
1207
1211
  fullCampTuition?: number | undefined;
1212
+ superadminOnly?: boolean | undefined;
1208
1213
  editedBy?: string | undefined;
1209
1214
  createdAt?: string | undefined;
1210
1215
  updatedAt?: string | undefined;
@@ -1219,6 +1224,7 @@ declare const zCourse: z.ZodObject<{
1219
1224
  recLevel?: string | undefined;
1220
1225
  halfCampTuition?: number | undefined;
1221
1226
  fullCampTuition?: number | undefined;
1227
+ superadminOnly?: boolean | undefined;
1222
1228
  editedBy?: string | undefined;
1223
1229
  createdAt?: string | undefined;
1224
1230
  updatedAt?: string | undefined;
package/index.js CHANGED
@@ -516,7 +516,8 @@ var zBCourse = import_zod16.z.object({
516
516
  /**
517
517
  * Camp tuition for full-day option
518
518
  */
519
- fullCampTuition: import_zod16.z.coerce.number().int("Tuition must be a whole number in cents").min(1, "Tuition must not be less than or equal to 0").optional()
519
+ fullCampTuition: import_zod16.z.coerce.number().int("Tuition must be a whole number in cents").min(1, "Tuition must not be less than or equal to 0").optional(),
520
+ superadminOnly: import_zod16.z.boolean().optional()
520
521
  });
521
522
  var zCourse = addAutoProps(zBCourse);
522
523
 
package/index.mjs CHANGED
@@ -417,7 +417,8 @@ var zBCourse = z16.object({
417
417
  /**
418
418
  * Camp tuition for full-day option
419
419
  */
420
- fullCampTuition: z16.coerce.number().int("Tuition must be a whole number in cents").min(1, "Tuition must not be less than or equal to 0").optional()
420
+ fullCampTuition: z16.coerce.number().int("Tuition must be a whole number in cents").min(1, "Tuition must not be less than or equal to 0").optional(),
421
+ superadminOnly: z16.boolean().optional()
421
422
  });
422
423
  var zCourse = addAutoProps(zBCourse);
423
424
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@nyig/models",
3
- "version": "0.3.6",
3
+ "version": "0.3.7",
4
4
  "license": "MIT",
5
5
  "main": "index.js",
6
6
  "module": "index.mjs",