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
17 lines
581 B
Plaintext
17 lines
581 B
Plaintext
import { DirectusRelation } from "../../../schema/relation.cjs";
|
|
import { RestCommand } from "../../types.cjs";
|
|
|
|
//#region src/rest/commands/delete/relations.d.ts
|
|
|
|
/**
|
|
* Delete an existing relation.
|
|
* @param collection
|
|
* @param field
|
|
* @returns
|
|
* @throws Will throw if collection is empty
|
|
* @throws Will throw if field is empty
|
|
*/
|
|
declare const deleteRelation: <Schema>(collection: DirectusRelation<Schema>["collection"], field: DirectusRelation<Schema>["field"]) => RestCommand<void, Schema>;
|
|
//#endregion
|
|
export { deleteRelation };
|
|
//# sourceMappingURL=relations.d.cts.map |