Ulf Gebhardt f8bf861e4e
feat(backend): directus data per project (#375)
* seed directus data as a whole per project, fix marker icon: user-outline

* rename deploy.sh back to seed.sh

* workflow to test the seed in the backend

* test workflow failure

* wait 3 seconds for all docker containers to be ready

* sleep 3 seconds not 3000

* mod permissions

* try sudo

* revert breaking change

* enforce exit status 0

* fix exit enforce

* test if failing seed files is related to the data folder

fix

* revert volume removal, create uploads folder

* also chmod
2025-09-08 22:22:50 +02:00

81 lines
1.8 KiB
JSON

{
"collection": "features",
"field": "status",
"type": "string",
"meta": {
"collection": "features",
"conditions": null,
"display": "labels",
"display_options": {
"choices": [
{
"background": "var(--theme--primary)",
"foreground": "#FFFFFF",
"text": "$t:published",
"value": "published"
},
{
"background": "#D3DAE4",
"foreground": "#18222F",
"text": "$t:draft",
"value": "draft"
},
{
"background": "var(--theme--warning)",
"foreground": "#FFFFFF",
"text": "$t:archived",
"value": "archived"
}
],
"showAsDot": true
},
"field": "status",
"group": null,
"hidden": false,
"interface": "select-dropdown",
"note": null,
"options": {
"choices": [
{
"text": "$t:published",
"value": "published"
},
{
"text": "$t:draft",
"value": "draft"
},
{
"text": "$t:archived",
"value": "archived"
}
]
},
"readonly": false,
"required": false,
"sort": 2,
"special": null,
"translations": null,
"validation": null,
"validation_message": null,
"width": "full"
},
"schema": {
"name": "status",
"table": "features",
"data_type": "character varying",
"default_value": "draft",
"max_length": 255,
"numeric_precision": null,
"numeric_scale": null,
"is_nullable": false,
"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
}
}