@diagonal-hq/cli 0.45.2 → 0.45.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -891,7 +891,7 @@ Fixtures are sample data for previews. They are not tests, and they are never se
891
891
 
892
892
  A resource is a folder of `resources/`. The folder name is the slug of a resource without a `slug` option, and it gives the name in `Resources`.
893
893
 
894
- A list field can omit its item schema: `field.list({ uid: '...', label: 'Values' })`. It accepts a list of mixed values, uses the raw JSON editor, and has the record type `unknown[]`. An empty `settings.schema: []` is normalized to an absent schema. A dictionary field still requires `settings.schema`.
894
+ A list field such as `field.list({ label: 'Values' })` accepts a list of mixed values and has the record type `unknown[]`. A dictionary field such as `field.dictionary({ label: 'Metadata' })` accepts an object with any keys and values and has the record type `Record<string, unknown>`. Both use the raw JSON editor when they have no schema. The build removes an empty or `null` `settings.schema`.
895
895
 
896
896
  | Path | Content |
897
897
  | -------------------------------------- | ------------------------------------------------------------------------------------------------------------------ |