@nyig/models 0.6.13 → 0.6.15
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 +392 -38
- package/index.d.ts +392 -38
- package/index.js +3 -7
- package/index.mjs +3 -7
- package/package.json +2 -2
package/index.js
CHANGED
|
@@ -216,7 +216,8 @@ function addAutoProps(original) {
|
|
|
216
216
|
_id: import_zod4.z.string(),
|
|
217
217
|
editedBy: import_zod4.z.string().optional(),
|
|
218
218
|
createdAt: import_zod4.z.string().optional(),
|
|
219
|
-
updatedAt: import_zod4.z.string().optional()
|
|
219
|
+
updatedAt: import_zod4.z.string().optional(),
|
|
220
|
+
isDeleted: import_zod4.z.string().optional()
|
|
220
221
|
});
|
|
221
222
|
}
|
|
222
223
|
|
|
@@ -380,11 +381,6 @@ var zBCourse = import_zod9.z.object({
|
|
|
380
381
|
*/
|
|
381
382
|
price: import_zod9.z.coerce.number().int("Tuition must be a whole number in cents").min(1, "Tuition must not be less than or equal to 0"),
|
|
382
383
|
description: import_zod9.z.string().or(import_zod9.z.literal("")).optional(),
|
|
383
|
-
/**
|
|
384
|
-
* NYIG School location
|
|
385
|
-
* @deprecated
|
|
386
|
-
*/
|
|
387
|
-
nyigSchool: import_zod9.z.nativeEnum(NYIGSchool).optional(),
|
|
388
384
|
/**
|
|
389
385
|
* NYIG School locations the course is offered at
|
|
390
386
|
*/
|
|
@@ -904,7 +900,7 @@ var zBEventConfig = import_zod29.z.object({
|
|
|
904
900
|
* If false, the tournament is not viewable in public APIs
|
|
905
901
|
* admin console can still see it
|
|
906
902
|
*/
|
|
907
|
-
isHidden: import_zod29.z.boolean(),
|
|
903
|
+
isHidden: import_zod29.z.boolean().optional(),
|
|
908
904
|
/**
|
|
909
905
|
* Defines the registration of youth and adults in the event
|
|
910
906
|
*/
|
package/index.mjs
CHANGED
|
@@ -104,7 +104,8 @@ function addAutoProps(original) {
|
|
|
104
104
|
_id: z4.string(),
|
|
105
105
|
editedBy: z4.string().optional(),
|
|
106
106
|
createdAt: z4.string().optional(),
|
|
107
|
-
updatedAt: z4.string().optional()
|
|
107
|
+
updatedAt: z4.string().optional(),
|
|
108
|
+
isDeleted: z4.string().optional()
|
|
108
109
|
});
|
|
109
110
|
}
|
|
110
111
|
|
|
@@ -268,11 +269,6 @@ var zBCourse = z9.object({
|
|
|
268
269
|
*/
|
|
269
270
|
price: z9.coerce.number().int("Tuition must be a whole number in cents").min(1, "Tuition must not be less than or equal to 0"),
|
|
270
271
|
description: z9.string().or(z9.literal("")).optional(),
|
|
271
|
-
/**
|
|
272
|
-
* NYIG School location
|
|
273
|
-
* @deprecated
|
|
274
|
-
*/
|
|
275
|
-
nyigSchool: z9.nativeEnum(NYIGSchool).optional(),
|
|
276
272
|
/**
|
|
277
273
|
* NYIG School locations the course is offered at
|
|
278
274
|
*/
|
|
@@ -792,7 +788,7 @@ var zBEventConfig = z29.object({
|
|
|
792
788
|
* If false, the tournament is not viewable in public APIs
|
|
793
789
|
* admin console can still see it
|
|
794
790
|
*/
|
|
795
|
-
isHidden: z29.boolean(),
|
|
791
|
+
isHidden: z29.boolean().optional(),
|
|
796
792
|
/**
|
|
797
793
|
* Defines the registration of youth and adults in the event
|
|
798
794
|
*/
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@nyig/models",
|
|
3
|
-
"version": "0.6.
|
|
3
|
+
"version": "0.6.15",
|
|
4
4
|
"license": "MIT",
|
|
5
5
|
"main": "index.js",
|
|
6
6
|
"module": "index.mjs",
|
|
@@ -21,7 +21,7 @@
|
|
|
21
21
|
"@changesets/cli": "^2.29.8",
|
|
22
22
|
"husky": "^9.1.7",
|
|
23
23
|
"lint-staged": "^16.2.7",
|
|
24
|
-
"prettier": "^3.
|
|
24
|
+
"prettier": "^3.8.1",
|
|
25
25
|
"tsup": "^8.5.1",
|
|
26
26
|
"typescript": "^5.9.3"
|
|
27
27
|
},
|