Mehrere Auswahlen in einem Objekt speichern

- Neues JSON-Feld 'selections' in Directus objects-Collection
- Alle Auswahlen (bbox/polygon) landen in einem einzigen Objekt
- Erste Auswahl bleibt weiterhin in bbox/polygon für Kompatibilität
- GET-Proxy liefert selections-Feld mit aus

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
2026-04-25 21:23:22 +02:00
parent 8219a5445c
commit 807c733770
4 changed files with 14 additions and 15 deletions

View File

@@ -47,6 +47,7 @@ export async function createDirectusObject(payload: {
picture: string
bbox: BBox | null
polygon: Point[] | null
selections: import('./types').Selection[] | null
user_notes: string | null
parent: string | null
}, token: string): Promise<DirectusObject> {