Files
klz-cables.com/.pnpm-store/v10/files/ea/36dc9e6f9447ed9b04a580bba4a258b18710c7d06207525c5039627f49849e3e01f531bdfbd500e600c6a01a9f7f00eaee392b20b5163ca50fcf0dfe785213
Marc Mintel 5397309103
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
fix(products): fix breadcrumbs and product filtering (backport from main)
2026-02-24 16:04:21 +01:00

18 lines
878 B
Plaintext

import { RestCommand } from "../../types.js";
import { SchemaSnapshotOutput } from "./snapshot.js";
//#region src/rest/commands/schema/diff.d.ts
type SchemaDiffOutput = {
hash: string;
diff: Record<string, any>;
};
/**
* Compare the current instance's schema against the schema snapshot in JSON request body and retrieve the difference. This endpoint is only available to admin users.
* @param snapshot JSON object containing collections, fields, and relations to apply.
* @param force Bypass version and database vendor restrictions.
* @returns Returns the differences between the current instance's schema and the schema passed in the request body.
*/
declare const schemaDiff: <Schema>(snapshot: SchemaSnapshotOutput, force?: boolean) => RestCommand<SchemaDiffOutput, Schema>;
//#endregion
export { SchemaDiffOutput, schemaDiff };
//# sourceMappingURL=diff.d.ts.map