@nyig/models 0.2.7 → 0.2.8

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 +1 -158
  2. package/index.d.ts +1 -158
  3. package/index.js +112 -116
  4. package/index.mjs +59 -119
  5. package/package.json +1 -1
package/index.d.mts CHANGED
@@ -493,20 +493,6 @@ declare const zMCourse: z.ZodObject<{
493
493
  type Course = z.infer<typeof zCourse>;
494
494
  type MCourse = z.infer<typeof zMCourse>;
495
495
 
496
- type index$8_AgeGroup = AgeGroup;
497
- declare const index$8_AgeGroup: typeof AgeGroup;
498
- type index$8_Course = Course;
499
- type index$8_CourseCategory = CourseCategory;
500
- declare const index$8_CourseCategory: typeof CourseCategory;
501
- type index$8_MCourse = MCourse;
502
- type index$8_NYIGSchool = NYIGSchool;
503
- declare const index$8_NYIGSchool: typeof NYIGSchool;
504
- declare const index$8_zCourse: typeof zCourse;
505
- declare const index$8_zMCourse: typeof zMCourse;
506
- declare namespace index$8 {
507
- export { index$8_AgeGroup as AgeGroup, type index$8_Course as Course, index$8_CourseCategory as CourseCategory, type index$8_MCourse as MCourse, index$8_NYIGSchool as NYIGSchool, index$8_zCourse as zCourse, index$8_zMCourse as zMCourse };
508
- }
509
-
510
496
  declare const zGroupTracker: z.ZodObject<{
511
497
  /**
512
498
  * Mongoose object ID
@@ -617,32 +603,6 @@ declare const zScheduleData: z.ZodObject<{
617
603
  }>;
618
604
  type ScheduleData = z.infer<typeof zScheduleData>;
619
605
 
620
- type index$7_AttendState = AttendState;
621
- declare const index$7_AttendState: typeof AttendState;
622
- type index$7_Attendance = Attendance;
623
- type index$7_CampOption = CampOption;
624
- declare const index$7_CampOption: typeof CampOption;
625
- type index$7_CampTracker = CampTracker;
626
- type index$7_ClassTracker = ClassTracker;
627
- type index$7_GroupTracker = GroupTracker;
628
- type index$7_MAttendance = MAttendance;
629
- type index$7_MCampTracker = MCampTracker;
630
- type index$7_MClassTracker = MClassTracker;
631
- type index$7_MGroupTracker = MGroupTracker;
632
- type index$7_ScheduleData = ScheduleData;
633
- declare const index$7_zAttendance: typeof zAttendance;
634
- declare const index$7_zCampTracker: typeof zCampTracker;
635
- declare const index$7_zClassTracker: typeof zClassTracker;
636
- declare const index$7_zGroupTracker: typeof zGroupTracker;
637
- declare const index$7_zMAttendance: typeof zMAttendance;
638
- declare const index$7_zMCampTracker: typeof zMCampTracker;
639
- declare const index$7_zMClassTracker: typeof zMClassTracker;
640
- declare const index$7_zMGroupTracker: typeof zMGroupTracker;
641
- declare const index$7_zScheduleData: typeof zScheduleData;
642
- declare namespace index$7 {
643
- export { index$7_AttendState as AttendState, type index$7_Attendance as Attendance, index$7_CampOption as CampOption, type index$7_CampTracker as CampTracker, type index$7_ClassTracker as ClassTracker, type index$7_GroupTracker as GroupTracker, type index$7_MAttendance as MAttendance, type index$7_MCampTracker as MCampTracker, type index$7_MClassTracker as MClassTracker, type index$7_MGroupTracker as MGroupTracker, type index$7_ScheduleData as ScheduleData, index$7_zAttendance as zAttendance, index$7_zCampTracker as zCampTracker, index$7_zClassTracker as zClassTracker, index$7_zGroupTracker as zGroupTracker, index$7_zMAttendance as zMAttendance, index$7_zMCampTracker as zMCampTracker, index$7_zMClassTracker as zMClassTracker, index$7_zMGroupTracker as zMGroupTracker, index$7_zScheduleData as zScheduleData };
644
- }
645
-
646
606
  declare const zCampBooking: z.ZodObject<{
647
607
  firstName: z.ZodString;
648
608
  lastName: z.ZodString;
@@ -746,26 +706,6 @@ declare const zBPaymentInfo: z.ZodObject<{
746
706
  }>;
747
707
  type BPaymentInfo = z.infer<typeof zBPaymentInfo>;
748
708
 
749
- type index$6_BPaymentInfo = BPaymentInfo;
750
- type index$6_BPrivate = BPrivate;
751
- type index$6_BUserInfo = BUserInfo;
752
- type index$6_CampBooking = CampBooking;
753
- type index$6_GroupBooking = GroupBooking;
754
- type index$6_MBPrivate = MBPrivate;
755
- type index$6_MCampBooking = MCampBooking;
756
- type index$6_MGroupBooking = MGroupBooking;
757
- declare const index$6_zBPaymentInfo: typeof zBPaymentInfo;
758
- declare const index$6_zBUserInfo: typeof zBUserInfo;
759
- declare const index$6_zCampBooking: typeof zCampBooking;
760
- declare const index$6_zGroupBooking: typeof zGroupBooking;
761
- declare const index$6_zMCampBooking: typeof zMCampBooking;
762
- declare const index$6_zMGroupBooking: typeof zMGroupBooking;
763
- declare const index$6_zMPrivateBooking: typeof zMPrivateBooking;
764
- declare const index$6_zPrivateBooking: typeof zPrivateBooking;
765
- declare namespace index$6 {
766
- export { type index$6_BPaymentInfo as BPaymentInfo, type index$6_BPrivate as BPrivate, type index$6_BUserInfo as BUserInfo, type index$6_CampBooking as CampBooking, type index$6_GroupBooking as GroupBooking, type index$6_MBPrivate as MBPrivate, type index$6_MCampBooking as MCampBooking, type index$6_MGroupBooking as MGroupBooking, index$6_zBPaymentInfo as zBPaymentInfo, index$6_zBUserInfo as zBUserInfo, index$6_zCampBooking as zCampBooking, index$6_zGroupBooking as zGroupBooking, index$6_zMCampBooking as zMCampBooking, index$6_zMGroupBooking as zMGroupBooking, index$6_zMPrivateBooking as zMPrivateBooking, index$6_zPrivateBooking as zPrivateBooking };
767
- }
768
-
769
709
  declare enum PaymentMethod {
770
710
  CASH = "Cash",
771
711
  CHECK = "Check",
@@ -1059,30 +999,6 @@ declare const zTuition: z.ZodObject<{
1059
999
  }>;
1060
1000
  type Tuition = z.infer<typeof zTuition>;
1061
1001
 
1062
- type index$5_Discount = Discount;
1063
- type index$5_Invoice = Invoice;
1064
- type index$5_InvoiceItem = InvoiceItem;
1065
- type index$5_InvoicePackage = InvoicePackage;
1066
- type index$5_MInvoice = MInvoice;
1067
- type index$5_MTeacherPayment = MTeacherPayment;
1068
- type index$5_PaymentMethod = PaymentMethod;
1069
- declare const index$5_PaymentMethod: typeof PaymentMethod;
1070
- type index$5_TeacherPayment = TeacherPayment;
1071
- type index$5_TeacherPaymentRow = TeacherPaymentRow;
1072
- type index$5_Tuition = Tuition;
1073
- declare const index$5_zDiscount: typeof zDiscount;
1074
- declare const index$5_zInvoice: typeof zInvoice;
1075
- declare const index$5_zInvoiceItem: typeof zInvoiceItem;
1076
- declare const index$5_zInvoicePackage: typeof zInvoicePackage;
1077
- declare const index$5_zMInvoice: typeof zMInvoice;
1078
- declare const index$5_zMTeacherPayment: typeof zMTeacherPayment;
1079
- declare const index$5_zTeacherPayment: typeof zTeacherPayment;
1080
- declare const index$5_zTeacherPaymentRow: typeof zTeacherPaymentRow;
1081
- declare const index$5_zTuition: typeof zTuition;
1082
- declare namespace index$5 {
1083
- export { type index$5_Discount as Discount, type index$5_Invoice as Invoice, type index$5_InvoiceItem as InvoiceItem, type index$5_InvoicePackage as InvoicePackage, type index$5_MInvoice as MInvoice, type index$5_MTeacherPayment as MTeacherPayment, index$5_PaymentMethod as PaymentMethod, type index$5_TeacherPayment as TeacherPayment, type index$5_TeacherPaymentRow as TeacherPaymentRow, type index$5_Tuition as Tuition, index$5_zDiscount as zDiscount, index$5_zInvoice as zInvoice, index$5_zInvoiceItem as zInvoiceItem, index$5_zInvoicePackage as zInvoicePackage, index$5_zMInvoice as zMInvoice, index$5_zMTeacherPayment as zMTeacherPayment, index$5_zTeacherPayment as zTeacherPayment, index$5_zTeacherPaymentRow as zTeacherPaymentRow, index$5_zTuition as zTuition };
1084
- }
1085
-
1086
1002
  declare const zTeacherDisplay: z.ZodObject<{
1087
1003
  name: z.ZodString;
1088
1004
  email: z.ZodString;
@@ -1163,19 +1079,6 @@ declare const zImageDef: z.ZodObject<{
1163
1079
  }>;
1164
1080
  type ImageDef = z.infer<typeof zImageDef>;
1165
1081
 
1166
- type index$4_AuroraCourses = AuroraCourses;
1167
- type index$4_CourseTable = CourseTable;
1168
- type index$4_ImageDef = ImageDef;
1169
- type index$4_MNYIGMission = MNYIGMission;
1170
- type index$4_NYIGMission = NYIGMission;
1171
- type index$4_TeacherDisplay = TeacherDisplay;
1172
- declare const index$4_zCourseTable: typeof zCourseTable;
1173
- declare const index$4_zImageDef: typeof zImageDef;
1174
- declare const index$4_zTeacherDisplay: typeof zTeacherDisplay;
1175
- declare namespace index$4 {
1176
- export { type index$4_AuroraCourses as AuroraCourses, type index$4_CourseTable as CourseTable, type index$4_ImageDef as ImageDef, type index$4_MNYIGMission as MNYIGMission, type index$4_NYIGMission as NYIGMission, type index$4_TeacherDisplay as TeacherDisplay, index$4_zCourseTable as zCourseTable, index$4_zImageDef as zImageDef, index$4_zTeacherDisplay as zTeacherDisplay };
1177
- }
1178
-
1179
1082
  declare enum TicketStatus {
1180
1083
  REQUESTED = "Requested",
1181
1084
  IN_PROGRESS = "In-progress",
@@ -1226,14 +1129,6 @@ declare const zMReportTicket: z.ZodObject<{
1226
1129
  type ReportTicket = z.infer<typeof zReportTicket>;
1227
1130
  type MReportTicket = z.infer<typeof zMReportTicket>;
1228
1131
 
1229
- type index$3_MReportTicket = MReportTicket;
1230
- type index$3_ReportTicket = ReportTicket;
1231
- declare const index$3_zMReportTicket: typeof zMReportTicket;
1232
- declare const index$3_zReportTicket: typeof zReportTicket;
1233
- declare namespace index$3 {
1234
- export { type index$3_MReportTicket as MReportTicket, type index$3_ReportTicket as ReportTicket, index$3_zMReportTicket as zMReportTicket, index$3_zReportTicket as zReportTicket };
1235
- }
1236
-
1237
1132
  declare enum Season {
1238
1133
  FALL = "fall",
1239
1134
  SPRING = "spring",
@@ -1293,16 +1188,6 @@ declare const zMSemester: z.ZodObject<{
1293
1188
  type Semester = z.infer<typeof zSemester>;
1294
1189
  type MSemester = z.infer<typeof zMSemester>;
1295
1190
 
1296
- type index$2_MSemester = MSemester;
1297
- type index$2_Season = Season;
1298
- declare const index$2_Season: typeof Season;
1299
- type index$2_Semester = Semester;
1300
- declare const index$2_zMSemester: typeof zMSemester;
1301
- declare const index$2_zSemester: typeof zSemester;
1302
- declare namespace index$2 {
1303
- export { type index$2_MSemester as MSemester, index$2_Season as Season, type index$2_Semester as Semester, index$2_zMSemester as zMSemester, index$2_zSemester as zSemester };
1304
- }
1305
-
1306
1191
  declare const zTConfig: z.ZodObject<{
1307
1192
  /**
1308
1193
  * Location of the event
@@ -1658,28 +1543,6 @@ declare const zMTTicket: z.ZodObject<{
1658
1543
  type TTicket = z.infer<typeof zTTicket>;
1659
1544
  type MTTicket = z.infer<typeof zMTTicket>;
1660
1545
 
1661
- type index$1_DetailsTable = DetailsTable;
1662
- type index$1_MTConfig = MTConfig;
1663
- type index$1_MTReg = MTReg;
1664
- type index$1_MTTicket = MTTicket;
1665
- type index$1_ScheduleTable = ScheduleTable;
1666
- type index$1_TConfig = TConfig;
1667
- type index$1_TReg = TReg;
1668
- type index$1_TTicket = TTicket;
1669
- type index$1_TTicketReg = TTicketReg;
1670
- declare const index$1_zDetailsTable: typeof zDetailsTable;
1671
- declare const index$1_zMTConfig: typeof zMTConfig;
1672
- declare const index$1_zMTReg: typeof zMTReg;
1673
- declare const index$1_zMTTicket: typeof zMTTicket;
1674
- declare const index$1_zScheduleTable: typeof zScheduleTable;
1675
- declare const index$1_zTConfig: typeof zTConfig;
1676
- declare const index$1_zTReg: typeof zTReg;
1677
- declare const index$1_zTTicket: typeof zTTicket;
1678
- declare const index$1_zTTicketReg: typeof zTTicketReg;
1679
- declare namespace index$1 {
1680
- export { type index$1_DetailsTable as DetailsTable, type index$1_MTConfig as MTConfig, type index$1_MTReg as MTReg, type index$1_MTTicket as MTTicket, type index$1_ScheduleTable as ScheduleTable, type index$1_TConfig as TConfig, type index$1_TReg as TReg, type index$1_TTicket as TTicket, type index$1_TTicketReg as TTicketReg, index$1_zDetailsTable as zDetailsTable, index$1_zMTConfig as zMTConfig, index$1_zMTReg as zMTReg, index$1_zMTTicket as zMTTicket, index$1_zScheduleTable as zScheduleTable, index$1_zTConfig as zTConfig, index$1_zTReg as zTReg, index$1_zTTicket as zTTicket, index$1_zTTicketReg as zTTicketReg };
1681
- }
1682
-
1683
1546
  declare enum GoRank {
1684
1547
  KYU1 = "1k",
1685
1548
  KYU2 = "2k",
@@ -1986,24 +1849,4 @@ declare const zUserRoles: z.ZodObject<{
1986
1849
  }>;
1987
1850
  type UserRoles = z.infer<typeof zUserRoles>;
1988
1851
 
1989
- type index_GoRank = GoRank;
1990
- declare const index_GoRank: typeof GoRank;
1991
- type index_MStudent = MStudent;
1992
- type index_MTeacher = MTeacher;
1993
- type index_MUser = MUser;
1994
- type index_Student = Student;
1995
- type index_Teacher = Teacher;
1996
- type index_User = User;
1997
- type index_UserRoles = UserRoles;
1998
- declare const index_zMStudent: typeof zMStudent;
1999
- declare const index_zMTeacher: typeof zMTeacher;
2000
- declare const index_zMUser: typeof zMUser;
2001
- declare const index_zStudent: typeof zStudent;
2002
- declare const index_zTeacher: typeof zTeacher;
2003
- declare const index_zUser: typeof zUser;
2004
- declare const index_zUserRoles: typeof zUserRoles;
2005
- declare namespace index {
2006
- export { index_GoRank as GoRank, type index_MStudent as MStudent, type index_MTeacher as MTeacher, type index_MUser as MUser, type index_Student as Student, type index_Teacher as Teacher, type index_User as User, type index_UserRoles as UserRoles, index_zMStudent as zMStudent, index_zMTeacher as zMTeacher, index_zMUser as zMUser, index_zStudent as zStudent, index_zTeacher as zTeacher, index_zUser as zUser, index_zUserRoles as zUserRoles };
2007
- }
2008
-
2009
- export { index$6 as booking, index$8 as course, index$5 as payment, index$4 as pub, index$3 as reporting, index$2 as semester, index$1 as tournament, index$7 as tracking, index as user };
1852
+ export { AgeGroup, AttendState, type Attendance, type AuroraCourses, type BPaymentInfo, type BPrivate, type BUserInfo, type CampBooking, CampOption, type CampTracker, type ClassTracker, type Course, CourseCategory, type CourseTable, type DetailsTable, type Discount, GoRank, type GroupBooking, type GroupTracker, type ImageDef, type Invoice, type InvoiceItem, type InvoicePackage, type MAttendance, type MBPrivate, type MCampBooking, type MCampTracker, type MClassTracker, type MCourse, type MGroupBooking, type MGroupTracker, type MInvoice, type MNYIGMission, type MReportTicket, type MSemester, type MStudent, type MTConfig, type MTReg, type MTTicket, type MTeacher, type MTeacherPayment, type MUser, type NYIGMission, NYIGSchool, PaymentMethod, type ReportTicket, type ScheduleData, type ScheduleTable, Season, type Semester, type Student, type TConfig, type TReg, type TTicket, type TTicketReg, type Teacher, type TeacherDisplay, type TeacherPayment, type TeacherPaymentRow, type Tuition, type User, type UserRoles, zAttendance, zBPaymentInfo, zBUserInfo, zCampBooking, zCampTracker, zClassTracker, zCourse, zCourseTable, zDetailsTable, zDiscount, zGroupBooking, zGroupTracker, zImageDef, zInvoice, zInvoiceItem, zInvoicePackage, zMAttendance, zMCampBooking, zMCampTracker, zMClassTracker, zMCourse, zMGroupBooking, zMGroupTracker, zMInvoice, zMPrivateBooking, zMReportTicket, zMSemester, zMStudent, zMTConfig, zMTReg, zMTTicket, zMTeacher, zMTeacherPayment, zMUser, zPrivateBooking, zReportTicket, zScheduleData, zScheduleTable, zSemester, zStudent, zTConfig, zTReg, zTTicket, zTTicketReg, zTeacher, zTeacherDisplay, zTeacherPayment, zTeacherPaymentRow, zTuition, zUser, zUserRoles };
package/index.d.ts CHANGED
@@ -493,20 +493,6 @@ declare const zMCourse: z.ZodObject<{
493
493
  type Course = z.infer<typeof zCourse>;
494
494
  type MCourse = z.infer<typeof zMCourse>;
495
495
 
496
- type index$8_AgeGroup = AgeGroup;
497
- declare const index$8_AgeGroup: typeof AgeGroup;
498
- type index$8_Course = Course;
499
- type index$8_CourseCategory = CourseCategory;
500
- declare const index$8_CourseCategory: typeof CourseCategory;
501
- type index$8_MCourse = MCourse;
502
- type index$8_NYIGSchool = NYIGSchool;
503
- declare const index$8_NYIGSchool: typeof NYIGSchool;
504
- declare const index$8_zCourse: typeof zCourse;
505
- declare const index$8_zMCourse: typeof zMCourse;
506
- declare namespace index$8 {
507
- export { index$8_AgeGroup as AgeGroup, type index$8_Course as Course, index$8_CourseCategory as CourseCategory, type index$8_MCourse as MCourse, index$8_NYIGSchool as NYIGSchool, index$8_zCourse as zCourse, index$8_zMCourse as zMCourse };
508
- }
509
-
510
496
  declare const zGroupTracker: z.ZodObject<{
511
497
  /**
512
498
  * Mongoose object ID
@@ -617,32 +603,6 @@ declare const zScheduleData: z.ZodObject<{
617
603
  }>;
618
604
  type ScheduleData = z.infer<typeof zScheduleData>;
619
605
 
620
- type index$7_AttendState = AttendState;
621
- declare const index$7_AttendState: typeof AttendState;
622
- type index$7_Attendance = Attendance;
623
- type index$7_CampOption = CampOption;
624
- declare const index$7_CampOption: typeof CampOption;
625
- type index$7_CampTracker = CampTracker;
626
- type index$7_ClassTracker = ClassTracker;
627
- type index$7_GroupTracker = GroupTracker;
628
- type index$7_MAttendance = MAttendance;
629
- type index$7_MCampTracker = MCampTracker;
630
- type index$7_MClassTracker = MClassTracker;
631
- type index$7_MGroupTracker = MGroupTracker;
632
- type index$7_ScheduleData = ScheduleData;
633
- declare const index$7_zAttendance: typeof zAttendance;
634
- declare const index$7_zCampTracker: typeof zCampTracker;
635
- declare const index$7_zClassTracker: typeof zClassTracker;
636
- declare const index$7_zGroupTracker: typeof zGroupTracker;
637
- declare const index$7_zMAttendance: typeof zMAttendance;
638
- declare const index$7_zMCampTracker: typeof zMCampTracker;
639
- declare const index$7_zMClassTracker: typeof zMClassTracker;
640
- declare const index$7_zMGroupTracker: typeof zMGroupTracker;
641
- declare const index$7_zScheduleData: typeof zScheduleData;
642
- declare namespace index$7 {
643
- export { index$7_AttendState as AttendState, type index$7_Attendance as Attendance, index$7_CampOption as CampOption, type index$7_CampTracker as CampTracker, type index$7_ClassTracker as ClassTracker, type index$7_GroupTracker as GroupTracker, type index$7_MAttendance as MAttendance, type index$7_MCampTracker as MCampTracker, type index$7_MClassTracker as MClassTracker, type index$7_MGroupTracker as MGroupTracker, type index$7_ScheduleData as ScheduleData, index$7_zAttendance as zAttendance, index$7_zCampTracker as zCampTracker, index$7_zClassTracker as zClassTracker, index$7_zGroupTracker as zGroupTracker, index$7_zMAttendance as zMAttendance, index$7_zMCampTracker as zMCampTracker, index$7_zMClassTracker as zMClassTracker, index$7_zMGroupTracker as zMGroupTracker, index$7_zScheduleData as zScheduleData };
644
- }
645
-
646
606
  declare const zCampBooking: z.ZodObject<{
647
607
  firstName: z.ZodString;
648
608
  lastName: z.ZodString;
@@ -746,26 +706,6 @@ declare const zBPaymentInfo: z.ZodObject<{
746
706
  }>;
747
707
  type BPaymentInfo = z.infer<typeof zBPaymentInfo>;
748
708
 
749
- type index$6_BPaymentInfo = BPaymentInfo;
750
- type index$6_BPrivate = BPrivate;
751
- type index$6_BUserInfo = BUserInfo;
752
- type index$6_CampBooking = CampBooking;
753
- type index$6_GroupBooking = GroupBooking;
754
- type index$6_MBPrivate = MBPrivate;
755
- type index$6_MCampBooking = MCampBooking;
756
- type index$6_MGroupBooking = MGroupBooking;
757
- declare const index$6_zBPaymentInfo: typeof zBPaymentInfo;
758
- declare const index$6_zBUserInfo: typeof zBUserInfo;
759
- declare const index$6_zCampBooking: typeof zCampBooking;
760
- declare const index$6_zGroupBooking: typeof zGroupBooking;
761
- declare const index$6_zMCampBooking: typeof zMCampBooking;
762
- declare const index$6_zMGroupBooking: typeof zMGroupBooking;
763
- declare const index$6_zMPrivateBooking: typeof zMPrivateBooking;
764
- declare const index$6_zPrivateBooking: typeof zPrivateBooking;
765
- declare namespace index$6 {
766
- export { type index$6_BPaymentInfo as BPaymentInfo, type index$6_BPrivate as BPrivate, type index$6_BUserInfo as BUserInfo, type index$6_CampBooking as CampBooking, type index$6_GroupBooking as GroupBooking, type index$6_MBPrivate as MBPrivate, type index$6_MCampBooking as MCampBooking, type index$6_MGroupBooking as MGroupBooking, index$6_zBPaymentInfo as zBPaymentInfo, index$6_zBUserInfo as zBUserInfo, index$6_zCampBooking as zCampBooking, index$6_zGroupBooking as zGroupBooking, index$6_zMCampBooking as zMCampBooking, index$6_zMGroupBooking as zMGroupBooking, index$6_zMPrivateBooking as zMPrivateBooking, index$6_zPrivateBooking as zPrivateBooking };
767
- }
768
-
769
709
  declare enum PaymentMethod {
770
710
  CASH = "Cash",
771
711
  CHECK = "Check",
@@ -1059,30 +999,6 @@ declare const zTuition: z.ZodObject<{
1059
999
  }>;
1060
1000
  type Tuition = z.infer<typeof zTuition>;
1061
1001
 
1062
- type index$5_Discount = Discount;
1063
- type index$5_Invoice = Invoice;
1064
- type index$5_InvoiceItem = InvoiceItem;
1065
- type index$5_InvoicePackage = InvoicePackage;
1066
- type index$5_MInvoice = MInvoice;
1067
- type index$5_MTeacherPayment = MTeacherPayment;
1068
- type index$5_PaymentMethod = PaymentMethod;
1069
- declare const index$5_PaymentMethod: typeof PaymentMethod;
1070
- type index$5_TeacherPayment = TeacherPayment;
1071
- type index$5_TeacherPaymentRow = TeacherPaymentRow;
1072
- type index$5_Tuition = Tuition;
1073
- declare const index$5_zDiscount: typeof zDiscount;
1074
- declare const index$5_zInvoice: typeof zInvoice;
1075
- declare const index$5_zInvoiceItem: typeof zInvoiceItem;
1076
- declare const index$5_zInvoicePackage: typeof zInvoicePackage;
1077
- declare const index$5_zMInvoice: typeof zMInvoice;
1078
- declare const index$5_zMTeacherPayment: typeof zMTeacherPayment;
1079
- declare const index$5_zTeacherPayment: typeof zTeacherPayment;
1080
- declare const index$5_zTeacherPaymentRow: typeof zTeacherPaymentRow;
1081
- declare const index$5_zTuition: typeof zTuition;
1082
- declare namespace index$5 {
1083
- export { type index$5_Discount as Discount, type index$5_Invoice as Invoice, type index$5_InvoiceItem as InvoiceItem, type index$5_InvoicePackage as InvoicePackage, type index$5_MInvoice as MInvoice, type index$5_MTeacherPayment as MTeacherPayment, index$5_PaymentMethod as PaymentMethod, type index$5_TeacherPayment as TeacherPayment, type index$5_TeacherPaymentRow as TeacherPaymentRow, type index$5_Tuition as Tuition, index$5_zDiscount as zDiscount, index$5_zInvoice as zInvoice, index$5_zInvoiceItem as zInvoiceItem, index$5_zInvoicePackage as zInvoicePackage, index$5_zMInvoice as zMInvoice, index$5_zMTeacherPayment as zMTeacherPayment, index$5_zTeacherPayment as zTeacherPayment, index$5_zTeacherPaymentRow as zTeacherPaymentRow, index$5_zTuition as zTuition };
1084
- }
1085
-
1086
1002
  declare const zTeacherDisplay: z.ZodObject<{
1087
1003
  name: z.ZodString;
1088
1004
  email: z.ZodString;
@@ -1163,19 +1079,6 @@ declare const zImageDef: z.ZodObject<{
1163
1079
  }>;
1164
1080
  type ImageDef = z.infer<typeof zImageDef>;
1165
1081
 
1166
- type index$4_AuroraCourses = AuroraCourses;
1167
- type index$4_CourseTable = CourseTable;
1168
- type index$4_ImageDef = ImageDef;
1169
- type index$4_MNYIGMission = MNYIGMission;
1170
- type index$4_NYIGMission = NYIGMission;
1171
- type index$4_TeacherDisplay = TeacherDisplay;
1172
- declare const index$4_zCourseTable: typeof zCourseTable;
1173
- declare const index$4_zImageDef: typeof zImageDef;
1174
- declare const index$4_zTeacherDisplay: typeof zTeacherDisplay;
1175
- declare namespace index$4 {
1176
- export { type index$4_AuroraCourses as AuroraCourses, type index$4_CourseTable as CourseTable, type index$4_ImageDef as ImageDef, type index$4_MNYIGMission as MNYIGMission, type index$4_NYIGMission as NYIGMission, type index$4_TeacherDisplay as TeacherDisplay, index$4_zCourseTable as zCourseTable, index$4_zImageDef as zImageDef, index$4_zTeacherDisplay as zTeacherDisplay };
1177
- }
1178
-
1179
1082
  declare enum TicketStatus {
1180
1083
  REQUESTED = "Requested",
1181
1084
  IN_PROGRESS = "In-progress",
@@ -1226,14 +1129,6 @@ declare const zMReportTicket: z.ZodObject<{
1226
1129
  type ReportTicket = z.infer<typeof zReportTicket>;
1227
1130
  type MReportTicket = z.infer<typeof zMReportTicket>;
1228
1131
 
1229
- type index$3_MReportTicket = MReportTicket;
1230
- type index$3_ReportTicket = ReportTicket;
1231
- declare const index$3_zMReportTicket: typeof zMReportTicket;
1232
- declare const index$3_zReportTicket: typeof zReportTicket;
1233
- declare namespace index$3 {
1234
- export { type index$3_MReportTicket as MReportTicket, type index$3_ReportTicket as ReportTicket, index$3_zMReportTicket as zMReportTicket, index$3_zReportTicket as zReportTicket };
1235
- }
1236
-
1237
1132
  declare enum Season {
1238
1133
  FALL = "fall",
1239
1134
  SPRING = "spring",
@@ -1293,16 +1188,6 @@ declare const zMSemester: z.ZodObject<{
1293
1188
  type Semester = z.infer<typeof zSemester>;
1294
1189
  type MSemester = z.infer<typeof zMSemester>;
1295
1190
 
1296
- type index$2_MSemester = MSemester;
1297
- type index$2_Season = Season;
1298
- declare const index$2_Season: typeof Season;
1299
- type index$2_Semester = Semester;
1300
- declare const index$2_zMSemester: typeof zMSemester;
1301
- declare const index$2_zSemester: typeof zSemester;
1302
- declare namespace index$2 {
1303
- export { type index$2_MSemester as MSemester, index$2_Season as Season, type index$2_Semester as Semester, index$2_zMSemester as zMSemester, index$2_zSemester as zSemester };
1304
- }
1305
-
1306
1191
  declare const zTConfig: z.ZodObject<{
1307
1192
  /**
1308
1193
  * Location of the event
@@ -1658,28 +1543,6 @@ declare const zMTTicket: z.ZodObject<{
1658
1543
  type TTicket = z.infer<typeof zTTicket>;
1659
1544
  type MTTicket = z.infer<typeof zMTTicket>;
1660
1545
 
1661
- type index$1_DetailsTable = DetailsTable;
1662
- type index$1_MTConfig = MTConfig;
1663
- type index$1_MTReg = MTReg;
1664
- type index$1_MTTicket = MTTicket;
1665
- type index$1_ScheduleTable = ScheduleTable;
1666
- type index$1_TConfig = TConfig;
1667
- type index$1_TReg = TReg;
1668
- type index$1_TTicket = TTicket;
1669
- type index$1_TTicketReg = TTicketReg;
1670
- declare const index$1_zDetailsTable: typeof zDetailsTable;
1671
- declare const index$1_zMTConfig: typeof zMTConfig;
1672
- declare const index$1_zMTReg: typeof zMTReg;
1673
- declare const index$1_zMTTicket: typeof zMTTicket;
1674
- declare const index$1_zScheduleTable: typeof zScheduleTable;
1675
- declare const index$1_zTConfig: typeof zTConfig;
1676
- declare const index$1_zTReg: typeof zTReg;
1677
- declare const index$1_zTTicket: typeof zTTicket;
1678
- declare const index$1_zTTicketReg: typeof zTTicketReg;
1679
- declare namespace index$1 {
1680
- export { type index$1_DetailsTable as DetailsTable, type index$1_MTConfig as MTConfig, type index$1_MTReg as MTReg, type index$1_MTTicket as MTTicket, type index$1_ScheduleTable as ScheduleTable, type index$1_TConfig as TConfig, type index$1_TReg as TReg, type index$1_TTicket as TTicket, type index$1_TTicketReg as TTicketReg, index$1_zDetailsTable as zDetailsTable, index$1_zMTConfig as zMTConfig, index$1_zMTReg as zMTReg, index$1_zMTTicket as zMTTicket, index$1_zScheduleTable as zScheduleTable, index$1_zTConfig as zTConfig, index$1_zTReg as zTReg, index$1_zTTicket as zTTicket, index$1_zTTicketReg as zTTicketReg };
1681
- }
1682
-
1683
1546
  declare enum GoRank {
1684
1547
  KYU1 = "1k",
1685
1548
  KYU2 = "2k",
@@ -1986,24 +1849,4 @@ declare const zUserRoles: z.ZodObject<{
1986
1849
  }>;
1987
1850
  type UserRoles = z.infer<typeof zUserRoles>;
1988
1851
 
1989
- type index_GoRank = GoRank;
1990
- declare const index_GoRank: typeof GoRank;
1991
- type index_MStudent = MStudent;
1992
- type index_MTeacher = MTeacher;
1993
- type index_MUser = MUser;
1994
- type index_Student = Student;
1995
- type index_Teacher = Teacher;
1996
- type index_User = User;
1997
- type index_UserRoles = UserRoles;
1998
- declare const index_zMStudent: typeof zMStudent;
1999
- declare const index_zMTeacher: typeof zMTeacher;
2000
- declare const index_zMUser: typeof zMUser;
2001
- declare const index_zStudent: typeof zStudent;
2002
- declare const index_zTeacher: typeof zTeacher;
2003
- declare const index_zUser: typeof zUser;
2004
- declare const index_zUserRoles: typeof zUserRoles;
2005
- declare namespace index {
2006
- export { index_GoRank as GoRank, type index_MStudent as MStudent, type index_MTeacher as MTeacher, type index_MUser as MUser, type index_Student as Student, type index_Teacher as Teacher, type index_User as User, type index_UserRoles as UserRoles, index_zMStudent as zMStudent, index_zMTeacher as zMTeacher, index_zMUser as zMUser, index_zStudent as zStudent, index_zTeacher as zTeacher, index_zUser as zUser, index_zUserRoles as zUserRoles };
2007
- }
2008
-
2009
- export { index$6 as booking, index$8 as course, index$5 as payment, index$4 as pub, index$3 as reporting, index$2 as semester, index$1 as tournament, index$7 as tracking, index as user };
1852
+ export { AgeGroup, AttendState, type Attendance, type AuroraCourses, type BPaymentInfo, type BPrivate, type BUserInfo, type CampBooking, CampOption, type CampTracker, type ClassTracker, type Course, CourseCategory, type CourseTable, type DetailsTable, type Discount, GoRank, type GroupBooking, type GroupTracker, type ImageDef, type Invoice, type InvoiceItem, type InvoicePackage, type MAttendance, type MBPrivate, type MCampBooking, type MCampTracker, type MClassTracker, type MCourse, type MGroupBooking, type MGroupTracker, type MInvoice, type MNYIGMission, type MReportTicket, type MSemester, type MStudent, type MTConfig, type MTReg, type MTTicket, type MTeacher, type MTeacherPayment, type MUser, type NYIGMission, NYIGSchool, PaymentMethod, type ReportTicket, type ScheduleData, type ScheduleTable, Season, type Semester, type Student, type TConfig, type TReg, type TTicket, type TTicketReg, type Teacher, type TeacherDisplay, type TeacherPayment, type TeacherPaymentRow, type Tuition, type User, type UserRoles, zAttendance, zBPaymentInfo, zBUserInfo, zCampBooking, zCampTracker, zClassTracker, zCourse, zCourseTable, zDetailsTable, zDiscount, zGroupBooking, zGroupTracker, zImageDef, zInvoice, zInvoiceItem, zInvoicePackage, zMAttendance, zMCampBooking, zMCampTracker, zMClassTracker, zMCourse, zMGroupBooking, zMGroupTracker, zMInvoice, zMPrivateBooking, zMReportTicket, zMSemester, zMStudent, zMTConfig, zMTReg, zMTTicket, zMTeacher, zMTeacherPayment, zMUser, zPrivateBooking, zReportTicket, zScheduleData, zScheduleTable, zSemester, zStudent, zTConfig, zTReg, zTTicket, zTTicketReg, zTeacher, zTeacherDisplay, zTeacherPayment, zTeacherPaymentRow, zTuition, zUser, zUserRoles };
package/index.js CHANGED
@@ -20,30 +20,67 @@ var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: tru
20
20
  // src/index.ts
21
21
  var src_exports = {};
22
22
  __export(src_exports, {
23
- booking: () => booking_exports,
24
- course: () => course_exports,
25
- payment: () => payment_exports,
26
- pub: () => public_exports,
27
- reporting: () => reporting_exports,
28
- semester: () => semester_exports,
29
- tournament: () => tournament_exports,
30
- tracking: () => tracking_exports,
31
- user: () => user_exports
32
- });
33
- module.exports = __toCommonJS(src_exports);
34
-
35
- // src/interface/booking/index.ts
36
- var booking_exports = {};
37
- __export(booking_exports, {
23
+ AgeGroup: () => AgeGroup,
24
+ AttendState: () => AttendState,
25
+ CampOption: () => CampOption,
26
+ CourseCategory: () => CourseCategory,
27
+ GoRank: () => GoRank,
28
+ NYIGSchool: () => NYIGSchool,
29
+ PaymentMethod: () => PaymentMethod,
30
+ Season: () => Season,
31
+ zAttendance: () => zAttendance,
38
32
  zBPaymentInfo: () => zBPaymentInfo,
39
33
  zBUserInfo: () => zBUserInfo,
40
34
  zCampBooking: () => zCampBooking,
35
+ zCampTracker: () => zCampTracker,
36
+ zClassTracker: () => zClassTracker,
37
+ zCourse: () => zCourse,
38
+ zCourseTable: () => zCourseTable,
39
+ zDetailsTable: () => zDetailsTable,
40
+ zDiscount: () => zDiscount,
41
41
  zGroupBooking: () => zGroupBooking,
42
+ zGroupTracker: () => zGroupTracker,
43
+ zImageDef: () => zImageDef,
44
+ zInvoice: () => zInvoice,
45
+ zInvoiceItem: () => zInvoiceItem,
46
+ zInvoicePackage: () => zInvoicePackage,
47
+ zMAttendance: () => zMAttendance,
42
48
  zMCampBooking: () => zMCampBooking,
49
+ zMCampTracker: () => zMCampTracker,
50
+ zMClassTracker: () => zMClassTracker,
51
+ zMCourse: () => zMCourse,
43
52
  zMGroupBooking: () => zMGroupBooking,
53
+ zMGroupTracker: () => zMGroupTracker,
54
+ zMInvoice: () => zMInvoice,
44
55
  zMPrivateBooking: () => zMPrivateBooking,
45
- zPrivateBooking: () => zPrivateBooking
56
+ zMReportTicket: () => zMReportTicket,
57
+ zMSemester: () => zMSemester,
58
+ zMStudent: () => zMStudent,
59
+ zMTConfig: () => zMTConfig,
60
+ zMTReg: () => zMTReg,
61
+ zMTTicket: () => zMTTicket,
62
+ zMTeacher: () => zMTeacher,
63
+ zMTeacherPayment: () => zMTeacherPayment,
64
+ zMUser: () => zMUser,
65
+ zPrivateBooking: () => zPrivateBooking,
66
+ zReportTicket: () => zReportTicket,
67
+ zScheduleData: () => zScheduleData,
68
+ zScheduleTable: () => zScheduleTable,
69
+ zSemester: () => zSemester,
70
+ zStudent: () => zStudent,
71
+ zTConfig: () => zTConfig,
72
+ zTReg: () => zTReg,
73
+ zTTicket: () => zTTicket,
74
+ zTTicketReg: () => zTTicketReg,
75
+ zTeacher: () => zTeacher,
76
+ zTeacherDisplay: () => zTeacherDisplay,
77
+ zTeacherPayment: () => zTeacherPayment,
78
+ zTeacherPaymentRow: () => zTeacherPaymentRow,
79
+ zTuition: () => zTuition,
80
+ zUser: () => zUser,
81
+ zUserRoles: () => zUserRoles
46
82
  });
83
+ module.exports = __toCommonJS(src_exports);
47
84
 
48
85
  // src/interface/booking/bUserInfo.ts
49
86
  var import_zod = require("zod");
@@ -113,22 +150,6 @@ var zMGroupBooking = extendZodObjectForMongoose(zGroupBooking);
113
150
  // src/interface/booking/campBooking.ts
114
151
  var import_zod15 = require("zod");
115
152
 
116
- // src/interface/tracking/index.ts
117
- var tracking_exports = {};
118
- __export(tracking_exports, {
119
- AttendState: () => AttendState,
120
- CampOption: () => CampOption,
121
- zAttendance: () => zAttendance,
122
- zCampTracker: () => zCampTracker,
123
- zClassTracker: () => zClassTracker,
124
- zGroupTracker: () => zGroupTracker,
125
- zMAttendance: () => zMAttendance,
126
- zMCampTracker: () => zMCampTracker,
127
- zMClassTracker: () => zMClassTracker,
128
- zMGroupTracker: () => zMGroupTracker,
129
- zScheduleData: () => zScheduleData
130
- });
131
-
132
153
  // src/interface/tracking/attendState.ts
133
154
  var AttendState = /* @__PURE__ */ ((AttendState2) => {
134
155
  AttendState2["ABSENT"] = "absent";
@@ -196,21 +217,6 @@ var zMCampTracker = extendZodObjectForMongoose(zCampTracker);
196
217
  // src/interface/tracking/classTracker.ts
197
218
  var import_zod11 = require("zod");
198
219
 
199
- // src/interface/payment/index.ts
200
- var payment_exports = {};
201
- __export(payment_exports, {
202
- PaymentMethod: () => PaymentMethod,
203
- zDiscount: () => zDiscount,
204
- zInvoice: () => zInvoice,
205
- zInvoiceItem: () => zInvoiceItem,
206
- zInvoicePackage: () => zInvoicePackage,
207
- zMInvoice: () => zMInvoice,
208
- zMTeacherPayment: () => zMTeacherPayment,
209
- zTeacherPayment: () => zTeacherPayment,
210
- zTeacherPaymentRow: () => zTeacherPaymentRow,
211
- zTuition: () => zTuition
212
- });
213
-
214
220
  // src/interface/payment/invoice.ts
215
221
  var import_zod9 = require("zod");
216
222
 
@@ -315,16 +321,6 @@ var zScheduleData = import_zod12.z.object({
315
321
  // integeters in 0 - 6
316
322
  });
317
323
 
318
- // src/interface/course/index.ts
319
- var course_exports = {};
320
- __export(course_exports, {
321
- AgeGroup: () => AgeGroup,
322
- CourseCategory: () => CourseCategory,
323
- NYIGSchool: () => NYIGSchool,
324
- zCourse: () => zCourse,
325
- zMCourse: () => zMCourse
326
- });
327
-
328
324
  // src/interface/course/ageGroup.ts
329
325
  var AgeGroup = /* @__PURE__ */ ((AgeGroup2) => {
330
326
  AgeGroup2["ADULT"] = "Adult";
@@ -432,14 +428,6 @@ var zCampBooking = import_zod15.z.object({
432
428
  }).merge(zBUserInfo).merge(zBPaymentInfo);
433
429
  var zMCampBooking = extendZodObjectForMongoose(zCampBooking);
434
430
 
435
- // src/interface/public/index.ts
436
- var public_exports = {};
437
- __export(public_exports, {
438
- zCourseTable: () => zCourseTable,
439
- zImageDef: () => zImageDef,
440
- zTeacherDisplay: () => zTeacherDisplay
441
- });
442
-
443
431
  // src/interface/public/aurora.ts
444
432
  var import_zod16 = require("zod");
445
433
  var zTeacherDisplay = import_zod16.z.object({
@@ -466,13 +454,6 @@ var zImageDef = import_zod17.z.object({
466
454
  width: import_zod17.z.number()
467
455
  });
468
456
 
469
- // src/interface/reporting/index.ts
470
- var reporting_exports = {};
471
- __export(reporting_exports, {
472
- zMReportTicket: () => zMReportTicket,
473
- zReportTicket: () => zReportTicket
474
- });
475
-
476
457
  // src/interface/reporting/reportTicket.ts
477
458
  var import_zod18 = require("zod");
478
459
  var TicketStatus = /* @__PURE__ */ ((TicketStatus2) => {
@@ -491,14 +472,6 @@ var zReportTicket = import_zod18.z.object({
491
472
  });
492
473
  var zMReportTicket = extendZodObjectForMongoose(zReportTicket);
493
474
 
494
- // src/interface/semester/index.ts
495
- var semester_exports = {};
496
- __export(semester_exports, {
497
- Season: () => Season,
498
- zMSemester: () => zMSemester,
499
- zSemester: () => zSemester
500
- });
501
-
502
475
  // src/interface/semester/season.ts
503
476
  var Season = /* @__PURE__ */ ((Season2) => {
504
477
  Season2["FALL"] = "fall";
@@ -525,20 +498,6 @@ var zSemester = import_zod19.z.object({
525
498
  });
526
499
  var zMSemester = extendZodObjectForMongoose(zSemester);
527
500
 
528
- // src/interface/tournament/index.ts
529
- var tournament_exports = {};
530
- __export(tournament_exports, {
531
- zDetailsTable: () => zDetailsTable,
532
- zMTConfig: () => zMTConfig,
533
- zMTReg: () => zMTReg,
534
- zMTTicket: () => zMTTicket,
535
- zScheduleTable: () => zScheduleTable,
536
- zTConfig: () => zTConfig,
537
- zTReg: () => zTReg,
538
- zTTicket: () => zTTicket,
539
- zTTicketReg: () => zTTicketReg
540
- });
541
-
542
501
  // src/interface/tournament/tConfig.ts
543
502
  var import_zod21 = require("zod");
544
503
 
@@ -680,19 +639,6 @@ var zTTicket = import_zod24.z.object({
680
639
  });
681
640
  var zMTTicket = extendZodObjectForMongoose(zTTicket);
682
641
 
683
- // src/interface/user/index.ts
684
- var user_exports = {};
685
- __export(user_exports, {
686
- GoRank: () => GoRank,
687
- zMStudent: () => zMStudent,
688
- zMTeacher: () => zMTeacher,
689
- zMUser: () => zMUser,
690
- zStudent: () => zStudent,
691
- zTeacher: () => zTeacher,
692
- zUser: () => zUser,
693
- zUserRoles: () => zUserRoles
694
- });
695
-
696
642
  // src/interface/user/goRank.ts
697
643
  var GoRank = /* @__PURE__ */ ((GoRank2) => {
698
644
  GoRank2["KYU1"] = "1k";
@@ -801,13 +747,63 @@ var zTeacher = zUser.extend({
801
747
  var zMTeacher = extendZodObjectForMongoose(zTeacher);
802
748
  // Annotate the CommonJS export names for ESM import in node:
803
749
  0 && (module.exports = {
804
- booking,
805
- course,
806
- payment,
807
- pub,
808
- reporting,
809
- semester,
810
- tournament,
811
- tracking,
812
- user
750
+ AgeGroup,
751
+ AttendState,
752
+ CampOption,
753
+ CourseCategory,
754
+ GoRank,
755
+ NYIGSchool,
756
+ PaymentMethod,
757
+ Season,
758
+ zAttendance,
759
+ zBPaymentInfo,
760
+ zBUserInfo,
761
+ zCampBooking,
762
+ zCampTracker,
763
+ zClassTracker,
764
+ zCourse,
765
+ zCourseTable,
766
+ zDetailsTable,
767
+ zDiscount,
768
+ zGroupBooking,
769
+ zGroupTracker,
770
+ zImageDef,
771
+ zInvoice,
772
+ zInvoiceItem,
773
+ zInvoicePackage,
774
+ zMAttendance,
775
+ zMCampBooking,
776
+ zMCampTracker,
777
+ zMClassTracker,
778
+ zMCourse,
779
+ zMGroupBooking,
780
+ zMGroupTracker,
781
+ zMInvoice,
782
+ zMPrivateBooking,
783
+ zMReportTicket,
784
+ zMSemester,
785
+ zMStudent,
786
+ zMTConfig,
787
+ zMTReg,
788
+ zMTTicket,
789
+ zMTeacher,
790
+ zMTeacherPayment,
791
+ zMUser,
792
+ zPrivateBooking,
793
+ zReportTicket,
794
+ zScheduleData,
795
+ zScheduleTable,
796
+ zSemester,
797
+ zStudent,
798
+ zTConfig,
799
+ zTReg,
800
+ zTTicket,
801
+ zTTicketReg,
802
+ zTeacher,
803
+ zTeacherDisplay,
804
+ zTeacherPayment,
805
+ zTeacherPaymentRow,
806
+ zTuition,
807
+ zUser,
808
+ zUserRoles
813
809
  });
package/index.mjs CHANGED
@@ -1,22 +1,3 @@
1
- var __defProp = Object.defineProperty;
2
- var __export = (target, all) => {
3
- for (var name in all)
4
- __defProp(target, name, { get: all[name], enumerable: true });
5
- };
6
-
7
- // src/interface/booking/index.ts
8
- var booking_exports = {};
9
- __export(booking_exports, {
10
- zBPaymentInfo: () => zBPaymentInfo,
11
- zBUserInfo: () => zBUserInfo,
12
- zCampBooking: () => zCampBooking,
13
- zGroupBooking: () => zGroupBooking,
14
- zMCampBooking: () => zMCampBooking,
15
- zMGroupBooking: () => zMGroupBooking,
16
- zMPrivateBooking: () => zMPrivateBooking,
17
- zPrivateBooking: () => zPrivateBooking
18
- });
19
-
20
1
  // src/interface/booking/bUserInfo.ts
21
2
  import { z } from "zod";
22
3
  var zBUserInfo = z.object({
@@ -85,22 +66,6 @@ var zMGroupBooking = extendZodObjectForMongoose(zGroupBooking);
85
66
  // src/interface/booking/campBooking.ts
86
67
  import { z as z15 } from "zod";
87
68
 
88
- // src/interface/tracking/index.ts
89
- var tracking_exports = {};
90
- __export(tracking_exports, {
91
- AttendState: () => AttendState,
92
- CampOption: () => CampOption,
93
- zAttendance: () => zAttendance,
94
- zCampTracker: () => zCampTracker,
95
- zClassTracker: () => zClassTracker,
96
- zGroupTracker: () => zGroupTracker,
97
- zMAttendance: () => zMAttendance,
98
- zMCampTracker: () => zMCampTracker,
99
- zMClassTracker: () => zMClassTracker,
100
- zMGroupTracker: () => zMGroupTracker,
101
- zScheduleData: () => zScheduleData
102
- });
103
-
104
69
  // src/interface/tracking/attendState.ts
105
70
  var AttendState = /* @__PURE__ */ ((AttendState2) => {
106
71
  AttendState2["ABSENT"] = "absent";
@@ -168,21 +133,6 @@ var zMCampTracker = extendZodObjectForMongoose(zCampTracker);
168
133
  // src/interface/tracking/classTracker.ts
169
134
  import { z as z11 } from "zod";
170
135
 
171
- // src/interface/payment/index.ts
172
- var payment_exports = {};
173
- __export(payment_exports, {
174
- PaymentMethod: () => PaymentMethod,
175
- zDiscount: () => zDiscount,
176
- zInvoice: () => zInvoice,
177
- zInvoiceItem: () => zInvoiceItem,
178
- zInvoicePackage: () => zInvoicePackage,
179
- zMInvoice: () => zMInvoice,
180
- zMTeacherPayment: () => zMTeacherPayment,
181
- zTeacherPayment: () => zTeacherPayment,
182
- zTeacherPaymentRow: () => zTeacherPaymentRow,
183
- zTuition: () => zTuition
184
- });
185
-
186
136
  // src/interface/payment/invoice.ts
187
137
  import { z as z9 } from "zod";
188
138
 
@@ -287,16 +237,6 @@ var zScheduleData = z12.object({
287
237
  // integeters in 0 - 6
288
238
  });
289
239
 
290
- // src/interface/course/index.ts
291
- var course_exports = {};
292
- __export(course_exports, {
293
- AgeGroup: () => AgeGroup,
294
- CourseCategory: () => CourseCategory,
295
- NYIGSchool: () => NYIGSchool,
296
- zCourse: () => zCourse,
297
- zMCourse: () => zMCourse
298
- });
299
-
300
240
  // src/interface/course/ageGroup.ts
301
241
  var AgeGroup = /* @__PURE__ */ ((AgeGroup2) => {
302
242
  AgeGroup2["ADULT"] = "Adult";
@@ -404,14 +344,6 @@ var zCampBooking = z15.object({
404
344
  }).merge(zBUserInfo).merge(zBPaymentInfo);
405
345
  var zMCampBooking = extendZodObjectForMongoose(zCampBooking);
406
346
 
407
- // src/interface/public/index.ts
408
- var public_exports = {};
409
- __export(public_exports, {
410
- zCourseTable: () => zCourseTable,
411
- zImageDef: () => zImageDef,
412
- zTeacherDisplay: () => zTeacherDisplay
413
- });
414
-
415
347
  // src/interface/public/aurora.ts
416
348
  import { z as z16 } from "zod";
417
349
  var zTeacherDisplay = z16.object({
@@ -438,13 +370,6 @@ var zImageDef = z17.object({
438
370
  width: z17.number()
439
371
  });
440
372
 
441
- // src/interface/reporting/index.ts
442
- var reporting_exports = {};
443
- __export(reporting_exports, {
444
- zMReportTicket: () => zMReportTicket,
445
- zReportTicket: () => zReportTicket
446
- });
447
-
448
373
  // src/interface/reporting/reportTicket.ts
449
374
  import { z as z18 } from "zod";
450
375
  var TicketStatus = /* @__PURE__ */ ((TicketStatus2) => {
@@ -463,14 +388,6 @@ var zReportTicket = z18.object({
463
388
  });
464
389
  var zMReportTicket = extendZodObjectForMongoose(zReportTicket);
465
390
 
466
- // src/interface/semester/index.ts
467
- var semester_exports = {};
468
- __export(semester_exports, {
469
- Season: () => Season,
470
- zMSemester: () => zMSemester,
471
- zSemester: () => zSemester
472
- });
473
-
474
391
  // src/interface/semester/season.ts
475
392
  var Season = /* @__PURE__ */ ((Season2) => {
476
393
  Season2["FALL"] = "fall";
@@ -497,20 +414,6 @@ var zSemester = z19.object({
497
414
  });
498
415
  var zMSemester = extendZodObjectForMongoose(zSemester);
499
416
 
500
- // src/interface/tournament/index.ts
501
- var tournament_exports = {};
502
- __export(tournament_exports, {
503
- zDetailsTable: () => zDetailsTable,
504
- zMTConfig: () => zMTConfig,
505
- zMTReg: () => zMTReg,
506
- zMTTicket: () => zMTTicket,
507
- zScheduleTable: () => zScheduleTable,
508
- zTConfig: () => zTConfig,
509
- zTReg: () => zTReg,
510
- zTTicket: () => zTTicket,
511
- zTTicketReg: () => zTTicketReg
512
- });
513
-
514
417
  // src/interface/tournament/tConfig.ts
515
418
  import { z as z21 } from "zod";
516
419
 
@@ -652,19 +555,6 @@ var zTTicket = z24.object({
652
555
  });
653
556
  var zMTTicket = extendZodObjectForMongoose(zTTicket);
654
557
 
655
- // src/interface/user/index.ts
656
- var user_exports = {};
657
- __export(user_exports, {
658
- GoRank: () => GoRank,
659
- zMStudent: () => zMStudent,
660
- zMTeacher: () => zMTeacher,
661
- zMUser: () => zMUser,
662
- zStudent: () => zStudent,
663
- zTeacher: () => zTeacher,
664
- zUser: () => zUser,
665
- zUserRoles: () => zUserRoles
666
- });
667
-
668
558
  // src/interface/user/goRank.ts
669
559
  var GoRank = /* @__PURE__ */ ((GoRank2) => {
670
560
  GoRank2["KYU1"] = "1k";
@@ -772,13 +662,63 @@ var zTeacher = zUser.extend({
772
662
  });
773
663
  var zMTeacher = extendZodObjectForMongoose(zTeacher);
774
664
  export {
775
- booking_exports as booking,
776
- course_exports as course,
777
- payment_exports as payment,
778
- public_exports as pub,
779
- reporting_exports as reporting,
780
- semester_exports as semester,
781
- tournament_exports as tournament,
782
- tracking_exports as tracking,
783
- user_exports as user
665
+ AgeGroup,
666
+ AttendState,
667
+ CampOption,
668
+ CourseCategory,
669
+ GoRank,
670
+ NYIGSchool,
671
+ PaymentMethod,
672
+ Season,
673
+ zAttendance,
674
+ zBPaymentInfo,
675
+ zBUserInfo,
676
+ zCampBooking,
677
+ zCampTracker,
678
+ zClassTracker,
679
+ zCourse,
680
+ zCourseTable,
681
+ zDetailsTable,
682
+ zDiscount,
683
+ zGroupBooking,
684
+ zGroupTracker,
685
+ zImageDef,
686
+ zInvoice,
687
+ zInvoiceItem,
688
+ zInvoicePackage,
689
+ zMAttendance,
690
+ zMCampBooking,
691
+ zMCampTracker,
692
+ zMClassTracker,
693
+ zMCourse,
694
+ zMGroupBooking,
695
+ zMGroupTracker,
696
+ zMInvoice,
697
+ zMPrivateBooking,
698
+ zMReportTicket,
699
+ zMSemester,
700
+ zMStudent,
701
+ zMTConfig,
702
+ zMTReg,
703
+ zMTTicket,
704
+ zMTeacher,
705
+ zMTeacherPayment,
706
+ zMUser,
707
+ zPrivateBooking,
708
+ zReportTicket,
709
+ zScheduleData,
710
+ zScheduleTable,
711
+ zSemester,
712
+ zStudent,
713
+ zTConfig,
714
+ zTReg,
715
+ zTTicket,
716
+ zTTicketReg,
717
+ zTeacher,
718
+ zTeacherDisplay,
719
+ zTeacherPayment,
720
+ zTeacherPaymentRow,
721
+ zTuition,
722
+ zUser,
723
+ zUserRoles
784
724
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@nyig/models",
3
- "version": "0.2.7",
3
+ "version": "0.2.8",
4
4
  "license": "MIT",
5
5
  "main": "index.js",
6
6
  "module": "index.mjs",