Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
Vendored
+12
-3
@@ -408,6 +408,13 @@ export interface components {
|
||||
required: boolean;
|
||||
vocabulary_id?: string | null;
|
||||
};
|
||||
/** @description Field-level rejection detail for `set_fields`, so the UI can highlight the field. */
|
||||
FieldErrorView: {
|
||||
/** @description Machine code: "unknown" | "type_mismatch" | "unresolved". */
|
||||
code: string;
|
||||
/** @description The flexible-field key that was rejected. */
|
||||
field: string;
|
||||
};
|
||||
LabelInput: {
|
||||
label: string;
|
||||
lang: string;
|
||||
@@ -513,7 +520,7 @@ export interface components {
|
||||
object_name: string;
|
||||
object_number: string;
|
||||
snippet?: string | null;
|
||||
visibility: string;
|
||||
visibility: components["schemas"]["Visibility"];
|
||||
};
|
||||
SearchResultsView: {
|
||||
/** @description Meilisearch's estimate of the total number of matches. */
|
||||
@@ -1038,12 +1045,14 @@ export interface operations {
|
||||
};
|
||||
content?: never;
|
||||
};
|
||||
/** @description Unknown field, type mismatch, or unresolved reference */
|
||||
/** @description A field was rejected */
|
||||
422: {
|
||||
headers: {
|
||||
[name: string]: unknown;
|
||||
};
|
||||
content?: never;
|
||||
content: {
|
||||
"application/json": components["schemas"]["FieldErrorView"];
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
@@ -79,7 +79,7 @@ export const searchHits: SearchHitView[] = [
|
||||
object_number: `N-${i + 2}`,
|
||||
object_name: `Object ${i + 2}`,
|
||||
brief_description: null,
|
||||
visibility: "internal",
|
||||
visibility: "internal" as const,
|
||||
snippet: null,
|
||||
})),
|
||||
];
|
||||
|
||||
Reference in New Issue
Block a user