added backend fields

This commit is contained in:
Anton Tranelis 2025-09-13 20:24:24 +02:00
parent e5a2dc197a
commit 6e58262607
3 changed files with 144 additions and 0 deletions

View File

@ -0,0 +1,56 @@
{
"collection": "relations",
"field": "direction",
"type": "string",
"meta": {
"collection": "relations",
"conditions": null,
"display": null,
"display_options": null,
"field": "direction",
"group": null,
"hidden": false,
"interface": "select-dropdown",
"note": null,
"options": {
"choices": [
{
"icon": "arrow_forward",
"text": "outgoing",
"value": "outgoing"
},
{
"icon": "arrow_back",
"text": "ingoing",
"value": "ingoing"
}
]
},
"readonly": false,
"required": false,
"sort": 4,
"special": null,
"translations": null,
"validation": null,
"validation_message": null,
"width": "full"
},
"schema": {
"name": "direction",
"table": "relations",
"data_type": "character varying",
"default_value": "outgoing",
"max_length": 255,
"numeric_precision": null,
"numeric_scale": null,
"is_nullable": true,
"is_unique": false,
"is_indexed": false,
"is_primary_key": false,
"is_generated": false,
"generation_expression": null,
"has_auto_increment": false,
"foreign_key_table": null,
"foreign_key_column": null
}
}

View File

@ -0,0 +1,43 @@
{
"collection": "relations",
"field": "heading",
"type": "string",
"meta": {
"collection": "relations",
"conditions": null,
"display": null,
"display_options": null,
"field": "heading",
"group": null,
"hidden": false,
"interface": "input",
"note": null,
"options": null,
"readonly": false,
"required": false,
"sort": 3,
"special": null,
"translations": null,
"validation": null,
"validation_message": null,
"width": "full"
},
"schema": {
"name": "heading",
"table": "relations",
"data_type": "character varying",
"default_value": "Relations",
"max_length": 255,
"numeric_precision": null,
"numeric_scale": null,
"is_nullable": true,
"is_unique": false,
"is_indexed": false,
"is_primary_key": false,
"is_generated": false,
"generation_expression": null,
"has_auto_increment": false,
"foreign_key_table": null,
"foreign_key_column": null
}
}

View File

@ -0,0 +1,45 @@
{
"collection": "relations",
"field": "hideWhenEmpty",
"type": "boolean",
"meta": {
"collection": "relations",
"conditions": null,
"display": null,
"display_options": null,
"field": "hideWhenEmpty",
"group": null,
"hidden": false,
"interface": "boolean",
"note": null,
"options": null,
"readonly": false,
"required": false,
"sort": 5,
"special": [
"cast-boolean"
],
"translations": null,
"validation": null,
"validation_message": null,
"width": "full"
},
"schema": {
"name": "hideWhenEmpty",
"table": "relations",
"data_type": "boolean",
"default_value": true,
"max_length": null,
"numeric_precision": null,
"numeric_scale": null,
"is_nullable": true,
"is_unique": false,
"is_indexed": false,
"is_primary_key": false,
"is_generated": false,
"generation_expression": null,
"has_auto_increment": false,
"foreign_key_table": null,
"foreign_key_column": null
}
}