@nyig/models 0.2.39 → 0.2.41
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 +353 -221
- package/index.d.ts +353 -221
- package/index.js +8 -2
- package/index.mjs +7 -2
- package/package.json +1 -1
package/index.js
CHANGED
|
@@ -73,6 +73,7 @@ __export(src_exports, {
|
|
|
73
73
|
zInvoiceResponse: () => zInvoiceResponse,
|
|
74
74
|
zPrivateBooking: () => zPrivateBooking,
|
|
75
75
|
zReportTicket: () => zReportTicket,
|
|
76
|
+
zReportTicketResponse: () => zReportTicketResponse,
|
|
76
77
|
zScheduleData: () => zScheduleData,
|
|
77
78
|
zScheduleTable: () => zScheduleTable,
|
|
78
79
|
zSemester: () => zSemester,
|
|
@@ -165,8 +166,8 @@ function addAutoProps(original) {
|
|
|
165
166
|
return original.extend({
|
|
166
167
|
_id: import_zod4.z.string(),
|
|
167
168
|
editedBy: import_zod4.z.string().optional(),
|
|
168
|
-
createdAt: import_zod4.z.
|
|
169
|
-
updatedAt: import_zod4.z.
|
|
169
|
+
createdAt: import_zod4.z.string().optional(),
|
|
170
|
+
updatedAt: import_zod4.z.string().optional()
|
|
170
171
|
});
|
|
171
172
|
}
|
|
172
173
|
|
|
@@ -569,6 +570,10 @@ var zBReportTicket = import_zod20.z.object({
|
|
|
569
570
|
description: import_zod20.z.string()
|
|
570
571
|
});
|
|
571
572
|
var zReportTicket = addAutoProps(zBReportTicket);
|
|
573
|
+
var zReportTicketResponse = zReportTicket.extend({
|
|
574
|
+
requester: zBUser,
|
|
575
|
+
resolver: zBUser.optional()
|
|
576
|
+
});
|
|
572
577
|
|
|
573
578
|
// src/interface/semester/season.ts
|
|
574
579
|
var Season = /* @__PURE__ */ ((Season2) => {
|
|
@@ -790,6 +795,7 @@ var zEventRegResponse = zEventReg.extend({
|
|
|
790
795
|
zInvoiceResponse,
|
|
791
796
|
zPrivateBooking,
|
|
792
797
|
zReportTicket,
|
|
798
|
+
zReportTicketResponse,
|
|
793
799
|
zScheduleData,
|
|
794
800
|
zScheduleTable,
|
|
795
801
|
zSemester,
|
package/index.mjs
CHANGED
|
@@ -75,8 +75,8 @@ function addAutoProps(original) {
|
|
|
75
75
|
return original.extend({
|
|
76
76
|
_id: z4.string(),
|
|
77
77
|
editedBy: z4.string().optional(),
|
|
78
|
-
createdAt: z4.
|
|
79
|
-
updatedAt: z4.
|
|
78
|
+
createdAt: z4.string().optional(),
|
|
79
|
+
updatedAt: z4.string().optional()
|
|
80
80
|
});
|
|
81
81
|
}
|
|
82
82
|
|
|
@@ -479,6 +479,10 @@ var zBReportTicket = z20.object({
|
|
|
479
479
|
description: z20.string()
|
|
480
480
|
});
|
|
481
481
|
var zReportTicket = addAutoProps(zBReportTicket);
|
|
482
|
+
var zReportTicketResponse = zReportTicket.extend({
|
|
483
|
+
requester: zBUser,
|
|
484
|
+
resolver: zBUser.optional()
|
|
485
|
+
});
|
|
482
486
|
|
|
483
487
|
// src/interface/semester/season.ts
|
|
484
488
|
var Season = /* @__PURE__ */ ((Season2) => {
|
|
@@ -699,6 +703,7 @@ export {
|
|
|
699
703
|
zInvoiceResponse,
|
|
700
704
|
zPrivateBooking,
|
|
701
705
|
zReportTicket,
|
|
706
|
+
zReportTicketResponse,
|
|
702
707
|
zScheduleData,
|
|
703
708
|
zScheduleTable,
|
|
704
709
|
zSemester,
|