@nyig/models 0.3.13 → 0.3.14
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 +92 -55
- package/index.d.ts +92 -55
- package/index.js +1 -6
- package/index.mjs +1 -5
- package/package.json +1 -1
package/index.d.mts
CHANGED
|
@@ -1166,7 +1166,57 @@ declare const zBCampTracker: z.ZodObject<{
|
|
|
1166
1166
|
/**
|
|
1167
1167
|
* attendances are tracked by week for camps
|
|
1168
1168
|
*/
|
|
1169
|
-
attendances: z.ZodArray<z.
|
|
1169
|
+
attendances: z.ZodArray<z.ZodObject<{
|
|
1170
|
+
editedBy: z.ZodOptional<z.ZodString>;
|
|
1171
|
+
createdAt: z.ZodOptional<z.ZodString>;
|
|
1172
|
+
updatedAt: z.ZodOptional<z.ZodString>;
|
|
1173
|
+
student: z.ZodString;
|
|
1174
|
+
states: z.ZodArray<z.ZodNativeEnum<typeof AttendState>, "many">;
|
|
1175
|
+
tuition: z.ZodOptional<z.ZodObject<{
|
|
1176
|
+
primary: z.ZodNumber;
|
|
1177
|
+
textbook: z.ZodOptional<z.ZodBoolean>;
|
|
1178
|
+
shipping: z.ZodOptional<z.ZodBoolean>;
|
|
1179
|
+
}, "strip", z.ZodTypeAny, {
|
|
1180
|
+
primary: number;
|
|
1181
|
+
textbook?: boolean | undefined;
|
|
1182
|
+
shipping?: boolean | undefined;
|
|
1183
|
+
}, {
|
|
1184
|
+
primary: number;
|
|
1185
|
+
textbook?: boolean | undefined;
|
|
1186
|
+
shipping?: boolean | undefined;
|
|
1187
|
+
}>>;
|
|
1188
|
+
paid: z.ZodOptional<z.ZodBoolean>;
|
|
1189
|
+
campOption: z.ZodOptional<z.ZodNativeEnum<typeof CampOption>>;
|
|
1190
|
+
_id: z.ZodOptional<z.ZodString>;
|
|
1191
|
+
}, z.UnknownKeysParam, z.ZodTypeAny, {
|
|
1192
|
+
student: string;
|
|
1193
|
+
states: AttendState[];
|
|
1194
|
+
editedBy?: string | undefined;
|
|
1195
|
+
createdAt?: string | undefined;
|
|
1196
|
+
updatedAt?: string | undefined;
|
|
1197
|
+
tuition?: {
|
|
1198
|
+
primary: number;
|
|
1199
|
+
textbook?: boolean | undefined;
|
|
1200
|
+
shipping?: boolean | undefined;
|
|
1201
|
+
} | undefined;
|
|
1202
|
+
paid?: boolean | undefined;
|
|
1203
|
+
campOption?: CampOption | undefined;
|
|
1204
|
+
_id?: string | undefined;
|
|
1205
|
+
}, {
|
|
1206
|
+
student: string;
|
|
1207
|
+
states: AttendState[];
|
|
1208
|
+
editedBy?: string | undefined;
|
|
1209
|
+
createdAt?: string | undefined;
|
|
1210
|
+
updatedAt?: string | undefined;
|
|
1211
|
+
tuition?: {
|
|
1212
|
+
primary: number;
|
|
1213
|
+
textbook?: boolean | undefined;
|
|
1214
|
+
shipping?: boolean | undefined;
|
|
1215
|
+
} | undefined;
|
|
1216
|
+
paid?: boolean | undefined;
|
|
1217
|
+
campOption?: CampOption | undefined;
|
|
1218
|
+
_id?: string | undefined;
|
|
1219
|
+
}>, "many">;
|
|
1170
1220
|
publicDescription: z.ZodOptional<z.ZodString>;
|
|
1171
1221
|
isNonPublic: z.ZodOptional<z.ZodBoolean>;
|
|
1172
1222
|
notes: z.ZodOptional<z.ZodString>;
|
|
@@ -1175,7 +1225,21 @@ declare const zBCampTracker: z.ZodObject<{
|
|
|
1175
1225
|
teacher: string;
|
|
1176
1226
|
semester: string;
|
|
1177
1227
|
occurrences: string[];
|
|
1178
|
-
attendances:
|
|
1228
|
+
attendances: {
|
|
1229
|
+
student: string;
|
|
1230
|
+
states: AttendState[];
|
|
1231
|
+
editedBy?: string | undefined;
|
|
1232
|
+
createdAt?: string | undefined;
|
|
1233
|
+
updatedAt?: string | undefined;
|
|
1234
|
+
tuition?: {
|
|
1235
|
+
primary: number;
|
|
1236
|
+
textbook?: boolean | undefined;
|
|
1237
|
+
shipping?: boolean | undefined;
|
|
1238
|
+
} | undefined;
|
|
1239
|
+
paid?: boolean | undefined;
|
|
1240
|
+
campOption?: CampOption | undefined;
|
|
1241
|
+
_id?: string | undefined;
|
|
1242
|
+
}[];
|
|
1179
1243
|
publicDescription?: string | undefined;
|
|
1180
1244
|
isNonPublic?: boolean | undefined;
|
|
1181
1245
|
notes?: string | undefined;
|
|
@@ -1184,7 +1248,21 @@ declare const zBCampTracker: z.ZodObject<{
|
|
|
1184
1248
|
teacher: string;
|
|
1185
1249
|
semester: string;
|
|
1186
1250
|
occurrences: string[];
|
|
1187
|
-
attendances:
|
|
1251
|
+
attendances: {
|
|
1252
|
+
student: string;
|
|
1253
|
+
states: AttendState[];
|
|
1254
|
+
editedBy?: string | undefined;
|
|
1255
|
+
createdAt?: string | undefined;
|
|
1256
|
+
updatedAt?: string | undefined;
|
|
1257
|
+
tuition?: {
|
|
1258
|
+
primary: number;
|
|
1259
|
+
textbook?: boolean | undefined;
|
|
1260
|
+
shipping?: boolean | undefined;
|
|
1261
|
+
} | undefined;
|
|
1262
|
+
paid?: boolean | undefined;
|
|
1263
|
+
campOption?: CampOption | undefined;
|
|
1264
|
+
_id?: string | undefined;
|
|
1265
|
+
}[];
|
|
1188
1266
|
publicDescription?: string | undefined;
|
|
1189
1267
|
isNonPublic?: boolean | undefined;
|
|
1190
1268
|
notes?: string | undefined;
|
|
@@ -1195,52 +1273,6 @@ declare const zCampTracker: z.ZodObject<{
|
|
|
1195
1273
|
teacher: z.ZodString;
|
|
1196
1274
|
semester: z.ZodString;
|
|
1197
1275
|
occurrences: z.ZodArray<z.ZodString, "many">;
|
|
1198
|
-
attendances: z.ZodArray<z.ZodString, "many">;
|
|
1199
|
-
publicDescription: z.ZodOptional<z.ZodString>;
|
|
1200
|
-
isNonPublic: z.ZodOptional<z.ZodBoolean>;
|
|
1201
|
-
_id: z.ZodString;
|
|
1202
|
-
editedBy: z.ZodOptional<z.ZodString>;
|
|
1203
|
-
createdAt: z.ZodOptional<z.ZodString>;
|
|
1204
|
-
updatedAt: z.ZodOptional<z.ZodString>;
|
|
1205
|
-
}, z.UnknownKeysParam, z.ZodTypeAny, {
|
|
1206
|
-
_id: string;
|
|
1207
|
-
course: string;
|
|
1208
|
-
teacher: string;
|
|
1209
|
-
semester: string;
|
|
1210
|
-
occurrences: string[];
|
|
1211
|
-
attendances: string[];
|
|
1212
|
-
notes?: string | undefined;
|
|
1213
|
-
publicDescription?: string | undefined;
|
|
1214
|
-
isNonPublic?: boolean | undefined;
|
|
1215
|
-
editedBy?: string | undefined;
|
|
1216
|
-
createdAt?: string | undefined;
|
|
1217
|
-
updatedAt?: string | undefined;
|
|
1218
|
-
}, {
|
|
1219
|
-
_id: string;
|
|
1220
|
-
course: string;
|
|
1221
|
-
teacher: string;
|
|
1222
|
-
semester: string;
|
|
1223
|
-
occurrences: string[];
|
|
1224
|
-
attendances: string[];
|
|
1225
|
-
notes?: string | undefined;
|
|
1226
|
-
publicDescription?: string | undefined;
|
|
1227
|
-
isNonPublic?: boolean | undefined;
|
|
1228
|
-
editedBy?: string | undefined;
|
|
1229
|
-
createdAt?: string | undefined;
|
|
1230
|
-
updatedAt?: string | undefined;
|
|
1231
|
-
}>;
|
|
1232
|
-
declare const zCampTrackerRequest: z.ZodObject<{
|
|
1233
|
-
notes: z.ZodOptional<z.ZodString>;
|
|
1234
|
-
_id: z.ZodString;
|
|
1235
|
-
editedBy: z.ZodOptional<z.ZodString>;
|
|
1236
|
-
createdAt: z.ZodOptional<z.ZodString>;
|
|
1237
|
-
updatedAt: z.ZodOptional<z.ZodString>;
|
|
1238
|
-
course: z.ZodString;
|
|
1239
|
-
teacher: z.ZodString;
|
|
1240
|
-
semester: z.ZodString;
|
|
1241
|
-
occurrences: z.ZodArray<z.ZodString, "many">;
|
|
1242
|
-
publicDescription: z.ZodOptional<z.ZodString>;
|
|
1243
|
-
isNonPublic: z.ZodOptional<z.ZodBoolean>;
|
|
1244
1276
|
attendances: z.ZodArray<z.ZodObject<{
|
|
1245
1277
|
editedBy: z.ZodOptional<z.ZodString>;
|
|
1246
1278
|
createdAt: z.ZodOptional<z.ZodString>;
|
|
@@ -1292,6 +1324,12 @@ declare const zCampTrackerRequest: z.ZodObject<{
|
|
|
1292
1324
|
campOption?: CampOption | undefined;
|
|
1293
1325
|
_id?: string | undefined;
|
|
1294
1326
|
}>, "many">;
|
|
1327
|
+
publicDescription: z.ZodOptional<z.ZodString>;
|
|
1328
|
+
isNonPublic: z.ZodOptional<z.ZodBoolean>;
|
|
1329
|
+
_id: z.ZodString;
|
|
1330
|
+
editedBy: z.ZodOptional<z.ZodString>;
|
|
1331
|
+
createdAt: z.ZodOptional<z.ZodString>;
|
|
1332
|
+
updatedAt: z.ZodOptional<z.ZodString>;
|
|
1295
1333
|
}, z.UnknownKeysParam, z.ZodTypeAny, {
|
|
1296
1334
|
_id: string;
|
|
1297
1335
|
course: string;
|
|
@@ -1314,11 +1352,11 @@ declare const zCampTrackerRequest: z.ZodObject<{
|
|
|
1314
1352
|
_id?: string | undefined;
|
|
1315
1353
|
}[];
|
|
1316
1354
|
notes?: string | undefined;
|
|
1355
|
+
publicDescription?: string | undefined;
|
|
1356
|
+
isNonPublic?: boolean | undefined;
|
|
1317
1357
|
editedBy?: string | undefined;
|
|
1318
1358
|
createdAt?: string | undefined;
|
|
1319
1359
|
updatedAt?: string | undefined;
|
|
1320
|
-
publicDescription?: string | undefined;
|
|
1321
|
-
isNonPublic?: boolean | undefined;
|
|
1322
1360
|
}, {
|
|
1323
1361
|
_id: string;
|
|
1324
1362
|
course: string;
|
|
@@ -1341,11 +1379,11 @@ declare const zCampTrackerRequest: z.ZodObject<{
|
|
|
1341
1379
|
_id?: string | undefined;
|
|
1342
1380
|
}[];
|
|
1343
1381
|
notes?: string | undefined;
|
|
1382
|
+
publicDescription?: string | undefined;
|
|
1383
|
+
isNonPublic?: boolean | undefined;
|
|
1344
1384
|
editedBy?: string | undefined;
|
|
1345
1385
|
createdAt?: string | undefined;
|
|
1346
1386
|
updatedAt?: string | undefined;
|
|
1347
|
-
publicDescription?: string | undefined;
|
|
1348
|
-
isNonPublic?: boolean | undefined;
|
|
1349
1387
|
}>;
|
|
1350
1388
|
declare const zCampTrackerResponse: z.ZodObject<{
|
|
1351
1389
|
notes: z.ZodOptional<z.ZodString>;
|
|
@@ -1880,7 +1918,6 @@ declare const zCampTrackerResponse: z.ZodObject<{
|
|
|
1880
1918
|
}>;
|
|
1881
1919
|
type BCampTracker = z.infer<typeof zBCampTracker>;
|
|
1882
1920
|
type CampTracker = z.infer<typeof zCampTracker>;
|
|
1883
|
-
type CampTrackerRequest = z.infer<typeof zCampTrackerRequest>;
|
|
1884
1921
|
type CampTrackerResponse = z.infer<typeof zCampTrackerResponse>;
|
|
1885
1922
|
|
|
1886
1923
|
declare const zBClassTracker: z.ZodObject<{
|
|
@@ -5358,4 +5395,4 @@ declare const zEventTicket: z.ZodObject<{
|
|
|
5358
5395
|
type BEventTicket = z.infer<typeof zBEventTicket>;
|
|
5359
5396
|
type EventTicket = z.infer<typeof zEventTicket>;
|
|
5360
5397
|
|
|
5361
|
-
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
|
|
5398
|
+
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 ClassTracker, type ClassTrackerResponse, type Course, CourseCategory, type CourseTable, type CreateAdminAccountRequest, type DetailsTable, type Discount, type EventConfig, type EventConfigResponse, type EventReg, type EventRegResponse, type EventTicket, type EventTicketReg, type EventTicketRegResponse, GoRank, type GroupBooking, type GroupTracker, 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 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 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, zDetailsTable, zDiscount, zEventConfig, zEventConfigResponse, zEventReg, zEventRegResponse, zEventTicket, zEventTicketReg, zEventTicketRegResponse, zGroupBooking, zGroupTracker, zImageDef, zInvoice, zInvoiceItem, zInvoicePackage, zInvoicePackageResponse, zInvoiceResponse, zLoginRequest, zLoginResponse, zPrivateBooking, zReportTicket, zReportTicketResponse, zScheduleData, zScheduleTable, zSemester, zStudent, zTeacher, zTeacherDisplay, zTeacherPayment, zTeacherPaymentResponse, zTeacherPaymentRow, zTuition, zUser, zUserRoles };
|
package/index.d.ts
CHANGED
|
@@ -1166,7 +1166,57 @@ declare const zBCampTracker: z.ZodObject<{
|
|
|
1166
1166
|
/**
|
|
1167
1167
|
* attendances are tracked by week for camps
|
|
1168
1168
|
*/
|
|
1169
|
-
attendances: z.ZodArray<z.
|
|
1169
|
+
attendances: z.ZodArray<z.ZodObject<{
|
|
1170
|
+
editedBy: z.ZodOptional<z.ZodString>;
|
|
1171
|
+
createdAt: z.ZodOptional<z.ZodString>;
|
|
1172
|
+
updatedAt: z.ZodOptional<z.ZodString>;
|
|
1173
|
+
student: z.ZodString;
|
|
1174
|
+
states: z.ZodArray<z.ZodNativeEnum<typeof AttendState>, "many">;
|
|
1175
|
+
tuition: z.ZodOptional<z.ZodObject<{
|
|
1176
|
+
primary: z.ZodNumber;
|
|
1177
|
+
textbook: z.ZodOptional<z.ZodBoolean>;
|
|
1178
|
+
shipping: z.ZodOptional<z.ZodBoolean>;
|
|
1179
|
+
}, "strip", z.ZodTypeAny, {
|
|
1180
|
+
primary: number;
|
|
1181
|
+
textbook?: boolean | undefined;
|
|
1182
|
+
shipping?: boolean | undefined;
|
|
1183
|
+
}, {
|
|
1184
|
+
primary: number;
|
|
1185
|
+
textbook?: boolean | undefined;
|
|
1186
|
+
shipping?: boolean | undefined;
|
|
1187
|
+
}>>;
|
|
1188
|
+
paid: z.ZodOptional<z.ZodBoolean>;
|
|
1189
|
+
campOption: z.ZodOptional<z.ZodNativeEnum<typeof CampOption>>;
|
|
1190
|
+
_id: z.ZodOptional<z.ZodString>;
|
|
1191
|
+
}, z.UnknownKeysParam, z.ZodTypeAny, {
|
|
1192
|
+
student: string;
|
|
1193
|
+
states: AttendState[];
|
|
1194
|
+
editedBy?: string | undefined;
|
|
1195
|
+
createdAt?: string | undefined;
|
|
1196
|
+
updatedAt?: string | undefined;
|
|
1197
|
+
tuition?: {
|
|
1198
|
+
primary: number;
|
|
1199
|
+
textbook?: boolean | undefined;
|
|
1200
|
+
shipping?: boolean | undefined;
|
|
1201
|
+
} | undefined;
|
|
1202
|
+
paid?: boolean | undefined;
|
|
1203
|
+
campOption?: CampOption | undefined;
|
|
1204
|
+
_id?: string | undefined;
|
|
1205
|
+
}, {
|
|
1206
|
+
student: string;
|
|
1207
|
+
states: AttendState[];
|
|
1208
|
+
editedBy?: string | undefined;
|
|
1209
|
+
createdAt?: string | undefined;
|
|
1210
|
+
updatedAt?: string | undefined;
|
|
1211
|
+
tuition?: {
|
|
1212
|
+
primary: number;
|
|
1213
|
+
textbook?: boolean | undefined;
|
|
1214
|
+
shipping?: boolean | undefined;
|
|
1215
|
+
} | undefined;
|
|
1216
|
+
paid?: boolean | undefined;
|
|
1217
|
+
campOption?: CampOption | undefined;
|
|
1218
|
+
_id?: string | undefined;
|
|
1219
|
+
}>, "many">;
|
|
1170
1220
|
publicDescription: z.ZodOptional<z.ZodString>;
|
|
1171
1221
|
isNonPublic: z.ZodOptional<z.ZodBoolean>;
|
|
1172
1222
|
notes: z.ZodOptional<z.ZodString>;
|
|
@@ -1175,7 +1225,21 @@ declare const zBCampTracker: z.ZodObject<{
|
|
|
1175
1225
|
teacher: string;
|
|
1176
1226
|
semester: string;
|
|
1177
1227
|
occurrences: string[];
|
|
1178
|
-
attendances:
|
|
1228
|
+
attendances: {
|
|
1229
|
+
student: string;
|
|
1230
|
+
states: AttendState[];
|
|
1231
|
+
editedBy?: string | undefined;
|
|
1232
|
+
createdAt?: string | undefined;
|
|
1233
|
+
updatedAt?: string | undefined;
|
|
1234
|
+
tuition?: {
|
|
1235
|
+
primary: number;
|
|
1236
|
+
textbook?: boolean | undefined;
|
|
1237
|
+
shipping?: boolean | undefined;
|
|
1238
|
+
} | undefined;
|
|
1239
|
+
paid?: boolean | undefined;
|
|
1240
|
+
campOption?: CampOption | undefined;
|
|
1241
|
+
_id?: string | undefined;
|
|
1242
|
+
}[];
|
|
1179
1243
|
publicDescription?: string | undefined;
|
|
1180
1244
|
isNonPublic?: boolean | undefined;
|
|
1181
1245
|
notes?: string | undefined;
|
|
@@ -1184,7 +1248,21 @@ declare const zBCampTracker: z.ZodObject<{
|
|
|
1184
1248
|
teacher: string;
|
|
1185
1249
|
semester: string;
|
|
1186
1250
|
occurrences: string[];
|
|
1187
|
-
attendances:
|
|
1251
|
+
attendances: {
|
|
1252
|
+
student: string;
|
|
1253
|
+
states: AttendState[];
|
|
1254
|
+
editedBy?: string | undefined;
|
|
1255
|
+
createdAt?: string | undefined;
|
|
1256
|
+
updatedAt?: string | undefined;
|
|
1257
|
+
tuition?: {
|
|
1258
|
+
primary: number;
|
|
1259
|
+
textbook?: boolean | undefined;
|
|
1260
|
+
shipping?: boolean | undefined;
|
|
1261
|
+
} | undefined;
|
|
1262
|
+
paid?: boolean | undefined;
|
|
1263
|
+
campOption?: CampOption | undefined;
|
|
1264
|
+
_id?: string | undefined;
|
|
1265
|
+
}[];
|
|
1188
1266
|
publicDescription?: string | undefined;
|
|
1189
1267
|
isNonPublic?: boolean | undefined;
|
|
1190
1268
|
notes?: string | undefined;
|
|
@@ -1195,52 +1273,6 @@ declare const zCampTracker: z.ZodObject<{
|
|
|
1195
1273
|
teacher: z.ZodString;
|
|
1196
1274
|
semester: z.ZodString;
|
|
1197
1275
|
occurrences: z.ZodArray<z.ZodString, "many">;
|
|
1198
|
-
attendances: z.ZodArray<z.ZodString, "many">;
|
|
1199
|
-
publicDescription: z.ZodOptional<z.ZodString>;
|
|
1200
|
-
isNonPublic: z.ZodOptional<z.ZodBoolean>;
|
|
1201
|
-
_id: z.ZodString;
|
|
1202
|
-
editedBy: z.ZodOptional<z.ZodString>;
|
|
1203
|
-
createdAt: z.ZodOptional<z.ZodString>;
|
|
1204
|
-
updatedAt: z.ZodOptional<z.ZodString>;
|
|
1205
|
-
}, z.UnknownKeysParam, z.ZodTypeAny, {
|
|
1206
|
-
_id: string;
|
|
1207
|
-
course: string;
|
|
1208
|
-
teacher: string;
|
|
1209
|
-
semester: string;
|
|
1210
|
-
occurrences: string[];
|
|
1211
|
-
attendances: string[];
|
|
1212
|
-
notes?: string | undefined;
|
|
1213
|
-
publicDescription?: string | undefined;
|
|
1214
|
-
isNonPublic?: boolean | undefined;
|
|
1215
|
-
editedBy?: string | undefined;
|
|
1216
|
-
createdAt?: string | undefined;
|
|
1217
|
-
updatedAt?: string | undefined;
|
|
1218
|
-
}, {
|
|
1219
|
-
_id: string;
|
|
1220
|
-
course: string;
|
|
1221
|
-
teacher: string;
|
|
1222
|
-
semester: string;
|
|
1223
|
-
occurrences: string[];
|
|
1224
|
-
attendances: string[];
|
|
1225
|
-
notes?: string | undefined;
|
|
1226
|
-
publicDescription?: string | undefined;
|
|
1227
|
-
isNonPublic?: boolean | undefined;
|
|
1228
|
-
editedBy?: string | undefined;
|
|
1229
|
-
createdAt?: string | undefined;
|
|
1230
|
-
updatedAt?: string | undefined;
|
|
1231
|
-
}>;
|
|
1232
|
-
declare const zCampTrackerRequest: z.ZodObject<{
|
|
1233
|
-
notes: z.ZodOptional<z.ZodString>;
|
|
1234
|
-
_id: z.ZodString;
|
|
1235
|
-
editedBy: z.ZodOptional<z.ZodString>;
|
|
1236
|
-
createdAt: z.ZodOptional<z.ZodString>;
|
|
1237
|
-
updatedAt: z.ZodOptional<z.ZodString>;
|
|
1238
|
-
course: z.ZodString;
|
|
1239
|
-
teacher: z.ZodString;
|
|
1240
|
-
semester: z.ZodString;
|
|
1241
|
-
occurrences: z.ZodArray<z.ZodString, "many">;
|
|
1242
|
-
publicDescription: z.ZodOptional<z.ZodString>;
|
|
1243
|
-
isNonPublic: z.ZodOptional<z.ZodBoolean>;
|
|
1244
1276
|
attendances: z.ZodArray<z.ZodObject<{
|
|
1245
1277
|
editedBy: z.ZodOptional<z.ZodString>;
|
|
1246
1278
|
createdAt: z.ZodOptional<z.ZodString>;
|
|
@@ -1292,6 +1324,12 @@ declare const zCampTrackerRequest: z.ZodObject<{
|
|
|
1292
1324
|
campOption?: CampOption | undefined;
|
|
1293
1325
|
_id?: string | undefined;
|
|
1294
1326
|
}>, "many">;
|
|
1327
|
+
publicDescription: z.ZodOptional<z.ZodString>;
|
|
1328
|
+
isNonPublic: z.ZodOptional<z.ZodBoolean>;
|
|
1329
|
+
_id: z.ZodString;
|
|
1330
|
+
editedBy: z.ZodOptional<z.ZodString>;
|
|
1331
|
+
createdAt: z.ZodOptional<z.ZodString>;
|
|
1332
|
+
updatedAt: z.ZodOptional<z.ZodString>;
|
|
1295
1333
|
}, z.UnknownKeysParam, z.ZodTypeAny, {
|
|
1296
1334
|
_id: string;
|
|
1297
1335
|
course: string;
|
|
@@ -1314,11 +1352,11 @@ declare const zCampTrackerRequest: z.ZodObject<{
|
|
|
1314
1352
|
_id?: string | undefined;
|
|
1315
1353
|
}[];
|
|
1316
1354
|
notes?: string | undefined;
|
|
1355
|
+
publicDescription?: string | undefined;
|
|
1356
|
+
isNonPublic?: boolean | undefined;
|
|
1317
1357
|
editedBy?: string | undefined;
|
|
1318
1358
|
createdAt?: string | undefined;
|
|
1319
1359
|
updatedAt?: string | undefined;
|
|
1320
|
-
publicDescription?: string | undefined;
|
|
1321
|
-
isNonPublic?: boolean | undefined;
|
|
1322
1360
|
}, {
|
|
1323
1361
|
_id: string;
|
|
1324
1362
|
course: string;
|
|
@@ -1341,11 +1379,11 @@ declare const zCampTrackerRequest: z.ZodObject<{
|
|
|
1341
1379
|
_id?: string | undefined;
|
|
1342
1380
|
}[];
|
|
1343
1381
|
notes?: string | undefined;
|
|
1382
|
+
publicDescription?: string | undefined;
|
|
1383
|
+
isNonPublic?: boolean | undefined;
|
|
1344
1384
|
editedBy?: string | undefined;
|
|
1345
1385
|
createdAt?: string | undefined;
|
|
1346
1386
|
updatedAt?: string | undefined;
|
|
1347
|
-
publicDescription?: string | undefined;
|
|
1348
|
-
isNonPublic?: boolean | undefined;
|
|
1349
1387
|
}>;
|
|
1350
1388
|
declare const zCampTrackerResponse: z.ZodObject<{
|
|
1351
1389
|
notes: z.ZodOptional<z.ZodString>;
|
|
@@ -1880,7 +1918,6 @@ declare const zCampTrackerResponse: z.ZodObject<{
|
|
|
1880
1918
|
}>;
|
|
1881
1919
|
type BCampTracker = z.infer<typeof zBCampTracker>;
|
|
1882
1920
|
type CampTracker = z.infer<typeof zCampTracker>;
|
|
1883
|
-
type CampTrackerRequest = z.infer<typeof zCampTrackerRequest>;
|
|
1884
1921
|
type CampTrackerResponse = z.infer<typeof zCampTrackerResponse>;
|
|
1885
1922
|
|
|
1886
1923
|
declare const zBClassTracker: z.ZodObject<{
|
|
@@ -5358,4 +5395,4 @@ declare const zEventTicket: z.ZodObject<{
|
|
|
5358
5395
|
type BEventTicket = z.infer<typeof zBEventTicket>;
|
|
5359
5396
|
type EventTicket = z.infer<typeof zEventTicket>;
|
|
5360
5397
|
|
|
5361
|
-
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
|
|
5398
|
+
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 ClassTracker, type ClassTrackerResponse, type Course, CourseCategory, type CourseTable, type CreateAdminAccountRequest, type DetailsTable, type Discount, type EventConfig, type EventConfigResponse, type EventReg, type EventRegResponse, type EventTicket, type EventTicketReg, type EventTicketRegResponse, GoRank, type GroupBooking, type GroupTracker, 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 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 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, zDetailsTable, zDiscount, zEventConfig, zEventConfigResponse, zEventReg, zEventRegResponse, zEventTicket, zEventTicketReg, zEventTicketRegResponse, zGroupBooking, zGroupTracker, zImageDef, zInvoice, zInvoiceItem, zInvoicePackage, zInvoicePackageResponse, zInvoiceResponse, zLoginRequest, zLoginResponse, zPrivateBooking, zReportTicket, zReportTicketResponse, zScheduleData, zScheduleTable, zSemester, zStudent, zTeacher, zTeacherDisplay, zTeacherPayment, zTeacherPaymentResponse, zTeacherPaymentRow, zTuition, zUser, zUserRoles };
|
package/index.js
CHANGED
|
@@ -56,7 +56,6 @@ __export(src_exports, {
|
|
|
56
56
|
zBUserInfo: () => zBUserInfo,
|
|
57
57
|
zCampBooking: () => zCampBooking,
|
|
58
58
|
zCampTracker: () => zCampTracker,
|
|
59
|
-
zCampTrackerRequest: () => zCampTrackerRequest,
|
|
60
59
|
zCampTrackerResponse: () => zCampTrackerResponse,
|
|
61
60
|
zChangePasswordRequest: () => zChangePasswordRequest,
|
|
62
61
|
zClassTracker: () => zClassTracker,
|
|
@@ -453,15 +452,12 @@ var zBCampTracker = import_zod13.z.object({
|
|
|
453
452
|
/**
|
|
454
453
|
* attendances are tracked by week for camps
|
|
455
454
|
*/
|
|
456
|
-
attendances: import_zod13.z.array(
|
|
455
|
+
attendances: import_zod13.z.array(zAttendanceRequest),
|
|
457
456
|
publicDescription: import_zod13.z.string().optional(),
|
|
458
457
|
isNonPublic: import_zod13.z.boolean().optional(),
|
|
459
458
|
notes: import_zod13.z.string().optional()
|
|
460
459
|
});
|
|
461
460
|
var zCampTracker = addAutoProps(zBCampTracker);
|
|
462
|
-
var zCampTrackerRequest = zCampTracker.extend({
|
|
463
|
-
attendances: import_zod13.z.array(zAttendanceRequest)
|
|
464
|
-
});
|
|
465
461
|
var zCampTrackerResponse = zCampTracker.extend({
|
|
466
462
|
course: zCourse,
|
|
467
463
|
teacher: zTeacher,
|
|
@@ -865,7 +861,6 @@ var zEventRegResponse = zEventReg.extend({
|
|
|
865
861
|
zBUserInfo,
|
|
866
862
|
zCampBooking,
|
|
867
863
|
zCampTracker,
|
|
868
|
-
zCampTrackerRequest,
|
|
869
864
|
zCampTrackerResponse,
|
|
870
865
|
zChangePasswordRequest,
|
|
871
866
|
zClassTracker,
|
package/index.mjs
CHANGED
|
@@ -350,15 +350,12 @@ var zBCampTracker = z13.object({
|
|
|
350
350
|
/**
|
|
351
351
|
* attendances are tracked by week for camps
|
|
352
352
|
*/
|
|
353
|
-
attendances: z13.array(
|
|
353
|
+
attendances: z13.array(zAttendanceRequest),
|
|
354
354
|
publicDescription: z13.string().optional(),
|
|
355
355
|
isNonPublic: z13.boolean().optional(),
|
|
356
356
|
notes: z13.string().optional()
|
|
357
357
|
});
|
|
358
358
|
var zCampTracker = addAutoProps(zBCampTracker);
|
|
359
|
-
var zCampTrackerRequest = zCampTracker.extend({
|
|
360
|
-
attendances: z13.array(zAttendanceRequest)
|
|
361
|
-
});
|
|
362
359
|
var zCampTrackerResponse = zCampTracker.extend({
|
|
363
360
|
course: zCourse,
|
|
364
361
|
teacher: zTeacher,
|
|
@@ -761,7 +758,6 @@ export {
|
|
|
761
758
|
zBUserInfo,
|
|
762
759
|
zCampBooking,
|
|
763
760
|
zCampTracker,
|
|
764
|
-
zCampTrackerRequest,
|
|
765
761
|
zCampTrackerResponse,
|
|
766
762
|
zChangePasswordRequest,
|
|
767
763
|
zClassTracker,
|