mirror of
https://github.com/BerriAI/litellm.git
synced 2026-10-08 03:08:45 +00:00
chore(ui): regenerate the dashboard API types for the split credential schema
Excluding credential_values_to_delete from dumps makes pydantic emit separate input and output schemas for CredentialItem, since the field is accepted on a write and absent from every read. The generated types now say so: the credential read routes return the output shape, which no longer carries the PATCH-only field, and only the write route accepts it
This commit is contained in:
parent
498592e0ce
commit
3c5b467284
1 changed files with 17 additions and 4 deletions
21
ui/litellm-dashboard/src/lib/http/schema.d.ts
generated
vendored
21
ui/litellm-dashboard/src/lib/http/schema.d.ts
generated
vendored
|
|
@ -24817,7 +24817,7 @@ export interface components {
|
|||
search_tool: components["schemas"]["SearchTool"];
|
||||
};
|
||||
/** CredentialItem */
|
||||
CredentialItem: {
|
||||
"CredentialItem-Input": {
|
||||
/** Credential Info */
|
||||
credential_info: {
|
||||
[key: string]: unknown;
|
||||
|
|
@ -24831,6 +24831,19 @@ export interface components {
|
|||
/** Credential Values To Delete */
|
||||
credential_values_to_delete?: string[] | null;
|
||||
};
|
||||
/** CredentialItem */
|
||||
"CredentialItem-Output": {
|
||||
/** Credential Info */
|
||||
credential_info: {
|
||||
[key: string]: unknown;
|
||||
};
|
||||
/** Credential Name */
|
||||
credential_name: string;
|
||||
/** Credential Values */
|
||||
credential_values: {
|
||||
[key: string]: unknown;
|
||||
};
|
||||
};
|
||||
/**
|
||||
* CustomerResponse
|
||||
* @description Customer object returned by the /customer read+write endpoints.
|
||||
|
|
@ -41494,7 +41507,7 @@ export interface operations {
|
|||
[name: string]: unknown;
|
||||
};
|
||||
content: {
|
||||
"application/json": components["schemas"]["CredentialItem"];
|
||||
"application/json": components["schemas"]["CredentialItem-Output"];
|
||||
};
|
||||
};
|
||||
/** @description Validation Error */
|
||||
|
|
@ -41526,7 +41539,7 @@ export interface operations {
|
|||
[name: string]: unknown;
|
||||
};
|
||||
content: {
|
||||
"application/json": components["schemas"]["CredentialItem"];
|
||||
"application/json": components["schemas"]["CredentialItem-Output"];
|
||||
};
|
||||
};
|
||||
/** @description Validation Error */
|
||||
|
|
@ -41636,7 +41649,7 @@ export interface operations {
|
|||
};
|
||||
requestBody: {
|
||||
content: {
|
||||
"application/json": components["schemas"]["CredentialItem"];
|
||||
"application/json": components["schemas"]["CredentialItem-Input"];
|
||||
};
|
||||
};
|
||||
responses: {
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue