Files
klz-cables.com/.pnpm-store/v10/files/d8/75589a3ac07272e0e0497897dc4093d48c8e2eff8736dd964a26640ef1c19d76791a9578e4f22445752b1338d967cb5360fb19863a60bc0df81fbde18dd69d
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

77 lines
2.0 KiB
Plaintext

import { MergeCoreCollection } from "../types/schema.cjs";
//#region src/schema/field.d.ts
type DirectusField<Schema = any> = {
collection: string;
field: string;
type: string;
meta: MergeCoreCollection<Schema, 'directus_fields', {
id: number;
collection: string;
field: string;
special: string[] | null;
interface: string | null;
options: Record<string, any> | null;
display: string | null;
display_options: Record<string, any> | null;
readonly: boolean;
hidden: boolean;
sort: number | null;
width: string | null;
translations: FieldMetaTranslationType[] | null;
note: string | null;
conditions: FieldMetaConditionType[] | null;
required: boolean;
searchable: boolean;
group: string | null;
validation: Record<string, any> | null;
validation_message: string | null;
}>;
schema: {
name: string;
table: string;
schema: string;
data_type: string;
is_nullable: boolean;
default_value: any | null;
is_indexed: boolean;
is_generated: boolean;
generation_expression: unknown | null;
max_length: number | null;
comment: string | null;
numeric_precision: number | null;
numeric_scale: number | null;
is_unique: boolean;
is_primary_key: boolean;
has_auto_increment: boolean;
foreign_key_schema: string | null;
foreign_key_table: string | null;
foreign_key_column: string | null;
};
};
type FieldMetaConditionType = {
hidden: boolean;
name: string;
options: FieldMetaConditionOptionType;
readonly: boolean;
required: boolean;
rule: unknown;
};
type FieldMetaConditionOptionType = {
clear: boolean;
font: string;
iconLeft?: string;
iconRight?: string;
masked: boolean;
placeholder: string;
slug: boolean;
softLength?: number;
trim: boolean;
};
type FieldMetaTranslationType = {
language: string;
translation: string;
};
//#endregion
export { DirectusField, FieldMetaConditionOptionType, FieldMetaConditionType, FieldMetaTranslationType };
//# sourceMappingURL=field.d.cts.map