mirror of
https://github.com/awatertrevi/infisical.git
synced 2026-10-14 06:29:37 +00:00
Fix type stuff
This commit is contained in:
+4
-1
@@ -7,7 +7,10 @@ import { slugSchema } from "@app/lib/schemas";
|
||||
export const genericAppConnectionFieldsSchema = z.object({
|
||||
name: slugSchema({ min: 1, max: 64, field: "Name" }),
|
||||
description: z.string().trim().max(256, "Description cannot exceed 256 characters").nullish(),
|
||||
gatewayId: z.string().nullish()
|
||||
gatewayId: z
|
||||
.string()
|
||||
.nullish()
|
||||
.transform((v) => (v === "" ? null : v))
|
||||
});
|
||||
|
||||
export const GenericAppConnectionsFields = () => {
|
||||
|
||||
Reference in New Issue
Block a user