Skip to Content

GrantSchema

const GrantSchema: ZodObject<{ modes: ZodArray<ZodEnum<{ live: "live"; sandbox: "sandbox"; }>>; permissions: ZodArray<ZodEnum<{ "accounts:read": "accounts:read"; "accounts:write": "accounts:write"; "api-keys:read": "api-keys:read"; "api-keys:write": "api-keys:write"; "backups:read": "backups:read"; "backups:write": "backups:write"; "customers:read": "customers:read"; "customers:write": "customers:write"; full: "full"; "logs:read": "logs:read"; "products:read": "products:read"; "products:write": "products:write"; "projects:read": "projects:read"; "projects:write": "projects:write"; read: "read"; "secrets-integrations:read": "secrets-integrations:read"; "secrets-integrations:write": "secrets-integrations:write"; "starred-items:read": "starred-items:read"; "starred-items:write": "starred-items:write"; "subscription-sign-ins:read": "subscription-sign-ins:read"; "subscription-sign-ins:write": "subscription-sign-ins:write"; }>>; projects: ZodUnion<readonly [ZodLiteral<"all">, ZodArray<ZodUUID>]>; }, $strip>;
Last updated on