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
22 lines
658 B
Plaintext
22 lines
658 B
Plaintext
import { DirectusShare } from "../../../schema/share.cjs";
|
|
import { RestCommand } from "../../types.cjs";
|
|
|
|
//#region src/rest/commands/delete/shares.d.ts
|
|
|
|
/**
|
|
* Delete multiple existing shares.
|
|
* @param keys
|
|
* @returns
|
|
* @throws Will throw if keys is empty
|
|
*/
|
|
declare const deleteShares: <Schema>(keys: DirectusShare<Schema>["id"][]) => RestCommand<void, Schema>;
|
|
/**
|
|
* Delete an existing share.
|
|
* @param key
|
|
* @returns
|
|
* @throws Will throw if key is empty
|
|
*/
|
|
declare const deleteShare: <Schema>(key: DirectusShare<Schema>["id"]) => RestCommand<void, Schema>;
|
|
//#endregion
|
|
export { deleteShare, deleteShares };
|
|
//# sourceMappingURL=shares.d.cts.map |