Files
klz-cables.com/.pnpm-store/v10/files/4e/1faa41e6f6a3ff1a2e3380be9d651789d2be75b77555bf6fc026e41abe8a7b1eb04224ce07f6a76d50a6f59ddde86451d906e2da45fcbc2d8160af7afc6f27
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

21 lines
975 B
Plaintext

import { DirectusCollection } from "../../../schema/collection.js";
import { ApplyQueryFields } from "../../../types/output.js";
import { RestCommand } from "../../types.js";
//#region src/rest/commands/read/collections.d.ts
type ReadCollectionOutput<Schema, Item extends object = DirectusCollection<Schema>> = ApplyQueryFields<Schema, Item, '*'>;
/**
* List the available collections.
* @returns An array of collection objects.
*/
declare const readCollections: <Schema>() => RestCommand<ReadCollectionOutput<Schema>[], Schema>;
/**
* Retrieve a single collection by table name.
* @param collection The collection name
* @returns A collection object.
* @throws Will throw if collection is empty
*/
declare const readCollection: <Schema>(collection: DirectusCollection<Schema>["collection"]) => RestCommand<ReadCollectionOutput<Schema>, Schema>;
//#endregion
export { ReadCollectionOutput, readCollection, readCollections };
//# sourceMappingURL=collections.d.ts.map