@nyig/models 0.5.3 → 0.5.4
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 +9 -9
- package/index.d.ts +9 -9
- package/index.js +1 -1
- package/index.mjs +1 -1
- package/package.json +1 -1
package/index.d.mts
CHANGED
|
@@ -5012,7 +5012,7 @@ declare const zBEventConfig: z.ZodObject<{
|
|
|
5012
5012
|
* youth_only - only youth
|
|
5013
5013
|
* both - both youth and adult
|
|
5014
5014
|
*/
|
|
5015
|
-
youthOrAdult: z.ZodNativeEnum<typeof YouthOrAdult
|
|
5015
|
+
youthOrAdult: z.ZodOptional<z.ZodNativeEnum<typeof YouthOrAdult>>;
|
|
5016
5016
|
/**
|
|
5017
5017
|
* If true, free form donation amounts are disabled.
|
|
5018
5018
|
*/
|
|
@@ -5051,10 +5051,10 @@ declare const zBEventConfig: z.ZodObject<{
|
|
|
5051
5051
|
};
|
|
5052
5052
|
tickets: string[];
|
|
5053
5053
|
canRegister: boolean;
|
|
5054
|
-
youthOrAdult: YouthOrAdult;
|
|
5055
5054
|
location?: string | undefined;
|
|
5056
5055
|
ticketsStepDescription?: string | undefined;
|
|
5057
5056
|
participantStepDescription?: string | undefined;
|
|
5057
|
+
youthOrAdult?: YouthOrAdult | undefined;
|
|
5058
5058
|
donationsDisabled?: boolean | undefined;
|
|
5059
5059
|
image?: {
|
|
5060
5060
|
url: string;
|
|
@@ -5079,10 +5079,10 @@ declare const zBEventConfig: z.ZodObject<{
|
|
|
5079
5079
|
};
|
|
5080
5080
|
tickets: string[];
|
|
5081
5081
|
canRegister: boolean;
|
|
5082
|
-
youthOrAdult: YouthOrAdult;
|
|
5083
5082
|
location?: string | undefined;
|
|
5084
5083
|
ticketsStepDescription?: string | undefined;
|
|
5085
5084
|
participantStepDescription?: string | undefined;
|
|
5085
|
+
youthOrAdult?: YouthOrAdult | undefined;
|
|
5086
5086
|
donationsDisabled?: boolean | undefined;
|
|
5087
5087
|
image?: {
|
|
5088
5088
|
url: string;
|
|
@@ -5175,7 +5175,7 @@ declare const zEventConfig: z.ZodObject<{
|
|
|
5175
5175
|
* youth_only - only youth
|
|
5176
5176
|
* both - both youth and adult
|
|
5177
5177
|
*/
|
|
5178
|
-
youthOrAdult: z.ZodNativeEnum<typeof YouthOrAdult
|
|
5178
|
+
youthOrAdult: z.ZodOptional<z.ZodNativeEnum<typeof YouthOrAdult>>;
|
|
5179
5179
|
/**
|
|
5180
5180
|
* If true, free form donation amounts are disabled.
|
|
5181
5181
|
*/
|
|
@@ -5220,13 +5220,13 @@ declare const zEventConfig: z.ZodObject<{
|
|
|
5220
5220
|
};
|
|
5221
5221
|
tickets: string[];
|
|
5222
5222
|
canRegister: boolean;
|
|
5223
|
-
youthOrAdult: YouthOrAdult;
|
|
5224
5223
|
editedBy?: string | undefined;
|
|
5225
5224
|
createdAt?: string | undefined;
|
|
5226
5225
|
updatedAt?: string | undefined;
|
|
5227
5226
|
location?: string | undefined;
|
|
5228
5227
|
ticketsStepDescription?: string | undefined;
|
|
5229
5228
|
participantStepDescription?: string | undefined;
|
|
5229
|
+
youthOrAdult?: YouthOrAdult | undefined;
|
|
5230
5230
|
donationsDisabled?: boolean | undefined;
|
|
5231
5231
|
image?: {
|
|
5232
5232
|
url: string;
|
|
@@ -5252,13 +5252,13 @@ declare const zEventConfig: z.ZodObject<{
|
|
|
5252
5252
|
};
|
|
5253
5253
|
tickets: string[];
|
|
5254
5254
|
canRegister: boolean;
|
|
5255
|
-
youthOrAdult: YouthOrAdult;
|
|
5256
5255
|
editedBy?: string | undefined;
|
|
5257
5256
|
createdAt?: string | undefined;
|
|
5258
5257
|
updatedAt?: string | undefined;
|
|
5259
5258
|
location?: string | undefined;
|
|
5260
5259
|
ticketsStepDescription?: string | undefined;
|
|
5261
5260
|
participantStepDescription?: string | undefined;
|
|
5261
|
+
youthOrAdult?: YouthOrAdult | undefined;
|
|
5262
5262
|
donationsDisabled?: boolean | undefined;
|
|
5263
5263
|
image?: {
|
|
5264
5264
|
url: string;
|
|
@@ -5298,7 +5298,7 @@ declare const zEventConfigResponse: z.ZodObject<{
|
|
|
5298
5298
|
ticketsStepDescription: z.ZodOptional<z.ZodString>;
|
|
5299
5299
|
participantStepDescription: z.ZodOptional<z.ZodString>;
|
|
5300
5300
|
canRegister: z.ZodBoolean;
|
|
5301
|
-
youthOrAdult: z.ZodNativeEnum<typeof YouthOrAdult
|
|
5301
|
+
youthOrAdult: z.ZodOptional<z.ZodNativeEnum<typeof YouthOrAdult>>;
|
|
5302
5302
|
donationsDisabled: z.ZodOptional<z.ZodBoolean>;
|
|
5303
5303
|
image: z.ZodOptional<z.ZodObject<{
|
|
5304
5304
|
url: z.ZodString;
|
|
@@ -5383,13 +5383,13 @@ declare const zEventConfigResponse: z.ZodObject<{
|
|
|
5383
5383
|
maxPerOrder?: number | undefined;
|
|
5384
5384
|
}[];
|
|
5385
5385
|
canRegister: boolean;
|
|
5386
|
-
youthOrAdult: YouthOrAdult;
|
|
5387
5386
|
editedBy?: string | undefined;
|
|
5388
5387
|
createdAt?: string | undefined;
|
|
5389
5388
|
updatedAt?: string | undefined;
|
|
5390
5389
|
location?: string | undefined;
|
|
5391
5390
|
ticketsStepDescription?: string | undefined;
|
|
5392
5391
|
participantStepDescription?: string | undefined;
|
|
5392
|
+
youthOrAdult?: YouthOrAdult | undefined;
|
|
5393
5393
|
donationsDisabled?: boolean | undefined;
|
|
5394
5394
|
image?: {
|
|
5395
5395
|
url: string;
|
|
@@ -5426,13 +5426,13 @@ declare const zEventConfigResponse: z.ZodObject<{
|
|
|
5426
5426
|
maxPerOrder?: number | undefined;
|
|
5427
5427
|
}[];
|
|
5428
5428
|
canRegister: boolean;
|
|
5429
|
-
youthOrAdult: YouthOrAdult;
|
|
5430
5429
|
editedBy?: string | undefined;
|
|
5431
5430
|
createdAt?: string | undefined;
|
|
5432
5431
|
updatedAt?: string | undefined;
|
|
5433
5432
|
location?: string | undefined;
|
|
5434
5433
|
ticketsStepDescription?: string | undefined;
|
|
5435
5434
|
participantStepDescription?: string | undefined;
|
|
5435
|
+
youthOrAdult?: YouthOrAdult | undefined;
|
|
5436
5436
|
donationsDisabled?: boolean | undefined;
|
|
5437
5437
|
image?: {
|
|
5438
5438
|
url: string;
|
package/index.d.ts
CHANGED
|
@@ -5012,7 +5012,7 @@ declare const zBEventConfig: z.ZodObject<{
|
|
|
5012
5012
|
* youth_only - only youth
|
|
5013
5013
|
* both - both youth and adult
|
|
5014
5014
|
*/
|
|
5015
|
-
youthOrAdult: z.ZodNativeEnum<typeof YouthOrAdult
|
|
5015
|
+
youthOrAdult: z.ZodOptional<z.ZodNativeEnum<typeof YouthOrAdult>>;
|
|
5016
5016
|
/**
|
|
5017
5017
|
* If true, free form donation amounts are disabled.
|
|
5018
5018
|
*/
|
|
@@ -5051,10 +5051,10 @@ declare const zBEventConfig: z.ZodObject<{
|
|
|
5051
5051
|
};
|
|
5052
5052
|
tickets: string[];
|
|
5053
5053
|
canRegister: boolean;
|
|
5054
|
-
youthOrAdult: YouthOrAdult;
|
|
5055
5054
|
location?: string | undefined;
|
|
5056
5055
|
ticketsStepDescription?: string | undefined;
|
|
5057
5056
|
participantStepDescription?: string | undefined;
|
|
5057
|
+
youthOrAdult?: YouthOrAdult | undefined;
|
|
5058
5058
|
donationsDisabled?: boolean | undefined;
|
|
5059
5059
|
image?: {
|
|
5060
5060
|
url: string;
|
|
@@ -5079,10 +5079,10 @@ declare const zBEventConfig: z.ZodObject<{
|
|
|
5079
5079
|
};
|
|
5080
5080
|
tickets: string[];
|
|
5081
5081
|
canRegister: boolean;
|
|
5082
|
-
youthOrAdult: YouthOrAdult;
|
|
5083
5082
|
location?: string | undefined;
|
|
5084
5083
|
ticketsStepDescription?: string | undefined;
|
|
5085
5084
|
participantStepDescription?: string | undefined;
|
|
5085
|
+
youthOrAdult?: YouthOrAdult | undefined;
|
|
5086
5086
|
donationsDisabled?: boolean | undefined;
|
|
5087
5087
|
image?: {
|
|
5088
5088
|
url: string;
|
|
@@ -5175,7 +5175,7 @@ declare const zEventConfig: z.ZodObject<{
|
|
|
5175
5175
|
* youth_only - only youth
|
|
5176
5176
|
* both - both youth and adult
|
|
5177
5177
|
*/
|
|
5178
|
-
youthOrAdult: z.ZodNativeEnum<typeof YouthOrAdult
|
|
5178
|
+
youthOrAdult: z.ZodOptional<z.ZodNativeEnum<typeof YouthOrAdult>>;
|
|
5179
5179
|
/**
|
|
5180
5180
|
* If true, free form donation amounts are disabled.
|
|
5181
5181
|
*/
|
|
@@ -5220,13 +5220,13 @@ declare const zEventConfig: z.ZodObject<{
|
|
|
5220
5220
|
};
|
|
5221
5221
|
tickets: string[];
|
|
5222
5222
|
canRegister: boolean;
|
|
5223
|
-
youthOrAdult: YouthOrAdult;
|
|
5224
5223
|
editedBy?: string | undefined;
|
|
5225
5224
|
createdAt?: string | undefined;
|
|
5226
5225
|
updatedAt?: string | undefined;
|
|
5227
5226
|
location?: string | undefined;
|
|
5228
5227
|
ticketsStepDescription?: string | undefined;
|
|
5229
5228
|
participantStepDescription?: string | undefined;
|
|
5229
|
+
youthOrAdult?: YouthOrAdult | undefined;
|
|
5230
5230
|
donationsDisabled?: boolean | undefined;
|
|
5231
5231
|
image?: {
|
|
5232
5232
|
url: string;
|
|
@@ -5252,13 +5252,13 @@ declare const zEventConfig: z.ZodObject<{
|
|
|
5252
5252
|
};
|
|
5253
5253
|
tickets: string[];
|
|
5254
5254
|
canRegister: boolean;
|
|
5255
|
-
youthOrAdult: YouthOrAdult;
|
|
5256
5255
|
editedBy?: string | undefined;
|
|
5257
5256
|
createdAt?: string | undefined;
|
|
5258
5257
|
updatedAt?: string | undefined;
|
|
5259
5258
|
location?: string | undefined;
|
|
5260
5259
|
ticketsStepDescription?: string | undefined;
|
|
5261
5260
|
participantStepDescription?: string | undefined;
|
|
5261
|
+
youthOrAdult?: YouthOrAdult | undefined;
|
|
5262
5262
|
donationsDisabled?: boolean | undefined;
|
|
5263
5263
|
image?: {
|
|
5264
5264
|
url: string;
|
|
@@ -5298,7 +5298,7 @@ declare const zEventConfigResponse: z.ZodObject<{
|
|
|
5298
5298
|
ticketsStepDescription: z.ZodOptional<z.ZodString>;
|
|
5299
5299
|
participantStepDescription: z.ZodOptional<z.ZodString>;
|
|
5300
5300
|
canRegister: z.ZodBoolean;
|
|
5301
|
-
youthOrAdult: z.ZodNativeEnum<typeof YouthOrAdult
|
|
5301
|
+
youthOrAdult: z.ZodOptional<z.ZodNativeEnum<typeof YouthOrAdult>>;
|
|
5302
5302
|
donationsDisabled: z.ZodOptional<z.ZodBoolean>;
|
|
5303
5303
|
image: z.ZodOptional<z.ZodObject<{
|
|
5304
5304
|
url: z.ZodString;
|
|
@@ -5383,13 +5383,13 @@ declare const zEventConfigResponse: z.ZodObject<{
|
|
|
5383
5383
|
maxPerOrder?: number | undefined;
|
|
5384
5384
|
}[];
|
|
5385
5385
|
canRegister: boolean;
|
|
5386
|
-
youthOrAdult: YouthOrAdult;
|
|
5387
5386
|
editedBy?: string | undefined;
|
|
5388
5387
|
createdAt?: string | undefined;
|
|
5389
5388
|
updatedAt?: string | undefined;
|
|
5390
5389
|
location?: string | undefined;
|
|
5391
5390
|
ticketsStepDescription?: string | undefined;
|
|
5392
5391
|
participantStepDescription?: string | undefined;
|
|
5392
|
+
youthOrAdult?: YouthOrAdult | undefined;
|
|
5393
5393
|
donationsDisabled?: boolean | undefined;
|
|
5394
5394
|
image?: {
|
|
5395
5395
|
url: string;
|
|
@@ -5426,13 +5426,13 @@ declare const zEventConfigResponse: z.ZodObject<{
|
|
|
5426
5426
|
maxPerOrder?: number | undefined;
|
|
5427
5427
|
}[];
|
|
5428
5428
|
canRegister: boolean;
|
|
5429
|
-
youthOrAdult: YouthOrAdult;
|
|
5430
5429
|
editedBy?: string | undefined;
|
|
5431
5430
|
createdAt?: string | undefined;
|
|
5432
5431
|
updatedAt?: string | undefined;
|
|
5433
5432
|
location?: string | undefined;
|
|
5434
5433
|
ticketsStepDescription?: string | undefined;
|
|
5435
5434
|
participantStepDescription?: string | undefined;
|
|
5435
|
+
youthOrAdult?: YouthOrAdult | undefined;
|
|
5436
5436
|
donationsDisabled?: boolean | undefined;
|
|
5437
5437
|
image?: {
|
|
5438
5438
|
url: string;
|
package/index.js
CHANGED
|
@@ -885,7 +885,7 @@ var zBEventConfig = import_zod29.z.object({
|
|
|
885
885
|
* youth_only - only youth
|
|
886
886
|
* both - both youth and adult
|
|
887
887
|
*/
|
|
888
|
-
youthOrAdult: import_zod29.z.nativeEnum(YouthOrAdult),
|
|
888
|
+
youthOrAdult: import_zod29.z.nativeEnum(YouthOrAdult).optional(),
|
|
889
889
|
/**
|
|
890
890
|
* If true, free form donation amounts are disabled.
|
|
891
891
|
*/
|
package/index.mjs
CHANGED
|
@@ -776,7 +776,7 @@ var zBEventConfig = z29.object({
|
|
|
776
776
|
* youth_only - only youth
|
|
777
777
|
* both - both youth and adult
|
|
778
778
|
*/
|
|
779
|
-
youthOrAdult: z29.nativeEnum(YouthOrAdult),
|
|
779
|
+
youthOrAdult: z29.nativeEnum(YouthOrAdult).optional(),
|
|
780
780
|
/**
|
|
781
781
|
* If true, free form donation amounts are disabled.
|
|
782
782
|
*/
|