@supernova-studio/client 0.3.1 → 0.4.2

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,38 @@ 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
+ value: _zod.z.array(PageBlockItemTableRow)
1053
+ });
1024
1054
  var DocumentationItemConfiguration = _zod.z.object({
1025
1055
  showSidebar: _zod.z.boolean(),
1026
1056
  header: _zod.z.any()
@@ -3782,6 +3812,11 @@ var BlockParsingUtils = {
3782
3812
  const richText = PageBlockItemMultiRichTextValue.parse(objectValue);
3783
3813
  return richText;
3784
3814
  },
3815
+ tablePropertyValue(item, propertyKey) {
3816
+ const objectValue = this.objectPropertyValue(item, propertyKey);
3817
+ const table = PageBlockItemTableValue.parse(objectValue);
3818
+ return table;
3819
+ },
3785
3820
  embedPropertyValue(item, propertyKey) {
3786
3821
  const objectValue = this.objectPropertyValue(item, propertyKey);
3787
3822
  const embed = PageBlockItemEmbedValue.parse(objectValue);
@@ -3815,7 +3850,7 @@ var BlockDefinitionUtils = {
3815
3850
  return void 0;
3816
3851
  },
3817
3852
  firstTableProperty(definition) {
3818
- const property = definition.item.properties.find((p) => p.type === "RichText");
3853
+ const property = definition.item.properties.find((p) => p.type === "Table");
3819
3854
  if (property)
3820
3855
  return property;
3821
3856
  return void 0;
@@ -3881,6 +3916,14 @@ function blockToProsemirrorNode(block, definition) {
3881
3916
  property: multiRichTextProperty
3882
3917
  });
3883
3918
  }
3919
+ const tableProperty = BlockDefinitionUtils.firstTableProperty(definition);
3920
+ if (tableProperty) {
3921
+ return serializeAsTable({
3922
+ block,
3923
+ definition,
3924
+ property: tableProperty
3925
+ });
3926
+ }
3884
3927
  const embedProperty = BlockDefinitionUtils.firstEmbedProperty(definition);
3885
3928
  const embedType = serializeEmbedType(block.data.packageId);
3886
3929
  if (embedProperty && embedType) {
@@ -3926,7 +3969,7 @@ function serializeAsParagraph(input) {
3926
3969
  return {
3927
3970
  type: "paragraph",
3928
3971
  attrs: serializeBlockNodeAttributes(input),
3929
- content: serializeRichText(input.richTextPropertyValue.value)
3972
+ ...serializeRichTextNodePart(input.richTextPropertyValue.value)
3930
3973
  };
3931
3974
  }
3932
3975
  function serializeAsHeading(input) {
@@ -3936,14 +3979,14 @@ function serializeAsHeading(input) {
3936
3979
  ...serializeBlockNodeAttributes(input),
3937
3980
  level: richTextHeadingLevel(input.property)
3938
3981
  },
3939
- content: serializeRichText(input.richTextPropertyValue.value)
3982
+ ...serializeRichTextNodePart(input.richTextPropertyValue.value)
3940
3983
  };
3941
3984
  }
3942
3985
  function serializeAsBlockquote(input) {
3943
3986
  return {
3944
3987
  type: "blockquote",
3945
3988
  attrs: serializeBlockNodeAttributes(input),
3946
- content: serializeRichText(input.richTextPropertyValue.value)
3989
+ ...serializeRichTextNodePart(input.richTextPropertyValue.value)
3947
3990
  };
3948
3991
  }
3949
3992
  function serializeAsCallout(input) {
@@ -3954,7 +3997,7 @@ function serializeAsCallout(input) {
3954
3997
  ...serializeBlockNodeAttributes(input),
3955
3998
  type: serializeCalloutType(calloutType)
3956
3999
  },
3957
- content: serializeRichText(input.richTextPropertyValue.value)
4000
+ ...serializeRichTextNodePart(input.richTextPropertyValue.value)
3958
4001
  };
3959
4002
  }
3960
4003
  function serializeAsMultiRichTextBlock(input) {
@@ -4011,6 +4054,88 @@ function serializeAsListItem(text) {
4011
4054
  ]
4012
4055
  };
4013
4056
  }
