@supernova-studio/client 0.52.18 → 0.52.19

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/dist/index.mjs CHANGED
@@ -30,12 +30,12 @@ import { z as z18 } from "zod";
30
30
  import { z as z19 } from "zod";
31
31
  import { z as z20 } from "zod";
32
32
  import { z as z21 } from "zod";
33
- import { z as z95 } from "zod";
33
+ import { z as z98 } from "zod";
34
34
  import { z as z22 } from "zod";
35
- import { z as z86 } from "zod";
36
- import { z as z84 } from "zod";
35
+ import { z as z89 } from "zod";
36
+ import { z as z87 } from "zod";
37
37
  import { z as z23 } from "zod";
38
- import { z as z83 } from "zod";
38
+ import { z as z86 } from "zod";
39
39
  import { z as z24 } from "zod";
40
40
  import { z as z26 } from "zod";
41
41
  import { z as z25 } from "zod";
@@ -55,20 +55,20 @@ import { z as z36 } from "zod";
55
55
  import { z as z37 } from "zod";
56
56
  import { z as z38 } from "zod";
57
57
  import { z as z39 } from "zod";
58
- import { z as z41 } from "zod";
59
- import { z as z45 } from "zod";
60
58
  import { z as z44 } from "zod";
61
59
  import { z as z43 } from "zod";
60
+ import { z as z41 } from "zod";
62
61
  import { z as z42 } from "zod";
63
62
  import { z as z48 } from "zod";
64
63
  import { z as z47 } from "zod";
65
64
  import { z as z46 } from "zod";
65
+ import { z as z45 } from "zod";
66
66
  import { z as z51 } from "zod";
67
67
  import { z as z50 } from "zod";
68
68
  import { z as z49 } from "zod";
69
- import { z as z52 } from "zod";
70
- import { z as z53 } from "zod";
71
69
  import { z as z54 } from "zod";
70
+ import { z as z53 } from "zod";
71
+ import { z as z52 } from "zod";
72
72
  import { z as z55 } from "zod";
73
73
  import { z as z56 } from "zod";
74
74
  import { z as z57 } from "zod";
@@ -89,29 +89,29 @@ import { z as z71 } from "zod";
89
89
  import { z as z72 } from "zod";
90
90
  import { z as z73 } from "zod";
91
91
  import { z as z74 } from "zod";
92
- import { z as z76 } from "zod";
93
92
  import { z as z75 } from "zod";
93
+ import { z as z76 } from "zod";
94
94
  import { z as z77 } from "zod";
95
- import { z as z78 } from "zod";
96
95
  import { z as z79 } from "zod";
96
+ import { z as z78 } from "zod";
97
97
  import { z as z80 } from "zod";
98
- import { z as z82 } from "zod";
99
98
  import { z as z81 } from "zod";
99
+ import { z as z82 } from "zod";
100
+ import { z as z83 } from "zod";
100
101
  import { z as z85 } from "zod";
101
- import { z as z94 } from "zod";
102
- import { z as z89 } from "zod";
103
- import { z as z87 } from "zod";
102
+ import { z as z84 } from "zod";
104
103
  import { z as z88 } from "zod";
104
+ import { z as z97 } from "zod";
105
+ import { z as z92 } from "zod";
105
106
  import { z as z90 } from "zod";
106
107
  import { z as z91 } from "zod";
107
- import { z as z92 } from "zod";
108
108
  import { z as z93 } from "zod";
109
+ import { z as z94 } from "zod";
110
+ import { z as z95 } from "zod";
109
111
  import { z as z96 } from "zod";
110
- import { z as z97 } from "zod";
111
- import { z as z98 } from "zod";
112
- import { z as z101 } from "zod";
113
- import { z as z100 } from "zod";
114
112
  import { z as z99 } from "zod";
113
+ import { z as z100 } from "zod";
114
+ import { z as z101 } from "zod";
115
115
  import { z as z102 } from "zod";
116
116
  import { z as z103 } from "zod";
117
117
  import { z as z104 } from "zod";
@@ -1916,265 +1916,458 @@ function sanitizeSpanAttribute(attribute) {
1916
1916
  };
1917
1917
  }
1918
1918
  }
