@supernova-studio/client 0.4.3 → 0.4.5

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.js CHANGED
@@ -1,6 +1,13 @@
1
- "use strict";Object.defineProperty(exports, "__esModule", {value: true}); function _nullishCoalesce(lhs, rhsFn) { if (lhs != null) { return lhs; } else { return rhsFn(); } } function _optionalChain(ops) { let lastAccessLHS = undefined; let value = ops[0]; let i = 1; while (i < ops.length) { const op = ops[i]; const fn = ops[i + 1]; i += 2; if ((op === 'optionalAccess' || op === 'optionalCall') && value == null) { return undefined; } if (op === 'access' || op === 'optionalAccess') { lastAccessLHS = value; value = fn(value); } else if (op === 'call' || op === 'optionalCall') { value = fn((...args) => value.call(lastAccessLHS, ...args)); lastAccessLHS = undefined; } } return value; }// ../model/dist/index.mjs
1
+ "use strict";Object.defineProperty(exports, "__esModule", {value: true}); function _nullishCoalesce(lhs, rhsFn) { if (lhs != null) { return lhs; } else { return rhsFn(); } } function _optionalChain(ops) { let lastAccessLHS = undefined; let value = ops[0]; let i = 1; while (i < ops.length) { const op = ops[i]; const fn = ops[i + 1]; i += 2; if ((op === 'optionalAccess' || op === 'optionalCall') && value == null) { return undefined; } if (op === 'access' || op === 'optionalAccess') { lastAccessLHS = value; value = fn(value); } else if (op === 'call' || op === 'optionalCall') { value = fn((...args) => value.call(lastAccessLHS, ...args)); lastAccessLHS = undefined; } } return value; }// src/api/requests/post-bulk-doc-page-elements.ts
2
2
  var _zod = require('zod');
3
3
 
4
+ // ../model/dist/index.mjs
5
+
6
+
7
+
8
+
9
+
10
+
4
11
 
5
12
 
6
13
 
@@ -332,9 +339,6 @@ var Asset = _zod.z.object({
332
339
  properties: AssetProperties.nullish(),
333
340
  origin: AssetOrigin.nullish()
334
341
  });
335
- function isImportedAsset(asset) {
336
- return !!asset.origin;
337
- }
338
342
  var DataSourceRemoteType = _zod.z.enum(["Figma", "TokenStudio", "FigmaVariablesPlugin"]);
339
343
  var DataSourceUploadRemoteSource = _zod.z.enum(["TokenStudio", "FigmaVariablesPlugin", "Custom"]);
340
344
  var DataSourceFigmaState = _zod.z.enum(["Active", "MissingIntegration", "MissingFileAccess", "MissingFileOwner"]);
@@ -531,9 +535,6 @@ var DesignElementType = DesignTokenType.or(
531
535
  "PageBlock"
532
536
  ])
533
537
  );
