Some checks failed
Build & Deploy / 🔍 Prepare (push) Successful in 20s
Build & Deploy / 🧪 QA (push) Failing after 34s
Build & Deploy / 🏗️ Build (push) Has started running
Build & Deploy / 🚀 Deploy (push) Has been cancelled
Build & Deploy / 🧪 Smoke Test (push) Has been cancelled
Build & Deploy / ⚡ Lighthouse (push) Has been cancelled
Build & Deploy / 🔔 Notify (push) Has been cancelled
14 lines
603 B
Plaintext
14 lines
603 B
Plaintext
import { RestCommand } from "../../types.js";
|
|
import { SchemaDiffOutput } from "./diff.js";
|
|
|
|
//#region src/rest/commands/schema/apply.d.ts
|
|
|
|
/**
|
|
* Update the instance's schema by passing the diff previously retrieved via /schema/diff endpoint in the request body. This endpoint is only available to admin users.
|
|
* @param diff JSON object containing hash and diffs of collections, fields, and relations to apply.
|
|
* @returns Empty body.
|
|
*/
|
|
declare const schemaApply: <Schema>(diff: SchemaDiffOutput) => RestCommand<void, Schema>;
|
|
//#endregion
|
|
export { schemaApply };
|
|
//# sourceMappingURL=apply.d.ts.map |