import { StringLiteralUnion } from "../types/utils.js"; import { CollectionName, MergeCoreCollection } from "../types/schema.js"; //#region src/schema/relation.d.ts type DirectusRelation = { collection: CollectionName; field: string; related_collection: CollectionName | null; meta: MergeCoreCollection; many_field: string; one_allowed_collections: CollectionName[] | null; one_collection: CollectionName | null; one_collection_field: string | null; one_deselect_action: StringLiteralUnion<"nullify" | "delete">; one_field: string | null; sort_field: string | null; system?: boolean; }> | null; schema: { column: string; constraint_name: string | null; foreign_key_column: string; foreign_key_schema?: string; foreign_key_table: string; on_delete: "NO ACTION" | "RESTRICT" | "CASCADE" | "SET NULL" | "SET DEFAULT" | null; on_update: "NO ACTION" | "RESTRICT" | "CASCADE" | "SET NULL" | "SET DEFAULT" | null; table: string; } | null; }; //#endregion export { DirectusRelation }; //# sourceMappingURL=relation.d.ts.map