Split up collections in system/database

This commit is contained in:
rijkvanzanten
2020-07-31 16:09:13 -04:00
parent 8e3956a10c
commit 3895e36710

View File

@@ -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;
};