diff --git a/web-ui/src/lib/api/types.ts b/web-ui/src/lib/api/types.ts index e01f7ab..b9a8cba 100644 --- a/web-ui/src/lib/api/types.ts +++ b/web-ui/src/lib/api/types.ts @@ -2596,6 +2596,26 @@ export interface paths { patch: operations["halacha_update_api_halachot__halacha_id__patch"]; trace?: never; }; + "/api/halachot/batch": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get?: never; + put?: never; + /** + * Halacha Batch Review + * @description Apply one review status to many halachot at once (#84 group action). + */ + post: operations["halacha_batch_review_api_halachot_batch_post"]; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; + }; "/api/missing-precedents": { parameters: { query?: never; @@ -3225,6 +3245,21 @@ export interface components { /** Detail */ detail?: components["schemas"]["ValidationError"][]; }; + /** + * HalachaBatchReviewRequest + * @description #84 — apply one review status to many halachot at once (group action). + */ + HalachaBatchReviewRequest: { + /** Halacha Ids */ + halacha_ids: string[]; + /** Review Status */ + review_status: string; + /** + * Reviewer + * @default דפנה + */ + reviewer: string | null; + }; /** HalachaUpdateRequest */ HalachaUpdateRequest: { /** Review Status */ @@ -7607,6 +7642,39 @@ export interface operations { }; }; }; + halacha_batch_review_api_halachot_batch_post: { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + requestBody: { + content: { + "application/json": components["schemas"]["HalachaBatchReviewRequest"]; + }; + }; + responses: { + /** @description Successful Response */ + 200: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": unknown; + }; + }; + /** @description Validation Error */ + 422: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": components["schemas"]["HTTPValidationError"]; + }; + }; + }; + }; missing_precedents_list_api_missing_precedents_get: { parameters: { query?: {