mirror of
https://github.com/open-metadata/OpenMetadata.git
synced 2025-09-28 02:13:09 +00:00
Update generated TypeScript types
This commit is contained in:
parent
cec6f28174
commit
daba6e0c33
@ -15,30 +15,31 @@
|
|||||||
*/
|
*/
|
||||||
export interface SecurityValidationResponse {
|
export interface SecurityValidationResponse {
|
||||||
/**
|
/**
|
||||||
* Overall validation message
|
* List of field errors (only present when status is 'failed')
|
||||||
*/
|
*/
|
||||||
message: string;
|
errors?: FieldError[];
|
||||||
/**
|
/**
|
||||||
* Individual validation results
|
* Overall validation status (success/failed)
|
||||||
*/
|
*/
|
||||||
results: ValidationResult[];
|
status: Status;
|
||||||
/**
|
|
||||||
* Overall validation status
|
|
||||||
*/
|
|
||||||
status: string;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
export interface ValidationResult {
|
export interface FieldError {
|
||||||
/**
|
/**
|
||||||
* Component being validated (e.g., oidc, ldap, saml)
|
* Concise error message for display under form field
|
||||||
*/
|
*/
|
||||||
component: string;
|
error: string;
|
||||||
/**
|
/**
|
||||||
* Validation message or error details
|
* Field path that has the error (e.g.,
|
||||||
|
* 'authenticationConfiguration.oidcConfiguration.clientId')
|
||||||
*/
|
*/
|
||||||
message: string;
|
field: string;
|
||||||
/**
|
}
|
||||||
* Status of the validation (success/failed)
|
|
||||||
*/
|
/**
|
||||||
status: string;
|
* Overall validation status (success/failed)
|
||||||
|
*/
|
||||||
|
export enum Status {
|
||||||
|
Failed = "failed",
|
||||||
|
Success = "success",
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user