Variable customObjectListResponseSchemaConst
customObjectListResponseSchema: ZodObject<
{
data: ZodArray<
ZodObject<
{
acl: ZodOptional<
ZodObject<
{
add: ZodOptional<
ZodArray<ZodObject<(...), (...), (...), (...), (...)>, "many">,
>;
grants: ZodOptional<
ZodArray<ZodObject<(...), (...), (...), (...), (...)>, "many">,
>;
remove: ZodOptional<
ZodArray<ZodObject<(...), (...), (...), (...), (...)>, "many">,
>;
},
"strip",
ZodTypeAny,
{
add?: { actions: ...; principal?: ...; principal_type: ... }[];
grants?: { actions: ...; principal?: ...; principal_type: ... }[];
remove?: { principal?: ...; principal_type: ... }[];
},
{
add?: { actions: ...; principal?: ...; principal_type: ... }[];
grants?: { actions: ...; principal?: ...; principal_type: ... }[];
remove?: { principal?: ...; principal_type: ... }[];
},
>,
>;
created_at: ZodOptional<ZodString>;
fields: ZodOptional<
ZodRecord<ZodString, ZodType<{} | null, ZodTypeDef, {} | null>>,
>;
id: ZodString;
org: ZodOptional<ZodString>;
row_key: ZodOptional<ZodString>;
sandbox: ZodOptional<ZodString>;
schema_type: ZodOptional<ZodString>;
team: ZodOptional<ZodString>;
updated_at: ZodOptional<ZodString>;
user: ZodOptional<ZodString>;
version: ZodOptional<ZodNumber>;
},
"strip",
ZodTypeAny,
{
acl?: {
add?: {
actions: (...)[];
principal?: (...) | (...);
principal_type: string;
}[];
grants?: {
actions: (...)[];
principal?: (...) | (...);
principal_type: string;
}[];
remove?: { principal?: (...)
| (...); principal_type: string }[];
};
created_at?: string;
fields?: Record<string, {} | null>;
id: string;
org?: string;
row_key?: string;
sandbox?: string;
schema_type?: string;
team?: string;
updated_at?: string;
user?: string;
version?: number;
},
{
acl?: {
add?: {
actions: (...)[];
principal?: (...) | (...);
principal_type: string;
}[];
grants?: {
actions: (...)[];
principal?: (...) | (...);
principal_type: string;
}[];
remove?: { principal?: (...)
| (...); principal_type: string }[];
};
created_at?: string;
fields?: Record<string, {} | null>;
id: string;
org?: string;
row_key?: string;
sandbox?: string;
schema_type?: string;
team?: string;
updated_at?: string;
user?: string;
version?: number;
},
>,
"many",
>;
has_next: ZodBoolean;
has_prev: ZodBoolean;
page: ZodNumber;
page_size: ZodNumber;
total_entries: ZodNumber;
total_pages: ZodNumber;
},
"strip",
ZodTypeAny,
{
data: {
acl?: {
add?: {
actions: string[];
principal?: string;
principal_type: string;
}[];
grants?: {
actions: string[];
principal?: string;
principal_type: string;
}[];
remove?: { principal?: string; principal_type: string }[];
};
created_at?: string;
fields?: Record<string, {} | null>;
id: string;
org?: string;
row_key?: string;
sandbox?: string;
schema_type?: string;
team?: string;
updated_at?: string;
user?: string;
version?: number;
}[];
has_next: boolean;
has_prev: boolean;
page: number;
page_size: number;
total_entries: number;
total_pages: number;
},
{
data: {
acl?: {
add?: {
actions: string[];
principal?: string;
principal_type: string;
}[];
grants?: {
actions: string[];
principal?: string;
principal_type: string;
}[];
remove?: { principal?: string; principal_type: string }[];
};
created_at?: string;
fields?: Record<string, {} | null>;
id: string;
org?: string;
row_key?: string;
sandbox?: string;
schema_type?: string;
team?: string;
updated_at?: string;
user?: string;
version?: number;
}[];
has_next: boolean;
has_prev: boolean;
page: number;
page_size: number;
total_entries: number;
total_pages: number;
},
> = ...
Runtime validator for CustomObjectListResponse.