Files
klz-cables.com/.pnpm-store/v10/files/0e/891e8f2098ca055a6942f3a7e41618e6dde1c39ce19d9caf7eb2cb317e1f15f8abf4b9f0c88abdab90c224e423c37c5c6ec19bc06679bb8ce9e431f9411f91
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
979 B
Plaintext

import { DirectusCollection } from "../../../schema/collection.cjs";
import { ApplyQueryFields } from "../../../types/output.cjs";
import { RestCommand } from "../../types.cjs";
//#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.cts.map