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
574 B
Plaintext
17 lines
574 B
Plaintext
import { DirectusField } from "../../../schema/field.js";
|
|
import { RestCommand } from "../../types.js";
|
|
|
|
//#region src/rest/commands/delete/fields.d.ts
|
|
|
|
/**
|
|
* Deletes the given field in the given collection.
|
|
* @param collection
|
|
* @param field
|
|
* @returns
|
|
* @throws Will throw if collection is empty
|
|
* @throws Will throw if field is empty
|
|
*/
|
|
declare const deleteField: <Schema>(collection: DirectusField<Schema>["collection"], field: DirectusField<Schema>["field"]) => RestCommand<void, Schema>;
|
|
//#endregion
|
|
export { deleteField };
|
|
//# sourceMappingURL=fields.d.ts.map |