mirror of
https://github.com/directus/directus.git
synced 2026-04-03 03:00:39 -04:00
Add Tree-View Interface (#4602)
* Fix local type extraction * Render basic tree in tree-view * Render drawer-item in tree-view-group * Retrieve nested draggable changes * Default sort query to configured sortField * Store nested group / sort to API * Allow updating item values * Figure out a dropzone approach on preview * Finish editable tree view * Set sort value based on sort field in relation * Add create-new / add-existing * Respect previously made nested edits * Add description in setup * Fix fetching level of o2m sort field * Remove min height on empty root * Remove unused types * Add notice for invalid relationship type * Allow recursive o2m in setup * Styling tweak * Revert changes in v-list * Revert changes in groupable
This commit is contained in:
@@ -5,6 +5,10 @@ import { Permission } from './permissions';
|
||||
export type SchemaOverview = {
|
||||
tables: SO;
|
||||
relations: Relation[];
|
||||
collections: {
|
||||
collection: string;
|
||||
sort_field: string | null;
|
||||
}[];
|
||||
fields: {
|
||||
id: number;
|
||||
collection: string;
|
||||
|
||||
Reference in New Issue
Block a user