mirror of
https://github.com/directus/directus.git
synced 2026-01-28 03:38:07 -05:00
Move mock data to storybook folder
This commit is contained in:
11109
.storybook/mock-data/collections.json
Normal file
11109
.storybook/mock-data/collections.json
Normal file
File diff suppressed because it is too large
Load Diff
11527
.storybook/mock-data/fields.json
Normal file
11527
.storybook/mock-data/fields.json
Normal file
File diff suppressed because it is too large
Load Diff
228
.storybook/mock-data/relations.json
Normal file
228
.storybook/mock-data/relations.json
Normal file
@@ -0,0 +1,228 @@
|
||||
{
|
||||
"relations": [
|
||||
{
|
||||
"id": 15,
|
||||
"collection_many": "news",
|
||||
"field_many": "author",
|
||||
"collection_one": "staff",
|
||||
"field_one": "news",
|
||||
"junction_field": null
|
||||
},
|
||||
{
|
||||
"id": 16,
|
||||
"collection_many": "interface_library",
|
||||
"field_many": "m2o",
|
||||
"collection_one": "news",
|
||||
"field_one": null,
|
||||
"junction_field": null
|
||||
},
|
||||
{
|
||||
"id": 17,
|
||||
"collection_many": "interface_library_staff",
|
||||
"field_many": "interface_library_id",
|
||||
"collection_one": "interface_library",
|
||||
"field_one": "checkboxes_relational",
|
||||
"junction_field": "staff_id"
|
||||
},
|
||||
{
|
||||
"id": 18,
|
||||
"collection_many": "interface_library_staff",
|
||||
"field_many": "staff_id",
|
||||
"collection_one": "staff",
|
||||
"field_one": "interface_library",
|
||||
"junction_field": "interface_library_id"
|
||||
},
|
||||
{
|
||||
"id": 19,
|
||||
"collection_many": "interface_library_files",
|
||||
"field_many": "directus_files_id",
|
||||
"collection_one": "directus_files",
|
||||
"field_one": "interface_library",
|
||||
"junction_field": "interface_library_id"
|
||||
},
|
||||
{
|
||||
"id": 20,
|
||||
"collection_many": "interface_library_files",
|
||||
"field_many": "interface_library_id",
|
||||
"collection_one": "interface_library",
|
||||
"field_one": "files",
|
||||
"junction_field": "directus_files_id"
|
||||
},
|
||||
{
|
||||
"id": 21,
|
||||
"collection_many": "interface_library_news",
|
||||
"field_many": "interface_library_id",
|
||||
"collection_one": "interface_library",
|
||||
"field_one": "m2m",
|
||||
"junction_field": "news_id"
|
||||
},
|
||||
{
|
||||
"id": 22,
|
||||
"collection_many": "interface_library_news",
|
||||
"field_many": "news_id",
|
||||
"collection_one": "news",
|
||||
"field_one": "interface_library",
|
||||
"junction_field": "interface_library_id"
|
||||
},
|
||||
{
|
||||
"id": 23,
|
||||
"collection_many": "library_translations",
|
||||
"field_many": "library",
|
||||
"collection_one": "interface_library",
|
||||
"field_one": "translation",
|
||||
"junction_field": null
|
||||
},
|
||||
{
|
||||
"id": 24,
|
||||
"collection_many": "news",
|
||||
"field_many": "m2o",
|
||||
"collection_one": "interface_library",
|
||||
"field_one": "o2m",
|
||||
"junction_field": null
|
||||
},
|
||||
{
|
||||
"id": 25,
|
||||
"collection_many": "ticket_notes",
|
||||
"field_many": "ticket",
|
||||
"collection_one": "tickets",
|
||||
"field_one": "notes",
|
||||
"junction_field": null
|
||||
},
|
||||
{
|
||||
"id": 26,
|
||||
"collection_many": "customers",
|
||||
"field_many": "owner",
|
||||
"collection_one": "staff",
|
||||
"field_one": null,
|
||||
"junction_field": null
|
||||
},
|
||||
{
|
||||
"id": 27,
|
||||
"collection_many": "tickets",
|
||||
"field_many": "customer",
|
||||
"collection_one": "customers",
|
||||
"field_one": null,
|
||||
"junction_field": null
|
||||
},
|
||||
{
|
||||
"id": 28,
|
||||
"collection_many": "news_relations",
|
||||
"field_many": "news_id",
|
||||
"collection_one": "news",
|
||||
"field_one": "related_news",
|
||||
"junction_field": "related_id"
|
||||
},
|
||||
{
|
||||
"id": 29,
|
||||
"collection_many": "news_relations",
|
||||
"field_many": "related_id",
|
||||
"collection_one": "news",
|
||||
"field_one": "news",
|
||||
"junction_field": "news_id"
|
||||
},
|
||||
{
|
||||
"id": 53,
|
||||
"collection_many": "directus_activity",
|
||||
"field_many": "action_by",
|
||||
"collection_one": "directus_users",
|
||||
"field_one": null,
|
||||
"junction_field": null
|
||||
},
|
||||
{
|
||||
"id": 56,
|
||||
"collection_many": "directus_fields",
|
||||
"field_many": "collection",
|
||||
"collection_one": "directus_collections",
|
||||
"field_one": "fields",
|
||||
"junction_field": null
|
||||
},
|
||||
{
|
||||
"id": 57,
|
||||
"collection_many": "directus_files",
|
||||
"field_many": "uploaded_by",
|
||||
"collection_one": "directus_users",
|
||||
"field_one": null,
|
||||
"junction_field": null
|
||||
},
|
||||
{
|
||||
"id": 58,
|
||||
"collection_many": "directus_files",
|
||||
"field_many": "folder",
|
||||
"collection_one": "directus_folders",
|
||||
"field_one": null,
|
||||
"junction_field": null
|
||||
},
|
||||
{
|
||||
"id": 59,
|
||||
"collection_many": "directus_folders",
|
||||
"field_many": "parent_folder",
|
||||
"collection_one": "directus_folders",
|
||||
"field_one": null,
|
||||
"junction_field": null
|
||||
},
|
||||
{
|
||||
"id": 60,
|
||||
"collection_many": "directus_permissions",
|
||||
"field_many": "group",
|
||||
"collection_one": "directus_groups",
|
||||
"field_one": null,
|
||||
"junction_field": null
|
||||
},
|
||||
{
|
||||
"id": 61,
|
||||
"collection_many": "directus_revisions",
|
||||
"field_many": "activity",
|
||||
"collection_one": "directus_activity",
|
||||
"field_one": null,
|
||||
"junction_field": null
|
||||
},
|
||||
{
|
||||
"id": 62,
|
||||
"collection_many": "directus_users",
|
||||
"field_many": "role",
|
||||
"collection_one": "directus_roles",
|
||||
"field_one": "users",
|
||||
"junction_field": null
|
||||
},
|
||||
{
|
||||
"id": 63,
|
||||
"collection_many": "directus_users",
|
||||
"field_many": "avatar",
|
||||
"collection_one": "directus_files",
|
||||
"field_one": null,
|
||||
"junction_field": null
|
||||
},
|
||||
{
|
||||
"id": 64,
|
||||
"collection_many": "ticket_files",
|
||||
"field_many": "ticket",
|
||||
"collection_one": "tickets",
|
||||
"field_one": "attachments",
|
||||
"junction_field": "file"
|
||||
},
|
||||
{
|
||||
"id": 65,
|
||||
"collection_many": "ticket_files",
|
||||
"field_many": "file",
|
||||
"collection_one": "directus_files",
|
||||
"field_one": "tickets",
|
||||
"junction_field": "ticket"
|
||||
},
|
||||
{
|
||||
"id": 66,
|
||||
"collection_many": "directus_collection_presets",
|
||||
"field_many": "role",
|
||||
"collection_one": "directus_roles",
|
||||
"field_one": null,
|
||||
"junction_field": null
|
||||
},
|
||||
{
|
||||
"id": 67,
|
||||
"collection_many": "directus_collection_presets",
|
||||
"field_many": "user",
|
||||
"collection_one": "directus_users",
|
||||
"field_one": null,
|
||||
"junction_field": null
|
||||
}
|
||||
]
|
||||
}
|
||||
File diff suppressed because one or more lines are too long
Reference in New Issue
Block a user