@supernova-studio/client 0.3.1 → 0.4.1

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.d.mts CHANGED
@@ -1,5 +1,5 @@
1
1
  import * as _supernova_studio_model from '@supernova-studio/model';
2
- import { PageBlockItemUntypedValue, PageBlockDefinition, PageBlockItemV2, PageBlockItemRichTextValue, PageBlockItemMultiRichTextValue, PageBlockItemEmbedValue, PageBlockDefinitionPropertyType } from '@supernova-studio/model';
2
+ import { PageBlockItemUntypedValue, PageBlockDefinition, PageBlockItemV2, PageBlockItemRichTextValue, PageBlockItemMultiRichTextValue, PageBlockItemTableValue, PageBlockItemEmbedValue, PageBlockDefinitionPropertyType } from '@supernova-studio/model';
3
3
  export * from '@supernova-studio/model';
4
4
  import { z } from 'zod';
5
5
  import { Schema } from 'prosemirror-model';
@@ -1459,6 +1459,7 @@ declare const BlockParsingUtils: {
1459
1459
  };
1460
1460
  richTextPropertyValue(item: PageBlockItemV2, propertyKey: string): PageBlockItemRichTextValue;
1461
1461
  multiRichTextPropertyValue(item: PageBlockItemV2, propertyKey: string): PageBlockItemMultiRichTextValue;
1462
+ tablePropertyValue(item: PageBlockItemV2, propertyKey: string): PageBlockItemTableValue;
1462
1463
  embedPropertyValue(item: PageBlockItemV2, propertyKey: string): PageBlockItemEmbedValue;
