@supernova-studio/client 0.30.1 → 0.32.0

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
@@ -92,8 +92,8 @@ declare const DTODocumentationLinkPreviewResponse: z.ZodObject<{
92
92
  thumbnail: z.ZodOptional<z.ZodObject<{
93
93
  type: z.ZodEnum<["Resource", "FigmaNode"]>;
94
94
  resource: z.ZodOptional<z.ZodObject<{
95
- url: z.ZodString;
96
95
  resourceId: z.ZodString;
96
+ url: z.ZodString;
97
97
  }, "strip", z.ZodTypeAny, {
98
98
  url: string;
99
99
  resourceId: string;
@@ -358,29 +358,29 @@ declare const DTODocumentationTabCreateActionInputV2: z.ZodObject<{
358
358
  type: z.ZodLiteral<"DocumentationTabCreate">;
359
359
  input: z.ZodObject<{
360
360
  persistentId: z.ZodString;
361
- fromPagePersistentId: z.ZodString;
361
+ tabContainerPersistentId: z.ZodString;
362
362
  tabName: z.ZodString;
363
363
  }, "strip", z.ZodTypeAny, {
364
364
  persistentId: string;
365
- fromPagePersistentId: string;
365
+ tabContainerPersistentId: string;
366
366
  tabName: string;
367
367
  }, {
368
368
  persistentId: string;
369
- fromPagePersistentId: string;
369
+ tabContainerPersistentId: string;
370
370
  tabName: string;
371
371
  }>;
372
372
  }, "strip", z.ZodTypeAny, {
373
373
  type: "DocumentationTabCreate";
374
374
  input: {
375
375
  persistentId: string;
376
- fromPagePersistentId: string;
376
+ tabContainerPersistentId: string;
377
377
  tabName: string;
378
378
  };
379
379
  }, {
380
380
  type: "DocumentationTabCreate";
381
381
  input: {
382
382
  persistentId: string;
383
- fromPagePersistentId: string;
383
+ tabContainerPersistentId: string;
384
384
  tabName: string;
385
385
  };
386
386
  }>;
@@ -417,8 +417,8 @@ declare const DTODocumentationGroupCreateActionInputV2: z.ZodObject<{
417
417
  backgroundImageAsset: z.ZodOptional<z.ZodNullable<z.ZodObject<{
418
418
  type: z.ZodEnum<["Resource", "FigmaNode"]>;
419
419
  resource: z.ZodOptional<z.ZodObject<{
420
- url: z.ZodString;
421
420
  resourceId: z.ZodString;
421
+ url: z.ZodString;
422
422
  }, "strip", z.ZodTypeAny, {
423
423
  url: string;
424
424
  resourceId: string;
@@ -758,8 +758,8 @@ declare const DTODocumentationGroupUpdateActionInputV2: z.ZodObject<{
758
758
  backgroundImageAsset: z.ZodOptional<z.ZodNullable<z.ZodObject<{
759
759
  type: z.ZodEnum<["Resource", "FigmaNode"]>;
760
760
  resource: z.ZodOptional<z.ZodObject<{
761
- url: z.ZodString;
762
761
  resourceId: z.ZodString;
762
+ url: z.ZodString;
763
763
  }, "strip", z.ZodTypeAny, {
764
764
  url: string;
765
765
  resourceId: string;
@@ -1260,8 +1260,8 @@ declare const DTODocumentationGroupV2: z.ZodObject<{
1260
1260
  backgroundImageAsset: z.ZodOptional<z.ZodNullable<z.ZodObject<{
1261
1261
  type: z.ZodEnum<["Resource", "FigmaNode"]>;
1262
1262
  resource: z.ZodOptional<z.ZodObject<{
1263
- url: z.ZodString;
1264
1263
  resourceId: z.ZodString;
1264
+ url: z.ZodString;
1265
1265
  }, "strip", z.ZodTypeAny, {
1266
1266
  url: string;
1267
1267
  resourceId: string;
@@ -1537,8 +1537,8 @@ declare const DTOCreateDocumentationGroupInput: z.ZodObject<{
1537
1537
  backgroundImageAsset: z.ZodOptional<z.ZodNullable<z.ZodObject<{
1538
1538
  type: z.ZodEnum<["Resource", "FigmaNode"]>;
1539
1539
  resource: z.ZodOptional<z.ZodObject<{
1540
- url: z.ZodString;
1541
1540
  resourceId: z.ZodString;
1541
+ url: z.ZodString;
1542
1542
  }, "strip", z.ZodTypeAny, {
1543
1543
  url: string;
1544
1544
  resourceId: string;
@@ -1798,8 +1798,8 @@ declare const DTOUpdateDocumentationGroupInput: z.ZodObject<{
1798
1798
  backgroundImageAsset: z.ZodOptional<z.ZodNullable<z.ZodObject<{
1799
1799
  type: z.ZodEnum<["Resource", "FigmaNode"]>;
1800
1800
  resource: z.ZodOptional<z.ZodObject<{
1801
- url: z.ZodString;
1802
1801
  resourceId: z.ZodString;
1802
+ url: z.ZodString;
1803
1803
  }, "strip", z.ZodTypeAny, {
1804
1804
  url: string;
1805
1805
  resourceId: string;
@@ -2055,15 +2055,15 @@ declare const DTODuplicateDocumentationGroupInput: z.ZodObject<{
2055
2055
  type DTODuplicateDocumentationGroupInput = z.infer<typeof DTODuplicateDocumentationGroupInput>;
2056
2056
  declare const DTOCreateDocumentationTabInput: z.ZodObject<{
2057
2057
  persistentId: z.ZodString;
2058
- fromPagePersistentId: z.ZodString;
2058
+ tabContainerPersistentId: z.ZodString;
2059
2059
  tabName: z.ZodString;
2060
2060
  }, "strip", z.ZodTypeAny, {
2061
2061
  persistentId: string;
2062
- fromPagePersistentId: string;
2062
+ tabContainerPersistentId: string;
2063
2063
  tabName: string;
2064
2064
  }, {
2065
2065
  persistentId: string;
2066
- fromPagePersistentId: string;
2066
+ tabContainerPersistentId: string;
2067
2067
  tabName: string;
2068
2068
  }>;
2069
2069
  type DTOCreateDocumentationTabInput = z.infer<typeof DTOCreateDocumentationTabInput>;
@@ -2225,8 +2225,8 @@ declare const DTODocumentationPageCreateActionInputV2: z.ZodObject<{
2225
2225
  backgroundImageAsset: z.ZodOptional<z.ZodNullable<z.ZodObject<{
2226
2226
  type: z.ZodEnum<["Resource", "FigmaNode"]>;
2227
2227
  resource: z.ZodOptional<z.ZodObject<{
2228
- url: z.ZodString;
2229
2228
  resourceId: z.ZodString;
2229
+ url: z.ZodString;
2230
2230
  }, "strip", z.ZodTypeAny, {
2231
2231
  url: string;
2232
2232
  resourceId: string;
@@ -2565,8 +2565,8 @@ declare const DTODocumentationPageUpdateActionInputV2: z.ZodObject<{
2565
2565
  backgroundImageAsset: z.ZodOptional<z.ZodNullable<z.ZodObject<{
2566
2566
  type: z.ZodEnum<["Resource", "FigmaNode"]>;
2567
2567
  resource: z.ZodOptional<z.ZodObject<{
2568
- url: z.ZodString;
2569
2568
  resourceId: z.ZodString;
2569
+ url: z.ZodString;
2570
2570
  }, "strip", z.ZodTypeAny, {
2571
2571
  url: string;
2572
2572
  resourceId: string;
@@ -3242,7 +3242,7 @@ declare const DocumentationPageV1DTO: z.ZodObject<{
3242
3242
  };
3243
3243
  } | null | undefined>;
3244
3244
  blocks: z.ZodArray<z.ZodType<_supernova_studio_model.PageBlockV1, z.ZodTypeDef, {
3245
- type: "Tabs" | "Custom" | "Image" | "Component" | "Theme" | "Text" | "Token" | "Code" | "Table" | "Divider" | "Embed" | "Quote" | "Callout" | "Link" | "ComponentGroup" | "Heading" | "UnorderedList" | "OrderedList" | "Shortcuts" | "FigmaEmbed" | "YoutubeEmbed" | "StorybookEmbed" | "TokenGroup" | "TokenList" | "ComponentSandbox" | "FigmaFrames" | "ComponentAssets" | "RenderCode" | "TabItem" | "TableRow" | "TableCell";
3245
+ type: "Tabs" | "Custom" | "Image" | "Component" | "Theme" | "Text" | "Token" | "Code" | "Table" | "Divider" | "Link" | "Quote" | "Callout" | "Embed" | "ComponentGroup" | "Heading" | "UnorderedList" | "OrderedList" | "Shortcuts" | "FigmaEmbed" | "YoutubeEmbed" | "StorybookEmbed" | "TokenGroup" | "TokenList" | "ComponentSandbox" | "FigmaFrames" | "ComponentAssets" | "RenderCode" | "TabItem" | "TableRow" | "TableCell";
3246
3246
  persistentId: string;
3247
3247
  designObjectId?: string | null | undefined;
3248
3248
  designObjectIds?: string[] | null | undefined;
@@ -3517,7 +3517,7 @@ declare const DocumentationPageV1DTO: z.ZodObject<{
3517
3517
  shortPersistentId: string;
3518
3518
  title: string;
3519
3519
  blocks: ({
3520
- type: "Tabs" | "Custom" | "Image" | "Component" | "Theme" | "Text" | "Token" | "Code" | "Table" | "Divider" | "Embed" | "Quote" | "Callout" | "Link" | "ComponentGroup" | "Heading" | "UnorderedList" | "OrderedList" | "Shortcuts" | "FigmaEmbed" | "YoutubeEmbed" | "StorybookEmbed" | "TokenGroup" | "TokenList" | "ComponentSandbox" | "FigmaFrames" | "ComponentAssets" | "RenderCode" | "TabItem" | "TableRow" | "TableCell";
3520
+ type: "Tabs" | "Custom" | "Image" | "Component" | "Theme" | "Text" | "Token" | "Code" | "Table" | "Divider" | "Link" | "Quote" | "Callout" | "Embed" | "ComponentGroup" | "Heading" | "UnorderedList" | "OrderedList" | "Shortcuts" | "FigmaEmbed" | "YoutubeEmbed" | "StorybookEmbed" | "TokenGroup" | "TokenList" | "ComponentSandbox" | "FigmaFrames" | "ComponentAssets" | "RenderCode" | "TabItem" | "TableRow" | "TableCell";
3521
3521
  persistentId: string;
3522
3522
  designObjectId?: string | null | undefined;
3523
3523
  designObjectIds?: string[] | null | undefined;
@@ -3813,8 +3813,8 @@ declare const DTODocumentationPageV2: z.ZodObject<{
3813
3813
  backgroundImageAsset: z.ZodOptional<z.ZodNullable<z.ZodObject<{
3814
3814
  type: z.ZodEnum<["Resource", "FigmaNode"]>;
3815
3815
  resource: z.ZodOptional<z.ZodObject<{
3816
- url: z.ZodString;
3817
3816
  resourceId: z.ZodString;
3817
+ url: z.ZodString;
3818
3818
  }, "strip", z.ZodTypeAny, {
3819
3819
  url: string;
3820
3820
  resourceId: string;
@@ -4269,8 +4269,8 @@ declare const DTOCreateDocumentationPageInputV2: z.ZodObject<{
4269
4269
  backgroundImageAsset: z.ZodOptional<z.ZodNullable<z.ZodObject<{
4270
4270
  type: z.ZodEnum<["Resource", "FigmaNode"]>;
4271
4271
  resource: z.ZodOptional<z.ZodObject<{
4272
- url: z.ZodString;
4273
4272
  resourceId: z.ZodString;
4273
+ url: z.ZodString;
4274
4274
  }, "strip", z.ZodTypeAny, {
4275
4275
  url: string;
4276
4276
  resourceId: string;
@@ -4530,8 +4530,8 @@ declare const DTOUpdateDocumentationPageInputV2: z.ZodObject<{
4530
4530
  backgroundImageAsset: z.ZodOptional<z.ZodNullable<z.ZodObject<{
4531
4531
  type: z.ZodEnum<["Resource", "FigmaNode"]>;
4532
4532
  resource: z.ZodOptional<z.ZodObject<{
4533
- url: z.ZodString;
4534
4533
  resourceId: z.ZodString;
4534
+ url: z.ZodString;
4535
4535
  }, "strip", z.ZodTypeAny, {
4536
4536
  url: string;
4537
4537
  resourceId: string;
@@ -5527,8 +5527,8 @@ declare const DTOElementActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
5527
5527
  backgroundImageAsset: z.ZodOptional<z.ZodNullable<z.ZodObject<{
5528
5528
  type: z.ZodEnum<["Resource", "FigmaNode"]>;
5529
5529
  resource: z.ZodOptional<z.ZodObject<{
5530
- url: z.ZodString;
5531
5530
  resourceId: z.ZodString;
5531
+ url: z.ZodString;
5532
5532
  }, "strip", z.ZodTypeAny, {
5533
5533
  url: string;
5534
5534
  resourceId: string;
@@ -5865,8 +5865,8 @@ declare const DTOElementActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
5865
5865
  backgroundImageAsset: z.ZodOptional<z.ZodNullable<z.ZodObject<{
5866
5866
  type: z.ZodEnum<["Resource", "FigmaNode"]>;
5867
5867
  resource: z.ZodOptional<z.ZodObject<{
5868
- url: z.ZodString;
5869
5868
  resourceId: z.ZodString;
5869
+ url: z.ZodString;
5870
5870
  }, "strip", z.ZodTypeAny, {
5871
5871
  url: string;
5872
5872
  resourceId: string;
@@ -6275,8 +6275,8 @@ declare const DTOElementActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
6275
6275
  backgroundImageAsset: z.ZodOptional<z.ZodNullable<z.ZodObject<{
6276
6276
  type: z.ZodEnum<["Resource", "FigmaNode"]>;
6277
6277
  resource: z.ZodOptional<z.ZodObject<{
6278
- url: z.ZodString;
6279
6278
  resourceId: z.ZodString;
6279
+ url: z.ZodString;
6280
6280
  }, "strip", z.ZodTypeAny, {
6281
6281
  url: string;
6282
6282
  resourceId: string;
@@ -6584,29 +6584,29 @@ declare const DTOElementActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
6584
6584
  type: z.ZodLiteral<"DocumentationTabCreate">;
6585
6585
  input: z.ZodObject<{
6586
6586
  persistentId: z.ZodString;
6587
- fromPagePersistentId: z.ZodString;
6587
+ tabContainerPersistentId: z.ZodString;
6588
6588
  tabName: z.ZodString;
6589
6589
  }, "strip", z.ZodTypeAny, {
6590
6590
  persistentId: string;
6591
- fromPagePersistentId: string;
6591
+ tabContainerPersistentId: string;
6592
6592
  tabName: string;
6593
6593
  }, {
6594
6594
  persistentId: string;
6595
- fromPagePersistentId: string;
6595
+ tabContainerPersistentId: string;
6596
6596
  tabName: string;
6597
6597
  }>;
6598
6598
  }, "strip", z.ZodTypeAny, {
6599
6599
  type: "DocumentationTabCreate";
6600
6600
  input: {
6601
6601
  persistentId: string;
6602
- fromPagePersistentId: string;
6602
+ tabContainerPersistentId: string;
6603
6603
  tabName: string;
6604
6604
  };
6605
6605
  }, {
6606
6606
  type: "DocumentationTabCreate";
6607
6607
  input: {
6608
6608
  persistentId: string;
6609
- fromPagePersistentId: string;
6609
+ tabContainerPersistentId: string;
6610
6610
  tabName: string;
6611
6611
  };
6612
6612
  }>, z.ZodObject<{
@@ -6642,8 +6642,8 @@ declare const DTOElementActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
6642
6642
  backgroundImageAsset: z.ZodOptional<z.ZodNullable<z.ZodObject<{
6643
6643
  type: z.ZodEnum<["Resource", "FigmaNode"]>;
6644
6644
  resource: z.ZodOptional<z.ZodObject<{
6645
- url: z.ZodString;
6646
6645
  resourceId: z.ZodString;
6646
+ url: z.ZodString;
6647
6647
  }, "strip", z.ZodTypeAny, {
6648
6648
  url: string;
6649
6649
  resourceId: string;
@@ -11804,14 +11804,17 @@ declare const DTOGetBlockDefinitionsOutput: z.ZodObject<{
11804
11804
  isBordered: z.ZodOptional<z.ZodBoolean>;
11805
11805
  hasBackground: z.ZodOptional<z.ZodBoolean>;
11806
11806
  isEditorPresentationDifferent: z.ZodOptional<z.ZodBoolean>;
11807
+ showBlockHeaderInEditor: z.ZodOptional<z.ZodBoolean>;
11807
11808
  }, "strip", z.ZodTypeAny, {
11808
11809
  isBordered?: boolean | undefined;
11809
11810
  hasBackground?: boolean | undefined;
11810
11811
  isEditorPresentationDifferent?: boolean | undefined;
11812
+ showBlockHeaderInEditor?: boolean | undefined;
11811
11813
  }, {
11812
11814
  isBordered?: boolean | undefined;
11813
11815
  hasBackground?: boolean | undefined;
11814
11816
  isEditorPresentationDifferent?: boolean | undefined;
11817
+ showBlockHeaderInEditor?: boolean | undefined;
11815
11818
  }>>;
11816
11819
  variants: z.ZodArray<z.ZodObject<{
11817
11820
  id: z.ZodString;
@@ -11826,14 +11829,17 @@ declare const DTOGetBlockDefinitionsOutput: z.ZodObject<{
11826
11829
  isBordered: z.ZodOptional<z.ZodBoolean>;
11827
11830
  hasBackground: z.ZodOptional<z.ZodBoolean>;
11828
11831
  isEditorPresentationDifferent: z.ZodOptional<z.ZodBoolean>;
11832
+ showBlockHeaderInEditor: z.ZodOptional<z.ZodBoolean>;
11829
11833
  }, "strip", z.ZodTypeAny, {
11830
11834
  isBordered?: boolean | undefined;
11831
11835
  hasBackground?: boolean | undefined;
11832
11836
  isEditorPresentationDifferent?: boolean | undefined;
11837
+ showBlockHeaderInEditor?: boolean | undefined;
11833
11838
  }, {
11834
11839
  isBordered?: boolean | undefined;
11835
11840
  hasBackground?: boolean | undefined;
11836
11841
  isEditorPresentationDifferent?: boolean | undefined;
11842
+ showBlockHeaderInEditor?: boolean | undefined;
11837
11843
  }>>;
11838
11844
  }, "strip", z.ZodTypeAny, {
11839
11845
  id: string;
@@ -11855,6 +11861,7 @@ declare const DTOGetBlockDefinitionsOutput: z.ZodObject<{
11855
11861
  isBordered?: boolean | undefined;
11856
11862
  hasBackground?: boolean | undefined;
11857
11863
  isEditorPresentationDifferent?: boolean | undefined;
11864
+ showBlockHeaderInEditor?: boolean | undefined;
11858
11865
  } | undefined;
11859
11866
  }, {
11860
11867
  id: string;
@@ -11876,6 +11883,7 @@ declare const DTOGetBlockDefinitionsOutput: z.ZodObject<{
11876
11883
  isBordered?: boolean | undefined;
11877
11884
  hasBackground?: boolean | undefined;
11878
11885
  isEditorPresentationDifferent?: boolean | undefined;
11886
+ showBlockHeaderInEditor?: boolean | undefined;
11879
11887
  } | undefined;
11880
11888
  }>, "many">;
11881
11889
  defaultVariantKey: z.ZodString;
@@ -11908,6 +11916,7 @@ declare const DTOGetBlockDefinitionsOutput: z.ZodObject<{
11908
11916
  isBordered?: boolean | undefined;
11909
11917
  hasBackground?: boolean | undefined;
11910
11918
  isEditorPresentationDifferent?: boolean | undefined;
11919
+ showBlockHeaderInEditor?: boolean | undefined;
11911
11920
  } | undefined;
11912
11921
  }[];
11913
11922
  defaultVariantKey: string;
@@ -11915,6 +11924,7 @@ declare const DTOGetBlockDefinitionsOutput: z.ZodObject<{
11915
11924
  isBordered?: boolean | undefined;
11916
11925
  hasBackground?: boolean | undefined;
11917
11926
  isEditorPresentationDifferent?: boolean | undefined;
11927
+ showBlockHeaderInEditor?: boolean | undefined;
11918
11928
  } | undefined;
11919
11929
  }, {
11920
11930
  properties: {
@@ -11945,6 +11955,7 @@ declare const DTOGetBlockDefinitionsOutput: z.ZodObject<{
11945
11955
  isBordered?: boolean | undefined;
11946
11956
  hasBackground?: boolean | undefined;
11947
11957
  isEditorPresentationDifferent?: boolean | undefined;
11958
+ showBlockHeaderInEditor?: boolean | undefined;
11948
11959
  } | undefined;
11949
11960
  }[];
11950
11961
  defaultVariantKey: string;
@@ -11952,6 +11963,7 @@ declare const DTOGetBlockDefinitionsOutput: z.ZodObject<{
11952
11963
  isBordered?: boolean | undefined;
11953
11964
  hasBackground?: boolean | undefined;
11954
11965
  isEditorPresentationDifferent?: boolean | undefined;
11966
+ showBlockHeaderInEditor?: boolean | undefined;
11955
11967
  } | undefined;
11956
11968
  }>;
11957
11969
  behavior: z.ZodObject<{
@@ -12023,14 +12035,17 @@ declare const DTOGetBlockDefinitionsOutput: z.ZodObject<{
12023
12035
  isBordered: z.ZodOptional<z.ZodBoolean>;
12024
12036
  hasBackground: z.ZodOptional<z.ZodBoolean>;
12025
12037
  isEditorPresentationDifferent: z.ZodOptional<z.ZodBoolean>;
12038
+ showBlockHeaderInEditor: z.ZodOptional<z.ZodBoolean>;
12026
12039
  }, "strip", z.ZodTypeAny, {
12027
12040
  isBordered?: boolean | undefined;
12028
12041
  hasBackground?: boolean | undefined;
12029
12042
  isEditorPresentationDifferent?: boolean | undefined;
12043
+ showBlockHeaderInEditor?: boolean | undefined;
12030
12044
  }, {
12031
12045
  isBordered?: boolean | undefined;
12032
12046
  hasBackground?: boolean | undefined;
12033
12047
  isEditorPresentationDifferent?: boolean | undefined;
12048
+ showBlockHeaderInEditor?: boolean | undefined;
12034
12049
  }>>;
12035
12050
  }, "strip", z.ZodTypeAny, {
12036
12051
  id: string;
@@ -12065,6 +12080,7 @@ declare const DTOGetBlockDefinitionsOutput: z.ZodObject<{
12065
12080
  isBordered?: boolean | undefined;
12066
12081
  hasBackground?: boolean | undefined;
12067
12082
  isEditorPresentationDifferent?: boolean | undefined;
12083
+ showBlockHeaderInEditor?: boolean | undefined;
12068
12084
  } | undefined;
12069
12085
  }[];
12070
12086
  defaultVariantKey: string;
@@ -12072,6 +12088,7 @@ declare const DTOGetBlockDefinitionsOutput: z.ZodObject<{
12072
12088
  isBordered?: boolean | undefined;
12073
12089
  hasBackground?: boolean | undefined;
12074
12090
  isEditorPresentationDifferent?: boolean | undefined;
12091
+ showBlockHeaderInEditor?: boolean | undefined;
12075
12092
  } | undefined;
12076
12093
  };
12077
12094
  category: "Text" | "Code" | "Embed" | "Figma" | "Layout" | "Media" | "Guidelines" | "Tokens" | "Components" | "Assets" | "Data" | "Other";
@@ -12099,6 +12116,7 @@ declare const DTOGetBlockDefinitionsOutput: z.ZodObject<{
12099
12116
  isBordered?: boolean | undefined;
12100
12117
  hasBackground?: boolean | undefined;
12101
12118
  isEditorPresentationDifferent?: boolean | undefined;
12119
+ showBlockHeaderInEditor?: boolean | undefined;
12102
12120
  } | undefined;
12103
12121
  }, {
12104
12122
  id: string;
@@ -12133,6 +12151,7 @@ declare const DTOGetBlockDefinitionsOutput: z.ZodObject<{
12133
12151
  isBordered?: boolean | undefined;
12134
12152
  hasBackground?: boolean | undefined;
12135
12153
  isEditorPresentationDifferent?: boolean | undefined;
12154
+ showBlockHeaderInEditor?: boolean | undefined;
12136
12155
  } | undefined;
12137
12156
  }[];
12138
12157
  defaultVariantKey: string;
@@ -12140,6 +12159,7 @@ declare const DTOGetBlockDefinitionsOutput: z.ZodObject<{
12140
12159
  isBordered?: boolean | undefined;
12141
12160
  hasBackground?: boolean | undefined;
12142
12161
  isEditorPresentationDifferent?: boolean | undefined;
12162
+ showBlockHeaderInEditor?: boolean | undefined;
12143
12163
  } | undefined;
12144
12164
  };
12145
12165
  category: "Text" | "Code" | "Embed" | "Figma" | "Layout" | "Media" | "Guidelines" | "Tokens" | "Components" | "Assets" | "Data" | "Other";
@@ -12167,6 +12187,7 @@ declare const DTOGetBlockDefinitionsOutput: z.ZodObject<{
12167
12187
  isBordered?: boolean | undefined;
12168
12188
  hasBackground?: boolean | undefined;
12169
12189
  isEditorPresentationDifferent?: boolean | undefined;
12190
+ showBlockHeaderInEditor?: boolean | undefined;
12170
12191
  } | undefined;
12171
12192
  }>, "many">;
12172
12193
  }, "strip", z.ZodTypeAny, {
@@ -12203,6 +12224,7 @@ declare const DTOGetBlockDefinitionsOutput: z.ZodObject<{
12203
12224
  isBordered?: boolean | undefined;
12204
12225
  hasBackground?: boolean | undefined;
12205
12226
  isEditorPresentationDifferent?: boolean | undefined;
12227
+ showBlockHeaderInEditor?: boolean | undefined;
12206
12228
  } | undefined;
12207
12229
  }[];
12208
12230
  defaultVariantKey: string;
@@ -12210,6 +12232,7 @@ declare const DTOGetBlockDefinitionsOutput: z.ZodObject<{
12210
12232
  isBordered?: boolean | undefined;
12211
12233
  hasBackground?: boolean | undefined;
12212
12234
  isEditorPresentationDifferent?: boolean | undefined;
12235
+ showBlockHeaderInEditor?: boolean | undefined;
12213
12236
  } | undefined;
12214
12237
  };
12215
12238
  category: "Text" | "Code" | "Embed" | "Figma" | "Layout" | "Media" | "Guidelines" | "Tokens" | "Components" | "Assets" | "Data" | "Other";
@@ -12237,6 +12260,7 @@ declare const DTOGetBlockDefinitionsOutput: z.ZodObject<{
12237
12260
  isBordered?: boolean | undefined;
12238
12261
  hasBackground?: boolean | undefined;
12239
12262
  isEditorPresentationDifferent?: boolean | undefined;
12263
+ showBlockHeaderInEditor?: boolean | undefined;
12240
12264
  } | undefined;
12241
12265
  }[];
12242
12266
  }, {
@@ -12273,6 +12297,7 @@ declare const DTOGetBlockDefinitionsOutput: z.ZodObject<{
12273
12297
  isBordered?: boolean | undefined;
12274
12298
  hasBackground?: boolean | undefined;
12275
12299
  isEditorPresentationDifferent?: boolean | undefined;
12300
+ showBlockHeaderInEditor?: boolean | undefined;
12276
12301
  } | undefined;
12277
12302
  }[];
12278
12303
  defaultVariantKey: string;
@@ -12280,6 +12305,7 @@ declare const DTOGetBlockDefinitionsOutput: z.ZodObject<{
12280
12305
  isBordered?: boolean | undefined;
12281
12306
  hasBackground?: boolean | undefined;
12282
12307
  isEditorPresentationDifferent?: boolean | undefined;
12308
+ showBlockHeaderInEditor?: boolean | undefined;
12283
12309
  } | undefined;
12284
12310
  };
12285
12311
  category: "Text" | "Code" | "Embed" | "Figma" | "Layout" | "Media" | "Guidelines" | "Tokens" | "Components" | "Assets" | "Data" | "Other";
@@ -12307,6 +12333,7 @@ declare const DTOGetBlockDefinitionsOutput: z.ZodObject<{
12307
12333
  isBordered?: boolean | undefined;
12308
12334
  hasBackground?: boolean | undefined;
12309
12335
  isEditorPresentationDifferent?: boolean | undefined;
12336
+ showBlockHeaderInEditor?: boolean | undefined;
12310
12337
  } | undefined;
12311
12338
  }[];
12312
12339
  }>;
@@ -12730,8 +12757,8 @@ declare const DTODocumentationPageRoomHeaderData: z.ZodObject<{
12730
12757
  backgroundImageAsset: z.ZodOptional<z.ZodNullable<z.ZodObject<{
12731
12758
  type: z.ZodEnum<["Resource", "FigmaNode"]>;
12732
12759
  resource: z.ZodOptional<z.ZodObject<{
12733
- url: z.ZodString;
12734
12760
  resourceId: z.ZodString;
12761
+ url: z.ZodString;
12735
12762
  }, "strip", z.ZodTypeAny, {
12736
12763
  url: string;
12737
12764
  resourceId: string;
@@ -12982,8 +13009,8 @@ declare const DTODocumentationPageRoomHeaderDataUpdate: z.ZodObject<{
12982
13009
  backgroundImageAsset: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodObject<{
12983
13010
  type: z.ZodEnum<["Resource", "FigmaNode"]>;
12984
13011
  resource: z.ZodOptional<z.ZodObject<{
12985
- url: z.ZodString;
12986
13012
  resourceId: z.ZodString;
13013
+ url: z.ZodString;
12987
13014
  }, "strip", z.ZodTypeAny, {
12988
13015
  url: string;
12989
13016
  resourceId: string;
@@ -14849,77 +14876,6 @@ type ProsemirrorBlockItem = {
14849
14876
 
14850
14877
  declare function pageToYXmlFragment(page: DocumentationPageEditorModel, definitions: PageBlockDefinition[], fragment: Y.XmlFragment): Y.XmlFragment;
14851
14878
  declare function pageToProsemirrorDoc(page: DocumentationPageEditorModel, definitions: PageBlockDefinition[]): ProsemirrorNode;
14852
- declare function blockDefinitionForBlock(block: PageBlockEditorModel, definitions: PageBlockDefinition[]): {
14853
- id: string;
14854
- name: string;
14855
- description: string;
14856
- item: {
14857
- properties: {
14858
- id: string;
14859
- type: "FigmaNode" | "Image" | "Color" | "Component" | "RichText" | "MultiRichText" | "Text" | "Boolean" | "Number" | "SingleSelect" | "MultiSelect" | "Token" | "TokenType" | "TokenProperty" | "ComponentProperty" | "Asset" | "AssetProperty" | "EmbedURL" | "URL" | "Markdown" | "Code" | "CodeSandbox" | "Table" | "Divider" | "Storybook";
14860
- name: string;
14861
- description?: string | undefined;
14862
- options?: Record<string, any> | undefined;
14863
- variantOptions?: Record<string, Record<string, any>> | undefined;
14864
- }[];
14865
- variants: {
14866
- id: string;
14867
- name: string;
14868
- layout: {
14869
- type: "Column" | "Row";
14870
- gap?: "None" | "Small" | "Medium" | "Large" | undefined;
14871
- columnAlign?: "Center" | "Start" | "End" | undefined;
14872
- columnResizing?: "Fill" | "Hug" | undefined;
14873
- } & {
14874
- children: (string | _supernova_studio_model.PageBlockDefinitionLayout)[];
14875
- };
14876
- image?: string | undefined;
14877
- description?: string | undefined;
14878
- documentationLink?: string | undefined;
14879
- maxColumns?: number | undefined;
14880
- defaultColumns?: number | undefined;
14881
- appearance?: {
14882
- isBordered?: boolean | undefined;
14883
- hasBackground?: boolean | undefined;
14884
- isEditorPresentationDifferent?: boolean | undefined;
14885
- } | undefined;
14886
- }[];
14887
- defaultVariantKey: string;
14888
- appearance?: {
14889
- isBordered?: boolean | undefined;
14890
- hasBackground?: boolean | undefined;
14891
- isEditorPresentationDifferent?: boolean | undefined;
14892
- } | undefined;
14893
- };
14894
- category: "Text" | "Code" | "Embed" | "Figma" | "Layout" | "Media" | "Guidelines" | "Tokens" | "Components" | "Assets" | "Data" | "Other";
14895
- behavior: {
14896
- dataType: "FigmaNode" | "Component" | "Token" | "Asset" | "Item";
14897
- items?: {
14898
- numberOfItems: number;
14899
- allowLinks: boolean;
14900
- } | undefined;
14901
- entities?: {
14902
- selectionType: "Group" | "Entity" | "EntityAndGroup";
14903
- maxSelected: number;
14904
- } | undefined;
14905
- };
14906
- editorOptions: {
14907
- onboarding?: {
14908
- helpText: string;
14909
- documentationLink?: string | undefined;
14910
- } | undefined;
14911
- };
14912
- icon?: string | undefined;
14913
- documentationLink?: string | undefined;
14914
- searchKeywords?: string[] | undefined;
14915
- appearance?: {
14916
- isBordered?: boolean | undefined;
14917
- hasBackground?: boolean | undefined;
14918
- isEditorPresentationDifferent?: boolean | undefined;
14919
- } | undefined;
14920
- };
14921
- declare function sectionToProsemirrorNode(section: PageSectionEditorModel, definitions: PageBlockDefinition[]): ProsemirrorNode;
14922
- declare function blockToProsemirrorNode(block: PageBlockEditorModel, definition: PageBlockDefinition): ProsemirrorNode | null;
14923
14879
  declare function serializeAsCustomBlock(block: PageBlockEditorModel, definition: PageBlockDefinition): ProsemirrorNode;
14924
14880
 
14925
14881
  declare function getMockPageBlockDefinitions(): PageBlockDefinition[];
@@ -15033,4 +14989,4 @@ declare const BlockDefinitionUtils: {
15033
14989
  };
15034
14990
  };
15035
14991
 
15036
- export { BlockDefinitionUtils, BlockParsingUtils, DTOCreateDocumentationGroupInput, DTOCreateDocumentationPageInputV2, DTOCreateDocumentationTabInput, DTODeleteDocumentationGroupInput, DTODeleteDocumentationPageInputV2, DTODeleteDocumentationTabGroupInput, DTODesignSystem, DTODocumentationGroupCreateActionInputV2, DTODocumentationGroupCreateActionOutputV2, DTODocumentationGroupDeleteActionInputV2, DTODocumentationGroupDeleteActionOutputV2, DTODocumentationGroupDuplicateActionInputV2, DTODocumentationGroupDuplicateActionOutputV2, DTODocumentationGroupMoveActionInputV2, DTODocumentationGroupMoveActionOutputV2, DTODocumentationGroupStructureV2, DTODocumentationGroupUpdateActionInputV2, DTODocumentationGroupUpdateActionOutputV2, DTODocumentationGroupV2, DTODocumentationHierarchyV2, DTODocumentationLinkPreviewRequest, DTODocumentationLinkPreviewResponse, DTODocumentationPageCreateActionInputV2, DTODocumentationPageCreateActionOutputV2, DTODocumentationPageDeleteActionInputV2, DTODocumentationPageDeleteActionOutputV2, DTODocumentationPageDuplicateActionInputV2, DTODocumentationPageDuplicateActionOutputV2, DTODocumentationPageMoveActionInputV2, DTODocumentationPageMoveActionOutputV2, DTODocumentationPageRoomHeaderData, DTODocumentationPageRoomHeaderDataUpdate, DTODocumentationPageStructureV2, DTODocumentationPageUpdateActionInputV2, DTODocumentationPageUpdateActionOutputV2, DTODocumentationPageV2, DTODocumentationTabCreateActionInputV2, DTODocumentationTabCreateActionOutputV2, type DTODocumentationTabGroupCreateActionInputV2, DTODocumentationTabGroupDeleteActionInputV2, DTODocumentationTabGroupDeleteActionOutputV2, DTODuplicateDocumentationGroupInput, DTODuplicateDocumentationPageInputV2, DTOElementActionInput, DTOElementActionOutput, DTOElementsGetOutput, type DTOElementsGetQueryParsed, type DTOElementsGetQueryRaw, DTOElementsGetQuerySchema, DTOElementsGetTypeFilter, DTOFigmaNode, DTOFigmaNodeData, DTOFigmaNodeRenderActionInput, DTOFigmaNodeRenderActionOutput, DTOFigmaNodeRenderInput, DTOGetBlockDefinitionsOutput, DTOLiveblocksAuthRequest, DTOMoveDocumentationGroupInput, DTOMoveDocumentationPageInputV2, DTONpmRegistryConfig, DTOUpdateDocumentationGroupInput, DTOUpdateDocumentationPageInputV2, DTOUserWorkspaceMembership, DTOUserWorkspaceMembershipsResponse, DTOWorkspace, DTOWorkspaceRole, DocumentationPageEditorModel, DocumentationPageV1DTO, NpmRegistryInput, PageBlockEditorModel, PageSectionEditorModel, type ProsemirrorBlockItem, type ProsemirrorMark, type ProsemirrorNode, WorkspaceConfigurationPayload, blockDefinitionForBlock, blockToProsemirrorNode, buildDocPagePublishPaths, calculateElementParentChain, documentationElementsToHierarchyDto, documentationHierarchyToYjs, documentationPagesToDTOV1, documentationPagesToDTOV2, documentationPagesToStructureDTOV2, elementGroupsToDocumentationGroupDTO, elementGroupsToDocumentationGroupStructureDTO, getMockPageBlockDefinitions, itemConfigurationToYjs, pageToProsemirrorDoc, pageToYXmlFragment, pmSchema, prosemirrorDocToPage, prosemirrorNodeToBlock, prosemirrorNodeToSection, prosemirrorNodesToBlocks, sectionToProsemirrorNode, serializeAsCustomBlock, validateSsoPayload, yDocToPage, yXmlFragmentToPage, yjsToDocumentationHierarchy, yjsToItemConfiguration };
14992
+ export { BlockDefinitionUtils, BlockParsingUtils, DTOCreateDocumentationGroupInput, DTOCreateDocumentationPageInputV2, DTOCreateDocumentationTabInput, DTODeleteDocumentationGroupInput, DTODeleteDocumentationPageInputV2, DTODeleteDocumentationTabGroupInput, DTODesignSystem, DTODocumentationGroupCreateActionInputV2, DTODocumentationGroupCreateActionOutputV2, DTODocumentationGroupDeleteActionInputV2, DTODocumentationGroupDeleteActionOutputV2, DTODocumentationGroupDuplicateActionInputV2, DTODocumentationGroupDuplicateActionOutputV2, DTODocumentationGroupMoveActionInputV2, DTODocumentationGroupMoveActionOutputV2, DTODocumentationGroupStructureV2, DTODocumentationGroupUpdateActionInputV2, DTODocumentationGroupUpdateActionOutputV2, DTODocumentationGroupV2, DTODocumentationHierarchyV2, DTODocumentationLinkPreviewRequest, DTODocumentationLinkPreviewResponse, DTODocumentationPageCreateActionInputV2, DTODocumentationPageCreateActionOutputV2, DTODocumentationPageDeleteActionInputV2, DTODocumentationPageDeleteActionOutputV2, DTODocumentationPageDuplicateActionInputV2, DTODocumentationPageDuplicateActionOutputV2, DTODocumentationPageMoveActionInputV2, DTODocumentationPageMoveActionOutputV2, DTODocumentationPageRoomHeaderData, DTODocumentationPageRoomHeaderDataUpdate, DTODocumentationPageStructureV2, DTODocumentationPageUpdateActionInputV2, DTODocumentationPageUpdateActionOutputV2, DTODocumentationPageV2, DTODocumentationTabCreateActionInputV2, DTODocumentationTabCreateActionOutputV2, type DTODocumentationTabGroupCreateActionInputV2, DTODocumentationTabGroupDeleteActionInputV2, DTODocumentationTabGroupDeleteActionOutputV2, DTODuplicateDocumentationGroupInput, DTODuplicateDocumentationPageInputV2, DTOElementActionInput, DTOElementActionOutput, DTOElementsGetOutput, type DTOElementsGetQueryParsed, type DTOElementsGetQueryRaw, DTOElementsGetQuerySchema, DTOElementsGetTypeFilter, DTOFigmaNode, DTOFigmaNodeData, DTOFigmaNodeRenderActionInput, DTOFigmaNodeRenderActionOutput, DTOFigmaNodeRenderInput, DTOGetBlockDefinitionsOutput, DTOLiveblocksAuthRequest, DTOMoveDocumentationGroupInput, DTOMoveDocumentationPageInputV2, DTONpmRegistryConfig, DTOUpdateDocumentationGroupInput, DTOUpdateDocumentationPageInputV2, DTOUserWorkspaceMembership, DTOUserWorkspaceMembershipsResponse, DTOWorkspace, DTOWorkspaceRole, DocumentationPageEditorModel, DocumentationPageV1DTO, NpmRegistryInput, PageBlockEditorModel, PageSectionEditorModel, type ProsemirrorBlockItem, type ProsemirrorMark, type ProsemirrorNode, WorkspaceConfigurationPayload, buildDocPagePublishPaths, calculateElementParentChain, documentationElementsToHierarchyDto, documentationHierarchyToYjs, documentationPagesToDTOV1, documentationPagesToDTOV2, documentationPagesToStructureDTOV2, elementGroupsToDocumentationGroupDTO, elementGroupsToDocumentationGroupStructureDTO, getMockPageBlockDefinitions, itemConfigurationToYjs, pageToProsemirrorDoc, pageToYXmlFragment, pmSchema, prosemirrorDocToPage, prosemirrorNodeToBlock, prosemirrorNodeToSection, prosemirrorNodesToBlocks, serializeAsCustomBlock, validateSsoPayload, yDocToPage, yXmlFragmentToPage, yjsToDocumentationHierarchy, yjsToItemConfiguration };