@sanity/types 6.16.0 → 6.17.0-next.14

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.
Files changed (2) hide show
  1. package/lib/index.d.ts +10 -0
  2. package/package.json +1 -1
package/lib/index.d.ts CHANGED
@@ -815,6 +815,16 @@ interface ArrayOptions<V = unknown> extends SearchConfiguration, BaseSchemaTypeO
815
815
  * @beta
816
816
  */
817
817
  disableActions?: ArrayActionName[];
818
+ /**
819
+ * The number of items to render before the remaining items are collapsed behind a
820
+ * "show all items" toggle. Must be a positive integer, or `false` to always render every item
821
+ * in this array.
822
+ *
823
+ * Overrides the studio-wide `form.arrays.collapseItems` configuration.
824
+ *
825
+ * @beta
826
+ */
827
+ collapseItemsAfter?: number | false;
818
828
  }
819
829
  /** @public */
820
830
  interface ArrayRule<Value> extends RuleDef<ArrayRule<Value>, Value> {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sanity/types",
3
- "version": "6.16.0",
3
+ "version": "6.17.0-next.14",
4
4
  "description": "Type definitions for common Sanity data structures",
5
5
  "keywords": [
6
6
  "cms",