@nyig/models 0.4.14 → 0.4.16
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/index.d.mts +15 -1
- package/index.d.ts +15 -1
- package/index.js +9 -2
- package/index.mjs +8 -2
- package/package.json +5 -5
package/index.d.mts
CHANGED
|
@@ -4371,32 +4371,40 @@ declare const zTeacherPaymentResponse: z.ZodObject<{
|
|
|
4371
4371
|
updatedAt: z.ZodOptional<z.ZodString>;
|
|
4372
4372
|
} & {
|
|
4373
4373
|
teacher: z.ZodObject<{
|
|
4374
|
+
_id: z.ZodString;
|
|
4374
4375
|
name: z.ZodString;
|
|
4375
4376
|
rank: z.ZodOptional<z.ZodString>;
|
|
4376
4377
|
}, "strip", z.ZodTypeAny, {
|
|
4378
|
+
_id: string;
|
|
4377
4379
|
name: string;
|
|
4378
4380
|
rank?: string | undefined;
|
|
4379
4381
|
}, {
|
|
4382
|
+
_id: string;
|
|
4380
4383
|
name: string;
|
|
4381
4384
|
rank?: string | undefined;
|
|
4382
4385
|
}>;
|
|
4383
4386
|
editedBy: z.ZodObject<{
|
|
4387
|
+
_id: z.ZodString;
|
|
4384
4388
|
name: z.ZodString;
|
|
4385
4389
|
rank: z.ZodOptional<z.ZodString>;
|
|
4386
4390
|
}, "strip", z.ZodTypeAny, {
|
|
4391
|
+
_id: string;
|
|
4387
4392
|
name: string;
|
|
4388
4393
|
rank?: string | undefined;
|
|
4389
4394
|
}, {
|
|
4395
|
+
_id: string;
|
|
4390
4396
|
name: string;
|
|
4391
4397
|
rank?: string | undefined;
|
|
4392
4398
|
}>;
|
|
4393
4399
|
}, z.UnknownKeysParam, z.ZodTypeAny, {
|
|
4394
4400
|
_id: string;
|
|
4395
4401
|
editedBy: {
|
|
4402
|
+
_id: string;
|
|
4396
4403
|
name: string;
|
|
4397
4404
|
rank?: string | undefined;
|
|
4398
4405
|
};
|
|
4399
4406
|
teacher: {
|
|
4407
|
+
_id: string;
|
|
4400
4408
|
name: string;
|
|
4401
4409
|
rank?: string | undefined;
|
|
4402
4410
|
};
|
|
@@ -4413,10 +4421,12 @@ declare const zTeacherPaymentResponse: z.ZodObject<{
|
|
|
4413
4421
|
}, {
|
|
4414
4422
|
_id: string;
|
|
4415
4423
|
editedBy: {
|
|
4424
|
+
_id: string;
|
|
4416
4425
|
name: string;
|
|
4417
4426
|
rank?: string | undefined;
|
|
4418
4427
|
};
|
|
4419
4428
|
teacher: {
|
|
4429
|
+
_id: string;
|
|
4420
4430
|
name: string;
|
|
4421
4431
|
rank?: string | undefined;
|
|
4422
4432
|
};
|
|
@@ -4450,6 +4460,10 @@ declare const zTuition: z.ZodObject<{
|
|
|
4450
4460
|
shipping?: boolean | undefined;
|
|
4451
4461
|
}>;
|
|
4452
4462
|
type Tuition = z.infer<typeof zTuition>;
|
|
4463
|
+
declare enum FeesInCents {
|
|
4464
|
+
"MATERIAL" = 10000,
|
|
4465
|
+
"SHIPPING" = 2000
|
|
4466
|
+
}
|
|
4453
4467
|
|
|
4454
4468
|
declare const zTeacherDisplay: z.ZodObject<{
|
|
4455
4469
|
name: z.ZodString;
|
|
@@ -6667,4 +6681,4 @@ type ChangePasswordRequest = z.infer<typeof zChangePasswordRequest>;
|
|
|
6667
6681
|
type LoginRequest = z.infer<typeof zLoginRequest>;
|
|
6668
6682
|
type LoginResponse = z.infer<typeof zLoginResponse>;
|
|
6669
6683
|
|
|
6670
|
-
export { AgeGroup, AttendState, type Attendance, type AttendanceRequest, type AttendanceResponse, type AuroraCourses, type BAttendance, type BCampBooking, type BCampTracker, type BClassTracker, type BCourse, type BEventConfig, type BEventReg, type BEventTicket, type BGroupBooking, type BGroupTracker, type BInvoice, type BPaymentInfo, type BPrivateBooking, type BReportTicket, type BSemester, type BStudent, type BTeacher, type BTeacherPayment, type BUser, type BUserInfo, BookingType, type CampBooking, CampOption, type CampTracker, type CampTrackerResponse, type ChangePasswordRequest, type ClassTimesInput, type ClassTracker, type ClassTrackerResponse, type Course, CourseCategory, type CourseTable, type CreateAdminAccountRequest, DayOfWeek, type DetailsTable, type Discount, type EventConfig, type EventConfigResponse, type EventReg, type EventRegResponse, type EventTicket, type EventTicketReg, type EventTicketRegResponse, GoRank, type GroupBooking, type GroupTracker, type GroupTrackerResponse, HearAboutUs, type ImageDef, type Invoice, type InvoiceItem, type InvoicePackage, type InvoicePackageResponse, type InvoiceResponse, type LoginRequest, type LoginResponse, type NYIGMission, NYIGSchool, type PaymentIntent, PaymentMethod, type PrivateBooking, type PublicEventConfigResponse, type ReportTicket, type ReportTicketResponse, Role, type ScheduleData, type ScheduleTable, Season, type Semester, type Student, type Teacher, type TeacherDisplay, type TeacherPayment, type TeacherPaymentResponse, type TeacherPaymentRow, type TeacherResponse, TicketStatus, type TrackerCreate, type Tuition, type User, type UserRoles, zAttendance, zAttendanceRequest, zAttendanceResponse, zBAttendance, zBCampBooking, zBCampTracker, zBClassTracker, zBCourse, zBEventConfig, zBEventReg, zBEventTicket, zBGroupBooking, zBGroupTracker, zBInvoice, zBPaymentInfo, zBPrivateBooking, zBReportTicket, zBSemester, zBStudent, zBTeacher, zBTeacherPayment, zBUser, zBUserInfo, zCampBooking, zCampTracker, zCampTrackerResponse, zChangePasswordRequest, zClassTracker, zClassTrackerResponse, zCourse, zCourseTable, zCreateAdminAccountRequest, zDayOfWeek, zDetailsTable, zDiscount, zEventConfig, zEventConfigResponse, zEventReg, zEventRegResponse, zEventTicket, zEventTicketReg, zEventTicketRegResponse, zGroupBooking, zGroupTracker, zGroupTrackerResponse, zImageDef, zInvoice, zInvoiceItem, zInvoicePackage, zInvoicePackageResponse, zInvoiceResponse, zLoginRequest, zLoginResponse, zPrivateBooking, zReportTicket, zReportTicketResponse, zScheduleData, zScheduleTable, zSemester, zStudent, zTeacher, zTeacherDisplay, zTeacherPayment, zTeacherPaymentResponse, zTeacherPaymentRow, zTrackerCreate, zTuition, zUser, zUserRoles };
|
|
6684
|
+
export { AgeGroup, AttendState, type Attendance, type AttendanceRequest, type AttendanceResponse, type AuroraCourses, type BAttendance, type BCampBooking, type BCampTracker, type BClassTracker, type BCourse, type BEventConfig, type BEventReg, type BEventTicket, type BGroupBooking, type BGroupTracker, type BInvoice, type BPaymentInfo, type BPrivateBooking, type BReportTicket, type BSemester, type BStudent, type BTeacher, type BTeacherPayment, type BUser, type BUserInfo, BookingType, type CampBooking, CampOption, type CampTracker, type CampTrackerResponse, type ChangePasswordRequest, type ClassTimesInput, type ClassTracker, type ClassTrackerResponse, type Course, CourseCategory, type CourseTable, type CreateAdminAccountRequest, DayOfWeek, type DetailsTable, type Discount, type EventConfig, type EventConfigResponse, type EventReg, type EventRegResponse, type EventTicket, type EventTicketReg, type EventTicketRegResponse, FeesInCents, GoRank, type GroupBooking, type GroupTracker, type GroupTrackerResponse, HearAboutUs, type ImageDef, type Invoice, type InvoiceItem, type InvoicePackage, type InvoicePackageResponse, type InvoiceResponse, type LoginRequest, type LoginResponse, type NYIGMission, NYIGSchool, type PaymentIntent, PaymentMethod, type PrivateBooking, type PublicEventConfigResponse, type ReportTicket, type ReportTicketResponse, Role, type ScheduleData, type ScheduleTable, Season, type Semester, type Student, type Teacher, type TeacherDisplay, type TeacherPayment, type TeacherPaymentResponse, type TeacherPaymentRow, type TeacherResponse, TicketStatus, type TrackerCreate, type Tuition, type User, type UserRoles, zAttendance, zAttendanceRequest, zAttendanceResponse, zBAttendance, zBCampBooking, zBCampTracker, zBClassTracker, zBCourse, zBEventConfig, zBEventReg, zBEventTicket, zBGroupBooking, zBGroupTracker, zBInvoice, zBPaymentInfo, zBPrivateBooking, zBReportTicket, zBSemester, zBStudent, zBTeacher, zBTeacherPayment, zBUser, zBUserInfo, zCampBooking, zCampTracker, zCampTrackerResponse, zChangePasswordRequest, zClassTracker, zClassTrackerResponse, zCourse, zCourseTable, zCreateAdminAccountRequest, zDayOfWeek, zDetailsTable, zDiscount, zEventConfig, zEventConfigResponse, zEventReg, zEventRegResponse, zEventTicket, zEventTicketReg, zEventTicketRegResponse, zGroupBooking, zGroupTracker, zGroupTrackerResponse, zImageDef, zInvoice, zInvoiceItem, zInvoicePackage, zInvoicePackageResponse, zInvoiceResponse, zLoginRequest, zLoginResponse, zPrivateBooking, zReportTicket, zReportTicketResponse, zScheduleData, zScheduleTable, zSemester, zStudent, zTeacher, zTeacherDisplay, zTeacherPayment, zTeacherPaymentResponse, zTeacherPaymentRow, zTrackerCreate, zTuition, zUser, zUserRoles };
|
package/index.d.ts
CHANGED
|
@@ -4371,32 +4371,40 @@ declare const zTeacherPaymentResponse: z.ZodObject<{
|
|
|
4371
4371
|
updatedAt: z.ZodOptional<z.ZodString>;
|
|
4372
4372
|
} & {
|
|
4373
4373
|
teacher: z.ZodObject<{
|
|
4374
|
+
_id: z.ZodString;
|
|
4374
4375
|
name: z.ZodString;
|
|
4375
4376
|
rank: z.ZodOptional<z.ZodString>;
|
|
4376
4377
|
}, "strip", z.ZodTypeAny, {
|
|
4378
|
+
_id: string;
|
|
4377
4379
|
name: string;
|
|
4378
4380
|
rank?: string | undefined;
|
|
4379
4381
|
}, {
|
|
4382
|
+
_id: string;
|
|
4380
4383
|
name: string;
|
|
4381
4384
|
rank?: string | undefined;
|
|
4382
4385
|
}>;
|
|
4383
4386
|
editedBy: z.ZodObject<{
|
|
4387
|
+
_id: z.ZodString;
|
|
4384
4388
|
name: z.ZodString;
|
|
4385
4389
|
rank: z.ZodOptional<z.ZodString>;
|
|
4386
4390
|
}, "strip", z.ZodTypeAny, {
|
|
4391
|
+
_id: string;
|
|
4387
4392
|
name: string;
|
|
4388
4393
|
rank?: string | undefined;
|
|
4389
4394
|
}, {
|
|
4395
|
+
_id: string;
|
|
4390
4396
|
name: string;
|
|
4391
4397
|
rank?: string | undefined;
|
|
4392
4398
|
}>;
|
|
4393
4399
|
}, z.UnknownKeysParam, z.ZodTypeAny, {
|
|
4394
4400
|
_id: string;
|
|
4395
4401
|
editedBy: {
|
|
4402
|
+
_id: string;
|
|
4396
4403
|
name: string;
|
|
4397
4404
|
rank?: string | undefined;
|
|
4398
4405
|
};
|
|
4399
4406
|
teacher: {
|
|
4407
|
+
_id: string;
|
|
4400
4408
|
name: string;
|
|
4401
4409
|
rank?: string | undefined;
|
|
4402
4410
|
};
|
|
@@ -4413,10 +4421,12 @@ declare const zTeacherPaymentResponse: z.ZodObject<{
|
|
|
4413
4421
|
}, {
|
|
4414
4422
|
_id: string;
|
|
4415
4423
|
editedBy: {
|
|
4424
|
+
_id: string;
|
|
4416
4425
|
name: string;
|
|
4417
4426
|
rank?: string | undefined;
|
|
4418
4427
|
};
|
|
4419
4428
|
teacher: {
|
|
4429
|
+
_id: string;
|
|
4420
4430
|
name: string;
|
|
4421
4431
|
rank?: string | undefined;
|
|
4422
4432
|
};
|
|
@@ -4450,6 +4460,10 @@ declare const zTuition: z.ZodObject<{
|
|
|
4450
4460
|
shipping?: boolean | undefined;
|
|
4451
4461
|
}>;
|
|
4452
4462
|
type Tuition = z.infer<typeof zTuition>;
|
|
4463
|
+
declare enum FeesInCents {
|
|
4464
|
+
"MATERIAL" = 10000,
|
|
4465
|
+
"SHIPPING" = 2000
|
|
4466
|
+
}
|
|
4453
4467
|
|
|
4454
4468
|
declare const zTeacherDisplay: z.ZodObject<{
|
|
4455
4469
|
name: z.ZodString;
|
|
@@ -6667,4 +6681,4 @@ type ChangePasswordRequest = z.infer<typeof zChangePasswordRequest>;
|
|
|
6667
6681
|
type LoginRequest = z.infer<typeof zLoginRequest>;
|
|
6668
6682
|
type LoginResponse = z.infer<typeof zLoginResponse>;
|
|
6669
6683
|
|
|
6670
|
-
export { AgeGroup, AttendState, type Attendance, type AttendanceRequest, type AttendanceResponse, type AuroraCourses, type BAttendance, type BCampBooking, type BCampTracker, type BClassTracker, type BCourse, type BEventConfig, type BEventReg, type BEventTicket, type BGroupBooking, type BGroupTracker, type BInvoice, type BPaymentInfo, type BPrivateBooking, type BReportTicket, type BSemester, type BStudent, type BTeacher, type BTeacherPayment, type BUser, type BUserInfo, BookingType, type CampBooking, CampOption, type CampTracker, type CampTrackerResponse, type ChangePasswordRequest, type ClassTimesInput, type ClassTracker, type ClassTrackerResponse, type Course, CourseCategory, type CourseTable, type CreateAdminAccountRequest, DayOfWeek, type DetailsTable, type Discount, type EventConfig, type EventConfigResponse, type EventReg, type EventRegResponse, type EventTicket, type EventTicketReg, type EventTicketRegResponse, GoRank, type GroupBooking, type GroupTracker, type GroupTrackerResponse, HearAboutUs, type ImageDef, type Invoice, type InvoiceItem, type InvoicePackage, type InvoicePackageResponse, type InvoiceResponse, type LoginRequest, type LoginResponse, type NYIGMission, NYIGSchool, type PaymentIntent, PaymentMethod, type PrivateBooking, type PublicEventConfigResponse, type ReportTicket, type ReportTicketResponse, Role, type ScheduleData, type ScheduleTable, Season, type Semester, type Student, type Teacher, type TeacherDisplay, type TeacherPayment, type TeacherPaymentResponse, type TeacherPaymentRow, type TeacherResponse, TicketStatus, type TrackerCreate, type Tuition, type User, type UserRoles, zAttendance, zAttendanceRequest, zAttendanceResponse, zBAttendance, zBCampBooking, zBCampTracker, zBClassTracker, zBCourse, zBEventConfig, zBEventReg, zBEventTicket, zBGroupBooking, zBGroupTracker, zBInvoice, zBPaymentInfo, zBPrivateBooking, zBReportTicket, zBSemester, zBStudent, zBTeacher, zBTeacherPayment, zBUser, zBUserInfo, zCampBooking, zCampTracker, zCampTrackerResponse, zChangePasswordRequest, zClassTracker, zClassTrackerResponse, zCourse, zCourseTable, zCreateAdminAccountRequest, zDayOfWeek, zDetailsTable, zDiscount, zEventConfig, zEventConfigResponse, zEventReg, zEventRegResponse, zEventTicket, zEventTicketReg, zEventTicketRegResponse, zGroupBooking, zGroupTracker, zGroupTrackerResponse, zImageDef, zInvoice, zInvoiceItem, zInvoicePackage, zInvoicePackageResponse, zInvoiceResponse, zLoginRequest, zLoginResponse, zPrivateBooking, zReportTicket, zReportTicketResponse, zScheduleData, zScheduleTable, zSemester, zStudent, zTeacher, zTeacherDisplay, zTeacherPayment, zTeacherPaymentResponse, zTeacherPaymentRow, zTrackerCreate, zTuition, zUser, zUserRoles };
|
|
6684
|
+
export { AgeGroup, AttendState, type Attendance, type AttendanceRequest, type AttendanceResponse, type AuroraCourses, type BAttendance, type BCampBooking, type BCampTracker, type BClassTracker, type BCourse, type BEventConfig, type BEventReg, type BEventTicket, type BGroupBooking, type BGroupTracker, type BInvoice, type BPaymentInfo, type BPrivateBooking, type BReportTicket, type BSemester, type BStudent, type BTeacher, type BTeacherPayment, type BUser, type BUserInfo, BookingType, type CampBooking, CampOption, type CampTracker, type CampTrackerResponse, type ChangePasswordRequest, type ClassTimesInput, type ClassTracker, type ClassTrackerResponse, type Course, CourseCategory, type CourseTable, type CreateAdminAccountRequest, DayOfWeek, type DetailsTable, type Discount, type EventConfig, type EventConfigResponse, type EventReg, type EventRegResponse, type EventTicket, type EventTicketReg, type EventTicketRegResponse, FeesInCents, GoRank, type GroupBooking, type GroupTracker, type GroupTrackerResponse, HearAboutUs, type ImageDef, type Invoice, type InvoiceItem, type InvoicePackage, type InvoicePackageResponse, type InvoiceResponse, type LoginRequest, type LoginResponse, type NYIGMission, NYIGSchool, type PaymentIntent, PaymentMethod, type PrivateBooking, type PublicEventConfigResponse, type ReportTicket, type ReportTicketResponse, Role, type ScheduleData, type ScheduleTable, Season, type Semester, type Student, type Teacher, type TeacherDisplay, type TeacherPayment, type TeacherPaymentResponse, type TeacherPaymentRow, type TeacherResponse, TicketStatus, type TrackerCreate, type Tuition, type User, type UserRoles, zAttendance, zAttendanceRequest, zAttendanceResponse, zBAttendance, zBCampBooking, zBCampTracker, zBClassTracker, zBCourse, zBEventConfig, zBEventReg, zBEventTicket, zBGroupBooking, zBGroupTracker, zBInvoice, zBPaymentInfo, zBPrivateBooking, zBReportTicket, zBSemester, zBStudent, zBTeacher, zBTeacherPayment, zBUser, zBUserInfo, zCampBooking, zCampTracker, zCampTrackerResponse, zChangePasswordRequest, zClassTracker, zClassTrackerResponse, zCourse, zCourseTable, zCreateAdminAccountRequest, zDayOfWeek, zDetailsTable, zDiscount, zEventConfig, zEventConfigResponse, zEventReg, zEventRegResponse, zEventTicket, zEventTicketReg, zEventTicketRegResponse, zGroupBooking, zGroupTracker, zGroupTrackerResponse, zImageDef, zInvoice, zInvoiceItem, zInvoicePackage, zInvoicePackageResponse, zInvoiceResponse, zLoginRequest, zLoginResponse, zPrivateBooking, zReportTicket, zReportTicketResponse, zScheduleData, zScheduleTable, zSemester, zStudent, zTeacher, zTeacherDisplay, zTeacherPayment, zTeacherPaymentResponse, zTeacherPaymentRow, zTrackerCreate, zTuition, zUser, zUserRoles };
|
package/index.js
CHANGED
|
@@ -26,6 +26,7 @@ __export(index_exports, {
|
|
|
26
26
|
CampOption: () => CampOption,
|
|
27
27
|
CourseCategory: () => CourseCategory,
|
|
28
28
|
DayOfWeek: () => DayOfWeek,
|
|
29
|
+
FeesInCents: () => FeesInCents,
|
|
29
30
|
GoRank: () => GoRank,
|
|
30
31
|
HearAboutUs: () => HearAboutUs,
|
|
31
32
|
NYIGSchool: () => NYIGSchool,
|
|
@@ -187,6 +188,11 @@ var zTuition = import_zod3.z.object({
|
|
|
187
188
|
textbook: import_zod3.z.boolean().optional(),
|
|
188
189
|
shipping: import_zod3.z.boolean().optional()
|
|
189
190
|
});
|
|
191
|
+
var FeesInCents = /* @__PURE__ */ ((FeesInCents2) => {
|
|
192
|
+
FeesInCents2[FeesInCents2["MATERIAL"] = 1e4] = "MATERIAL";
|
|
193
|
+
FeesInCents2[FeesInCents2["SHIPPING"] = 2e3] = "SHIPPING";
|
|
194
|
+
return FeesInCents2;
|
|
195
|
+
})(FeesInCents || {});
|
|
190
196
|
|
|
191
197
|
// src/interface/tracking/campOption.ts
|
|
192
198
|
var CampOption = /* @__PURE__ */ ((CampOption2) => {
|
|
@@ -704,8 +710,8 @@ var zBTeacherPayment = import_zod23.z.object({
|
|
|
704
710
|
});
|
|
705
711
|
var zTeacherPayment = addAutoProps(zBTeacherPayment);
|
|
706
712
|
var zTeacherPaymentResponse = zTeacherPayment.extend({
|
|
707
|
-
teacher: import_zod23.z.object({ name: import_zod23.z.string(), rank: import_zod23.z.string().optional() }),
|
|
708
|
-
editedBy: import_zod23.z.object({ name: import_zod23.z.string(), rank: import_zod23.z.string().optional() })
|
|
713
|
+
teacher: import_zod23.z.object({ _id: import_zod23.z.string(), name: import_zod23.z.string(), rank: import_zod23.z.string().optional() }),
|
|
714
|
+
editedBy: import_zod23.z.object({ _id: import_zod23.z.string(), name: import_zod23.z.string(), rank: import_zod23.z.string().optional() })
|
|
709
715
|
});
|
|
710
716
|
|
|
711
717
|
// src/interface/public/aurora.ts
|
|
@@ -916,6 +922,7 @@ var zEventRegResponse = zEventReg.extend({
|
|
|
916
922
|
CampOption,
|
|
917
923
|
CourseCategory,
|
|
918
924
|
DayOfWeek,
|
|
925
|
+
FeesInCents,
|
|
919
926
|
GoRank,
|
|
920
927
|
HearAboutUs,
|
|
921
928
|
NYIGSchool,
|
package/index.mjs
CHANGED
|
@@ -80,6 +80,11 @@ var zTuition = z3.object({
|
|
|
80
80
|
textbook: z3.boolean().optional(),
|
|
81
81
|
shipping: z3.boolean().optional()
|
|
82
82
|
});
|
|
83
|
+
var FeesInCents = /* @__PURE__ */ ((FeesInCents2) => {
|
|
84
|
+
FeesInCents2[FeesInCents2["MATERIAL"] = 1e4] = "MATERIAL";
|
|
85
|
+
FeesInCents2[FeesInCents2["SHIPPING"] = 2e3] = "SHIPPING";
|
|
86
|
+
return FeesInCents2;
|
|
87
|
+
})(FeesInCents || {});
|
|
83
88
|
|
|
84
89
|
// src/interface/tracking/campOption.ts
|
|
85
90
|
var CampOption = /* @__PURE__ */ ((CampOption2) => {
|
|
@@ -597,8 +602,8 @@ var zBTeacherPayment = z23.object({
|
|
|
597
602
|
});
|
|
598
603
|
var zTeacherPayment = addAutoProps(zBTeacherPayment);
|
|
599
604
|
var zTeacherPaymentResponse = zTeacherPayment.extend({
|
|
600
|
-
teacher: z23.object({ name: z23.string(), rank: z23.string().optional() }),
|
|
601
|
-
editedBy: z23.object({ name: z23.string(), rank: z23.string().optional() })
|
|
605
|
+
teacher: z23.object({ _id: z23.string(), name: z23.string(), rank: z23.string().optional() }),
|
|
606
|
+
editedBy: z23.object({ _id: z23.string(), name: z23.string(), rank: z23.string().optional() })
|
|
602
607
|
});
|
|
603
608
|
|
|
604
609
|
// src/interface/public/aurora.ts
|
|
@@ -808,6 +813,7 @@ export {
|
|
|
808
813
|
CampOption,
|
|
809
814
|
CourseCategory,
|
|
810
815
|
DayOfWeek,
|
|
816
|
+
FeesInCents,
|
|
811
817
|
GoRank,
|
|
812
818
|
HearAboutUs,
|
|
813
819
|
NYIGSchool,
|
package/package.json
CHANGED
|
@@ -1,19 +1,19 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@nyig/models",
|
|
3
|
-
"version": "0.4.
|
|
3
|
+
"version": "0.4.16",
|
|
4
4
|
"license": "MIT",
|
|
5
5
|
"main": "index.js",
|
|
6
6
|
"module": "index.mjs",
|
|
7
7
|
"types": "index.d.ts",
|
|
8
8
|
"peerDependencies": {
|
|
9
|
-
"zod": ">=3.
|
|
9
|
+
"zod": ">=3.25.46"
|
|
10
10
|
},
|
|
11
11
|
"devDependencies": {
|
|
12
|
-
"@changesets/cli": "^2.29.
|
|
12
|
+
"@changesets/cli": "^2.29.4",
|
|
13
13
|
"husky": "^9.1.7",
|
|
14
|
-
"lint-staged": "^
|
|
14
|
+
"lint-staged": "^16.1.0",
|
|
15
15
|
"prettier": "^3.5.3",
|
|
16
|
-
"tsup": "^8.
|
|
16
|
+
"tsup": "^8.5.0",
|
|
17
17
|
"typescript": "^5.8.3"
|
|
18
18
|
},
|
|
19
19
|
"lint-staged": {
|