1919
- var PageBlockLinkType = z41.enum(["DocumentationItem", "PageHeading", "Url"]);
1920
- var PageBlockImageType = z41.enum(["Resource", "FigmaNode"]);
1921
- var PageBlockImageAlignment = z41.enum(["Left", "Center", "Stretch"]);
1922
- var PageBlockTableCellAlignment = z41.enum(["Left", "Center", "Right"]);
1923
- var PageBlockPreviewContainerSize = z41.enum(["Centered", "NaturalHeight"]);
1924
- var PageBlockThemeDisplayMode = z41.enum(["Split", "Override"]);
1925
- var PageBlockImageResourceReference = z41.object({
1926
- resourceId: z41.string(),
1927
- url: z41.string()
1919
+ var PageBlockDefinitionAppearance = z41.object({
1920
+ isBordered: z41.boolean().optional(),
1921
+ hasBackground: z41.boolean().optional(),
1922
+ isEditorPresentationDifferent: z41.boolean().optional(),
1923
+ showBlockHeaderInEditor: z41.boolean().optional()
1928
1924
  });
1929
- var PageBlockResourceFrameNodeReference = z41.object({
1930
- sourceId: z41.string(),
1931
- frameReferenceId: z41.string()
1925
+ var PageBlockDefinitionLayoutType = z42.enum(["Column", "Row"]);
1926
+ var PageBlockDefinitionLayoutGap = z42.enum(["Small", "Medium", "Large", "None"]);
1927
+ var PageBlockDefinitionLayoutAlign = z42.enum(["Start", "Center", "End"]);
1928
+ var PageBlockDefinitionLayoutResizing = z42.enum(["Fill", "Hug"]);
1929
+ var PageBlockDefinitionLayoutBase = z42.object({
1930
+ type: PageBlockDefinitionLayoutType,
1931
+ gap: PageBlockDefinitionLayoutGap.optional(),
1932
+ columnAlign: PageBlockDefinitionLayoutAlign.optional(),
1933
+ columnResizing: PageBlockDefinitionLayoutResizing.optional()
1934
+ });
1935
+ var PageBlockDefinitionLayout = PageBlockDefinitionLayoutBase.extend({
1936
+ children: z42.lazy(() => z42.array(PageBlockDefinitionLayout.or(z42.string())))
1937
+ });
1938
+ var PageBlockDefinitionVariant = z42.object({
1939
+ id: z42.string(),
1940
+ name: z42.string(),
1941
+ image: z42.string().optional(),
1942
+ description: z42.string().optional(),
1943
+ documentationLink: z42.string().optional(),
1944
+ layout: PageBlockDefinitionLayout,
1945
+ maxColumns: z42.number().optional(),
1946
+ defaultColumns: z42.number().optional(),
1947
+ appearance: PageBlockDefinitionAppearance.optional()
1932
1948
  });
1933
- var PageBlockImageReference = z41.object({
1949
+ var PageBlockDefinitionPropertyType = z43.enum([
1950
+ "RichText",
1951
+ "MultiRichText",
1952
+ "RichTextEditor",
1953
+ "Text",
1954
+ "Boolean",
1955
+ "Number",
1956
+ "SingleSelect",
1957
+ "MultiSelect",
1958
+ "Image",
1959
+ "Token",
1960
+ "TokenType",
1961
+ "TokenProperty",
1962
+ "Component",
1963
+ "ComponentProperty",
1964
+ "Asset",
1965
+ "AssetProperty",
1966
+ "FigmaNode",
1967
+ "EmbedURL",
1968
+ "URL",
1969
+ "Markdown",
1970
+ "Code",
1971
+ "CodeSandbox",
1972
+ "Table",
1973
+ "Divider",
1974
+ "Storybook",
1975
+ "Color",
1976
+ "FigmaComponent"
1977
+ ]);
1978
+ var PageBlockDefinitionRichTextPropertyStyle = z43.enum([
1979
+ "Title1",
1980
+ "Title2",
1981
+ "Title3",
1982
+ "Title4",
1983
+ "Title5",
1984
+ "Quote",
1985
+ "Callout",
1986
+ "Default"
1987
+ ]);
1988
+ var PageBlockDefinitionMultiRichTextPropertyStyle = z43.enum(["OL", "UL"]);
1989
+ var PageBlockDefinitionRichTextEditorPropertyStyle = z43.enum([
1990
+ "OL",
1991
+ "UL",
1992
+ "Bold",
1993
+ "Italic",
1994
+ "Link",
1995
+ "Strikethrough",
1996
+ "InlineCode"
1997
+ ]);
1998
+ var PageBlockDefinitionTextPropertyStyle = z43.enum([
1999
+ "Title1",
2000
+ "Title2",
2001
+ "Title3",
2002
+ "Title4",
2003
+ "Title5",
2004
+ "Default",
2005
+ "DefaultBold",
2006
+ "DefaultSemibold",
2007
+ "Small",
2008
+ "SmallBold",
2009
+ "SmallSemibold",
2010
+ "Custom"
2011
+ ]);
2012
+ var PageBlockDefinitionTextPropertyColor = z43.enum(["Neutral", "NeutralFaded"]);
2013
+ var PageBlockDefinitionBooleanPropertyStyle = z43.enum(["SegmentedControl", "ToggleButton", "Checkbox"]);
2014
+ var PageBlockDefinitionSingleSelectPropertyStyle = z43.enum([
2015
+ "SegmentedControl",
2016
+ "ToggleButton",
2017
+ "Select",
2018
+ "Checkbox"
2019
+ ]);
2020
+ var PageBlockDefinitionSingleSelectPropertyColor = z43.enum([
2021
+ "Green",
2022
+ "Red",
2023
+ "Yellow",
2024
+ "Blue",
2025
+ "Purple",
2026
+ "Orange",
2027
+ "Pink",
2028
+ "Teal",
2029
+ "Brown",
2030
+ "Grey",
2031
+ "LightGrey",
2032
+ "Cyan",
2033
+ "Fuchsia"
2034
+ ]);
2035
+ var IconSet = z43.enum(["CheckCircle", "CrossCircle", "Alert"]);
2036
+ var PageBlockDefinitionMultiSelectPropertyStyle = z43.enum(["SegmentedControl", "Select", "Checkbox"]);
2037
+ var PageBlockDefinitionImageAspectRatio = z43.enum(["Auto", "Square", "Landscape", "Portrait", "Wide"]);
2038
+ var PageBlockDefinitionImageWidth = z43.enum(["Full", "Icon", "Small", "Medium", "Large", "Poster"]);
2039
+ var PageBlockDefinitionSelectChoice = z43.object({
2040
+ value: z43.string(),
2041
+ name: z43.string(),
2042
+ icon: IconSet.optional(),
2043
+ customIconUrl: z43.string().optional(),
2044
+ color: PageBlockDefinitionSingleSelectPropertyColor.optional()
2045
+ });
2046
+ var PageBlockDefinitionUntypedPropertyOptions = z43.record(z43.any());
2047
+ var PageBlockDefinitionRichTextOptions = z43.object({
2048
+ richTextStyle: PageBlockDefinitionRichTextPropertyStyle.optional()
2049
+ });
2050
+ var PageBlockDefinitionMutiRichTextOptions = z43.object({
2051
+ multiRichTextStyle: PageBlockDefinitionMultiRichTextPropertyStyle.optional()
2052
+ });
2053
+ var PageBlockDefinitionRichTextEditorOptions = z43.object({
2054
+ placeholder: z43.string().optional(),
2055
+ allowedInlineStyles: z43.array(PageBlockDefinitionRichTextEditorPropertyStyle).optional()
2056
+ });
2057
+ var PageBlockDefinitionTextOptions = z43.object({
2058
+ placeholder: z43.string().optional(),
2059
+ defaultValue: z43.string().optional(),
2060
+ textStyle: PageBlockDefinitionTextPropertyStyle.optional(),
2061
+ color: PageBlockDefinitionTextPropertyColor.optional(),
2062
+ allowLineBreaks: z43.boolean().optional()
2063
+ });
2064
+ var PageBlockDefinitionSelectOptions = z43.object({
2065
+ singleSelectStyle: PageBlockDefinitionSingleSelectPropertyStyle.optional(),
2066
+ defaultChoice: z43.string(),
2067
+ choices: z43.array(PageBlockDefinitionSelectChoice)
2068
+ });
2069
+ var PageBlockDefinitionImageOptions = z43.object({
2070
+ width: PageBlockDefinitionImageWidth.optional(),
2071
+ aspectRatio: PageBlockDefinitionImageAspectRatio.optional(),
2072
+ allowCaption: z43.boolean().optional(),
2073
+ recommendation: z43.string().optional()
2074
+ });
2075
+ var PageBlockDefinitionBooleanOptions = z43.object({
2076
+ defaultvalue: z43.boolean().optional(),
2077
+ booleanStyle: PageBlockDefinitionBooleanPropertyStyle.optional()
2078
+ });
2079
+ var PageBlockDefinitionNumberOptions = z43.object({
2080
+ defaultValue: z43.number(),
2081
+ min: z43.number().optional(),
2082
+ max: z43.number().optional(),
2083
+ step: z43.number().optional(),
2084
+ placeholder: z43.string().optional()
2085
+ });
2086
+ var PageBlockDefinitionComponentOptions = z43.object({
2087
+ renderLayoutAs: z43.enum(["List", "Table"]).optional(),
2088
+ allowPropertySelection: z43.boolean().optional()
2089
+ });
2090
+ var PageBlockDefinitionProperty = z43.object({
2091
+ id: z43.string(),
2092
+ name: z43.string(),
2093
+ type: PageBlockDefinitionPropertyType,
2094
+ description: z43.string().optional(),
2095
+ options: PageBlockDefinitionUntypedPropertyOptions.optional(),
2096
+ variantOptions: z43.record(PageBlockDefinitionUntypedPropertyOptions).optional()
2097
+ });
2098
+ var PageBlockDefinitionItem = z43.object({
2099
+ properties: z43.array(PageBlockDefinitionProperty),
2100
+ appearance: PageBlockDefinitionAppearance.optional(),
2101
+ variants: z43.array(PageBlockDefinitionVariant),
2102
+ defaultVariantKey: z43.string()
2103
+ });
2104
+ var PageBlockLinkType = z44.enum(["DocumentationItem", "PageHeading", "Url"]);
2105
+ var PageBlockImageType = z44.enum(["Resource", "FigmaNode"]);
2106
+ var PageBlockImageAlignment = z44.enum(["Left", "Center", "Stretch"]);
2107
+ var PageBlockTableCellAlignment = z44.enum(["Left", "Center", "Right"]);
2108
+ var PageBlockPreviewContainerSize = z44.enum(["Centered", "NaturalHeight"]);
2109
+ var PageBlockThemeDisplayMode = z44.enum(["Split", "Override"]);
2110
+ var PageBlockImageResourceReference = z44.object({
2111
+ resourceId: z44.string(),
2112
+ url: z44.string()
2113
+ });
2114
+ var PageBlockResourceFrameNodeReference = z44.object({
2115
+ sourceId: z44.string(),
2116
+ frameReferenceId: z44.string()
2117
+ });
2118
+ var PageBlockImageReference = z44.object({
1934
2119
  type: PageBlockImageType,
1935
2120
  resource: PageBlockImageResourceReference.optional(),
1936
2121
  figmaNode: PageBlockResourceFrameNodeReference.optional()
1937
2122
  });
1938
- var PageBlockColorV2 = z41.object({
1939
- value: z41.string(),
1940
- referencedTokenId: z41.string().optional()
2123
+ var PageBlockColorV2 = z44.object({
2124
+ value: z44.string(),
2125
+ referencedTokenId: z44.string().optional()
1941
2126
  });
1942
- var PageBlockAssetEntityMeta = z41.object({
1943
- title: z41.string().optional(),
1944
- description: z41.string().optional(),
2127
+ var PageBlockAssetEntityMeta = z44.object({
2128
+ title: z44.string().optional(),
2129
+ description: z44.string().optional(),
1945
2130
  backgroundColor: PageBlockColorV2.optional()
1946
2131
  });
1947
- var PageBlockFigmaComponentEntityMeta = z41.object({
1948
- title: z41.string().optional(),
1949
- description: z41.string().optional(),
2132
+ var PageBlockFigmaComponentEntityMeta = z44.object({
2133
+ title: z44.string().optional(),
2134
+ description: z44.string().optional(),
1950
2135
  backgroundColor: PageBlockColorV2.optional(),
1951
- selectedComponentProperties: z41.array(z41.string()).optional()
2136
+ selectedComponentProperties: z44.array(z44.string()).optional()
1952
2137
  });
1953
- var PageBlockFigmaNodeEntityMeta = z41.object({
1954
- title: z41.string().optional(),
1955
- description: z41.string().optional(),
2138
+ var PageBlockFigmaNodeEntityMeta = z44.object({
2139
+ title: z44.string().optional(),
2140
+ description: z44.string().optional(),
1956
2141
  backgroundColor: PageBlockColorV2.optional()
1957
2142
  });
1958
- var PageBlockAppearanceV2 = z41.object({
2143
+ var PageBlockAppearanceV2 = z44.object({
1959
2144
  itemBackgroundColor: PageBlockColorV2.optional(),
1960
- numberOfColumns: z41.number().optional()
2145
+ numberOfColumns: z44.number().optional()
1961
2146
  });
1962
- var PageBlockItemUntypedValue = z41.object({
1963
- value: z41.any()
1964
- }).and(z41.record(z41.any()));
1965
- var PageBlockLinkV2 = z41.object({
2147
+ var PageBlockItemUntypedValue = z44.object({
2148
+ value: z44.any()
2149
+ }).and(z44.record(z44.any()));
2150
+ var PageBlockLinkV2 = z44.object({
1966
2151
  type: PageBlockLinkType,
1967
- documentationItemId: z41.string().optional(),
1968
- pageHeadingId: z41.string().optional(),
1969
- url: z41.string().optional(),
1970
- openInNewTab: z41.boolean().optional()
2152
+ documentationItemId: z44.string().optional(),
2153
+ pageHeadingId: z44.string().optional(),
2154
+ url: z44.string().optional(),
2155
+ openInNewTab: z44.boolean().optional()
1971
2156
  });
1972
- var PageBlockItemV2 = z41.object({
1973
- id: z41.string(),
2157
+ var PageBlockItemV2 = z44.object({
2158
+ id: z44.string(),
1974
2159
  linksTo: PageBlockLinkV2.optional(),
1975
- props: z41.record(PageBlockItemUntypedValue)
2160
+ props: z44.record(PageBlockItemUntypedValue)
1976
2161
  });
1977
- var PageBlockDataV2 = z41.object({
1978
- packageId: z41.string(),
1979
- variantId: z41.string().optional(),
1980
- indentLevel: z41.number(),
2162
+ var PageBlockDataV2 = z44.object({
2163
+ packageId: z44.string(),
2164
+ variantId: z44.string().optional(),
2165
+ indentLevel: z44.number(),
1981
2166
  appearance: PageBlockAppearanceV2.optional(),
1982
- items: z41.array(PageBlockItemV2)
2167
+ items: z44.array(PageBlockItemV2)
1983
2168
  });
1984
- var PageBlockItemAssetValue = z41.object({
1985
- selectedPropertyIds: z41.array(z41.string()).optional(),
1986
- showSearch: z41.boolean().optional(),
2169
+ var PageBlockItemAssetValue = z44.object({
2170
+ selectedPropertyIds: z44.array(z44.string()).optional(),
2171
+ showSearch: z44.boolean().optional(),
1987
2172
  previewContainerSize: PageBlockPreviewContainerSize.optional(),
1988
2173
  backgroundColor: PageBlockColorV2.optional(),
1989
- value: z41.array(
1990
- z41.object({
1991
- entityId: z41.string(),
1992
- entityType: z41.enum(["Asset", "AssetGroup"]),
2174
+ value: z44.array(
2175
+ z44.object({
2176
+ entityId: z44.string(),
2177
+ entityType: z44.enum(["Asset", "AssetGroup"]),
1993
2178
  entityMeta: PageBlockAssetEntityMeta.optional()
1994
2179
  })
1995
2180
  ).default([])
1996
2181
  });
1997
- var PageBlockItemAssetPropertyValue = z41.object({
1998
- value: z41.array(z41.string()).default([])
2182
+ var PageBlockItemAssetPropertyValue = z44.object({
2183
+ value: z44.array(z44.string()).default([])
1999
2184
  });
2000
- var PageBlockItemFigmaComponentValue = z41.object({
2001
- showComponentName: z41.boolean().optional(),
2002
- showComponentDescription: z41.boolean().optional(),
2003
- showPropertyList: z41.boolean().optional(),
2185
+ var PageBlockItemFigmaComponentValue = z44.object({
2186
+ showComponentName: z44.boolean().optional(),
2187
+ showComponentDescription: z44.boolean().optional(),
2188
+ showPropertyList: z44.boolean().optional(),
2004
2189
  previewContainerSize: PageBlockPreviewContainerSize.optional(),
2005
2190
  backgroundColor: PageBlockColorV2.optional(),
2006
- value: z41.array(
2007
- z41.object({
2008
- entityId: z41.string(),
2009
- entityType: z41.enum(["FigmaComponent"]),
2191
+ value: z44.array(
2192
+ z44.object({
2193
+ entityId: z44.string(),
2194
+ entityType: z44.enum(["FigmaComponent"]),
2010
2195
  entityMeta: PageBlockFigmaComponentEntityMeta.optional()
2011
2196
  })
2012
2197
  ).default([])
2013
2198
  });
2014
- var PageBlockItemBooleanValue = z41.object({
2015
- value: z41.boolean()
2199
+ var PageBlockItemBooleanValue = z44.object({
2200
+ value: z44.boolean()
2016
2201
  });
2017
- var PageBlockItemCodeValue = z41.object({
2202
+ var PageBlockItemCodeValue = z44.object({
2018
2203
  format: PageBlockCodeLanguage.optional(),
2019
- caption: z41.string().optional(),
2020
- value: z41.string()
2021
- });
2022
- var PageBlockItemSandboxValue = z41.object({
2023
- showCode: z41.boolean().optional(),
2024
- showControls: z41.boolean().optional(),
2025
- backgroundColor: z41.string().optional(),
2026
- alignPreview: z41.enum(["Left", "Center"]).optional(),
2027
- previewHeight: z41.number().optional(),
2028
- value: z41.string()
2029
- });
2030
- var PageBlockItemColorValue = z41.record(z41.any());
2031
- var PageBlockItemComponentValue = z41.object({
2032
- selectedPropertyIds: z41.array(z41.string()).optional(),
2033
- selectedBrandId: z41.string().optional(),
2034
- value: z41.array(
2035
- z41.object({
2036
- entityId: z41.string(),
2037
- entityType: z41.enum(["Component", "ComponentGroup"])
2204
+ caption: z44.string().optional(),
2205
+ value: z44.string()
2206
+ });
2207
+ var PageBlockItemSandboxValue = z44.object({
2208
+ showCode: z44.boolean().optional(),
2209
+ showControls: z44.boolean().optional(),
2210
+ backgroundColor: z44.string().optional(),
2211
+ alignPreview: z44.enum(["Left", "Center"]).optional(),
2212
+ previewHeight: z44.number().optional(),
2213
+ value: z44.string()
2214
+ });
2215
+ var PageBlockItemColorValue = z44.record(z44.any());
2216
+ var PageBlockItemComponentValue = z44.object({
2217
+ selectedPropertyIds: z44.array(z44.string()).optional(),
2218
+ selectedBrandId: z44.string().optional(),
2219
+ value: z44.array(
2220
+ z44.object({
2221
+ entityId: z44.string(),
2222
+ entityType: z44.enum(["Component", "ComponentGroup"])
2038
2223
  })
2039
2224
  ).default([])
2040
2225
  });
2041
- var PageBlockItemComponentPropertyValue = z41.object({
2042
- value: z41.string()
2043
- });
2044
- var PageBlockItemDividerValue = z41.object({});
2045
- var PageBlockItemEmbedValue = z41.object({
2046
- value: z41.string().optional(),
2047
- caption: z41.string().optional(),
2048
- height: z41.number().optional(),
2049
- openGraph: z41.object({
2050
- title: z41.string().optional(),
2051
- description: z41.string().optional(),
2052
- imageUrl: z41.string().optional()
2226
+ var PageBlockItemComponentPropertyValue = z44.object({
2227
+ value: z44.string()
2228
+ });
2229
+ var PageBlockItemDividerValue = z44.object({});
2230
+ var PageBlockItemEmbedValue = z44.object({
2231
+ value: z44.string().optional(),
2232
+ caption: z44.string().optional(),
2233
+ height: z44.number().optional(),
2234
+ openGraph: z44.object({
2235
+ title: z44.string().optional(),
2236
+ description: z44.string().optional(),
2237
+ imageUrl: z44.string().optional()
2053
2238
  }).optional()
2054
2239
  });
2055
- var PageBlockItemFigmaNodeValue = z41.object({
2056
- showSearch: z41.boolean().optional(),
2240
+ var PageBlockItemFigmaNodeValue = z44.object({
2241
+ showSearch: z44.boolean().optional(),
2057
2242
  previewContainerSize: PageBlockPreviewContainerSize.optional(),
2058
2243
  backgroundColor: PageBlockColorV2.optional(),
2059
- showFrameDetails: z41.boolean().optional(),
2060
- value: z41.array(
2061
- z41.object({
2062
- entityId: z41.string(),
2244
+ showFrameDetails: z44.boolean().optional(),
2245
+ value: z44.array(
2246
+ z44.object({
2247
+ entityId: z44.string(),
2063
2248
  entityMeta: PageBlockFigmaNodeEntityMeta.optional()
2064
2249
  })
2065
2250
  ).default([])
2066
2251
  });
2067
- var PageBlockItemImageValue = z41.object({
2068
- alt: z41.string().optional(),
2069
- caption: z41.string().optional(),
2252
+ var PageBlockItemImageValue = z44.object({
2253
+ alt: z44.string().optional(),
2254
+ caption: z44.string().optional(),
2070
2255
  alignment: PageBlockImageAlignment.optional(),
2071
2256
  value: PageBlockImageReference.optional()
2072
2257
  });
2073
- var PageBlockItemMarkdownValue = z41.object({
2074
- value: z41.string()
2258
+ var PageBlockItemMarkdownValue = z44.object({
2259
+ value: z44.string()
2075
2260
  });
2076
- var PageBlockItemMultiRichTextValue = z41.object({
2261
+ var PageBlockItemMultiRichTextValue = z44.object({
2077
2262
  value: PageBlockText.array()
2078
2263
  });
2079
- var PageBlockItemMultiSelectValue = z41.object({
2080
- value: z41.array(z41.string()).default([])
2264
+ var PageBlockItemMultiSelectValue = z44.object({
2265
+ value: z44.array(z44.string()).default([])
2081
2266
  });
2082
- var PageBlockItemNumberValue = z41.object({
2083
- value: z41.number()
2267
+ var PageBlockItemNumberValue = z44.object({
2268
+ value: z44.number()
2084
2269
  });
2085
- var PageBlockItemRichTextValue = z41.object({
2270
+ var PageBlockItemRichTextValue = z44.object({
2086
2271
  value: PageBlockText,
2087
2272
  calloutType: PageBlockCalloutType.optional()
2088
2273
  });
2089
- var PageBlockItemRichTextEditorValue = z41.object({
2090
- value: z41.any()
2091
- });
2092
- var PageBlockItemSingleSelectValue = z41.object({
2093
- value: z41.string()
2274
+ var PageBlockItemSingleSelectValue = z44.object({
2275
+ value: z44.string()
2094
2276
  });
2095
- var PageBlockItemStorybookValue = z41.object({
2096
- caption: z41.string().optional(),
2097
- height: z41.number().optional(),
2098
- embedUrl: z41.string().optional(),
2099
- value: z41.string().optional()
2277
+ var PageBlockItemStorybookValue = z44.object({
2278
+ caption: z44.string().optional(),
2279
+ height: z44.number().optional(),
2280
+ embedUrl: z44.string().optional(),
2281
+ value: z44.string().optional()
2100
2282
  });
2101
- var PageBlockItemTextValue = z41.object({
2102
- value: z41.string()
2283
+ var PageBlockItemTextValue = z44.object({
2284
+ value: z44.string()
2103
2285
  });
2104
- var PageBlockItemTokenValue = z41.object({
2105
- selectedPropertyIds: z41.array(z41.string()).optional(),
2106
- selectedThemeIds: z41.array(z41.string()).optional(),
2286
+ var PageBlockItemTokenValue = z44.object({
2287
+ selectedPropertyIds: z44.array(z44.string()).optional(),
2288
+ selectedThemeIds: z44.array(z44.string()).optional(),
2107
2289
  themeDisplayMode: PageBlockThemeDisplayMode.optional(),
2108
- value: z41.array(
2109
- z41.object({
2110
- entityId: z41.string(),
2111
- entityType: z41.enum(["Token", "TokenGroup"]),
2112
- entityMeta: z41.object({
2113
- showNestedGroups: z41.boolean().optional()
2290
+ value: z44.array(
2291
+ z44.object({
2292
+ entityId: z44.string(),
2293
+ entityType: z44.enum(["Token", "TokenGroup"]),
2294
+ entityMeta: z44.object({
2295
+ showNestedGroups: z44.boolean().optional()
2114
2296
  }).optional()
2115
2297
  })
2116
2298
  ).default([])
2117
2299
  });
2118
- var PageBlockItemTokenPropertyValue = z41.object({
2119
- selectedPropertyIds: z41.array(z41.string()).optional(),
2120
- selectedThemeIds: z41.array(z41.string()).optional(),
2121
- value: z41.array(z41.string()).default([])
2300
+ var PageBlockItemTokenPropertyValue = z44.object({
2301
+ selectedPropertyIds: z44.array(z44.string()).optional(),
2302
+ selectedThemeIds: z44.array(z44.string()).optional(),
2303
+ value: z44.array(z44.string()).default([])
2122
2304
  });
2123
- var PageBlockItemTokenTypeValue = z41.object({
2124
- value: z41.array(DesignTokenType).default([])
2305
+ var PageBlockItemTokenTypeValue = z44.object({
2306
+ value: z44.array(DesignTokenType).default([])
2125
2307
  });
2126
- var PageBlockItemUrlValue = z41.object({
2127
- value: z41.string()
2308
+ var PageBlockItemUrlValue = z44.object({
2309
+ value: z44.string()
2128
2310
  });
2129
- var PageBlockItemTableRichTextNode = z41.object({
2130
- type: z41.literal("RichText"),
2131
- id: z41.string(),
2311
+ var PageBlockItemRichTextEditorParagraphNode = z44.object({
2312
+ type: z44.literal("Paragraph"),
2132
2313
  value: PageBlockItemRichTextValue.shape.value
2133
2314
  });
2134
- var PageBlockItemTableMultiRichTextNode = z41.object({
2135
- type: z41.literal("MultiRichText"),
2315
+ var PageBlockItemRichTextEditorListNode = z44.object({
2316
+ type: z44.literal("List"),
2317
+ listType: PageBlockDefinitionMultiRichTextPropertyStyle,
2136
2318
  value: PageBlockItemMultiRichTextValue.shape.value
2137
2319
  });
2138
- var PageBlockItemTableImageNode = z41.object({
2139
- type: z41.literal("Image"),
2140
- id: z41.string(),
2320
+ var PageBlockItemRichTextEditorNode = z44.discriminatedUnion("type", [
2321
+ PageBlockItemRichTextEditorParagraphNode,
2322
+ PageBlockItemRichTextEditorListNode
2323
+ ]);
2324
+ var PageBlockItemRichTextEditorValue = z44.object({
2325
+ value: PageBlockItemRichTextEditorNode.array()
2326
+ });
2327
+ var PageBlockItemTableRichTextNode = z44.object({
2328
+ type: z44.literal("RichText"),
2329
+ id: z44.string(),
2330
+ value: PageBlockItemRichTextValue.shape.value
2331
+ });
2332
+ var PageBlockItemTableImageNode = z44.object({
2333
+ type: z44.literal("Image"),
2334
+ id: z44.string(),
2141
2335
  caption: PageBlockItemImageValue.shape.caption,
2142
2336
  value: PageBlockItemImageValue.shape.value
2143
2337
  });
2144
- var PageBlockItemTableNode = z41.discriminatedUnion("type", [
2338
+ var PageBlockItemTableNode = z44.discriminatedUnion("type", [
2145
2339
  PageBlockItemTableRichTextNode,
2146
- // PageBlockItemTableMultiRichTextNode,
2147
2340
  PageBlockItemTableImageNode
2148
2341
  ]);
2149
- var PageBlockItemTableCell = z41.object({
2150
- id: z41.string(),
2151
- nodes: z41.array(PageBlockItemTableNode),
2152
- columnWidth: z41.number().optional(),
2342
+ var PageBlockItemTableCell = z44.object({
2343
+ id: z44.string(),
2344
+ nodes: z44.array(PageBlockItemTableNode),
2345
+ columnWidth: z44.number().optional(),
2153
2346
  alignment: PageBlockTableCellAlignment
2154
2347
  });
2155
- var PageBlockItemTableRow = z41.object({
2156
- cells: z41.array(PageBlockItemTableCell)
2348
+ var PageBlockItemTableRow = z44.object({
2349
+ cells: z44.array(PageBlockItemTableCell)
2157
2350
  });
2158
- var PageBlockItemTableValue = z41.object({
2159
- highlightHeaderColumn: z41.boolean().optional(),
2160
- highlightHeaderRow: z41.boolean().optional(),
2161
- showBorder: z41.boolean().optional(),
2162
- value: z41.array(PageBlockItemTableRow).default([])
2351
+ var PageBlockItemTableValue = z44.object({
2352
+ highlightHeaderColumn: z44.boolean().optional(),
2353
+ highlightHeaderRow: z44.boolean().optional(),
2354
+ showBorder: z44.boolean().optional(),
2355
+ value: z44.array(PageBlockItemTableRow).default([])
2163
2356
  });
2164
- var DocumentationItemHeaderAlignmentSchema = z42.enum(["Left", "Center"]);
2165
- var DocumentationItemHeaderImageScaleTypeSchema = z42.enum(["AspectFill", "AspectFit"]);
2357
+ var DocumentationItemHeaderAlignmentSchema = z45.enum(["Left", "Center"]);
2358
+ var DocumentationItemHeaderImageScaleTypeSchema = z45.enum(["AspectFill", "AspectFit"]);
2166
2359
  var DocumentationItemHeaderAlignment = DocumentationItemHeaderAlignmentSchema.enum;
2167
2360
  var DocumentationItemHeaderImageScaleType = DocumentationItemHeaderImageScaleTypeSchema.enum;
2168
- var DocumentationItemHeaderV1 = z43.object({
2169
- description: z43.string(),
2361
+ var DocumentationItemHeaderV1 = z46.object({
2362
+ description: z46.string(),
2170
2363
  alignment: DocumentationItemHeaderAlignmentSchema,
2171
2364
  foregroundColor: ColorTokenData.nullish(),
2172
2365
  backgroundColor: ColorTokenData.nullish(),
2173
2366
  backgroundImageAsset: PageBlockAsset.nullish(),
2174
2367
  backgroundImageScaleType: DocumentationItemHeaderImageScaleTypeSchema,
2175
- showBackgroundOverlay: z43.boolean(),
2176
- showCoverText: z43.boolean(),
2177
- minHeight: z43.number().nullish()
2368
+ showBackgroundOverlay: z46.boolean(),
2369
+ showCoverText: z46.boolean(),
2370
+ minHeight: z46.number().nullish()
2178
2371
  });
2179
2372
  var defaultDocumentationItemHeaderV1 = {
2180
2373
  alignment: DocumentationItemHeaderAlignment.Left,
@@ -2183,26 +2376,26 @@ var defaultDocumentationItemHeaderV1 = {
2183
2376
  showBackgroundOverlay: false,
2184
2377
  showCoverText: true
2185
2378
  };
2186
- var DocumentationItemConfigurationV1 = z44.object({
2187
- showSidebar: z44.boolean(),
2188
- isPrivate: z44.boolean().optional(),
2189
- isHidden: z44.boolean().optional(),
2379
+ var DocumentationItemConfigurationV1 = z47.object({
2380
+ showSidebar: z47.boolean(),
2381
+ isPrivate: z47.boolean().optional(),
2382
+ isHidden: z47.boolean().optional(),
2190
2383
  header: DocumentationItemHeaderV1
2191
2384
  });
2192
- var DocumentationPageDataV1 = z45.object({
2193
- blocks: z45.array(PageBlockV1),
2385
+ var DocumentationPageDataV1 = z48.object({
2386
+ blocks: z48.array(PageBlockV1),
2194
2387
  configuration: nullishToOptional(DocumentationItemConfigurationV1)
2195
2388
  });
2196
- var DocumentationItemHeaderV2 = z46.object({
2197
- description: z46.string(),
2389
+ var DocumentationItemHeaderV2 = z49.object({
2390
+ description: z49.string(),
2198
2391
  alignment: DocumentationItemHeaderAlignmentSchema,
2199
2392
  foregroundColor: PageBlockColorV2.nullish(),
2200
2393
  backgroundColor: PageBlockColorV2.nullish(),
2201
2394
  backgroundImageAsset: PageBlockImageReference.nullish(),
2202
2395
  backgroundImageScaleType: DocumentationItemHeaderImageScaleTypeSchema,
2203
- showBackgroundOverlay: z46.boolean(),
2204
- showCoverText: z46.boolean(),
2205
- minHeight: z46.number().nullish()
2396
+ showBackgroundOverlay: z49.boolean(),
2397
+ showCoverText: z49.boolean(),
2398
+ minHeight: z49.number().nullish()
2206
2399
  });
2207
2400
  var defaultDocumentationItemHeaderV2 = {
2208
2401
  alignment: DocumentationItemHeaderAlignment.Left,
@@ -2211,10 +2404,10 @@ var defaultDocumentationItemHeaderV2 = {
2211
2404
  showBackgroundOverlay: false,
2212
2405
  showCoverText: true
2213
2406
  };
2214
- var DocumentationItemConfigurationV2 = z47.object({
2215
- showSidebar: z47.boolean(),
2216
- isPrivate: z47.boolean().optional(),
2217
- isHidden: z47.boolean().optional(),
2407
+ var DocumentationItemConfigurationV2 = z50.object({
2408
+ showSidebar: z50.boolean(),
2409
+ isPrivate: z50.boolean().optional(),
2410
+ isHidden: z50.boolean().optional(),
2218
2411
  header: DocumentationItemHeaderV2
2219
2412
  });
2220
2413
  var defaultDocumentationItemConfigurationV2 = {
@@ -2223,188 +2416,188 @@ var defaultDocumentationItemConfigurationV2 = {
2223
2416
  isPrivate: false,
2224
2417
  showSidebar: true
2225
2418
  };
2226
- var DocumentationPageDataV2 = z48.object({
2419
+ var DocumentationPageDataV2 = z51.object({
2227
2420
  configuration: nullishToOptional(DocumentationItemConfigurationV2)
2228
2421
  });
2229
- var DesignElementOrigin = z49.object({
2230
- id: z49.string(),
2231
- sourceId: z49.string(),
2232
- name: z49.string()
2422
+ var DesignElementOrigin = z52.object({
2423
+ id: z52.string(),
2424
+ sourceId: z52.string(),
2425
+ name: z52.string()
2233
2426
  });
2234
- var DesignElementBase = z49.object({
2235
- id: z49.string(),
2236
- persistentId: z49.string(),
2427
+ var DesignElementBase = z52.object({
2428
+ id: z52.string(),
2429
+ persistentId: z52.string(),
2237
2430
  meta: ObjectMeta,
2238
- designSystemVersionId: z49.string(),
2239
- createdAt: z49.coerce.date(),
2240
- updatedAt: z49.coerce.date()
2431
+ designSystemVersionId: z52.string(),
2432
+ createdAt: z52.coerce.date(),
2433
+ updatedAt: z52.coerce.date()
2241
2434
  });
2242
2435
  var DesignElementImportedBase = DesignElementBase.extend({
2243
2436
  origin: DesignElementOrigin
2244
2437
  });
2245
- var DesignElementGroupablePart = z49.object({
2246
- parentPersistentId: z49.string().optional(),
2247
- sortOrder: z49.number()
2438
+ var DesignElementGroupablePart = z52.object({
2439
+ parentPersistentId: z52.string().optional(),
2440
+ sortOrder: z52.number()
2248
2441
  });
2249
2442
  var DesignElementGroupableBase = DesignElementBase.extend(DesignElementGroupablePart.shape);
2250
2443
  var DesignElementGroupableRequiredPart = DesignElementGroupablePart.extend({
2251
- parentPersistentId: z49.string()
2444
+ parentPersistentId: z52.string()
2252
2445
  });
2253
- var DesignElementBrandedPart = z49.object({
2254
- brandPersistentId: z49.string()
2446
+ var DesignElementBrandedPart = z52.object({
2447
+ brandPersistentId: z52.string()
2255
2448
  });
2256
- var DesignElementSlugPart = z49.object({
2257
- slug: z49.string().optional(),
2258
- userSlug: z49.string().optional()
2449
+ var DesignElementSlugPart = z52.object({
2450
+ slug: z52.string().optional(),
2451
+ userSlug: z52.string().optional()
2259
2452
  });
2260
2453
  var PageBlockV2 = DesignElementBase.extend(DesignElementGroupableRequiredPart.shape).extend({
2261
2454
  data: PageBlockDataV2
2262
2455
  });
2263
- var PageBlockEditorModelV2 = z50.object({
2264
- id: z50.string(),
2265
- type: z50.literal("Block"),
2456
+ var PageBlockEditorModelV2 = z53.object({
2457
+ id: z53.string(),
2458
+ type: z53.literal("Block"),
2266
2459
  data: PageBlockDataV2
2267
2460
  });
2268
- var PageSectionTypeV2 = z51.enum(["Tabs"]);
2269
- var PageSectionColumnV2 = z51.object({
2270
- id: z51.string(),
2271
- blocks: z51.array(PageBlockEditorModelV2)
2272
- });
2273
- var PageSectionItemV2 = z51.object({
2274
- id: z51.string(),
2275
- title: z51.string(),
2276
- columns: z51.array(PageSectionColumnV2)
2277
- });
2278
- var PageSectionPaddingV2 = z51.object({
2279
- top: z51.number().optional(),
2280
- bottom: z51.number().optional(),
2281
- left: z51.number().optional(),
2282
- right: z51.number().optional()
2283
- });
2284
- var PageSectionAppearanceV2 = z51.object({
2285
- expandToEdges: z51.boolean(),
2286
- contentExpandToEdges: z51.boolean(),
2461
+ var PageSectionTypeV2 = z54.enum(["Tabs"]);
2462
+ var PageSectionColumnV2 = z54.object({
2463
+ id: z54.string(),
2464
+ blocks: z54.array(PageBlockEditorModelV2)
2465
+ });
2466
+ var PageSectionItemV2 = z54.object({
2467
+ id: z54.string(),
2468
+ title: z54.string(),
2469
+ columns: z54.array(PageSectionColumnV2)
2470
+ });
2471
+ var PageSectionPaddingV2 = z54.object({
2472
+ top: z54.number().optional(),
2473
+ bottom: z54.number().optional(),
2474
+ left: z54.number().optional(),
2475
+ right: z54.number().optional()
2476
+ });
2477
+ var PageSectionAppearanceV2 = z54.object({
2478
+ expandToEdges: z54.boolean(),
2479
+ contentExpandToEdges: z54.boolean(),
2287
2480
  backgroundColor: PageBlockColorV2.optional(),
2288
2481
  foregroundColor: PageBlockColorV2.optional(),
2289
2482
  padding: PageSectionPaddingV2.optional()
2290
2483
  });
2291
- var PageSectionEditorModelV2 = z51.object({
2292
- id: z51.string(),
2293
- type: z51.literal("Section"),
2294
- variantId: z51.string().optional(),
2484
+ var PageSectionEditorModelV2 = z54.object({
2485
+ id: z54.string(),
2486
+ type: z54.literal("Section"),
2487
+ variantId: z54.string().optional(),
2295
2488
  sectionType: PageSectionTypeV2,
2296
2489
  appearance: PageSectionAppearanceV2,
2297
- items: z51.array(PageSectionItemV2)
2490
+ items: z54.array(PageSectionItemV2)
2298
2491
  });
2299
- var DurationUnit = z52.enum(["Ms"]);
2300
- var DurationValue = z52.object({
2492
+ var DurationUnit = z55.enum(["Ms"]);
2493
+ var DurationValue = z55.object({
2301
2494
  unit: DurationUnit,
2302
- measure: z52.number()
2495
+ measure: z55.number()
2303
2496
  });
2304
2497
  var DurationTokenData = tokenAliasOrValue(DurationValue);
2305
- var FigmaFileStructureNodeType = z53.enum(["DOCUMENT", "CANVAS", "FRAME", "COMPONENT", "COMPONENT_SET"]);
2306
- var FigmaFileStructureNodeBase = z53.object({
2307
- id: z53.string(),
2308
- name: z53.string(),
2498
+ var FigmaFileStructureNodeType = z56.enum(["DOCUMENT", "CANVAS", "FRAME", "COMPONENT", "COMPONENT_SET"]);
2499
+ var FigmaFileStructureNodeBase = z56.object({
2500
+ id: z56.string(),
2501
+ name: z56.string(),
2309
2502
  type: FigmaFileStructureNodeType,
2310
2503
  size: SizeOrUndefined,
2311
- parentComponentSetId: z53.string().optional()
2504
+ parentComponentSetId: z56.string().optional()
2312
2505
  });
2313
2506
  var FigmaFileStructureNode = FigmaFileStructureNodeBase.extend({
2314
- children: z53.lazy(() => FigmaFileStructureNode.array())
2507
+ children: z56.lazy(() => FigmaFileStructureNode.array())
2315
2508
  });
2316
- var FigmaFileStructureStatistics = z53.object({
2317
- frames: z53.number().nullable().optional().transform((v) => v ?? 0),
2318
- components: z53.number().nullable().optional().transform((v) => v ?? 0),
2319
- componentSets: z53.number().nullable().optional().transform((v) => v ?? 0)
2509
+ var FigmaFileStructureStatistics = z56.object({
2510
+ frames: z56.number().nullable().optional().transform((v) => v ?? 0),
2511
+ components: z56.number().nullable().optional().transform((v) => v ?? 0),
2512
+ componentSets: z56.number().nullable().optional().transform((v) => v ?? 0)
2320
2513
  });
2321
- var FigmaFileStructureElementData = z53.object({
2322
- value: z53.object({
2514
+ var FigmaFileStructureElementData = z56.object({
2515
+ value: z56.object({
2323
2516
  structure: FigmaFileStructureNode,
2324
2517
  assetsInFile: FigmaFileStructureStatistics
2325
2518
  })
2326
2519
  });
2327
- var FigmaNodeRenderFormat = z54.enum(["Png", "Svg"]);
2328
- var FigmaNodeReferenceData = z54.object({
2329
- structureElementId: z54.string(),
2330
- nodeId: z54.string(),
2331
- fileId: z54.string().optional(),
2332
- valid: z54.boolean(),
2520
+ var FigmaNodeRenderFormat = z57.enum(["Png", "Svg"]);
2521
+ var FigmaNodeReferenceData = z57.object({
2522
+ structureElementId: z57.string(),
2523
+ nodeId: z57.string(),
2524
+ fileId: z57.string().optional(),
2525
+ valid: z57.boolean(),
2333
2526
  format: FigmaNodeRenderFormat.default("Png"),
2334
2527
  // Asset data
2335
- assetId: z54.string().optional(),
2336
- assetScale: z54.number().optional(),
2337
- assetWidth: z54.number().optional(),
2338
- assetHeight: z54.number().optional(),
2339
- assetUrl: z54.string().optional(),
2340
- assetOriginKey: z54.string().optional()
2341
- });
2342
- var FigmaNodeReferenceElementData = z54.object({
2528
+ assetId: z57.string().optional(),
2529
+ assetScale: z57.number().optional(),
2530
+ assetWidth: z57.number().optional(),
2531
+ assetHeight: z57.number().optional(),
2532
+ assetUrl: z57.string().optional(),
2533
+ assetOriginKey: z57.string().optional()
2534
+ });
2535
+ var FigmaNodeReferenceElementData = z57.object({
2343
2536
  value: FigmaNodeReferenceData
2344
2537
  });
2345
- var FontFamilyValue = z55.string();
2538
+ var FontFamilyValue = z58.string();
2346
2539
  var FontFamilyTokenData = tokenAliasOrValue(FontFamilyValue);
2347
- var FontSizeUnit = z56.enum(["Pixels", "Rem", "Percent"]);
2348
- var FontSizeValue = z56.object({
2540
+ var FontSizeUnit = z59.enum(["Pixels", "Rem", "Percent"]);
2541
+ var FontSizeValue = z59.object({
2349
2542
  unit: FontSizeUnit,
2350
- measure: z56.number()
2543
+ measure: z59.number()
2351
2544
  });
2352
2545
  var FontSizeTokenData = tokenAliasOrValue(FontSizeValue);
2353
- var FontWeightValue = z57.string();
2546
+ var FontWeightValue = z60.string();
2354
2547
  var FontWeightTokenData = tokenAliasOrValue(FontWeightValue);
2355
- var GradientType = z58.enum(["Linear", "Radial", "Angular"]);
2356
- var GradientStop = z58.object({
2357
- position: z58.number(),
2548
+ var GradientType = z61.enum(["Linear", "Radial", "Angular"]);
2549
+ var GradientStop = z61.object({
2550
+ position: z61.number(),
2358
2551
  color: ColorTokenData
2359
2552
  });
2360
- var GradientLayerValue = z58.object({
2553
+ var GradientLayerValue = z61.object({
2361
2554
  from: Point2D,
2362
2555
  to: Point2D,
2363
2556
  type: GradientType,
2364
- aspectRatio: nullishToOptional(z58.number()),
2557
+ aspectRatio: nullishToOptional(z61.number()),
2365
2558
  // z.number(),
2366
- stops: z58.array(GradientStop).min(2)
2559
+ stops: z61.array(GradientStop).min(2)
2367
2560
  });
2368
2561
  var GradientLayerData = tokenAliasOrValue(GradientLayerValue);
2369
- var GradientTokenValue = z58.array(GradientLayerData);
2562
+ var GradientTokenValue = z61.array(GradientLayerData);
2370
2563
  var GradientTokenData = tokenAliasOrValue(GradientTokenValue);
2371
- var DocumentationGroupBehavior = z59.enum(["Group", "Tabs"]);
2372
- var ElementGroupDataV1 = z59.object({
2564
+ var DocumentationGroupBehavior = z62.enum(["Group", "Tabs"]);
2565
+ var ElementGroupDataV1 = z62.object({
2373
2566
  behavior: nullishToOptional(DocumentationGroupBehavior.optional()),
2374
2567
  configuration: nullishToOptional(DocumentationItemConfigurationV1)
2375
2568
  });
2376
- var ElementGroupDataV2 = z59.object({
2569
+ var ElementGroupDataV2 = z62.object({
2377
2570
  behavior: nullishToOptional(DocumentationGroupBehavior.optional()),
2378
2571
  configuration: nullishToOptional(DocumentationItemConfigurationV2)
2379
2572
  });
2380
- var LetterSpacingUnit = z60.enum(["Pixels", "Rem", "Percent"]);
2381
- var LetterSpacingValue = z60.object({
2573
+ var LetterSpacingUnit = z63.enum(["Pixels", "Rem", "Percent"]);
2574
+ var LetterSpacingValue = z63.object({
2382
2575
  unit: LetterSpacingUnit,
2383
- measure: z60.number()
2576
+ measure: z63.number()
2384
2577
  });
2385
2578
  var LetterSpacingTokenData = tokenAliasOrValue(LetterSpacingValue);
2386
- var LineHeightUnit = z61.enum(["Pixels", "Rem", "Percent", "Raw"]);
2387
- var LineHeightValue = z61.object({
2579
+ var LineHeightUnit = z64.enum(["Pixels", "Rem", "Percent", "Raw"]);
2580
+ var LineHeightValue = z64.object({
2388
2581
  unit: LineHeightUnit,
2389
- measure: z61.number()
2582
+ measure: z64.number()
2390
2583
  });
2391
2584
  var LineHeightTokenData = tokenAliasOrValue(LineHeightValue);
2392
- var ParagraphIndentUnit = z62.enum(["Pixels", "Rem", "Percent"]);
2393
- var ParagraphIndentValue = z62.object({
2585
+ var ParagraphIndentUnit = z65.enum(["Pixels", "Rem", "Percent"]);
2586
+ var ParagraphIndentValue = z65.object({
2394
2587
  unit: ParagraphIndentUnit,
2395
- measure: z62.number()
2588
+ measure: z65.number()
2396
2589
  });
2397
2590
  var ParagraphIndentTokenData = tokenAliasOrValue(ParagraphIndentValue);
2398
- var ParagraphSpacingUnit = z63.enum(["Pixels", "Rem", "Percent"]);
2399
- var ParagraphSpacingValue = z63.object({
2591
+ var ParagraphSpacingUnit = z66.enum(["Pixels", "Rem", "Percent"]);
2592
+ var ParagraphSpacingValue = z66.object({
2400
2593
  unit: ParagraphSpacingUnit,
2401
- measure: z63.number()
2594
+ measure: z66.number()
2402
2595
  });
2403
2596
  var ParagraphSpacingTokenData = tokenAliasOrValue(ParagraphSpacingValue);
2404
- var ProductCopyValue = z64.string();
2597
+ var ProductCopyValue = z67.string();
2405
2598
  var ProductCopyTokenData = tokenAliasOrValue(ProductCopyValue);
2406
2599
  var RESERVED_OBJECT_ID_PREFIX = "x-sn-reserved-";
2407
- var SafeIdSchema = z65.string().refine(
2600
+ var SafeIdSchema = z68.string().refine(
2408
2601
  (value) => {
2409
2602
  return !value.startsWith(RESERVED_OBJECT_ID_PREFIX);
2410
2603
  },
@@ -2412,39 +2605,39 @@ var SafeIdSchema = z65.string().refine(
2412
2605
  message: `ID value can't start with ${RESERVED_OBJECT_ID_PREFIX}`
2413
2606
  }
2414
2607
  );
2415
- var ShadowType = z66.enum(["Drop", "Inner"]);
2416
- var ShadowLayerValue = z66.object({
2608
+ var ShadowType = z69.enum(["Drop", "Inner"]);
2609
+ var ShadowLayerValue = z69.object({
2417
2610
  color: ColorTokenData,
2418
- x: z66.number(),
2419
- y: z66.number(),
2420
- radius: z66.number(),
2421
- spread: z66.number(),
2611
+ x: z69.number(),
2612
+ y: z69.number(),
2613
+ radius: z69.number(),
2614
+ spread: z69.number(),
2422
2615
  opacity: OpacityTokenData.optional(),
2423
2616
  type: ShadowType
2424
2617
  });
2425
2618
  var ShadowTokenDataBase = tokenAliasOrValue(ShadowLayerValue);
2426
- var ShadowTokenData = tokenAliasOrValue(z66.array(ShadowTokenDataBase));
2427
- var SizeUnit = z67.enum(["Pixels", "Rem", "Percent"]);
2428
- var SizeValue = z67.object({
2619
+ var ShadowTokenData = tokenAliasOrValue(z69.array(ShadowTokenDataBase));
2620
+ var SizeUnit = z70.enum(["Pixels", "Rem", "Percent"]);
2621
+ var SizeValue = z70.object({
2429
2622
  unit: SizeUnit,
2430
- measure: z67.number()
2623
+ measure: z70.number()
2431
2624
  });
2432
2625
  var SizeTokenData = tokenAliasOrValue(SizeValue);
2433
- var SpaceUnit = z68.enum(["Pixels", "Rem", "Percent"]);
2434
- var SpaceValue = z68.object({
2626
+ var SpaceUnit = z71.enum(["Pixels", "Rem", "Percent"]);
2627
+ var SpaceValue = z71.object({
2435
2628
  unit: SpaceUnit,
2436
- measure: z68.number()
2629
+ measure: z71.number()
2437
2630
  });
2438
2631
  var SpaceTokenData = tokenAliasOrValue(SpaceValue);
2439
- var StringValue = z69.string();
2632
+ var StringValue = z72.string();
2440
2633
  var StringTokenData = tokenAliasOrValue(StringValue);
2441
- var TextCase = z70.enum(["Original", "Upper", "Lower", "Camel", "SmallCaps"]);
2634
+ var TextCase = z73.enum(["Original", "Upper", "Lower", "Camel", "SmallCaps"]);
2442
2635
  var TextCaseValue = TextCase;
2443
2636
  var TextCaseTokenData = tokenAliasOrValue(TextCaseValue);
2444
- var TextDecoration = z71.enum(["None", "Underline", "Strikethrough"]);
2637
+ var TextDecoration = z74.enum(["None", "Underline", "Strikethrough"]);
2445
2638
  var TextDecorationValue = TextDecoration;
2446
2639
  var TextDecorationTokenData = tokenAliasOrValue(TextDecorationValue);
2447
- var TypographyValue = z72.object({
2640
+ var TypographyValue = z75.object({
2448
2641
  fontSize: FontSizeTokenData,
2449
2642
  fontFamily: FontFamilyTokenData,
2450
2643
  fontWeight: FontWeightTokenData,
@@ -2456,23 +2649,23 @@ var TypographyValue = z72.object({
2456
2649
  paragraphSpacing: ParagraphSpacingTokenData.optional()
2457
2650
  });
2458
2651
  var TypographyTokenData = tokenAliasOrValue(TypographyValue);
2459
- var Visibility = z73.enum(["Hidden", "Visible"]);
2652
+ var Visibility = z76.enum(["Hidden", "Visible"]);
2460
2653
  var VisibilityValue = Visibility;
2461
2654
  var VisibilityTokenData = tokenAliasOrValue(VisibilityValue);
2462
- var ZIndexUnit = z74.enum(["Raw"]);
2463
- var ZIndexValue = z74.object({
2655
+ var ZIndexUnit = z77.enum(["Raw"]);
2656
+ var ZIndexValue = z77.object({
2464
2657
  unit: ZIndexUnit,
2465
- measure: z74.number()
2658
+ measure: z77.number()
2466
2659
  });
2467
2660
  var ZIndexTokenData = tokenAliasOrValue(ZIndexValue);
2468
2661
  var ElementGroup = DesignElementBase.extend(DesignElementGroupablePart.shape).extend(DesignElementSlugPart.shape).extend(DesignElementBrandedPart.partial().shape).extend({
2469
- shortPersistentId: z75.string().optional(),
2662
+ shortPersistentId: z78.string().optional(),
2470
2663
  childType: DesignElementType,
2471
2664
  data: ElementGroupDataV2.optional()
2472
2665
  });
2473
2666
  var BrandedElementGroup = ElementGroup.extend(DesignElementBrandedPart.shape);
2474
2667
  var DocumentationPageV1 = DesignElementBase.extend(DesignElementGroupableRequiredPart.shape).extend(DesignElementSlugPart.shape).extend({
2475
- shortPersistentId: z76.string(),
2668
+ shortPersistentId: z79.string(),
2476
2669
  data: DocumentationPageDataV1
2477
2670
  });
2478
2671
  var DocumentationGroupV1 = ElementGroup.omit({
@@ -2481,19 +2674,19 @@ var DocumentationGroupV1 = ElementGroup.omit({
2481
2674
  data: ElementGroupDataV1.optional()
2482
2675
  });
2483
2676
  var DocumentationPageV2 = DesignElementBase.extend(DesignElementGroupableRequiredPart.shape).extend(DesignElementSlugPart.shape).extend({
2484
- shortPersistentId: z77.string(),
2677
+ shortPersistentId: z80.string(),
2485
2678
  data: DocumentationPageDataV2.extend({
2486
- oldBlocks: z77.array(PageBlockV1).optional()
2679
+ oldBlocks: z80.array(PageBlockV1).optional()
2487
2680
  })
2488
2681
  });
2489
- var FigmaComponentOriginPart = z78.object({
2490
- nodeId: z78.string().optional(),
2491
- width: z78.number().optional(),
2492
- height: z78.number().optional()
2682
+ var FigmaComponentOriginPart = z81.object({
2683
+ nodeId: z81.string().optional(),
2684
+ width: z81.number().optional(),
2685
+ height: z81.number().optional()
2493
2686
  });
2494
- var FigmaComponentAsset = z78.object({
2495
- assetId: z78.string(),
2496
- assetPath: z78.string()
2687
+ var FigmaComponentAsset = z81.object({
2688
+ assetId: z81.string(),
2689
+ assetPath: z81.string()
2497
2690
  });
2498
2691
  var FigmaComponentOrigin = DesignElementOrigin.extend(FigmaComponentOriginPart.shape);
2499
2692
  var FigmaComponent = DesignElementBase.extend(DesignElementGroupableRequiredPart.shape).extend(DesignElementBrandedPart.shape).extend({
@@ -2501,14 +2694,14 @@ var FigmaComponent = DesignElementBase.extend(DesignElementGroupableRequiredPart
2501
2694
  thumbnail: FigmaComponentAsset,
2502
2695
  componentPropertyDefinitions: FigmaComponentPropertyMap.optional(),
2503
2696
  svg: FigmaComponentAsset.optional(),
2504
- isAsset: z78.boolean(),
2505
- parentComponentPersistentId: nullishToOptional(z78.string())
2697
+ isAsset: z81.boolean(),
2698
+ parentComponentPersistentId: nullishToOptional(z81.string())
2506
2699
  });
2507
- var FigmaFileStructureOrigin = z79.object({
2508
- sourceId: z79.string(),
2509
- fileId: z79.string().optional()
2700
+ var FigmaFileStructureOrigin = z82.object({
2701
+ sourceId: z82.string(),
2702
+ fileId: z82.string().optional()
2510
2703
  });
2511
- var FigmaFileStructureData = z79.object({
2704
+ var FigmaFileStructureData = z82.object({
2512
2705
  rootNode: FigmaFileStructureNode,
2513
2706
  assetsInFile: FigmaFileStructureStatistics
2514
2707
  });
@@ -2516,22 +2709,22 @@ var FigmaFileStructure = DesignElementBase.extend({
2516
2709
  origin: FigmaFileStructureOrigin,
2517
2710
  data: FigmaFileStructureData
2518
2711
  });
2519
- var FigmaNodeReferenceOrigin = z80.object({
2520
- sourceId: z80.string(),
2521
- parentName: z80.string().optional()
2712
+ var FigmaNodeReferenceOrigin = z83.object({
2713
+ sourceId: z83.string(),
2714
+ parentName: z83.string().optional()
2522
2715
  });
2523
2716
  var FigmaNodeReference = DesignElementBase.extend({
2524
2717
  data: FigmaNodeReferenceData,
2525
2718
  origin: FigmaNodeReferenceOrigin
2526
2719
  });
2527
- var DesignTokenOriginPart = z81.object({
2528
- referenceOriginId: z81.string().optional(),
2529
- referenceOriginKey: z81.string().optional(),
2530
- referenceOriginName: z81.string().optional(),
2531
- referenceOriginRemote: z81.boolean().optional(),
2532
- referencePersistentId: z81.string().optional(),
2533
- referenceResolutionFailed: z81.boolean().optional(),
2534
- key: z81.string().optional()
2720
+ var DesignTokenOriginPart = z84.object({
2721
+ referenceOriginId: z84.string().optional(),
2722
+ referenceOriginKey: z84.string().optional(),
2723
+ referenceOriginName: z84.string().optional(),
2724
+ referenceOriginRemote: z84.boolean().optional(),
2725
+ referencePersistentId: z84.string().optional(),
2726
+ referenceResolutionFailed: z84.boolean().optional(),
2727
+ key: z84.string().optional()
2535
2728
  });
2536
2729
  var DesignTokenOrigin = DesignElementOrigin.extend(DesignTokenOriginPart.shape);
2537
2730
  var DesignTokenBase = DesignElementBase.extend(DesignElementGroupableRequiredPart.shape).extend(DesignElementBrandedPart.shape).extend({
@@ -2543,111 +2736,111 @@ var UpdateDesignTokenBase = DesignTokenBase.omit({
2543
2736
  brandPersistentId: true,
2544
2737
  designSystemVersionId: true
2545
2738
  });
2546
- var BlurTokenTypedData = z81.object({
2547
- type: z81.literal("Blur"),
2739
+ var BlurTokenTypedData = z84.object({
2740
+ type: z84.literal("Blur"),
2548
2741
  data: BlurTokenData
2549
2742
  });
2550
- var ColorTokenTypedData = z81.object({
2551
- type: z81.literal("Color"),
2743
+ var ColorTokenTypedData = z84.object({
2744
+ type: z84.literal("Color"),
2552
2745
  data: ColorTokenData
2553
2746
  });
2554
- var GradientTokenTypedData = z81.object({
2555
- type: z81.literal("Gradient"),
2747
+ var GradientTokenTypedData = z84.object({
2748
+ type: z84.literal("Gradient"),
2556
2749
  data: GradientTokenData
2557
2750
  });
2558
- var OpacityTokenTypedData = z81.object({
2559
- type: z81.literal("Opacity"),
2751
+ var OpacityTokenTypedData = z84.object({
2752
+ type: z84.literal("Opacity"),
2560
2753
  data: OpacityTokenData
2561
2754
  });
2562
- var ShadowTokenTypedData = z81.object({
2563
- type: z81.literal("Shadow"),
2755
+ var ShadowTokenTypedData = z84.object({
2756
+ type: z84.literal("Shadow"),
2564
2757
  data: ShadowTokenData
2565
2758
  });
2566
- var TypographyTokenTypedData = z81.object({
2567
- type: z81.literal("Typography"),
2759
+ var TypographyTokenTypedData = z84.object({
2760
+ type: z84.literal("Typography"),
2568
2761
  data: TypographyTokenData
2569
2762
  });
2570
- var StringTokenTypedData = z81.object({
2571
- type: z81.literal("String"),
2763
+ var StringTokenTypedData = z84.object({
2764
+ type: z84.literal("String"),
2572
2765
  data: StringTokenData
2573
2766
  });
2574
- var DimensionTokenTypedData = z81.object({
2575
- type: z81.literal("Dimension"),
2767
+ var DimensionTokenTypedData = z84.object({
2768
+ type: z84.literal("Dimension"),
2576
2769
  data: DimensionTokenData
2577
2770
  });
2578
- var FontSizeTokenTypedData = z81.object({
2579
- type: z81.literal("FontSize"),
2771
+ var FontSizeTokenTypedData = z84.object({
2772
+ type: z84.literal("FontSize"),
2580
2773
  data: FontSizeTokenData
2581
2774
  });
2582
- var FontFamilyTokenTypedData = z81.object({
2583
- type: z81.literal("FontFamily"),
2775
+ var FontFamilyTokenTypedData = z84.object({
2776
+ type: z84.literal("FontFamily"),
2584
2777
  data: FontFamilyTokenData
2585
2778
  });
2586
- var FontWeightTokenTypedData = z81.object({
2587
- type: z81.literal("FontWeight"),
2779
+ var FontWeightTokenTypedData = z84.object({
2780
+ type: z84.literal("FontWeight"),
2588
2781
  data: FontWeightTokenData
2589
2782
  });
2590
- var LetterSpacingTokenTypedData = z81.object({
2591
- type: z81.literal("LetterSpacing"),
2783
+ var LetterSpacingTokenTypedData = z84.object({
2784
+ type: z84.literal("LetterSpacing"),
2592
2785
  data: LetterSpacingTokenData
2593
2786
  });
2594
- var LineHeightTokenTypedData = z81.object({
2595
- type: z81.literal("LineHeight"),
2787
+ var LineHeightTokenTypedData = z84.object({
2788
+ type: z84.literal("LineHeight"),
2596
2789
  data: LineHeightTokenData
2597
2790
  });
2598
- var ParagraphSpacingTokenTypedData = z81.object({
2599
- type: z81.literal("ParagraphSpacing"),
2791
+ var ParagraphSpacingTokenTypedData = z84.object({
2792
+ type: z84.literal("ParagraphSpacing"),
2600
2793
  data: ParagraphSpacingTokenData
2601
2794
  });
2602
- var TextCaseTokenTypedData = z81.object({
2603
- type: z81.literal("TextCase"),
2795
+ var TextCaseTokenTypedData = z84.object({
2796
+ type: z84.literal("TextCase"),
2604
2797
  data: TextCaseTokenData
2605
2798
  });
2606
- var TextDecorationTokenTypedData = z81.object({
2607
- type: z81.literal("TextDecoration"),
2799
+ var TextDecorationTokenTypedData = z84.object({
2800
+ type: z84.literal("TextDecoration"),
2608
2801
  data: TextDecorationTokenData
2609
2802
  });
2610
- var BorderRadiusTokenTypedData = z81.object({
2611
- type: z81.literal("BorderRadius"),
2803
+ var BorderRadiusTokenTypedData = z84.object({
2804
+ type: z84.literal("BorderRadius"),
2612
2805
  data: BorderRadiusTokenData
2613
2806
  });
2614
- var BorderWidthTokenTypedData = z81.object({
2615
- type: z81.literal("BorderWidth"),
2807
+ var BorderWidthTokenTypedData = z84.object({
2808
+ type: z84.literal("BorderWidth"),
2616
2809
  data: BorderWidthTokenData
2617
2810
  });
2618
- var BorderTypedData = z81.object({
2619
- type: z81.literal("Border"),
2811
+ var BorderTypedData = z84.object({
2812
+ type: z84.literal("Border"),
2620
2813
  data: BorderTokenData
2621
2814
  });
2622
- var ProductCopyTypedData = z81.object({
2623
- type: z81.literal("ProductCopy"),
2815
+ var ProductCopyTypedData = z84.object({
2816
+ type: z84.literal("ProductCopy"),
2624
2817
  data: ProductCopyTokenData
2625
2818
  });
2626
- var SizeTypedData = z81.object({
2627
- type: z81.literal("Size"),
2819
+ var SizeTypedData = z84.object({
2820
+ type: z84.literal("Size"),
2628
2821
  data: SizeTokenData
2629
2822
  });
2630
- var SpaceTypedData = z81.object({
2631
- type: z81.literal("Space"),
2823
+ var SpaceTypedData = z84.object({
2824
+ type: z84.literal("Space"),
2632
2825
  data: SpaceTokenData
2633
2826
  });
2634
- var VisibilityTypedData = z81.object({
2635
- type: z81.literal("Visibility"),
2827
+ var VisibilityTypedData = z84.object({
2828
+ type: z84.literal("Visibility"),
2636
2829
  data: VisibilityTokenData
2637
2830
  });
2638
- var ZIndexTypedData = z81.object({
2639
- type: z81.literal("ZIndex"),
2831
+ var ZIndexTypedData = z84.object({
2832
+ type: z84.literal("ZIndex"),
2640
2833
  data: ZIndexTokenData
2641
2834
  });
2642
- var DurationTypedData = z81.object({
2643
- type: z81.literal("Duration"),
2835
+ var DurationTypedData = z84.object({
2836
+ type: z84.literal("Duration"),
2644
2837
  data: DurationTokenData
2645
2838
  });
2646
- var FontTypedData = z81.object({
2647
- type: z81.literal("Font"),
2648
- data: z81.record(z81.any())
2839
+ var FontTypedData = z84.object({
2840
+ type: z84.literal("Font"),
2841
+ data: z84.record(z84.any())
2649
2842
  });
2650
- var DesignTokenTypedData = z81.discriminatedUnion("type", [
2843
+ var DesignTokenTypedData = z84.discriminatedUnion("type", [
2651
2844
  BlurTokenTypedData,
2652
2845
  BorderRadiusTokenTypedData,
2653
2846
  BorderWidthTokenTypedData,
@@ -2680,32 +2873,32 @@ var CreateDesignToken = DesignTokenTypedData.and(CreateDesignTokenBase);
2680
2873
  var ThemeOverrideOriginPart = DesignTokenOriginPart;
2681
2874
  var ThemeOverrideOrigin = DesignTokenOrigin;
2682
2875
  var ThemeOverride = DesignTokenTypedData.and(
2683
- z82.object({
2684
- tokenPersistentId: z82.string(),
2876
+ z85.object({
2877
+ tokenPersistentId: z85.string(),
2685
2878
  origin: ThemeOverrideOrigin.optional().nullable().transform((v) => v ?? void 0)
2686
2879
  })
2687
2880
  );
2688
- var ThemeElementData = z82.object({
2689
- value: z82.object({
2690
- overrides: z82.array(ThemeOverride)
2881
+ var ThemeElementData = z85.object({
2882
+ value: z85.object({
2883
+ overrides: z85.array(ThemeOverride)
2691
2884
  })
2692
2885
  });
2693
- var ThemeOriginPart = z82.object({});
2694
- var ThemeOriginObject = z82.object({
2695
- id: z82.string(),
2696
- name: z82.string()
2886
+ var ThemeOriginPart = z85.object({});
2887
+ var ThemeOriginObject = z85.object({
2888
+ id: z85.string(),
2889
+ name: z85.string()
2697
2890
  });
2698
- var ThemeOriginSource = z82.object({
2699
- sourceId: z82.string(),
2700
- sourceObjects: z82.array(ThemeOriginObject)
2891
+ var ThemeOriginSource = z85.object({
2892
+ sourceId: z85.string(),
2893
+ sourceObjects: z85.array(ThemeOriginObject)
2701
2894
  });
2702
- var ThemeOrigin = z82.object({
2703
- sources: z82.array(ThemeOriginSource)
2895
+ var ThemeOrigin = z85.object({
2896
+ sources: z85.array(ThemeOriginSource)
2704
2897
  });
2705
2898
  var Theme = DesignElementBase.extend(DesignElementBrandedPart.shape).extend({
2706
2899
  origin: ThemeOrigin.optional(),
2707
- overrides: z82.array(ThemeOverride),
2708
- codeName: z82.string()
2900
+ overrides: z85.array(ThemeOverride),
2901
+ codeName: z85.string()
2709
2902
  });
2710
2903
  function mapPageBlockItemValuesV2(pageItems, definitionsMap, fn) {
2711
2904
  traversePageBlockItemsV2(pageItems, (block, item) => {
@@ -2761,17 +2954,17 @@ var PageBlockDefinitionsMap = class {
2761
2954
  return `${defId}.${propId}`;
2762
2955
  }
2763
2956
  };
2764
- var FileStructureStats = z83.object({
2957
+ var FileStructureStats = z86.object({
2765
2958
  frames: zeroNumberByDefault(),
2766
2959
  components: zeroNumberByDefault(),
2767
2960
  componentSets: zeroNumberByDefault()
2768
2961
  });
2769
2962
  var SourceImportSummaryByTokenTypeKey = DesignTokenType.or(
2770
2963
  // Backward compatibility
2771
- z83.enum(["Measure", "Radius", "GenericToken", "Font", "Text"])
2964
+ z86.enum(["Measure", "Radius", "GenericToken", "Font", "Text"])
2772
2965
  );
2773
- var SourceImportSummaryByTokenType = z83.record(SourceImportSummaryByTokenTypeKey, z83.number());
2774
- var SourceImportTokenSummary = z83.object({
2966
+ var SourceImportSummaryByTokenType = z86.record(SourceImportSummaryByTokenTypeKey, z86.number());
2967
+ var SourceImportTokenSummary = z86.object({
2775
2968
  tokensCreated: zeroNumberByDefault(),
2776
2969
  tokensUpdated: zeroNumberByDefault(),
2777
2970
  tokensDeleted: zeroNumberByDefault(),
@@ -2779,7 +2972,7 @@ var SourceImportTokenSummary = z83.object({
2779
2972
  tokensUpdatedPerType: SourceImportSummaryByTokenType.nullish().transform((v) => v ?? {}),
2780
2973
  tokensDeletedPerType: SourceImportSummaryByTokenType.nullish().transform((v) => v ?? {})
2781
2974
  });
2782
- var SourceImportComponentSummary = z83.object({
2975
+ var SourceImportComponentSummary = z86.object({
2783
2976
  componentsCreated: zeroNumberByDefault(),
2784
2977
  componentsUpdated: zeroNumberByDefault(),
2785
2978
  componentsDeleted: zeroNumberByDefault(),
@@ -2787,156 +2980,156 @@ var SourceImportComponentSummary = z83.object({
2787
2980
  componentAssetsUpdated: zeroNumberByDefault(),
2788
2981
  componentAssetsDeleted: zeroNumberByDefault()
2789
2982
  });
2790
- var SourceImportFrameSummary = z83.object({
2983
+ var SourceImportFrameSummary = z86.object({
2791
2984
  assetsInFile: nullishToOptional(FileStructureStats.optional()),
2792
- invalidReferencesCount: nullishToOptional(z83.number().optional())
2793
- });
2794
- var SourceImportSummary = z83.object({
2795
- sourceId: nullishToOptional(z83.string()),
2796
- brandId: nullishToOptional(z83.string()),
2797
- versionId: nullishToOptional(z83.string()),
2798
- error: nullishToOptional(z83.any()),
2799
- isFailed: z83.boolean(),
2800
- warnings: z83.array(ImportWarning).nullish().transform((v) => v ?? []),
2985
+ invalidReferencesCount: nullishToOptional(z86.number().optional())
2986
+ });
2987
+ var SourceImportSummary = z86.object({
2988
+ sourceId: nullishToOptional(z86.string()),
2989
+ brandId: nullishToOptional(z86.string()),
2990
+ versionId: nullishToOptional(z86.string()),
2991
+ error: nullishToOptional(z86.any()),
2992
+ isFailed: z86.boolean(),
2993
+ warnings: z86.array(ImportWarning).nullish().transform((v) => v ?? []),
2801
2994
  ...SourceImportTokenSummary.shape,
2802
2995
  ...SourceImportComponentSummary.shape,
2803
2996
  ...FileStructureStats.shape
2804
2997
  });
2805
2998
  function zeroNumberByDefault() {
2806
- return z83.number().nullish().transform((v) => v ?? 0);
2999
+ return z86.number().nullish().transform((v) => v ?? 0);
2807
3000
  }
2808
- var DataSourceRemoteType = z84.enum(["Figma", "TokenStudio", "FigmaVariablesPlugin"]);
2809
- var DataSourceUploadRemoteSource = z84.enum(["TokenStudio", "FigmaVariablesPlugin", "Custom"]);
2810
- var DataSourceFigmaState = z84.enum(["Active", "MissingIntegration", "MissingFileAccess", "MissingFileOwner"]);
2811
- var DataSourceAutoImportMode = z84.enum(["Never", "Hourly"]);
2812
- var DataSourceStats = z84.object({
3001
+ var DataSourceRemoteType = z87.enum(["Figma", "TokenStudio", "FigmaVariablesPlugin"]);
3002
+ var DataSourceUploadRemoteSource = z87.enum(["TokenStudio", "FigmaVariablesPlugin", "Custom"]);
3003
+ var DataSourceFigmaState = z87.enum(["Active", "MissingIntegration", "MissingFileAccess", "MissingFileOwner"]);
3004
+ var DataSourceAutoImportMode = z87.enum(["Never", "Hourly"]);
3005
+ var DataSourceStats = z87.object({
2813
3006
  tokens: zeroNumberByDefault2(),
2814
3007
  components: zeroNumberByDefault2(),
2815
3008
  assets: zeroNumberByDefault2(),
2816
3009
  frames: zeroNumberByDefault2()
2817
3010
  });
2818
- var DataSourceFigmaFileData = z84.object({
2819
- lastUpdatedAt: z84.coerce.date()
2820
- });
2821
- var DataSourceFigmaFileVersionData = z84.object({
2822
- id: z84.string(),
2823
- label: z84.string().optional(),
2824
- description: z84.string().optional(),
2825
- createdAt: z84.coerce.date()
3011
+ var DataSourceFigmaFileData = z87.object({
3012
+ lastUpdatedAt: z87.coerce.date()
2826
3013
  });
2827
- var DataSourceFigmaScope = z84.object({
2828
- assets: z84.boolean(),
2829
- components: z84.boolean(),
2830
- documentationFrames: z84.boolean(),
2831
- tokens: z84.boolean(),
2832
- themePersistentId: z84.string().optional(),
2833
- isUnpublishedContentFallbackEnabled: z84.boolean()
2834
- });
2835
- var DataSourceFigmaImportMetadata = z84.object({
3014
+ var DataSourceFigmaFileVersionData = z87.object({
3015
+ id: z87.string(),
3016
+ label: z87.string().optional(),
3017
+ description: z87.string().optional(),
3018
+ createdAt: z87.coerce.date()
3019
+ });
3020
+ var DataSourceFigmaScope = z87.object({
3021
+ assets: z87.boolean(),
3022
+ components: z87.boolean(),
3023
+ documentationFrames: z87.boolean(),
3024
+ tokens: z87.boolean(),
3025
+ themePersistentId: z87.string().optional(),
3026
+ isUnpublishedContentFallbackEnabled: z87.boolean()
3027
+ });
3028
+ var DataSourceFigmaImportMetadata = z87.object({
2836
3029
  fileData: DataSourceFigmaFileData.optional(),
2837
3030
  importedPublishedVersion: DataSourceFigmaFileVersionData.optional()
2838
3031
  });
2839
- var DataSourceFigmaRemote = z84.object({
2840
- type: z84.literal(DataSourceRemoteType.Enum.Figma),
2841
- fileId: z84.string(),
2842
- preferredCredentialId: z84.string().optional(),
2843
- ownerId: z84.string(),
3032
+ var DataSourceFigmaRemote = z87.object({
3033
+ type: z87.literal(DataSourceRemoteType.Enum.Figma),
3034
+ fileId: z87.string(),
3035
+ preferredCredentialId: z87.string().optional(),
3036
+ ownerId: z87.string(),
2844
3037
  // todo remove or keep to reference who created data source
2845
- ownerName: z84.string(),
3038
+ ownerName: z87.string(),
2846
3039
  // todo probably remove
2847
3040
  scope: DataSourceFigmaScope,
2848
3041
  state: DataSourceFigmaState,
2849
- requiresSync: z84.boolean().optional().transform((v) => v ?? false),
3042
+ requiresSync: z87.boolean().optional().transform((v) => v ?? false),
2850
3043
  lastImportMetadata: DataSourceFigmaImportMetadata.optional(),
2851
- downloadChunkSize: z84.number().optional(),
2852
- figmaRenderChunkSize: z84.number().optional(),
2853
- maxFileDepth: z84.number().optional()
3044
+ downloadChunkSize: z87.number().optional(),
3045
+ figmaRenderChunkSize: z87.number().optional(),
3046
+ maxFileDepth: z87.number().optional()
2854
3047
  });
2855
- var DataSourceTokenStudioRemote = z84.object({
2856
- type: z84.literal(DataSourceRemoteType.Enum.TokenStudio)
3048
+ var DataSourceTokenStudioRemote = z87.object({
3049
+ type: z87.literal(DataSourceRemoteType.Enum.TokenStudio)
2857
3050
  });
2858
- var DataSourceUploadImportMetadata = z84.record(z84.any());
2859
- var DataSourceUploadRemote = z84.object({
2860
- type: z84.literal(DataSourceRemoteType.Enum.FigmaVariablesPlugin),
2861
- remoteId: z84.string(),
3051
+ var DataSourceUploadImportMetadata = z87.record(z87.any());
3052
+ var DataSourceUploadRemote = z87.object({
3053
+ type: z87.literal(DataSourceRemoteType.Enum.FigmaVariablesPlugin),
3054
+ remoteId: z87.string(),
2862
3055
  remoteSourceType: DataSourceUploadRemoteSource,
2863
3056
  lastImportMetadata: DataSourceUploadImportMetadata.optional(),
2864
3057
  warnings: nullishToOptional(ImportWarning.array())
2865
3058
  });
2866
- var DataSourceRemote = z84.discriminatedUnion("type", [
3059
+ var DataSourceRemote = z87.discriminatedUnion("type", [
2867
3060
  DataSourceFigmaRemote,
2868
3061
  DataSourceUploadRemote,
2869
3062
  DataSourceTokenStudioRemote
2870
3063
  ]);
2871
- var DataSource = z84.object({
2872
- id: z84.string(),
2873
- name: z84.string(),
2874
- thumbnailUrl: z84.string().optional(),
2875
- createdAt: z84.coerce.date().optional(),
2876
- lastImportedAt: z84.coerce.date().optional(),
3064
+ var DataSource = z87.object({
3065
+ id: z87.string(),
3066
+ name: z87.string(),
3067
+ thumbnailUrl: z87.string().optional(),
3068
+ createdAt: z87.coerce.date().optional(),
3069
+ lastImportedAt: z87.coerce.date().optional(),
2877
3070
  lastImportSummary: SourceImportSummary.optional(),
2878
- designSystemId: z84.string(),
2879
- brandPersistentId: z84.string(),
3071
+ designSystemId: z87.string(),
3072
+ brandPersistentId: z87.string(),
2880
3073
  autoImportMode: DataSourceAutoImportMode,
2881
3074
  stats: DataSourceStats,
2882
3075
  remote: DataSourceRemote,
2883
- sortOrder: z84.number()
3076
+ sortOrder: z87.number()
2884
3077
  });
2885
- var DataSourceVersion = z84.object({
2886
- id: z84.string(),
2887
- createdAt: z84.coerce.date(),
2888
- label: z84.string().nullish(),
2889
- description: z84.string().nullish()
3078
+ var DataSourceVersion = z87.object({
3079
+ id: z87.string(),
3080
+ createdAt: z87.coerce.date(),
3081
+ label: z87.string().nullish(),
3082
+ description: z87.string().nullish()
2890
3083
  });
2891
3084
  function zeroNumberByDefault2() {
2892
- return z84.number().nullish().transform((v) => v ?? 0);
3085
+ return z87.number().nullish().transform((v) => v ?? 0);
2893
3086
  }
2894
- var ImportJobState = z85.enum(["PendingInput", "Queued", "InProgress", "Failed", "Success"]);
2895
- var ImportJobOperation = z85.enum(["Check", "Import"]);
3087
+ var ImportJobState = z88.enum(["PendingInput", "Queued", "InProgress", "Failed", "Success"]);
3088
+ var ImportJobOperation = z88.enum(["Check", "Import"]);
2896
3089
  var ImportJob = Entity.extend({
2897
- designSystemId: z85.string(),
2898
- designSystemVersionId: z85.string(),
2899
- sourceIds: z85.array(z85.string()),
3090
+ designSystemId: z88.string(),
3091
+ designSystemVersionId: z88.string(),
3092
+ sourceIds: z88.array(z88.string()),
2900
3093
  state: ImportJobState,
2901
- createdByUserId: z85.string().optional(),
2902
- importContextId: z85.string(),
2903
- error: z85.string().optional(),
3094
+ createdByUserId: z88.string().optional(),
3095
+ importContextId: z88.string(),
3096
+ error: z88.string().optional(),
2904
3097
  sourceType: DataSourceRemoteType,
2905
- importContextCleanedUp: z85.boolean()
3098
+ importContextCleanedUp: z88.boolean()
2906
3099
  });
2907
- var ImportFunctionInput = z86.object({
2908
- importJobId: z86.string(),
2909
- importContextId: z86.string(),
2910
- designSystemId: z86.string().optional()
3100
+ var ImportFunctionInput = z89.object({
3101
+ importJobId: z89.string(),
3102
+ importContextId: z89.string(),
3103
+ designSystemId: z89.string().optional()
2911
3104
  });
2912
- var ImportedFigmaSourceData = z86.object({
2913
- sourceId: z86.string(),
3105
+ var ImportedFigmaSourceData = z89.object({
3106
+ sourceId: z89.string(),
2914
3107
  figmaRemote: DataSourceFigmaRemote
2915
3108
  });
2916
- var FigmaImportBaseContext = z86.object({
2917
- designSystemId: z86.string(),
3109
+ var FigmaImportBaseContext = z89.object({
3110
+ designSystemId: z89.string(),
2918
3111
  /**
2919
3112
  * Data required for accessing Figma files. This should contain access data for all file ids
2920
3113
  * mentioned in the `importedSourceDataBySourceId`
2921
3114
  *
2922
3115
  * fileId: file data
2923
3116
  */
2924
- fileAccessByFileId: z86.record(FigmaFileAccessData),
3117
+ fileAccessByFileId: z89.record(FigmaFileAccessData),
2925
3118
  /**
2926
3119
  * Figma source data for which import was requested
2927
3120
  *
2928
3121
  * sourceId: source data
2929
3122
  */
2930
- importedSourceDataBySourceId: z86.record(ImportedFigmaSourceData),
3123
+ importedSourceDataBySourceId: z89.record(ImportedFigmaSourceData),
2931
3124
  /**
2932
3125
  * Array of warnings that will be written into the import result summary at the end
2933
3126
  * of import job execution and displayed by the client.
2934
3127
  */
2935
- importWarnings: z86.record(ImportWarning.array()).default({})
3128
+ importWarnings: z89.record(ImportWarning.array()).default({})
2936
3129
  });
2937
3130
  var FigmaImportContextWithSourcesState = FigmaImportBaseContext.extend({
2938
- sourcesWithMissingAccess: z86.array(z86.string()).default([]),
2939
- shadowOpacityOptional: z86.boolean().default(false)
3131
+ sourcesWithMissingAccess: z89.array(z89.string()).default([]),
3132
+ shadowOpacityOptional: z89.boolean().default(false)
2940
3133
  });
2941
3134
  var ChangedImportedFigmaSourceData = ImportedFigmaSourceData.extend({
2942
3135
  importMetadata: DataSourceFigmaImportMetadata
@@ -2948,67 +3141,67 @@ var FigmaImportContextWithDownloadScopes = FigmaImportContextWithSourcesState.ex
2948
3141
  *
2949
3142
  * File id -> file download scope
2950
3143
  */
2951
- fileDownloadScopesByFileId: z86.record(FigmaFileDownloadScope),
3144
+ fileDownloadScopesByFileId: z89.record(FigmaFileDownloadScope),
2952
3145
  /**
2953
3146
  * Sources filtered down to the ones that have changed since last import and therefore need to be
2954
3147
  * imported again.
2955
3148
  *
2956
3149
  * Source id -> import metadata
2957
3150
  */
2958
- changedImportedSourceDataBySourceId: z86.record(ChangedImportedFigmaSourceData)
3151
+ changedImportedSourceDataBySourceId: z89.record(ChangedImportedFigmaSourceData)
2959
3152
  });
2960
- var ImportModelBase = z87.object({
2961
- id: z87.string(),
3153
+ var ImportModelBase = z90.object({
3154
+ id: z90.string(),
2962
3155
  meta: ObjectMeta,
2963
3156
  origin: DesignElementOrigin,
2964
- brandPersistentId: z87.string(),
2965
- sortOrder: z87.number()
3157
+ brandPersistentId: z90.string(),
3158
+ sortOrder: z90.number()
2966
3159
  });
2967
3160
  var ImportModelInputBase = ImportModelBase.omit({
2968
3161
  brandPersistentId: true,
2969
3162
  origin: true,
2970
3163
  sortOrder: true
2971
3164
  }).extend({
2972
- originId: z87.string(),
2973
- originMetadata: z87.record(z87.any())
3165
+ originId: z90.string(),
3166
+ originMetadata: z90.record(z90.any())
2974
3167
  });
2975
- var ImageImportModelType = z88.enum(["Url", "FigmaRender"]);
2976
- var ImageImportModelBase = z88.object({
3168
+ var ImageImportModelType = z91.enum(["Url", "FigmaRender"]);
3169
+ var ImageImportModelBase = z91.object({
2977
3170
  scope: AssetScope
2978
3171
  });
2979
3172
  var UrlImageImportModel = ImageImportModelBase.extend({
2980
- type: z88.literal(ImageImportModelType.enum.Url),
2981
- url: z88.string(),
2982
- originKey: z88.string(),
2983
- extension: z88.string()
3173
+ type: z91.literal(ImageImportModelType.enum.Url),
3174
+ url: z91.string(),
3175
+ originKey: z91.string(),
3176
+ extension: z91.string()
2984
3177
  });
2985
- var FigmaRenderFormat = z88.enum(["Svg", "Png", "Pdf"]);
3178
+ var FigmaRenderFormat = z91.enum(["Svg", "Png", "Pdf"]);
2986
3179
  var FigmaRenderBase = ImageImportModelBase.extend({
2987
- type: z88.literal(ImageImportModelType.enum.FigmaRender),
2988
- fileId: z88.string(),
2989
- fileVersionId: z88.string().optional(),
2990
- nodeId: z88.string(),
2991
- originKey: z88.string()
3180
+ type: z91.literal(ImageImportModelType.enum.FigmaRender),
3181
+ fileId: z91.string(),
3182
+ fileVersionId: z91.string().optional(),
3183
+ nodeId: z91.string(),
3184
+ originKey: z91.string()
2992
3185
  });
2993
3186
  var FigmaPngRenderImportModel = FigmaRenderBase.extend({
2994
- format: z88.literal(FigmaRenderFormat.enum.Png),
2995
- scale: z88.number()
3187
+ format: z91.literal(FigmaRenderFormat.enum.Png),
3188
+ scale: z91.number()
2996
3189
  });
2997
3190
  var FigmaSvgRenderImportModel = FigmaRenderBase.extend({
2998
- format: z88.literal(FigmaRenderFormat.enum.Svg)
3191
+ format: z91.literal(FigmaRenderFormat.enum.Svg)
2999
3192
  });
3000
- var FigmaRenderImportModel = z88.discriminatedUnion("format", [
3193
+ var FigmaRenderImportModel = z91.discriminatedUnion("format", [
3001
3194
  FigmaPngRenderImportModel,
3002
3195
  FigmaSvgRenderImportModel
3003
3196
  ]);
3004
- var ImageImportModel = z88.union([UrlImageImportModel, FigmaRenderImportModel]);
3005
- var FigmaComponentImportModelPart = z89.object({
3197
+ var ImageImportModel = z91.union([UrlImageImportModel, FigmaRenderImportModel]);
3198
+ var FigmaComponentImportModelPart = z92.object({
3006
3199
  thumbnail: ImageImportModel,
3007
- parentComponentId: z89.string().optional(),
3200
+ parentComponentId: z92.string().optional(),
3008
3201
  componentPropertyDefinitions: FigmaComponentPropertyMap.optional()
3009
3202
  });
3010
3203
  var FigmaComponentImportModel = ImportModelBase.extend(FigmaComponentImportModelPart.shape).extend({
3011
- isAsset: z89.boolean(),
3204
+ isAsset: z92.boolean(),
3012
3205
  svg: FigmaSvgRenderImportModel.optional(),
3013
3206
  origin: FigmaComponentOrigin
3014
3207
  });
@@ -3019,20 +3212,20 @@ var AssetImportModelInput = ImportModelInputBase.extend(FigmaComponentImportMode
3019
3212
  svg: FigmaSvgRenderImportModel,
3020
3213
  originMetadata: FigmaComponentOriginPart
3021
3214
  });
3022
- var DataSourceImportModel = z90.object({
3023
- id: z90.string(),
3024
- fileName: z90.string().optional(),
3025
- thumbnailUrl: z90.string().optional()
3215
+ var DataSourceImportModel = z93.object({
3216
+ id: z93.string(),
3217
+ fileName: z93.string().optional(),
3218
+ thumbnailUrl: z93.string().optional()
3026
3219
  });
3027
3220
  var FigmaFileStructureNodeImportModelBase = FigmaFileStructureNodeBase.extend({
3028
3221
  png: FigmaPngRenderImportModel,
3029
3222
  svg: FigmaSvgRenderImportModel
3030
3223
  });
3031
3224
  var FigmaFileStructureNodeImportModel = FigmaFileStructureNodeImportModelBase.extend({
3032
- children: z91.lazy(() => FigmaFileStructureNodeImportModel.array())
3225
+ children: z94.lazy(() => FigmaFileStructureNodeImportModel.array())
3033
3226
  });
3034
- var FigmaFileStructureImportModelPart = z91.object({
3035
- data: z91.object({
3227
+ var FigmaFileStructureImportModelPart = z94.object({
3228
+ data: z94.object({
3036
3229
  rootNode: FigmaFileStructureNodeImportModel,
3037
3230
  assetsInFile: FigmaFileStructureStatistics
3038
3231
  })
@@ -3043,48 +3236,48 @@ var FigmaFileStructureImportModel = ImportModelBase.extend(FigmaFileStructureImp
3043
3236
  var FigmaFileStructureImportModelInput = ImportModelInputBase.extend(
3044
3237
  FigmaFileStructureImportModelPart.shape
3045
3238
  ).extend({
3046
- fileVersionId: z91.string()
3239
+ fileVersionId: z94.string()
3047
3240
  });
3048
3241
  var ThemeOverrideImportModelBase = DesignTokenTypedData.and(
3049
- z92.object({
3050
- id: z92.string(),
3242
+ z95.object({
3243
+ id: z95.string(),
3051
3244
  meta: ObjectMeta
3052
3245
  })
3053
3246
  );
3054
3247
  var ThemeOverrideImportModel = ThemeOverrideImportModelBase.and(
3055
- z92.object({
3248
+ z95.object({
3056
3249
  origin: ThemeOverrideOrigin
3057
3250
  })
3058
3251
  );
3059
3252
  var ThemeOverrideImportModelInput = ThemeOverrideImportModelBase.and(
3060
- z92.object({
3061
- originId: z92.string(),
3253
+ z95.object({
3254
+ originId: z95.string(),
3062
3255
  originMetadata: ThemeOverrideOriginPart
3063
3256
  })
3064
3257
  );
3065
- var ThemeImportModel = z92.object({
3258
+ var ThemeImportModel = z95.object({
3066
3259
  meta: ObjectMeta,
3067
- brandPersistentId: z92.string(),
3260
+ brandPersistentId: z95.string(),
3068
3261
  originSource: ThemeOriginSource,
3069
- overrides: z92.array(ThemeOverrideImportModel),
3070
- sortOrder: z92.number()
3262
+ overrides: z95.array(ThemeOverrideImportModel),
3263
+ sortOrder: z95.number()
3071
3264
  });
3072
- var ThemeImportModelInput = z92.object({
3265
+ var ThemeImportModelInput = z95.object({
3073
3266
  meta: ObjectMeta,
3074
- originObjects: z92.array(ThemeOriginObject),
3075
- overrides: z92.array(ThemeOverrideImportModelInput)
3267
+ originObjects: z95.array(ThemeOriginObject),
3268
+ overrides: z95.array(ThemeOverrideImportModelInput)
3076
3269
  });
3077
- var ThemeUpdateImportModel = z92.object({
3078
- themePersistentId: z92.string(),
3079
- overrides: z92.array(ThemeOverrideImportModel)
3270
+ var ThemeUpdateImportModel = z95.object({
3271
+ themePersistentId: z95.string(),
3272
+ overrides: z95.array(ThemeOverrideImportModel)
3080
3273
  });
3081
- var ThemeUpdateImportModelInput = z92.object({
3082
- themePersistentId: z92.string(),
3083
- overrides: z92.array(ThemeOverrideImportModelInput)
3274
+ var ThemeUpdateImportModelInput = z95.object({
3275
+ themePersistentId: z95.string(),
3276
+ overrides: z95.array(ThemeOverrideImportModelInput)
3084
3277
  });
3085
- var DesignTokenImportModelPart = z93.object({
3086
- collection: z93.string().optional(),
3087
- codeSyntax: z93.record(z93.coerce.string()).optional()
3278
+ var DesignTokenImportModelPart = z96.object({
3279
+ collection: z96.string().optional(),
3280
+ codeSyntax: z96.record(z96.coerce.string()).optional()
3088
3281
  });
3089
3282
  var DesignTokenImportModelBase = ImportModelBase.extend(DesignTokenImportModelPart.shape).extend({
3090
3283
  origin: DesignTokenOrigin
@@ -3094,232 +3287,47 @@ var DesignTokenImportModelInputBase = ImportModelInputBase.extend(DesignTokenImp
3094
3287
  });
3095
3288
  var DesignTokenImportModel = DesignTokenTypedData.and(DesignTokenImportModelBase);
3096
3289
  var DesignTokenImportModelInput = DesignTokenTypedData.and(DesignTokenImportModelInputBase);
3097
- var ImportModelInputCollection = z94.object({
3290
+ var ImportModelInputCollection = z97.object({
3098
3291
  source: DataSourceImportModel,
3099
- tokens: z94.array(DesignTokenImportModelInput).default([]),
3100
- components: z94.array(FigmaComponentImportModelInput).default([]),
3101
- assets: z94.array(AssetImportModelInput).default([]),
3102
- themeUpdates: z94.array(ThemeUpdateImportModelInput).default([]),
3103
- themes: z94.array(ThemeImportModelInput).default([]),
3292
+ tokens: z97.array(DesignTokenImportModelInput).default([]),
3293
+ components: z97.array(FigmaComponentImportModelInput).default([]),
3294
+ assets: z97.array(AssetImportModelInput).default([]),
3295
+ themeUpdates: z97.array(ThemeUpdateImportModelInput).default([]),
3296
+ themes: z97.array(ThemeImportModelInput).default([]),
3104
3297
  figmaFileStructure: FigmaFileStructureImportModelInput.optional()
3105
3298
  });
3106
- var ImportModelCollection = z94.object({
3107
- sources: z94.array(DataSourceImportModel),
3108
- tokens: z94.array(DesignTokenImportModel).default([]),
3109
- components: z94.array(FigmaComponentImportModel).default([]),
3110
- themeUpdates: z94.array(ThemeUpdateImportModel).default([]),
3111
- themes: z94.array(ThemeImportModel).default([]),
3112
- figmaFileStructures: z94.array(FigmaFileStructureImportModel)
3113
- });
3114
- var AssetRenderConfiguration = z95.object({
3115
- prefix: z95.string().optional(),
3116
- suffix: z95.string().optional(),
3117
- scale: z95.number(),
3299
+ var ImportModelCollection = z97.object({
3300
+ sources: z97.array(DataSourceImportModel),
3301
+ tokens: z97.array(DesignTokenImportModel).default([]),
3302
+ components: z97.array(FigmaComponentImportModel).default([]),
3303
+ themeUpdates: z97.array(ThemeUpdateImportModel).default([]),
3304
+ themes: z97.array(ThemeImportModel).default([]),
3305
+ figmaFileStructures: z97.array(FigmaFileStructureImportModel)
3306
+ });
3307
+ var AssetRenderConfiguration = z98.object({
3308
+ prefix: z98.string().optional(),
3309
+ suffix: z98.string().optional(),
3310
+ scale: z98.number(),
3118
3311
  format: FigmaRenderFormat
3119
3312
  });
3120
- var RenderedAssetFile = z95.object({
3121
- assetPersistentId: z95.string(),
3122
- assetName: z95.string(),
3123
- renderedImageFileName: z95.string(),
3124
- renderedImageUrl: z95.string(),
3313
+ var RenderedAssetFile = z98.object({
3314
+ assetPersistentId: z98.string(),
3315
+ assetName: z98.string(),
3316
+ renderedImageFileName: z98.string(),
3317
+ renderedImageUrl: z98.string(),
3125
3318
  settings: AssetRenderConfiguration
3126
3319
  });
3127
- var DocumentationPageApprovalState = z96.enum(["ReadyForReview", "ChangesRequested", "Approved"]);
3128
- var DocumentationPageApproval = z97.object({
3129
- id: z97.string(),
3130
- approvalState: DocumentationPageApprovalState,
3131
- persistentId: z97.string(),
3132
- pageId: z97.string(),
3133
- pagePersistentId: z97.string(),
3134
- updatedByUserId: z97.string(),
3135
- designSystemVersionId: z97.string(),
3136
- updatedAt: z97.coerce.date(),
3137
- createdAt: z97.coerce.date()
3138
- });
3139
- var PageBlockDefinitionAppearance = z98.object({
3140
- isBordered: z98.boolean().optional(),
3141
- hasBackground: z98.boolean().optional(),
3142
- isEditorPresentationDifferent: z98.boolean().optional(),
3143
- showBlockHeaderInEditor: z98.boolean().optional()
3144
- });
3145
- var PageBlockDefinitionLayoutType = z99.enum(["Column", "Row"]);
3146
- var PageBlockDefinitionLayoutGap = z99.enum(["Small", "Medium", "Large", "None"]);
3147
- var PageBlockDefinitionLayoutAlign = z99.enum(["Start", "Center", "End"]);
3148
- var PageBlockDefinitionLayoutResizing = z99.enum(["Fill", "Hug"]);
3149
- var PageBlockDefinitionLayoutBase = z99.object({
3150
- type: PageBlockDefinitionLayoutType,
3151
- gap: PageBlockDefinitionLayoutGap.optional(),
3152
- columnAlign: PageBlockDefinitionLayoutAlign.optional(),
3153
- columnResizing: PageBlockDefinitionLayoutResizing.optional()
3154
- });
3155
- var PageBlockDefinitionLayout = PageBlockDefinitionLayoutBase.extend({
3156
- children: z99.lazy(() => z99.array(PageBlockDefinitionLayout.or(z99.string())))
3157
- });
3158
- var PageBlockDefinitionVariant = z99.object({
3159
- id: z99.string(),
3160
- name: z99.string(),
3161
- image: z99.string().optional(),
3162
- description: z99.string().optional(),
3163
- documentationLink: z99.string().optional(),
3164
- layout: PageBlockDefinitionLayout,
3165
- maxColumns: z99.number().optional(),
3166
- defaultColumns: z99.number().optional(),
3167
- appearance: PageBlockDefinitionAppearance.optional()
3168
- });
3169
- var PageBlockDefinitionPropertyType = z100.enum([
3170
- "RichText",
3171
- "MultiRichText",
3172
- "RichTextEditor",
3173
- "Text",
3174
- "Boolean",
3175
- "Number",
3176
- "SingleSelect",
3177
- "MultiSelect",
3178
- "Image",
3179
- "Token",
3180
- "TokenType",
3181
- "TokenProperty",
3182
- "Component",
3183
- "ComponentProperty",
3184
- "Asset",
3185
- "AssetProperty",
3186
- "FigmaNode",
3187
- "EmbedURL",
3188
- "URL",
3189
- "Markdown",
3190
- "Code",
3191
- "CodeSandbox",
3192
- "Table",
3193
- "Divider",
3194
- "Storybook",
3195
- "Color",
3196
- "FigmaComponent"
3197
- ]);
3198
- var PageBlockDefinitionRichTextPropertyStyle = z100.enum([
3199
- "Title1",
3200
- "Title2",
3201
- "Title3",
3202
- "Title4",
3203
- "Title5",
3204
- "Quote",
3205
- "Callout",
3206
- "Default"
3207
- ]);
3208
- var PageBlockDefinitionMultiRichTextPropertyStyle = z100.enum(["OL", "UL", "Default"]);
3209
- var PageBlockDefinitionRichTextEditorPropertyStyle = z100.enum([
3210
- "OL",
3211
- "UL",
3212
- "Bold",
3213
- "Italic",
3214
- "Link",
3215
- "Strikethrough",
3216
- "InlineCode"
3217
- ]);
3218
- var PageBlockDefinitionTextPropertyStyle = z100.enum([
3219
- "Title1",
3220
- "Title2",
3221
- "Title3",
3222
- "Title4",
3223
- "Title5",
3224
- "Default",
3225
- "DefaultBold",
3226
- "DefaultSemibold",
3227
- "Small",
3228
- "SmallBold",
3229
- "SmallSemibold",
3230
- "Custom"
3231
- ]);
3232
- var PageBlockDefinitionTextPropertyColor = z100.enum(["Neutral", "NeutralFaded"]);
3233
- var PageBlockDefinitionBooleanPropertyStyle = z100.enum(["SegmentedControl", "ToggleButton", "Checkbox"]);
3234
- var PageBlockDefinitionSingleSelectPropertyStyle = z100.enum([
3235
- "SegmentedControl",
3236
- "ToggleButton",
3237
- "Select",
3238
- "Checkbox"
3239
- ]);
3240
- var PageBlockDefinitionSingleSelectPropertyColor = z100.enum([
3241
- "Green",
3242
- "Red",
3243
- "Yellow",
3244
- "Blue",
3245
- "Purple",
3246
- "Orange",
3247
- "Pink",
3248
- "Teal",
3249
- "Brown",
3250
- "Grey",
3251
- "LightGrey",
3252
- "Cyan",
3253
- "Fuchsia"
3254
- ]);
3255
- var IconSet = z100.enum(["CheckCircle", "CrossCircle", "Alert"]);
3256
- var PageBlockDefinitionMultiSelectPropertyStyle = z100.enum(["SegmentedControl", "Select", "Checkbox"]);
3257
- var PageBlockDefinitionImageAspectRatio = z100.enum(["Auto", "Square", "Landscape", "Portrait", "Wide"]);
3258
- var PageBlockDefinitionImageWidth = z100.enum(["Full", "Icon", "Small", "Medium", "Large", "Poster"]);
3259
- var PageBlockDefinitionSelectChoice = z100.object({
3260
- value: z100.string(),
3261
- name: z100.string(),
3262
- icon: IconSet.optional(),
3263
- customIconUrl: z100.string().optional(),
3264
- color: PageBlockDefinitionSingleSelectPropertyColor.optional()
3265
- });
3266
- var PageBlockDefinitionUntypedPropertyOptions = z100.record(z100.any());
3267
- var PageBlockDefinitionRichTextOptions = z100.object({
3268
- richTextStyle: PageBlockDefinitionRichTextPropertyStyle.optional()
3269
- });
3270
- var PageBlockDefinitionMutiRichTextOptions = z100.object({
3271
- multiRichTextStyle: PageBlockDefinitionMultiRichTextPropertyStyle.optional()
3272
- });
3273
- var PageBlockDefinitionRichTextEditorOptions = z100.object({
3274
- placeholder: z100.string().optional(),
3275
- allowedInlineStyles: z100.array(PageBlockDefinitionRichTextEditorPropertyStyle).optional()
3276
- });
3277
- var PageBlockDefinitionTextOptions = z100.object({
3278
- placeholder: z100.string().optional(),
3279
- defaultValue: z100.string().optional(),
3280
- textStyle: PageBlockDefinitionTextPropertyStyle.optional(),
3281
- color: PageBlockDefinitionTextPropertyColor.optional(),
3282
- allowLineBreaks: z100.boolean().optional()
3283
- });
3284
- var PageBlockDefinitionSelectOptions = z100.object({
3285
- singleSelectStyle: PageBlockDefinitionSingleSelectPropertyStyle.optional(),
3286
- defaultChoice: z100.string(),
3287
- choices: z100.array(PageBlockDefinitionSelectChoice)
3288
- });
3289
- var PageBlockDefinitionImageOptions = z100.object({
3290
- width: PageBlockDefinitionImageWidth.optional(),
3291
- aspectRatio: PageBlockDefinitionImageAspectRatio.optional(),
3292
- allowCaption: z100.boolean().optional(),
3293
- recommendation: z100.string().optional()
3294
- });
3295
- var PageBlockDefinitionBooleanOptions = z100.object({
3296
- defaultvalue: z100.boolean().optional(),
3297
- booleanStyle: PageBlockDefinitionBooleanPropertyStyle.optional()
3298
- });
3299
- var PageBlockDefinitionNumberOptions = z100.object({
3300
- defaultValue: z100.number(),
3301
- min: z100.number().optional(),
3302
- max: z100.number().optional(),
3303
- step: z100.number().optional(),
3304
- placeholder: z100.string().optional()
3305
- });
3306
- var PageBlockDefinitionComponentOptions = z100.object({
3307
- renderLayoutAs: z100.enum(["List", "Table"]).optional(),
3308
- allowPropertySelection: z100.boolean().optional()
3309
- });
3310
- var PageBlockDefinitionProperty = z100.object({
3320
+ var DocumentationPageApprovalState = z99.enum(["ReadyForReview", "ChangesRequested", "Approved"]);
3321
+ var DocumentationPageApproval = z100.object({
3311
3322
  id: z100.string(),
3312
- name: z100.string(),
3313
- type: PageBlockDefinitionPropertyType,
3314
- description: z100.string().optional(),
3315
- options: PageBlockDefinitionUntypedPropertyOptions.optional(),
3316
- variantOptions: z100.record(PageBlockDefinitionUntypedPropertyOptions).optional()
3317
- });
3318
- var PageBlockDefinitionItem = z100.object({
3319
- properties: z100.array(PageBlockDefinitionProperty),
3320
- appearance: PageBlockDefinitionAppearance.optional(),
3321
- variants: z100.array(PageBlockDefinitionVariant),
3322
- defaultVariantKey: z100.string()
3323
+ approvalState: DocumentationPageApprovalState,
3324
+ persistentId: z100.string(),
3325
+ pageId: z100.string(),
3326
+ pagePersistentId: z100.string(),
3327
+ updatedByUserId: z100.string(),
3328
+ designSystemVersionId: z100.string(),
3329
+ updatedAt: z100.coerce.date(),
3330
+ createdAt: z100.coerce.date()
3323
3331
  });
3324
3332
  var PageBlockCategory = z101.enum([
3325
3333
  "Text",
@@ -6941,9 +6949,154 @@ var DocumentationPageEditorModel = z227.object({
6941
6949
  blocks: z227.array(DocumentationPageContentItem)
6942
6950
  });
6943
6951
 
6944
- // src/yjs/docs-editor/prosemirror/schema.ts
6952
+ // src/yjs/docs-editor/prosemirror/inner-editor-schema.ts
6945
6953
  import { Schema } from "prosemirror-model";
6946
- var newSchema = {
6954
+ var pmSchemaJson = {
6955
+ topNode: "doc",
6956
+ nodes: {
6957
+ paragraph: {
6958
+ content: "inline*",
6959
+ group: "block",
6960
+ parseDOM: [
6961
+ {
6962
+ tag: "p"
6963
+ }
6964
+ ]
6965
+ },
6966
+ listItem: {
6967
+ content: "paragraph",
6968
+ defining: true,
6969
+ parseDOM: [
6970
+ {
6971
+ tag: "li"
6972
+ }
6973
+ ]
6974
+ },
6975
+ doc: {
6976
+ content: "block+"
6977
+ },
6978
+ hardBreak: {
6979
+ group: "inline",
6980
+ inline: true,
6981
+ selectable: false,
6982
+ parseDOM: [
6983
+ {
6984
+ tag: "br"
6985
+ }
6986
+ ]
6987
+ },
6988
+ text: {
6989
+ group: "inline"
6990
+ },
6991
+ bulletList: {
6992
+ content: "listItem+",
6993
+ group: "block list",
6994
+ parseDOM: [
6995
+ {
6996
+ tag: "ul"
6997
+ }
6998
+ ]
6999
+ },
7000
+ orderedList: {
7001
+ content: "listItem+",
7002
+ group: "block list",
7003
+ attrs: {
7004
+ start: {
7005
+ default: 1
7006
+ },
7007
+ type: {
7008
+ default: null
7009
+ }
7010
+ },
7011
+ parseDOM: [
7012
+ {
7013
+ tag: "ol"
7014
+ }
7015
+ ]
7016
+ }
7017
+ },
7018
+ marks: {
7019
+ link: {
7020
+ inclusive: false,
7021
+ attrs: {
7022
+ href: {
7023
+ default: null
7024
+ },
7025
+ target: {
7026
+ default: "_blank"
7027
+ },
7028
+ rel: {
7029
+ default: "noopener noreferrer nofollow"
7030
+ },
7031
+ class: {
7032
+ default: "tiptap-link"
7033
+ }
7034
+ },
7035
+ parseDOM: [
7036
+ {
7037
+ tag: "a[href]"
7038
+ }
7039
+ ]
7040
+ },
7041
+ bold: {
7042
+ parseDOM: [
7043
+ {
7044
+ tag: "strong"
7045
+ },
7046
+ {
7047
+ tag: "b"
7048
+ },
7049
+ {
7050
+ style: "font-weight"
7051
+ }
7052
+ ]
7053
+ },
7054
+ italic: {
7055
+ parseDOM: [
7056
+ {
7057
+ tag: "em"
7058
+ },
7059
+ {
7060
+ tag: "i"
7061
+ },
7062
+ {
7063
+ style: "font-style=italic"
7064
+ }
7065
+ ]
7066
+ },
7067
+ strike: {
7068
+ parseDOM: [
7069
+ {
7070
+ tag: "s"
7071
+ },
7072
+ {
7073
+ tag: "del"
7074
+ },
7075
+ {
7076
+ tag: "strike"
7077
+ },
7078
+ {
7079
+ style: "text-decoration",
7080
+ consuming: false
7081
+ }
7082
+ ]
7083
+ },
7084
+ code: {
7085
+ excludes: "bold code italic strike link",
7086
+ code: true,
7087
+ parseDOM: [
7088
+ {
7089
+ tag: "code"
7090
+ }
7091
+ ]
7092
+ }
7093
+ }
7094
+ };
7095
+ var innerEditorProsemirrorSchema = new Schema(pmSchemaJson);
7096
+
7097
+ // src/yjs/docs-editor/prosemirror/main-editor-schema.ts
7098
+ import { Schema as Schema2 } from "prosemirror-model";
7099
+ var pmSchemaJson2 = {
6947
7100
  topNode: "doc",
6948
7101
  nodes: {
6949
7102
  paragraph: {
@@ -7516,7 +7669,7 @@ var newSchema = {
7516
7669
  }
7517
7670
  }
7518
7671
  };
7519
- var pmSchema = new Schema(newSchema);
7672
+ var mainEditorProsemirrorSchema = new Schema2(pmSchemaJson2);
7520
7673
 
7521
7674
  // src/yjs/docs-editor/blocks-to-prosemirror.ts
7522
7675
  import { prosemirrorJSONToYXmlFragment } from "y-prosemirror";
@@ -7685,7 +7838,7 @@ function pageToYDoc(doc, page, definitions) {
7685
7838
  }
7686
7839
  function pageToYXmlFragment(page, definitions, fragment) {
7687
7840
  const doc = pageToProsemirrorDoc(page, definitions);
7688
- return prosemirrorJSONToYXmlFragment(pmSchema, doc, fragment);
7841
+ return prosemirrorJSONToYXmlFragment(mainEditorProsemirrorSchema, doc, fragment);
7689
7842
  }
7690
7843
  function pageToProsemirrorDoc(page, definitions) {
7691
7844
  const definitionsMap = mapByUnique(definitions, (d) => d.id);
@@ -7715,6 +7868,50 @@ function blockToProsemirrorNode(block, definition) {
7715
7868
  const nodes = internalBlocksToProsemirrorNodes([block], definitionsMap);
7716
7869
  return nodes[0] ?? null;
7717
7870
  }
7871
+ function richTextPropertyValueToProsemirror(richTextEditorValue) {
7872
+ return {
7873
+ type: "doc",
7874
+ content: richTextEditorValue.value.map((node) => {
7875
+ return serializeRichTextEditorNode(node);
7876
+ })
7877
+ };
7878
+ }
7879
+ function serializeRichTextEditorNode(node) {
7880
+ switch (node.type) {
7881
+ case "Paragraph":
7882
+ return serializeRichTextEditorParagraphNode(node);
7883
+ case "List":
7884
+ return serializeRichTextEditorListNode(node);
7885
+ }
7886
+ }
7887
+ function serializeRichTextEditorParagraphNode(node) {
7888
+ const content = serializeRichText(node.value);
7889
+ return {
7890
+ type: "paragraph",
7891
+ ...content.length && { content }
7892
+ };
7893
+ }
7894
+ function serializeRichTextEditorListNode(node) {
7895
+ const type = node.listType === "OL" ? "orderedList" : "bulletList";
7896
+ const attrs = node.listType === "OL" ? { start: 1 } : void 0;
7897
+ const richTexts = node.value.length ? node.value : [{ spans: [] }];
7898
+ return {
7899
+ type,
7900
+ ...attrs && { attrs },
7901
+ content: richTexts.map((n) => {
7902
+ const content = serializeRichText(n);
7903
+ return {
7904
+ type: "listItem",
7905
+ content: [
7906
+ {
7907
+ type: "paragraph",
7908
+ ...content.length && { content }
7909
+ }
7910
+ ]
7911
+ };
7912
+ })
7913
+ };
7914
+ }
7718
7915
  function internalSectionToProsemirrorNode(section, definitionsMap) {
7719
7916
  return {
7720
7917
  type: "tabsSection",
@@ -10628,6 +10825,43 @@ function prosemirrorDocToPage(prosemirrorDoc, definitions) {
10628
10825
  function shallowProsemirrorNodeToBlock(prosemirrorNode, definition) {
10629
10826
  return prosemirrorNodeAndDefinitionToBlock(prosemirrorNode, definition, /* @__PURE__ */ new Map([[definition.id, definition]]), 0)[0] ?? null;
10630
10827
  }
10828
+ function prosemirrorDocToRichTextPropertyValue(prosemirrorNode) {
10829
+ return {
10830
+ value: (prosemirrorNode.content ?? []).map((n) => prosemirrorNodeToRichTextEditorPropertyNode(n)).filter(nonNullFilter)
10831
+ };
10832
+ }
10833
+ function prosemirrorNodeToRichTextEditorPropertyNode(prosemirrorNode) {
10834
+ switch (prosemirrorNode.type) {
10835
+ case "paragraph":
10836
+ return parseAsParagraphNode(prosemirrorNode);
10837
+ case "orderedList":
10838
+ case "bulletList":
10839
+ return parseAsListNode(prosemirrorNode);
10840
+ default:
10841
+ return null;
10842
+ }
10843
+ }
10844
+ function parseAsParagraphNode(prosemirrorNode) {
10845
+ return {
10846
+ type: "Paragraph",
10847
+ value: parseRichText(prosemirrorNode.content ?? [])
10848
+ };
10849
+ }
10850
+ function parseAsListNode(prosemirrorNode) {
10851
+ return {
10852
+ type: "List",
10853
+ listType: prosemirrorNode.type === "orderedList" ? "OL" : "UL",
10854
+ value: (prosemirrorNode.content ?? []).map(parseAsListNodeItem).filter(nonNullFilter)
10855
+ };
10856
+ }
10857
+ function parseAsListNodeItem(prosemirrorNode) {
10858
+ if (prosemirrorNode.type !== "listItem")
10859
+ return null;
10860
+ const firstChild = prosemirrorNode.content?.[0];
10861
+ if (!firstChild || firstChild.type !== "paragraph")
10862
+ return null;
10863
+ return parseRichText(firstChild.content ?? []);
10864
+ }
10631
10865
  function prosemirrorNodeToSection(prosemirrorNode, definitions) {
10632
10866
  const definitionsById = mapByUnique2(definitions, (d) => d.id);
10633
10867
  return internalProsemirrorNodeToSection(prosemirrorNode, definitionsById);
@@ -11508,17 +11742,20 @@ export {
11508
11742
  gitOrganizationToDto,
11509
11743
  gitProjectToDto,
11510
11744
  gitRepositoryToDto,
11745
+ innerEditorProsemirrorSchema,
11511
11746
  integrationCredentialToDto,
11512
11747
  integrationToDto,
11513
11748
  itemConfigurationToYjs,
11749
+ mainEditorProsemirrorSchema,
11514
11750
  pageToProsemirrorDoc,
11515
11751
  pageToYDoc,
11516
11752
  pageToYXmlFragment,
11517
11753
  pipelineToDto,
11518
- pmSchema,
11519
11754
  prosemirrorDocToPage,
11755
+ prosemirrorDocToRichTextPropertyValue,
11520
11756
  prosemirrorNodeToSection,
11521
11757
  prosemirrorNodesToBlocks,
11758
+ richTextPropertyValueToProsemirror,
11522
11759
  serializeAsCustomBlock,
11523
11760
  shallowProsemirrorNodeToBlock,
11524
11761
  validateDesignSystemVersion,