mirror of
https://github.com/directus/directus.git
synced 2026-01-25 17:38:06 -05:00
Split up collections in system/database
This commit is contained in:
@@ -1,11 +1,16 @@
|
||||
import { Field } from './field';
|
||||
import { Table } from 'knex-schema-inspector/lib/types/table';
|
||||
|
||||
export type Collection = {
|
||||
collection: string;
|
||||
note: string | null;
|
||||
hidden: boolean;
|
||||
single: boolean;
|
||||
icon: string | null;
|
||||
translation: Record<string, string>;
|
||||
fields?: Field[];
|
||||
system: {
|
||||
collection: string;
|
||||
note: string | null;
|
||||
hidden: boolean;
|
||||
single: boolean;
|
||||
icon: string | null;
|
||||
translation: Record<string, string>;
|
||||
} | null;
|
||||
database: Table;
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user