@mac777/project-pinecone-schema 1.1.1 → 1.1.2
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.
|
@@ -3873,6 +3873,7 @@ export declare const clientGetEventSchema: z.ZodObject<{
|
|
|
3873
3873
|
} & {
|
|
3874
3874
|
_id: z.ZodString;
|
|
3875
3875
|
status: z.ZodDefault<z.ZodEnum<["draft", "pending_approval", "approved", "rejected", "published", "live", "ended", "cancelled"]>>;
|
|
3876
|
+
salesPaused: z.ZodDefault<z.ZodBoolean>;
|
|
3876
3877
|
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
3877
3878
|
title: z.ZodString;
|
|
3878
3879
|
tagline: z.ZodOptional<z.ZodString>;
|
|
@@ -4199,6 +4200,7 @@ export declare const clientGetEventSchema: z.ZodObject<{
|
|
|
4199
4200
|
} & {
|
|
4200
4201
|
_id: z.ZodString;
|
|
4201
4202
|
status: z.ZodDefault<z.ZodEnum<["draft", "pending_approval", "approved", "rejected", "published", "live", "ended", "cancelled"]>>;
|
|
4203
|
+
salesPaused: z.ZodDefault<z.ZodBoolean>;
|
|
4202
4204
|
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
4203
4205
|
title: z.ZodString;
|
|
4204
4206
|
tagline: z.ZodOptional<z.ZodString>;
|
|
@@ -4525,6 +4527,7 @@ export declare const clientGetEventSchema: z.ZodObject<{
|
|
|
4525
4527
|
} & {
|
|
4526
4528
|
_id: z.ZodString;
|
|
4527
4529
|
status: z.ZodDefault<z.ZodEnum<["draft", "pending_approval", "approved", "rejected", "published", "live", "ended", "cancelled"]>>;
|
|
4530
|
+
salesPaused: z.ZodDefault<z.ZodBoolean>;
|
|
4528
4531
|
}, z.ZodTypeAny, "passthrough">>;
|
|
4529
4532
|
export declare const draftEventSchema: z.ZodObject<{
|
|
4530
4533
|
tagline: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
@@ -317,6 +317,7 @@ exports.clientGetEventSchema = exports.stepBasicsSchema
|
|
|
317
317
|
.extend({
|
|
318
318
|
_id: zod_1.z.string().regex(/^[0-9a-fA-F]{24}$/, 'Event not found'),
|
|
319
319
|
status: zod_1.z.enum(['draft', 'pending_approval', 'approved', 'rejected', 'published', 'live', 'ended', 'cancelled'], { required_error: 'Event status is required' }).default('draft'),
|
|
320
|
+
salesPaused: zod_1.z.boolean().default(false),
|
|
320
321
|
});
|
|
321
322
|
exports.draftEventSchema = exports.submitEventSchema
|
|
322
323
|
.partial()
|
package/package.json
CHANGED
|
@@ -341,6 +341,7 @@ export const clientGetEventSchema = stepBasicsSchema
|
|
|
341
341
|
.extend({
|
|
342
342
|
_id: z.string().regex(/^[0-9a-fA-F]{24}$/, 'Event not found'),
|
|
343
343
|
status: z.enum(['draft', 'pending_approval', 'approved', 'rejected', 'published', 'live', 'ended', 'cancelled'], { required_error: 'Event status is required' }).default('draft'),
|
|
344
|
+
salesPaused: z.boolean().default(false),
|
|
344
345
|
});
|
|
345
346
|
|
|
346
347
|
export const draftEventSchema = submitEventSchema
|