From e2bfcf41772a34fce08a141a573ba55ffbe8e972 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Daniel=20Marti=CC=81n?= Date: Wed, 27 Nov 2024 15:51:40 +0100 Subject: [PATCH] Add RepeatableFields --- src/types/value/types.ts | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/types/value/types.ts b/src/types/value/types.ts index 73c41d9c..468901f1 100644 --- a/src/types/value/types.ts +++ b/src/types/value/types.ts @@ -26,6 +26,11 @@ export type EmptyObjectField = Record */ export type FieldState = "empty" | "filled" +/** + * Repeatable fields. + */ +export type RepeatableFields = LinkField[] + /** * Any regular field that can be nested in a group-like field. */ @@ -46,6 +51,7 @@ export type AnyRegularField = | BooleanField | GeoPointField | IntegrationField + | RepeatableFields /** * Any field that can be used in a slice's primary section.