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
15 lines
543 B
Plaintext
15 lines
543 B
Plaintext
import { RestCommand } from "../../types.js";
|
|
|
|
//#region src/rest/commands/utils/sort.d.ts
|
|
|
|
/**
|
|
* If a collection has a sort field, this util can be used to move items in that manual order.
|
|
* @param collection The collection to sort
|
|
* @param item Id of the item to move
|
|
* @param to Id of the item to move to
|
|
* @returns Nothing
|
|
*/
|
|
declare const utilitySort: <Schema>(collection: keyof Schema, item: string | number, to: string | number) => RestCommand<void, Schema>;
|
|
//#endregion
|
|
export { utilitySort };
|
|
//# sourceMappingURL=sort.d.ts.map |