1463
1464
  objectPropertyValue(item: PageBlockItemV2, propertyKey: string): {
1464
1465
  value?: any;
package/dist/index.d.ts CHANGED
@@ -1,5 +1,5 @@
1
1
  import * as _supernova_studio_model from '@supernova-studio/model';
2
- import { PageBlockItemUntypedValue, PageBlockDefinition, PageBlockItemV2, PageBlockItemRichTextValue, PageBlockItemMultiRichTextValue, PageBlockItemEmbedValue, PageBlockDefinitionPropertyType } from '@supernova-studio/model';
2
+ import { PageBlockItemUntypedValue, PageBlockDefinition, PageBlockItemV2, PageBlockItemRichTextValue, PageBlockItemMultiRichTextValue, PageBlockItemTableValue, PageBlockItemEmbedValue, PageBlockDefinitionPropertyType } from '@supernova-studio/model';
3
3
  export * from '@supernova-studio/model';
4
4
  import { z } from 'zod';
5
5
  import { Schema } from 'prosemirror-model';
@@ -1459,6 +1459,7 @@ declare const BlockParsingUtils: {
1459
1459
  };
1460
1460
  richTextPropertyValue(item: PageBlockItemV2, propertyKey: string): PageBlockItemRichTextValue;
1461
1461
  multiRichTextPropertyValue(item: PageBlockItemV2, propertyKey: string): PageBlockItemMultiRichTextValue;
1462
+ tablePropertyValue(item: PageBlockItemV2, propertyKey: string): PageBlockItemTableValue;
1462
1463
  embedPropertyValue(item: PageBlockItemV2, propertyKey: string): PageBlockItemEmbedValue;
1463
1464
  objectPropertyValue(item: PageBlockItemV2, propertyKey: string): {
1464
1465
  value?: any;
package/dist/index.js CHANGED
@@ -880,6 +880,7 @@ function traversePageBlocksV1(blocks2, action) {
880
880
  var PageBlockLinkType = _zod.z.enum(["DocumentationItem", "PageHeading", "Url"]);
881
881
  var PageBlockImageType = _zod.z.enum(["Upload", "Asset", "FigmaFrame"]);
882
882
  var PageBlockImageAlignment = _zod.z.enum(["Left", "Center", "Stretch"]);
883
+ var PageBlockTableCellAlignment = _zod.z.enum(["Left", "Center", "Right"]);
883
884
  var PageBlockAppearanceV2 = _zod.z.object({
884
885
  itemBackgroundColor: ColorValue
885
886
  });
@@ -994,9 +995,6 @@ var PageBlockItemStorybookValue = _zod.z.object({
994
995
  showAddons: _zod.z.boolean().optional(),
995
996
  value: _zod.z.string()
996
997
  });
997
- var PageBlockItemTableValue = _zod.z.object({
998
- value: _zod.z.any()
999
- });
1000
998
  var PageBlockItemTextValue = _zod.z.object({
1001
999
  value: _zod.z.string()
1002
1000
  });
@@ -1021,6 +1019,39 @@ var PageBlockItemTokenTypeValue = _zod.z.object({
1021
1019
  var PageBlockItemUrlValue = _zod.z.object({
1022
1020
  value: _zod.z.string()
1023
1021
  });
1022
+ var PageBlockItemTableRichTextNode = _zod.z.object({
1023
+ type: _zod.z.literal("RichText"),
1024
+ value: PageBlockItemRichTextValue.shape.value
1025
+ });
1026
+ var PageBlockItemTableMultiRichTextNode = _zod.z.object({
1027
+ type: _zod.z.literal("MultiRichText"),
1028
+ value: PageBlockItemMultiRichTextValue.shape.value
1029
+ });
1030
+ var PageBlockItemTableImageNode = _zod.z.object({
1031
+ type: _zod.z.literal("Image"),
1032
+ value: PageBlockItemImageValue.shape.value
1033
+ });
1034
+ var PageBlockItemTableNode = _zod.z.discriminatedUnion("type", [
1035
+ PageBlockItemTableRichTextNode,
1036
+ PageBlockItemTableMultiRichTextNode,
1037
+ PageBlockItemTableImageNode
1038
+ ]);
1039
+ var PageBlockItemTableCell = _zod.z.object({
1040
+ id: _zod.z.string(),
1041
+ nodes: _zod.z.array(PageBlockItemTableNode),
1042
+ columnWidth: _zod.z.number().optional(),
1043
+ alignment: PageBlockTableCellAlignment
1044
+ });
1045
+ var PageBlockItemTableRow = _zod.z.object({
1046
+ cells: _zod.z.array(PageBlockItemTableCell)
1047
+ });
1048
+ var PageBlockItemTableValue = _zod.z.object({
1049
+ highlightHeaderColumn: _zod.z.boolean().optional(),
1050
+ highlightHeaderRow: _zod.z.boolean().optional(),
1051
+ showBorder: _zod.z.boolean().optional(),
1052
+ width: _zod.z.number().optional(),
1053
+ value: _zod.z.array(PageBlockItemTableRow)
1054
+ });
1024
1055
  var DocumentationItemConfiguration = _zod.z.object({
1025
1056
  showSidebar: _zod.z.boolean(),
1026
1057
  header: _zod.z.any()
@@ -3782,6 +3813,11 @@ var BlockParsingUtils = {
3782
3813
  const richText = PageBlockItemMultiRichTextValue.parse(objectValue);
3783
3814
  return richText;
3784
3815
  },
3816
+ tablePropertyValue(item, propertyKey) {
3817
+ const objectValue = this.objectPropertyValue(item, propertyKey);
3818
+ const table = PageBlockItemTableValue.parse(objectValue);
3819
+ return table;
3820
+ },
3785
3821
  embedPropertyValue(item, propertyKey) {
3786
3822
  const objectValue = this.objectPropertyValue(item, propertyKey);
3787
3823
  const embed = PageBlockItemEmbedValue.parse(objectValue);
@@ -3815,7 +3851,7 @@ var BlockDefinitionUtils = {
3815
3851
  return void 0;
3816
3852
  },
3817
3853
  firstTableProperty(definition) {
3818
- const property = definition.item.properties.find((p) => p.type === "RichText");
3854
+ const property = definition.item.properties.find((p) => p.type === "Table");
3819
3855
  if (property)
3820
3856
  return property;
3821
3857
  return void 0;
@@ -3881,6 +3917,14 @@ function blockToProsemirrorNode(block, definition) {
3881
3917
  property: multiRichTextProperty
3882
3918
  });
3883
3919
  }
3920
+ const tableProperty = BlockDefinitionUtils.firstTableProperty(definition);
3921
+ if (tableProperty) {
3922
+ return serializeAsTable({
3923
+ block,
3924
+ definition,
3925
+ property: tableProperty
3926
+ });
3927
+ }
3884
3928
  const embedProperty = BlockDefinitionUtils.firstEmbedProperty(definition);
3885
3929
  const embedType = serializeEmbedType(block.data.packageId);
3886
3930
  if (embedProperty && embedType) {
@@ -3926,7 +3970,7 @@ function serializeAsParagraph(input) {
3926
3970
  return {
3927
3971
  type: "paragraph",
3928
3972
  attrs: serializeBlockNodeAttributes(input),
3929
- content: serializeRichText(input.richTextPropertyValue.value)
3973
+ ...serializeRichTextNodePart(input.richTextPropertyValue.value)
3930
3974
  };
3931
3975
  }
3932
3976
  function serializeAsHeading(input) {
@@ -3936,14 +3980,14 @@ function serializeAsHeading(input) {
3936
3980
  ...serializeBlockNodeAttributes(input),
3937
3981
  level: richTextHeadingLevel(input.property)
3938
3982
  },
3939
- content: serializeRichText(input.richTextPropertyValue.value)
3983
+ ...serializeRichTextNodePart(input.richTextPropertyValue.value)
3940
3984
  };
3941
3985
  }
3942
3986
  function serializeAsBlockquote(input) {
3943
3987
  return {
3944
3988
  type: "blockquote",
3945
3989
  attrs: serializeBlockNodeAttributes(input),
3946
- content: serializeRichText(input.richTextPropertyValue.value)
3990
+ ...serializeRichTextNodePart(input.richTextPropertyValue.value)
3947
3991
  };
3948
3992
  }
3949
3993
  function serializeAsCallout(input) {
@@ -3954,7 +3998,7 @@ function serializeAsCallout(input) {
3954
3998
  ...serializeBlockNodeAttributes(input),
3955
3999
  type: serializeCalloutType(calloutType)
3956
4000
  },
3957
- content: serializeRichText(input.richTextPropertyValue.value)
4001
+ ...serializeRichTextNodePart(input.richTextPropertyValue.value)
3958
4002
  };
3959
4003
  }
3960
4004
  function serializeAsMultiRichTextBlock(input) {
@@ -4011,6 +4055,75 @@ function serializeAsListItem(text) {
4011
4055
  ]
4012
4056
  };
4013
4057
  }
4058
+ function serializeAsTable(input) {
4059
+ const { block, definition, property: tableProperty } = input;
4060
+ const blockItem = BlockParsingUtils.singleBlockItem(block);
4061
+ const table = BlockParsingUtils.tablePropertyValue(blockItem, tableProperty.id);
4062
+ return {
4063
+ type: "tableContainer",
4064
+ attrs: {
4065
+ ...serializeBlockNodeAttributes(input),
4066
+ hasBorder: _nullishCoalesce(table.showBorder, () => ( true))
4067
+ },
4068
+ content: [
4069
+ {
4070
+ type: "table",
4071
+ content: table.value.map((row, rowIndex) => {
4072
+ const isHeaderRow = rowIndex === 0 && table.highlightHeaderRow === true;
4073
+ return {
4074
+ type: "tableRow",
4075
+ content: row.cells.map((cell, cellIndex) => {
4076
+ const isHeaderColumn = cellIndex === 0 && table.highlightHeaderColumn === true;
4077
+ return {
4078
+ type: isHeaderRow || isHeaderColumn ? "tableHeader" : "tableCell",
4079
+ attrs: {
4080
+ id: cell.id,
4081
+ textAlign: serializeTableCellAlignment(cell.alignment),
4082
+ colspan: 1,
4083
+ rowspan: 1,
4084
+ ...cell.columnWidth && { colwidth: [cell.columnWidth] }
4085
+ },
4086
+ content: cell.nodes.map(serializeTableNode)
4087
+ };
4088
+ })
4089
+ };
4090
+ })
4091
+ }
4092
+ ]
4093
+ };
4094
+ }
4095
+ function serializeTableCellAlignment(alignment) {
4096
+ switch (alignment) {
4097
+ case "Left":
4098
+ return "left";
4099
+ case "Center":
4100
+ return "center";
4101
+ case "Right":
4102
+ return "right";
4103
+ default:
4104
+ return "left";
4105
+ }
4106
+ }
4107
+ function serializeTableNode(node) {
4108
+ switch (node.type) {
4109
+ case "RichText":
4110
+ return {
4111
+ type: "paragraph",
4112
+ ...serializeRichTextNodePart(node.value)
4113
+ };
4114
+ case "Image":
4115
+ return {
4116
+ type: "image",
4117
+ attrs: {
4118
+ src: _optionalChain([node, 'access', _13 => _13.value, 'optionalAccess', _14 => _14.url])
4119
+ }
4120
+ };
4121
+ case "MultiRichText":
4122
+ return {
4123
+ type: "paragraph"
4124
+ };
4125
+ }
4126
+ }
4014
4127
  function serializeAsEmbed(input, embedType) {
4015
4128
  const { block, definition, property: embedProperty } = input;
4016
4129
  const blockItem = BlockParsingUtils.singleBlockItem(block);
@@ -4052,7 +4165,7 @@ function serializeBlockNodeAttributes(input) {
4052
4165
  };
4053
4166
  }
4054
4167
  function richTextHeadingLevel(property) {
4055
- const style = _optionalChain([property, 'access', _13 => _13.options, 'optionalAccess', _14 => _14.richTextStyle]);
4168
+ const style = _optionalChain([property, 'access', _15 => _15.options, 'optionalAccess', _16 => _16.richTextStyle]);
4056
4169
  if (!style)
4057
4170
  return void 0;
4058
4171
  switch (style) {
@@ -4084,6 +4197,12 @@ function serializeCalloutType(calloutType) {
4084
4197
  return "warning";
4085
4198
  }
4086
4199
  }
4200
+ function serializeRichTextNodePart(richText) {
4201
+ const spans = serializeRichText(richText);
4202
+ if (spans.length)
4203
+ return { content: spans };
4204
+ return {};
4205
+ }
4087
4206
  function serializeRichText(richText) {
4088
4207
  return richText.spans.map(serializeTextSpan).flat();
4089
4208
  }
@@ -4094,7 +4213,7 @@ function serializeTextSpan(span) {
4094
4213
  {
4095
4214
  type: "text",
4096
4215
  text: textParts[0],
4097
- marks
4216
+ ...marks.length && { marks }
4098
4217
  }
4099
4218
  ];
4100
4219
  for (let i = 1; i < textParts.length; i++) {
@@ -4105,7 +4224,7 @@ function serializeTextSpan(span) {
4105
4224
  {
4106
4225
  type: "text",
4107
4226
  text: textParts[i],
4108
- marks
4227
+ ...marks.length && { marks }
4109
4228
  }
4110
4229
  );
4111
4230
  }
@@ -5530,7 +5649,7 @@ function prosemirrorDocToPage(prosemirrorDoc, definitions) {
5530
5649
  const definitionsById = mapByUnique(definitions, (d) => d.id);
5531
5650
  return {
5532
5651
  blocks: (_nullishCoalesce(prosemirrorDoc.content, () => ( []))).map((prosemirrorNode) => {
5533
- const definitionId = _optionalChain([prosemirrorNode, 'access', _15 => _15.attrs, 'optionalAccess', _16 => _16.definitionId]);
5652
+ const definitionId = _optionalChain([prosemirrorNode, 'access', _17 => _17.attrs, 'optionalAccess', _18 => _18.definitionId]);
5534
5653
  if (!definitionId)
5535
5654
  throw new Error(`Node is missing defintion id`);
5536
5655
  if (typeof definitionId !== "string")
@@ -5555,6 +5674,10 @@ function prosemirrorNodeToBlock(prosemirrorNode, definition) {
5555
5674
  if (prosemirrorNode.type === "embed" && embedProperty) {
5556
5675
  return parseAsEmbed(prosemirrorNode, definition, embedProperty);
5557
5676
  }
5677
+ const tableProperty = BlockDefinitionUtils.firstTableProperty(definition);
5678
+ if (tableProperty) {
5679
+ return parseAsTable(prosemirrorNode, definition, tableProperty);
5680
+ }
5558
5681
  if (definition.id === "io.supernova.block.divider") {
5559
5682
  return parseAsDivider(prosemirrorNode, definition);
5560
5683
  }
@@ -5620,7 +5743,7 @@ function parseAsMultiRichText(prosemirrorNode, definition, property) {
5620
5743
  value: (_nullishCoalesce(prosemirrorNode.content, () => ( []))).map((listItem) => {
5621
5744
  if (listItem.type !== "listitem")
5622
5745
  return null;
5623
- if (!_optionalChain([listItem, 'access', _17 => _17.content, 'optionalAccess', _18 => _18.length]))
5746
+ if (!_optionalChain([listItem, 'access', _19 => _19.content, 'optionalAccess', _20 => _20.length]))
5624
5747
  return parseRichText([]);
5625
5748
  const paragraph = listItem.content[0];
5626
5749
  if (paragraph.type !== "paragraph")
@@ -5659,17 +5782,157 @@ function parseRichTextAttribute(mark) {
5659
5782
  case "code":
5660
5783
  return { type: "Code" };
5661
5784
  case "link":
5662
- const itemId = _optionalChain([mark, 'access', _19 => _19.attrs, 'optionalAccess', _20 => _20.itemId]);
5663
- const href = _optionalChain([mark, 'access', _21 => _21.attrs, 'optionalAccess', _22 => _22.href]);
5785
+ const itemId = _optionalChain([mark, 'access', _21 => _21.attrs, 'optionalAccess', _22 => _22.itemId]);
5786
+ const href = _optionalChain([mark, 'access', _23 => _23.attrs, 'optionalAccess', _24 => _24.href]);
5664
5787
  return {
5665
5788
  type: "Link",
5666
- openInNewWindow: _optionalChain([mark, 'access', _23 => _23.attrs, 'optionalAccess', _24 => _24.target]) !== "_self",
5789
+ openInNewWindow: _optionalChain([mark, 'access', _25 => _25.attrs, 'optionalAccess', _26 => _26.target]) !== "_self",
5667
5790
  documentationItemId: itemId,
5668
5791
  link: href
5669
5792
  };
5670
5793
  }
5671
5794
  return null;
5672
5795
  }
5796
+ function parseAsTable(prosemirrorNode, definition, property) {
5797
+ const id = parseProsemirrorBlockAttribute(prosemirrorNode, "id");
5798
+ const variantId = parseProsemirrorOptionalBlockAttribute(prosemirrorNode, "variantId");
5799
+ const hasBorder = parseProsemirrorOptionalBlockAttribute(prosemirrorNode, "hasBorder") !== false;
5800
+ const tableChild = _optionalChain([prosemirrorNode, 'access', _27 => _27.content, 'optionalAccess', _28 => _28.find, 'call', _29 => _29((c) => c.type === "table")]);
5801
+ if (!tableChild) {
5802
+ return emptyTable(id, variantId, 0);
5803
+ }
5804
+ 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]))]), () => ( []));
5805
+ if (!rows.length) {
5806
+ return emptyTable(id, variantId, 0);
5807
+ }
5808
+ 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));
5809
+ const columnHeaderCells = rows.filter((r) => _optionalChain([r, 'access', _40 => _40.content, 'optionalAccess', _41 => _41[0], 'optionalAccess', _42 => _42.type]) === "tableHeader").length;
5810
+ const hasHeaderRow = _optionalChain([rows, 'access', _43 => _43[0], 'access', _44 => _44.content, 'optionalAccess', _45 => _45.length]) === rowHeaderCells;
5811
+ const hasHeaderColumn = rows.length === columnHeaderCells;
5812
+ const tableValue = {
5813
+ showBorder: hasBorder,
5814
+ highlightHeaderRow: hasHeaderRow,
5815
+ highlightHeaderColumn: hasHeaderColumn,
5816
+ value: []
5817
+ };
5818
+ tableValue.value = rows.map((row) => {
5819
+ return {
5820
+ cells: (_nullishCoalesce(row.content, () => ( []))).map(parseAsTableCell)
5821
+ };
5822
+ });
5823
+ return {
5824
+ id,
5825
+ data: {
5826
+ packageId: "io.supernova.block.table",
5827
+ indentLevel: 0,
5828
+ ...variantId && { variantId },
5829
+ items: [
5830
+ {
5831
+ id,
5832
+ props: {
5833
+ table: tableValue
5834
+ }
5835
+ }
5836
+ ]
5837
+ }
5838
+ };
5839
+ }
5840
+ function parseAsTableCell(prosemirrorNode) {
5841
+ const id = parseProsemirrorBlockAttribute(prosemirrorNode, "id");
5842
+ const textAlign = parseProsemirrorOptionalBlockAttribute(prosemirrorNode, "textAlign");
5843
+ let columnWidth;
5844
+ const columnWidthArray = parseProsemirrorOptionalBlockAttribute(prosemirrorNode, "colwidth");
5845
+ if (Array.isArray(columnWidthArray) && typeof columnWidthArray[0] === "number") {
5846
+ columnWidth = columnWidthArray[0];
5847
+ }
5848
+ const tableNodes = (_nullishCoalesce(prosemirrorNode.content, () => ( []))).map(parseAsTableNode).filter(nonNullFilter2);
5849
+ return {
5850
+ id,
5851
+ alignment: parseTableCellAlignment(textAlign),
5852
+ ...columnWidth && { columnWidth },
5853
+ nodes: tableNodes.length ? tableNodes : emptyTableCellContent()
5854
+ };
5855
+ }
5856
+ function parseTableCellAlignment(alignment) {
5857
+ if (!alignment)
5858
+ return "Left";
5859
+ switch (alignment) {
5860
+ case "left":
5861
+ return "Left";
5862
+ case "center":
5863
+ return "Center";
5864
+ case "right":
5865
+ return "Right";
5866
+ default:
5867
+ return "Left";
5868
+ }
5869
+ }
5870
+ function parseAsTableNode(prosemirrorNode) {
5871
+ switch (prosemirrorNode.type) {
5872
+ case "paragraph":
5873
+ return {
5874
+ type: "RichText",
5875
+ value: parseRichText(_nullishCoalesce(prosemirrorNode.content, () => ( [])))
5876
+ };
5877
+ case "image":
5878
+ const url = parseProsemirrorOptionalBlockAttribute(prosemirrorNode, "src");
5879
+ if (!url || typeof url !== "string")
5880
+ return null;
5881
+ return {
5882
+ type: "Image",
5883
+ value: {
5884
+ type: "Upload",
5885
+ url
5886
+ }
5887
+ };
5888
+ default:
5889
+ return null;
5890
+ }
5891
+ }
5892
+ function emptyTable(id, variantId, indentLevel) {
5893
+ const tableValue = {
5894
+ showBorder: true,
5895
+ highlightHeaderColumn: false,
5896
+ highlightHeaderRow: false,
5897
+ value: []
5898
+ };
5899
+ for (let i = 0; i < 2; i++) {
5900
+ tableValue.value.push({
5901
+ cells: []
5902
+ });
5903
+ for (let j = 0; j < 3; j++) {
5904
+ tableValue.value[i].cells.push({
5905
+ id: "",
5906
+ alignment: "Left",
5907
+ nodes: emptyTableCellContent()
5908
+ });
5909
+ }
5910
+ }
5911
+ return {
5912
+ id,
5913
+ data: {
5914
+ packageId: "io.supernova.block.table",
5915
+ indentLevel: _nullishCoalesce(indentLevel, () => ( 0)),
5916
+ variantId,
5917
+ items: [
5918
+ {
5919
+ id,
5920
+ props: {
5921
+ table: tableValue
5922
+ }
5923
+ }
5924
+ ]
5925
+ }
5926
+ };
5927
+ }
5928
+ function emptyTableCellContent() {
5929
+ return [
5930
+ {
5931
+ type: "RichText",
5932
+ value: { spans: [] }
5933
+ }
5934
+ ];
5935
+ }
5673
5936
  function parseAsEmbed(prosemirrorNode, definition, property) {
5674
5937
  const id = parseProsemirrorBlockAttribute(prosemirrorNode, "id");
5675
5938
  const variantId = parseProsemirrorOptionalBlockAttribute(prosemirrorNode, "variantId");
@@ -5810,12 +6073,12 @@ function valueSchemaForPropertyType(type) {
5810
6073
  function parseProsemirrorBlockAttribute(prosemirrorNode, attributeName) {
5811
6074
  const attributeValue = parseProsemirrorOptionalBlockAttribute(prosemirrorNode, attributeName);
5812
6075
  if (!attributeValue) {
5813
- throw new Error(`Attribute ${attributeName} was not defined`);
6076
+ throw new Error(`Attribute ${attributeName} was not defined on node ${prosemirrorNode.type}`);
5814
6077
  }
5815
6078
  return attributeValue;
5816
6079
  }
5817
6080
  function parseProsemirrorOptionalBlockAttribute(prosemirrorNode, attributeName) {
5818
- return _nullishCoalesce(_optionalChain([prosemirrorNode, 'access', _25 => _25.attrs, 'optionalAccess', _26 => _26[attributeName]]), () => ( void 0));
6081
+ return _nullishCoalesce(_optionalChain([prosemirrorNode, 'access', _46 => _46.attrs, 'optionalAccess', _47 => _47[attributeName]]), () => ( void 0));
5819
6082
  }
5820
6083
  function nonNullFilter2(item) {
5821
6084
  return item !== null;
@@ -6275,5 +6538,12 @@ function mapByUnique(items, keyFn) {
6275
6538
 
6276
6539
 
6277
6540
 
6278
- 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.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.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;
6541
+
6542
+
6543
+
6544
+
6545
+
6546
+
6547
+
6548
+ 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;
6279
6549
  //# sourceMappingURL=index.js.map