4057
+ function serializeAsTable(input) {
4058
+ const { block, definition, property: tableProperty } = input;
4059
+ const blockItem = BlockParsingUtils.singleBlockItem(block);
4060
+ const table = BlockParsingUtils.tablePropertyValue(blockItem, tableProperty.id);
4061
+ return {
4062
+ type: "tableContainer",
4063
+ attrs: {
4064
+ ...serializeBlockNodeAttributes(input),
4065
+ hasBorder: _nullishCoalesce(table.showBorder, () => ( true))
4066
+ },
4067
+ content: [
4068
+ {
4069
+ type: "table",
4070
+ content: serializeTableRows(table)
4071
+ }
4072
+ ]
4073
+ };
4074
+ }
4075
+ function serializeTableRows(table) {
4076
+ const rows = table.value.length ? table.value : [{ cells: [] }];
4077
+ return rows.map((row, rowIndex) => {
4078
+ const isHeaderRow = rowIndex === 0 && table.highlightHeaderRow === true;
4079
+ const cells = row.cells.length ? row.cells : [{ id: "", alignment: "Left", nodes: [] }];
4080
+ return {
4081
+ type: "tableRow",
4082
+ content: cells.map((cell, cellIndex) => {
4083
+ const isHeaderColumn = cellIndex === 0 && table.highlightHeaderColumn === true;
4084
+ return {
4085
+ type: isHeaderRow || isHeaderColumn ? "tableHeader" : "tableCell",
4086
+ attrs: {
4087
+ ...cell.id && { id: cell.id },
4088
+ textAlign: serializeTableCellAlignment(cell.alignment),
4089
+ colspan: 1,
4090
+ rowspan: 1,
4091
+ ...cell.columnWidth && { colwidth: [cell.columnWidth] }
4092
+ },
4093
+ content: serializeTableCellNodes(cell)
4094
+ };
4095
+ })
4096
+ };
4097
+ });
4098
+ }
4099
+ function serializeTableCellAlignment(alignment) {
4100
+ switch (alignment) {
4101
+ case "Left":
4102
+ return "left";
4103
+ case "Center":
4104
+ return "center";
4105
+ case "Right":
4106
+ return "right";
4107
+ default:
4108
+ return "left";
4109
+ }
4110
+ }
4111
+ function serializeTableCellNodes(cell) {
4112
+ const result = cell.nodes.map(serializeTableNode);
4113
+ if (result.length) {
4114
+ return result;
4115
+ } else {
4116
+ return [{ type: "paragraph" }];
4117
+ }
4118
+ }
4119
+ function serializeTableNode(node) {
4120
+ switch (node.type) {
4121
+ case "RichText":
4122
+ return {
4123
+ type: "paragraph",
4124
+ ...serializeRichTextNodePart(node.value)
4125
+ };
4126
+ case "Image":
4127
+ return {
4128
+ type: "image",
4129
+ attrs: {
4130
+ src: _optionalChain([node, 'access', _13 => _13.value, 'optionalAccess', _14 => _14.url])
4131
+ }
4132
+ };
4133
+ case "MultiRichText":
4134
+ return {
4135
+ type: "paragraph"
4136
+ };
4137
+ }
4138
+ }
4014
4139
  function serializeAsEmbed(input, embedType) {
4015
4140
  const { block, definition, property: embedProperty } = input;
4016
4141
  const blockItem = BlockParsingUtils.singleBlockItem(block);
@@ -4052,7 +4177,7 @@ function serializeBlockNodeAttributes(input) {
4052
4177
  };
4053
4178
  }
