UNPKG

@devix-tecnologia/directus-extension-inframe

Version:

DEPRECATED: Use 'directus-extension-inframe' instead. This package is no longer maintained.

834 lines (833 loc) 22.9 kB
{ "collections": [ { "collection": "languages", "meta": { "collection": "languages", "icon": null, "note": null, "display_template": null, "hidden": false, "singleton": false, "translations": null, "archive_field": null, "archive_app_filter": true, "archive_value": null, "unarchive_value": null, "sort_field": null, "accountability": "all", "color": null, "item_duplication_fields": null, "sort": 1, "group": "inframe_pasta", "collapse": "open", "preview_url": null, "versioning": false }, "schema": {} }, { "collection": "inframe", "meta": { "collection": "inframe", "icon": null, "note": null, "display_template": null, "hidden": false, "singleton": false, "translations": null, "archive_field": "status", "archive_app_filter": true, "archive_value": "archived", "unarchive_value": "draft", "sort_field": "sort", "accountability": "all", "color": null, "item_duplication_fields": null, "sort": 2, "group": "inframe_pasta", "collapse": "open", "preview_url": null, "versioning": false }, "schema": {} }, { "collection": "inframe_translations", "meta": { "collection": "inframe_translations", "icon": "import_export", "note": null, "display_template": null, "hidden": true, "singleton": false, "translations": null, "archive_field": null, "archive_app_filter": true, "archive_value": null, "unarchive_value": null, "sort_field": null, "accountability": "all", "color": null, "item_duplication_fields": null, "sort": 3, "group": "inframe_pasta", "collapse": "open", "preview_url": null, "versioning": false }, "schema": {} }, { "collection": "inframe_pasta", "meta": { "collection": "inframe_pasta", "icon": "folder", "note": null, "display_template": null, "hidden": false, "singleton": false, "translations": null, "archive_field": null, "archive_app_filter": true, "archive_value": null, "unarchive_value": null, "sort_field": null, "accountability": "all", "color": null, "item_duplication_fields": null, "sort": 16, "group": null, "collapse": "open", "preview_url": null, "versioning": false }, "schema": null } ], "fields": [ { "collection": "languages", "field": "code", "type": "string", "schema": { "name": "code", "table": "languages", "data_type": "character varying", "default_value": null, "generation_expression": null, "max_length": 255, "numeric_precision": null, "numeric_scale": null, "is_generated": false, "is_nullable": false, "is_unique": true, "is_indexed": false, "is_primary_key": true, "has_auto_increment": false, "foreign_key_schema": null, "foreign_key_table": null, "foreign_key_column": null, "comment": null }, "meta": { "collection": "languages", "field": "code", "special": null, "interface": "input", "options": null, "display": null, "display_options": null, "readonly": false, "hidden": false, "sort": 1, "width": "full", "translations": null, "note": null, "conditions": null, "required": false, "group": null, "validation": null, "validation_message": null } }, { "collection": "languages", "field": "name", "type": "string", "schema": { "name": "name", "table": "languages", "data_type": "character varying", "default_value": null, "generation_expression": null, "max_length": 255, "numeric_precision": null, "numeric_scale": null, "is_generated": false, "is_nullable": true, "is_unique": false, "is_indexed": false, "is_primary_key": false, "has_auto_increment": false, "foreign_key_schema": null, "foreign_key_table": null, "foreign_key_column": null, "comment": null }, "meta": { "collection": "languages", "field": "name", "special": null, "interface": "input", "options": null, "display": null, "display_options": null, "readonly": false, "hidden": false, "sort": 2, "width": "full", "translations": null, "note": null, "conditions": null, "required": false, "group": null, "validation": null, "validation_message": null } }, { "collection": "languages", "field": "direction", "type": "string", "schema": { "name": "direction", "table": "languages", "data_type": "character varying", "default_value": null, "generation_expression": null, "max_length": 255, "numeric_precision": null, "numeric_scale": null, "is_generated": false, "is_nullable": true, "is_unique": false, "is_indexed": false, "is_primary_key": false, "has_auto_increment": false, "foreign_key_schema": null, "foreign_key_table": null, "foreign_key_column": null, "comment": null }, "meta": { "collection": "languages", "field": "direction", "special": null, "interface": "select-dropdown", "options": { "choices": [ { "text": "ltr", "value": "ltr" }, { "text": "rtl", "value": "rtl" } ] }, "display": null, "display_options": null, "readonly": false, "hidden": false, "sort": 3, "width": "full", "translations": null, "note": null, "conditions": null, "required": false, "group": null, "validation": null, "validation_message": null } }, { "collection": "inframe", "field": "id", "type": "uuid", "schema": { "name": "id", "table": "inframe", "data_type": "uuid", "default_value": null, "generation_expression": null, "max_length": null, "numeric_precision": null, "numeric_scale": null, "is_generated": false, "is_nullable": false, "is_unique": true, "is_indexed": false, "is_primary_key": true, "has_auto_increment": false, "foreign_key_schema": null, "foreign_key_table": null, "foreign_key_column": null, "comment": null }, "meta": { "collection": "inframe", "field": "id", "special": ["uuid"], "interface": "input", "options": null, "display": null, "display_options": null, "readonly": true, "hidden": true, "sort": 1, "width": "full", "translations": null, "note": null, "conditions": null, "required": false, "group": null, "validation": null, "validation_message": null } }, { "collection": "inframe", "field": "sort", "type": "integer", "schema": { "name": "sort", "table": "inframe", "data_type": "integer", "default_value": null, "generation_expression": null, "max_length": null, "numeric_precision": 32, "numeric_scale": 0, "is_generated": false, "is_nullable": true, "is_unique": false, "is_indexed": false, "is_primary_key": false, "has_auto_increment": false, "foreign_key_schema": null, "foreign_key_table": null, "foreign_key_column": null, "comment": null }, "meta": { "collection": "inframe", "field": "sort", "special": null, "interface": "input", "options": null, "display": null, "display_options": null, "readonly": false, "hidden": true, "sort": 2, "width": "full", "translations": null, "note": null, "conditions": null, "required": false, "group": null, "validation": null, "validation_message": null } }, { "collection": "inframe", "field": "status", "type": "string", "schema": { "name": "status", "table": "inframe", "data_type": "character varying", "default_value": "draft", "generation_expression": null, "max_length": 255, "numeric_precision": null, "numeric_scale": null, "is_generated": false, "is_nullable": false, "is_unique": false, "is_indexed": false, "is_primary_key": false, "has_auto_increment": false, "foreign_key_schema": null, "foreign_key_table": null, "foreign_key_column": null, "comment": null }, "meta": { "collection": "inframe", "field": "status", "special": null, "interface": "select-dropdown", "options": { "choices": [ { "text": "Publicado", "value": "published", "color": "var(--theme--primary)" }, { "text": "Rascunho", "value": "draft", "color": "var(--theme--foreground)" }, { "text": "Arquivado", "value": "archived", "color": "var(--theme--warning)" } ] }, "display": "labels", "display_options": { "showAsDot": true, "choices": [ { "text": "Publicado", "value": "published", "color": "var(--theme--primary)", "foreground": "var(--theme--primary)", "background": "var(--theme--primary-background)" }, { "text": "Rascunho", "value": "draft", "color": "var(--theme--foreground)", "foreground": "var(--theme--foreground)", "background": "var(--theme--background-normal)" }, { "text": "Arquivado", "value": "archived", "color": "var(--theme--warning)", "foreground": "var(--theme--warning)", "background": "var(--theme--warning-background)" } ] }, "readonly": false, "hidden": false, "sort": 3, "width": "full", "translations": null, "note": null, "conditions": null, "required": false, "group": null, "validation": null, "validation_message": null } }, { "collection": "inframe", "field": "icon", "type": "string", "schema": { "name": "icon", "table": "inframe", "data_type": "character varying", "default_value": null, "generation_expression": null, "max_length": 255, "numeric_precision": null, "numeric_scale": null, "is_generated": false, "is_nullable": true, "is_unique": false, "is_indexed": false, "is_primary_key": false, "has_auto_increment": false, "foreign_key_schema": null, "foreign_key_table": null, "foreign_key_column": null, "comment": null }, "meta": { "collection": "inframe", "field": "icon", "special": null, "interface": "select-icon", "options": null, "display": null, "display_options": null, "readonly": false, "hidden": false, "sort": 4, "width": "half", "translations": null, "note": null, "conditions": null, "required": false, "group": null, "validation": null, "validation_message": null } }, { "collection": "inframe", "field": "url", "type": "string", "schema": { "name": "url", "table": "inframe", "data_type": "character varying", "default_value": null, "generation_expression": null, "max_length": 255, "numeric_precision": null, "numeric_scale": null, "is_generated": false, "is_nullable": true, "is_unique": false, "is_indexed": false, "is_primary_key": false, "has_auto_increment": false, "foreign_key_schema": null, "foreign_key_table": null, "foreign_key_column": null, "comment": null }, "meta": { "collection": "inframe", "field": "url", "special": null, "interface": "input", "options": { "iconLeft": "link" }, "display": null, "display_options": null, "readonly": false, "hidden": false, "sort": 5, "width": "half", "translations": null, "note": null, "conditions": null, "required": false, "group": null, "validation": null, "validation_message": null } }, { "collection": "inframe", "field": "thumbnail", "type": "uuid", "schema": { "name": "thumbnail", "table": "inframe", "data_type": "uuid", "default_value": null, "generation_expression": null, "max_length": null, "numeric_precision": null, "numeric_scale": null, "is_generated": false, "is_nullable": true, "is_unique": false, "is_indexed": false, "is_primary_key": false, "has_auto_increment": false, "foreign_key_schema": "public", "foreign_key_table": "directus_files", "foreign_key_column": "id", "comment": null }, "meta": { "collection": "inframe", "field": "thumbnail", "special": ["file"], "interface": "file-image", "options": { "crop": false }, "display": "image", "display_options": {}, "readonly": false, "hidden": false, "sort": 6, "width": "full", "translations": null, "note": null, "conditions": null, "required": false, "group": null, "validation": null, "validation_message": null } }, { "collection": "inframe_translations", "field": "id", "type": "integer", "schema": { "name": "id", "table": "inframe_translations", "data_type": "integer", "default_value": "nextval('inframe_translations_id_seq'::regclass)", "generation_expression": null, "max_length": null, "numeric_precision": 32, "numeric_scale": 0, "is_generated": false, "is_nullable": false, "is_unique": true, "is_indexed": false, "is_primary_key": true, "has_auto_increment": true, "foreign_key_schema": null, "foreign_key_table": null, "foreign_key_column": null, "comment": null }, "meta": { "collection": "inframe_translations", "field": "id", "special": null, "interface": null, "options": null, "display": null, "display_options": null, "readonly": false, "hidden": true, "sort": 1, "width": "full", "translations": null, "note": null, "conditions": null, "required": false, "group": null, "validation": null, "validation_message": null } }, { "collection": "inframe_translations", "field": "inframe_id", "type": "uuid", "schema": { "name": "inframe_id", "table": "inframe_translations", "data_type": "uuid", "default_value": null, "generation_expression": null, "max_length": null, "numeric_precision": null, "numeric_scale": null, "is_generated": false, "is_nullable": true, "is_unique": false, "is_indexed": false, "is_primary_key": false, "has_auto_increment": false, "foreign_key_schema": "public", "foreign_key_table": "inframe", "foreign_key_column": "id", "comment": null }, "meta": { "collection": "inframe_translations", "field": "inframe_id", "special": null, "interface": null, "options": null, "display": null, "display_options": null, "readonly": false, "hidden": true, "sort": 2, "width": "full", "translations": null, "note": null, "conditions": null, "required": false, "group": null, "validation": null, "validation_message": null } }, { "collection": "inframe_translations", "field": "languages_code", "type": "string", "schema": { "name": "languages_code", "table": "inframe_translations", "data_type": "character varying", "default_value": null, "generation_expression": null, "max_length": 255, "numeric_precision": null, "numeric_scale": null, "is_generated": false, "is_nullable": true, "is_unique": false, "is_indexed": false, "is_primary_key": false, "has_auto_increment": false, "foreign_key_schema": "public", "foreign_key_table": "languages", "foreign_key_column": "code", "comment": null }, "meta": { "collection": "inframe_translations", "field": "languages_code", "special": null, "interface": null, "options": null, "display": null, "display_options": null, "readonly": false, "hidden": true, "sort": 3, "width": "full", "translations": null, "note": null, "conditions": null, "required": false, "group": null, "validation": null, "validation_message": null } }, { "collection": "inframe_translations", "field": "title", "type": "string", "schema": { "name": "title", "table": "inframe_translations", "data_type": "character varying", "default_value": null, "generation_expression": null, "max_length": 255, "numeric_precision": null, "numeric_scale": null, "is_generated": false, "is_nullable": true, "is_unique": false, "is_indexed": false, "is_primary_key": false, "has_auto_increment": false, "foreign_key_schema": null, "foreign_key_table": null, "foreign_key_column": null, "comment": null }, "meta": { "collection": "inframe_translations", "field": "title", "special": null, "interface": "input", "options": null, "display": null, "display_options": null, "readonly": false, "hidden": false, "sort": 4, "width": "full", "translations": null, "note": null, "conditions": null, "required": false, "group": null, "validation": null, "validation_message": null } } ], "relations": [ { "collection": "inframe", "field": "thumbnail", "related_collection": "directus_files", "schema": { "constraint_name": "inframe_thumbnail_foreign", "table": "inframe", "column": "thumbnail", "foreign_key_schema": "public", "foreign_key_table": "directus_files", "foreign_key_column": "id", "on_update": "NO ACTION", "on_delete": "SET NULL" }, "meta": { "many_collection": "inframe", "many_field": "thumbnail", "one_collection": "directus_files", "one_field": null, "one_collection_field": null, "one_allowed_collections": null, "junction_field": null, "sort_field": null, "one_deselect_action": "nullify" } }, { "collection": "inframe_translations", "field": "languages_code", "related_collection": "languages", "schema": { "constraint_name": "inframe_translations_languages_code_foreign", "table": "inframe_translations", "column": "languages_code", "foreign_key_schema": "public", "foreign_key_table": "languages", "foreign_key_column": "code", "on_update": "NO ACTION", "on_delete": "SET NULL" }, "meta": { "many_collection": "inframe_translations", "many_field": "languages_code", "one_collection": "languages", "one_field": null, "one_collection_field": null, "one_allowed_collections": null, "junction_field": "inframe_id", "sort_field": null, "one_deselect_action": "nullify" } }, { "collection": "inframe_translations", "field": "inframe_id", "related_collection": "inframe", "schema": { "constraint_name": "inframe_translations_inframe_id_foreign", "table": "inframe_translations", "column": "inframe_id", "foreign_key_schema": "public", "foreign_key_table": "inframe", "foreign_key_column": "id", "on_update": "NO ACTION", "on_delete": "SET NULL" }, "meta": { "many_collection": "inframe_translations", "many_field": "inframe_id", "one_collection": "inframe", "one_field": "translations", "one_collection_field": null, "one_allowed_collections": null, "junction_field": "languages_code", "sort_field": null, "one_deselect_action": "nullify" } } ] }