mirror of
https://github.com/lukevella/rallly.git
synced 2025-08-06 01:48:32 +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(),
|
key: z.string(),
|
||||||
valid: z.boolean(),
|
valid: z.boolean(),
|
||||||
status: licenseStatusSchema,
|
status: licenseStatusSchema,
|
||||||
issuedAt: z.date(),
|
issuedAt: z.coerce.date(),
|
||||||
expiresAt: z.date().nullable(),
|
expiresAt: z.coerce.date().nullable(),
|
||||||
licenseeEmail: z.string().nullable(),
|
licenseeEmail: z.string().nullable(),
|
||||||
licenseeName: z.string().nullable(),
|
licenseeName: z.string().nullable(),
|
||||||
seats: z.number().nullable(),
|
seats: z.coerce.number().nullable(),
|
||||||
type: licenseTypeSchema,
|
type: licenseTypeSchema,
|
||||||
version: z.number().nullable(),
|
version: z.coerce.number().nullable(),
|
||||||
}),
|
}),
|
||||||
);
|
);
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue