mirror of
https://github.com/awatertrevi/infisical.git
synced 2026-10-08 09:27:50 +00:00
misc: addressed type issue with date fields
This commit is contained in:
@@ -275,7 +275,12 @@ export const SanitizedTagSchema = SecretTagsSchema.pick({
|
|||||||
});
|
});
|
||||||
|
|
||||||
export const InternalCertificateAuthorityResponseSchema = CertificateAuthoritiesSchema.merge(
|
export const InternalCertificateAuthorityResponseSchema = CertificateAuthoritiesSchema.merge(
|
||||||
InternalCertificateAuthoritiesSchema
|
InternalCertificateAuthoritiesSchema.omit({
|
||||||
|
notAfter: true,
|
||||||
|
notBefore: true
|
||||||
|
})
|
||||||
).extend({
|
).extend({
|
||||||
requireTemplateForIssuance: z.boolean().optional()
|
requireTemplateForIssuance: z.boolean().optional(),
|
||||||
|
notAfter: z.string().optional(),
|
||||||
|
notBefore: z.string().optional()
|
||||||
});
|
});
|
||||||
|
|||||||
Reference in New Issue
Block a user