teamSchema: ZodObject<
{
acl: ZodOptional<
ZodNullable<
ZodObject<
{
add: ZodOptional<
ZodArray<
ZodObject<
{
actions: ZodArray<(...), (...)>;
principal: ZodOptional<(...)>;
principal_type: ZodString;
},
"strip",
ZodTypeAny,
{
actions: (...)[];
principal?: (...) | (...);
principal_type: string;
},
{
actions: (...)[];
principal?: (...) | (...);
principal_type: string;
},
>,
"many",
>,
>;
grants: ZodOptional<
ZodArray<
ZodObject<
{
actions: ZodArray<(...), (...)>;
principal: ZodOptional<(...)>;
principal_type: ZodString;
},
"strip",
ZodTypeAny,
{
actions: (...)[];
principal?: (...) | (...);
principal_type: string;
},
{
actions: (...)[];
principal?: (...) | (...);
principal_type: string;
},
>,
"many",
>,
>;
remove: ZodOptional<
ZodArray<
ZodObject<
{ principal: ZodOptional<(...)>; principal_type: ZodString },
"strip",
ZodTypeAny,
{ principal?: (...) | (...); principal_type: string },
{ principal?: (...) | (...); principal_type: string },
>,
"many",
>,
>;
},
"strip",
ZodTypeAny,
{
add?: {
actions: string[];
principal?: string;
principal_type: string;
}[];
grants?: {
actions: string[];
principal?: string;
principal_type: string;
}[];
remove?: { principal?: string; principal_type: string }[];
},
{
add?: {
actions: string[];
principal?: string;
principal_type: string;
}[];
grants?: {
actions: string[];
principal?: string;
principal_type: string;
}[];
remove?: { principal?: string; principal_type: string }[];
},
>,
>,
>;
app: ZodOptional<ZodString>;
badges: ZodOptional<
ZodNullable<
ZodRecord<ZodString, ZodType<{} | null, ZodTypeDef, {} | null>>,
>,
>;
created_at: ZodOptional<ZodString>;
description: ZodOptional<ZodNullable<ZodString>>;
id: ZodString;
membership_status: ZodOptional<ZodNullable<ZodString>>;
metadata: ZodOptional<
ZodRecord<ZodString, ZodType<{} | null, ZodTypeDef, {} | null>>,
>;
name: ZodOptional<ZodString>;
org: ZodOptional<ZodNullable<ZodString>>;
sandbox: ZodOptional<ZodNullable<ZodString>>;
slug: ZodOptional<ZodNullable<ZodString>>;
updated_at: ZodOptional<ZodString>;
},
"strip",
ZodTypeAny,
{
acl?: | {
add?: {
actions: string[];
principal?: string;
principal_type: string;
}[];
grants?: {
actions: string[];
principal?: string;
principal_type: string;
}[];
remove?: { principal?: string; principal_type: string }[];
}
| null;
app?: string;
badges?: Record<string, {} | null>
| null;
created_at?: string;
description?: string | null;
id: string;
membership_status?: string | null;
metadata?: Record<string, {} | null>;
name?: string;
org?: string | null;
sandbox?: string | null;
slug?: string | null;
updated_at?: string;
},
{
acl?: | {
add?: {
actions: string[];
principal?: string;
principal_type: string;
}[];
grants?: {
actions: string[];
principal?: string;
principal_type: string;
}[];
remove?: { principal?: string; principal_type: string }[];
}
| null;
app?: string;
badges?: Record<string, {} | null>
| null;
created_at?: string;
description?: string | null;
id: string;
membership_status?: string | null;
metadata?: Record<string, {} | null>;
name?: string;
org?: string | null;
sandbox?: string | null;
slug?: string | null;
updated_at?: string;
},
> = ...
Runtime validator for Team.