534
- function isTokenType(type) {
535
- return DesignTokenType.safeParse(type).success;
536
- }
537
538
  var DesignElementCategory = _zod.z.enum([
538
539
  "Token",
539
540
  "Component",
@@ -871,12 +872,6 @@ var PageBlockV1 = PageBlockBaseV1.extend({
871
872
  () => PageBlockV1.array().nullish().transform((t) => _nullishCoalesce(t, () => ( [])))
872
873
  )
873
874
  });
874
- function traversePageBlocksV1(blocks2, action) {
875
- for (const block of blocks2) {
876
- action(block);
877
- traversePageBlocksV1(block.children, action);
878
- }
879
- }
880
875
  var PageBlockLinkType = _zod.z.enum(["DocumentationItem", "PageHeading", "Url"]);
881
876
  var PageBlockImageType = _zod.z.enum(["Upload", "Asset", "FigmaFrame"]);
882
877
  var PageBlockImageAlignment = _zod.z.enum(["Left", "Center", "Stretch"]);
@@ -1051,9 +1046,55 @@ var PageBlockItemTableValue = _zod.z.object({
1051
1046
  showBorder: _zod.z.boolean().optional(),
1052
1047
  value: _zod.z.array(PageBlockItemTableRow)
1053
1048
  });
1049
+ var RESERVED_OBJECT_ID_PREFIX = "x-sn-reserved-";
1050
+ var SafeIdSchema = _zod.z.string().refine(
1051
+ (value) => {
1052
+ return !value.startsWith(RESERVED_OBJECT_ID_PREFIX);
1053
+ },
1054
+ {
1055
+ message: `ID value can't start with ${RESERVED_OBJECT_ID_PREFIX}`
1056
+ }
1057
+ );
1058
+ var DocumentationPageAssetType = _zod.z.enum(["image", "figmaFrame"]);
1059
+ var DocumentationPageImageAsset = _zod.z.object({
1060
+ type: _zod.z.literal(DocumentationPageAssetType.Enum.image),
1061
+ url: _zod.z.string().url().optional(),
1062
+ id: SafeIdSchema
1063
+ });
1064
+ var DocumentationPageFrameAsset = _zod.z.object({
1065
+ type: _zod.z.literal(DocumentationPageAssetType.Enum.figmaFrame),
1066
+ url: _zod.z.string().url().optional(),
1067
+ figmaFrame: PageBlockFrame
1068
+ });
1069
+ var DocumentationPageAsset = _zod.z.discriminatedUnion("type", [
1070
+ DocumentationPageImageAsset,
1071
+ DocumentationPageFrameAsset
1072
+ ]);
1073
+ var DocumentationItemHeaderAlignmentSchema = _zod.z.enum(["Left", "Center"]);
1074
+ var DocumentationItemHeaderImageScaleTypeSchema = _zod.z.enum(["AspectFill", "AspectFit"]);
1075
+ var DocumentationItemHeaderAlignment = DocumentationItemHeaderAlignmentSchema.enum;
1076
+ var DocumentationItemHeaderImageScaleType = DocumentationItemHeaderImageScaleTypeSchema.enum;
1077
+ var DocumentationItemHeader = _zod.z.object({
1078
+ description: _zod.z.string(),
1079
+ alignment: DocumentationItemHeaderAlignmentSchema,
1080
+ foregroundColor: ColorTokenData.optional(),
1081
+ backgroundColor: ColorTokenData.optional(),
1082
+ backgroundImageAsset: DocumentationPageAsset.optional(),
1083
+ backgroundImageScaleType: DocumentationItemHeaderImageScaleTypeSchema,
1084
+ showBackgroundOverlay: _zod.z.boolean(),
1085
+ showCoverText: _zod.z.boolean(),
1086
+ minHeight: _zod.z.number().optional()
1087
+ });
1088
+ var defaultDocumentationItemHeader = {
1089
+ alignment: DocumentationItemHeaderAlignment.Left,
1090
+ backgroundImageScaleType: DocumentationItemHeaderImageScaleType.AspectFill,
1091
+ description: "",
1092
+ showBackgroundOverlay: false,
1093
+ showCoverText: true
1094
+ };
1054
1095
  var DocumentationItemConfiguration = _zod.z.object({
1055
1096
  showSidebar: _zod.z.boolean(),
1056
- header: _zod.z.any()
1097
+ header: DocumentationItemHeader
1057
1098
  });
1058
1099
  var DocumentationPageDataV1 = _zod.z.object({
1059
1100
  blocks: _zod.z.array(PageBlockV1),
@@ -1096,16 +1137,6 @@ var FigmaFileStructureElementData = _zod.z.object({
1096
1137
  assetsInFile: FigmaFileStructureStatistics
1097
1138
  })
1098
1139
  });
1099
- function figmaFileStructureToMap(root) {
1100
- const map = /* @__PURE__ */ new Map();
1101
- recursiveFigmaFileStructureToMap(root, map);
1102
- return map;
1103
- }
1104
- function recursiveFigmaFileStructureToMap(node, map) {
1105
- map.set(node.id, node);
1106
- for (const child of node.children)
1107
- recursiveFigmaFileStructureToMap(child, map);
1108
- }
1109
1140
  var FigmaNodeReferenceData = _zod.z.object({
1110
1141
  structureElementId: _zod.z.string(),
1111
1142
  nodeId: _zod.z.string(),
@@ -1280,9 +1311,6 @@ var Component = DesignElementBase.extend(DesignElementGroupableRequiredPart.shap
1280
1311
  svg: ComponentAsset.optional(),
1281
1312
  isAsset: _zod.z.boolean()
1282
1313
  });
1283
- function isImportedComponent(component) {
1284
- return !!component.origin;
1285
- }
1286
1314
  var DocumentationPageV1 = DesignElementBase.extend(DesignElementGroupableRequiredPart.shape).extend(DesignElementSlugPart.shape).extend({
1287
1315
  shortPersistentId: _zod.z.string(),
1288
1316
  data: DocumentationPageDataV1
@@ -1312,12 +1340,6 @@ var FigmaFileStructure = DesignElementBase.extend({
1312
1340
  origin: FigmaFileStructureOrigin,
1313
1341
  data: FigmaFileStructureData
1314
1342
  });
1315
- function traverseStructure(node, action) {
1316
- action(node);
1317
- for (const child of node.children) {
1318
- traverseStructure(child, action);
1319
- }
1320
- }
1321
1343
  var FigmaNodeReference = DesignElementBase.extend({
1322
1344
  data: FigmaNodeReferenceData
1323
1345
  });
@@ -1498,21 +1520,6 @@ var DesignTokenTypedData = _zod.z.discriminatedUnion("type", [
1498
1520
  ]);
1499
1521
  var DesignToken = DesignTokenTypedData.and(DesignTokenBase);
1500
1522
  var CreateDesignToken = DesignTokenTypedData.and(CreateDesignTokenBase);
1501
- function extractTokenTypedData(source) {
1502
- return {
1503
- type: source.type,
1504
- data: source.data
1505
- };
1506
- }
1507
- function isImportedDesignToken(designToken) {
1508
- return !!designToken.origin;
1509
- }
1510
- function isDesignTokenOfType(designToken, type) {
1511
- return designToken.type === type;
1512
- }
1513
- function designTokenTypeFilter(type) {
1514
- return (designToken) => isDesignTokenOfType(designToken, type);
1515
- }
1516
1523
  var ThemeOverrideOriginPart = DesignTokenOriginPart;
1517
1524
  var ThemeOverrideOrigin = DesignTokenOrigin;
1518
1525
  var ThemeOverride = DesignTokenTypedData.and(
@@ -1704,12 +1711,6 @@ var DesignTokenImportModelInputBase = ImportModelInputBase.extend(DesignTokenImp
1704
1711
  });
1705
1712
  var DesignTokenImportModel = DesignTokenTypedData.and(DesignTokenImportModelBase);
1706
1713
  var DesignTokenImportModelInput = DesignTokenTypedData.and(DesignTokenImportModelInputBase);
1707
- function isDesignTokenImportModelOfType(designToken, type) {
1708
- return designToken.type === type;
1709
- }
1710
- function designTokenImportModelTypeFilter(type) {
1711
- return (designToken) => isDesignTokenImportModelOfType(designToken, type);
1712
- }
1713
1714
  var FigmaFileStructureNodeImportModelBase = FigmaFileStructureNodeBase.extend({
1714
1715
  image: FigmaPngRenderImportModel
1715
1716
  });
@@ -1730,16 +1731,6 @@ var FigmaFileStructureImportModelInput = ImportModelInputBase.extend(
1730
1731
  ).extend({
1731
1732
  fileVersionId: _zod.z.string()
1732
1733
  });
1733
- function figmaFileStructureImportModelToMap(root) {
1734
- const map = /* @__PURE__ */ new Map();
1735
- recursiveFigmaFileStructureToMap2(root, map);
1736
- return map;
1737
- }
1738
- function recursiveFigmaFileStructureToMap2(node, map) {
1739
- map.set(node.id, node);
1740
- for (const child of node.children)
1741
- recursiveFigmaFileStructureToMap2(child, map);
1742
- }
1743
1734
  var DataSourceImportModel = _zod.z.object({
1744
1735
  id: _zod.z.string(),
1745
1736
  fileName: _zod.z.string().optional(),
@@ -1762,16 +1753,6 @@ var ImportModelCollection = _zod.z.object({
1762
1753
  themes: _zod.z.array(ThemeImportModel).default([]),
1763
1754
  figmaFileStructures: _zod.z.array(FigmaFileStructureImportModel)
1764
1755
  });
1765
- function addImportModelCollections(lhs, rhs) {
1766
- return {
1767
- sources: [...lhs.sources, ...rhs.sources],
1768
- tokens: [...lhs.tokens, ...rhs.tokens],
1769
- components: [...lhs.components, ...rhs.components],
1770
- themeUpdates: [...lhs.themeUpdates, ...rhs.themeUpdates],
1771
- themes: [...lhs.themes, ...rhs.themes],
1772
- figmaFileStructures: [...lhs.figmaFileStructures, ...rhs.figmaFileStructures]
1773
- };
1774
- }
1775
1756
  var ImportWarningType = _zod.z.enum([
1776
1757
  "NoVersionFound",
1777
1758
  "UnsupportedFill",
@@ -2197,12 +2178,6 @@ var DesignSystemUpdateInput = _zod.z.object({
2197
2178
  description: _zod.z.string().min(DS_DESC_MIN_LENGTH2).max(DS_DESC_MAX_LENGTH2).trim().optional(),
2198
2179
  docExporterId: _zod.z.string().optional()
2199
2180
  });
2200
- var SHORT_PERSISTENT_ID_LENGTH = 8;
2201
- function tryParseShortPersistentId(url = "/") {
2202
- const lastUrlPart = url.split("/").pop() || "";
2203
- const shortPersistentId = _optionalChain([lastUrlPart, 'access', _2 => _2.split, 'call', _3 => _3("-"), 'access', _4 => _4.pop, 'call', _5 => _5(), 'optionalAccess', _6 => _6.replaceAll, 'call', _7 => _7(".html", "")]) || null;
2204
- return _optionalChain([shortPersistentId, 'optionalAccess', _8 => _8.length]) === SHORT_PERSISTENT_ID_LENGTH ? shortPersistentId : null;
2205
- }
2206
2181
  var publishedDocEnvironments = ["Live", "Preview"];
2207
2182
  var PublishedDocEnvironment = _zod.z.enum(publishedDocEnvironments);
2208
2183
  var PublishedDocsChecksums = _zod.z.record(_zod.z.string());
@@ -2463,6 +2438,13 @@ var DocumentationPageRoom = Entity.extend({
2463
2438
  documentationPageId: _zod.z.string(),
2464
2439
  liveblocksId: _zod.z.string()
2465
2440
  });
2441
+ var RoomTypeEnum = /* @__PURE__ */ ((RoomTypeEnum2) => {
2442
+ RoomTypeEnum2["DocumentationPage"] = "documentation-page";
2443
+ RoomTypeEnum2["DesignSystemVersion"] = "design-system-version";
2444
+ return RoomTypeEnum2;
2445
+ })(RoomTypeEnum || {});
2446
+ var RoomTypeSchema = _zod.z.nativeEnum(RoomTypeEnum);
2447
+ var RoomType = RoomTypeSchema.enum;
2466
2448
  var AnyRecord = _zod.z.record(_zod.z.any());
2467
2449
  var NpmPackageVersionDist = AnyRecord.and(
2468
2450
  _zod.z.object({
@@ -2521,6 +2503,43 @@ var ContentLoaderPayload = _zod.z.object({
2521
2503
  })
2522
2504
  );
2523
2505
 
2506
+ // src/api/requests/post-bulk-doc-page-elements.ts
2507
+ var CreateBulkElementsInput = _zod.z.object({
2508
+ persistentId: _zod.z.string().uuid(),
2509
+ title: _zod.z.string(),
2510
+ configuration: DocumentationItemConfiguration,
2511
+ parentPersistentId: _zod.z.string().nullish(),
2512
+ afterPersistentId: _zod.z.string().nullish()
2513
+ });
2514
+ var UpdateBulkElementsInput = _zod.z.object({
2515
+ id: _zod.z.string(),
2516
+ title: _zod.z.string().optional(),
2517
+ configuration: DocumentationItemConfiguration.optional(),
2518
+ parentPersistentId: _zod.z.string().optional(),
2519
+ afterPersistentId: _zod.z.string().optional()
2520
+ });
2521
+ var DeleteBulkElementsInput = _zod.z.array(_zod.z.string());
2522
+ var DuplicateBulkElementsInput = _zod.z.object({
2523
+ id: _zod.z.string(),
2524
+ persistentId: _zod.z.string().uuid(),
2525
+ parentPersistentId: _zod.z.string().uuid(),
2526
+ afterPersistentId: _zod.z.string().uuid().nullish()
2527
+ });
2528
+ var BulkEditDocPageElementsInput = _zod.z.object({
2529
+ documentationPages: _zod.z.object({
2530
+ create: _zod.z.array(CreateBulkElementsInput).optional(),
2531
+ update: _zod.z.array(UpdateBulkElementsInput).optional(),
2532
+ delete: DeleteBulkElementsInput.optional(),
2533
+ duplicate: _zod.z.array(DuplicateBulkElementsInput).optional()
2534
+ })
2535
+ });
2536
+
2537
+ // src/api/requests/post-liveblocks-auth.ts
2538
+
2539
+ var PostLiveblocksAuth = _zod.z.object({
2540
+ room: _zod.z.string()
2541
+ });
2542
+
2524
2543
  // src/api/responses/get-block-definitions.ts
2525
2544
 
2526
2545
  var GetBlockDefinitionsResponse = _zod.z.object({
@@ -2686,6 +2705,9 @@ var newSchema = {
2686
2705
  content: "(paragraph|image)+",
2687
2706
  isolating: true,
2688
2707
  attrs: {
2708
+ id: {
2709
+ default: null
2710
+ },
2689
2711
  textAlign: {
2690
2712
  default: "left"
2691
2713
  },
@@ -2746,6 +2768,9 @@ var newSchema = {
2746
2768
  content: "(paragraph|image)+",
2747
2769
  isolating: true,
2748
2770
  attrs: {
2771
+ id: {
2772
+ default: null
2773
+ },
2749
2774
  textAlign: {
2750
2775
  default: "left"
2751
2776
  },
@@ -3295,6 +3320,9 @@ var newSchema = {
3295
3320
  group: "block",
3296
3321
  defining: true,
3297
3322
  attrs: {
3323
+ id: {
3324
+ default: null
3325
+ },
3298
3326
  definitionId: {
3299
3327
  default: "io.supernova.block.blockquote"
3300
3328
  },
@@ -3949,7 +3977,7 @@ function serializeAsRichTextBlock(input) {
3949
3977
  const blockItem = BlockParsingUtils.singleBlockItem(block);
3950
3978
  const textPropertyValue = BlockParsingUtils.richTextPropertyValue(blockItem, richTextProperty.id);
3951
3979
  const enrichedInput = { ...input, richTextPropertyValue: textPropertyValue };
3952
- const style = _nullishCoalesce(_optionalChain([richTextProperty, 'access', _9 => _9.options, 'optionalAccess', _10 => _10.richTextStyle]), () => ( "Default"));
3980
+ const style = _nullishCoalesce(_optionalChain([richTextProperty, 'access', _2 => _2.options, 'optionalAccess', _3 => _3.richTextStyle]), () => ( "Default"));
3953
3981
  switch (style) {
3954
3982
  case "Callout":
3955
3983
  return serializeAsCallout(enrichedInput);
@@ -4005,7 +4033,7 @@ function serializeAsMultiRichTextBlock(input) {
4005
4033
  const blockItem = BlockParsingUtils.singleBlockItem(block);
4006
4034
  const textPropertyValue = BlockParsingUtils.multiRichTextPropertyValue(blockItem, richTextProperty.id);
4007
4035
  const enrichedInput = { ...input, multiRichTextPropertyValue: textPropertyValue };
4008
- const style = _nullishCoalesce(_optionalChain([richTextProperty, 'access', _11 => _11.options, 'optionalAccess', _12 => _12.multiRichTextStyle]), () => ( "Default"));
4036
+ const style = _nullishCoalesce(_optionalChain([richTextProperty, 'access', _4 => _4.options, 'optionalAccess', _5 => _5.multiRichTextStyle]), () => ( "Default"));
4009
4037
  switch (style) {
4010
4038
  case "Default":
4011
4039
  return serializeAsMultiParagraph(enrichedInput);
@@ -4127,7 +4155,7 @@ function serializeTableNode(node) {
4127
4155
  return {
4128
4156
  type: "image",
4129
4157
  attrs: {
4130
- src: _optionalChain([node, 'access', _13 => _13.value, 'optionalAccess', _14 => _14.url])
4158
+ src: _optionalChain([node, 'access', _6 => _6.value, 'optionalAccess', _7 => _7.url])
4131
4159
  }
4132
4160
  };
4133
4161
  case "MultiRichText":
@@ -4177,7 +4205,7 @@ function serializeBlockNodeAttributes(input) {
4177
4205
  };
4178
4206
  }
4179
4207
  function richTextHeadingLevel(property) {
4180
- const style = _optionalChain([property, 'access', _15 => _15.options, 'optionalAccess', _16 => _16.richTextStyle]);
4208
+ const style = _optionalChain([property, 'access', _8 => _8.options, 'optionalAccess', _9 => _9.richTextStyle]);
4181
4209
  if (!style)
4182
4210
  return void 0;
4183
4211
  switch (style) {
@@ -5661,7 +5689,7 @@ function prosemirrorDocToPage(prosemirrorDoc, definitions) {
5661
5689
  const definitionsById = mapByUnique(definitions, (d) => d.id);
5662
5690
  return {
5663
5691
  blocks: (_nullishCoalesce(prosemirrorDoc.content, () => ( []))).map((prosemirrorNode) => {
5664
- const definitionId = _optionalChain([prosemirrorNode, 'access', _17 => _17.attrs, 'optionalAccess', _18 => _18.definitionId]);
5692
+ const definitionId = _optionalChain([prosemirrorNode, 'access', _10 => _10.attrs, 'optionalAccess', _11 => _11.definitionId]);
5665
5693
  if (!definitionId)
5666
5694
  throw new Error(`Node is missing defintion id`);
5667
5695
  if (typeof definitionId !== "string")
@@ -5755,7 +5783,7 @@ function parseAsMultiRichText(prosemirrorNode, definition, property) {
5755
5783
  value: (_nullishCoalesce(prosemirrorNode.content, () => ( []))).map((listItem) => {
5756
5784
  if (listItem.type !== "listitem")
5757
5785
  return null;
5758
- if (!_optionalChain([listItem, 'access', _19 => _19.content, 'optionalAccess', _20 => _20.length]))
5786
+ if (!_optionalChain([listItem, 'access', _12 => _12.content, 'optionalAccess', _13 => _13.length]))
5759
5787
  return parseRichText([]);
5760
5788
  const paragraph = listItem.content[0];
5761
5789
  if (paragraph.type !== "paragraph")
@@ -5794,11 +5822,11 @@ function parseRichTextAttribute(mark) {
5794
5822
  case "code":
5795
5823
  return { type: "Code" };
5796
5824
  case "link":
5797
- const itemId = _optionalChain([mark, 'access', _21 => _21.attrs, 'optionalAccess', _22 => _22.itemId]);
5798
- const href = _optionalChain([mark, 'access', _23 => _23.attrs, 'optionalAccess', _24 => _24.href]);
5825
+ const itemId = _optionalChain([mark, 'access', _14 => _14.attrs, 'optionalAccess', _15 => _15.itemId]);
5826
+ const href = _optionalChain([mark, 'access', _16 => _16.attrs, 'optionalAccess', _17 => _17.href]);
5799
5827
  return {
5800
5828
  type: "Link",
5801
- openInNewWindow: _optionalChain([mark, 'access', _25 => _25.attrs, 'optionalAccess', _26 => _26.target]) !== "_self",
5829
+ openInNewWindow: _optionalChain([mark, 'access', _18 => _18.attrs, 'optionalAccess', _19 => _19.target]) !== "_self",
5802
5830
  documentationItemId: itemId,
5803
5831
  link: href
5804
5832
  };
@@ -5809,17 +5837,17 @@ function parseAsTable(prosemirrorNode, definition, property) {
5809
5837
  const id = parseProsemirrorBlockAttribute(prosemirrorNode, "id");
5810
5838
  const variantId = parseProsemirrorOptionalBlockAttribute(prosemirrorNode, "variantId");
5811
5839
  const hasBorder = parseProsemirrorOptionalBlockAttribute(prosemirrorNode, "hasBorder") !== false;
5812
- const tableChild = _optionalChain([prosemirrorNode, 'access', _27 => _27.content, 'optionalAccess', _28 => _28.find, 'call', _29 => _29((c) => c.type === "table")]);
5840
+ const tableChild = _optionalChain([prosemirrorNode, 'access', _20 => _20.content, 'optionalAccess', _21 => _21.find, 'call', _22 => _22((c) => c.type === "table")]);
5813
5841
  if (!tableChild) {
5814
5842
  return emptyTable(id, variantId, 0);
5815
5843
  }
5816
- const rows = _nullishCoalesce(_optionalChain([tableChild, 'access', _30 => _30.content, 'optionalAccess', _31 => _31.filter, 'call', _32 => _32((c) => c.type === "tableRow" && !!_optionalChain([c, 'access', _33 => _33.content, 'optionalAccess', _34 => _34.length]))]), () => ( []));
5844
+ const rows = _nullishCoalesce(_optionalChain([tableChild, 'access', _23 => _23.content, 'optionalAccess', _24 => _24.filter, 'call', _25 => _25((c) => c.type === "tableRow" && !!_optionalChain([c, 'access', _26 => _26.content, 'optionalAccess', _27 => _27.length]))]), () => ( []));
5817
5845
  if (!rows.length) {
5818
5846
  return emptyTable(id, variantId, 0);
5819
5847
  }
5820
- const rowHeaderCells = _nullishCoalesce(_optionalChain([rows, 'access', _35 => _35[0], 'access', _36 => _36.content, 'optionalAccess', _37 => _37.filter, 'call', _38 => _38((c) => c.type === "tableHeader"), 'access', _39 => _39.length]), () => ( 0));
5821
- const columnHeaderCells = rows.filter((r) => _optionalChain([r, 'access', _40 => _40.content, 'optionalAccess', _41 => _41[0], 'optionalAccess', _42 => _42.type]) === "tableHeader").length;
5822
- const hasHeaderRow = _optionalChain([rows, 'access', _43 => _43[0], 'access', _44 => _44.content, 'optionalAccess', _45 => _45.length]) === rowHeaderCells;
5848
+ const rowHeaderCells = _nullishCoalesce(_optionalChain([rows, 'access', _28 => _28[0], 'access', _29 => _29.content, 'optionalAccess', _30 => _30.filter, 'call', _31 => _31((c) => c.type === "tableHeader"), 'access', _32 => _32.length]), () => ( 0));
5849
+ const columnHeaderCells = rows.filter((r) => _optionalChain([r, 'access', _33 => _33.content, 'optionalAccess', _34 => _34[0], 'optionalAccess', _35 => _35.type]) === "tableHeader").length;
5850
+ const hasHeaderRow = _optionalChain([rows, 'access', _36 => _36[0], 'access', _37 => _37.content, 'optionalAccess', _38 => _38.length]) === rowHeaderCells;
5823
5851
  const hasHeaderColumn = rows.length === columnHeaderCells;
5824
5852
  const tableValue = {
5825
5853
  showBorder: hasBorder,
@@ -6090,7 +6118,7 @@ function parseProsemirrorBlockAttribute(prosemirrorNode, attributeName) {
6090
6118
  return attributeValue;
6091
6119
  }
6092
6120
  function parseProsemirrorOptionalBlockAttribute(prosemirrorNode, attributeName) {
6093
- return _nullishCoalesce(_optionalChain([prosemirrorNode, 'access', _46 => _46.attrs, 'optionalAccess', _47 => _47[attributeName]]), () => ( void 0));
6121
+ return _nullishCoalesce(_optionalChain([prosemirrorNode, 'access', _39 => _39.attrs, 'optionalAccess', _40 => _40[attributeName]]), () => ( void 0));
6094
6122
  }
6095
6123
  function nonNullFilter2(item) {
6096
6124
  return item !== null;
@@ -6124,438 +6152,5 @@ function mapByUnique(items, keyFn) {
6124
6152
 
6125
6153
 
6126
6154
 
6127
-
6128
-
6129
-
6130
-
6131
-
6132
-
6133
-
6134
-
6135
-
6136
-
6137
-
6138
-
6139
-
6140
-
6141
-
6142
-
6143
-
6144
-
6145
-
6146
-
6147
-
6148
-
6149
-
6150
-
6151
-
6152
-
6153
-
6154
-
6155
-
6156
-
6157
-
6158
-
6159
-
6160
-
6161
-
6162
-
6163
-
6164
-
6165
-
6166
-
6167
-
6168
-
6169
-
6170
-
6171
-
6172
-
6173
-
6174
-
6175
-
6176
-
6177
-
6178
-
6179
-
6180
-
6181
-
6182
-
6183
-
6184
-
6185
-
6186
-
6187
-
6188
-
6189
-
6190
-
6191
-
6192
-
6193
-
6194
-
6195
-
6196
-
6197
-
6198
-
6199
-
6200
-
6201
-
6202
-
6203
-
6204
-
6205
-
6206
-
6207
-
6208
-
6209
-
6210
-
6211
-
6212
-
6213
-
6214
-
6215
-
6216
-
6217
-
6218
-
6219
-
6220
-
6221
-
6222
-
6223
-
6224
-
6225
-
6226
-
6227
-
6228
-
6229
-
6230
-
6231
-
6232
-
6233
-
6234
-
6235
-
6236
-
6237
-
6238
-
6239
-
6240
-
6241
-
6242
-
6243
-
6244
-
6245
-
6246
-
6247
-
6248
-
6249
-
6250
-
6251
-
6252
-
6253
-
6254
-
6255
-
6256
-
6257
-
6258
-
6259
-
6260
-
6261
-
6262
-
6263
-
6264
-
6265
-
6266
-
6267
-
6268
-
6269
-
6270
-
6271
-
6272
-
6273
-
6274
-
6275
-
6276
-
6277
-
6278
-
6279
-
6280
-
6281
-
6282
-
6283
-
6284
-
6285
-
6286
-
6287
-
6288
-
6289
-
6290
-
6291
-
6292
-
6293
-
6294
-
6295
-
6296
-
6297
-
6298
-
6299
-
6300
-
6301
-
6302
-
6303
-
6304
-
6305
-
6306
-
6307
-
6308
-
6309
-
6310
-
6311
-
6312
-
6313
-
6314
-
6315
-
6316
-
6317
-
6318
-
6319
-
6320
-
6321
-
6322
-
6323
-
6324
-
6325
-
6326
-
6327
-
6328
-
6329
-
6330
-
6331
-
6332
-
6333
-
6334
-
6335
-
6336
-
6337
-
6338
-
6339
-
6340
-
6341
-
6342
-
6343
-
6344
-
6345
-
6346
-
6347
-
6348
-
6349
-
6350
-
6351
-
6352
-
6353
-
6354
-
6355
-
6356
-
6357
-
6358
-
6359
-
6360
-
6361
-
6362
-
6363
-
6364
-
6365
-
6366
-
6367
-
6368
-
6369
-
6370
-
6371
-
6372
-
6373
-
6374
-
6375
-
6376
-
6377
-
6378
-
6379
-
6380
-
6381
-
6382
-
6383
-
6384
-
6385
-
6386
-
6387
-
6388
-
6389
-
6390
-
6391
-
6392
-
6393
-
6394
-
6395
-
6396
-
6397
-
6398
-
6399
-
6400
-
6401
-
6402
-
6403
-
6404
-
6405
-
6406
-
6407
-
6408
-
6409
-
6410
-
6411
-
6412
-
6413
-
6414
-
6415
-
6416
-
6417
-
6418
-
6419
-
6420
-
6421
-
6422
-
6423
-
6424
-
6425
-
6426
-
6427
-
6428
-
6429
-
6430
-
6431
-
6432
-
6433
-
6434
-
6435
-
6436
-
6437
-
6438
-
6439
-
6440
-
6441
-
6442
-
6443
-
6444
-
6445
-
6446
-
6447
-
6448
-
6449
-
6450
-
6451
-
6452
-
6453
-
6454
-
6455
-
6456
-
6457
-
6458
-
6459
-
6460
-
6461
-
6462
-
6463
-
6464
-
6465
-
6466
-
6467
-
6468
-
6469
-
6470
-
6471
-
6472
-
6473
-
6474
-
6475
-
6476
-
6477
-
6478
-
6479
-
6480
-
6481
-
6482
-
6483
-
6484
-
6485
-
6486
-
6487
-
6488
-
6489
-
6490
-
6491
-
6492
-
6493
-
6494
-
6495
-
6496
-
6497
-
6498
-
6499
-
6500
-
6501
-
6502
-
6503
-
6504
-
6505
-
6506
-
6507
-
6508
-
6509
-
6510
-
6511
-
6512
-
6513
-
6514
-
6515
-
6516
-
6517
-
6518
-
6519
-
6520
-
6521
-
6522
-
6523
-
6524
-
6525
-
6526
-
6527
-
6528
-
6529
-
6530
-
6531
-
6532
-
6533
-
6534
-
6535
-
6536
-
6537
-
6538
-
6539
-
6540
-
6541
-
6542
-
6543
-
6544
-
6545
-
6546
-
6547
-
6548
-
6549
-
6550
-
6551
-
6552
-
6553
-
6554
-
6555
-
6556
-
6557
-
6558
-
6559
-
6560
- exports.Address = Address; exports.Asset = Asset; exports.AssetFontProperties = AssetFontProperties; exports.AssetImportModelInput = AssetImportModelInput; exports.AssetOrigin = AssetOrigin; exports.AssetProperties = AssetProperties; exports.AssetReference = AssetReference; exports.AssetScope = AssetScope; exports.AssetType = AssetType; exports.AssetValue = AssetValue; exports.AuthTokens = AuthTokens; exports.BasePulsarProperty = BasePulsarProperty; exports.BillingDetails = BillingDetails; exports.BillingIntervalSchema = BillingIntervalSchema; exports.BillingType = BillingType; exports.BillingTypeSchema = BillingTypeSchema; exports.BlockDefinitionUtils = BlockDefinitionUtils; exports.BlockParsingUtils = BlockParsingUtils; exports.BlurTokenData = BlurTokenData; exports.BlurType = BlurType; exports.BlurValue = BlurValue; exports.BorderPosition = BorderPosition; exports.BorderRadiusTokenData = BorderRadiusTokenData; exports.BorderRadiusUnit = BorderRadiusUnit; exports.BorderRadiusValue = BorderRadiusValue; exports.BorderStyle = BorderStyle; exports.BorderTokenData = BorderTokenData; exports.BorderValue = BorderValue; exports.BorderWidthTokenData = BorderWidthTokenData; exports.BorderWidthUnit = BorderWidthUnit; exports.BorderWidthValue = BorderWidthValue; exports.BrandedElementGroup = BrandedElementGroup; exports.CardSchema = CardSchema; exports.ChangedImportedFigmaSourceData = ChangedImportedFigmaSourceData; exports.ColorTokenData = ColorTokenData; exports.ColorTokenInlineData = ColorTokenInlineData; exports.ColorValue = ColorValue; exports.Component = Component; exports.ComponentElementData = ComponentElementData; exports.ComponentImportModel = ComponentImportModel; exports.ComponentImportModelInput = ComponentImportModelInput; exports.ComponentOrigin = ComponentOrigin; exports.ComponentOriginPart = ComponentOriginPart; exports.ContentLoadInstruction = ContentLoadInstruction; exports.ContentLoaderPayload = ContentLoaderPayload; exports.CreateDesignToken = CreateDesignToken; exports.CreateWorkspaceInput = CreateWorkspaceInput; exports.CustomDomain = CustomDomain; exports.Customer = Customer; exports.DataSourceAutoImportMode = DataSourceAutoImportMode; exports.DataSourceFigmaFileData = DataSourceFigmaFileData; exports.DataSourceFigmaFileVersionData = DataSourceFigmaFileVersionData; exports.DataSourceFigmaImportMetadata = DataSourceFigmaImportMetadata; exports.DataSourceFigmaRemote = DataSourceFigmaRemote; exports.DataSourceFigmaScope = DataSourceFigmaScope; exports.DataSourceFigmaState = DataSourceFigmaState; exports.DataSourceImportModel = DataSourceImportModel; exports.DataSourceRemote = DataSourceRemote; exports.DataSourceRemoteType = DataSourceRemoteType; exports.DataSourceStats = DataSourceStats; exports.DataSourceTokenStudioRemote = DataSourceTokenStudioRemote; exports.DataSourceUploadImportMetadata = DataSourceUploadImportMetadata; exports.DataSourceUploadRemote = DataSourceUploadRemote; exports.DataSourceUploadRemoteSource = DataSourceUploadRemoteSource; exports.DataSourceVersion = DataSourceVersion; exports.DesignElement = DesignElement; exports.DesignElementBase = DesignElementBase; exports.DesignElementBrandedPart = DesignElementBrandedPart; exports.DesignElementCategory = DesignElementCategory; exports.DesignElementGroupableBase = DesignElementGroupableBase; exports.DesignElementGroupablePart = DesignElementGroupablePart; exports.DesignElementGroupableRequiredPart = DesignElementGroupableRequiredPart; exports.DesignElementImportedBase = DesignElementImportedBase; exports.DesignElementOrigin = DesignElementOrigin; exports.DesignElementSlugPart = DesignElementSlugPart; exports.DesignElementType = DesignElementType; exports.DesignSystem = DesignSystem; exports.DesignSystemCreateInput = DesignSystemCreateInput; exports.DesignSystemElementExportProps = DesignSystemElementExportProps; exports.DesignSystemSwitcher = DesignSystemSwitcher; exports.DesignSystemUpdateInput = DesignSystemUpdateInput; exports.DesignSystemVersionRoom = DesignSystemVersionRoom; exports.DesignSystemWithWorkspace = DesignSystemWithWorkspace; exports.DesignToken = DesignToken; exports.DesignTokenImportModel = DesignTokenImportModel; exports.DesignTokenImportModelBase = DesignTokenImportModelBase; exports.DesignTokenImportModelInput = DesignTokenImportModelInput; exports.DesignTokenImportModelInputBase = DesignTokenImportModelInputBase; exports.DesignTokenOrigin = DesignTokenOrigin; exports.DesignTokenOriginPart = DesignTokenOriginPart; exports.DesignTokenType = DesignTokenType; exports.DesignTokenTypedData = DesignTokenTypedData; exports.DimensionTokenData = DimensionTokenData; exports.DimensionUnit = DimensionUnit; exports.DimensionValue = DimensionValue; exports.DocumentationGroupBehavior = DocumentationGroupBehavior; exports.DocumentationGroupDTO = DocumentationGroupDTO; exports.DocumentationItemConfiguration = DocumentationItemConfiguration; exports.DocumentationPage = DocumentationPage; exports.DocumentationPageDTOV1 = DocumentationPageDTOV1; exports.DocumentationPageDataV1 = DocumentationPageDataV1; exports.DocumentationPageDataV2 = DocumentationPageDataV2; exports.DocumentationPageEditorModel = DocumentationPageEditorModel; exports.DocumentationPageElementDataV1 = DocumentationPageElementDataV1; exports.DocumentationPageElementDataV2 = DocumentationPageElementDataV2; exports.DocumentationPageGroup = DocumentationPageGroup; exports.DocumentationPageRoom = DocumentationPageRoom; exports.DocumentationPageV1 = DocumentationPageV1; exports.DocumentationPageV2 = DocumentationPageV2; exports.DurationTokenData = DurationTokenData; exports.DurationUnit = DurationUnit; exports.DurationValue = DurationValue; exports.ElementGroup = ElementGroup; exports.ElementGroupData = ElementGroupData; exports.ElementGroupElementData = ElementGroupElementData; exports.ElementPropertyDefinition = ElementPropertyDefinition; exports.ElementPropertyDefinitionOption = ElementPropertyDefinitionOption; exports.ElementPropertyLinkType = ElementPropertyLinkType; exports.ElementPropertyTargetType = ElementPropertyTargetType; exports.ElementPropertyType = ElementPropertyType; exports.ElementPropertyValue = ElementPropertyValue; exports.Entity = Entity; exports.ExportJob = ExportJob; exports.ExportJobStatus = ExportJobStatus; exports.Exporter = Exporter; exports.ExporterDetails = ExporterDetails; exports.ExporterSource = ExporterSource; exports.ExporterTag = ExporterTag; exports.ExporterType = ExporterType; exports.ExporterWorkspaceMembership = ExporterWorkspaceMembership; exports.ExporterWorkspaceMembershipRole = ExporterWorkspaceMembershipRole; exports.ExternalOAuthRequest = ExternalOAuthRequest; exports.ExternalServiceType = ExternalServiceType; exports.FeatureFlag = FeatureFlag; exports.FeatureFlagMap = FeatureFlagMap; exports.FeaturesSummary = FeaturesSummary; exports.FigmaFileAccessData = FigmaFileAccessData; exports.FigmaFileDownloadScope = FigmaFileDownloadScope; exports.FigmaFileStructure = FigmaFileStructure; exports.FigmaFileStructureData = FigmaFileStructureData; exports.FigmaFileStructureElementData = FigmaFileStructureElementData; exports.FigmaFileStructureImportModel = FigmaFileStructureImportModel; exports.FigmaFileStructureImportModelInput = FigmaFileStructureImportModelInput; exports.FigmaFileStructureNode = FigmaFileStructureNode; exports.FigmaFileStructureNodeBase = FigmaFileStructureNodeBase; exports.FigmaFileStructureNodeImportModel = FigmaFileStructureNodeImportModel; exports.FigmaFileStructureNodeType = FigmaFileStructureNodeType; exports.FigmaFileStructureOrigin = FigmaFileStructureOrigin; exports.FigmaFileStructureStatistics = FigmaFileStructureStatistics; exports.FigmaImportBaseContext = FigmaImportBaseContext; exports.FigmaImportContextWithDownloadScopes = FigmaImportContextWithDownloadScopes; exports.FigmaNodeReference = FigmaNodeReference; exports.FigmaNodeReferenceData = FigmaNodeReferenceData; exports.FigmaNodeReferenceElementData = FigmaNodeReferenceElementData; exports.FigmaPngRenderImportModel = FigmaPngRenderImportModel; exports.FigmaRenderFormat = FigmaRenderFormat; exports.FigmaRenderImportModel = FigmaRenderImportModel; exports.FigmaSvgRenderImportModel = FigmaSvgRenderImportModel; exports.FileStructureStats = FileStructureStats; exports.FlaggedFeature = FlaggedFeature; exports.FontFamilyTokenData = FontFamilyTokenData; exports.FontFamilyValue = FontFamilyValue; exports.FontSizeTokenData = FontSizeTokenData; exports.FontSizeUnit = FontSizeUnit; exports.FontSizeValue = FontSizeValue; exports.FontWeightTokenData = FontWeightTokenData; exports.FontWeightValue = FontWeightValue; exports.GetBlockDefinitionsResponse = GetBlockDefinitionsResponse; exports.GitProvider = GitProvider; exports.GitProviderNames = GitProviderNames; exports.GradientLayerData = GradientLayerData; exports.GradientLayerValue = GradientLayerValue; exports.GradientStop = GradientStop; exports.GradientTokenData = GradientTokenData; exports.GradientTokenValue = GradientTokenValue; exports.GradientType = GradientType; exports.HANDLE_MAX_LENGTH = HANDLE_MAX_LENGTH; exports.HANDLE_MIN_LENGTH = HANDLE_MIN_LENGTH; exports.ImageImportModel = ImageImportModel; exports.ImageImportModelType = ImageImportModelType; exports.ImportFunctionInput = ImportFunctionInput; exports.ImportJob = ImportJob; exports.ImportJobOperation = ImportJobOperation; exports.ImportJobState = ImportJobState; exports.ImportModelBase = ImportModelBase; exports.ImportModelCollection = ImportModelCollection; exports.ImportModelInputBase = ImportModelInputBase; exports.ImportModelInputCollection = ImportModelInputCollection; exports.ImportWarning = ImportWarning; exports.ImportWarningType = ImportWarningType; exports.ImportedFigmaSourceData = ImportedFigmaSourceData; exports.IntegrationAuthType = IntegrationAuthType; exports.IntegrationTokenSchema = IntegrationTokenSchema; exports.IntegrationUserInfo = IntegrationUserInfo; exports.InternalStatus = InternalStatus; exports.InternalStatusSchema = InternalStatusSchema; exports.InvoiceCouponSchema = InvoiceCouponSchema; exports.InvoiceLineSchema = InvoiceLineSchema; exports.InvoiceSchema = InvoiceSchema; exports.LetterSpacingTokenData = LetterSpacingTokenData; exports.LetterSpacingUnit = LetterSpacingUnit; exports.LetterSpacingValue = LetterSpacingValue; exports.LineHeightTokenData = LineHeightTokenData; exports.LineHeightUnit = LineHeightUnit; exports.LineHeightValue = LineHeightValue; exports.MAX_MEMBERS_COUNT = MAX_MEMBERS_COUNT; exports.NpmPackage = NpmPackage; exports.NpmProxyToken = NpmProxyToken; exports.NpmProxyTokenPayload = NpmProxyTokenPayload; exports.NpmRegistrCustomAuthConfig = NpmRegistrCustomAuthConfig; exports.NpmRegistryAuthConfig = NpmRegistryAuthConfig; exports.NpmRegistryAuthType = NpmRegistryAuthType; exports.NpmRegistryBasicAuthConfig = NpmRegistryBasicAuthConfig; exports.NpmRegistryBearerAuthConfig = NpmRegistryBearerAuthConfig; exports.NpmRegistryConfig = NpmRegistryConfig; exports.NpmRegistryNoAuthConfig = NpmRegistryNoAuthConfig; exports.NpmRegistryType = NpmRegistryType; exports.OAuthProvider = OAuthProvider; exports.OAuthProviderNames = OAuthProviderNames; exports.OAuthProviderSchema = OAuthProviderSchema; exports.ObjectMeta = ObjectMeta; exports.OpacityTokenData = OpacityTokenData; exports.OpacityValue = OpacityValue; exports.PageBlockAlignment = PageBlockAlignment; exports.PageBlockAppearanceV2 = PageBlockAppearanceV2; exports.PageBlockAsset = PageBlockAsset; exports.PageBlockAssetComponent = PageBlockAssetComponent; exports.PageBlockAssetType = PageBlockAssetType; exports.PageBlockBehaviorDataType = PageBlockBehaviorDataType; exports.PageBlockBehaviorSelectionType = PageBlockBehaviorSelectionType; exports.PageBlockCalloutType = PageBlockCalloutType; exports.PageBlockCategory = PageBlockCategory; exports.PageBlockCodeLanguage = PageBlockCodeLanguage; exports.PageBlockCustomBlockPropertyImageValue = PageBlockCustomBlockPropertyImageValue; exports.PageBlockCustomBlockPropertyValue = PageBlockCustomBlockPropertyValue; exports.PageBlockDataV2 = PageBlockDataV2; exports.PageBlockDefinition = PageBlockDefinition; exports.PageBlockDefinitionAppearance = PageBlockDefinitionAppearance; exports.PageBlockDefinitionBehavior = PageBlockDefinitionBehavior; exports.PageBlockDefinitionBooleanPropertyStyle = PageBlockDefinitionBooleanPropertyStyle; exports.PageBlockDefinitionItem = PageBlockDefinitionItem; exports.PageBlockDefinitionLayout = PageBlockDefinitionLayout; exports.PageBlockDefinitionLayoutAlign = PageBlockDefinitionLayoutAlign; exports.PageBlockDefinitionLayoutBase = PageBlockDefinitionLayoutBase; exports.PageBlockDefinitionLayoutGap = PageBlockDefinitionLayoutGap; exports.PageBlockDefinitionLayoutResizing = PageBlockDefinitionLayoutResizing; exports.PageBlockDefinitionLayoutType = PageBlockDefinitionLayoutType; exports.PageBlockDefinitionMultiRichTextPropertyStyle = PageBlockDefinitionMultiRichTextPropertyStyle; exports.PageBlockDefinitionMultiSelectPropertyStyle = PageBlockDefinitionMultiSelectPropertyStyle; exports.PageBlockDefinitionOnboarding = PageBlockDefinitionOnboarding; exports.PageBlockDefinitionProperty = PageBlockDefinitionProperty; exports.PageBlockDefinitionPropertyOptions = PageBlockDefinitionPropertyOptions; exports.PageBlockDefinitionPropertyType = PageBlockDefinitionPropertyType; exports.PageBlockDefinitionRichTextPropertyStyle = PageBlockDefinitionRichTextPropertyStyle; exports.PageBlockDefinitionSingleSelectPropertyStyle = PageBlockDefinitionSingleSelectPropertyStyle; exports.PageBlockDefinitionTextPropertyStyle = PageBlockDefinitionTextPropertyStyle; exports.PageBlockDefinitionVariant = PageBlockDefinitionVariant; exports.PageBlockEditorModel = PageBlockEditorModel; exports.PageBlockEditorModelV2 = PageBlockEditorModelV2; exports.PageBlockFigmaFrameProperties = PageBlockFigmaFrameProperties; exports.PageBlockFrame = PageBlockFrame; exports.PageBlockFrameOrigin = PageBlockFrameOrigin; exports.PageBlockImageAlignment = PageBlockImageAlignment; exports.PageBlockImageType = PageBlockImageType; exports.PageBlockItemAssetPropertyValue = PageBlockItemAssetPropertyValue; exports.PageBlockItemAssetValue = PageBlockItemAssetValue; exports.PageBlockItemBooleanValue = PageBlockItemBooleanValue; exports.PageBlockItemCodeValue = PageBlockItemCodeValue; exports.PageBlockItemColorValue = PageBlockItemColorValue; exports.PageBlockItemComponentPropertyValue = PageBlockItemComponentPropertyValue; exports.PageBlockItemComponentValue = PageBlockItemComponentValue; exports.PageBlockItemDividerValue = PageBlockItemDividerValue; exports.PageBlockItemEmbedValue = PageBlockItemEmbedValue; exports.PageBlockItemImageReference = PageBlockItemImageReference; exports.PageBlockItemImageValue = PageBlockItemImageValue; exports.PageBlockItemMarkdownValue = PageBlockItemMarkdownValue; exports.PageBlockItemMultiRichTextValue = PageBlockItemMultiRichTextValue; exports.PageBlockItemMultiSelectValue = PageBlockItemMultiSelectValue; exports.PageBlockItemNumberValue = PageBlockItemNumberValue; exports.PageBlockItemRichTextValue = PageBlockItemRichTextValue; exports.PageBlockItemSandboxValue = PageBlockItemSandboxValue; exports.PageBlockItemSingleSelectValue = PageBlockItemSingleSelectValue; exports.PageBlockItemStorybookValue = PageBlockItemStorybookValue; exports.PageBlockItemTableCell = PageBlockItemTableCell; exports.PageBlockItemTableImageNode = PageBlockItemTableImageNode; exports.PageBlockItemTableMultiRichTextNode = PageBlockItemTableMultiRichTextNode; exports.PageBlockItemTableNode = PageBlockItemTableNode; exports.PageBlockItemTableRichTextNode = PageBlockItemTableRichTextNode; exports.PageBlockItemTableRow = PageBlockItemTableRow; exports.PageBlockItemTableValue = PageBlockItemTableValue; exports.PageBlockItemTextValue = PageBlockItemTextValue; exports.PageBlockItemTokenPropertyValue = PageBlockItemTokenPropertyValue; exports.PageBlockItemTokenTypeValue = PageBlockItemTokenTypeValue; exports.PageBlockItemTokenValue = PageBlockItemTokenValue; exports.PageBlockItemUntypedValue = PageBlockItemUntypedValue; exports.PageBlockItemUrlValue = PageBlockItemUrlValue; exports.PageBlockItemV2 = PageBlockItemV2; exports.PageBlockLinkPreview = PageBlockLinkPreview; exports.PageBlockLinkType = PageBlockLinkType; exports.PageBlockLinkV2 = PageBlockLinkV2; exports.PageBlockRenderCodeProperties = PageBlockRenderCodeProperties; exports.PageBlockShortcut = PageBlockShortcut; exports.PageBlockTableCellAlignment = PageBlockTableCellAlignment; exports.PageBlockTableColumn = PageBlockTableColumn; exports.PageBlockTableProperties = PageBlockTableProperties; exports.PageBlockText = PageBlockText; exports.PageBlockTextSpan = PageBlockTextSpan; exports.PageBlockTextSpanAttribute = PageBlockTextSpanAttribute; exports.PageBlockTextSpanAttributeType = PageBlockTextSpanAttributeType; exports.PageBlockTheme = PageBlockTheme; exports.PageBlockThemeType = PageBlockThemeType; exports.PageBlockTilesAlignment = PageBlockTilesAlignment; exports.PageBlockTilesLayout = PageBlockTilesLayout; exports.PageBlockTypeV1 = PageBlockTypeV1; exports.PageBlockUrlPreview = PageBlockUrlPreview; exports.PageBlockV1 = PageBlockV1; exports.PageBlockV2 = PageBlockV2; exports.ParagraphIndentTokenData = ParagraphIndentTokenData; exports.ParagraphIndentUnit = ParagraphIndentUnit; exports.ParagraphIndentValue = ParagraphIndentValue; exports.ParagraphSpacingTokenData = ParagraphSpacingTokenData; exports.ParagraphSpacingUnit = ParagraphSpacingUnit; exports.ParagraphSpacingValue = ParagraphSpacingValue; exports.PeriodSchema = PeriodSchema; exports.PersonalAccessToken = PersonalAccessToken; exports.PluginOAuthRequestSchema = PluginOAuthRequestSchema; exports.Point2D = Point2D; exports.PostStripeCheckoutBodyInputSchema = PostStripeCheckoutBodyInputSchema; exports.PostStripeCheckoutOutputSchema = PostStripeCheckoutOutputSchema; exports.PostStripePortalSessionBodyInputSchema = PostStripePortalSessionBodyInputSchema; exports.PostStripePortalSessionOutputSchema = PostStripePortalSessionOutputSchema; exports.PostStripePortalUpdateSessionBodyInputSchema = PostStripePortalUpdateSessionBodyInputSchema; exports.PriceSchema = PriceSchema; exports.ProductCode = ProductCode; exports.ProductCodeSchema = ProductCodeSchema; exports.ProductCopyTokenData = ProductCopyTokenData; exports.ProductCopyValue = ProductCopyValue; exports.PublishedDoc = PublishedDoc; exports.PublishedDocEnvironment = PublishedDocEnvironment; exports.PublishedDocRoutingVersion = PublishedDocRoutingVersion; exports.PublishedDocsChecksums = PublishedDocsChecksums; exports.PulsarContributionBlock = PulsarContributionBlock; exports.PulsarContributionConfigurationProperty = PulsarContributionConfigurationProperty; exports.PulsarContributionVariant = PulsarContributionVariant; exports.PulsarPropertyType = PulsarPropertyType; exports.SHORT_PERSISTENT_ID_LENGTH = SHORT_PERSISTENT_ID_LENGTH; exports.Session = Session; exports.SessionData = SessionData; exports.ShadowLayerValue = ShadowLayerValue; exports.ShadowTokenData = ShadowTokenData; exports.ShadowType = ShadowType; exports.ShallowDesignElement = ShallowDesignElement; exports.Size = Size; exports.SizeOrUndefined = SizeOrUndefined; exports.SizeTokenData = SizeTokenData; exports.SizeUnit = SizeUnit; exports.SizeValue = SizeValue; exports.SourceImportComponentSummary = SourceImportComponentSummary; exports.SourceImportFrameSummary = SourceImportFrameSummary; exports.SourceImportSummary = SourceImportSummary; exports.SourceImportSummaryByTokenType = SourceImportSummaryByTokenType; exports.SourceImportTokenSummary = SourceImportTokenSummary; exports.SpaceTokenData = SpaceTokenData; exports.SpaceUnit = SpaceUnit; exports.SpaceValue = SpaceValue; exports.SsoProvider = SsoProvider; exports.StringTokenData = StringTokenData; exports.StringValue = StringValue; exports.StripeSubscriptionStatus = StripeSubscriptionStatus; exports.StripeSubscriptionStatusSchema = StripeSubscriptionStatusSchema; exports.Subscription = Subscription; exports.TextCase = TextCase; exports.TextCaseTokenData = TextCaseTokenData; exports.TextCaseValue = TextCaseValue; exports.TextDecoration = TextDecoration; exports.TextDecorationTokenData = TextDecorationTokenData; exports.TextDecorationValue = TextDecorationValue; exports.Theme = Theme; exports.ThemeElementData = ThemeElementData; exports.ThemeImportModel = ThemeImportModel; exports.ThemeImportModelInput = ThemeImportModelInput; exports.ThemeOrigin = ThemeOrigin; exports.ThemeOriginObject = ThemeOriginObject; exports.ThemeOriginPart = ThemeOriginPart; exports.ThemeOriginSource = ThemeOriginSource; exports.ThemeOverride = ThemeOverride; exports.ThemeOverrideImportModel = ThemeOverrideImportModel; exports.ThemeOverrideImportModelBase = ThemeOverrideImportModelBase; exports.ThemeOverrideImportModelInput = ThemeOverrideImportModelInput; exports.ThemeOverrideOrigin = ThemeOverrideOrigin; exports.ThemeOverrideOriginPart = ThemeOverrideOriginPart; exports.ThemeUpdateImportModel = ThemeUpdateImportModel; exports.ThemeUpdateImportModelInput = ThemeUpdateImportModelInput; exports.TokenDataAliasSchema = TokenDataAliasSchema; exports.TypographyTokenData = TypographyTokenData; exports.TypographyValue = TypographyValue; exports.UrlImageImportModel = UrlImageImportModel; exports.User = User; exports.UserIdentity = UserIdentity; exports.UserInvite = UserInvite; exports.UserInvites = UserInvites; exports.UserLinkedIntegrations = UserLinkedIntegrations; exports.UserOnboarding = UserOnboarding; exports.UserOnboardingDepartment = UserOnboardingDepartment; exports.UserOnboardingJobLevel = UserOnboardingJobLevel; exports.UserProfile = UserProfile; exports.UserSession = UserSession; exports.Visibility = Visibility; exports.VisibilityTokenData = VisibilityTokenData; exports.VisibilityValue = VisibilityValue; exports.Workspace = Workspace; exports.WorkspaceContext = WorkspaceContext; exports.WorkspaceInvitation = WorkspaceInvitation; exports.WorkspaceIpSettings = WorkspaceIpSettings; exports.WorkspaceIpWhitelistEntry = WorkspaceIpWhitelistEntry; exports.WorkspaceMembership = WorkspaceMembership; exports.WorkspaceProfile = WorkspaceProfile; exports.WorkspaceRole = WorkspaceRole; exports.WorkspaceRoleSchema = WorkspaceRoleSchema; exports.WorkspaceWithDesignSystems = WorkspaceWithDesignSystems; exports.ZIndexTokenData = ZIndexTokenData; exports.ZIndexUnit = ZIndexUnit; exports.ZIndexValue = ZIndexValue; exports.addImportModelCollections = addImportModelCollections; exports.blockDefinitionForBlock = blockDefinitionForBlock; exports.blockToProsemirrorNode = blockToProsemirrorNode; exports.designTokenImportModelTypeFilter = designTokenImportModelTypeFilter; exports.designTokenTypeFilter = designTokenTypeFilter; exports.extractTokenTypedData = extractTokenTypedData; exports.figmaFileStructureImportModelToMap = figmaFileStructureImportModelToMap; exports.figmaFileStructureToMap = figmaFileStructureToMap; exports.getMockPageBlockDefinitions = getMockPageBlockDefinitions; exports.isDesignTokenImportModelOfType = isDesignTokenImportModelOfType; exports.isDesignTokenOfType = isDesignTokenOfType; exports.isImportedAsset = isImportedAsset; exports.isImportedComponent = isImportedComponent; exports.isImportedDesignToken = isImportedDesignToken; exports.isTokenType = isTokenType; exports.nullishToOptional = nullishToOptional; exports.pageToProsemirrorDoc = pageToProsemirrorDoc; exports.pageToYXmlFragment = pageToYXmlFragment; exports.pmSchema = pmSchema; exports.prosemirrorDocToPage = prosemirrorDocToPage; exports.prosemirrorNodeToBlock = prosemirrorNodeToBlock; exports.publishedDocEnvironments = publishedDocEnvironments; exports.serializeAsCustomBlock = serializeAsCustomBlock; exports.tokenAliasOrValue = tokenAliasOrValue; exports.tokenElementTypes = tokenElementTypes; exports.traversePageBlocksV1 = traversePageBlocksV1; exports.traverseStructure = traverseStructure; exports.tryParseShortPersistentId = tryParseShortPersistentId; exports.yXmlFragmetToPage = yXmlFragmetToPage; exports.zodCreateInputOmit = zodCreateInputOmit; exports.zodUpdateInputOmit = zodUpdateInputOmit;
6155
+ exports.BlockDefinitionUtils = BlockDefinitionUtils; exports.BlockParsingUtils = BlockParsingUtils; exports.BulkEditDocPageElementsInput = BulkEditDocPageElementsInput; exports.CreateBulkElementsInput = CreateBulkElementsInput; exports.DeleteBulkElementsInput = DeleteBulkElementsInput; exports.DocumentationPageEditorModel = DocumentationPageEditorModel; exports.DuplicateBulkElementsInput = DuplicateBulkElementsInput; exports.GetBlockDefinitionsResponse = GetBlockDefinitionsResponse; exports.PageBlockEditorModel = PageBlockEditorModel; exports.PostLiveblocksAuth = PostLiveblocksAuth; exports.UpdateBulkElementsInput = UpdateBulkElementsInput; exports.blockDefinitionForBlock = blockDefinitionForBlock; exports.blockToProsemirrorNode = blockToProsemirrorNode; exports.getMockPageBlockDefinitions = getMockPageBlockDefinitions; exports.pageToProsemirrorDoc = pageToProsemirrorDoc; exports.pageToYXmlFragment = pageToYXmlFragment; exports.pmSchema = pmSchema; exports.prosemirrorDocToPage = prosemirrorDocToPage; exports.prosemirrorNodeToBlock = prosemirrorNodeToBlock; exports.serializeAsCustomBlock = serializeAsCustomBlock; exports.yXmlFragmetToPage = yXmlFragmetToPage;
6561
6156
  //# sourceMappingURL=index.js.map