@nyig/models 0.2.6 → 0.2.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.
Files changed (5) hide show
  1. package/index.d.mts +158 -1
  2. package/index.d.ts +158 -1
  3. package/index.js +116 -112
  4. package/index.mjs +119 -59
  5. package/package.json +1 -1
package/index.d.mts CHANGED
@@ -493,6 +493,20 @@ 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
+
496
510
  declare const zGroupTracker: z.ZodObject<{
497
511
  /**
498
512
  * Mongoose object ID
@@ -603,6 +617,32 @@ declare const zScheduleData: z.ZodObject<{
603
617
  }>;
604
618
  type ScheduleData = z.infer<typeof zScheduleData>;
605
619
 
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
+
606
646
  declare const zCampBooking: z.ZodObject<{
607
647
  firstName: z.ZodString;
608
648
  lastName: z.ZodString;
@@ -706,6 +746,26 @@ declare const zBPaymentInfo: z.ZodObject<{
706
746
  }>;
707
747
  type BPaymentInfo = z.infer<typeof zBPaymentInfo>;
708
748
 
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
+
709
769
  declare enum PaymentMethod {
710
770
  CASH = "Cash",
711
771
  CHECK = "Check",
@@ -999,6 +1059,30 @@ declare const zTuition: z.ZodObject<{
999
1059
  }>;
1000
1060
  type Tuition = z.infer<typeof zTuition>;
1001
1061
 
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
+
1002
1086
  declare const zTeacherDisplay: z.ZodObject<{
1003
1087
  name: z.ZodString;
1004
1088
  email: z.ZodString;
@@ -1079,6 +1163,19 @@ declare const zImageDef: z.ZodObject<{
1079
1163
  }>;
1080
1164
  type ImageDef = z.infer<typeof zImageDef>;
1081
1165
 
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
+
1082
1179
  declare enum TicketStatus {
1083
1180
  REQUESTED = "Requested",
1084
1181
  IN_PROGRESS = "In-progress",
@@ -1129,6 +1226,14 @@ declare const zMReportTicket: z.ZodObject<{
1129
1226
  type ReportTicket = z.infer<typeof zReportTicket>;
1130
1227
  type MReportTicket = z.infer<typeof zMReportTicket>;
1131
1228
 
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
+
1132
1237
  declare enum Season {
1133
1238
  FALL = "fall",
1134
1239
  SPRING = "spring",
@@ -1188,6 +1293,16 @@ declare const zMSemester: z.ZodObject<{
1188
1293
  type Semester = z.infer<typeof zSemester>;
1189
1294
  type MSemester = z.infer<typeof zMSemester>;
1190
1295
 
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
+
1191
1306
  declare const zTConfig: z.ZodObject<{
1192
1307
  /**
1193
1308
  * Location of the event
@@ -1543,6 +1658,28 @@ declare const zMTTicket: z.ZodObject<{
1543
1658
  type TTicket = z.infer<typeof zTTicket>;
1544
1659
  type MTTicket = z.infer<typeof zMTTicket>;
1545
1660
 
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
+
1546
1683
  declare enum GoRank {
1547
1684
  KYU1 = "1k",
1548
1685
  KYU2 = "2k",
@@ -1849,4 +1986,24 @@ declare const zUserRoles: z.ZodObject<{
1849
1986
  }>;
1850
1987
  type UserRoles = z.infer<typeof zUserRoles>;
1851
1988
 
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 };
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 };
package/index.d.ts CHANGED
@@ -493,6 +493,20 @@ 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
+
496
510
  declare const zGroupTracker: z.ZodObject<{
497
511
  /**
498
512
  * Mongoose object ID
@@ -603,6 +617,32 @@ declare const zScheduleData: z.ZodObject<{
603
617
  }>;
604
618
  type ScheduleData = z.infer<typeof zScheduleData>;
605
619
 
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
+
606
646
  declare const zCampBooking: z.ZodObject<{
607
647
  firstName: z.ZodString;
608
648
  lastName: z.ZodString;
@@ -706,6 +746,26 @@ declare const zBPaymentInfo: z.ZodObject<{
706
746
  }>;
707
747
  type BPaymentInfo = z.infer<typeof zBPaymentInfo>;
708
748
 
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
+
709
769
  declare enum PaymentMethod {
710
770
  CASH = "Cash",
711
771
  CHECK = "Check",
@@ -999,6 +1059,30 @@ declare const zTuition: z.ZodObject<{
999
1059
  }>;
1000
1060
  type Tuition = z.infer<typeof zTuition>;
1001
1061
 
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
+
1002
1086
  declare const zTeacherDisplay: z.ZodObject<{
1003
1087
  name: z.ZodString;
1004
1088
  email: z.ZodString;
@@ -1079,6 +1163,19 @@ declare const zImageDef: z.ZodObject<{
1079
1163
  }>;
1080
1164
  type ImageDef = z.infer<typeof zImageDef>;
1081
1165
 
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
+
1082
1179
  declare enum TicketStatus {
1083
1180
  REQUESTED = "Requested",
1084
1181
  IN_PROGRESS = "In-progress",
@@ -1129,6 +1226,14 @@ declare const zMReportTicket: z.ZodObject<{
1129
1226
  type ReportTicket = z.infer<typeof zReportTicket>;
1130
1227
  type MReportTicket = z.infer<typeof zMReportTicket>;
1131
1228
 
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
+
1132
1237
  declare enum Season {
1133
1238
  FALL = "fall",
1134
1239
  SPRING = "spring",
@@ -1188,6 +1293,16 @@ declare const zMSemester: z.ZodObject<{
1188
1293
  type Semester = z.infer<typeof zSemester>;
1189
1294
  type MSemester = z.infer<typeof zMSemester>;
1190
1295
 
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
+
1191
1306
  declare const zTConfig: z.ZodObject<{
1192
1307
  /**
1193
1308
  * Location of the event
@@ -1543,6 +1658,28 @@ declare const zMTTicket: z.ZodObject<{
1543
1658
  type TTicket = z.infer<typeof zTTicket>;
1544
1659
  type MTTicket = z.infer<typeof zMTTicket>;
1545
1660
 
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
+
1546
1683
  declare enum GoRank {
1547
1684
  KYU1 = "1k",
1548
1685
  KYU2 = "2k",
@@ -1849,4 +1986,24 @@ declare const zUserRoles: z.ZodObject<{
1849
1986
  }>;
1850
1987
  type UserRoles = z.infer<typeof zUserRoles>;
1851
1988
 
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 };
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 };
package/index.js CHANGED
@@ -20,67 +20,30 @@ var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: tru
20
20
  // src/index.ts
21
21
  var src_exports = {};
22
22
  __export(src_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,
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, {
32
38
  zBPaymentInfo: () => zBPaymentInfo,
33
39
  zBUserInfo: () => zBUserInfo,
34
40
  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,
48
42
  zMCampBooking: () => zMCampBooking,
49
- zMCampTracker: () => zMCampTracker,
50
- zMClassTracker: () => zMClassTracker,
51
- zMCourse: () => zMCourse,
52
43
  zMGroupBooking: () => zMGroupBooking,
53
- zMGroupTracker: () => zMGroupTracker,
54
- zMInvoice: () => zMInvoice,
55
44
  zMPrivateBooking: () => zMPrivateBooking,
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
45
+ zPrivateBooking: () => zPrivateBooking
82
46
  });
83
- module.exports = __toCommonJS(src_exports);
84
47
 
85
48
  // src/interface/booking/bUserInfo.ts
86
49
  var import_zod = require("zod");
@@ -150,6 +113,22 @@ var zMGroupBooking = extendZodObjectForMongoose(zGroupBooking);
150
113
  // src/interface/booking/campBooking.ts
151
114
  var import_zod15 = require("zod");
152
115
 
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
+
153
132
  // src/interface/tracking/attendState.ts
154
133
  var AttendState = /* @__PURE__ */ ((AttendState2) => {
155
134
  AttendState2["ABSENT"] = "absent";
@@ -217,6 +196,21 @@ var zMCampTracker = extendZodObjectForMongoose(zCampTracker);
217
196
  // src/interface/tracking/classTracker.ts
218
197
  var import_zod11 = require("zod");
219
198
 
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
+
220
214
  // src/interface/payment/invoice.ts
221
215
  var import_zod9 = require("zod");
222
216
 
@@ -321,6 +315,16 @@ var zScheduleData = import_zod12.z.object({
321
315
  // integeters in 0 - 6
322
316
  });
323
317
 
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
+
324
328
  // src/interface/course/ageGroup.ts
325
329
  var AgeGroup = /* @__PURE__ */ ((AgeGroup2) => {
326
330
  AgeGroup2["ADULT"] = "Adult";
@@ -428,6 +432,14 @@ var zCampBooking = import_zod15.z.object({
428
432
  }).merge(zBUserInfo).merge(zBPaymentInfo);
429
433
  var zMCampBooking = extendZodObjectForMongoose(zCampBooking);
430
434
 
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
+
431
443
  // src/interface/public/aurora.ts
432
444
  var import_zod16 = require("zod");
433
445
  var zTeacherDisplay = import_zod16.z.object({
@@ -454,6 +466,13 @@ var zImageDef = import_zod17.z.object({
454
466
  width: import_zod17.z.number()
455
467
  });
456
468
 
469
+ // src/interface/reporting/index.ts
470
+ var reporting_exports = {};
471
+ __export(reporting_exports, {
472
+ zMReportTicket: () => zMReportTicket,
473
+ zReportTicket: () => zReportTicket
474
+ });
475
+
457
476
  // src/interface/reporting/reportTicket.ts
458
477
  var import_zod18 = require("zod");
459
478
  var TicketStatus = /* @__PURE__ */ ((TicketStatus2) => {
@@ -472,6 +491,14 @@ var zReportTicket = import_zod18.z.object({
472
491
  });
473
492
  var zMReportTicket = extendZodObjectForMongoose(zReportTicket);
474
493
 
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
+
475
502
  // src/interface/semester/season.ts
476
503
  var Season = /* @__PURE__ */ ((Season2) => {
477
504
  Season2["FALL"] = "fall";
@@ -498,6 +525,20 @@ var zSemester = import_zod19.z.object({
498
525
  });
499
526
  var zMSemester = extendZodObjectForMongoose(zSemester);
500
527
 
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
+
501
542
  // src/interface/tournament/tConfig.ts
502
543
  var import_zod21 = require("zod");
503
544
 
@@ -639,6 +680,19 @@ var zTTicket = import_zod24.z.object({
639
680
  });
640
681
  var zMTTicket = extendZodObjectForMongoose(zTTicket);
641
682
 
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
+
642
696
  // src/interface/user/goRank.ts
643
697
  var GoRank = /* @__PURE__ */ ((GoRank2) => {
644
698
  GoRank2["KYU1"] = "1k";
@@ -747,63 +801,13 @@ var zTeacher = zUser.extend({
747
801
  var zMTeacher = extendZodObjectForMongoose(zTeacher);
748
802
  // Annotate the CommonJS export names for ESM import in node:
749
803
  0 && (module.exports = {
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
804
+ booking,
805
+ course,
806
+ payment,
807
+ pub,
808
+ reporting,
809
+ semester,
810
+ tournament,
811
+ tracking,
812
+ user
809
813
  });
package/index.mjs CHANGED
@@ -1,3 +1,22 @@
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
+
1
20
  // src/interface/booking/bUserInfo.ts
2
21
  import { z } from "zod";
3
22
  var zBUserInfo = z.object({
@@ -66,6 +85,22 @@ var zMGroupBooking = extendZodObjectForMongoose(zGroupBooking);
66
85
  // src/interface/booking/campBooking.ts
67
86
  import { z as z15 } from "zod";
68
87
 
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
+
69
104
  // src/interface/tracking/attendState.ts
70
105
  var AttendState = /* @__PURE__ */ ((AttendState2) => {
71
106
  AttendState2["ABSENT"] = "absent";
@@ -133,6 +168,21 @@ var zMCampTracker = extendZodObjectForMongoose(zCampTracker);
133
168
  // src/interface/tracking/classTracker.ts
134
169
  import { z as z11 } from "zod";
135
170
 
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
+
136
186
  // src/interface/payment/invoice.ts
137
187
  import { z as z9 } from "zod";
138
188
 
@@ -237,6 +287,16 @@ var zScheduleData = z12.object({
237
287
  // integeters in 0 - 6
238
288
  });
239
289
 
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
+
240
300
  // src/interface/course/ageGroup.ts
241
301
  var AgeGroup = /* @__PURE__ */ ((AgeGroup2) => {
242
302
  AgeGroup2["ADULT"] = "Adult";
@@ -344,6 +404,14 @@ var zCampBooking = z15.object({
344
404
  }).merge(zBUserInfo).merge(zBPaymentInfo);
345
405
  var zMCampBooking = extendZodObjectForMongoose(zCampBooking);
346
406
 
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
+
347
415
  // src/interface/public/aurora.ts
348
416
  import { z as z16 } from "zod";
349
417
  var zTeacherDisplay = z16.object({
@@ -370,6 +438,13 @@ var zImageDef = z17.object({
370
438
  width: z17.number()
371
439
  });
372
440
 
441
+ // src/interface/reporting/index.ts
442
+ var reporting_exports = {};
443
+ __export(reporting_exports, {
444
+ zMReportTicket: () => zMReportTicket,
445
+ zReportTicket: () => zReportTicket
446
+ });
447
+
373
448
  // src/interface/reporting/reportTicket.ts
374
449
  import { z as z18 } from "zod";
375
450
  var TicketStatus = /* @__PURE__ */ ((TicketStatus2) => {
@@ -388,6 +463,14 @@ var zReportTicket = z18.object({
388
463
  });
389
464
  var zMReportTicket = extendZodObjectForMongoose(zReportTicket);
390
465
 
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
+
391
474
  // src/interface/semester/season.ts
392
475
  var Season = /* @__PURE__ */ ((Season2) => {
393
476
  Season2["FALL"] = "fall";
@@ -414,6 +497,20 @@ var zSemester = z19.object({
414
497
  });
415
498
  var zMSemester = extendZodObjectForMongoose(zSemester);
416
499
 
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
+
417
514
  // src/interface/tournament/tConfig.ts
418
515
  import { z as z21 } from "zod";
419
516
 
@@ -555,6 +652,19 @@ var zTTicket = z24.object({
555
652
  });
556
653
  var zMTTicket = extendZodObjectForMongoose(zTTicket);
557
654
 
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
+
558
668
  // src/interface/user/goRank.ts
559
669
  var GoRank = /* @__PURE__ */ ((GoRank2) => {
560
670
  GoRank2["KYU1"] = "1k";
@@ -662,63 +772,13 @@ var zTeacher = zUser.extend({
662
772
  });
663
773
  var zMTeacher = extendZodObjectForMongoose(zTeacher);
664
774
  export {
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
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
724
784
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@nyig/models",
3
- "version": "0.2.6",
3
+ "version": "0.2.7",
4
4
  "license": "MIT",
5
5
  "main": "index.js",
6
6
  "module": "index.mjs",