mirror of
https://github.com/lukevella/rallly.git
synced 2025-07-31 23:19:15 +02:00
🐛 Coerce values for license validation response
This commit is contained in:
parent
9e87985b7d
commit
6e7253971f
1 changed files with 4 additions and 4 deletions
|
@ -63,13 +63,13 @@ export const validateLicenseKeyResponseSchema = apiResponseSchema(
|
|||
key: z.string(),
|
||||
valid: z.boolean(),
|
||||
status: licenseStatusSchema,
|
||||
issuedAt: z.date(),
|
||||
expiresAt: z.date().nullable(),
|
||||
issuedAt: z.coerce.date(),
|
||||
expiresAt: z.coerce.date().nullable(),
|
||||
licenseeEmail: z.string().nullable(),
|
||||
licenseeName: z.string().nullable(),
|
||||
seats: z.number().nullable(),
|
||||
seats: z.coerce.number().nullable(),
|
||||
type: licenseTypeSchema,
|
||||
version: z.number().nullable(),
|
||||
version: z.coerce.number().nullable(),
|
||||
}),
|
||||
);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue