fix(ui,types): Add Metadata form for collection (#11300)

**What**
- Adds missing Metadata form for collections
- Fixes type of metadata in update payload
- Fixes an issue where deleting the last row of a metadata form would prevent adding new ones.

Resolves SUP-784
This commit is contained in:
Kasper Fabricius Kristensen
2025-02-05 12:53:30 +00:00
committed by GitHub
parent 4be327819f
commit 6db96c80d0
6 changed files with 48 additions and 1 deletions
@@ -25,7 +25,7 @@ export interface AdminUpdateCollection {
/**
* Key-value pairs of custom data.
*/
metadata?: Record<string, any>
metadata?: Record<string, any> | null
}
export interface AdminUpdateCollectionProducts {