Align frontend with updated OpenAPI schema and PATCH operation #13
Reference in New Issue
Block a user
No description provided.
Delete Branch "fixes-for-pipeline-type-and-bank"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Summary
Align frontend with updated OpenAPI schema (rename
format→bank, addpipeline) and introduce a dedicatedPATCHoperation for partial updates in react-openapi.Changes
react-openapi: new
patchoperation supportpatchtoResourceConfig.operationstypeupdate()now always calls PUT; newpatch()method returned conditionally when spec defines PATCHFetch Request custom pages: schema alignment
format→bankin create form fields and TypeScript models (FileSource,EmailSource)pipelinefield to create form andFetchRequestCreatemodelPipelineTypefrom barrel indexFetch Request retry: use PATCH
patch(id, { status: "pending" })instead of the genericupdate()useMutationwrapper; uses simple localretryingstate for loadingFix Account display in detail page
applyDisplayFormatwith resolved FK objects instead of non-existentaccount_nameuseMemobefore early returns to fix hooks ordering violation crashTesting
bank(select) andpipeline(select) fieldsPATCHinstead ofPUT— no more 500 errors—