@nyig/models 0.6.4 → 0.6.5

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.
Files changed (5) hide show
  1. package/index.d.mts +115 -221
  2. package/index.d.ts +115 -221
  3. package/index.js +101 -90
  4. package/index.mjs +101 -90
  5. package/package.json +1 -1
package/index.js CHANGED
@@ -181,7 +181,7 @@ var AttendState = /* @__PURE__ */ ((AttendState2) => {
181
181
  })(AttendState || {});
182
182
 
183
183
  // src/interface/tracking/attendance.ts
184
- var import_zod11 = require("zod");
184
+ var import_zod12 = require("zod");
185
185
 
186
186
  // src/interface/payment/tuition.ts
187
187
  var import_zod3 = require("zod");
@@ -303,8 +303,6 @@ var zUserProfile = addAutoProps(zBUserProfile);
303
303
  // src/interface/user/user.ts
304
304
  var zBUser = import_zod7.z.object({
305
305
  name: import_zod7.z.string().min(2).max(100),
306
- username: import_zod7.z.string().optional(),
307
- password: import_zod7.z.string().optional(),
308
306
  roles: zUserRoles.optional(),
309
307
  email: import_zod7.z.string().max(100).email().or(import_zod7.z.literal("")).optional(),
310
308
  address: import_zod7.z.string().or(import_zod7.z.literal("")).optional(),
@@ -337,30 +335,96 @@ var zBStudent = zBUser.extend({
337
335
  var zStudent = addAutoProps(zBStudent);
338
336
 
339
337
  // src/interface/user/teacher.ts
338
+ var import_zod10 = require("zod");
339
+
340
+ // src/interface/course/ageGroup.ts
341
+ var AgeGroup = /* @__PURE__ */ ((AgeGroup2) => {
342
+ AgeGroup2["ADULT"] = "Adult";
343
+ AgeGroup2["YOUTH"] = "Youth";
344
+ return AgeGroup2;
345
+ })(AgeGroup || {});
346
+
347
+ // src/interface/course/category.ts
348
+ var CourseCategory = /* @__PURE__ */ ((CourseCategory2) => {
349
+ CourseCategory2["GROUP"] = "group";
350
+ CourseCategory2["PRIVATE"] = "private";
351
+ CourseCategory2["SEMIPRIVATE"] = "semiprivate";
352
+ CourseCategory2["CAMP"] = "camp";
353
+ CourseCategory2["EVENT"] = "event";
354
+ return CourseCategory2;
355
+ })(CourseCategory || {});
356
+
357
+ // src/interface/course/school.ts
358
+ var NYIGSchool = /* @__PURE__ */ ((NYIGSchool2) => {
359
+ NYIGSchool2["MANHATTAN"] = "Manhattan";
360
+ NYIGSchool2["LITTLENECK"] = "Little Neck";
361
+ NYIGSchool2["ONLINE"] = "Online";
362
+ return NYIGSchool2;
363
+ })(NYIGSchool || {});
364
+
365
+ // src/interface/course/course.ts
340
366
  var import_zod9 = require("zod");
367
+ var zBCourse = import_zod9.z.object({
368
+ name: import_zod9.z.string(),
369
+ category: import_zod9.z.nativeEnum(CourseCategory),
370
+ /**
371
+ * @unit SECONDS - Duration of the course in seconds
372
+ */
373
+ duration: import_zod9.z.coerce.number().int("Duration in seconds must be a whole number").min(1, "Duration in seconds must not be less than or equal to 0"),
374
+ /**
375
+ * @unit CENTS - Price of the course in cents
376
+ */
377
+ price: import_zod9.z.coerce.number().int("Tuition must be a whole number in cents").min(1, "Tuition must not be less than or equal to 0"),
378
+ description: import_zod9.z.string().or(import_zod9.z.literal("")).optional(),
379
+ /**
380
+ * NYIG School location
381
+ * @deprecated
382
+ */
383
+ nyigSchool: import_zod9.z.nativeEnum(NYIGSchool).optional(),
384
+ /**
385
+ * NYIG School locations the course is offered at
386
+ */
387
+ schools: import_zod9.z.array(import_zod9.z.nativeEnum(NYIGSchool)).optional(),
388
+ /**
389
+ * Recommended level before taking this course
390
+ */
391
+ recLevel: import_zod9.z.string().or(import_zod9.z.literal("")).optional(),
392
+ /**
393
+ * Camp tuition for half-day option
394
+ */
395
+ halfCampTuition: import_zod9.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(),
396
+ /**
397
+ * Camp tuition for full-day option
398
+ */
399
+ fullCampTuition: import_zod9.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(),
400
+ superadminOnly: import_zod9.z.boolean().optional()
401
+ });
402
+ var zCourse = addAutoProps(zBCourse);
403
+
404
+ // src/interface/user/teacher.ts
341
405
  var zBTeacher = zBUser.extend({
342
- rank: import_zod9.z.nativeEnum(GoRank),
406
+ rank: import_zod10.z.nativeEnum(GoRank),
343
407
  /**
344
408
  * Inactive teachers are not shown on public endpoints
345
409
  */
346
- isInactive: import_zod9.z.boolean().optional(),
410
+ isInactive: import_zod10.z.boolean().optional(),
347
411
  /**
348
412
  * If true, teacher is never available for booking
349
413
  */
350
- doesNotTeachPrivateLessons: import_zod9.z.boolean().optional(),
414
+ doesNotTeachPrivateLessons: import_zod10.z.boolean().optional(),
351
415
  /**
352
416
  * Teacher's position, e.g., instructor, president
353
417
  */
354
- title: import_zod9.z.string().optional(),
418
+ title: import_zod10.z.string().optional(),
355
419
  /**
356
420
  * Teacher's bio text describing experience
357
421
  * new lines will be rendered as paragraphs
358
422
  */
359
- bio: import_zod9.z.string().optional(),
423
+ bio: import_zod10.z.string().optional(),
360
424
  /**
361
425
  * Permanent URL of the image
362
426
  */
363
- imageUrl: import_zod9.z.string().optional(),
427
+ imageUrl: import_zod10.z.string().optional(),
364
428
  /** Format is illustrated below, where teacher is available
365
429
  * Mon 9-12am 3-6pm & Tue 10-12am 6-10pm
366
430
  * [
@@ -373,47 +437,52 @@ var zBTeacher = zBUser.extend({
373
437
  * [],
374
438
  * ]
375
439
  */
376
- available: import_zod9.z.array(import_zod9.z.array(import_zod9.z.array(import_zod9.z.number()))).optional()
440
+ available: import_zod10.z.array(import_zod10.z.array(import_zod10.z.array(import_zod10.z.number()))).optional(),
441
+ /**
442
+ * Schools the teacher is affiliated with
443
+ * Required for showing on the aurora "about" page
444
+ */
445
+ schools: import_zod10.z.array(import_zod10.z.nativeEnum(NYIGSchool)).optional()
377
446
  });
378
447
  var zTeacher = addAutoProps(zBTeacher);
379
- var zTeacherResponse = zTeacher.omit({ password: true, roles: true, editedBy: true, updatedAt: true, createdAt: true }).extend({
380
- role: import_zod9.z.number().int()
448
+ var zTeacherResponse = zTeacher.omit({ roles: true, editedBy: true, updatedAt: true, createdAt: true }).extend({
449
+ role: import_zod10.z.number().int()
381
450
  });
382
451
 
383
452
  // src/interface/user/auth.ts
384
- var import_zod10 = require("zod");
385
- var zCreateAdminAccountRequest = import_zod10.z.object({
386
- _id: import_zod10.z.string(),
387
- user: import_zod10.z.string().min(3, "Username must be at least 3 characters"),
388
- pwd: import_zod10.z.string().min(6)
453
+ var import_zod11 = require("zod");
454
+ var zCreateAdminAccountRequest = import_zod11.z.object({
455
+ _id: import_zod11.z.string(),
456
+ user: import_zod11.z.string().min(3, "Username must be at least 3 characters"),
457
+ pwd: import_zod11.z.string().min(6)
389
458
  });
390
- var zChangePasswordRequest = import_zod10.z.object({
391
- prev: import_zod10.z.string().min(6),
392
- next: import_zod10.z.string().min(6)
459
+ var zChangePasswordRequest = import_zod11.z.object({
460
+ prev: import_zod11.z.string().min(6),
461
+ next: import_zod11.z.string().min(6)
393
462
  });
394
- var zLoginRequest = import_zod10.z.object({
395
- user: import_zod10.z.string().min(3, "Username must be at least 3 characters"),
396
- pwd: import_zod10.z.string().min(6)
463
+ var zLoginRequest = import_zod11.z.object({
464
+ user: import_zod11.z.string().min(3, "Username must be at least 3 characters"),
465
+ pwd: import_zod11.z.string().min(6)
397
466
  });
398
- var zLoginResponse = import_zod10.z.object({
399
- user: import_zod10.z.string(),
400
- token: import_zod10.z.string()
467
+ var zLoginResponse = import_zod11.z.object({
468
+ user: import_zod11.z.string(),
469
+ token: import_zod11.z.string()
401
470
  });
402
471
 
403
472
  // src/interface/tracking/attendance.ts
404
- var zBAttendance = import_zod11.z.object({
405
- student: import_zod11.z.string(),
406
- states: import_zod11.z.array(import_zod11.z.nativeEnum(AttendState)),
473
+ var zBAttendance = import_zod12.z.object({
474
+ student: import_zod12.z.string(),
475
+ states: import_zod12.z.array(import_zod12.z.nativeEnum(AttendState)),
407
476
  /**
408
477
  * @deprecated This field is no longer used
409
478
  */
410
479
  tuition: zTuition.optional(),
411
- paid: import_zod11.z.boolean().optional(),
412
- campOption: import_zod11.z.nativeEnum(CampOption).optional()
480
+ paid: import_zod12.z.boolean().optional(),
481
+ campOption: import_zod12.z.nativeEnum(CampOption).optional()
413
482
  });
414
483
  var zAttendance = addAutoProps(zBAttendance);
415
484
  var zAttendanceRequest = zAttendance.extend({
416
- _id: import_zod11.z.string().optional()
485
+ _id: import_zod12.z.string().optional()
417
486
  });
418
487
  var zAttendanceResponse = zAttendance.extend({
419
488
  student: zStudent
@@ -422,64 +491,6 @@ var zAttendanceResponse = zAttendance.extend({
422
491
  // src/interface/tracking/campTracker.ts
423
492
  var import_zod14 = require("zod");
424
493
 
425
- // src/interface/course/ageGroup.ts
426
- var AgeGroup = /* @__PURE__ */ ((AgeGroup2) => {
427
- AgeGroup2["ADULT"] = "Adult";
428
- AgeGroup2["YOUTH"] = "Youth";
429
- return AgeGroup2;
430
- })(AgeGroup || {});
431
-
432
- // src/interface/course/category.ts
433
- var CourseCategory = /* @__PURE__ */ ((CourseCategory2) => {
434
- CourseCategory2["GROUP"] = "group";
435
- CourseCategory2["PRIVATE"] = "private";
436
- CourseCategory2["SEMIPRIVATE"] = "semiprivate";
437
- CourseCategory2["CAMP"] = "camp";
438
- CourseCategory2["EVENT"] = "event";
439
- return CourseCategory2;
440
- })(CourseCategory || {});
441
-
442
- // src/interface/course/school.ts
443
- var NYIGSchool = /* @__PURE__ */ ((NYIGSchool2) => {
444
- NYIGSchool2["MANHATTAN"] = "Manhattan";
445
- NYIGSchool2["LITTLENECK"] = "Little Neck";
446
- return NYIGSchool2;
447
- })(NYIGSchool || {});
448
-
449
- // src/interface/course/course.ts
450
- var import_zod12 = require("zod");
451
- var zBCourse = import_zod12.z.object({
452
- name: import_zod12.z.string(),
453
- category: import_zod12.z.nativeEnum(CourseCategory),
454
- /**
455
- * @unit SECONDS - Duration of the course in seconds
456
- */
457
- duration: import_zod12.z.coerce.number().int("Duration in seconds must be a whole number").min(1, "Duration in seconds must not be less than or equal to 0"),
458
- /**
459
- * @unit CENTS - Price of the course in cents
460
- */
461
- price: import_zod12.z.coerce.number().int("Tuition must be a whole number in cents").min(1, "Tuition must not be less than or equal to 0"),
462
- description: import_zod12.z.string().or(import_zod12.z.literal("")).optional(),
463
- /**
464
- * NYIG School locations
465
- */
466
- nyigSchool: import_zod12.z.nativeEnum(NYIGSchool),
467
- /**
468
- * Recommended level before taking this course
469
- */
470
- recLevel: import_zod12.z.string().or(import_zod12.z.literal("")).optional(),
471
- /**
472
- * Camp tuition for half-day option
473
- */
474
- halfCampTuition: import_zod12.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(),
475
- /**
476
- * Camp tuition for full-day option
477
- */
478
- fullCampTuition: import_zod12.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(),
479
- superadminOnly: import_zod12.z.boolean().optional()
480
- });
481
- var zCourse = addAutoProps(zBCourse);
482
-
483
494
  // src/interface/semester/season.ts
484
495
  var Season = /* @__PURE__ */ ((Season2) => {
485
496
  Season2["FALL"] = "fall";
package/index.mjs CHANGED
@@ -72,7 +72,7 @@ var AttendState = /* @__PURE__ */ ((AttendState2) => {
72
72
  })(AttendState || {});
73
73
 
74
74
  // src/interface/tracking/attendance.ts
75
- import { z as z11 } from "zod";
75
+ import { z as z12 } from "zod";
76
76
 
77
77
  // src/interface/payment/tuition.ts
78
78
  import { z as z3 } from "zod";
@@ -194,8 +194,6 @@ var zUserProfile = addAutoProps(zBUserProfile);
194
194
  // src/interface/user/user.ts
195
195
  var zBUser = z7.object({
196
196
  name: z7.string().min(2).max(100),
197
- username: z7.string().optional(),
198
- password: z7.string().optional(),
199
197
  roles: zUserRoles.optional(),
200
198
  email: z7.string().max(100).email().or(z7.literal("")).optional(),
201
199
  address: z7.string().or(z7.literal("")).optional(),
@@ -228,30 +226,96 @@ var zBStudent = zBUser.extend({
228
226
  var zStudent = addAutoProps(zBStudent);
229
227
 
230
228
  // src/interface/user/teacher.ts
229
+ import { z as z10 } from "zod";
230
+
231
+ // src/interface/course/ageGroup.ts
232
+ var AgeGroup = /* @__PURE__ */ ((AgeGroup2) => {
233
+ AgeGroup2["ADULT"] = "Adult";
234
+ AgeGroup2["YOUTH"] = "Youth";
235
+ return AgeGroup2;
236
+ })(AgeGroup || {});
237
+
238
+ // src/interface/course/category.ts
239
+ var CourseCategory = /* @__PURE__ */ ((CourseCategory2) => {
240
+ CourseCategory2["GROUP"] = "group";
241
+ CourseCategory2["PRIVATE"] = "private";
242
+ CourseCategory2["SEMIPRIVATE"] = "semiprivate";
243
+ CourseCategory2["CAMP"] = "camp";
244
+ CourseCategory2["EVENT"] = "event";
245
+ return CourseCategory2;
246
+ })(CourseCategory || {});
247
+
248
+ // src/interface/course/school.ts
249
+ var NYIGSchool = /* @__PURE__ */ ((NYIGSchool2) => {
250
+ NYIGSchool2["MANHATTAN"] = "Manhattan";
251
+ NYIGSchool2["LITTLENECK"] = "Little Neck";
252
+ NYIGSchool2["ONLINE"] = "Online";
253
+ return NYIGSchool2;
254
+ })(NYIGSchool || {});
255
+
256
+ // src/interface/course/course.ts
231
257
  import { z as z9 } from "zod";
258
+ var zBCourse = z9.object({
259
+ name: z9.string(),
260
+ category: z9.nativeEnum(CourseCategory),
261
+ /**
262
+ * @unit SECONDS - Duration of the course in seconds
263
+ */
264
+ duration: z9.coerce.number().int("Duration in seconds must be a whole number").min(1, "Duration in seconds must not be less than or equal to 0"),
265
+ /**
266
+ * @unit CENTS - Price of the course in cents
267
+ */
268
+ price: z9.coerce.number().int("Tuition must be a whole number in cents").min(1, "Tuition must not be less than or equal to 0"),
269
+ description: z9.string().or(z9.literal("")).optional(),
270
+ /**
271
+ * NYIG School location
272
+ * @deprecated
273
+ */
274
+ nyigSchool: z9.nativeEnum(NYIGSchool).optional(),
275
+ /**
276
+ * NYIG School locations the course is offered at
277
+ */
278
+ schools: z9.array(z9.nativeEnum(NYIGSchool)).optional(),
279
+ /**
280
+ * Recommended level before taking this course
281
+ */
282
+ recLevel: z9.string().or(z9.literal("")).optional(),
283
+ /**
284
+ * Camp tuition for half-day option
285
+ */
286
+ halfCampTuition: z9.coerce.number().int("Tuition must be a whole number in cents").min(1, "Tuition must not be less than or equal to 0").optional(),
287
+ /**
288
+ * Camp tuition for full-day option
289
+ */
290
+ fullCampTuition: z9.coerce.number().int("Tuition must be a whole number in cents").min(1, "Tuition must not be less than or equal to 0").optional(),
291
+ superadminOnly: z9.boolean().optional()
292
+ });
293
+ var zCourse = addAutoProps(zBCourse);
294
+
295
+ // src/interface/user/teacher.ts
232
296
  var zBTeacher = zBUser.extend({
233
- rank: z9.nativeEnum(GoRank),
297
+ rank: z10.nativeEnum(GoRank),
234
298
  /**
235
299
  * Inactive teachers are not shown on public endpoints
236
300
  */
237
- isInactive: z9.boolean().optional(),
301
+ isInactive: z10.boolean().optional(),
238
302
  /**
239
303
  * If true, teacher is never available for booking
240
304
  */
241
- doesNotTeachPrivateLessons: z9.boolean().optional(),
305
+ doesNotTeachPrivateLessons: z10.boolean().optional(),
242
306
  /**
243
307
  * Teacher's position, e.g., instructor, president
244
308
  */
245
- title: z9.string().optional(),
309
+ title: z10.string().optional(),
246
310
  /**
247
311
  * Teacher's bio text describing experience
248
312
  * new lines will be rendered as paragraphs
249
313
  */
250
- bio: z9.string().optional(),
314
+ bio: z10.string().optional(),
251
315
  /**
252
316
  * Permanent URL of the image
253
317
  */
254
- imageUrl: z9.string().optional(),
318
+ imageUrl: z10.string().optional(),
255
319
  /** Format is illustrated below, where teacher is available
256
320
  * Mon 9-12am 3-6pm & Tue 10-12am 6-10pm
257
321
  * [
@@ -264,47 +328,52 @@ var zBTeacher = zBUser.extend({
264
328
  * [],
265
329
  * ]
266
330
  */
267
- available: z9.array(z9.array(z9.array(z9.number()))).optional()
331
+ available: z10.array(z10.array(z10.array(z10.number()))).optional(),
332
+ /**
333
+ * Schools the teacher is affiliated with
334
+ * Required for showing on the aurora "about" page
335
+ */
336
+ schools: z10.array(z10.nativeEnum(NYIGSchool)).optional()
268
337
  });
269
338
  var zTeacher = addAutoProps(zBTeacher);
270
- var zTeacherResponse = zTeacher.omit({ password: true, roles: true, editedBy: true, updatedAt: true, createdAt: true }).extend({
271
- role: z9.number().int()
339
+ var zTeacherResponse = zTeacher.omit({ roles: true, editedBy: true, updatedAt: true, createdAt: true }).extend({
340
+ role: z10.number().int()
272
341
  });
273
342
 
274
343
  // src/interface/user/auth.ts
275
- import { z as z10 } from "zod";
276
- var zCreateAdminAccountRequest = z10.object({
277
- _id: z10.string(),
278
- user: z10.string().min(3, "Username must be at least 3 characters"),
279
- pwd: z10.string().min(6)
344
+ import { z as z11 } from "zod";
345
+ var zCreateAdminAccountRequest = z11.object({
346
+ _id: z11.string(),
347
+ user: z11.string().min(3, "Username must be at least 3 characters"),
348
+ pwd: z11.string().min(6)
280
349
  });
281
- var zChangePasswordRequest = z10.object({
282
- prev: z10.string().min(6),
283
- next: z10.string().min(6)
350
+ var zChangePasswordRequest = z11.object({
351
+ prev: z11.string().min(6),
352
+ next: z11.string().min(6)
284
353
  });
285
- var zLoginRequest = z10.object({
286
- user: z10.string().min(3, "Username must be at least 3 characters"),
287
- pwd: z10.string().min(6)
354
+ var zLoginRequest = z11.object({
355
+ user: z11.string().min(3, "Username must be at least 3 characters"),
356
+ pwd: z11.string().min(6)
288
357
  });
289
- var zLoginResponse = z10.object({
290
- user: z10.string(),
291
- token: z10.string()
358
+ var zLoginResponse = z11.object({
359
+ user: z11.string(),
360
+ token: z11.string()
292
361
  });
293
362
 
294
363
  // src/interface/tracking/attendance.ts
295
- var zBAttendance = z11.object({
296
- student: z11.string(),
297
- states: z11.array(z11.nativeEnum(AttendState)),
364
+ var zBAttendance = z12.object({
365
+ student: z12.string(),
366
+ states: z12.array(z12.nativeEnum(AttendState)),
298
367
  /**
299
368
  * @deprecated This field is no longer used
300
369
  */
301
370
  tuition: zTuition.optional(),
302
- paid: z11.boolean().optional(),
303
- campOption: z11.nativeEnum(CampOption).optional()
371
+ paid: z12.boolean().optional(),
372
+ campOption: z12.nativeEnum(CampOption).optional()
304
373
  });
305
374
  var zAttendance = addAutoProps(zBAttendance);
306
375
  var zAttendanceRequest = zAttendance.extend({
307
- _id: z11.string().optional()
376
+ _id: z12.string().optional()
308
377
  });
309
378
  var zAttendanceResponse = zAttendance.extend({
310
379
  student: zStudent
@@ -313,64 +382,6 @@ var zAttendanceResponse = zAttendance.extend({
313
382
  // src/interface/tracking/campTracker.ts
314
383
  import { z as z14 } from "zod";
315
384
 
316
- // src/interface/course/ageGroup.ts
317
- var AgeGroup = /* @__PURE__ */ ((AgeGroup2) => {
318
- AgeGroup2["ADULT"] = "Adult";
319
- AgeGroup2["YOUTH"] = "Youth";
320
- return AgeGroup2;
321
- })(AgeGroup || {});
322
-
323
- // src/interface/course/category.ts
324
- var CourseCategory = /* @__PURE__ */ ((CourseCategory2) => {
325
- CourseCategory2["GROUP"] = "group";
326
- CourseCategory2["PRIVATE"] = "private";
327
- CourseCategory2["SEMIPRIVATE"] = "semiprivate";
328
- CourseCategory2["CAMP"] = "camp";
329
- CourseCategory2["EVENT"] = "event";
330
- return CourseCategory2;
331
- })(CourseCategory || {});
332
-
333
- // src/interface/course/school.ts
334
- var NYIGSchool = /* @__PURE__ */ ((NYIGSchool2) => {
335
- NYIGSchool2["MANHATTAN"] = "Manhattan";
336
- NYIGSchool2["LITTLENECK"] = "Little Neck";
337
- return NYIGSchool2;
338
- })(NYIGSchool || {});
339
-
340
- // src/interface/course/course.ts
341
- import { z as z12 } from "zod";
342
- var zBCourse = z12.object({
343
- name: z12.string(),
344
- category: z12.nativeEnum(CourseCategory),
345
- /**
346
- * @unit SECONDS - Duration of the course in seconds
347
- */
348
- duration: z12.coerce.number().int("Duration in seconds must be a whole number").min(1, "Duration in seconds must not be less than or equal to 0"),
349
- /**
350
- * @unit CENTS - Price of the course in cents
351
- */
352
- price: z12.coerce.number().int("Tuition must be a whole number in cents").min(1, "Tuition must not be less than or equal to 0"),
353
- description: z12.string().or(z12.literal("")).optional(),
354
- /**
355
- * NYIG School locations
356
- */
357
- nyigSchool: z12.nativeEnum(NYIGSchool),
358
- /**
359
- * Recommended level before taking this course
360
- */
361
- recLevel: z12.string().or(z12.literal("")).optional(),
362
- /**
363
- * Camp tuition for half-day option
364
- */
365
- halfCampTuition: z12.coerce.number().int("Tuition must be a whole number in cents").min(1, "Tuition must not be less than or equal to 0").optional(),
366
- /**
367
- * Camp tuition for full-day option
368
- */
369
- fullCampTuition: z12.coerce.number().int("Tuition must be a whole number in cents").min(1, "Tuition must not be less than or equal to 0").optional(),
370
- superadminOnly: z12.boolean().optional()
371
- });
372
- var zCourse = addAutoProps(zBCourse);
373
-
374
385
  // src/interface/semester/season.ts
375
386
  var Season = /* @__PURE__ */ ((Season2) => {
376
387
  Season2["FALL"] = "fall";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@nyig/models",
3
- "version": "0.6.4",
3
+ "version": "0.6.5",
4
4
  "license": "MIT",
5
5
  "main": "index.js",
6
6
  "module": "index.mjs",