@diagonal-hq/cli 0.45.1 → 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 +1 -1
- package/dist/check-data.json +1 -1
- package/dist/{cli-check-data-T6OVGKWP.mjs → cli-check-data-KSRDBU2B.mjs} +4 -4
- package/dist/{cli-chunk-IUHDCZQP.mjs → cli-chunk-3CAJMOEQ.mjs} +5 -2
- package/dist/cli-chunk-MNY2MML6.mjs +87 -0
- package/dist/{cli-sdk-files.generated-ZKHJVYQH.mjs → cli-sdk-files.generated-HM6P42TW.mjs} +2 -2
- package/dist/{cli-workflows-TQAVRQ7O.mjs → cli-workflows-PSPXSY45.mjs} +1 -1
- package/dist/cli.mjs +3 -3
- package/dist/fields.generated.d.ts +2 -2
- package/dist/script-sdk.json +1 -1
- package/dist/workflow/generated/capabilities.d.ts +1 -1
- package/package.json +4 -4
- package/dist/cli-chunk-6HPUF67L.mjs +0 -87
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
|
|
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
|
| -------------------------------------- | ------------------------------------------------------------------------------------------------------------------ |
|