@supernova-studio/client 0.25.0 → 0.26.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
@@ -106,8 +106,8 @@ declare const DTODocumentationGroupCreateActionOutputV2: z.ZodObject<{
106
106
  };
107
107
  }>;
108
108
  type DTODocumentationGroupCreateActionOutputV2 = z.infer<typeof DTODocumentationGroupCreateActionOutputV2>;
109
- declare const DTODocumentationTabGroupCreateActionOutputV2: z.ZodObject<{
110
- type: z.ZodLiteral<"DocumentationTabGroupCreate">;
109
+ declare const DTODocumentationTabCreateActionOutputV2: z.ZodObject<{
110
+ type: z.ZodLiteral<"DocumentationTabCreate">;
111
111
  output: z.ZodObject<{
112
112
  success: z.ZodLiteral<true>;
113
113
  }, "strip", z.ZodTypeAny, {
@@ -116,17 +116,17 @@ declare const DTODocumentationTabGroupCreateActionOutputV2: z.ZodObject<{
116
116
  success: true;
117
117
  }>;
118
118
  }, "strip", z.ZodTypeAny, {
119
- type: "DocumentationTabGroupCreate";
119
+ type: "DocumentationTabCreate";
120
120
  output: {
121
121
  success: true;
122
122
  };
123
123
  }, {
124
- type: "DocumentationTabGroupCreate";
124
+ type: "DocumentationTabCreate";
125
125
  output: {
126
126
  success: true;
127
127
  };
128
128
  }>;
129
- type DTODocumentationTabGroupCreateActionOutputV2 = z.infer<typeof DTODocumentationTabGroupCreateActionOutputV2>;
129
+ type DTODocumentationTabCreateActionOutputV2 = z.infer<typeof DTODocumentationTabCreateActionOutputV2>;
130
130
  declare const DTODocumentationGroupUpdateActionOutputV2: z.ZodObject<{
131
131
  type: z.ZodLiteral<"DocumentationGroupUpdate">;
132
132
  output: z.ZodObject<{
@@ -232,6 +232,36 @@ declare const DTODocumentationTabGroupDeleteActionOutputV2: z.ZodObject<{
232
232
  };
233
233
  }>;
234
234
  type DTODocumentationTabGroupDeleteActionOutputV2 = z.infer<typeof DTODocumentationTabGroupDeleteActionOutputV2>;
235
+ declare const DTODocumentationTabCreateActionInputV2: z.ZodObject<{
236
+ type: z.ZodLiteral<"DocumentationTabCreate">;
237
+ input: z.ZodObject<{
238
+ persistentId: z.ZodString;
239
+ fromPagePersistentId: z.ZodString;
240
+ tabName: z.ZodString;
241
+ }, "strip", z.ZodTypeAny, {
242
+ persistentId: string;
243
+ fromPagePersistentId: string;
244
+ tabName: string;
245
+ }, {
246
+ persistentId: string;
247
+ fromPagePersistentId: string;
248
+ tabName: string;
249
+ }>;
250
+ }, "strip", z.ZodTypeAny, {
251
+ type: "DocumentationTabCreate";
252
+ input: {
253
+ persistentId: string;
254
+ fromPagePersistentId: string;
255
+ tabName: string;
256
+ };
257
+ }, {
258
+ type: "DocumentationTabCreate";
259
+ input: {
260
+ persistentId: string;
261
+ fromPagePersistentId: string;
262
+ tabName: string;
263
+ };
264
+ }>;
235
265
  declare const DTODocumentationGroupCreateActionInputV2: z.ZodObject<{
236
266
  type: z.ZodLiteral<"DocumentationGroupCreate">;
237
267
  input: z.ZodObject<{
@@ -572,37 +602,7 @@ declare const DTODocumentationGroupCreateActionInputV2: z.ZodObject<{
572
602
  };
573
603
  }>;
574
604
  type DTODocumentationGroupCreateActionInputV2 = z.infer<typeof DTODocumentationGroupCreateActionInputV2>;
575
- declare const DTODocumentationTabGroupCreateActionInputV2: z.ZodObject<{
576
- type: z.ZodLiteral<"DocumentationTabGroupCreate">;
577
- input: z.ZodObject<{
578
- persistentId: z.ZodString;
579
- fromPageId: z.ZodString;
580
- tabName: z.ZodString;
581
- }, "strip", z.ZodTypeAny, {
582
- persistentId: string;
583
- fromPageId: string;
584
- tabName: string;
585
- }, {
586
- persistentId: string;
587
- fromPageId: string;
588
- tabName: string;
589
- }>;
590
- }, "strip", z.ZodTypeAny, {
591
- type: "DocumentationTabGroupCreate";
592
- input: {
593
- persistentId: string;
594
- fromPageId: string;
595
- tabName: string;
596
- };
597
- }, {
598
- type: "DocumentationTabGroupCreate";
599
- input: {
600
- persistentId: string;
601
- fromPageId: string;
602
- tabName: string;
603
- };
604
- }>;
605
- type DTODocumentationTabGroupCreateActionInputV2 = z.infer<typeof DTODocumentationTabGroupCreateActionInputV2>;
605
+ type DTODocumentationTabGroupCreateActionInputV2 = z.infer<typeof DTODocumentationTabCreateActionInputV2>;
606
606
  declare const DTODocumentationGroupUpdateActionInputV2: z.ZodObject<{
607
607
  type: z.ZodLiteral<"DocumentationGroupUpdate">;
608
608
  input: z.ZodObject<{
@@ -1931,20 +1931,20 @@ declare const DTODuplicateDocumentationGroupInput: z.ZodObject<{
1931
1931
  afterPersistentId?: string | undefined;
1932
1932
  }>;
1933
1933
  type DTODuplicateDocumentationGroupInput = z.infer<typeof DTODuplicateDocumentationGroupInput>;
1934
- declare const DTOCreateDocumentationTabGroupInput: z.ZodObject<{
1934
+ declare const DTOCreateDocumentationTabInput: z.ZodObject<{
1935
1935
  persistentId: z.ZodString;
1936
- fromPageId: z.ZodString;
1936
+ fromPagePersistentId: z.ZodString;
1937
1937
  tabName: z.ZodString;
1938
1938
  }, "strip", z.ZodTypeAny, {
1939
1939
  persistentId: string;
1940
- fromPageId: string;
1940
+ fromPagePersistentId: string;
1941
1941
  tabName: string;
1942
1942
  }, {
1943
1943
  persistentId: string;
1944
- fromPageId: string;
1944
+ fromPagePersistentId: string;
1945
1945
  tabName: string;
1946
1946
  }>;
1947
- type DTOCreateDocumentationTabGroupInput = z.infer<typeof DTOCreateDocumentationTabGroupInput>;
1947
+ type DTOCreateDocumentationTabInput = z.infer<typeof DTOCreateDocumentationTabInput>;
1948
1948
  declare const DTODeleteDocumentationTabGroupInput: z.ZodObject<{
1949
1949
  id: z.ZodString;
1950
1950
  }, "strip", z.ZodTypeAny, {
@@ -5123,7 +5123,7 @@ declare const DTOElementActionOutput: z.ZodDiscriminatedUnion<"type", [z.ZodObje
5123
5123
  success: true;
5124
5124
  };
5125
5125
  }>, z.ZodObject<{
5126
- type: z.ZodLiteral<"DocumentationTabGroupCreate">;
5126
+ type: z.ZodLiteral<"DocumentationTabCreate">;
5127
5127
  output: z.ZodObject<{
5128
5128
  success: z.ZodLiteral<true>;
5129
5129
  }, "strip", z.ZodTypeAny, {
@@ -5132,12 +5132,12 @@ declare const DTOElementActionOutput: z.ZodDiscriminatedUnion<"type", [z.ZodObje
5132
5132
  success: true;
5133
5133
  }>;
5134
5134
  }, "strip", z.ZodTypeAny, {
5135
- type: "DocumentationTabGroupCreate";
5135
+ type: "DocumentationTabCreate";
5136
5136
  output: {
5137
5137
  success: true;
5138
5138
  };
5139
5139
  }, {
5140
- type: "DocumentationTabGroupCreate";
5140
+ type: "DocumentationTabCreate";
5141
5141
  output: {
5142
5142
  success: true;
5143
5143
  };
@@ -6477,32 +6477,32 @@ declare const DTOElementActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
6477
6477
  afterPersistentId?: string | undefined;
6478
6478
  };
6479
6479
  }>, z.ZodObject<{
6480
- type: z.ZodLiteral<"DocumentationTabGroupCreate">;
6480
+ type: z.ZodLiteral<"DocumentationTabCreate">;
6481
6481
  input: z.ZodObject<{
6482
6482
  persistentId: z.ZodString;
6483
- fromPageId: z.ZodString;
6483
+ fromPagePersistentId: z.ZodString;
6484
6484
  tabName: z.ZodString;
6485
6485
  }, "strip", z.ZodTypeAny, {
6486
6486
  persistentId: string;
6487
- fromPageId: string;
6487
+ fromPagePersistentId: string;
6488
6488
  tabName: string;
6489
6489
  }, {
6490
6490
  persistentId: string;
6491
- fromPageId: string;
6491
+ fromPagePersistentId: string;
6492
6492
  tabName: string;
6493
6493
  }>;
6494
6494
  }, "strip", z.ZodTypeAny, {
6495
- type: "DocumentationTabGroupCreate";
6495
+ type: "DocumentationTabCreate";
6496
6496
  input: {
6497
6497
  persistentId: string;
6498
- fromPageId: string;
6498
+ fromPagePersistentId: string;
6499
6499
  tabName: string;
6500
6500
  };
6501
6501
  }, {
6502
- type: "DocumentationTabGroupCreate";
6502
+ type: "DocumentationTabCreate";
6503
6503
  input: {
6504
6504
  persistentId: string;
6505
- fromPageId: string;
6505
+ fromPagePersistentId: string;
6506
6506
  tabName: string;
6507
6507
  };
6508
6508
  }>, z.ZodObject<{
@@ -7941,7 +7941,7 @@ declare const DTOUserWorkspaceMembership: z.ZodObject<{
7941
7941
  daysUntilDue?: number | undefined;
7942
7942
  }>;
7943
7943
  npmRegistry: z.ZodOptional<z.ZodObject<{
7944
- registryType: z.ZodEnum<["NPMJS", "GitHub", "Artifactory", "Custom", "AzureDevOps"]>;
7944
+ registryType: z.ZodEnum<["NPMJS", "GitHub", "AzureDevOps", "Artifactory", "Custom"]>;
7945
7945
  registryUrl: z.ZodString;
7946
7946
  customRegistryUrl: z.ZodOptional<z.ZodString>;
7947
7947
  proxyUrl: z.ZodString;
@@ -7952,7 +7952,7 @@ declare const DTOUserWorkspaceMembership: z.ZodObject<{
7952
7952
  enabledScopes: z.ZodArray<z.ZodString, "many">;
7953
7953
  bypassProxy: z.ZodBoolean;
7954
7954
  }, "strip", z.ZodTypeAny, {
7955
- registryType: "NPMJS" | "GitHub" | "Artifactory" | "Custom" | "AzureDevOps";
7955
+ registryType: "NPMJS" | "GitHub" | "AzureDevOps" | "Artifactory" | "Custom";
7956
7956
  registryUrl: string;
7957
7957
  proxyUrl: string;
7958
7958
  authType: "Custom" | "Basic" | "Bearer" | "None";
@@ -7963,7 +7963,7 @@ declare const DTOUserWorkspaceMembership: z.ZodObject<{
7963
7963
  username?: string | undefined;
7964
7964
  password?: "redacted" | undefined;
7965
7965
  }, {
7966
- registryType: "NPMJS" | "GitHub" | "Artifactory" | "Custom" | "AzureDevOps";
7966
+ registryType: "NPMJS" | "GitHub" | "AzureDevOps" | "Artifactory" | "Custom";
7967
7967
  registryUrl: string;
7968
7968
  proxyUrl: string;
7969
7969
  authType: "Custom" | "Basic" | "Bearer" | "None";
@@ -8122,7 +8122,7 @@ declare const DTOUserWorkspaceMembership: z.ZodObject<{
8122
8122
  daysUntilDue?: number | undefined;
8123
8123
  };
8124
8124
  npmRegistry?: {
8125
- registryType: "NPMJS" | "GitHub" | "Artifactory" | "Custom" | "AzureDevOps";
8125
+ registryType: "NPMJS" | "GitHub" | "AzureDevOps" | "Artifactory" | "Custom";
8126
8126
  registryUrl: string;
8127
8127
  proxyUrl: string;
8128
8128
  authType: "Custom" | "Basic" | "Bearer" | "None";
@@ -8281,7 +8281,7 @@ declare const DTOUserWorkspaceMembership: z.ZodObject<{
8281
8281
  daysUntilDue?: number | undefined;
8282
8282
  };
8283
8283
  npmRegistry?: {
8284
- registryType: "NPMJS" | "GitHub" | "Artifactory" | "Custom" | "AzureDevOps";
8284
+ registryType: "NPMJS" | "GitHub" | "AzureDevOps" | "Artifactory" | "Custom";
8285
8285
  registryUrl: string;
8286
8286
  proxyUrl: string;
8287
8287
  authType: "Custom" | "Basic" | "Bearer" | "None";
@@ -8444,7 +8444,7 @@ declare const DTOUserWorkspaceMembership: z.ZodObject<{
8444
8444
  daysUntilDue?: number | undefined;
8445
8445
  };
8446
8446
  npmRegistry?: {
8447
- registryType: "NPMJS" | "GitHub" | "Artifactory" | "Custom" | "AzureDevOps";
8447
+ registryType: "NPMJS" | "GitHub" | "AzureDevOps" | "Artifactory" | "Custom";
8448
8448
  registryUrl: string;
8449
8449
  proxyUrl: string;
8450
8450
  authType: "Custom" | "Basic" | "Bearer" | "None";
@@ -8607,7 +8607,7 @@ declare const DTOUserWorkspaceMembership: z.ZodObject<{
8607
8607
  daysUntilDue?: number | undefined;
8608
8608
  };
8609
8609
  npmRegistry?: {
8610
- registryType: "NPMJS" | "GitHub" | "Artifactory" | "Custom" | "AzureDevOps";
8610
+ registryType: "NPMJS" | "GitHub" | "AzureDevOps" | "Artifactory" | "Custom";
8611
8611
  registryUrl: string;
8612
8612
  proxyUrl: string;
8613
8613
  authType: "Custom" | "Basic" | "Bearer" | "None";
@@ -9434,7 +9434,7 @@ declare const DTOUserWorkspaceMembershipsResponse: z.ZodObject<{
9434
9434
  daysUntilDue?: number | undefined;
9435
9435
  }>;
9436
9436
  npmRegistry: z.ZodOptional<z.ZodObject<{
9437
- registryType: z.ZodEnum<["NPMJS", "GitHub", "Artifactory", "Custom", "AzureDevOps"]>;
9437
+ registryType: z.ZodEnum<["NPMJS", "GitHub", "AzureDevOps", "Artifactory", "Custom"]>;
9438
9438
  registryUrl: z.ZodString;
9439
9439
  customRegistryUrl: z.ZodOptional<z.ZodString>;
9440
9440
  proxyUrl: z.ZodString;
@@ -9445,7 +9445,7 @@ declare const DTOUserWorkspaceMembershipsResponse: z.ZodObject<{
9445
9445
  enabledScopes: z.ZodArray<z.ZodString, "many">;
9446
9446
  bypassProxy: z.ZodBoolean;
9447
9447
  }, "strip", z.ZodTypeAny, {
9448
- registryType: "NPMJS" | "GitHub" | "Artifactory" | "Custom" | "AzureDevOps";
9448
+ registryType: "NPMJS" | "GitHub" | "AzureDevOps" | "Artifactory" | "Custom";
9449
9449
  registryUrl: string;
9450
9450
  proxyUrl: string;
9451
9451
  authType: "Custom" | "Basic" | "Bearer" | "None";
@@ -9456,7 +9456,7 @@ declare const DTOUserWorkspaceMembershipsResponse: z.ZodObject<{
9456
9456
  username?: string | undefined;
9457
9457
  password?: "redacted" | undefined;
9458
9458
  }, {
9459
- registryType: "NPMJS" | "GitHub" | "Artifactory" | "Custom" | "AzureDevOps";
9459
+ registryType: "NPMJS" | "GitHub" | "AzureDevOps" | "Artifactory" | "Custom";
9460
9460
  registryUrl: string;
9461
9461
  proxyUrl: string;
9462
9462
  authType: "Custom" | "Basic" | "Bearer" | "None";
@@ -9615,7 +9615,7 @@ declare const DTOUserWorkspaceMembershipsResponse: z.ZodObject<{
9615
9615
  daysUntilDue?: number | undefined;
9616
9616
  };
9617
9617
  npmRegistry?: {
9618
- registryType: "NPMJS" | "GitHub" | "Artifactory" | "Custom" | "AzureDevOps";
9618
+ registryType: "NPMJS" | "GitHub" | "AzureDevOps" | "Artifactory" | "Custom";
9619
9619
  registryUrl: string;
9620
9620
  proxyUrl: string;
9621
9621
  authType: "Custom" | "Basic" | "Bearer" | "None";
@@ -9774,7 +9774,7 @@ declare const DTOUserWorkspaceMembershipsResponse: z.ZodObject<{
9774
9774
  daysUntilDue?: number | undefined;
9775
9775
  };
9776
9776
  npmRegistry?: {
9777
- registryType: "NPMJS" | "GitHub" | "Artifactory" | "Custom" | "AzureDevOps";
9777
+ registryType: "NPMJS" | "GitHub" | "AzureDevOps" | "Artifactory" | "Custom";
9778
9778
  registryUrl: string;
9779
9779
  proxyUrl: string;
9780
9780
  authType: "Custom" | "Basic" | "Bearer" | "None";
@@ -9937,7 +9937,7 @@ declare const DTOUserWorkspaceMembershipsResponse: z.ZodObject<{
9937
9937
  daysUntilDue?: number | undefined;
9938
9938
  };
9939
9939
  npmRegistry?: {
9940
- registryType: "NPMJS" | "GitHub" | "Artifactory" | "Custom" | "AzureDevOps";
9940
+ registryType: "NPMJS" | "GitHub" | "AzureDevOps" | "Artifactory" | "Custom";
9941
9941
  registryUrl: string;
9942
9942
  proxyUrl: string;
9943
9943
  authType: "Custom" | "Basic" | "Bearer" | "None";
@@ -10100,7 +10100,7 @@ declare const DTOUserWorkspaceMembershipsResponse: z.ZodObject<{
10100
10100
  daysUntilDue?: number | undefined;
10101
10101
  };
10102
10102
  npmRegistry?: {
10103
- registryType: "NPMJS" | "GitHub" | "Artifactory" | "Custom" | "AzureDevOps";
10103
+ registryType: "NPMJS" | "GitHub" | "AzureDevOps" | "Artifactory" | "Custom";
10104
10104
  registryUrl: string;
10105
10105
  proxyUrl: string;
10106
10106
  authType: "Custom" | "Basic" | "Bearer" | "None";
@@ -10265,7 +10265,7 @@ declare const DTOUserWorkspaceMembershipsResponse: z.ZodObject<{
10265
10265
  daysUntilDue?: number | undefined;
10266
10266
  };
10267
10267
  npmRegistry?: {
10268
- registryType: "NPMJS" | "GitHub" | "Artifactory" | "Custom" | "AzureDevOps";
10268
+ registryType: "NPMJS" | "GitHub" | "AzureDevOps" | "Artifactory" | "Custom";
10269
10269
  registryUrl: string;
10270
10270
  proxyUrl: string;
10271
10271
  authType: "Custom" | "Basic" | "Bearer" | "None";
@@ -10430,7 +10430,7 @@ declare const DTOUserWorkspaceMembershipsResponse: z.ZodObject<{
10430
10430
  daysUntilDue?: number | undefined;
10431
10431
  };
10432
10432
  npmRegistry?: {
10433
- registryType: "NPMJS" | "GitHub" | "Artifactory" | "Custom" | "AzureDevOps";
10433
+ registryType: "NPMJS" | "GitHub" | "AzureDevOps" | "Artifactory" | "Custom";
10434
10434
  registryUrl: string;
10435
10435
  proxyUrl: string;
10436
10436
  authType: "Custom" | "Basic" | "Bearer" | "None";
@@ -10449,7 +10449,7 @@ declare const DTOUserWorkspaceMembershipsResponse: z.ZodObject<{
10449
10449
  type DTOUserWorkspaceMembershipsResponse = z.infer<typeof DTOUserWorkspaceMembershipsResponse>;
10450
10450
 
10451
10451
  declare const DTONpmRegistryConfig: z.ZodObject<{
10452
- registryType: z.ZodEnum<["NPMJS", "GitHub", "Artifactory", "Custom", "AzureDevOps"]>;
10452
+ registryType: z.ZodEnum<["NPMJS", "GitHub", "AzureDevOps", "Artifactory", "Custom"]>;
10453
10453
  registryUrl: z.ZodString;
10454
10454
  customRegistryUrl: z.ZodOptional<z.ZodString>;
10455
10455
  proxyUrl: z.ZodString;
@@ -10460,7 +10460,7 @@ declare const DTONpmRegistryConfig: z.ZodObject<{
10460
10460
  enabledScopes: z.ZodArray<z.ZodString, "many">;
10461
10461
  bypassProxy: z.ZodBoolean;
10462
10462
  }, "strip", z.ZodTypeAny, {
10463
- registryType: "NPMJS" | "GitHub" | "Artifactory" | "Custom" | "AzureDevOps";
10463
+ registryType: "NPMJS" | "GitHub" | "AzureDevOps" | "Artifactory" | "Custom";
10464
10464
  registryUrl: string;
10465
10465
  proxyUrl: string;
10466
10466
  authType: "Custom" | "Basic" | "Bearer" | "None";
@@ -10471,7 +10471,7 @@ declare const DTONpmRegistryConfig: z.ZodObject<{
10471
10471
  username?: string | undefined;
10472
10472
  password?: "redacted" | undefined;
10473
10473
  }, {
10474
- registryType: "NPMJS" | "GitHub" | "Artifactory" | "Custom" | "AzureDevOps";
10474
+ registryType: "NPMJS" | "GitHub" | "AzureDevOps" | "Artifactory" | "Custom";
10475
10475
  registryUrl: string;
10476
10476
  proxyUrl: string;
10477
10477
  authType: "Custom" | "Basic" | "Bearer" | "None";
@@ -11293,7 +11293,7 @@ declare const DTOWorkspace: z.ZodObject<{
11293
11293
  daysUntilDue?: number | undefined;
11294
11294
  }>;
11295
11295
  npmRegistry: z.ZodOptional<z.ZodObject<{
11296
- registryType: z.ZodEnum<["NPMJS", "GitHub", "Artifactory", "Custom", "AzureDevOps"]>;
11296
+ registryType: z.ZodEnum<["NPMJS", "GitHub", "AzureDevOps", "Artifactory", "Custom"]>;
11297
11297
  registryUrl: z.ZodString;
11298
11298
  customRegistryUrl: z.ZodOptional<z.ZodString>;
11299
11299
  proxyUrl: z.ZodString;
@@ -11304,7 +11304,7 @@ declare const DTOWorkspace: z.ZodObject<{
11304
11304
  enabledScopes: z.ZodArray<z.ZodString, "many">;
11305
11305
  bypassProxy: z.ZodBoolean;
11306
11306
  }, "strip", z.ZodTypeAny, {
11307
- registryType: "NPMJS" | "GitHub" | "Artifactory" | "Custom" | "AzureDevOps";
11307
+ registryType: "NPMJS" | "GitHub" | "AzureDevOps" | "Artifactory" | "Custom";
11308
11308
  registryUrl: string;
11309
11309
  proxyUrl: string;
11310
11310
  authType: "Custom" | "Basic" | "Bearer" | "None";
@@ -11315,7 +11315,7 @@ declare const DTOWorkspace: z.ZodObject<{
11315
11315
  username?: string | undefined;
11316
11316
  password?: "redacted" | undefined;
11317
11317
  }, {
11318
- registryType: "NPMJS" | "GitHub" | "Artifactory" | "Custom" | "AzureDevOps";
11318
+ registryType: "NPMJS" | "GitHub" | "AzureDevOps" | "Artifactory" | "Custom";
11319
11319
  registryUrl: string;
11320
11320
  proxyUrl: string;
11321
11321
  authType: "Custom" | "Basic" | "Bearer" | "None";
@@ -11474,7 +11474,7 @@ declare const DTOWorkspace: z.ZodObject<{
11474
11474
  daysUntilDue?: number | undefined;
11475
11475
  };
11476
11476
  npmRegistry?: {
11477
- registryType: "NPMJS" | "GitHub" | "Artifactory" | "Custom" | "AzureDevOps";
11477
+ registryType: "NPMJS" | "GitHub" | "AzureDevOps" | "Artifactory" | "Custom";
11478
11478
  registryUrl: string;
11479
11479
  proxyUrl: string;
11480
11480
  authType: "Custom" | "Basic" | "Bearer" | "None";
@@ -11633,7 +11633,7 @@ declare const DTOWorkspace: z.ZodObject<{
11633
11633
  daysUntilDue?: number | undefined;
11634
11634
  };
11635
11635
  npmRegistry?: {
11636
- registryType: "NPMJS" | "GitHub" | "Artifactory" | "Custom" | "AzureDevOps";
11636
+ registryType: "NPMJS" | "GitHub" | "AzureDevOps" | "Artifactory" | "Custom";
11637
11637
  registryUrl: string;
11638
11638
  proxyUrl: string;
11639
11639
  authType: "Custom" | "Basic" | "Bearer" | "None";
@@ -12731,6 +12731,7 @@ declare function yjsToItemConfiguration(yDoc: Y.Doc): DTODocumentationPageRoomHe
12731
12731
 
12732
12732
  declare const PageBlockEditorModel: z.ZodObject<{
12733
12733
  id: z.ZodString;
12734
+ type: z.ZodLiteral<"Block">;
12734
12735
  data: z.ZodObject<{
12735
12736
  packageId: z.ZodString;
12736
12737
  variantId: z.ZodOptional<z.ZodString>;
@@ -12864,6 +12865,7 @@ declare const PageBlockEditorModel: z.ZodObject<{
12864
12865
  }>;
12865
12866
  }, "strip", z.ZodTypeAny, {
12866
12867
  id: string;
12868
+ type: "Block";
12867
12869
  data: {
12868
12870
  items: {
12869
12871
  id: string;
@@ -12891,6 +12893,7 @@ declare const PageBlockEditorModel: z.ZodObject<{
12891
12893
  };
12892
12894
  }, {
12893
12895
  id: string;
12896
+ type: "Block";
12894
12897
  data: {
12895
12898
  items: {
12896
12899
  id: string;
@@ -12918,10 +12921,540 @@ declare const PageBlockEditorModel: z.ZodObject<{
12918
12921
  };
12919
12922
  }>;
12920
12923
  type PageBlockEditorModel = z.infer<typeof PageBlockEditorModel>;
12924
+ declare const PageSectionEditorModel: z.ZodObject<{
12925
+ id: z.ZodString;
12926
+ type: z.ZodLiteral<"Section">;
12927
+ variantId: z.ZodOptional<z.ZodString>;
12928
+ sectionType: z.ZodEnum<["Tabs"]>;
12929
+ appearance: z.ZodObject<{
12930
+ expandToEdges: z.ZodBoolean;
12931
+ contentExpandToEdges: z.ZodBoolean;
12932
+ backgroundColor: z.ZodOptional<z.ZodObject<{
12933
+ value: z.ZodString;
12934
+ referencedTokenId: z.ZodOptional<z.ZodString>;
12935
+ }, "strip", z.ZodTypeAny, {
12936
+ value: string;
12937
+ referencedTokenId?: string | undefined;
12938
+ }, {
12939
+ value: string;
12940
+ referencedTokenId?: string | undefined;
12941
+ }>>;
12942
+ foregroundColor: z.ZodOptional<z.ZodObject<{
12943
+ value: z.ZodString;
12944
+ referencedTokenId: z.ZodOptional<z.ZodString>;
12945
+ }, "strip", z.ZodTypeAny, {
12946
+ value: string;
12947
+ referencedTokenId?: string | undefined;
12948
+ }, {
12949
+ value: string;
12950
+ referencedTokenId?: string | undefined;
12951
+ }>>;
12952
+ padding: z.ZodOptional<z.ZodObject<{
12953
+ top: z.ZodOptional<z.ZodNumber>;
12954
+ bottom: z.ZodOptional<z.ZodNumber>;
12955
+ left: z.ZodOptional<z.ZodNumber>;
12956
+ right: z.ZodOptional<z.ZodNumber>;
12957
+ }, "strip", z.ZodTypeAny, {
12958
+ top?: number | undefined;
12959
+ bottom?: number | undefined;
12960
+ left?: number | undefined;
12961
+ right?: number | undefined;
12962
+ }, {
12963
+ top?: number | undefined;
12964
+ bottom?: number | undefined;
12965
+ left?: number | undefined;
12966
+ right?: number | undefined;
12967
+ }>>;
12968
+ }, "strip", z.ZodTypeAny, {
12969
+ expandToEdges: boolean;
12970
+ contentExpandToEdges: boolean;
12971
+ backgroundColor?: {
12972
+ value: string;
12973
+ referencedTokenId?: string | undefined;
12974
+ } | undefined;
12975
+ foregroundColor?: {
12976
+ value: string;
12977
+ referencedTokenId?: string | undefined;
12978
+ } | undefined;
12979
+ padding?: {
12980
+ top?: number | undefined;
12981
+ bottom?: number | undefined;
12982
+ left?: number | undefined;
12983
+ right?: number | undefined;
12984
+ } | undefined;
12985
+ }, {
12986
+ expandToEdges: boolean;
12987
+ contentExpandToEdges: boolean;
12988
+ backgroundColor?: {
12989
+ value: string;
12990
+ referencedTokenId?: string | undefined;
12991
+ } | undefined;
12992
+ foregroundColor?: {
12993
+ value: string;
12994
+ referencedTokenId?: string | undefined;
12995
+ } | undefined;
12996
+ padding?: {
12997
+ top?: number | undefined;
12998
+ bottom?: number | undefined;
12999
+ left?: number | undefined;
13000
+ right?: number | undefined;
13001
+ } | undefined;
13002
+ }>;
13003
+ items: z.ZodArray<z.ZodObject<{
13004
+ id: z.ZodString;
13005
+ title: z.ZodString;
13006
+ columns: z.ZodArray<z.ZodObject<{
13007
+ id: z.ZodString;
13008
+ blocks: z.ZodArray<z.ZodObject<{
13009
+ id: z.ZodString;
13010
+ type: z.ZodLiteral<"Block">;
13011
+ data: z.ZodObject<{
13012
+ packageId: z.ZodString;
13013
+ variantId: z.ZodOptional<z.ZodString>;
13014
+ indentLevel: z.ZodNumber;
13015
+ appearance: z.ZodOptional<z.ZodObject<{
13016
+ itemBackgroundColor: z.ZodOptional<z.ZodObject<{
13017
+ value: z.ZodString;
13018
+ referencedTokenId: z.ZodOptional<z.ZodString>;
13019
+ }, "strip", z.ZodTypeAny, {
13020
+ value: string;
13021
+ referencedTokenId?: string | undefined;
13022
+ }, {
13023
+ value: string;
13024
+ referencedTokenId?: string | undefined;
13025
+ }>>;
13026
+ numberOfColumns: z.ZodOptional<z.ZodNumber>;
13027
+ }, "strip", z.ZodTypeAny, {
13028
+ itemBackgroundColor?: {
13029
+ value: string;
13030
+ referencedTokenId?: string | undefined;
13031
+ } | undefined;
13032
+ numberOfColumns?: number | undefined;
13033
+ }, {
13034
+ itemBackgroundColor?: {
13035
+ value: string;
13036
+ referencedTokenId?: string | undefined;
13037
+ } | undefined;
13038
+ numberOfColumns?: number | undefined;
13039
+ }>>;
13040
+ items: z.ZodArray<z.ZodObject<{
13041
+ id: z.ZodString;
13042
+ linksTo: z.ZodOptional<z.ZodObject<{
13043
+ type: z.ZodEnum<["DocumentationItem", "PageHeading", "Url"]>;
13044
+ documentationItemId: z.ZodOptional<z.ZodString>;
13045
+ pageHeadingId: z.ZodOptional<z.ZodString>;
13046
+ url: z.ZodOptional<z.ZodString>;
13047
+ openInNewTab: z.ZodOptional<z.ZodBoolean>;
13048
+ }, "strip", z.ZodTypeAny, {
13049
+ type: "DocumentationItem" | "PageHeading" | "Url";
13050
+ documentationItemId?: string | undefined;
13051
+ pageHeadingId?: string | undefined;
13052
+ url?: string | undefined;
13053
+ openInNewTab?: boolean | undefined;
13054
+ }, {
13055
+ type: "DocumentationItem" | "PageHeading" | "Url";
13056
+ documentationItemId?: string | undefined;
13057
+ pageHeadingId?: string | undefined;
13058
+ url?: string | undefined;
13059
+ openInNewTab?: boolean | undefined;
13060
+ }>>;
13061
+ props: z.ZodRecord<z.ZodString, z.ZodIntersection<z.ZodObject<{
13062
+ value: z.ZodAny;
13063
+ }, "strip", z.ZodTypeAny, {
13064
+ value?: any;
13065
+ }, {
13066
+ value?: any;
13067
+ }>, z.ZodRecord<z.ZodString, z.ZodAny>>>;
13068
+ }, "strip", z.ZodTypeAny, {
13069
+ id: string;
13070
+ props: Record<string, {
13071
+ value?: any;
13072
+ } & Record<string, any>>;
13073
+ linksTo?: {
13074
+ type: "DocumentationItem" | "PageHeading" | "Url";
13075
+ documentationItemId?: string | undefined;
13076
+ pageHeadingId?: string | undefined;
13077
+ url?: string | undefined;
13078
+ openInNewTab?: boolean | undefined;
13079
+ } | undefined;
13080
+ }, {
13081
+ id: string;
13082
+ props: Record<string, {
13083
+ value?: any;
13084
+ } & Record<string, any>>;
13085
+ linksTo?: {
13086
+ type: "DocumentationItem" | "PageHeading" | "Url";
13087
+ documentationItemId?: string | undefined;
13088
+ pageHeadingId?: string | undefined;
13089
+ url?: string | undefined;
13090
+ openInNewTab?: boolean | undefined;
13091
+ } | undefined;
13092
+ }>, "many">;
13093
+ }, "strip", z.ZodTypeAny, {
13094
+ items: {
13095
+ id: string;
13096
+ props: Record<string, {
13097
+ value?: any;
13098
+ } & Record<string, any>>;
13099
+ linksTo?: {
13100
+ type: "DocumentationItem" | "PageHeading" | "Url";
13101
+ documentationItemId?: string | undefined;
13102
+ pageHeadingId?: string | undefined;
13103
+ url?: string | undefined;
13104
+ openInNewTab?: boolean | undefined;
13105
+ } | undefined;
13106
+ }[];
13107
+ packageId: string;
13108
+ indentLevel: number;
13109
+ variantId?: string | undefined;
13110
+ appearance?: {
13111
+ itemBackgroundColor?: {
13112
+ value: string;
13113
+ referencedTokenId?: string | undefined;
13114
+ } | undefined;
13115
+ numberOfColumns?: number | undefined;
13116
+ } | undefined;
13117
+ }, {
13118
+ items: {
13119
+ id: string;
13120
+ props: Record<string, {
13121
+ value?: any;
13122
+ } & Record<string, any>>;
13123
+ linksTo?: {
13124
+ type: "DocumentationItem" | "PageHeading" | "Url";
13125
+ documentationItemId?: string | undefined;
13126
+ pageHeadingId?: string | undefined;
13127
+ url?: string | undefined;
13128
+ openInNewTab?: boolean | undefined;
13129
+ } | undefined;
13130
+ }[];
13131
+ packageId: string;
13132
+ indentLevel: number;
13133
+ variantId?: string | undefined;
13134
+ appearance?: {
13135
+ itemBackgroundColor?: {
13136
+ value: string;
13137
+ referencedTokenId?: string | undefined;
13138
+ } | undefined;
13139
+ numberOfColumns?: number | undefined;
13140
+ } | undefined;
13141
+ }>;
13142
+ }, "strip", z.ZodTypeAny, {
13143
+ id: string;
13144
+ type: "Block";
13145
+ data: {
13146
+ items: {
13147
+ id: string;
13148
+ props: Record<string, {
13149
+ value?: any;
13150
+ } & Record<string, any>>;
13151
+ linksTo?: {
13152
+ type: "DocumentationItem" | "PageHeading" | "Url";
13153
+ documentationItemId?: string | undefined;
13154
+ pageHeadingId?: string | undefined;
13155
+ url?: string | undefined;
13156
+ openInNewTab?: boolean | undefined;
13157
+ } | undefined;
13158
+ }[];
13159
+ packageId: string;
13160
+ indentLevel: number;
13161
+ variantId?: string | undefined;
13162
+ appearance?: {
13163
+ itemBackgroundColor?: {
13164
+ value: string;
13165
+ referencedTokenId?: string | undefined;
13166
+ } | undefined;
13167
+ numberOfColumns?: number | undefined;
13168
+ } | undefined;
13169
+ };
13170
+ }, {
13171
+ id: string;
13172
+ type: "Block";
13173
+ data: {
13174
+ items: {
13175
+ id: string;
13176
+ props: Record<string, {
13177
+ value?: any;
13178
+ } & Record<string, any>>;
13179
+ linksTo?: {
13180
+ type: "DocumentationItem" | "PageHeading" | "Url";
13181
+ documentationItemId?: string | undefined;
13182
+ pageHeadingId?: string | undefined;
13183
+ url?: string | undefined;
13184
+ openInNewTab?: boolean | undefined;
13185
+ } | undefined;
13186
+ }[];
13187
+ packageId: string;
13188
+ indentLevel: number;
13189
+ variantId?: string | undefined;
13190
+ appearance?: {
13191
+ itemBackgroundColor?: {
13192
+ value: string;
13193
+ referencedTokenId?: string | undefined;
13194
+ } | undefined;
13195
+ numberOfColumns?: number | undefined;
13196
+ } | undefined;
13197
+ };
13198
+ }>, "many">;
13199
+ }, "strip", z.ZodTypeAny, {
13200
+ id: string;
13201
+ blocks: {
13202
+ id: string;
13203
+ type: "Block";
13204
+ data: {
13205
+ items: {
13206
+ id: string;
13207
+ props: Record<string, {
13208
+ value?: any;
13209
+ } & Record<string, any>>;
13210
+ linksTo?: {
13211
+ type: "DocumentationItem" | "PageHeading" | "Url";
13212
+ documentationItemId?: string | undefined;
13213
+ pageHeadingId?: string | undefined;
13214
+ url?: string | undefined;
13215
+ openInNewTab?: boolean | undefined;
13216
+ } | undefined;
13217
+ }[];
13218
+ packageId: string;
13219
+ indentLevel: number;
13220
+ variantId?: string | undefined;
13221
+ appearance?: {
13222
+ itemBackgroundColor?: {
13223
+ value: string;
13224
+ referencedTokenId?: string | undefined;
13225
+ } | undefined;
13226
+ numberOfColumns?: number | undefined;
13227
+ } | undefined;
13228
+ };
13229
+ }[];
13230
+ }, {
13231
+ id: string;
13232
+ blocks: {
13233
+ id: string;
13234
+ type: "Block";
13235
+ data: {
13236
+ items: {
13237
+ id: string;
13238
+ props: Record<string, {
13239
+ value?: any;
13240
+ } & Record<string, any>>;
13241
+ linksTo?: {
13242
+ type: "DocumentationItem" | "PageHeading" | "Url";
13243
+ documentationItemId?: string | undefined;
13244
+ pageHeadingId?: string | undefined;
13245
+ url?: string | undefined;
13246
+ openInNewTab?: boolean | undefined;
13247
+ } | undefined;
13248
+ }[];
13249
+ packageId: string;
13250
+ indentLevel: number;
13251
+ variantId?: string | undefined;
13252
+ appearance?: {
13253
+ itemBackgroundColor?: {
13254
+ value: string;
13255
+ referencedTokenId?: string | undefined;
13256
+ } | undefined;
13257
+ numberOfColumns?: number | undefined;
13258
+ } | undefined;
13259
+ };
13260
+ }[];
13261
+ }>, "many">;
13262
+ }, "strip", z.ZodTypeAny, {
13263
+ id: string;
13264
+ title: string;
13265
+ columns: {
13266
+ id: string;
13267
+ blocks: {
13268
+ id: string;
13269
+ type: "Block";
13270
+ data: {
13271
+ items: {
13272
+ id: string;
13273
+ props: Record<string, {
13274
+ value?: any;
13275
+ } & Record<string, any>>;
13276
+ linksTo?: {
13277
+ type: "DocumentationItem" | "PageHeading" | "Url";
13278
+ documentationItemId?: string | undefined;
13279
+ pageHeadingId?: string | undefined;
13280
+ url?: string | undefined;
13281
+ openInNewTab?: boolean | undefined;
13282
+ } | undefined;
13283
+ }[];
13284
+ packageId: string;
13285
+ indentLevel: number;
13286
+ variantId?: string | undefined;
13287
+ appearance?: {
13288
+ itemBackgroundColor?: {
13289
+ value: string;
13290
+ referencedTokenId?: string | undefined;
13291
+ } | undefined;
13292
+ numberOfColumns?: number | undefined;
13293
+ } | undefined;
13294
+ };
13295
+ }[];
13296
+ }[];
13297
+ }, {
13298
+ id: string;
13299
+ title: string;
13300
+ columns: {
13301
+ id: string;
13302
+ blocks: {
13303
+ id: string;
13304
+ type: "Block";
13305
+ data: {
13306
+ items: {
13307
+ id: string;
13308
+ props: Record<string, {
13309
+ value?: any;
13310
+ } & Record<string, any>>;
13311
+ linksTo?: {
13312
+ type: "DocumentationItem" | "PageHeading" | "Url";
13313
+ documentationItemId?: string | undefined;
13314
+ pageHeadingId?: string | undefined;
13315
+ url?: string | undefined;
13316
+ openInNewTab?: boolean | undefined;
13317
+ } | undefined;
13318
+ }[];
13319
+ packageId: string;
13320
+ indentLevel: number;
13321
+ variantId?: string | undefined;
13322
+ appearance?: {
13323
+ itemBackgroundColor?: {
13324
+ value: string;
13325
+ referencedTokenId?: string | undefined;
13326
+ } | undefined;
13327
+ numberOfColumns?: number | undefined;
13328
+ } | undefined;
13329
+ };
13330
+ }[];
13331
+ }[];
13332
+ }>, "many">;
13333
+ }, "strip", z.ZodTypeAny, {
13334
+ id: string;
13335
+ type: "Section";
13336
+ items: {
13337
+ id: string;
13338
+ title: string;
13339
+ columns: {
13340
+ id: string;
13341
+ blocks: {
13342
+ id: string;
13343
+ type: "Block";
13344
+ data: {
13345
+ items: {
13346
+ id: string;
13347
+ props: Record<string, {
13348
+ value?: any;
13349
+ } & Record<string, any>>;
13350
+ linksTo?: {
13351
+ type: "DocumentationItem" | "PageHeading" | "Url";
13352
+ documentationItemId?: string | undefined;
13353
+ pageHeadingId?: string | undefined;
13354
+ url?: string | undefined;
13355
+ openInNewTab?: boolean | undefined;
13356
+ } | undefined;
13357
+ }[];
13358
+ packageId: string;
13359
+ indentLevel: number;
13360
+ variantId?: string | undefined;
13361
+ appearance?: {
13362
+ itemBackgroundColor?: {
13363
+ value: string;
13364
+ referencedTokenId?: string | undefined;
13365
+ } | undefined;
13366
+ numberOfColumns?: number | undefined;
13367
+ } | undefined;
13368
+ };
13369
+ }[];
13370
+ }[];
13371
+ }[];
13372
+ appearance: {
13373
+ expandToEdges: boolean;
13374
+ contentExpandToEdges: boolean;
13375
+ backgroundColor?: {
13376
+ value: string;
13377
+ referencedTokenId?: string | undefined;
13378
+ } | undefined;
13379
+ foregroundColor?: {
13380
+ value: string;
13381
+ referencedTokenId?: string | undefined;
13382
+ } | undefined;
13383
+ padding?: {
13384
+ top?: number | undefined;
13385
+ bottom?: number | undefined;
13386
+ left?: number | undefined;
13387
+ right?: number | undefined;
13388
+ } | undefined;
13389
+ };
13390
+ sectionType: "Tabs";
13391
+ variantId?: string | undefined;
13392
+ }, {
13393
+ id: string;
13394
+ type: "Section";
13395
+ items: {
13396
+ id: string;
13397
+ title: string;
13398
+ columns: {
13399
+ id: string;
13400
+ blocks: {
13401
+ id: string;
13402
+ type: "Block";
13403
+ data: {
13404
+ items: {
13405
+ id: string;
13406
+ props: Record<string, {
13407
+ value?: any;
13408
+ } & Record<string, any>>;
13409
+ linksTo?: {
13410
+ type: "DocumentationItem" | "PageHeading" | "Url";
13411
+ documentationItemId?: string | undefined;
13412
+ pageHeadingId?: string | undefined;
13413
+ url?: string | undefined;
13414
+ openInNewTab?: boolean | undefined;
13415
+ } | undefined;
13416
+ }[];
13417
+ packageId: string;
13418
+ indentLevel: number;
13419
+ variantId?: string | undefined;
13420
+ appearance?: {
13421
+ itemBackgroundColor?: {
13422
+ value: string;
13423
+ referencedTokenId?: string | undefined;
13424
+ } | undefined;
13425
+ numberOfColumns?: number | undefined;
13426
+ } | undefined;
13427
+ };
13428
+ }[];
13429
+ }[];
13430
+ }[];
13431
+ appearance: {
13432
+ expandToEdges: boolean;
13433
+ contentExpandToEdges: boolean;
13434
+ backgroundColor?: {
13435
+ value: string;
13436
+ referencedTokenId?: string | undefined;
13437
+ } | undefined;
13438
+ foregroundColor?: {
13439
+ value: string;
13440
+ referencedTokenId?: string | undefined;
13441
+ } | undefined;
13442
+ padding?: {
13443
+ top?: number | undefined;
13444
+ bottom?: number | undefined;
13445
+ left?: number | undefined;
13446
+ right?: number | undefined;
13447
+ } | undefined;
13448
+ };
13449
+ sectionType: "Tabs";
13450
+ variantId?: string | undefined;
13451
+ }>;
13452
+ type PageSectionEditorModel = z.infer<typeof PageSectionEditorModel>;
12921
13453
 
12922
13454
  declare const DocumentationPageEditorModel: z.ZodObject<{
12923
- blocks: z.ZodArray<z.ZodObject<{
13455
+ blocks: z.ZodArray<z.ZodUnion<[z.ZodObject<{
12924
13456
  id: z.ZodString;
13457
+ type: z.ZodLiteral<"Block">;
12925
13458
  data: z.ZodObject<{
12926
13459
  packageId: z.ZodString;
12927
13460
  variantId: z.ZodOptional<z.ZodString>;
@@ -13055,6 +13588,7 @@ declare const DocumentationPageEditorModel: z.ZodObject<{
13055
13588
  }>;
13056
13589
  }, "strip", z.ZodTypeAny, {
13057
13590
  id: string;
13591
+ type: "Block";
13058
13592
  data: {
13059
13593
  items: {
13060
13594
  id: string;
@@ -13082,6 +13616,7 @@ declare const DocumentationPageEditorModel: z.ZodObject<{
13082
13616
  };
13083
13617
  }, {
13084
13618
  id: string;
13619
+ type: "Block";
13085
13620
  data: {
13086
13621
  items: {
13087
13622
  id: string;
@@ -13107,10 +13642,538 @@ declare const DocumentationPageEditorModel: z.ZodObject<{
13107
13642
  numberOfColumns?: number | undefined;
13108
13643
  } | undefined;
13109
13644
  };
13110
- }>, "many">;
13645
+ }>, z.ZodObject<{
13646
+ id: z.ZodString;
13647
+ type: z.ZodLiteral<"Section">;
13648
+ variantId: z.ZodOptional<z.ZodString>;
13649
+ sectionType: z.ZodEnum<["Tabs"]>;
13650
+ appearance: z.ZodObject<{
13651
+ expandToEdges: z.ZodBoolean;
13652
+ contentExpandToEdges: z.ZodBoolean;
13653
+ backgroundColor: z.ZodOptional<z.ZodObject<{
13654
+ value: z.ZodString;
13655
+ referencedTokenId: z.ZodOptional<z.ZodString>;
13656
+ }, "strip", z.ZodTypeAny, {
13657
+ value: string;
13658
+ referencedTokenId?: string | undefined;
13659
+ }, {
13660
+ value: string;
13661
+ referencedTokenId?: string | undefined;
13662
+ }>>;
13663
+ foregroundColor: z.ZodOptional<z.ZodObject<{
13664
+ value: z.ZodString;
13665
+ referencedTokenId: z.ZodOptional<z.ZodString>;
13666
+ }, "strip", z.ZodTypeAny, {
13667
+ value: string;
13668
+ referencedTokenId?: string | undefined;
13669
+ }, {
13670
+ value: string;
13671
+ referencedTokenId?: string | undefined;
13672
+ }>>;
13673
+ padding: z.ZodOptional<z.ZodObject<{
13674
+ top: z.ZodOptional<z.ZodNumber>;
13675
+ bottom: z.ZodOptional<z.ZodNumber>;
13676
+ left: z.ZodOptional<z.ZodNumber>;
13677
+ right: z.ZodOptional<z.ZodNumber>;
13678
+ }, "strip", z.ZodTypeAny, {
13679
+ top?: number | undefined;
13680
+ bottom?: number | undefined;
13681
+ left?: number | undefined;
13682
+ right?: number | undefined;
13683
+ }, {
13684
+ top?: number | undefined;
13685
+ bottom?: number | undefined;
13686
+ left?: number | undefined;
13687
+ right?: number | undefined;
13688
+ }>>;
13689
+ }, "strip", z.ZodTypeAny, {
13690
+ expandToEdges: boolean;
13691
+ contentExpandToEdges: boolean;
13692
+ backgroundColor?: {
13693
+ value: string;
13694
+ referencedTokenId?: string | undefined;
13695
+ } | undefined;
13696
+ foregroundColor?: {
13697
+ value: string;
13698
+ referencedTokenId?: string | undefined;
13699
+ } | undefined;
13700
+ padding?: {
13701
+ top?: number | undefined;
13702
+ bottom?: number | undefined;
13703
+ left?: number | undefined;
13704
+ right?: number | undefined;
13705
+ } | undefined;
13706
+ }, {
13707
+ expandToEdges: boolean;
13708
+ contentExpandToEdges: boolean;
13709
+ backgroundColor?: {
13710
+ value: string;
13711
+ referencedTokenId?: string | undefined;
13712
+ } | undefined;
13713
+ foregroundColor?: {
13714
+ value: string;
13715
+ referencedTokenId?: string | undefined;
13716
+ } | undefined;
13717
+ padding?: {
13718
+ top?: number | undefined;
13719
+ bottom?: number | undefined;
13720
+ left?: number | undefined;
13721
+ right?: number | undefined;
13722
+ } | undefined;
13723
+ }>;
13724
+ items: z.ZodArray<z.ZodObject<{
13725
+ id: z.ZodString;
13726
+ title: z.ZodString;
13727
+ columns: z.ZodArray<z.ZodObject<{
13728
+ id: z.ZodString;
13729
+ blocks: z.ZodArray<z.ZodObject<{
13730
+ id: z.ZodString;
13731
+ type: z.ZodLiteral<"Block">;
13732
+ data: z.ZodObject<{
13733
+ packageId: z.ZodString;
13734
+ variantId: z.ZodOptional<z.ZodString>;
13735
+ indentLevel: z.ZodNumber;
13736
+ appearance: z.ZodOptional<z.ZodObject<{
13737
+ itemBackgroundColor: z.ZodOptional<z.ZodObject<{
13738
+ value: z.ZodString;
13739
+ referencedTokenId: z.ZodOptional<z.ZodString>;
13740
+ }, "strip", z.ZodTypeAny, {
13741
+ value: string;
13742
+ referencedTokenId?: string | undefined;
13743
+ }, {
13744
+ value: string;
13745
+ referencedTokenId?: string | undefined;
13746
+ }>>;
13747
+ numberOfColumns: z.ZodOptional<z.ZodNumber>;
13748
+ }, "strip", z.ZodTypeAny, {
13749
+ itemBackgroundColor?: {
13750
+ value: string;
13751
+ referencedTokenId?: string | undefined;
13752
+ } | undefined;
13753
+ numberOfColumns?: number | undefined;
13754
+ }, {
13755
+ itemBackgroundColor?: {
13756
+ value: string;
13757
+ referencedTokenId?: string | undefined;
13758
+ } | undefined;
13759
+ numberOfColumns?: number | undefined;
13760
+ }>>;
13761
+ items: z.ZodArray<z.ZodObject<{
13762
+ id: z.ZodString;
13763
+ linksTo: z.ZodOptional<z.ZodObject<{
13764
+ type: z.ZodEnum<["DocumentationItem", "PageHeading", "Url"]>;
13765
+ documentationItemId: z.ZodOptional<z.ZodString>;
13766
+ pageHeadingId: z.ZodOptional<z.ZodString>;
13767
+ url: z.ZodOptional<z.ZodString>;
13768
+ openInNewTab: z.ZodOptional<z.ZodBoolean>;
13769
+ }, "strip", z.ZodTypeAny, {
13770
+ type: "DocumentationItem" | "PageHeading" | "Url";
13771
+ documentationItemId?: string | undefined;
13772
+ pageHeadingId?: string | undefined;
13773
+ url?: string | undefined;
13774
+ openInNewTab?: boolean | undefined;
13775
+ }, {
13776
+ type: "DocumentationItem" | "PageHeading" | "Url";
13777
+ documentationItemId?: string | undefined;
13778
+ pageHeadingId?: string | undefined;
13779
+ url?: string | undefined;
13780
+ openInNewTab?: boolean | undefined;
13781
+ }>>;
13782
+ props: z.ZodRecord<z.ZodString, z.ZodIntersection<z.ZodObject<{
13783
+ value: z.ZodAny;
13784
+ }, "strip", z.ZodTypeAny, {
13785
+ value?: any;
13786
+ }, {
13787
+ value?: any;
13788
+ }>, z.ZodRecord<z.ZodString, z.ZodAny>>>;
13789
+ }, "strip", z.ZodTypeAny, {
13790
+ id: string;
13791
+ props: Record<string, {
13792
+ value?: any;
13793
+ } & Record<string, any>>;
13794
+ linksTo?: {
13795
+ type: "DocumentationItem" | "PageHeading" | "Url";
13796
+ documentationItemId?: string | undefined;
13797
+ pageHeadingId?: string | undefined;
13798
+ url?: string | undefined;
13799
+ openInNewTab?: boolean | undefined;
13800
+ } | undefined;
13801
+ }, {
13802
+ id: string;
13803
+ props: Record<string, {
13804
+ value?: any;
13805
+ } & Record<string, any>>;
13806
+ linksTo?: {
13807
+ type: "DocumentationItem" | "PageHeading" | "Url";
13808
+ documentationItemId?: string | undefined;
13809
+ pageHeadingId?: string | undefined;
13810
+ url?: string | undefined;
13811
+ openInNewTab?: boolean | undefined;
13812
+ } | undefined;
13813
+ }>, "many">;
13814
+ }, "strip", z.ZodTypeAny, {
13815
+ items: {
13816
+ id: string;
13817
+ props: Record<string, {
13818
+ value?: any;
13819
+ } & Record<string, any>>;
13820
+ linksTo?: {
13821
+ type: "DocumentationItem" | "PageHeading" | "Url";
13822
+ documentationItemId?: string | undefined;
13823
+ pageHeadingId?: string | undefined;
13824
+ url?: string | undefined;
13825
+ openInNewTab?: boolean | undefined;
13826
+ } | undefined;
13827
+ }[];
13828
+ packageId: string;
13829
+ indentLevel: number;
13830
+ variantId?: string | undefined;
13831
+ appearance?: {
13832
+ itemBackgroundColor?: {
13833
+ value: string;
13834
+ referencedTokenId?: string | undefined;
13835
+ } | undefined;
13836
+ numberOfColumns?: number | undefined;
13837
+ } | undefined;
13838
+ }, {
13839
+ items: {
13840
+ id: string;
13841
+ props: Record<string, {
13842
+ value?: any;
13843
+ } & Record<string, any>>;
13844
+ linksTo?: {
13845
+ type: "DocumentationItem" | "PageHeading" | "Url";
13846
+ documentationItemId?: string | undefined;
13847
+ pageHeadingId?: string | undefined;
13848
+ url?: string | undefined;
13849
+ openInNewTab?: boolean | undefined;
13850
+ } | undefined;
13851
+ }[];
13852
+ packageId: string;
13853
+ indentLevel: number;
13854
+ variantId?: string | undefined;
13855
+ appearance?: {
13856
+ itemBackgroundColor?: {
13857
+ value: string;
13858
+ referencedTokenId?: string | undefined;
13859
+ } | undefined;
13860
+ numberOfColumns?: number | undefined;
13861
+ } | undefined;
13862
+ }>;
13863
+ }, "strip", z.ZodTypeAny, {
13864
+ id: string;
13865
+ type: "Block";
13866
+ data: {
13867
+ items: {
13868
+ id: string;
13869
+ props: Record<string, {
13870
+ value?: any;
13871
+ } & Record<string, any>>;
13872
+ linksTo?: {
13873
+ type: "DocumentationItem" | "PageHeading" | "Url";
13874
+ documentationItemId?: string | undefined;
13875
+ pageHeadingId?: string | undefined;
13876
+ url?: string | undefined;
13877
+ openInNewTab?: boolean | undefined;
13878
+ } | undefined;
13879
+ }[];
13880
+ packageId: string;
13881
+ indentLevel: number;
13882
+ variantId?: string | undefined;
13883
+ appearance?: {
13884
+ itemBackgroundColor?: {
13885
+ value: string;
13886
+ referencedTokenId?: string | undefined;
13887
+ } | undefined;
13888
+ numberOfColumns?: number | undefined;
13889
+ } | undefined;
13890
+ };
13891
+ }, {
13892
+ id: string;
13893
+ type: "Block";
13894
+ data: {
13895
+ items: {
13896
+ id: string;
13897
+ props: Record<string, {
13898
+ value?: any;
13899
+ } & Record<string, any>>;
13900
+ linksTo?: {
13901
+ type: "DocumentationItem" | "PageHeading" | "Url";
13902
+ documentationItemId?: string | undefined;
13903
+ pageHeadingId?: string | undefined;
13904
+ url?: string | undefined;
13905
+ openInNewTab?: boolean | undefined;
13906
+ } | undefined;
13907
+ }[];
13908
+ packageId: string;
13909
+ indentLevel: number;
13910
+ variantId?: string | undefined;
13911
+ appearance?: {
13912
+ itemBackgroundColor?: {
13913
+ value: string;
13914
+ referencedTokenId?: string | undefined;
13915
+ } | undefined;
13916
+ numberOfColumns?: number | undefined;
13917
+ } | undefined;
13918
+ };
13919
+ }>, "many">;
13920
+ }, "strip", z.ZodTypeAny, {
13921
+ id: string;
13922
+ blocks: {
13923
+ id: string;
13924
+ type: "Block";
13925
+ data: {
13926
+ items: {
13927
+ id: string;
13928
+ props: Record<string, {
13929
+ value?: any;
13930
+ } & Record<string, any>>;
13931
+ linksTo?: {
13932
+ type: "DocumentationItem" | "PageHeading" | "Url";
13933
+ documentationItemId?: string | undefined;
13934
+ pageHeadingId?: string | undefined;
13935
+ url?: string | undefined;
13936
+ openInNewTab?: boolean | undefined;
13937
+ } | undefined;
13938
+ }[];
13939
+ packageId: string;
13940
+ indentLevel: number;
13941
+ variantId?: string | undefined;
13942
+ appearance?: {
13943
+ itemBackgroundColor?: {
13944
+ value: string;
13945
+ referencedTokenId?: string | undefined;
13946
+ } | undefined;
13947
+ numberOfColumns?: number | undefined;
13948
+ } | undefined;
13949
+ };
13950
+ }[];
13951
+ }, {
13952
+ id: string;
13953
+ blocks: {
13954
+ id: string;
13955
+ type: "Block";
13956
+ data: {
13957
+ items: {
13958
+ id: string;
13959
+ props: Record<string, {
13960
+ value?: any;
13961
+ } & Record<string, any>>;
13962
+ linksTo?: {
13963
+ type: "DocumentationItem" | "PageHeading" | "Url";
13964
+ documentationItemId?: string | undefined;
13965
+ pageHeadingId?: string | undefined;
13966
+ url?: string | undefined;
13967
+ openInNewTab?: boolean | undefined;
13968
+ } | undefined;
13969
+ }[];
13970
+ packageId: string;
13971
+ indentLevel: number;
13972
+ variantId?: string | undefined;
13973
+ appearance?: {
13974
+ itemBackgroundColor?: {
13975
+ value: string;
13976
+ referencedTokenId?: string | undefined;
13977
+ } | undefined;
13978
+ numberOfColumns?: number | undefined;
13979
+ } | undefined;
13980
+ };
13981
+ }[];
13982
+ }>, "many">;
13983
+ }, "strip", z.ZodTypeAny, {
13984
+ id: string;
13985
+ title: string;
13986
+ columns: {
13987
+ id: string;
13988
+ blocks: {
13989
+ id: string;
13990
+ type: "Block";
13991
+ data: {
13992
+ items: {
13993
+ id: string;
13994
+ props: Record<string, {
13995
+ value?: any;
13996
+ } & Record<string, any>>;
13997
+ linksTo?: {
13998
+ type: "DocumentationItem" | "PageHeading" | "Url";
13999
+ documentationItemId?: string | undefined;
14000
+ pageHeadingId?: string | undefined;
14001
+ url?: string | undefined;
14002
+ openInNewTab?: boolean | undefined;
14003
+ } | undefined;
14004
+ }[];
14005
+ packageId: string;
14006
+ indentLevel: number;
14007
+ variantId?: string | undefined;
14008
+ appearance?: {
14009
+ itemBackgroundColor?: {
14010
+ value: string;
14011
+ referencedTokenId?: string | undefined;
14012
+ } | undefined;
14013
+ numberOfColumns?: number | undefined;
14014
+ } | undefined;
14015
+ };
14016
+ }[];
14017
+ }[];
14018
+ }, {
14019
+ id: string;
14020
+ title: string;
14021
+ columns: {
14022
+ id: string;
14023
+ blocks: {
14024
+ id: string;
14025
+ type: "Block";
14026
+ data: {
14027
+ items: {
14028
+ id: string;
14029
+ props: Record<string, {
14030
+ value?: any;
14031
+ } & Record<string, any>>;
14032
+ linksTo?: {
14033
+ type: "DocumentationItem" | "PageHeading" | "Url";
14034
+ documentationItemId?: string | undefined;
14035
+ pageHeadingId?: string | undefined;
14036
+ url?: string | undefined;
14037
+ openInNewTab?: boolean | undefined;
14038
+ } | undefined;
14039
+ }[];
14040
+ packageId: string;
14041
+ indentLevel: number;
14042
+ variantId?: string | undefined;
14043
+ appearance?: {
14044
+ itemBackgroundColor?: {
14045
+ value: string;
14046
+ referencedTokenId?: string | undefined;
14047
+ } | undefined;
14048
+ numberOfColumns?: number | undefined;
14049
+ } | undefined;
14050
+ };
14051
+ }[];
14052
+ }[];
14053
+ }>, "many">;
14054
+ }, "strip", z.ZodTypeAny, {
14055
+ id: string;
14056
+ type: "Section";
14057
+ items: {
14058
+ id: string;
14059
+ title: string;
14060
+ columns: {
14061
+ id: string;
14062
+ blocks: {
14063
+ id: string;
14064
+ type: "Block";
14065
+ data: {
14066
+ items: {
14067
+ id: string;
14068
+ props: Record<string, {
14069
+ value?: any;
14070
+ } & Record<string, any>>;
14071
+ linksTo?: {
14072
+ type: "DocumentationItem" | "PageHeading" | "Url";
14073
+ documentationItemId?: string | undefined;
14074
+ pageHeadingId?: string | undefined;
14075
+ url?: string | undefined;
14076
+ openInNewTab?: boolean | undefined;
14077
+ } | undefined;
14078
+ }[];
14079
+ packageId: string;
14080
+ indentLevel: number;
14081
+ variantId?: string | undefined;
14082
+ appearance?: {
14083
+ itemBackgroundColor?: {
14084
+ value: string;
14085
+ referencedTokenId?: string | undefined;
14086
+ } | undefined;
14087
+ numberOfColumns?: number | undefined;
14088
+ } | undefined;
14089
+ };
14090
+ }[];
14091
+ }[];
14092
+ }[];
14093
+ appearance: {
14094
+ expandToEdges: boolean;
14095
+ contentExpandToEdges: boolean;
14096
+ backgroundColor?: {
14097
+ value: string;
14098
+ referencedTokenId?: string | undefined;
14099
+ } | undefined;
14100
+ foregroundColor?: {
14101
+ value: string;
14102
+ referencedTokenId?: string | undefined;
14103
+ } | undefined;
14104
+ padding?: {
14105
+ top?: number | undefined;
14106
+ bottom?: number | undefined;
14107
+ left?: number | undefined;
14108
+ right?: number | undefined;
14109
+ } | undefined;
14110
+ };
14111
+ sectionType: "Tabs";
14112
+ variantId?: string | undefined;
14113
+ }, {
14114
+ id: string;
14115
+ type: "Section";
14116
+ items: {
14117
+ id: string;
14118
+ title: string;
14119
+ columns: {
14120
+ id: string;
14121
+ blocks: {
14122
+ id: string;
14123
+ type: "Block";
14124
+ data: {
14125
+ items: {
14126
+ id: string;
14127
+ props: Record<string, {
14128
+ value?: any;
14129
+ } & Record<string, any>>;
14130
+ linksTo?: {
14131
+ type: "DocumentationItem" | "PageHeading" | "Url";
14132
+ documentationItemId?: string | undefined;
14133
+ pageHeadingId?: string | undefined;
14134
+ url?: string | undefined;
14135
+ openInNewTab?: boolean | undefined;
14136
+ } | undefined;
14137
+ }[];
14138
+ packageId: string;
14139
+ indentLevel: number;
14140
+ variantId?: string | undefined;
14141
+ appearance?: {
14142
+ itemBackgroundColor?: {
14143
+ value: string;
14144
+ referencedTokenId?: string | undefined;
14145
+ } | undefined;
14146
+ numberOfColumns?: number | undefined;
14147
+ } | undefined;
14148
+ };
14149
+ }[];
14150
+ }[];
14151
+ }[];
14152
+ appearance: {
14153
+ expandToEdges: boolean;
14154
+ contentExpandToEdges: boolean;
14155
+ backgroundColor?: {
14156
+ value: string;
14157
+ referencedTokenId?: string | undefined;
14158
+ } | undefined;
14159
+ foregroundColor?: {
14160
+ value: string;
14161
+ referencedTokenId?: string | undefined;
14162
+ } | undefined;
14163
+ padding?: {
14164
+ top?: number | undefined;
14165
+ bottom?: number | undefined;
14166
+ left?: number | undefined;
14167
+ right?: number | undefined;
14168
+ } | undefined;
14169
+ };
14170
+ sectionType: "Tabs";
14171
+ variantId?: string | undefined;
14172
+ }>]>, "many">;
13111
14173
  }, "strip", z.ZodTypeAny, {
13112
- blocks: {
14174
+ blocks: ({
13113
14175
  id: string;
14176
+ type: "Block";
13114
14177
  data: {
13115
14178
  items: {
13116
14179
  id: string;
@@ -13136,10 +14199,70 @@ declare const DocumentationPageEditorModel: z.ZodObject<{
13136
14199
  numberOfColumns?: number | undefined;
13137
14200
  } | undefined;
13138
14201
  };
13139
- }[];
14202
+ } | {
14203
+ id: string;
14204
+ type: "Section";
14205
+ items: {
14206
+ id: string;
14207
+ title: string;
14208
+ columns: {
14209
+ id: string;
14210
+ blocks: {
14211
+ id: string;
14212
+ type: "Block";
14213
+ data: {
14214
+ items: {
14215
+ id: string;
14216
+ props: Record<string, {
14217
+ value?: any;
14218
+ } & Record<string, any>>;
14219
+ linksTo?: {
14220
+ type: "DocumentationItem" | "PageHeading" | "Url";
14221
+ documentationItemId?: string | undefined;
14222
+ pageHeadingId?: string | undefined;
14223
+ url?: string | undefined;
14224
+ openInNewTab?: boolean | undefined;
14225
+ } | undefined;
14226
+ }[];
14227
+ packageId: string;
14228
+ indentLevel: number;
14229
+ variantId?: string | undefined;
14230
+ appearance?: {
14231
+ itemBackgroundColor?: {
14232
+ value: string;
14233
+ referencedTokenId?: string | undefined;
14234
+ } | undefined;
14235
+ numberOfColumns?: number | undefined;
14236
+ } | undefined;
14237
+ };
14238
+ }[];
14239
+ }[];
14240
+ }[];
14241
+ appearance: {
14242
+ expandToEdges: boolean;
14243
+ contentExpandToEdges: boolean;
14244
+ backgroundColor?: {
14245
+ value: string;
14246
+ referencedTokenId?: string | undefined;
14247
+ } | undefined;
14248
+ foregroundColor?: {
14249
+ value: string;
14250
+ referencedTokenId?: string | undefined;
14251
+ } | undefined;
14252
+ padding?: {
14253
+ top?: number | undefined;
14254
+ bottom?: number | undefined;
14255
+ left?: number | undefined;
14256
+ right?: number | undefined;
14257
+ } | undefined;
14258
+ };
14259
+ sectionType: "Tabs";
14260
+ variantId?: string | undefined;
14261
+ })[];
13140
14262
  }, {
13141
- blocks: {
14263
+ blocks: ({
13142
14264
  id: string;
14265
+ type: "Block";
13143
14266
  data: {
13144
14267
  items: {
13145
14268
  id: string;
@@ -13165,7 +14288,66 @@ declare const DocumentationPageEditorModel: z.ZodObject<{
13165
14288
  numberOfColumns?: number | undefined;
13166
14289
  } | undefined;
13167
14290
  };
13168
- }[];
14291
+ } | {
14292
+ id: string;
14293
+ type: "Section";
14294
+ items: {
14295
+ id: string;
14296
+ title: string;
14297
+ columns: {
14298
+ id: string;
14299
+ blocks: {
14300
+ id: string;
14301
+ type: "Block";
14302
+ data: {
14303
+ items: {
14304
+ id: string;
14305
+ props: Record<string, {
14306
+ value?: any;
14307
+ } & Record<string, any>>;
14308
+ linksTo?: {
14309
+ type: "DocumentationItem" | "PageHeading" | "Url";
14310
+ documentationItemId?: string | undefined;
14311
+ pageHeadingId?: string | undefined;
14312
+ url?: string | undefined;
14313
+ openInNewTab?: boolean | undefined;
14314
+ } | undefined;
14315
+ }[];
14316
+ packageId: string;
14317
+ indentLevel: number;
14318
+ variantId?: string | undefined;
14319
+ appearance?: {
14320
+ itemBackgroundColor?: {
14321
+ value: string;
14322
+ referencedTokenId?: string | undefined;
14323
+ } | undefined;
14324
+ numberOfColumns?: number | undefined;
14325
+ } | undefined;
14326
+ };
14327
+ }[];
14328
+ }[];
14329
+ }[];
14330
+ appearance: {
14331
+ expandToEdges: boolean;
14332
+ contentExpandToEdges: boolean;
14333
+ backgroundColor?: {
14334
+ value: string;
14335
+ referencedTokenId?: string | undefined;
14336
+ } | undefined;
14337
+ foregroundColor?: {
14338
+ value: string;
14339
+ referencedTokenId?: string | undefined;
14340
+ } | undefined;
14341
+ padding?: {
14342
+ top?: number | undefined;
14343
+ bottom?: number | undefined;
14344
+ left?: number | undefined;
14345
+ right?: number | undefined;
14346
+ } | undefined;
14347
+ };
14348
+ sectionType: "Tabs";
14349
+ variantId?: string | undefined;
14350
+ })[];
13169
14351
  }>;
13170
14352
  type DocumentationPageEditorModel = z.infer<typeof DocumentationPageEditorModel>;
13171
14353
 
@@ -13258,6 +14440,7 @@ declare function blockDefinitionForBlock(block: PageBlockEditorModel, definition
13258
14440
  isEditorPresentationDifferent?: boolean | undefined;
13259
14441
  } | undefined;
13260
14442
  };
14443
+ declare function sectionToProsemirrorNode(section: PageSectionEditorModel, definitions: PageBlockDefinition[]): ProsemirrorNode;
13261
14444
  declare function blockToProsemirrorNode(block: PageBlockEditorModel, definition: PageBlockDefinition): ProsemirrorNode | null;
13262
14445
  declare function serializeAsCustomBlock(block: PageBlockEditorModel, definition: PageBlockDefinition): ProsemirrorNode;
13263
14446
 
@@ -13266,6 +14449,36 @@ declare function getMockPageBlockDefinitions(): PageBlockDefinition[];
13266
14449
  declare function yDocToPage(yDoc: Y.Doc, definitions: PageBlockDefinition[]): DocumentationPageEditorModel;
13267
14450
  declare function yXmlFragmentToPage(fragment: Y.XmlFragment, definitions: PageBlockDefinition[]): DocumentationPageEditorModel;
13268
14451
  declare function prosemirrorDocToPage(prosemirrorDoc: ProsemirrorNode, definitions: PageBlockDefinition[]): DocumentationPageEditorModel;
14452
+ declare function prosemirrorNodeToSection(prosemirrorNode: ProsemirrorNode, definitions: PageBlockDefinition[]): PageSectionEditorModel | null;
14453
+ declare function prosemirrorNodesToBlocks(prosemirrorNodes: ProsemirrorNode[], definitions: PageBlockDefinition[]): {
14454
+ id: string;
14455
+ type: "Block";
14456
+ data: {
14457
+ items: {
14458
+ id: string;
14459
+ props: Record<string, {
14460
+ value?: any;
14461
+ } & Record<string, any>>;
14462
+ linksTo?: {
14463
+ type: "DocumentationItem" | "PageHeading" | "Url";
14464
+ documentationItemId?: string | undefined;
14465
+ pageHeadingId?: string | undefined;
14466
+ url?: string | undefined;
14467
+ openInNewTab?: boolean | undefined;
14468
+ } | undefined;
14469
+ }[];
14470
+ packageId: string;
14471
+ indentLevel: number;
14472
+ variantId?: string | undefined;
14473
+ appearance?: {
14474
+ itemBackgroundColor?: {
14475
+ value: string;
14476
+ referencedTokenId?: string | undefined;
14477
+ } | undefined;
14478
+ numberOfColumns?: number | undefined;
14479
+ } | undefined;
14480
+ };
14481
+ }[];
13269
14482
  declare function prosemirrorNodeToBlock(prosemirrorNode: ProsemirrorNode, definition: PageBlockDefinition): PageBlockEditorModel | null;
13270
14483
 
13271
14484
  declare const BlockParsingUtils: {
@@ -13342,4 +14555,4 @@ declare const BlockDefinitionUtils: {
13342
14555
  };
13343
14556
  };
13344
14557
 
13345
- export { BlockDefinitionUtils, BlockParsingUtils, DTOCreateDocumentationGroupInput, DTOCreateDocumentationPageInputV2, DTOCreateDocumentationTabGroupInput, DTODeleteDocumentationGroupInput, DTODeleteDocumentationPageInputV2, DTODeleteDocumentationTabGroupInput, DTODesignSystem, DTODocumentationGroupCreateActionInputV2, DTODocumentationGroupCreateActionOutputV2, DTODocumentationGroupDeleteActionInputV2, DTODocumentationGroupDeleteActionOutputV2, DTODocumentationGroupDuplicateActionInputV2, DTODocumentationGroupDuplicateActionOutputV2, DTODocumentationGroupMoveActionInputV2, DTODocumentationGroupMoveActionOutputV2, DTODocumentationGroupStructureV2, DTODocumentationGroupUpdateActionInputV2, DTODocumentationGroupUpdateActionOutputV2, DTODocumentationGroupV2, DTODocumentationHierarchyV2, DTODocumentationPageCreateActionInputV2, DTODocumentationPageCreateActionOutputV2, DTODocumentationPageDeleteActionInputV2, DTODocumentationPageDeleteActionOutputV2, DTODocumentationPageDuplicateActionInputV2, DTODocumentationPageDuplicateActionOutputV2, DTODocumentationPageMoveActionInputV2, DTODocumentationPageMoveActionOutputV2, DTODocumentationPageRoomHeaderData, DTODocumentationPageRoomHeaderDataUpdate, DTODocumentationPageStructureV2, DTODocumentationPageUpdateActionInputV2, DTODocumentationPageUpdateActionOutputV2, DTODocumentationPageV2, DTODocumentationTabGroupCreateActionInputV2, DTODocumentationTabGroupCreateActionOutputV2, 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, PageBlockEditorModel, type ProsemirrorBlockItem, type ProsemirrorMark, type ProsemirrorNode, blockDefinitionForBlock, blockToProsemirrorNode, buildDocPagePublishPaths, calculateElementParentChain, documentationElementsToHierarchyDto, documentationHierarchyToYjs, documentationPagesToDTOV1, documentationPagesToDTOV2, documentationPagesToStructureDTOV2, elementGroupsToDocumentationGroupDTO, elementGroupsToDocumentationGroupStructureDTO, getMockPageBlockDefinitions, itemConfigurationToYjs, pageToProsemirrorDoc, pageToYXmlFragment, pmSchema, prosemirrorDocToPage, prosemirrorNodeToBlock, serializeAsCustomBlock, yDocToPage, yXmlFragmentToPage, yjsToDocumentationHierarchy, yjsToItemConfiguration };
14558
+ export { BlockDefinitionUtils, BlockParsingUtils, DTOCreateDocumentationGroupInput, DTOCreateDocumentationPageInputV2, DTOCreateDocumentationTabInput, DTODeleteDocumentationGroupInput, DTODeleteDocumentationPageInputV2, DTODeleteDocumentationTabGroupInput, DTODesignSystem, DTODocumentationGroupCreateActionInputV2, DTODocumentationGroupCreateActionOutputV2, DTODocumentationGroupDeleteActionInputV2, DTODocumentationGroupDeleteActionOutputV2, DTODocumentationGroupDuplicateActionInputV2, DTODocumentationGroupDuplicateActionOutputV2, DTODocumentationGroupMoveActionInputV2, DTODocumentationGroupMoveActionOutputV2, DTODocumentationGroupStructureV2, DTODocumentationGroupUpdateActionInputV2, DTODocumentationGroupUpdateActionOutputV2, DTODocumentationGroupV2, DTODocumentationHierarchyV2, 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, PageBlockEditorModel, PageSectionEditorModel, type ProsemirrorBlockItem, type ProsemirrorMark, type ProsemirrorNode, blockDefinitionForBlock, blockToProsemirrorNode, buildDocPagePublishPaths, calculateElementParentChain, documentationElementsToHierarchyDto, documentationHierarchyToYjs, documentationPagesToDTOV1, documentationPagesToDTOV2, documentationPagesToStructureDTOV2, elementGroupsToDocumentationGroupDTO, elementGroupsToDocumentationGroupStructureDTO, getMockPageBlockDefinitions, itemConfigurationToYjs, pageToProsemirrorDoc, pageToYXmlFragment, pmSchema, prosemirrorDocToPage, prosemirrorNodeToBlock, prosemirrorNodeToSection, prosemirrorNodesToBlocks, sectionToProsemirrorNode, serializeAsCustomBlock, yDocToPage, yXmlFragmentToPage, yjsToDocumentationHierarchy, yjsToItemConfiguration };