Files
klz-cables.com/.pnpm-store/v10/files/47/8b8117f4c4a3b0e58841514b1672e6ef3e3cb573384d97ffdb6120c1a2e22b82213ebc05754d7c6552844582a31e6706cf204ad1aab2a6cb93b4db6d1dcffd
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

44 lines
1.3 KiB
Plaintext

import { DirectusField } from "./field.js";
import { NestedPartial } from "../types/utils.js";
import { MergeCoreCollection } from "../types/schema.js";
//#region src/schema/collection.d.ts
type DirectusCollection<Schema = any> = {
collection: string;
meta: MergeCoreCollection<Schema, 'directus_collections', {
collection: string;
icon: string | null;
note: string | null;
display_template: string | null;
hidden: boolean;
singleton: boolean;
translations: CollectionMetaTranslationType[] | null;
archive_field: string | null;
archive_app_filter: boolean;
archive_value: string | null;
unarchive_value: string | null;
sort_field: string | null;
accountability: string | null;
color: string | null;
item_duplication_fields: string[] | null;
sort: number | null;
group: string | null;
collapse: string;
preview_url: string | null;
versioning: boolean;
}>;
schema: ({
name: string;
comment: string | null;
} & Record<string, unknown>) | null;
fields?: NestedPartial<DirectusField<Schema>>[];
};
type CollectionMetaTranslationType = {
language: string;
plural: string;
singular: string;
translation: string;
};
//#endregion
export { CollectionMetaTranslationType, DirectusCollection };
//# sourceMappingURL=collection.d.ts.map