4054
4179
  function richTextHeadingLevel(property) {
4055
- const style = _optionalChain([property, 'access', _13 => _13.options, 'optionalAccess', _14 => _14.richTextStyle]);
4180
+ const style = _optionalChain([property, 'access', _15 => _15.options, 'optionalAccess', _16 => _16.richTextStyle]);
4056
4181
  if (!style)
4057
4182
  return void 0;
4058
4183
  switch (style) {
@@ -4084,6 +4209,12 @@ function serializeCalloutType(calloutType) {
4084
4209
  return "warning";
4085
4210
  }
4086
4211
  }
4212
+ function serializeRichTextNodePart(richText) {
4213
+ const spans = serializeRichText(richText);
4214
+ if (spans.length)
4215
+ return { content: spans };
4216
+ return {};
4217
+ }
4087
4218
  function serializeRichText(richText) {
4088
4219
  return richText.spans.map(serializeTextSpan).flat();
4089
4220
  }
@@ -4094,7 +4225,7 @@ function serializeTextSpan(span) {
4094
4225
  {
4095
4226
  type: "text",
4096
4227
  text: textParts[0],
4097
- marks
4228
+ ...marks.length && { marks }
4098
4229
  }
4099
4230
  ];
4100
4231
  for (let i = 1; i < textParts.length; i++) {
@@ -4105,7 +4236,7 @@ function serializeTextSpan(span) {
4105
4236
  {
4106
4237
  type: "text",
4107
4238
  text: textParts[i],
4108
- marks
4239
+ ...marks.length && { marks }
4109
4240
  }
4110
4241
  );
4111
4242
  }
@@ -5530,7 +5661,7 @@ function prosemirrorDocToPage(prosemirrorDoc, definitions) {
5530
5661
  const definitionsById = mapByUnique(definitions, (d) => d.id);
5531
5662
  return {
5532
5663
  blocks: (_nullishCoalesce(prosemirrorDoc.content, () => ( []))).map((prosemirrorNode) => {
5533
- const definitionId = _optionalChain([prosemirrorNode, 'access', _15 => _15.attrs, 'optionalAccess', _16 => _16.definitionId]);
5664
+ const definitionId = _optionalChain([prosemirrorNode, 'access', _17 => _17.attrs, 'optionalAccess', _18 => _18.definitionId]);
5534
5665
  if (!definitionId)
5535
5666
  throw new Error(`Node is missing defintion id`);
5536
5667
  if (typeof definitionId !== "string")
@@ -5555,6 +5686,10 @@ function prosemirrorNodeToBlock(prosemirrorNode, definition) {
5555
5686
  if (prosemirrorNode.type === "embed" && embedProperty) {
5556
5687
  return parseAsEmbed(prosemirrorNode, definition, embedProperty);
5557
5688
  }
5689
+ const tableProperty = BlockDefinitionUtils.firstTableProperty(definition);
5690
+ if (tableProperty) {
5691
+ return parseAsTable(prosemirrorNode, definition, tableProperty);
5692
+ }
5558
5693
  if (definition.id === "io.supernova.block.divider") {
5559
5694
  return parseAsDivider(prosemirrorNode, definition);
5560
5695
  }
@@ -5620,7 +5755,7 @@ function parseAsMultiRichText(prosemirrorNode, definition, property) {
5620
5755
  value: (_nullishCoalesce(prosemirrorNode.content, () => ( []))).map((listItem) => {
5621
5756
  if (listItem.type !== "listitem")
5622
5757
  return null;
5623
- if (!_optionalChain([listItem, 'access', _17 => _17.content, 'optionalAccess', _18 => _18.length]))
5758
+ if (!_optionalChain([listItem, 'access', _19 => _19.content, 'optionalAccess', _20 => _20.length]))
5624
5759
  return parseRichText([]);
5625
5760
  const paragraph = listItem.content[0];
5626
5761
  if (paragraph.type !== "paragraph")
@@ -5659,17 +5794,157 @@ function parseRichTextAttribute(mark) {
5659
5794
  case "code":
5660
5795
  return { type: "Code" };
5661
5796
  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]);
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]);
5664
5799
  return {
5665
5800
  type: "Link",
5666
- openInNewWindow: _optionalChain([mark, 'access', _23 => _23.attrs, 'optionalAccess', _24 => _24.target]) !== "_self",
5801
+ openInNewWindow: _optionalChain([mark, 'access', _25 => _25.attrs, 'optionalAccess', _26 => _26.target]) !== "_self",
5667
5802
  documentationItemId: itemId,
5668
5803
  link: href
5669
5804
  };
5670
5805
  }
5671
5806
  return null;
5672
5807
  }
5808
+ function parseAsTable(prosemirrorNode, definition, property) {
5809
+ const id = parseProsemirrorBlockAttribute(prosemirrorNode, "id");
5810
+ const variantId = parseProsemirrorOptionalBlockAttribute(prosemirrorNode, "variantId");
5811
+ 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")]);
5813
+ if (!tableChild) {
5814
+ return emptyTable(id, variantId, 0);
5815
+ }
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]))]), () => ( []));
5817
+ if (!rows.length) {
5818
+ return emptyTable(id, variantId, 0);
5819
+ }
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;
5823
+ const hasHeaderColumn = rows.length === columnHeaderCells;
5824
+ const tableValue = {
5825
+ showBorder: hasBorder,
5826
+ highlightHeaderRow: hasHeaderRow,
5827
+ highlightHeaderColumn: hasHeaderColumn,
5828
+ value: []
5829
+ };
5830
+ tableValue.value = rows.map((row) => {
5831
+ return {
5832
+ cells: (_nullishCoalesce(row.content, () => ( []))).map(parseAsTableCell)
5833
+ };
5834
+ });
5835
+ return {
5836
+ id,
5837
+ data: {
5838
+ packageId: "io.supernova.block.table",
5839
+ indentLevel: 0,
5840
+ ...variantId && { variantId },
5841
+ items: [
5842
+ {
5843
+ id,
5844
+ props: {
5845
+ table: tableValue
5846
+ }
5847
+ }
5848
+ ]
5849
+ }
5850
+ };
5851
+ }
5852
+ function parseAsTableCell(prosemirrorNode) {
5853
+ const id = parseProsemirrorBlockAttribute(prosemirrorNode, "id");
5854
+ const textAlign = parseProsemirrorOptionalBlockAttribute(prosemirrorNode, "textAlign");
5855
+ let columnWidth;
5856
+ const columnWidthArray = parseProsemirrorOptionalBlockAttribute(prosemirrorNode, "colwidth");
5857
+ if (Array.isArray(columnWidthArray) && typeof columnWidthArray[0] === "number") {
5858
+ columnWidth = columnWidthArray[0];
5859
+ }
5860
+ const tableNodes = (_nullishCoalesce(prosemirrorNode.content, () => ( []))).map(parseAsTableNode).filter(nonNullFilter2);
5861
+ return {
5862
+ id,
5863
+ alignment: parseTableCellAlignment(textAlign),
5864
+ ...columnWidth && { columnWidth },
5865
+ nodes: tableNodes.length ? tableNodes : emptyTableCellContent()
5866
+ };
5867
+ }
5868
+ function parseTableCellAlignment(alignment) {
5869
+ if (!alignment)
5870
+ return "Left";
5871
+ switch (alignment) {
5872
+ case "left":
5873
+ return "Left";
5874
+ case "center":
5875
+ return "Center";
5876
+ case "right":
5877
+ return "Right";
5878
+ default:
5879
+ return "Left";
5880
+ }
5881
+ }
5882
+ function parseAsTableNode(prosemirrorNode) {
5883
+ switch (prosemirrorNode.type) {
5884
+ case "paragraph":
5885
+ return {
5886
+ type: "RichText",
5887
+ value: parseRichText(_nullishCoalesce(prosemirrorNode.content, () => ( [])))
5888
+ };
5889
+ case "image":
5890
+ const url = parseProsemirrorOptionalBlockAttribute(prosemirrorNode, "src");
5891
+ if (!url || typeof url !== "string")
5892
+ return null;
5893
+ return {
5894
+ type: "Image",
5895
+ value: {
5896
+ type: "Upload",
5897
+ url
5898
+ }
5899
+ };
5900
+ default:
5901
+ return null;
5902
+ }
5903
+ }
5904
+ function emptyTable(id, variantId, indentLevel) {
5905
+ const tableValue = {
5906
+ showBorder: true,
5907
+ highlightHeaderColumn: false,
5908
+ highlightHeaderRow: false,
5909
+ value: []
5910
+ };
5911
+ for (let i = 0; i < 2; i++) {
5912
+ tableValue.value.push({
5913
+ cells: []
5914
+ });
5915
+ for (let j = 0; j < 3; j++) {
5916
+ tableValue.value[i].cells.push({
5917
+ id: "",
5918
+ alignment: "Left",
5919
+ nodes: emptyTableCellContent()
5920
+ });
5921
+ }
5922
+ }
5923
+ return {
5924
+ id,
5925
+ data: {
5926
+ packageId: "io.supernova.block.table",
5927
+ indentLevel: _nullishCoalesce(indentLevel, () => ( 0)),
5928
+ variantId,
5929
+ items: [
5930
+ {
5931
+ id,
5932
+ props: {
5933
+ table: tableValue
5934
+ }
5935
+ }
5936
+ ]
5937
+ }
5938
+ };
5939
+ }
5940
+ function emptyTableCellContent() {
5941
+ return [
5942
+ {
5943
+ type: "RichText",
5944
+ value: { spans: [] }
5945
+ }
5946
+ ];
5947
+ }
5673
5948
  function parseAsEmbed(prosemirrorNode, definition, property) {
5674
5949
  const id = parseProsemirrorBlockAttribute(prosemirrorNode, "id");
5675
5950
  const variantId = parseProsemirrorOptionalBlockAttribute(prosemirrorNode, "variantId");
@@ -5810,12 +6085,12 @@ function valueSchemaForPropertyType(type) {
5810
6085
  function parseProsemirrorBlockAttribute(prosemirrorNode, attributeName) {
5811
6086
  const attributeValue = parseProsemirrorOptionalBlockAttribute(prosemirrorNode, attributeName);
5812
6087
  if (!attributeValue) {
5813
- throw new Error(`Attribute ${attributeName} was not defined`);
6088
+ throw new Error(`Attribute ${attributeName} was not defined on node ${prosemirrorNode.type}`);
5814
6089
  }
5815
6090
  return attributeValue;
5816
6091
  }
5817
6092
  function parseProsemirrorOptionalBlockAttribute(prosemirrorNode, attributeName) {
5818
- return _nullishCoalesce(_optionalChain([prosemirrorNode, 'access', _25 => _25.attrs, 'optionalAccess', _26 => _26[attributeName]]), () => ( void 0));
6093
+ return _nullishCoalesce(_optionalChain([prosemirrorNode, 'access', _46 => _46.attrs, 'optionalAccess', _47 => _47[attributeName]]), () => ( void 0));
5819
6094
  }
5820
6095
  function nonNullFilter2(item) {
5821
6096
  return item !== null;
@@ -6275,5 +6550,12 @@ function mapByUnique(items, keyFn) {
6275
6550
 
6276
6551
 
6277
6552
 
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;
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;
6279
6561
  //# sourceMappingURL=index.js.map