@supernova-studio/client 0.48.13 → 0.48.15

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
@@ -7233,11 +7233,27 @@ declare const DTODocumentationPageSnapshot: z.ZodObject<{
7233
7233
  };
7234
7234
  }>, z.ZodObject<{
7235
7235
  changeType: z.ZodLiteral<"Deleted">;
7236
+ deletedAt: z.ZodDate;
7237
+ deletedByUserId: z.ZodString;
7236
7238
  }, "strip", z.ZodTypeAny, {
7237
7239
  changeType: "Deleted";
7240
+ deletedAt: Date;
7241
+ deletedByUserId: string;
7238
7242
  }, {
7239
7243
  changeType: "Deleted";
7244
+ deletedAt: Date;
7245
+ deletedByUserId: string;
7240
7246
  }>]>>;
7247
+ publishMetadata: z.ZodOptional<z.ZodObject<{
7248
+ lastPublishedByUserId: z.ZodString;
7249
+ lastPublishedAt: z.ZodDate;
7250
+ }, "strip", z.ZodTypeAny, {
7251
+ lastPublishedByUserId: string;
7252
+ lastPublishedAt: Date;
7253
+ }, {
7254
+ lastPublishedByUserId: string;
7255
+ lastPublishedAt: Date;
7256
+ }>>;
7241
7257
  type: z.ZodLiteral<"Page">;
7242
7258
  }, "strip", z.ZodTypeAny, {
7243
7259
  path: string;
@@ -7325,6 +7341,12 @@ declare const DTODocumentationPageSnapshot: z.ZodObject<{
7325
7341
  };
7326
7342
  } | {
7327
7343
  changeType: "Deleted";
7344
+ deletedAt: Date;
7345
+ deletedByUserId: string;
7346
+ } | undefined;
7347
+ publishMetadata?: {
7348
+ lastPublishedByUserId: string;
7349
+ lastPublishedAt: Date;
7328
7350
  } | undefined;
7329
7351
  }, {
7330
7352
  path: string;
@@ -7412,6 +7434,12 @@ declare const DTODocumentationPageSnapshot: z.ZodObject<{
7412
7434
  };
7413
7435
  } | {
7414
7436
  changeType: "Deleted";
7437
+ deletedAt: Date;
7438
+ deletedByUserId: string;
7439
+ } | undefined;
7440
+ publishMetadata?: {
7441
+ lastPublishedByUserId: string;
7442
+ lastPublishedAt: Date;
7415
7443
  } | undefined;
7416
7444
  }>;
7417
7445
  pageContentHash: z.ZodString;
@@ -7507,6 +7535,12 @@ declare const DTODocumentationPageSnapshot: z.ZodObject<{
7507
7535
  };
7508
7536
  } | {
7509
7537
  changeType: "Deleted";
7538
+ deletedAt: Date;
7539
+ deletedByUserId: string;
7540
+ } | undefined;
7541
+ publishMetadata?: {
7542
+ lastPublishedByUserId: string;
7543
+ lastPublishedAt: Date;
7510
7544
  } | undefined;
7511
7545
  };
7512
7546
  pageContentHash: string;
@@ -7602,6 +7636,12 @@ declare const DTODocumentationPageSnapshot: z.ZodObject<{
7602
7636
  };
7603
7637
  } | {
7604
7638
  changeType: "Deleted";
7639
+ deletedAt: Date;
7640
+ deletedByUserId: string;
7641
+ } | undefined;
7642
+ publishMetadata?: {
7643
+ lastPublishedByUserId: string;
7644
+ lastPublishedAt: Date;
7605
7645
  } | undefined;
7606
7646
  };
7607
7647
  pageContentHash: string;
@@ -9056,10 +9096,16 @@ declare const DTODocumentationDraftStateUpdated: z.ZodObject<{
9056
9096
  type DTODocumentationDraftStateUpdated = z.infer<typeof DTODocumentationDraftStateUpdated>;
9057
9097
  declare const DTODocumentationDraftStateDeleted: z.ZodObject<{
9058
9098
  changeType: z.ZodLiteral<"Deleted">;
9099
+ deletedAt: z.ZodDate;
9100
+ deletedByUserId: z.ZodString;
9059
9101
  }, "strip", z.ZodTypeAny, {
9060
9102
  changeType: "Deleted";
9103
+ deletedAt: Date;
9104
+ deletedByUserId: string;
9061
9105
  }, {
9062
9106
  changeType: "Deleted";
9107
+ deletedAt: Date;
9108
+ deletedByUserId: string;
9063
9109
  }>;
9064
9110
  type DTODocumentationDraftStateDeleted = z.infer<typeof DTODocumentationDraftStateDeleted>;
9065
9111
  declare const DTODocumentationDraftState: z.ZodDiscriminatedUnion<"changeType", [z.ZodObject<{
@@ -9412,10 +9458,16 @@ declare const DTODocumentationDraftState: z.ZodDiscriminatedUnion<"changeType",
9412
9458
  };
9413
9459
  }>, z.ZodObject<{
9414
9460
  changeType: z.ZodLiteral<"Deleted">;
9461
+ deletedAt: z.ZodDate;
9462
+ deletedByUserId: z.ZodString;
9415
9463
  }, "strip", z.ZodTypeAny, {
9416
9464
  changeType: "Deleted";
9465
+ deletedAt: Date;
9466
+ deletedByUserId: string;
9417
9467
  }, {
9418
9468
  changeType: "Deleted";
9469
+ deletedAt: Date;
9470
+ deletedByUserId: string;
9419
9471
  }>]>;
9420
9472
  type DTODocumentationDraftState = z.infer<typeof DTODocumentationDraftState>;
9421
9473
 
@@ -11181,11 +11233,28 @@ declare const DTODocumentationGroupV2: z.ZodObject<z.objectUtil.extendShape<Omit
11181
11233
  };
11182
11234
  }>, z.ZodObject<{
11183
11235
  changeType: z.ZodLiteral<"Deleted">;
11236
+ deletedAt: z.ZodDate;
11237
+ deletedByUserId: z.ZodString;
11184
11238
  }, "strip", z.ZodTypeAny, {
11185
11239
  changeType: "Deleted";
11240
+ deletedAt: Date;
11241
+ deletedByUserId: string;
11186
11242
  }, {
11187
11243
  changeType: "Deleted";
11244
+ deletedAt: Date;
11245
+ deletedByUserId: string;
11188
11246
  }>]>>;
11247
+ /** Defined if a group was published at least once and contains metadata about last publish */
11248
+ publishMetadata: z.ZodOptional<z.ZodObject<{
11249
+ lastPublishedByUserId: z.ZodString;
11250
+ lastPublishedAt: z.ZodDate;
11251
+ }, "strip", z.ZodTypeAny, {
11252
+ lastPublishedByUserId: string;
11253
+ lastPublishedAt: Date;
11254
+ }, {
11255
+ lastPublishedByUserId: string;
11256
+ lastPublishedAt: Date;
11257
+ }>>;
11189
11258
  }>, "strip", z.ZodTypeAny, {
11190
11259
  type: "Group";
11191
11260
  id: string;
@@ -11274,6 +11343,12 @@ declare const DTODocumentationGroupV2: z.ZodObject<z.objectUtil.extendShape<Omit
11274
11343
  };
11275
11344
  } | {
11276
11345
  changeType: "Deleted";
11346
+ deletedAt: Date;
11347
+ deletedByUserId: string;
11348
+ } | undefined;
11349
+ publishMetadata?: {
11350
+ lastPublishedByUserId: string;
11351
+ lastPublishedAt: Date;
11277
11352
  } | undefined;
11278
11353
  }, {
11279
11354
  type: "Group";
@@ -11363,6 +11438,12 @@ declare const DTODocumentationGroupV2: z.ZodObject<z.objectUtil.extendShape<Omit
11363
11438
  };
11364
11439
  } | {
11365
11440
  changeType: "Deleted";
11441
+ deletedAt: Date;
11442
+ deletedByUserId: string;
11443
+ } | undefined;
11444
+ publishMetadata?: {
11445
+ lastPublishedByUserId: string;
11446
+ lastPublishedAt: Date;
11366
11447
  } | undefined;
11367
11448
  }>;
11368
11449
  type DTODocumentationGroupV2 = z.infer<typeof DTODocumentationGroupV2>;
@@ -12519,11 +12600,27 @@ declare const DTODocumentationHierarchyV2: z.ZodObject<{
12519
12600
  };
12520
12601
  }>, z.ZodObject<{
12521
12602
  changeType: z.ZodLiteral<"Deleted">;
12603
+ deletedAt: z.ZodDate;
12604
+ deletedByUserId: z.ZodString;
12522
12605
  }, "strip", z.ZodTypeAny, {
12523
12606
  changeType: "Deleted";
12607
+ deletedAt: Date;
12608
+ deletedByUserId: string;
12524
12609
  }, {
12525
12610
  changeType: "Deleted";
12611
+ deletedAt: Date;
12612
+ deletedByUserId: string;
12526
12613
  }>]>>;
12614
+ publishMetadata: z.ZodOptional<z.ZodObject<{
12615
+ lastPublishedByUserId: z.ZodString;
12616
+ lastPublishedAt: z.ZodDate;
12617
+ }, "strip", z.ZodTypeAny, {
12618
+ lastPublishedByUserId: string;
12619
+ lastPublishedAt: Date;
12620
+ }, {
12621
+ lastPublishedByUserId: string;
12622
+ lastPublishedAt: Date;
12623
+ }>>;
12527
12624
  type: z.ZodLiteral<"Page">;
12528
12625
  }, {
12529
12626
  /** Defined when a page has changed since last publish and can be included into a partial publish */
@@ -12877,10 +12974,16 @@ declare const DTODocumentationHierarchyV2: z.ZodObject<{
12877
12974
  };
12878
12975
  }>, z.ZodObject<{
12879
12976
  changeType: z.ZodLiteral<"Deleted">;
12977
+ deletedAt: z.ZodDate;
12978
+ deletedByUserId: z.ZodString;
12880
12979
  }, "strip", z.ZodTypeAny, {
12881
12980
  changeType: "Deleted";
12981
+ deletedAt: Date;
12982
+ deletedByUserId: string;
12882
12983
  }, {
12883
12984
  changeType: "Deleted";
12985
+ deletedAt: Date;
12986
+ deletedByUserId: string;
12884
12987
  }>]>>;
12885
12988
  }>, "strip", z.ZodTypeAny, {
12886
12989
  path: string;
@@ -12968,6 +13071,12 @@ declare const DTODocumentationHierarchyV2: z.ZodObject<{
12968
13071
  };
12969
13072
  } | {
12970
13073
  changeType: "Deleted";
13074
+ deletedAt: Date;
13075
+ deletedByUserId: string;
13076
+ } | undefined;
13077
+ publishMetadata?: {
13078
+ lastPublishedByUserId: string;
13079
+ lastPublishedAt: Date;
12971
13080
  } | undefined;
12972
13081
  }, {
12973
13082
  path: string;
@@ -13055,6 +13164,12 @@ declare const DTODocumentationHierarchyV2: z.ZodObject<{
13055
13164
  };
13056
13165
  } | {
13057
13166
  changeType: "Deleted";
13167
+ deletedAt: Date;
13168
+ deletedByUserId: string;
13169
+ } | undefined;
13170
+ publishMetadata?: {
13171
+ lastPublishedByUserId: string;
13172
+ lastPublishedAt: Date;
13058
13173
  } | undefined;
13059
13174
  }>, "many">;
13060
13175
  groups: z.ZodArray<z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extendShape<Omit<z.objectUtil.extendShape<z.objectUtil.extendShape<z.objectUtil.extendShape<z.objectUtil.extendShape<{
@@ -13827,11 +13942,27 @@ declare const DTODocumentationHierarchyV2: z.ZodObject<{
13827
13942
  };
13828
13943
  }>, z.ZodObject<{
13829
13944
  changeType: z.ZodLiteral<"Deleted">;
13945
+ deletedAt: z.ZodDate;
13946
+ deletedByUserId: z.ZodString;
13830
13947
  }, "strip", z.ZodTypeAny, {
13831
13948
  changeType: "Deleted";
13949
+ deletedAt: Date;
13950
+ deletedByUserId: string;
13832
13951
  }, {
13833
13952
  changeType: "Deleted";
13953
+ deletedAt: Date;
13954
+ deletedByUserId: string;
13834
13955
  }>]>>;
13956
+ publishMetadata: z.ZodOptional<z.ZodObject<{
13957
+ lastPublishedByUserId: z.ZodString;
13958
+ lastPublishedAt: z.ZodDate;
13959
+ }, "strip", z.ZodTypeAny, {
13960
+ lastPublishedByUserId: string;
13961
+ lastPublishedAt: Date;
13962
+ }, {
13963
+ lastPublishedByUserId: string;
13964
+ lastPublishedAt: Date;
13965
+ }>>;
13835
13966
  }>, {
13836
13967
  /** Defined when a page has changed since last publish and can be included into a partial publish */
13837
13968
  draftState: z.ZodOptional<z.ZodDiscriminatedUnion<"changeType", [z.ZodObject<{
@@ -14184,10 +14315,16 @@ declare const DTODocumentationHierarchyV2: z.ZodObject<{
14184
14315
  };
14185
14316
  }>, z.ZodObject<{
14186
14317
  changeType: z.ZodLiteral<"Deleted">;
14318
+ deletedAt: z.ZodDate;
14319
+ deletedByUserId: z.ZodString;
14187
14320
  }, "strip", z.ZodTypeAny, {
14188
14321
  changeType: "Deleted";
14322
+ deletedAt: Date;
14323
+ deletedByUserId: string;
14189
14324
  }, {
14190
14325
  changeType: "Deleted";
14326
+ deletedAt: Date;
14327
+ deletedByUserId: string;
14191
14328
  }>]>>;
14192
14329
  }>, "strip", z.ZodTypeAny, {
14193
14330
  type: "Group";
@@ -14277,6 +14414,12 @@ declare const DTODocumentationHierarchyV2: z.ZodObject<{
14277
14414
  };
14278
14415
  } | {
14279
14416
  changeType: "Deleted";
14417
+ deletedAt: Date;
14418
+ deletedByUserId: string;
14419
+ } | undefined;
14420
+ publishMetadata?: {
14421
+ lastPublishedByUserId: string;
14422
+ lastPublishedAt: Date;
14280
14423
  } | undefined;
14281
14424
  }, {
14282
14425
  type: "Group";
@@ -14366,114 +14509,30 @@ declare const DTODocumentationHierarchyV2: z.ZodObject<{
14366
14509
  };
14367
14510
  } | {
14368
14511
  changeType: "Deleted";
14512
+ deletedAt: Date;
14513
+ deletedByUserId: string;
14514
+ } | undefined;
14515
+ publishMetadata?: {
14516
+ lastPublishedByUserId: string;
14517
+ lastPublishedAt: Date;
14369
14518
  } | undefined;
14370
14519
  }>, "many">;
14371
- deletedPages: z.ZodArray<z.ZodObject<z.objectUtil.extendShape<{
14372
- id: z.ZodString;
14373
- persistentId: z.ZodString;
14374
- designSystemVersionId: z.ZodString;
14375
- title: z.ZodString;
14376
- configuration: z.ZodObject<{
14377
- showSidebar: z.ZodBoolean;
14378
- isPrivate: z.ZodBoolean;
14379
- isHidden: z.ZodBoolean; /** Defined when a page has changed since last publish and can be included into a partial publish */
14380
- header: z.ZodObject<{
14381
- description: z.ZodString;
14382
- alignment: z.ZodEnum<["Left", "Center"]>;
14383
- foregroundColor: z.ZodOptional<z.ZodNullable<z.ZodObject<{
14384
- value: z.ZodString;
14385
- referencedTokenId: z.ZodOptional<z.ZodString>;
14386
- }, "strip", z.ZodTypeAny, {
14387
- value: string;
14388
- referencedTokenId?: string | undefined;
14389
- }, {
14390
- value: string;
14391
- referencedTokenId?: string | undefined;
14392
- }>>>;
14393
- backgroundColor: z.ZodOptional<z.ZodNullable<z.ZodObject<{
14394
- value: z.ZodString;
14395
- referencedTokenId: z.ZodOptional<z.ZodString>;
14396
- }, "strip", z.ZodTypeAny, {
14397
- value: string;
14398
- referencedTokenId?: string | undefined;
14399
- }, {
14400
- value: string;
14401
- referencedTokenId?: string | undefined;
14402
- }>>>;
14403
- backgroundImageAsset: z.ZodOptional<z.ZodNullable<z.ZodObject<{
14404
- type: z.ZodEnum<["Resource", "FigmaNode"]>;
14405
- resource: z.ZodOptional<z.ZodObject<{
14406
- resourceId: z.ZodString;
14407
- url: z.ZodString;
14408
- }, "strip", z.ZodTypeAny, {
14409
- url: string;
14410
- resourceId: string;
14411
- }, {
14412
- url: string;
14413
- resourceId: string;
14414
- }>>;
14415
- figmaNode: z.ZodOptional<z.ZodObject<{
14416
- sourceId: z.ZodString;
14417
- frameReferenceId: z.ZodString;
14418
- }, "strip", z.ZodTypeAny, {
14419
- sourceId: string;
14420
- frameReferenceId: string;
14421
- }, {
14422
- sourceId: string;
14423
- frameReferenceId: string;
14424
- }>>;
14425
- }, "strip", z.ZodTypeAny, {
14426
- type: "FigmaNode" | "Resource";
14427
- resource?: {
14428
- url: string;
14429
- resourceId: string;
14430
- } | undefined;
14431
- figmaNode?: {
14432
- sourceId: string;
14433
- frameReferenceId: string;
14434
- } | undefined;
14435
- }, {
14436
- type: "FigmaNode" | "Resource";
14437
- resource?: {
14438
- url: string;
14439
- resourceId: string;
14440
- } | undefined;
14441
- figmaNode?: {
14442
- sourceId: string;
14443
- frameReferenceId: string;
14444
- } | undefined;
14445
- }>>>;
14446
- backgroundImageScaleType: z.ZodEnum<["AspectFill", "AspectFit"]>;
14447
- showBackgroundOverlay: z.ZodBoolean;
14448
- showCoverText: z.ZodBoolean;
14449
- minHeight: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
14450
- }, "strip", z.ZodTypeAny, {
14451
- description: string;
14452
- alignment: "Left" | "Center";
14453
- backgroundImageScaleType: "AspectFill" | "AspectFit";
14454
- showBackgroundOverlay: boolean;
14455
- showCoverText: boolean;
14456
- backgroundColor?: {
14457
- value: string;
14458
- referencedTokenId?: string | undefined;
14459
- } | null | undefined;
14460
- foregroundColor?: {
14461
- value: string;
14462
- referencedTokenId?: string | undefined;
14463
- } | null | undefined;
14464
- backgroundImageAsset?: {
14465
- type: "FigmaNode" | "Resource";
14466
- resource?: {
14467
- url: string;
14468
- resourceId: string;
14469
- } | undefined;
14470
- figmaNode?: {
14471
- sourceId: string;
14472
- frameReferenceId: string;
14473
- } | undefined;
14474
- } | null | undefined;
14475
- minHeight?: number | null | undefined;
14476
- }, {
14520
+ }, "strip", z.ZodTypeAny, {
14521
+ pages: {
14522
+ path: string;
14523
+ type: "Page";
14524
+ id: string;
14525
+ persistentId: string;
14526
+ designSystemVersionId: string;
14527
+ createdAt: Date;
14528
+ updatedAt: Date;
14529
+ shortPersistentId: string;
14530
+ title: string;
14531
+ configuration: {
14532
+ showSidebar: boolean;
14533
+ isPrivate: boolean;
14534
+ isHidden: boolean;
14535
+ header: {
14477
14536
  description: string;
14478
14537
  alignment: "Left" | "Center";
14479
14538
  backgroundImageScaleType: "AspectFill" | "AspectFit";
@@ -14499,8 +14558,73 @@ declare const DTODocumentationHierarchyV2: z.ZodObject<{
14499
14558
  } | undefined;
14500
14559
  } | null | undefined;
14501
14560
  minHeight?: number | null | undefined;
14502
- }>;
14503
- }, "strip", z.ZodTypeAny, {
14561
+ };
14562
+ };
14563
+ slug?: string | undefined;
14564
+ userSlug?: string | undefined;
14565
+ draftState?: {
14566
+ changeType: "Created";
14567
+ } | {
14568
+ changeType: "Updated";
14569
+ changes: {
14570
+ previousTitle?: string | undefined;
14571
+ previousConfiguration?: {
14572
+ showSidebar: boolean;
14573
+ isPrivate: boolean;
14574
+ isHidden: boolean;
14575
+ header: {
14576
+ description: string;
14577
+ alignment: "Left" | "Center";
14578
+ backgroundImageScaleType: "AspectFill" | "AspectFit";
14579
+ showBackgroundOverlay: boolean;
14580
+ showCoverText: boolean;
14581
+ backgroundColor?: {
14582
+ value: string;
14583
+ referencedTokenId?: string | undefined;
14584
+ } | null | undefined;
14585
+ foregroundColor?: {
14586
+ value: string;
14587
+ referencedTokenId?: string | undefined;
14588
+ } | null | undefined;
14589
+ backgroundImageAsset?: {
14590
+ type: "FigmaNode" | "Resource";
14591
+ resource?: {
14592
+ url: string;
14593
+ resourceId: string;
14594
+ } | undefined;
14595
+ figmaNode?: {
14596
+ sourceId: string;
14597
+ frameReferenceId: string;
14598
+ } | undefined;
14599
+ } | null | undefined;
14600
+ minHeight?: number | null | undefined;
14601
+ };
14602
+ } | undefined;
14603
+ previousContentHash?: string | undefined;
14604
+ };
14605
+ } | {
14606
+ changeType: "Deleted";
14607
+ deletedAt: Date;
14608
+ deletedByUserId: string;
14609
+ } | undefined;
14610
+ publishMetadata?: {
14611
+ lastPublishedByUserId: string;
14612
+ lastPublishedAt: Date;
14613
+ } | undefined;
14614
+ }[];
14615
+ groups: {
14616
+ type: "Group";
14617
+ id: string;
14618
+ persistentId: string;
14619
+ designSystemVersionId: string;
14620
+ createdAt: Date;
14621
+ updatedAt: Date;
14622
+ shortPersistentId: string;
14623
+ title: string;
14624
+ isRoot: boolean;
14625
+ childrenIds: string[];
14626
+ groupBehavior: "Group" | "Tabs";
14627
+ configuration: {
14504
14628
  showSidebar: boolean;
14505
14629
  isPrivate: boolean;
14506
14630
  isHidden: boolean;
@@ -14531,2255 +14655,71 @@ declare const DTODocumentationHierarchyV2: z.ZodObject<{
14531
14655
  } | null | undefined;
14532
14656
  minHeight?: number | null | undefined;
14533
14657
  };
14534
- }, {
14535
- showSidebar: boolean;
14536
- isPrivate: boolean;
14537
- isHidden: boolean;
14538
- header: {
14539
- description: string;
14540
- alignment: "Left" | "Center";
14541
- backgroundImageScaleType: "AspectFill" | "AspectFit";
14542
- showBackgroundOverlay: boolean;
14543
- showCoverText: boolean;
14544
- backgroundColor?: {
14545
- value: string;
14546
- referencedTokenId?: string | undefined;
14547
- } | null | undefined;
14548
- foregroundColor?: {
14549
- value: string;
14550
- referencedTokenId?: string | undefined;
14551
- } | null | undefined;
14552
- backgroundImageAsset?: {
14553
- type: "FigmaNode" | "Resource";
14554
- resource?: {
14555
- url: string;
14556
- resourceId: string;
14557
- } | undefined;
14558
- figmaNode?: {
14559
- sourceId: string;
14560
- frameReferenceId: string;
14561
- } | undefined;
14562
- } | null | undefined;
14563
- minHeight?: number | null | undefined;
14564
- };
14565
- }>;
14566
- shortPersistentId: z.ZodString;
14567
- slug: z.ZodOptional<z.ZodString>;
14568
- userSlug: z.ZodOptional<z.ZodString>;
14569
- createdAt: z.ZodDate;
14570
- updatedAt: z.ZodDate;
14571
- path: z.ZodString;
14572
- draftState: z.ZodOptional<z.ZodDiscriminatedUnion<"changeType", [z.ZodObject<{
14573
- changeType: z.ZodLiteral<"Created">;
14574
- }, "strip", z.ZodTypeAny, {
14575
- changeType: "Created";
14576
- }, {
14577
- changeType: "Created";
14578
- }>, z.ZodObject<{
14579
- changeType: z.ZodLiteral<"Updated">;
14580
- changes: z.ZodObject<{
14581
- previousTitle: z.ZodOptional<z.ZodString>;
14582
- previousConfiguration: z.ZodOptional<z.ZodObject<{
14583
- showSidebar: z.ZodBoolean;
14584
- isPrivate: z.ZodBoolean;
14585
- isHidden: z.ZodBoolean; /** Defined when a page has changed since last publish and can be included into a partial publish */
14586
- header: z.ZodObject<{
14587
- description: z.ZodString;
14588
- alignment: z.ZodEnum<["Left", "Center"]>;
14589
- foregroundColor: z.ZodOptional<z.ZodNullable<z.ZodObject<{
14590
- value: z.ZodString;
14591
- referencedTokenId: z.ZodOptional<z.ZodString>;
14592
- }, "strip", z.ZodTypeAny, {
14593
- value: string;
14594
- referencedTokenId?: string | undefined;
14595
- }, {
14596
- value: string;
14597
- referencedTokenId?: string | undefined;
14598
- }>>>;
14599
- backgroundColor: z.ZodOptional<z.ZodNullable<z.ZodObject<{
14600
- value: z.ZodString;
14601
- referencedTokenId: z.ZodOptional<z.ZodString>;
14602
- }, "strip", z.ZodTypeAny, {
14603
- value: string;
14604
- referencedTokenId?: string | undefined;
14605
- }, {
14606
- value: string;
14607
- referencedTokenId?: string | undefined;
14608
- }>>>;
14609
- backgroundImageAsset: z.ZodOptional<z.ZodNullable<z.ZodObject<{
14610
- type: z.ZodEnum<["Resource", "FigmaNode"]>;
14611
- resource: z.ZodOptional<z.ZodObject<{
14612
- resourceId: z.ZodString;
14613
- url: z.ZodString;
14614
- }, "strip", z.ZodTypeAny, {
14615
- url: string;
14616
- resourceId: string;
14617
- }, {
14618
- url: string;
14619
- resourceId: string;
14620
- }>>;
14621
- figmaNode: z.ZodOptional<z.ZodObject<{
14622
- sourceId: z.ZodString;
14623
- frameReferenceId: z.ZodString;
14624
- }, "strip", z.ZodTypeAny, {
14625
- sourceId: string;
14626
- frameReferenceId: string;
14627
- }, {
14628
- sourceId: string;
14629
- frameReferenceId: string;
14630
- }>>;
14631
- }, "strip", z.ZodTypeAny, {
14632
- type: "FigmaNode" | "Resource";
14633
- resource?: {
14634
- url: string;
14635
- resourceId: string;
14636
- } | undefined;
14637
- figmaNode?: {
14638
- sourceId: string;
14639
- frameReferenceId: string;
14640
- } | undefined;
14641
- }, {
14642
- type: "FigmaNode" | "Resource";
14643
- resource?: {
14644
- url: string;
14645
- resourceId: string;
14646
- } | undefined;
14647
- figmaNode?: {
14648
- sourceId: string;
14649
- frameReferenceId: string;
14650
- } | undefined;
14651
- }>>>;
14652
- backgroundImageScaleType: z.ZodEnum<["AspectFill", "AspectFit"]>;
14653
- showBackgroundOverlay: z.ZodBoolean;
14654
- showCoverText: z.ZodBoolean;
14655
- minHeight: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
14656
- }, "strip", z.ZodTypeAny, {
14657
- description: string;
14658
- alignment: "Left" | "Center";
14659
- backgroundImageScaleType: "AspectFill" | "AspectFit";
14660
- showBackgroundOverlay: boolean;
14661
- showCoverText: boolean;
14662
- backgroundColor?: {
14663
- value: string;
14664
- referencedTokenId?: string | undefined;
14665
- } | null | undefined;
14666
- foregroundColor?: {
14667
- value: string;
14668
- referencedTokenId?: string | undefined;
14669
- } | null | undefined;
14670
- backgroundImageAsset?: {
14671
- type: "FigmaNode" | "Resource";
14672
- resource?: {
14673
- url: string;
14674
- resourceId: string;
14675
- } | undefined;
14676
- figmaNode?: {
14677
- sourceId: string;
14678
- frameReferenceId: string;
14679
- } | undefined;
14680
- } | null | undefined;
14681
- minHeight?: number | null | undefined;
14682
- }, {
14683
- description: string;
14684
- alignment: "Left" | "Center";
14685
- backgroundImageScaleType: "AspectFill" | "AspectFit";
14686
- showBackgroundOverlay: boolean;
14687
- showCoverText: boolean;
14688
- backgroundColor?: {
14689
- value: string;
14690
- referencedTokenId?: string | undefined;
14691
- } | null | undefined;
14692
- foregroundColor?: {
14693
- value: string;
14694
- referencedTokenId?: string | undefined;
14695
- } | null | undefined;
14696
- backgroundImageAsset?: {
14697
- type: "FigmaNode" | "Resource";
14698
- resource?: {
14699
- url: string;
14700
- resourceId: string;
14701
- } | undefined;
14702
- figmaNode?: {
14703
- sourceId: string;
14704
- frameReferenceId: string;
14705
- } | undefined;
14706
- } | null | undefined;
14707
- minHeight?: number | null | undefined;
14708
- }>;
14709
- }, "strip", z.ZodTypeAny, {
14710
- showSidebar: boolean;
14711
- isPrivate: boolean;
14712
- isHidden: boolean;
14713
- header: {
14714
- description: string;
14715
- alignment: "Left" | "Center";
14716
- backgroundImageScaleType: "AspectFill" | "AspectFit";
14717
- showBackgroundOverlay: boolean;
14718
- showCoverText: boolean;
14719
- backgroundColor?: {
14720
- value: string;
14721
- referencedTokenId?: string | undefined;
14722
- } | null | undefined;
14723
- foregroundColor?: {
14724
- value: string;
14725
- referencedTokenId?: string | undefined;
14726
- } | null | undefined;
14727
- backgroundImageAsset?: {
14728
- type: "FigmaNode" | "Resource";
14729
- resource?: {
14730
- url: string;
14731
- resourceId: string;
14732
- } | undefined;
14733
- figmaNode?: {
14734
- sourceId: string;
14735
- frameReferenceId: string;
14736
- } | undefined;
14737
- } | null | undefined;
14738
- minHeight?: number | null | undefined;
14739
- };
14740
- }, {
14741
- showSidebar: boolean;
14742
- isPrivate: boolean;
14743
- isHidden: boolean;
14744
- header: {
14745
- description: string;
14746
- alignment: "Left" | "Center";
14747
- backgroundImageScaleType: "AspectFill" | "AspectFit";
14748
- showBackgroundOverlay: boolean;
14749
- showCoverText: boolean;
14750
- backgroundColor?: {
14751
- value: string;
14752
- referencedTokenId?: string | undefined;
14753
- } | null | undefined;
14754
- foregroundColor?: {
14755
- value: string;
14756
- referencedTokenId?: string | undefined;
14757
- } | null | undefined;
14758
- backgroundImageAsset?: {
14759
- type: "FigmaNode" | "Resource";
14760
- resource?: {
14761
- url: string;
14762
- resourceId: string;
14763
- } | undefined;
14764
- figmaNode?: {
14765
- sourceId: string;
14766
- frameReferenceId: string;
14767
- } | undefined;
14768
- } | null | undefined;
14769
- minHeight?: number | null | undefined;
14770
- };
14771
- }>>;
14772
- previousContentHash: z.ZodOptional<z.ZodString>;
14773
- }, "strip", z.ZodTypeAny, {
14774
- previousTitle?: string | undefined;
14775
- previousConfiguration?: {
14776
- showSidebar: boolean;
14777
- isPrivate: boolean;
14778
- isHidden: boolean;
14779
- header: {
14780
- description: string;
14781
- alignment: "Left" | "Center";
14782
- backgroundImageScaleType: "AspectFill" | "AspectFit";
14783
- showBackgroundOverlay: boolean;
14784
- showCoverText: boolean;
14785
- backgroundColor?: {
14786
- value: string;
14787
- referencedTokenId?: string | undefined;
14788
- } | null | undefined;
14789
- foregroundColor?: {
14790
- value: string;
14791
- referencedTokenId?: string | undefined;
14792
- } | null | undefined;
14793
- backgroundImageAsset?: {
14794
- type: "FigmaNode" | "Resource";
14795
- resource?: {
14796
- url: string;
14797
- resourceId: string;
14798
- } | undefined;
14799
- figmaNode?: {
14800
- sourceId: string;
14801
- frameReferenceId: string;
14802
- } | undefined;
14803
- } | null | undefined;
14804
- minHeight?: number | null | undefined;
14805
- };
14806
- } | undefined;
14807
- previousContentHash?: string | undefined;
14808
- }, {
14809
- previousTitle?: string | undefined;
14810
- previousConfiguration?: {
14811
- showSidebar: boolean;
14812
- isPrivate: boolean;
14813
- isHidden: boolean;
14814
- header: {
14815
- description: string;
14816
- alignment: "Left" | "Center";
14817
- backgroundImageScaleType: "AspectFill" | "AspectFit";
14818
- showBackgroundOverlay: boolean;
14819
- showCoverText: boolean;
14820
- backgroundColor?: {
14821
- value: string;
14822
- referencedTokenId?: string | undefined;
14823
- } | null | undefined;
14824
- foregroundColor?: {
14825
- value: string;
14826
- referencedTokenId?: string | undefined;
14827
- } | null | undefined;
14828
- backgroundImageAsset?: {
14829
- type: "FigmaNode" | "Resource";
14830
- resource?: {
14831
- url: string;
14832
- resourceId: string;
14833
- } | undefined;
14834
- figmaNode?: {
14835
- sourceId: string;
14836
- frameReferenceId: string;
14837
- } | undefined;
14838
- } | null | undefined;
14839
- minHeight?: number | null | undefined;
14840
- };
14841
- } | undefined;
14842
- previousContentHash?: string | undefined;
14843
- }>;
14844
- }, "strip", z.ZodTypeAny, {
14845
- changeType: "Updated";
14846
- changes: {
14847
- previousTitle?: string | undefined;
14848
- previousConfiguration?: {
14849
- showSidebar: boolean;
14850
- isPrivate: boolean;
14851
- isHidden: boolean;
14852
- header: {
14853
- description: string;
14854
- alignment: "Left" | "Center";
14855
- backgroundImageScaleType: "AspectFill" | "AspectFit";
14856
- showBackgroundOverlay: boolean;
14857
- showCoverText: boolean;
14858
- backgroundColor?: {
14859
- value: string;
14860
- referencedTokenId?: string | undefined;
14861
- } | null | undefined;
14862
- foregroundColor?: {
14863
- value: string;
14864
- referencedTokenId?: string | undefined;
14865
- } | null | undefined;
14866
- backgroundImageAsset?: {
14867
- type: "FigmaNode" | "Resource";
14868
- resource?: {
14869
- url: string;
14870
- resourceId: string;
14871
- } | undefined;
14872
- figmaNode?: {
14873
- sourceId: string;
14874
- frameReferenceId: string;
14875
- } | undefined;
14876
- } | null | undefined;
14877
- minHeight?: number | null | undefined;
14878
- };
14879
- } | undefined;
14880
- previousContentHash?: string | undefined;
14881
- };
14882
- }, {
14883
- changeType: "Updated";
14884
- changes: {
14885
- previousTitle?: string | undefined;
14886
- previousConfiguration?: {
14887
- showSidebar: boolean;
14888
- isPrivate: boolean;
14889
- isHidden: boolean;
14890
- header: {
14891
- description: string;
14892
- alignment: "Left" | "Center";
14893
- backgroundImageScaleType: "AspectFill" | "AspectFit";
14894
- showBackgroundOverlay: boolean;
14895
- showCoverText: boolean;
14896
- backgroundColor?: {
14897
- value: string;
14898
- referencedTokenId?: string | undefined;
14899
- } | null | undefined;
14900
- foregroundColor?: {
14901
- value: string;
14902
- referencedTokenId?: string | undefined;
14903
- } | null | undefined;
14904
- backgroundImageAsset?: {
14905
- type: "FigmaNode" | "Resource";
14906
- resource?: {
14907
- url: string;
14908
- resourceId: string;
14909
- } | undefined;
14910
- figmaNode?: {
14911
- sourceId: string;
14912
- frameReferenceId: string;
14913
- } | undefined;
14914
- } | null | undefined;
14915
- minHeight?: number | null | undefined;
14916
- };
14917
- } | undefined;
14918
- previousContentHash?: string | undefined;
14919
- };
14920
- }>, z.ZodObject<{
14921
- changeType: z.ZodLiteral<"Deleted">;
14922
- }, "strip", z.ZodTypeAny, {
14923
- changeType: "Deleted";
14924
- }, {
14925
- changeType: "Deleted";
14926
- }>]>>;
14927
- type: z.ZodLiteral<"Page">;
14928
- }, {
14929
- /** Deleted page is always a draft change */
14930
- draftState: z.ZodDiscriminatedUnion<"changeType", [z.ZodObject<{
14931
- changeType: z.ZodLiteral<"Created">;
14932
- }, "strip", z.ZodTypeAny, {
14933
- changeType: "Created";
14934
- }, {
14935
- changeType: "Created";
14936
- }>, z.ZodObject<{
14937
- changeType: z.ZodLiteral<"Updated">;
14938
- changes: z.ZodObject<{
14939
- previousTitle: z.ZodOptional<z.ZodString>;
14940
- previousConfiguration: z.ZodOptional<z.ZodObject<{
14941
- showSidebar: z.ZodBoolean;
14942
- isPrivate: z.ZodBoolean;
14943
- isHidden: z.ZodBoolean; /** Defined when a page has changed since last publish and can be included into a partial publish */
14944
- header: z.ZodObject<{
14945
- description: z.ZodString;
14946
- alignment: z.ZodEnum<["Left", "Center"]>;
14947
- foregroundColor: z.ZodOptional<z.ZodNullable<z.ZodObject<{
14948
- value: z.ZodString;
14949
- referencedTokenId: z.ZodOptional<z.ZodString>;
14950
- }, "strip", z.ZodTypeAny, {
14951
- value: string;
14952
- referencedTokenId?: string | undefined;
14953
- }, {
14954
- value: string;
14955
- referencedTokenId?: string | undefined;
14956
- }>>>;
14957
- backgroundColor: z.ZodOptional<z.ZodNullable<z.ZodObject<{
14958
- value: z.ZodString;
14959
- referencedTokenId: z.ZodOptional<z.ZodString>;
14960
- }, "strip", z.ZodTypeAny, {
14961
- value: string;
14962
- referencedTokenId?: string | undefined;
14963
- }, {
14964
- value: string;
14965
- referencedTokenId?: string | undefined;
14966
- }>>>;
14967
- backgroundImageAsset: z.ZodOptional<z.ZodNullable<z.ZodObject<{
14968
- type: z.ZodEnum<["Resource", "FigmaNode"]>;
14969
- resource: z.ZodOptional<z.ZodObject<{
14970
- resourceId: z.ZodString;
14971
- url: z.ZodString;
14972
- }, "strip", z.ZodTypeAny, {
14973
- url: string;
14974
- resourceId: string;
14975
- }, {
14976
- url: string;
14977
- resourceId: string;
14978
- }>>;
14979
- figmaNode: z.ZodOptional<z.ZodObject<{
14980
- sourceId: z.ZodString;
14981
- frameReferenceId: z.ZodString;
14982
- }, "strip", z.ZodTypeAny, {
14983
- sourceId: string;
14984
- frameReferenceId: string;
14985
- }, {
14986
- sourceId: string;
14987
- frameReferenceId: string;
14988
- }>>;
14989
- }, "strip", z.ZodTypeAny, {
14990
- type: "FigmaNode" | "Resource";
14991
- resource?: {
14992
- url: string;
14993
- resourceId: string;
14994
- } | undefined;
14995
- figmaNode?: {
14996
- sourceId: string;
14997
- frameReferenceId: string;
14998
- } | undefined;
14999
- }, {
15000
- type: "FigmaNode" | "Resource";
15001
- resource?: {
15002
- url: string;
15003
- resourceId: string;
15004
- } | undefined;
15005
- figmaNode?: {
15006
- sourceId: string;
15007
- frameReferenceId: string;
15008
- } | undefined;
15009
- }>>>;
15010
- backgroundImageScaleType: z.ZodEnum<["AspectFill", "AspectFit"]>;
15011
- showBackgroundOverlay: z.ZodBoolean;
15012
- showCoverText: z.ZodBoolean;
15013
- minHeight: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
15014
- }, "strip", z.ZodTypeAny, {
15015
- description: string;
15016
- alignment: "Left" | "Center";
15017
- backgroundImageScaleType: "AspectFill" | "AspectFit";
15018
- showBackgroundOverlay: boolean;
15019
- showCoverText: boolean;
15020
- backgroundColor?: {
15021
- value: string;
15022
- referencedTokenId?: string | undefined;
15023
- } | null | undefined;
15024
- foregroundColor?: {
15025
- value: string;
15026
- referencedTokenId?: string | undefined;
15027
- } | null | undefined;
15028
- backgroundImageAsset?: {
15029
- type: "FigmaNode" | "Resource";
15030
- resource?: {
15031
- url: string;
15032
- resourceId: string;
15033
- } | undefined;
15034
- figmaNode?: {
15035
- sourceId: string;
15036
- frameReferenceId: string;
15037
- } | undefined;
15038
- } | null | undefined;
15039
- minHeight?: number | null | undefined;
15040
- }, {
15041
- description: string;
15042
- alignment: "Left" | "Center";
15043
- backgroundImageScaleType: "AspectFill" | "AspectFit";
15044
- showBackgroundOverlay: boolean;
15045
- showCoverText: boolean;
15046
- backgroundColor?: {
15047
- value: string;
15048
- referencedTokenId?: string | undefined;
15049
- } | null | undefined;
15050
- foregroundColor?: {
15051
- value: string;
15052
- referencedTokenId?: string | undefined;
15053
- } | null | undefined;
15054
- backgroundImageAsset?: {
15055
- type: "FigmaNode" | "Resource";
15056
- resource?: {
15057
- url: string;
15058
- resourceId: string;
15059
- } | undefined;
15060
- figmaNode?: {
15061
- sourceId: string;
15062
- frameReferenceId: string;
15063
- } | undefined;
15064
- } | null | undefined;
15065
- minHeight?: number | null | undefined;
15066
- }>;
15067
- }, "strip", z.ZodTypeAny, {
15068
- showSidebar: boolean;
15069
- isPrivate: boolean;
15070
- isHidden: boolean;
15071
- header: {
15072
- description: string;
15073
- alignment: "Left" | "Center";
15074
- backgroundImageScaleType: "AspectFill" | "AspectFit";
15075
- showBackgroundOverlay: boolean;
15076
- showCoverText: boolean;
15077
- backgroundColor?: {
15078
- value: string;
15079
- referencedTokenId?: string | undefined;
15080
- } | null | undefined;
15081
- foregroundColor?: {
15082
- value: string;
15083
- referencedTokenId?: string | undefined;
15084
- } | null | undefined;
15085
- backgroundImageAsset?: {
15086
- type: "FigmaNode" | "Resource";
15087
- resource?: {
15088
- url: string;
15089
- resourceId: string;
15090
- } | undefined;
15091
- figmaNode?: {
15092
- sourceId: string;
15093
- frameReferenceId: string;
15094
- } | undefined;
15095
- } | null | undefined;
15096
- minHeight?: number | null | undefined;
15097
- };
15098
- }, {
15099
- showSidebar: boolean;
15100
- isPrivate: boolean;
15101
- isHidden: boolean;
15102
- header: {
15103
- description: string;
15104
- alignment: "Left" | "Center";
15105
- backgroundImageScaleType: "AspectFill" | "AspectFit";
15106
- showBackgroundOverlay: boolean;
15107
- showCoverText: boolean;
15108
- backgroundColor?: {
15109
- value: string;
15110
- referencedTokenId?: string | undefined;
15111
- } | null | undefined;
15112
- foregroundColor?: {
15113
- value: string;
15114
- referencedTokenId?: string | undefined;
15115
- } | null | undefined;
15116
- backgroundImageAsset?: {
15117
- type: "FigmaNode" | "Resource";
15118
- resource?: {
15119
- url: string;
15120
- resourceId: string;
15121
- } | undefined;
15122
- figmaNode?: {
15123
- sourceId: string;
15124
- frameReferenceId: string;
15125
- } | undefined;
15126
- } | null | undefined;
15127
- minHeight?: number | null | undefined;
15128
- };
15129
- }>>;
15130
- previousContentHash: z.ZodOptional<z.ZodString>;
15131
- }, "strip", z.ZodTypeAny, {
15132
- previousTitle?: string | undefined;
15133
- previousConfiguration?: {
15134
- showSidebar: boolean;
15135
- isPrivate: boolean;
15136
- isHidden: boolean;
15137
- header: {
15138
- description: string;
15139
- alignment: "Left" | "Center";
15140
- backgroundImageScaleType: "AspectFill" | "AspectFit";
15141
- showBackgroundOverlay: boolean;
15142
- showCoverText: boolean;
15143
- backgroundColor?: {
15144
- value: string;
15145
- referencedTokenId?: string | undefined;
15146
- } | null | undefined;
15147
- foregroundColor?: {
15148
- value: string;
15149
- referencedTokenId?: string | undefined;
15150
- } | null | undefined;
15151
- backgroundImageAsset?: {
15152
- type: "FigmaNode" | "Resource";
15153
- resource?: {
15154
- url: string;
15155
- resourceId: string;
15156
- } | undefined;
15157
- figmaNode?: {
15158
- sourceId: string;
15159
- frameReferenceId: string;
15160
- } | undefined;
15161
- } | null | undefined;
15162
- minHeight?: number | null | undefined;
15163
- };
15164
- } | undefined;
15165
- previousContentHash?: string | undefined;
15166
- }, {
15167
- previousTitle?: string | undefined;
15168
- previousConfiguration?: {
15169
- showSidebar: boolean;
15170
- isPrivate: boolean;
15171
- isHidden: boolean;
15172
- header: {
15173
- description: string;
15174
- alignment: "Left" | "Center";
15175
- backgroundImageScaleType: "AspectFill" | "AspectFit";
15176
- showBackgroundOverlay: boolean;
15177
- showCoverText: boolean;
15178
- backgroundColor?: {
15179
- value: string;
15180
- referencedTokenId?: string | undefined;
15181
- } | null | undefined;
15182
- foregroundColor?: {
15183
- value: string;
15184
- referencedTokenId?: string | undefined;
15185
- } | null | undefined;
15186
- backgroundImageAsset?: {
15187
- type: "FigmaNode" | "Resource";
15188
- resource?: {
15189
- url: string;
15190
- resourceId: string;
15191
- } | undefined;
15192
- figmaNode?: {
15193
- sourceId: string;
15194
- frameReferenceId: string;
15195
- } | undefined;
15196
- } | null | undefined;
15197
- minHeight?: number | null | undefined;
15198
- };
15199
- } | undefined;
15200
- previousContentHash?: string | undefined;
15201
- }>;
15202
- }, "strip", z.ZodTypeAny, {
15203
- changeType: "Updated";
15204
- changes: {
15205
- previousTitle?: string | undefined;
15206
- previousConfiguration?: {
15207
- showSidebar: boolean;
15208
- isPrivate: boolean;
15209
- isHidden: boolean;
15210
- header: {
15211
- description: string;
15212
- alignment: "Left" | "Center";
15213
- backgroundImageScaleType: "AspectFill" | "AspectFit";
15214
- showBackgroundOverlay: boolean;
15215
- showCoverText: boolean;
15216
- backgroundColor?: {
15217
- value: string;
15218
- referencedTokenId?: string | undefined;
15219
- } | null | undefined;
15220
- foregroundColor?: {
15221
- value: string;
15222
- referencedTokenId?: string | undefined;
15223
- } | null | undefined;
15224
- backgroundImageAsset?: {
15225
- type: "FigmaNode" | "Resource";
15226
- resource?: {
15227
- url: string;
15228
- resourceId: string;
15229
- } | undefined;
15230
- figmaNode?: {
15231
- sourceId: string;
15232
- frameReferenceId: string;
15233
- } | undefined;
15234
- } | null | undefined;
15235
- minHeight?: number | null | undefined;
15236
- };
15237
- } | undefined;
15238
- previousContentHash?: string | undefined;
15239
- };
15240
- }, {
15241
- changeType: "Updated";
15242
- changes: {
15243
- previousTitle?: string | undefined;
15244
- previousConfiguration?: {
15245
- showSidebar: boolean;
15246
- isPrivate: boolean;
15247
- isHidden: boolean;
15248
- header: {
15249
- description: string;
15250
- alignment: "Left" | "Center";
15251
- backgroundImageScaleType: "AspectFill" | "AspectFit";
15252
- showBackgroundOverlay: boolean;
15253
- showCoverText: boolean;
15254
- backgroundColor?: {
15255
- value: string;
15256
- referencedTokenId?: string | undefined;
15257
- } | null | undefined;
15258
- foregroundColor?: {
15259
- value: string;
15260
- referencedTokenId?: string | undefined;
15261
- } | null | undefined;
15262
- backgroundImageAsset?: {
15263
- type: "FigmaNode" | "Resource";
15264
- resource?: {
15265
- url: string;
15266
- resourceId: string;
15267
- } | undefined;
15268
- figmaNode?: {
15269
- sourceId: string;
15270
- frameReferenceId: string;
15271
- } | undefined;
15272
- } | null | undefined;
15273
- minHeight?: number | null | undefined;
15274
- };
15275
- } | undefined;
15276
- previousContentHash?: string | undefined;
15277
- };
15278
- }>, z.ZodObject<{
15279
- changeType: z.ZodLiteral<"Deleted">;
15280
- }, "strip", z.ZodTypeAny, {
15281
- changeType: "Deleted";
15282
- }, {
15283
- changeType: "Deleted";
15284
- }>]>;
15285
- }>, "strip", z.ZodTypeAny, {
15286
- path: string;
15287
- type: "Page";
15288
- id: string;
15289
- persistentId: string;
15290
- designSystemVersionId: string;
15291
- createdAt: Date;
15292
- updatedAt: Date;
15293
- shortPersistentId: string;
15294
- title: string;
15295
- configuration: {
15296
- showSidebar: boolean;
15297
- isPrivate: boolean;
15298
- isHidden: boolean;
15299
- header: {
15300
- description: string;
15301
- alignment: "Left" | "Center";
15302
- backgroundImageScaleType: "AspectFill" | "AspectFit";
15303
- showBackgroundOverlay: boolean;
15304
- showCoverText: boolean;
15305
- backgroundColor?: {
15306
- value: string;
15307
- referencedTokenId?: string | undefined;
15308
- } | null | undefined;
15309
- foregroundColor?: {
15310
- value: string;
15311
- referencedTokenId?: string | undefined;
15312
- } | null | undefined;
15313
- backgroundImageAsset?: {
15314
- type: "FigmaNode" | "Resource";
15315
- resource?: {
15316
- url: string;
15317
- resourceId: string;
15318
- } | undefined;
15319
- figmaNode?: {
15320
- sourceId: string;
15321
- frameReferenceId: string;
15322
- } | undefined;
15323
- } | null | undefined;
15324
- minHeight?: number | null | undefined;
15325
- };
15326
- };
15327
- draftState: {
15328
- changeType: "Created";
15329
- } | {
15330
- changeType: "Updated";
15331
- changes: {
15332
- previousTitle?: string | undefined;
15333
- previousConfiguration?: {
15334
- showSidebar: boolean;
15335
- isPrivate: boolean;
15336
- isHidden: boolean;
15337
- header: {
15338
- description: string;
15339
- alignment: "Left" | "Center";
15340
- backgroundImageScaleType: "AspectFill" | "AspectFit";
15341
- showBackgroundOverlay: boolean;
15342
- showCoverText: boolean;
15343
- backgroundColor?: {
15344
- value: string;
15345
- referencedTokenId?: string | undefined;
15346
- } | null | undefined;
15347
- foregroundColor?: {
15348
- value: string;
15349
- referencedTokenId?: string | undefined;
15350
- } | null | undefined;
15351
- backgroundImageAsset?: {
15352
- type: "FigmaNode" | "Resource";
15353
- resource?: {
15354
- url: string;
15355
- resourceId: string;
15356
- } | undefined;
15357
- figmaNode?: {
15358
- sourceId: string;
15359
- frameReferenceId: string;
15360
- } | undefined;
15361
- } | null | undefined;
15362
- minHeight?: number | null | undefined;
15363
- };
15364
- } | undefined;
15365
- previousContentHash?: string | undefined;
15366
- };
15367
- } | {
15368
- changeType: "Deleted";
15369
- };
15370
- slug?: string | undefined;
15371
- userSlug?: string | undefined;
15372
- }, {
15373
- path: string;
15374
- type: "Page";
15375
- id: string;
15376
- persistentId: string;
15377
- designSystemVersionId: string;
15378
- createdAt: Date;
15379
- updatedAt: Date;
15380
- shortPersistentId: string;
15381
- title: string;
15382
- configuration: {
15383
- showSidebar: boolean;
15384
- isPrivate: boolean;
15385
- isHidden: boolean;
15386
- header: {
15387
- description: string;
15388
- alignment: "Left" | "Center";
15389
- backgroundImageScaleType: "AspectFill" | "AspectFit";
15390
- showBackgroundOverlay: boolean;
15391
- showCoverText: boolean;
15392
- backgroundColor?: {
15393
- value: string;
15394
- referencedTokenId?: string | undefined;
15395
- } | null | undefined;
15396
- foregroundColor?: {
15397
- value: string;
15398
- referencedTokenId?: string | undefined;
15399
- } | null | undefined;
15400
- backgroundImageAsset?: {
15401
- type: "FigmaNode" | "Resource";
15402
- resource?: {
15403
- url: string;
15404
- resourceId: string;
15405
- } | undefined;
15406
- figmaNode?: {
15407
- sourceId: string;
15408
- frameReferenceId: string;
15409
- } | undefined;
15410
- } | null | undefined;
15411
- minHeight?: number | null | undefined;
15412
- };
15413
- };
15414
- draftState: {
15415
- changeType: "Created";
15416
- } | {
15417
- changeType: "Updated";
15418
- changes: {
15419
- previousTitle?: string | undefined;
15420
- previousConfiguration?: {
15421
- showSidebar: boolean;
15422
- isPrivate: boolean;
15423
- isHidden: boolean;
15424
- header: {
15425
- description: string;
15426
- alignment: "Left" | "Center";
15427
- backgroundImageScaleType: "AspectFill" | "AspectFit";
15428
- showBackgroundOverlay: boolean;
15429
- showCoverText: boolean;
15430
- backgroundColor?: {
15431
- value: string;
15432
- referencedTokenId?: string | undefined;
15433
- } | null | undefined;
15434
- foregroundColor?: {
15435
- value: string;
15436
- referencedTokenId?: string | undefined;
15437
- } | null | undefined;
15438
- backgroundImageAsset?: {
15439
- type: "FigmaNode" | "Resource";
15440
- resource?: {
15441
- url: string;
15442
- resourceId: string;
15443
- } | undefined;
15444
- figmaNode?: {
15445
- sourceId: string;
15446
- frameReferenceId: string;
15447
- } | undefined;
15448
- } | null | undefined;
15449
- minHeight?: number | null | undefined;
15450
- };
15451
- } | undefined;
15452
- previousContentHash?: string | undefined;
15453
- };
15454
- } | {
15455
- changeType: "Deleted";
15456
- };
15457
- slug?: string | undefined;
15458
- userSlug?: string | undefined;
15459
- }>, "many">;
15460
- deletedGroups: z.ZodArray<z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extendShape<Omit<z.objectUtil.extendShape<z.objectUtil.extendShape<z.objectUtil.extendShape<z.objectUtil.extendShape<{
15461
- id: z.ZodString;
15462
- persistentId: z.ZodString;
15463
- meta: z.ZodObject<{
15464
- name: z.ZodString;
15465
- description: z.ZodOptional<z.ZodString>;
15466
- }, "strip", z.ZodTypeAny, {
15467
- name: string;
15468
- description?: string | undefined;
15469
- }, {
15470
- name: string;
15471
- description?: string | undefined;
15472
- }>;
15473
- designSystemVersionId: z.ZodString;
15474
- createdAt: z.ZodDate;
15475
- updatedAt: z.ZodDate;
15476
- }, {
15477
- parentPersistentId: z.ZodOptional<z.ZodString>;
15478
- sortOrder: z.ZodNumber;
15479
- }>, {
15480
- slug: z.ZodOptional<z.ZodString>;
15481
- userSlug: z.ZodOptional<z.ZodString>;
15482
- }>, {
15483
- brandPersistentId: z.ZodOptional<z.ZodString>;
15484
- }>, {
15485
- shortPersistentId: z.ZodOptional<z.ZodString>;
15486
- childType: z.ZodUnion<[z.ZodEnum<["Color", "Border", "Gradient", "Shadow", "Dimension", "Duration", "Size", "Space", "Opacity", "FontSize", "LineHeight", "LetterSpacing", "ParagraphSpacing", "BorderWidth", "BorderRadius", "Duration", "ZIndex", "Image", "String", "ProductCopy", "FontFamily", "FontWeight", "TextDecoration", "TextCase", "Visibility", "Typography", "Blur", "Font"]>, z.ZodEnum<["Component", "Theme", "Documentation", "DocumentationPage", "DesignSystemComponent", "ElementGroup", "FigmaNodeStructure", "FigmaNodeReference", "PageBlock"]>]>;
15487
- data: z.ZodOptional<z.ZodObject<{
15488
- behavior: z.ZodEffects<z.ZodOptional<z.ZodNullable<z.ZodType<"Group" | "Tabs" | undefined, z.ZodTypeDef, "Group" | "Tabs" | undefined>>>, NonNullable<"Group" | "Tabs" | undefined> | undefined, "Group" | "Tabs" | null | undefined>;
15489
- configuration: z.ZodEffects<z.ZodOptional<z.ZodNullable<z.ZodType<{
15490
- showSidebar: boolean;
15491
- header: {
15492
- description: string;
15493
- alignment: "Left" | "Center";
15494
- backgroundImageScaleType: "AspectFill" | "AspectFit";
15495
- showBackgroundOverlay: boolean;
15496
- showCoverText: boolean;
15497
- backgroundColor?: {
15498
- value: string;
15499
- referencedTokenId?: string | undefined;
15500
- } | null | undefined;
15501
- foregroundColor?: {
15502
- value: string;
15503
- referencedTokenId?: string | undefined;
15504
- } | null | undefined;
15505
- backgroundImageAsset?: {
15506
- type: "FigmaNode" | "Resource";
15507
- resource?: {
15508
- url: string;
15509
- resourceId: string;
15510
- } | undefined;
15511
- figmaNode?: {
15512
- sourceId: string;
15513
- frameReferenceId: string;
15514
- } | undefined;
15515
- } | null | undefined;
15516
- minHeight?: number | null | undefined;
15517
- };
15518
- isHidden?: boolean | undefined;
15519
- isPrivate?: boolean | undefined;
15520
- }, z.ZodTypeDef, {
15521
- showSidebar: boolean;
15522
- header: {
15523
- description: string;
15524
- alignment: "Left" | "Center";
15525
- backgroundImageScaleType: "AspectFill" | "AspectFit";
15526
- showBackgroundOverlay: boolean;
15527
- showCoverText: boolean;
15528
- backgroundColor?: {
15529
- value: string;
15530
- referencedTokenId?: string | undefined;
15531
- } | null | undefined;
15532
- foregroundColor?: {
15533
- value: string;
15534
- referencedTokenId?: string | undefined;
15535
- } | null | undefined;
15536
- backgroundImageAsset?: {
15537
- type: "FigmaNode" | "Resource";
15538
- resource?: {
15539
- url: string;
15540
- resourceId: string;
15541
- } | undefined;
15542
- figmaNode?: {
15543
- sourceId: string;
15544
- frameReferenceId: string;
15545
- } | undefined;
15546
- } | null | undefined;
15547
- minHeight?: number | null | undefined;
15548
- };
15549
- isHidden?: boolean | undefined;
15550
- isPrivate?: boolean | undefined;
15551
- }>>>, {
15552
- showSidebar: boolean;
15553
- header: {
15554
- description: string;
15555
- alignment: "Left" | "Center";
15556
- backgroundImageScaleType: "AspectFill" | "AspectFit";
15557
- showBackgroundOverlay: boolean;
15558
- showCoverText: boolean;
15559
- backgroundColor?: {
15560
- value: string;
15561
- referencedTokenId?: string | undefined;
15562
- } | null | undefined;
15563
- foregroundColor?: {
15564
- value: string;
15565
- referencedTokenId?: string | undefined;
15566
- } | null | undefined;
15567
- backgroundImageAsset?: {
15568
- type: "FigmaNode" | "Resource";
15569
- resource?: {
15570
- url: string;
15571
- resourceId: string;
15572
- } | undefined;
15573
- figmaNode?: {
15574
- sourceId: string;
15575
- frameReferenceId: string;
15576
- } | undefined;
15577
- } | null | undefined;
15578
- minHeight?: number | null | undefined;
15579
- };
15580
- isHidden?: boolean | undefined;
15581
- isPrivate?: boolean | undefined;
15582
- } | undefined, {
15583
- showSidebar: boolean;
15584
- header: {
15585
- description: string;
15586
- alignment: "Left" | "Center";
15587
- backgroundImageScaleType: "AspectFill" | "AspectFit";
15588
- showBackgroundOverlay: boolean;
15589
- showCoverText: boolean;
15590
- backgroundColor?: {
15591
- value: string;
15592
- referencedTokenId?: string | undefined;
15593
- } | null | undefined;
15594
- foregroundColor?: {
15595
- value: string;
15596
- referencedTokenId?: string | undefined;
15597
- } | null | undefined;
15598
- backgroundImageAsset?: {
15599
- type: "FigmaNode" | "Resource";
15600
- resource?: {
15601
- url: string;
15602
- resourceId: string;
15603
- } | undefined;
15604
- figmaNode?: {
15605
- sourceId: string;
15606
- frameReferenceId: string;
15607
- } | undefined;
15608
- } | null | undefined;
15609
- minHeight?: number | null | undefined;
15610
- };
15611
- isHidden?: boolean | undefined;
15612
- isPrivate?: boolean | undefined;
15613
- } | null | undefined>;
15614
- }, "strip", z.ZodTypeAny, {
15615
- configuration?: {
15616
- showSidebar: boolean;
15617
- header: {
15618
- description: string;
15619
- alignment: "Left" | "Center";
15620
- backgroundImageScaleType: "AspectFill" | "AspectFit";
15621
- showBackgroundOverlay: boolean;
15622
- showCoverText: boolean;
15623
- backgroundColor?: {
15624
- value: string;
15625
- referencedTokenId?: string | undefined;
15626
- } | null | undefined;
15627
- foregroundColor?: {
15628
- value: string;
15629
- referencedTokenId?: string | undefined;
15630
- } | null | undefined;
15631
- backgroundImageAsset?: {
15632
- type: "FigmaNode" | "Resource";
15633
- resource?: {
15634
- url: string;
15635
- resourceId: string;
15636
- } | undefined;
15637
- figmaNode?: {
15638
- sourceId: string;
15639
- frameReferenceId: string;
15640
- } | undefined;
15641
- } | null | undefined;
15642
- minHeight?: number | null | undefined;
15643
- };
15644
- isHidden?: boolean | undefined;
15645
- isPrivate?: boolean | undefined;
15646
- } | undefined;
15647
- behavior?: NonNullable<"Group" | "Tabs" | undefined> | undefined;
15648
- }, {
15649
- configuration?: {
15650
- showSidebar: boolean;
15651
- header: {
15652
- description: string;
15653
- alignment: "Left" | "Center";
15654
- backgroundImageScaleType: "AspectFill" | "AspectFit";
15655
- showBackgroundOverlay: boolean;
15656
- showCoverText: boolean;
15657
- backgroundColor?: {
15658
- value: string;
15659
- referencedTokenId?: string | undefined;
15660
- } | null | undefined;
15661
- foregroundColor?: {
15662
- value: string;
15663
- referencedTokenId?: string | undefined;
15664
- } | null | undefined;
15665
- backgroundImageAsset?: {
15666
- type: "FigmaNode" | "Resource";
15667
- resource?: {
15668
- url: string;
15669
- resourceId: string;
15670
- } | undefined;
15671
- figmaNode?: {
15672
- sourceId: string;
15673
- frameReferenceId: string;
15674
- } | undefined;
15675
- } | null | undefined;
15676
- minHeight?: number | null | undefined;
15677
- };
15678
- isHidden?: boolean | undefined;
15679
- isPrivate?: boolean | undefined;
15680
- } | null | undefined;
15681
- behavior?: "Group" | "Tabs" | null | undefined;
15682
- }>>;
15683
- }>, "meta" | "parentPersistentId" | "sortOrder" | "brandPersistentId" | "shortPersistentId" | "childType" | "data">, {
15684
- title: z.ZodString;
15685
- isRoot: z.ZodBoolean;
15686
- childrenIds: z.ZodArray<z.ZodString, "many">;
15687
- groupBehavior: z.ZodEnum<["Group", "Tabs"]>;
15688
- shortPersistentId: z.ZodString;
15689
- configuration: z.ZodObject<{
15690
- showSidebar: z.ZodBoolean;
15691
- isPrivate: z.ZodBoolean;
15692
- isHidden: z.ZodBoolean; /** Defined when a page has changed since last publish and can be included into a partial publish */
15693
- header: z.ZodObject<{
15694
- description: z.ZodString;
15695
- alignment: z.ZodEnum<["Left", "Center"]>;
15696
- foregroundColor: z.ZodOptional<z.ZodNullable<z.ZodObject<{
15697
- value: z.ZodString;
15698
- referencedTokenId: z.ZodOptional<z.ZodString>;
15699
- }, "strip", z.ZodTypeAny, {
15700
- value: string;
15701
- referencedTokenId?: string | undefined;
15702
- }, {
15703
- value: string;
15704
- referencedTokenId?: string | undefined;
15705
- }>>>;
15706
- backgroundColor: z.ZodOptional<z.ZodNullable<z.ZodObject<{
15707
- value: z.ZodString;
15708
- referencedTokenId: z.ZodOptional<z.ZodString>;
15709
- }, "strip", z.ZodTypeAny, {
15710
- value: string;
15711
- referencedTokenId?: string | undefined;
15712
- }, {
15713
- value: string;
15714
- referencedTokenId?: string | undefined;
15715
- }>>>;
15716
- backgroundImageAsset: z.ZodOptional<z.ZodNullable<z.ZodObject<{
15717
- type: z.ZodEnum<["Resource", "FigmaNode"]>;
15718
- resource: z.ZodOptional<z.ZodObject<{
15719
- resourceId: z.ZodString;
15720
- url: z.ZodString;
15721
- }, "strip", z.ZodTypeAny, {
15722
- url: string;
15723
- resourceId: string;
15724
- }, {
15725
- url: string;
15726
- resourceId: string;
15727
- }>>;
15728
- figmaNode: z.ZodOptional<z.ZodObject<{
15729
- sourceId: z.ZodString;
15730
- frameReferenceId: z.ZodString;
15731
- }, "strip", z.ZodTypeAny, {
15732
- sourceId: string;
15733
- frameReferenceId: string;
15734
- }, {
15735
- sourceId: string;
15736
- frameReferenceId: string;
15737
- }>>;
15738
- }, "strip", z.ZodTypeAny, {
15739
- type: "FigmaNode" | "Resource";
15740
- resource?: {
15741
- url: string;
15742
- resourceId: string;
15743
- } | undefined;
15744
- figmaNode?: {
15745
- sourceId: string;
15746
- frameReferenceId: string;
15747
- } | undefined;
15748
- }, {
15749
- type: "FigmaNode" | "Resource";
15750
- resource?: {
15751
- url: string;
15752
- resourceId: string;
15753
- } | undefined;
15754
- figmaNode?: {
15755
- sourceId: string;
15756
- frameReferenceId: string;
15757
- } | undefined;
15758
- }>>>;
15759
- backgroundImageScaleType: z.ZodEnum<["AspectFill", "AspectFit"]>;
15760
- showBackgroundOverlay: z.ZodBoolean;
15761
- showCoverText: z.ZodBoolean;
15762
- minHeight: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
15763
- }, "strip", z.ZodTypeAny, {
15764
- description: string;
15765
- alignment: "Left" | "Center";
15766
- backgroundImageScaleType: "AspectFill" | "AspectFit";
15767
- showBackgroundOverlay: boolean;
15768
- showCoverText: boolean;
15769
- backgroundColor?: {
15770
- value: string;
15771
- referencedTokenId?: string | undefined;
15772
- } | null | undefined;
15773
- foregroundColor?: {
15774
- value: string;
15775
- referencedTokenId?: string | undefined;
15776
- } | null | undefined;
15777
- backgroundImageAsset?: {
15778
- type: "FigmaNode" | "Resource";
15779
- resource?: {
15780
- url: string;
15781
- resourceId: string;
15782
- } | undefined;
15783
- figmaNode?: {
15784
- sourceId: string;
15785
- frameReferenceId: string;
15786
- } | undefined;
15787
- } | null | undefined;
15788
- minHeight?: number | null | undefined;
15789
- }, {
15790
- description: string;
15791
- alignment: "Left" | "Center";
15792
- backgroundImageScaleType: "AspectFill" | "AspectFit";
15793
- showBackgroundOverlay: boolean;
15794
- showCoverText: boolean;
15795
- backgroundColor?: {
15796
- value: string;
15797
- referencedTokenId?: string | undefined;
15798
- } | null | undefined;
15799
- foregroundColor?: {
15800
- value: string;
15801
- referencedTokenId?: string | undefined;
15802
- } | null | undefined;
15803
- backgroundImageAsset?: {
15804
- type: "FigmaNode" | "Resource";
15805
- resource?: {
15806
- url: string;
15807
- resourceId: string;
15808
- } | undefined;
15809
- figmaNode?: {
15810
- sourceId: string;
15811
- frameReferenceId: string;
15812
- } | undefined;
15813
- } | null | undefined;
15814
- minHeight?: number | null | undefined;
15815
- }>;
15816
- }, "strip", z.ZodTypeAny, {
15817
- showSidebar: boolean;
15818
- isPrivate: boolean;
15819
- isHidden: boolean;
15820
- header: {
15821
- description: string;
15822
- alignment: "Left" | "Center";
15823
- backgroundImageScaleType: "AspectFill" | "AspectFit";
15824
- showBackgroundOverlay: boolean;
15825
- showCoverText: boolean;
15826
- backgroundColor?: {
15827
- value: string;
15828
- referencedTokenId?: string | undefined;
15829
- } | null | undefined;
15830
- foregroundColor?: {
15831
- value: string;
15832
- referencedTokenId?: string | undefined;
15833
- } | null | undefined;
15834
- backgroundImageAsset?: {
15835
- type: "FigmaNode" | "Resource";
15836
- resource?: {
15837
- url: string;
15838
- resourceId: string;
15839
- } | undefined;
15840
- figmaNode?: {
15841
- sourceId: string;
15842
- frameReferenceId: string;
15843
- } | undefined;
15844
- } | null | undefined;
15845
- minHeight?: number | null | undefined;
15846
- };
15847
- }, {
15848
- showSidebar: boolean;
15849
- isPrivate: boolean;
15850
- isHidden: boolean;
15851
- header: {
15852
- description: string;
15853
- alignment: "Left" | "Center";
15854
- backgroundImageScaleType: "AspectFill" | "AspectFit";
15855
- showBackgroundOverlay: boolean;
15856
- showCoverText: boolean;
15857
- backgroundColor?: {
15858
- value: string;
15859
- referencedTokenId?: string | undefined;
15860
- } | null | undefined;
15861
- foregroundColor?: {
15862
- value: string;
15863
- referencedTokenId?: string | undefined;
15864
- } | null | undefined;
15865
- backgroundImageAsset?: {
15866
- type: "FigmaNode" | "Resource";
15867
- resource?: {
15868
- url: string;
15869
- resourceId: string;
15870
- } | undefined;
15871
- figmaNode?: {
15872
- sourceId: string;
15873
- frameReferenceId: string;
15874
- } | undefined;
15875
- } | null | undefined;
15876
- minHeight?: number | null | undefined;
15877
- };
15878
- }>;
15879
- type: z.ZodLiteral<"Group">;
15880
- draftState: z.ZodOptional<z.ZodDiscriminatedUnion<"changeType", [z.ZodObject<{
15881
- changeType: z.ZodLiteral<"Created">;
15882
- }, "strip", z.ZodTypeAny, {
15883
- changeType: "Created";
15884
- }, {
15885
- changeType: "Created";
15886
- }>, z.ZodObject<{
15887
- changeType: z.ZodLiteral<"Updated">;
15888
- changes: z.ZodObject<{
15889
- previousTitle: z.ZodOptional<z.ZodString>;
15890
- previousConfiguration: z.ZodOptional<z.ZodObject<{
15891
- showSidebar: z.ZodBoolean;
15892
- isPrivate: z.ZodBoolean;
15893
- isHidden: z.ZodBoolean; /** Defined when a page has changed since last publish and can be included into a partial publish */
15894
- header: z.ZodObject<{
15895
- description: z.ZodString;
15896
- alignment: z.ZodEnum<["Left", "Center"]>;
15897
- foregroundColor: z.ZodOptional<z.ZodNullable<z.ZodObject<{
15898
- value: z.ZodString;
15899
- referencedTokenId: z.ZodOptional<z.ZodString>;
15900
- }, "strip", z.ZodTypeAny, {
15901
- value: string;
15902
- referencedTokenId?: string | undefined;
15903
- }, {
15904
- value: string;
15905
- referencedTokenId?: string | undefined;
15906
- }>>>;
15907
- backgroundColor: z.ZodOptional<z.ZodNullable<z.ZodObject<{
15908
- value: z.ZodString;
15909
- referencedTokenId: z.ZodOptional<z.ZodString>;
15910
- }, "strip", z.ZodTypeAny, {
15911
- value: string;
15912
- referencedTokenId?: string | undefined;
15913
- }, {
15914
- value: string;
15915
- referencedTokenId?: string | undefined;
15916
- }>>>;
15917
- backgroundImageAsset: z.ZodOptional<z.ZodNullable<z.ZodObject<{
15918
- type: z.ZodEnum<["Resource", "FigmaNode"]>;
15919
- resource: z.ZodOptional<z.ZodObject<{
15920
- resourceId: z.ZodString;
15921
- url: z.ZodString;
15922
- }, "strip", z.ZodTypeAny, {
15923
- url: string;
15924
- resourceId: string;
15925
- }, {
15926
- url: string;
15927
- resourceId: string;
15928
- }>>;
15929
- figmaNode: z.ZodOptional<z.ZodObject<{
15930
- sourceId: z.ZodString;
15931
- frameReferenceId: z.ZodString;
15932
- }, "strip", z.ZodTypeAny, {
15933
- sourceId: string;
15934
- frameReferenceId: string;
15935
- }, {
15936
- sourceId: string;
15937
- frameReferenceId: string;
15938
- }>>;
15939
- }, "strip", z.ZodTypeAny, {
15940
- type: "FigmaNode" | "Resource";
15941
- resource?: {
15942
- url: string;
15943
- resourceId: string;
15944
- } | undefined;
15945
- figmaNode?: {
15946
- sourceId: string;
15947
- frameReferenceId: string;
15948
- } | undefined;
15949
- }, {
15950
- type: "FigmaNode" | "Resource";
15951
- resource?: {
15952
- url: string;
15953
- resourceId: string;
15954
- } | undefined;
15955
- figmaNode?: {
15956
- sourceId: string;
15957
- frameReferenceId: string;
15958
- } | undefined;
15959
- }>>>;
15960
- backgroundImageScaleType: z.ZodEnum<["AspectFill", "AspectFit"]>;
15961
- showBackgroundOverlay: z.ZodBoolean;
15962
- showCoverText: z.ZodBoolean;
15963
- minHeight: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
15964
- }, "strip", z.ZodTypeAny, {
15965
- description: string;
15966
- alignment: "Left" | "Center";
15967
- backgroundImageScaleType: "AspectFill" | "AspectFit";
15968
- showBackgroundOverlay: boolean;
15969
- showCoverText: boolean;
15970
- backgroundColor?: {
15971
- value: string;
15972
- referencedTokenId?: string | undefined;
15973
- } | null | undefined;
15974
- foregroundColor?: {
15975
- value: string;
15976
- referencedTokenId?: string | undefined;
15977
- } | null | undefined;
15978
- backgroundImageAsset?: {
15979
- type: "FigmaNode" | "Resource";
15980
- resource?: {
15981
- url: string;
15982
- resourceId: string;
15983
- } | undefined;
15984
- figmaNode?: {
15985
- sourceId: string;
15986
- frameReferenceId: string;
15987
- } | undefined;
15988
- } | null | undefined;
15989
- minHeight?: number | null | undefined;
15990
- }, {
15991
- description: string;
15992
- alignment: "Left" | "Center";
15993
- backgroundImageScaleType: "AspectFill" | "AspectFit";
15994
- showBackgroundOverlay: boolean;
15995
- showCoverText: boolean;
15996
- backgroundColor?: {
15997
- value: string;
15998
- referencedTokenId?: string | undefined;
15999
- } | null | undefined;
16000
- foregroundColor?: {
16001
- value: string;
16002
- referencedTokenId?: string | undefined;
16003
- } | null | undefined;
16004
- backgroundImageAsset?: {
16005
- type: "FigmaNode" | "Resource";
16006
- resource?: {
16007
- url: string;
16008
- resourceId: string;
16009
- } | undefined;
16010
- figmaNode?: {
16011
- sourceId: string;
16012
- frameReferenceId: string;
16013
- } | undefined;
16014
- } | null | undefined;
16015
- minHeight?: number | null | undefined;
16016
- }>;
16017
- }, "strip", z.ZodTypeAny, {
16018
- showSidebar: boolean;
16019
- isPrivate: boolean;
16020
- isHidden: boolean;
16021
- header: {
16022
- description: string;
16023
- alignment: "Left" | "Center";
16024
- backgroundImageScaleType: "AspectFill" | "AspectFit";
16025
- showBackgroundOverlay: boolean;
16026
- showCoverText: boolean;
16027
- backgroundColor?: {
16028
- value: string;
16029
- referencedTokenId?: string | undefined;
16030
- } | null | undefined;
16031
- foregroundColor?: {
16032
- value: string;
16033
- referencedTokenId?: string | undefined;
16034
- } | null | undefined;
16035
- backgroundImageAsset?: {
16036
- type: "FigmaNode" | "Resource";
16037
- resource?: {
16038
- url: string;
16039
- resourceId: string;
16040
- } | undefined;
16041
- figmaNode?: {
16042
- sourceId: string;
16043
- frameReferenceId: string;
16044
- } | undefined;
16045
- } | null | undefined;
16046
- minHeight?: number | null | undefined;
16047
- };
16048
- }, {
16049
- showSidebar: boolean;
16050
- isPrivate: boolean;
16051
- isHidden: boolean;
16052
- header: {
16053
- description: string;
16054
- alignment: "Left" | "Center";
16055
- backgroundImageScaleType: "AspectFill" | "AspectFit";
16056
- showBackgroundOverlay: boolean;
16057
- showCoverText: boolean;
16058
- backgroundColor?: {
16059
- value: string;
16060
- referencedTokenId?: string | undefined;
16061
- } | null | undefined;
16062
- foregroundColor?: {
16063
- value: string;
16064
- referencedTokenId?: string | undefined;
16065
- } | null | undefined;
16066
- backgroundImageAsset?: {
16067
- type: "FigmaNode" | "Resource";
16068
- resource?: {
16069
- url: string;
16070
- resourceId: string;
16071
- } | undefined;
16072
- figmaNode?: {
16073
- sourceId: string;
16074
- frameReferenceId: string;
16075
- } | undefined;
16076
- } | null | undefined;
16077
- minHeight?: number | null | undefined;
16078
- };
16079
- }>>;
16080
- previousContentHash: z.ZodOptional<z.ZodString>;
16081
- }, "strip", z.ZodTypeAny, {
16082
- previousTitle?: string | undefined;
16083
- previousConfiguration?: {
16084
- showSidebar: boolean;
16085
- isPrivate: boolean;
16086
- isHidden: boolean;
16087
- header: {
16088
- description: string;
16089
- alignment: "Left" | "Center";
16090
- backgroundImageScaleType: "AspectFill" | "AspectFit";
16091
- showBackgroundOverlay: boolean;
16092
- showCoverText: boolean;
16093
- backgroundColor?: {
16094
- value: string;
16095
- referencedTokenId?: string | undefined;
16096
- } | null | undefined;
16097
- foregroundColor?: {
16098
- value: string;
16099
- referencedTokenId?: string | undefined;
16100
- } | null | undefined;
16101
- backgroundImageAsset?: {
16102
- type: "FigmaNode" | "Resource";
16103
- resource?: {
16104
- url: string;
16105
- resourceId: string;
16106
- } | undefined;
16107
- figmaNode?: {
16108
- sourceId: string;
16109
- frameReferenceId: string;
16110
- } | undefined;
16111
- } | null | undefined;
16112
- minHeight?: number | null | undefined;
16113
- };
16114
- } | undefined;
16115
- previousContentHash?: string | undefined;
16116
- }, {
16117
- previousTitle?: string | undefined;
16118
- previousConfiguration?: {
16119
- showSidebar: boolean;
16120
- isPrivate: boolean;
16121
- isHidden: boolean;
16122
- header: {
16123
- description: string;
16124
- alignment: "Left" | "Center";
16125
- backgroundImageScaleType: "AspectFill" | "AspectFit";
16126
- showBackgroundOverlay: boolean;
16127
- showCoverText: boolean;
16128
- backgroundColor?: {
16129
- value: string;
16130
- referencedTokenId?: string | undefined;
16131
- } | null | undefined;
16132
- foregroundColor?: {
16133
- value: string;
16134
- referencedTokenId?: string | undefined;
16135
- } | null | undefined;
16136
- backgroundImageAsset?: {
16137
- type: "FigmaNode" | "Resource";
16138
- resource?: {
16139
- url: string;
16140
- resourceId: string;
16141
- } | undefined;
16142
- figmaNode?: {
16143
- sourceId: string;
16144
- frameReferenceId: string;
16145
- } | undefined;
16146
- } | null | undefined;
16147
- minHeight?: number | null | undefined;
16148
- };
16149
- } | undefined;
16150
- previousContentHash?: string | undefined;
16151
- }>;
16152
- }, "strip", z.ZodTypeAny, {
16153
- changeType: "Updated";
16154
- changes: {
16155
- previousTitle?: string | undefined;
16156
- previousConfiguration?: {
16157
- showSidebar: boolean;
16158
- isPrivate: boolean;
16159
- isHidden: boolean;
16160
- header: {
16161
- description: string;
16162
- alignment: "Left" | "Center";
16163
- backgroundImageScaleType: "AspectFill" | "AspectFit";
16164
- showBackgroundOverlay: boolean;
16165
- showCoverText: boolean;
16166
- backgroundColor?: {
16167
- value: string;
16168
- referencedTokenId?: string | undefined;
16169
- } | null | undefined;
16170
- foregroundColor?: {
16171
- value: string;
16172
- referencedTokenId?: string | undefined;
16173
- } | null | undefined;
16174
- backgroundImageAsset?: {
16175
- type: "FigmaNode" | "Resource";
16176
- resource?: {
16177
- url: string;
16178
- resourceId: string;
16179
- } | undefined;
16180
- figmaNode?: {
16181
- sourceId: string;
16182
- frameReferenceId: string;
16183
- } | undefined;
16184
- } | null | undefined;
16185
- minHeight?: number | null | undefined;
16186
- };
16187
- } | undefined;
16188
- previousContentHash?: string | undefined;
16189
- };
16190
- }, {
16191
- changeType: "Updated";
16192
- changes: {
16193
- previousTitle?: string | undefined;
16194
- previousConfiguration?: {
16195
- showSidebar: boolean;
16196
- isPrivate: boolean;
16197
- isHidden: boolean;
16198
- header: {
16199
- description: string;
16200
- alignment: "Left" | "Center";
16201
- backgroundImageScaleType: "AspectFill" | "AspectFit";
16202
- showBackgroundOverlay: boolean;
16203
- showCoverText: boolean;
16204
- backgroundColor?: {
16205
- value: string;
16206
- referencedTokenId?: string | undefined;
16207
- } | null | undefined;
16208
- foregroundColor?: {
16209
- value: string;
16210
- referencedTokenId?: string | undefined;
16211
- } | null | undefined;
16212
- backgroundImageAsset?: {
16213
- type: "FigmaNode" | "Resource";
16214
- resource?: {
16215
- url: string;
16216
- resourceId: string;
16217
- } | undefined;
16218
- figmaNode?: {
16219
- sourceId: string;
16220
- frameReferenceId: string;
16221
- } | undefined;
16222
- } | null | undefined;
16223
- minHeight?: number | null | undefined;
16224
- };
16225
- } | undefined;
16226
- previousContentHash?: string | undefined;
16227
- };
16228
- }>, z.ZodObject<{
16229
- changeType: z.ZodLiteral<"Deleted">;
16230
- }, "strip", z.ZodTypeAny, {
16231
- changeType: "Deleted";
16232
- }, {
16233
- changeType: "Deleted";
16234
- }>]>>;
16235
- }>, {
16236
- /** Deleted page is always a draft change */
16237
- draftState: z.ZodDiscriminatedUnion<"changeType", [z.ZodObject<{
16238
- changeType: z.ZodLiteral<"Created">;
16239
- }, "strip", z.ZodTypeAny, {
16240
- changeType: "Created";
16241
- }, {
16242
- changeType: "Created";
16243
- }>, z.ZodObject<{
16244
- changeType: z.ZodLiteral<"Updated">;
16245
- changes: z.ZodObject<{
16246
- previousTitle: z.ZodOptional<z.ZodString>;
16247
- previousConfiguration: z.ZodOptional<z.ZodObject<{
16248
- showSidebar: z.ZodBoolean;
16249
- isPrivate: z.ZodBoolean;
16250
- isHidden: z.ZodBoolean; /** Defined when a page has changed since last publish and can be included into a partial publish */
16251
- header: z.ZodObject<{
16252
- description: z.ZodString;
16253
- alignment: z.ZodEnum<["Left", "Center"]>;
16254
- foregroundColor: z.ZodOptional<z.ZodNullable<z.ZodObject<{
16255
- value: z.ZodString;
16256
- referencedTokenId: z.ZodOptional<z.ZodString>;
16257
- }, "strip", z.ZodTypeAny, {
16258
- value: string;
16259
- referencedTokenId?: string | undefined;
16260
- }, {
16261
- value: string;
16262
- referencedTokenId?: string | undefined;
16263
- }>>>;
16264
- backgroundColor: z.ZodOptional<z.ZodNullable<z.ZodObject<{
16265
- value: z.ZodString;
16266
- referencedTokenId: z.ZodOptional<z.ZodString>;
16267
- }, "strip", z.ZodTypeAny, {
16268
- value: string;
16269
- referencedTokenId?: string | undefined;
16270
- }, {
16271
- value: string;
16272
- referencedTokenId?: string | undefined;
16273
- }>>>;
16274
- backgroundImageAsset: z.ZodOptional<z.ZodNullable<z.ZodObject<{
16275
- type: z.ZodEnum<["Resource", "FigmaNode"]>;
16276
- resource: z.ZodOptional<z.ZodObject<{
16277
- resourceId: z.ZodString;
16278
- url: z.ZodString;
16279
- }, "strip", z.ZodTypeAny, {
16280
- url: string;
16281
- resourceId: string;
16282
- }, {
16283
- url: string;
16284
- resourceId: string;
16285
- }>>;
16286
- figmaNode: z.ZodOptional<z.ZodObject<{
16287
- sourceId: z.ZodString;
16288
- frameReferenceId: z.ZodString;
16289
- }, "strip", z.ZodTypeAny, {
16290
- sourceId: string;
16291
- frameReferenceId: string;
16292
- }, {
16293
- sourceId: string;
16294
- frameReferenceId: string;
16295
- }>>;
16296
- }, "strip", z.ZodTypeAny, {
16297
- type: "FigmaNode" | "Resource";
16298
- resource?: {
16299
- url: string;
16300
- resourceId: string;
16301
- } | undefined;
16302
- figmaNode?: {
16303
- sourceId: string;
16304
- frameReferenceId: string;
16305
- } | undefined;
16306
- }, {
16307
- type: "FigmaNode" | "Resource";
16308
- resource?: {
16309
- url: string;
16310
- resourceId: string;
16311
- } | undefined;
16312
- figmaNode?: {
16313
- sourceId: string;
16314
- frameReferenceId: string;
16315
- } | undefined;
16316
- }>>>;
16317
- backgroundImageScaleType: z.ZodEnum<["AspectFill", "AspectFit"]>;
16318
- showBackgroundOverlay: z.ZodBoolean;
16319
- showCoverText: z.ZodBoolean;
16320
- minHeight: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
16321
- }, "strip", z.ZodTypeAny, {
16322
- description: string;
16323
- alignment: "Left" | "Center";
16324
- backgroundImageScaleType: "AspectFill" | "AspectFit";
16325
- showBackgroundOverlay: boolean;
16326
- showCoverText: boolean;
16327
- backgroundColor?: {
16328
- value: string;
16329
- referencedTokenId?: string | undefined;
16330
- } | null | undefined;
16331
- foregroundColor?: {
16332
- value: string;
16333
- referencedTokenId?: string | undefined;
16334
- } | null | undefined;
16335
- backgroundImageAsset?: {
16336
- type: "FigmaNode" | "Resource";
16337
- resource?: {
16338
- url: string;
16339
- resourceId: string;
16340
- } | undefined;
16341
- figmaNode?: {
16342
- sourceId: string;
16343
- frameReferenceId: string;
16344
- } | undefined;
16345
- } | null | undefined;
16346
- minHeight?: number | null | undefined;
16347
- }, {
16348
- description: string;
16349
- alignment: "Left" | "Center";
16350
- backgroundImageScaleType: "AspectFill" | "AspectFit";
16351
- showBackgroundOverlay: boolean;
16352
- showCoverText: boolean;
16353
- backgroundColor?: {
16354
- value: string;
16355
- referencedTokenId?: string | undefined;
16356
- } | null | undefined;
16357
- foregroundColor?: {
16358
- value: string;
16359
- referencedTokenId?: string | undefined;
16360
- } | null | undefined;
16361
- backgroundImageAsset?: {
16362
- type: "FigmaNode" | "Resource";
16363
- resource?: {
16364
- url: string;
16365
- resourceId: string;
16366
- } | undefined;
16367
- figmaNode?: {
16368
- sourceId: string;
16369
- frameReferenceId: string;
16370
- } | undefined;
16371
- } | null | undefined;
16372
- minHeight?: number | null | undefined;
16373
- }>;
16374
- }, "strip", z.ZodTypeAny, {
16375
- showSidebar: boolean;
16376
- isPrivate: boolean;
16377
- isHidden: boolean;
16378
- header: {
16379
- description: string;
16380
- alignment: "Left" | "Center";
16381
- backgroundImageScaleType: "AspectFill" | "AspectFit";
16382
- showBackgroundOverlay: boolean;
16383
- showCoverText: boolean;
16384
- backgroundColor?: {
16385
- value: string;
16386
- referencedTokenId?: string | undefined;
16387
- } | null | undefined;
16388
- foregroundColor?: {
16389
- value: string;
16390
- referencedTokenId?: string | undefined;
16391
- } | null | undefined;
16392
- backgroundImageAsset?: {
16393
- type: "FigmaNode" | "Resource";
16394
- resource?: {
16395
- url: string;
16396
- resourceId: string;
16397
- } | undefined;
16398
- figmaNode?: {
16399
- sourceId: string;
16400
- frameReferenceId: string;
16401
- } | undefined;
16402
- } | null | undefined;
16403
- minHeight?: number | null | undefined;
16404
- };
16405
- }, {
16406
- showSidebar: boolean;
16407
- isPrivate: boolean;
16408
- isHidden: boolean;
16409
- header: {
16410
- description: string;
16411
- alignment: "Left" | "Center";
16412
- backgroundImageScaleType: "AspectFill" | "AspectFit";
16413
- showBackgroundOverlay: boolean;
16414
- showCoverText: boolean;
16415
- backgroundColor?: {
16416
- value: string;
16417
- referencedTokenId?: string | undefined;
16418
- } | null | undefined;
16419
- foregroundColor?: {
16420
- value: string;
16421
- referencedTokenId?: string | undefined;
16422
- } | null | undefined;
16423
- backgroundImageAsset?: {
16424
- type: "FigmaNode" | "Resource";
16425
- resource?: {
16426
- url: string;
16427
- resourceId: string;
16428
- } | undefined;
16429
- figmaNode?: {
16430
- sourceId: string;
16431
- frameReferenceId: string;
16432
- } | undefined;
16433
- } | null | undefined;
16434
- minHeight?: number | null | undefined;
16435
- };
16436
- }>>;
16437
- previousContentHash: z.ZodOptional<z.ZodString>;
16438
- }, "strip", z.ZodTypeAny, {
16439
- previousTitle?: string | undefined;
16440
- previousConfiguration?: {
16441
- showSidebar: boolean;
16442
- isPrivate: boolean;
16443
- isHidden: boolean;
16444
- header: {
16445
- description: string;
16446
- alignment: "Left" | "Center";
16447
- backgroundImageScaleType: "AspectFill" | "AspectFit";
16448
- showBackgroundOverlay: boolean;
16449
- showCoverText: boolean;
16450
- backgroundColor?: {
16451
- value: string;
16452
- referencedTokenId?: string | undefined;
16453
- } | null | undefined;
16454
- foregroundColor?: {
16455
- value: string;
16456
- referencedTokenId?: string | undefined;
16457
- } | null | undefined;
16458
- backgroundImageAsset?: {
16459
- type: "FigmaNode" | "Resource";
16460
- resource?: {
16461
- url: string;
16462
- resourceId: string;
16463
- } | undefined;
16464
- figmaNode?: {
16465
- sourceId: string;
16466
- frameReferenceId: string;
16467
- } | undefined;
16468
- } | null | undefined;
16469
- minHeight?: number | null | undefined;
16470
- };
16471
- } | undefined;
16472
- previousContentHash?: string | undefined;
16473
- }, {
16474
- previousTitle?: string | undefined;
16475
- previousConfiguration?: {
16476
- showSidebar: boolean;
16477
- isPrivate: boolean;
16478
- isHidden: boolean;
16479
- header: {
16480
- description: string;
16481
- alignment: "Left" | "Center";
16482
- backgroundImageScaleType: "AspectFill" | "AspectFit";
16483
- showBackgroundOverlay: boolean;
16484
- showCoverText: boolean;
16485
- backgroundColor?: {
16486
- value: string;
16487
- referencedTokenId?: string | undefined;
16488
- } | null | undefined;
16489
- foregroundColor?: {
16490
- value: string;
16491
- referencedTokenId?: string | undefined;
16492
- } | null | undefined;
16493
- backgroundImageAsset?: {
16494
- type: "FigmaNode" | "Resource";
16495
- resource?: {
16496
- url: string;
16497
- resourceId: string;
16498
- } | undefined;
16499
- figmaNode?: {
16500
- sourceId: string;
16501
- frameReferenceId: string;
16502
- } | undefined;
16503
- } | null | undefined;
16504
- minHeight?: number | null | undefined;
16505
- };
16506
- } | undefined;
16507
- previousContentHash?: string | undefined;
16508
- }>;
16509
- }, "strip", z.ZodTypeAny, {
16510
- changeType: "Updated";
16511
- changes: {
16512
- previousTitle?: string | undefined;
16513
- previousConfiguration?: {
16514
- showSidebar: boolean;
16515
- isPrivate: boolean;
16516
- isHidden: boolean;
16517
- header: {
16518
- description: string;
16519
- alignment: "Left" | "Center";
16520
- backgroundImageScaleType: "AspectFill" | "AspectFit";
16521
- showBackgroundOverlay: boolean;
16522
- showCoverText: boolean;
16523
- backgroundColor?: {
16524
- value: string;
16525
- referencedTokenId?: string | undefined;
16526
- } | null | undefined;
16527
- foregroundColor?: {
16528
- value: string;
16529
- referencedTokenId?: string | undefined;
16530
- } | null | undefined;
16531
- backgroundImageAsset?: {
16532
- type: "FigmaNode" | "Resource";
16533
- resource?: {
16534
- url: string;
16535
- resourceId: string;
16536
- } | undefined;
16537
- figmaNode?: {
16538
- sourceId: string;
16539
- frameReferenceId: string;
16540
- } | undefined;
16541
- } | null | undefined;
16542
- minHeight?: number | null | undefined;
16543
- };
16544
- } | undefined;
16545
- previousContentHash?: string | undefined;
16546
- };
16547
- }, {
16548
- changeType: "Updated";
16549
- changes: {
16550
- previousTitle?: string | undefined;
16551
- previousConfiguration?: {
16552
- showSidebar: boolean;
16553
- isPrivate: boolean;
16554
- isHidden: boolean;
16555
- header: {
16556
- description: string;
16557
- alignment: "Left" | "Center";
16558
- backgroundImageScaleType: "AspectFill" | "AspectFit";
16559
- showBackgroundOverlay: boolean;
16560
- showCoverText: boolean;
16561
- backgroundColor?: {
16562
- value: string;
16563
- referencedTokenId?: string | undefined;
16564
- } | null | undefined;
16565
- foregroundColor?: {
16566
- value: string;
16567
- referencedTokenId?: string | undefined;
16568
- } | null | undefined;
16569
- backgroundImageAsset?: {
16570
- type: "FigmaNode" | "Resource";
16571
- resource?: {
16572
- url: string;
16573
- resourceId: string;
16574
- } | undefined;
16575
- figmaNode?: {
16576
- sourceId: string;
16577
- frameReferenceId: string;
16578
- } | undefined;
16579
- } | null | undefined;
16580
- minHeight?: number | null | undefined;
16581
- };
16582
- } | undefined;
16583
- previousContentHash?: string | undefined;
16584
- };
16585
- }>, z.ZodObject<{
16586
- changeType: z.ZodLiteral<"Deleted">;
16587
- }, "strip", z.ZodTypeAny, {
16588
- changeType: "Deleted";
16589
- }, {
16590
- changeType: "Deleted";
16591
- }>]>;
16592
- }>, "strip", z.ZodTypeAny, {
16593
- type: "Group";
16594
- id: string;
16595
- persistentId: string;
16596
- designSystemVersionId: string;
16597
- createdAt: Date;
16598
- updatedAt: Date;
16599
- shortPersistentId: string;
16600
- title: string;
16601
- isRoot: boolean;
16602
- childrenIds: string[];
16603
- groupBehavior: "Group" | "Tabs";
16604
- configuration: {
16605
- showSidebar: boolean;
16606
- isPrivate: boolean;
16607
- isHidden: boolean;
16608
- header: {
16609
- description: string;
16610
- alignment: "Left" | "Center";
16611
- backgroundImageScaleType: "AspectFill" | "AspectFit";
16612
- showBackgroundOverlay: boolean;
16613
- showCoverText: boolean;
16614
- backgroundColor?: {
16615
- value: string;
16616
- referencedTokenId?: string | undefined;
16617
- } | null | undefined;
16618
- foregroundColor?: {
16619
- value: string;
16620
- referencedTokenId?: string | undefined;
16621
- } | null | undefined;
16622
- backgroundImageAsset?: {
16623
- type: "FigmaNode" | "Resource";
16624
- resource?: {
16625
- url: string;
16626
- resourceId: string;
16627
- } | undefined;
16628
- figmaNode?: {
16629
- sourceId: string;
16630
- frameReferenceId: string;
16631
- } | undefined;
16632
- } | null | undefined;
16633
- minHeight?: number | null | undefined;
16634
- };
16635
- };
16636
- draftState: {
16637
- changeType: "Created";
16638
- } | {
16639
- changeType: "Updated";
16640
- changes: {
16641
- previousTitle?: string | undefined;
16642
- previousConfiguration?: {
16643
- showSidebar: boolean;
16644
- isPrivate: boolean;
16645
- isHidden: boolean;
16646
- header: {
16647
- description: string;
16648
- alignment: "Left" | "Center";
16649
- backgroundImageScaleType: "AspectFill" | "AspectFit";
16650
- showBackgroundOverlay: boolean;
16651
- showCoverText: boolean;
16652
- backgroundColor?: {
16653
- value: string;
16654
- referencedTokenId?: string | undefined;
16655
- } | null | undefined;
16656
- foregroundColor?: {
16657
- value: string;
16658
- referencedTokenId?: string | undefined;
16659
- } | null | undefined;
16660
- backgroundImageAsset?: {
16661
- type: "FigmaNode" | "Resource";
16662
- resource?: {
16663
- url: string;
16664
- resourceId: string;
16665
- } | undefined;
16666
- figmaNode?: {
16667
- sourceId: string;
16668
- frameReferenceId: string;
16669
- } | undefined;
16670
- } | null | undefined;
16671
- minHeight?: number | null | undefined;
16672
- };
16673
- } | undefined;
16674
- previousContentHash?: string | undefined;
16675
- };
16676
- } | {
16677
- changeType: "Deleted";
16678
- };
16679
- slug?: string | undefined;
16680
- userSlug?: string | undefined;
16681
- }, {
16682
- type: "Group";
16683
- id: string;
16684
- persistentId: string;
16685
- designSystemVersionId: string;
16686
- createdAt: Date;
16687
- updatedAt: Date;
16688
- shortPersistentId: string;
16689
- title: string;
16690
- isRoot: boolean;
16691
- childrenIds: string[];
16692
- groupBehavior: "Group" | "Tabs";
16693
- configuration: {
16694
- showSidebar: boolean;
16695
- isPrivate: boolean;
16696
- isHidden: boolean;
16697
- header: {
16698
- description: string;
16699
- alignment: "Left" | "Center";
16700
- backgroundImageScaleType: "AspectFill" | "AspectFit";
16701
- showBackgroundOverlay: boolean;
16702
- showCoverText: boolean;
16703
- backgroundColor?: {
16704
- value: string;
16705
- referencedTokenId?: string | undefined;
16706
- } | null | undefined;
16707
- foregroundColor?: {
16708
- value: string;
16709
- referencedTokenId?: string | undefined;
16710
- } | null | undefined;
16711
- backgroundImageAsset?: {
16712
- type: "FigmaNode" | "Resource";
16713
- resource?: {
16714
- url: string;
16715
- resourceId: string;
16716
- } | undefined;
16717
- figmaNode?: {
16718
- sourceId: string;
16719
- frameReferenceId: string;
16720
- } | undefined;
16721
- } | null | undefined;
16722
- minHeight?: number | null | undefined;
16723
- };
16724
- };
16725
- draftState: {
16726
- changeType: "Created";
16727
- } | {
16728
- changeType: "Updated";
16729
- changes: {
16730
- previousTitle?: string | undefined;
16731
- previousConfiguration?: {
16732
- showSidebar: boolean;
16733
- isPrivate: boolean;
16734
- isHidden: boolean;
16735
- header: {
16736
- description: string;
16737
- alignment: "Left" | "Center";
16738
- backgroundImageScaleType: "AspectFill" | "AspectFit";
16739
- showBackgroundOverlay: boolean;
16740
- showCoverText: boolean;
16741
- backgroundColor?: {
16742
- value: string;
16743
- referencedTokenId?: string | undefined;
16744
- } | null | undefined;
16745
- foregroundColor?: {
16746
- value: string;
16747
- referencedTokenId?: string | undefined;
16748
- } | null | undefined;
16749
- backgroundImageAsset?: {
16750
- type: "FigmaNode" | "Resource";
16751
- resource?: {
16752
- url: string;
16753
- resourceId: string;
16754
- } | undefined;
16755
- figmaNode?: {
16756
- sourceId: string;
16757
- frameReferenceId: string;
16758
- } | undefined;
16759
- } | null | undefined;
16760
- minHeight?: number | null | undefined;
16761
- };
16762
- } | undefined;
16763
- previousContentHash?: string | undefined;
16764
- };
16765
- } | {
16766
- changeType: "Deleted";
16767
- };
16768
- slug?: string | undefined;
16769
- userSlug?: string | undefined;
16770
- }>, "many">;
16771
- }, "strip", z.ZodTypeAny, {
16772
- pages: {
16773
- path: string;
16774
- type: "Page";
16775
- id: string;
16776
- persistentId: string;
16777
- designSystemVersionId: string;
16778
- createdAt: Date;
16779
- updatedAt: Date;
16780
- shortPersistentId: string;
16781
- title: string;
16782
- configuration: {
14658
+ };
14659
+ slug?: string | undefined;
14660
+ userSlug?: string | undefined;
14661
+ draftState?: {
14662
+ changeType: "Created";
14663
+ } | {
14664
+ changeType: "Updated";
14665
+ changes: {
14666
+ previousTitle?: string | undefined;
14667
+ previousConfiguration?: {
14668
+ showSidebar: boolean;
14669
+ isPrivate: boolean;
14670
+ isHidden: boolean;
14671
+ header: {
14672
+ description: string;
14673
+ alignment: "Left" | "Center";
14674
+ backgroundImageScaleType: "AspectFill" | "AspectFit";
14675
+ showBackgroundOverlay: boolean;
14676
+ showCoverText: boolean;
14677
+ backgroundColor?: {
14678
+ value: string;
14679
+ referencedTokenId?: string | undefined;
14680
+ } | null | undefined;
14681
+ foregroundColor?: {
14682
+ value: string;
14683
+ referencedTokenId?: string | undefined;
14684
+ } | null | undefined;
14685
+ backgroundImageAsset?: {
14686
+ type: "FigmaNode" | "Resource";
14687
+ resource?: {
14688
+ url: string;
14689
+ resourceId: string;
14690
+ } | undefined;
14691
+ figmaNode?: {
14692
+ sourceId: string;
14693
+ frameReferenceId: string;
14694
+ } | undefined;
14695
+ } | null | undefined;
14696
+ minHeight?: number | null | undefined;
14697
+ };
14698
+ } | undefined;
14699
+ previousContentHash?: string | undefined;
14700
+ };
14701
+ } | {
14702
+ changeType: "Deleted";
14703
+ deletedAt: Date;
14704
+ deletedByUserId: string;
14705
+ } | undefined;
14706
+ publishMetadata?: {
14707
+ lastPublishedByUserId: string;
14708
+ lastPublishedAt: Date;
14709
+ } | undefined;
14710
+ }[];
14711
+ }, {
14712
+ pages: {
14713
+ path: string;
14714
+ type: "Page";
14715
+ id: string;
14716
+ persistentId: string;
14717
+ designSystemVersionId: string;
14718
+ createdAt: Date;
14719
+ updatedAt: Date;
14720
+ shortPersistentId: string;
14721
+ title: string;
14722
+ configuration: {
16783
14723
  showSidebar: boolean;
16784
14724
  isPrivate: boolean;
16785
14725
  isHidden: boolean;
@@ -16855,187 +14795,15 @@ declare const DTODocumentationHierarchyV2: z.ZodObject<{
16855
14795
  };
16856
14796
  } | {
16857
14797
  changeType: "Deleted";
14798
+ deletedAt: Date;
14799
+ deletedByUserId: string;
16858
14800
  } | undefined;
16859
- }[];
16860
- groups: {
16861
- type: "Group";
16862
- id: string;
16863
- persistentId: string;
16864
- designSystemVersionId: string;
16865
- createdAt: Date;
16866
- updatedAt: Date;
16867
- shortPersistentId: string;
16868
- title: string;
16869
- isRoot: boolean;
16870
- childrenIds: string[];
16871
- groupBehavior: "Group" | "Tabs";
16872
- configuration: {
16873
- showSidebar: boolean;
16874
- isPrivate: boolean;
16875
- isHidden: boolean;
16876
- header: {
16877
- description: string;
16878
- alignment: "Left" | "Center";
16879
- backgroundImageScaleType: "AspectFill" | "AspectFit";
16880
- showBackgroundOverlay: boolean;
16881
- showCoverText: boolean;
16882
- backgroundColor?: {
16883
- value: string;
16884
- referencedTokenId?: string | undefined;
16885
- } | null | undefined;
16886
- foregroundColor?: {
16887
- value: string;
16888
- referencedTokenId?: string | undefined;
16889
- } | null | undefined;
16890
- backgroundImageAsset?: {
16891
- type: "FigmaNode" | "Resource";
16892
- resource?: {
16893
- url: string;
16894
- resourceId: string;
16895
- } | undefined;
16896
- figmaNode?: {
16897
- sourceId: string;
16898
- frameReferenceId: string;
16899
- } | undefined;
16900
- } | null | undefined;
16901
- minHeight?: number | null | undefined;
16902
- };
16903
- };
16904
- slug?: string | undefined;
16905
- userSlug?: string | undefined;
16906
- draftState?: {
16907
- changeType: "Created";
16908
- } | {
16909
- changeType: "Updated";
16910
- changes: {
16911
- previousTitle?: string | undefined;
16912
- previousConfiguration?: {
16913
- showSidebar: boolean;
16914
- isPrivate: boolean;
16915
- isHidden: boolean;
16916
- header: {
16917
- description: string;
16918
- alignment: "Left" | "Center";
16919
- backgroundImageScaleType: "AspectFill" | "AspectFit";
16920
- showBackgroundOverlay: boolean;
16921
- showCoverText: boolean;
16922
- backgroundColor?: {
16923
- value: string;
16924
- referencedTokenId?: string | undefined;
16925
- } | null | undefined;
16926
- foregroundColor?: {
16927
- value: string;
16928
- referencedTokenId?: string | undefined;
16929
- } | null | undefined;
16930
- backgroundImageAsset?: {
16931
- type: "FigmaNode" | "Resource";
16932
- resource?: {
16933
- url: string;
16934
- resourceId: string;
16935
- } | undefined;
16936
- figmaNode?: {
16937
- sourceId: string;
16938
- frameReferenceId: string;
16939
- } | undefined;
16940
- } | null | undefined;
16941
- minHeight?: number | null | undefined;
16942
- };
16943
- } | undefined;
16944
- previousContentHash?: string | undefined;
16945
- };
16946
- } | {
16947
- changeType: "Deleted";
14801
+ publishMetadata?: {
14802
+ lastPublishedByUserId: string;
14803
+ lastPublishedAt: Date;
16948
14804
  } | undefined;
16949
14805
  }[];
16950
- deletedPages: {
16951
- path: string;
16952
- type: "Page";
16953
- id: string;
16954
- persistentId: string;
16955
- designSystemVersionId: string;
16956
- createdAt: Date;
16957
- updatedAt: Date;
16958
- shortPersistentId: string;
16959
- title: string;
16960
- configuration: {
16961
- showSidebar: boolean;
16962
- isPrivate: boolean;
16963
- isHidden: boolean;
16964
- header: {
16965
- description: string;
16966
- alignment: "Left" | "Center";
16967
- backgroundImageScaleType: "AspectFill" | "AspectFit";
16968
- showBackgroundOverlay: boolean;
16969
- showCoverText: boolean;
16970
- backgroundColor?: {
16971
- value: string;
16972
- referencedTokenId?: string | undefined;
16973
- } | null | undefined;
16974
- foregroundColor?: {
16975
- value: string;
16976
- referencedTokenId?: string | undefined;
16977
- } | null | undefined;
16978
- backgroundImageAsset?: {
16979
- type: "FigmaNode" | "Resource";
16980
- resource?: {
16981
- url: string;
16982
- resourceId: string;
16983
- } | undefined;
16984
- figmaNode?: {
16985
- sourceId: string;
16986
- frameReferenceId: string;
16987
- } | undefined;
16988
- } | null | undefined;
16989
- minHeight?: number | null | undefined;
16990
- };
16991
- };
16992
- draftState: {
16993
- changeType: "Created";
16994
- } | {
16995
- changeType: "Updated";
16996
- changes: {
16997
- previousTitle?: string | undefined;
16998
- previousConfiguration?: {
16999
- showSidebar: boolean;
17000
- isPrivate: boolean;
17001
- isHidden: boolean;
17002
- header: {
17003
- description: string;
17004
- alignment: "Left" | "Center";
17005
- backgroundImageScaleType: "AspectFill" | "AspectFit";
17006
- showBackgroundOverlay: boolean;
17007
- showCoverText: boolean;
17008
- backgroundColor?: {
17009
- value: string;
17010
- referencedTokenId?: string | undefined;
17011
- } | null | undefined;
17012
- foregroundColor?: {
17013
- value: string;
17014
- referencedTokenId?: string | undefined;
17015
- } | null | undefined;
17016
- backgroundImageAsset?: {
17017
- type: "FigmaNode" | "Resource";
17018
- resource?: {
17019
- url: string;
17020
- resourceId: string;
17021
- } | undefined;
17022
- figmaNode?: {
17023
- sourceId: string;
17024
- frameReferenceId: string;
17025
- } | undefined;
17026
- } | null | undefined;
17027
- minHeight?: number | null | undefined;
17028
- };
17029
- } | undefined;
17030
- previousContentHash?: string | undefined;
17031
- };
17032
- } | {
17033
- changeType: "Deleted";
17034
- };
17035
- slug?: string | undefined;
17036
- userSlug?: string | undefined;
17037
- }[];
17038
- deletedGroups: {
14806
+ groups: {
17039
14807
  type: "Group";
17040
14808
  id: string;
17041
14809
  persistentId: string;
@@ -17079,95 +14847,6 @@ declare const DTODocumentationHierarchyV2: z.ZodObject<{
17079
14847
  minHeight?: number | null | undefined;
17080
14848
  };
17081
14849
  };
17082
- draftState: {
17083
- changeType: "Created";
17084
- } | {
17085
- changeType: "Updated";
17086
- changes: {
17087
- previousTitle?: string | undefined;
17088
- previousConfiguration?: {
17089
- showSidebar: boolean;
17090
- isPrivate: boolean;
17091
- isHidden: boolean;
17092
- header: {
17093
- description: string;
17094
- alignment: "Left" | "Center";
17095
- backgroundImageScaleType: "AspectFill" | "AspectFit";
17096
- showBackgroundOverlay: boolean;
17097
- showCoverText: boolean;
17098
- backgroundColor?: {
17099
- value: string;
17100
- referencedTokenId?: string | undefined;
17101
- } | null | undefined;
17102
- foregroundColor?: {
17103
- value: string;
17104
- referencedTokenId?: string | undefined;
17105
- } | null | undefined;
17106
- backgroundImageAsset?: {
17107
- type: "FigmaNode" | "Resource";
17108
- resource?: {
17109
- url: string;
17110
- resourceId: string;
17111
- } | undefined;
17112
- figmaNode?: {
17113
- sourceId: string;
17114
- frameReferenceId: string;
17115
- } | undefined;
17116
- } | null | undefined;
17117
- minHeight?: number | null | undefined;
17118
- };
17119
- } | undefined;
17120
- previousContentHash?: string | undefined;
17121
- };
17122
- } | {
17123
- changeType: "Deleted";
17124
- };
17125
- slug?: string | undefined;
17126
- userSlug?: string | undefined;
17127
- }[];
17128
- }, {
17129
- pages: {
17130
- path: string;
17131
- type: "Page";
17132
- id: string;
17133
- persistentId: string;
17134
- designSystemVersionId: string;
17135
- createdAt: Date;
17136
- updatedAt: Date;
17137
- shortPersistentId: string;
17138
- title: string;
17139
- configuration: {
17140
- showSidebar: boolean;
17141
- isPrivate: boolean;
17142
- isHidden: boolean;
17143
- header: {
17144
- description: string;
17145
- alignment: "Left" | "Center";
17146
- backgroundImageScaleType: "AspectFill" | "AspectFit";
17147
- showBackgroundOverlay: boolean;
17148
- showCoverText: boolean;
17149
- backgroundColor?: {
17150
- value: string;
17151
- referencedTokenId?: string | undefined;
17152
- } | null | undefined;
17153
- foregroundColor?: {
17154
- value: string;
17155
- referencedTokenId?: string | undefined;
17156
- } | null | undefined;
17157
- backgroundImageAsset?: {
17158
- type: "FigmaNode" | "Resource";
17159
- resource?: {
17160
- url: string;
17161
- resourceId: string;
17162
- } | undefined;
17163
- figmaNode?: {
17164
- sourceId: string;
17165
- frameReferenceId: string;
17166
- } | undefined;
17167
- } | null | undefined;
17168
- minHeight?: number | null | undefined;
17169
- };
17170
- };
17171
14850
  slug?: string | undefined;
17172
14851
  userSlug?: string | undefined;
17173
14852
  draftState?: {
@@ -17212,276 +14891,14 @@ declare const DTODocumentationHierarchyV2: z.ZodObject<{
17212
14891
  };
17213
14892
  } | {
17214
14893
  changeType: "Deleted";
14894
+ deletedAt: Date;
14895
+ deletedByUserId: string;
17215
14896
  } | undefined;
17216
- }[];
17217
- groups: {
17218
- type: "Group";
17219
- id: string;
17220
- persistentId: string;
17221
- designSystemVersionId: string;
17222
- createdAt: Date;
17223
- updatedAt: Date;
17224
- shortPersistentId: string;
17225
- title: string;
17226
- isRoot: boolean;
17227
- childrenIds: string[];
17228
- groupBehavior: "Group" | "Tabs";
17229
- configuration: {
17230
- showSidebar: boolean;
17231
- isPrivate: boolean;
17232
- isHidden: boolean;
17233
- header: {
17234
- description: string;
17235
- alignment: "Left" | "Center";
17236
- backgroundImageScaleType: "AspectFill" | "AspectFit";
17237
- showBackgroundOverlay: boolean;
17238
- showCoverText: boolean;
17239
- backgroundColor?: {
17240
- value: string;
17241
- referencedTokenId?: string | undefined;
17242
- } | null | undefined;
17243
- foregroundColor?: {
17244
- value: string;
17245
- referencedTokenId?: string | undefined;
17246
- } | null | undefined;
17247
- backgroundImageAsset?: {
17248
- type: "FigmaNode" | "Resource";
17249
- resource?: {
17250
- url: string;
17251
- resourceId: string;
17252
- } | undefined;
17253
- figmaNode?: {
17254
- sourceId: string;
17255
- frameReferenceId: string;
17256
- } | undefined;
17257
- } | null | undefined;
17258
- minHeight?: number | null | undefined;
17259
- };
17260
- };
17261
- slug?: string | undefined;
17262
- userSlug?: string | undefined;
17263
- draftState?: {
17264
- changeType: "Created";
17265
- } | {
17266
- changeType: "Updated";
17267
- changes: {
17268
- previousTitle?: string | undefined;
17269
- previousConfiguration?: {
17270
- showSidebar: boolean;
17271
- isPrivate: boolean;
17272
- isHidden: boolean;
17273
- header: {
17274
- description: string;
17275
- alignment: "Left" | "Center";
17276
- backgroundImageScaleType: "AspectFill" | "AspectFit";
17277
- showBackgroundOverlay: boolean;
17278
- showCoverText: boolean;
17279
- backgroundColor?: {
17280
- value: string;
17281
- referencedTokenId?: string | undefined;
17282
- } | null | undefined;
17283
- foregroundColor?: {
17284
- value: string;
17285
- referencedTokenId?: string | undefined;
17286
- } | null | undefined;
17287
- backgroundImageAsset?: {
17288
- type: "FigmaNode" | "Resource";
17289
- resource?: {
17290
- url: string;
17291
- resourceId: string;
17292
- } | undefined;
17293
- figmaNode?: {
17294
- sourceId: string;
17295
- frameReferenceId: string;
17296
- } | undefined;
17297
- } | null | undefined;
17298
- minHeight?: number | null | undefined;
17299
- };
17300
- } | undefined;
17301
- previousContentHash?: string | undefined;
17302
- };
17303
- } | {
17304
- changeType: "Deleted";
14897
+ publishMetadata?: {
14898
+ lastPublishedByUserId: string;
14899
+ lastPublishedAt: Date;
17305
14900
  } | undefined;
17306
14901
  }[];
17307
- deletedPages: {
17308
- path: string;
17309
- type: "Page";
17310
- id: string;
17311
- persistentId: string;
17312
- designSystemVersionId: string;
17313
- createdAt: Date;
17314
- updatedAt: Date;
17315
- shortPersistentId: string;
17316
- title: string;
17317
- configuration: {
17318
- showSidebar: boolean;
17319
- isPrivate: boolean;
17320
- isHidden: boolean;
17321
- header: {
17322
- description: string;
17323
- alignment: "Left" | "Center";
17324
- backgroundImageScaleType: "AspectFill" | "AspectFit";
17325
- showBackgroundOverlay: boolean;
17326
- showCoverText: boolean;
17327
- backgroundColor?: {
17328
- value: string;
17329
- referencedTokenId?: string | undefined;
17330
- } | null | undefined;
17331
- foregroundColor?: {
17332
- value: string;
17333
- referencedTokenId?: string | undefined;
17334
- } | null | undefined;
17335
- backgroundImageAsset?: {
17336
- type: "FigmaNode" | "Resource";
17337
- resource?: {
17338
- url: string;
17339
- resourceId: string;
17340
- } | undefined;
17341
- figmaNode?: {
17342
- sourceId: string;
17343
- frameReferenceId: string;
17344
- } | undefined;
17345
- } | null | undefined;
17346
- minHeight?: number | null | undefined;
17347
- };
17348
- };
17349
- draftState: {
17350
- changeType: "Created";
17351
- } | {
17352
- changeType: "Updated";
17353
- changes: {
17354
- previousTitle?: string | undefined;
17355
- previousConfiguration?: {
17356
- showSidebar: boolean;
17357
- isPrivate: boolean;
17358
- isHidden: boolean;
17359
- header: {
17360
- description: string;
17361
- alignment: "Left" | "Center";
17362
- backgroundImageScaleType: "AspectFill" | "AspectFit";
17363
- showBackgroundOverlay: boolean;
17364
- showCoverText: boolean;
17365
- backgroundColor?: {
17366
- value: string;
17367
- referencedTokenId?: string | undefined;
17368
- } | null | undefined;
17369
- foregroundColor?: {
17370
- value: string;
17371
- referencedTokenId?: string | undefined;
17372
- } | null | undefined;
17373
- backgroundImageAsset?: {
17374
- type: "FigmaNode" | "Resource";
17375
- resource?: {
17376
- url: string;
17377
- resourceId: string;
17378
- } | undefined;
17379
- figmaNode?: {
17380
- sourceId: string;
17381
- frameReferenceId: string;
17382
- } | undefined;
17383
- } | null | undefined;
17384
- minHeight?: number | null | undefined;
17385
- };
17386
- } | undefined;
17387
- previousContentHash?: string | undefined;
17388
- };
17389
- } | {
17390
- changeType: "Deleted";
17391
- };
17392
- slug?: string | undefined;
17393
- userSlug?: string | undefined;
17394
- }[];
17395
- deletedGroups: {
17396
- type: "Group";
17397
- id: string;
17398
- persistentId: string;
17399
- designSystemVersionId: string;
17400
- createdAt: Date;
17401
- updatedAt: Date;
17402
- shortPersistentId: string;
17403
- title: string;
17404
- isRoot: boolean;
17405
- childrenIds: string[];
17406
- groupBehavior: "Group" | "Tabs";
17407
- configuration: {
17408
- showSidebar: boolean;
17409
- isPrivate: boolean;
17410
- isHidden: boolean;
17411
- header: {
17412
- description: string;
17413
- alignment: "Left" | "Center";
17414
- backgroundImageScaleType: "AspectFill" | "AspectFit";
17415
- showBackgroundOverlay: boolean;
17416
- showCoverText: boolean;
17417
- backgroundColor?: {
17418
- value: string;
17419
- referencedTokenId?: string | undefined;
17420
- } | null | undefined;
17421
- foregroundColor?: {
17422
- value: string;
17423
- referencedTokenId?: string | undefined;
17424
- } | null | undefined;
17425
- backgroundImageAsset?: {
17426
- type: "FigmaNode" | "Resource";
17427
- resource?: {
17428
- url: string;
17429
- resourceId: string;
17430
- } | undefined;
17431
- figmaNode?: {
17432
- sourceId: string;
17433
- frameReferenceId: string;
17434
- } | undefined;
17435
- } | null | undefined;
17436
- minHeight?: number | null | undefined;
17437
- };
17438
- };
17439
- draftState: {
17440
- changeType: "Created";
17441
- } | {
17442
- changeType: "Updated";
17443
- changes: {
17444
- previousTitle?: string | undefined;
17445
- previousConfiguration?: {
17446
- showSidebar: boolean;
17447
- isPrivate: boolean;
17448
- isHidden: boolean;
17449
- header: {
17450
- description: string;
17451
- alignment: "Left" | "Center";
17452
- backgroundImageScaleType: "AspectFill" | "AspectFit";
17453
- showBackgroundOverlay: boolean;
17454
- showCoverText: boolean;
17455
- backgroundColor?: {
17456
- value: string;
17457
- referencedTokenId?: string | undefined;
17458
- } | null | undefined;
17459
- foregroundColor?: {
17460
- value: string;
17461
- referencedTokenId?: string | undefined;
17462
- } | null | undefined;
17463
- backgroundImageAsset?: {
17464
- type: "FigmaNode" | "Resource";
17465
- resource?: {
17466
- url: string;
17467
- resourceId: string;
17468
- } | undefined;
17469
- figmaNode?: {
17470
- sourceId: string;
17471
- frameReferenceId: string;
17472
- } | undefined;
17473
- } | null | undefined;
17474
- minHeight?: number | null | undefined;
17475
- };
17476
- } | undefined;
17477
- previousContentHash?: string | undefined;
17478
- };
17479
- } | {
17480
- changeType: "Deleted";
17481
- };
17482
- slug?: string | undefined;
17483
- userSlug?: string | undefined;
17484
- }[];
17485
14902
  }>;
17486
14903
  type DTODocumentationHierarchyV2 = z.infer<typeof DTODocumentationHierarchyV2>;
17487
14904
 
@@ -18301,6 +15718,18 @@ declare const DTODocumentationItemConfigurationV2: z.ZodObject<{
18301
15718
  }>;
18302
15719
  type DTODocumentationItemConfigurationV2 = z.infer<typeof DTODocumentationItemConfigurationV2>;
18303
15720
 
15721
+ declare const DTODocumentationPublishMetadata: z.ZodObject<{
15722
+ lastPublishedByUserId: z.ZodString;
15723
+ lastPublishedAt: z.ZodDate;
15724
+ }, "strip", z.ZodTypeAny, {
15725
+ lastPublishedByUserId: string;
15726
+ lastPublishedAt: Date;
15727
+ }, {
15728
+ lastPublishedByUserId: string;
15729
+ lastPublishedAt: Date;
15730
+ }>;
15731
+ type DTODocumentationPublishMetadata = z.infer<typeof DTODocumentationPublishMetadata>;
15732
+
18304
15733
  declare const DTODocumentationPageCreateActionOutputV2: z.ZodObject<{
18305
15734
  type: z.ZodLiteral<"DocumentationPageCreate">;
18306
15735
  output: z.ZodObject<{
@@ -24587,11 +22016,29 @@ declare const DTODocumentationPageV2: z.ZodObject<{
24587
22016
  };
24588
22017
  }>, z.ZodObject<{
24589
22018
  changeType: z.ZodLiteral<"Deleted">;
22019
+ /** Defined if a page was published at least once and contains metadata about last publish */
22020
+ deletedAt: z.ZodDate;
22021
+ deletedByUserId: z.ZodString;
24590
22022
  }, "strip", z.ZodTypeAny, {
24591
22023
  changeType: "Deleted";
22024
+ deletedAt: Date;
22025
+ deletedByUserId: string;
24592
22026
  }, {
24593
22027
  changeType: "Deleted";
22028
+ deletedAt: Date;
22029
+ deletedByUserId: string;
24594
22030
  }>]>>;
22031
+ /** Defined if a page was published at least once and contains metadata about last publish */
22032
+ publishMetadata: z.ZodOptional<z.ZodObject<{
22033
+ lastPublishedByUserId: z.ZodString;
22034
+ lastPublishedAt: z.ZodDate;
22035
+ }, "strip", z.ZodTypeAny, {
22036
+ lastPublishedByUserId: string;
22037
+ lastPublishedAt: Date;
22038
+ }, {
22039
+ lastPublishedByUserId: string;
22040
+ lastPublishedAt: Date;
22041
+ }>>;
24595
22042
  type: z.ZodLiteral<"Page">;
24596
22043
  }, "strip", z.ZodTypeAny, {
24597
22044
  path: string;
@@ -24679,6 +22126,12 @@ declare const DTODocumentationPageV2: z.ZodObject<{
24679
22126
  };
24680
22127
  } | {
24681
22128
  changeType: "Deleted";
22129
+ deletedAt: Date;
22130
+ deletedByUserId: string;
22131
+ } | undefined;
22132
+ publishMetadata?: {
22133
+ lastPublishedByUserId: string;
22134
+ lastPublishedAt: Date;
24682
22135
  } | undefined;
24683
22136
  }, {
24684
22137
  path: string;
@@ -24766,6 +22219,12 @@ declare const DTODocumentationPageV2: z.ZodObject<{
24766
22219
  };
24767
22220
  } | {
24768
22221
  changeType: "Deleted";
22222
+ deletedAt: Date;
22223
+ deletedByUserId: string;
22224
+ } | undefined;
22225
+ publishMetadata?: {
22226
+ lastPublishedByUserId: string;
22227
+ lastPublishedAt: Date;
24769
22228
  } | undefined;
24770
22229
  }>;
24771
22230
  type DTODocumentationPageV2 = z.infer<typeof DTODocumentationPageV2>;
@@ -44812,16 +42271,25 @@ declare class FrontendVersionRoomYDoc {
44812
42271
  private readonly debug;
44813
42272
  private readonly yDoc;
44814
42273
  constructor(yDoc: Y.Doc, debug?: boolean);
44815
- getDocumentationHierarchy(): DTODocumentationHierarchyV2;
44816
- private buildPageDraftStates;
42274
+ getDocumentationHierarchy(options?: {
42275
+ includeDeletedContent?: boolean;
42276
+ }): DTODocumentationHierarchyV2;
42277
+ private buildPageDraftDeletedStates;
42278
+ private buildPageDraftCreatedAndUpdatedStates;
44817
42279
  private itemStateFromPage;
44818
- private buildGroupDraftStates;
42280
+ private getDeletedPages;
42281
+ private buildPagePublishedMetadata;
42282
+ private buildGroupDraftDeletedStates;
42283
+ private buildGroupDraftCreatedAndUpdatedStates;
44819
42284
  private itemStateFromGroup;
42285
+ private getDeletedGroups;
42286
+ private buildGroupPublishedMetadata;
44820
42287
  private createDraftState;
44821
42288
  notifyDocumentationPageContentUpdated(pageId: string, content: DocumentationPageEditorModel): void;
44822
42289
  isDraftFeatureAdopted(): boolean;
42290
+ hasPublishedDocumentationContent(): boolean;
44823
42291
  }
44824
42292
 
44825
42293
  declare function generatePageContentHash(content: DocumentationPageEditorModel, debug?: boolean): string;
44826
42294
 
44827
- export { BackendVersionRoomYDoc, BlockDefinitionUtils, BlockParsingUtils, DTOAssetRenderConfiguration, DTOBrand, DTOBrandCreateResponse, DTOBrandGetResponse, DTOBrandsListResponse, DTOCreateBrandInput, DTOCreateDocumentationGroupInput, DTOCreateDocumentationPageInputV2, DTOCreateDocumentationTabInput, DTOCreateElementPropertyDefinitionInputV2, DTOCreateVersionInput, DTODataSource, DTODataSourceCreationResponse, DTODataSourceFigma, DTODataSourceFigmaCloud, DTODataSourceFigmaVariablesPlugin, DTODataSourceTokenStudio, DTODataSourcesListResponse, DTODeleteDocumentationGroupInput, DTODeleteDocumentationPageInputV2, DTODeleteDocumentationTabGroupInput, DTODeleteElementPropertyDefinitionInputV2, DTODesignElementsDataDiffResponse, DTODesignSystem, DTODesignSystemUpdateInput, DTODesignSystemVersion, DTODesignSystemVersionCreationResponse, DTODesignSystemVersionGetResponse, DTODesignSystemVersionJobStatusResponse, DTODesignSystemVersionJobsResponse, DTODesignSystemVersionsListResponse, DTODiffCountBase, DTODocumentationDraftChangeType, DTODocumentationDraftState, DTODocumentationDraftStateCreated, DTODocumentationDraftStateDeleted, DTODocumentationDraftStateUpdated, DTODocumentationGroupCreateActionInputV2, DTODocumentationGroupCreateActionOutputV2, DTODocumentationGroupDeleteActionInputV2, DTODocumentationGroupDeleteActionOutputV2, DTODocumentationGroupDuplicateActionInputV2, DTODocumentationGroupDuplicateActionOutputV2, DTODocumentationGroupMoveActionInputV2, DTODocumentationGroupMoveActionOutputV2, DTODocumentationGroupRestoreActionInput, DTODocumentationGroupRestoreActionOutput, DTODocumentationGroupStructureV1, DTODocumentationGroupUpdateActionInputV2, DTODocumentationGroupUpdateActionOutputV2, DTODocumentationGroupV1, DTODocumentationGroupV2, DTODocumentationHierarchyV2, DTODocumentationItemConfigurationV1, DTODocumentationItemConfigurationV2, DTODocumentationItemHeaderV2, DTODocumentationLinkPreviewRequest, DTODocumentationLinkPreviewResponse, DTODocumentationPageAnchor, DTODocumentationPageContent, DTODocumentationPageContentGetResponse, DTODocumentationPageCreateActionInputV2, DTODocumentationPageCreateActionOutputV2, DTODocumentationPageDeleteActionInputV2, DTODocumentationPageDeleteActionOutputV2, DTODocumentationPageDuplicateActionInputV2, DTODocumentationPageDuplicateActionOutputV2, DTODocumentationPageMoveActionInputV2, DTODocumentationPageMoveActionOutputV2, DTODocumentationPageRestoreActionInput, DTODocumentationPageRestoreActionOutput, DTODocumentationPageRoomHeaderData, DTODocumentationPageRoomHeaderDataUpdate, DTODocumentationPageSnapshot, DTODocumentationPageUpdateActionInputV2, DTODocumentationPageUpdateActionOutputV2, DTODocumentationPageV2, DTODocumentationPublishTypeQueryParams, DTODocumentationTabCreateActionInputV2, DTODocumentationTabCreateActionOutputV2, type DTODocumentationTabGroupCreateActionInputV2, DTODocumentationTabGroupDeleteActionInputV2, DTODocumentationTabGroupDeleteActionOutputV2, DTODownloadAssetsRequest, DTODownloadAssetsResponse, DTODuplicateDocumentationGroupInput, DTODuplicateDocumentationPageInputV2, DTOElementActionInput, DTOElementActionOutput, DTOElementPropertyDefinition, DTOElementPropertyDefinitionsGetResponse, DTOElementPropertyValue, DTOElementPropertyValuesGetResponse, DTOElementView, DTOElementViewBasePropertyColumn, DTOElementViewColumn, DTOElementViewColumnSharedAttributes, DTOElementViewPropertyDefinitionColumn, DTOElementViewThemeColumn, DTOElementViewsListResponse, DTOElementsGetOutput, type DTOElementsGetQueryParsed, type DTOElementsGetQueryRaw, DTOElementsGetQuerySchema, DTOElementsGetTypeFilter, DTOExportJob, DTOExportJobCreatedBy, DTOExportJobDesignSystemPreview, DTOExportJobDesignSystemVersionPreview, DTOExportJobDestinations, DTOExportJobResponse, DTOExporter, DTOExporterCreateInput, DTOExporterCreateOutput, DTOExporterGitProviderEnum, DTOExporterMembership, DTOExporterMembershipRole, DTOExporterProperty, DTOExporterPropertyListResponse, DTOExporterSource, DTOExporterType, DTOExporterUpdateInput, DTOFigmaNode, DTOFigmaNodeData, DTOFigmaNodeOrigin, DTOFigmaNodeRenderActionInput, DTOFigmaNodeRenderActionOutput, DTOFigmaNodeRenderInput, DTOGetBlockDefinitionsOutput, DTOGetDocumentationPageAnchorsResponse, DTOGitBranch, DTOGitOrganization, DTOGitProject, DTOGitRepository, DTOIntegration, DTOIntegrationCredentials, DTOIntegrationOAuthGetResponse, DTOIntegrationPostResponse, DTOIntegrationsGetListResponse, DTOLiveblocksAuthRequest, DTOLiveblocksAuthResponse, DTOMoveDocumentationGroupInput, DTOMoveDocumentationPageInputV2, DTONpmRegistryConfig, DTONpmRegistryConfigConstants, DTOPageBlockColorV2, DTOPageBlockDefinition, DTOPageBlockDefinitionBehavior, DTOPageBlockDefinitionItem, DTOPageBlockDefinitionLayout, DTOPageBlockDefinitionProperty, DTOPageBlockDefinitionVariant, DTOPageBlockItemV2, DTOPipeline, DTOPipelineCreateBody, DTOPipelineTriggerBody, DTOPipelineUpdateBody, DTOPropertyDefinitionCreateActionInputV2, DTOPropertyDefinitionCreateActionOutputV2, DTOPropertyDefinitionDeleteActionInputV2, DTOPropertyDefinitionDeleteActionOutputV2, DTOPropertyDefinitionUpdateActionInputV2, DTOPropertyDefinitionUpdateActionOutputV2, DTOPublishDocumentationChanges, DTOPublishDocumentationRequest, DTOPublishDocumentationResponse, DTORenderedAssetFile, DTORestoreDocumentationGroupInput, DTORestoreDocumentationPageInput, DTOUpdateDocumentationGroupInput, DTOUpdateDocumentationPageInputV2, DTOUpdateElementPropertyDefinitionInputV2, DTOUpdateUserNotificationSettingsPayload, DTOUpdateVersionInput, DTOUserNotificationSettingsResponse, DTOUserProfileUpdatePayload, DTOUserProfileUpdateResponse, DTOUserWorkspaceMembership, DTOUserWorkspaceMembershipsResponse, DTOWorkspace, DTOWorkspaceIntegrationGetGitObjectsInput, DTOWorkspaceIntegrationOauthInput, DTOWorkspaceIntegrationPATInput, DTOWorkspaceRole, DocumentationHierarchySettings, DocumentationPageEditorModel, DocumentationPageV1DTO, FrontendVersionRoomYDoc, type ListItemNode, type ListNode, ListTreeBuilder, NpmRegistryInput, ObjectMeta, PageBlockEditorModel, PageSectionEditorModel, type ProsemirrorBlockItem, type ProsemirrorMark, type ProsemirrorNode, VersionRoomBaseYDoc, VersionSQSPayload, WorkspaceConfigurationPayload, applyPrivacyConfigurationToNestedItems, blockToProsemirrorNode, buildDocPagePublishPaths, calculateElementParentChain, documentationItemConfigurationToDTOV1, documentationItemConfigurationToDTOV2, documentationPageToDTOV2, documentationPagesFixedConfigurationToDTOV1, documentationPagesFixedConfigurationToDTOV2, documentationPagesToDTOV1, documentationPagesToDTOV2, elementGroupsToDocumentationGroupDTOV1, elementGroupsToDocumentationGroupDTOV2, elementGroupsToDocumentationGroupFixedConfigurationDTOV1, elementGroupsToDocumentationGroupFixedConfigurationDTOV2, elementGroupsToDocumentationGroupStructureDTOV1, generateHash, generatePageContentHash, getDtoDefaultItemConfigurationV1, getDtoDefaultItemConfigurationV2, getMockPageBlockDefinitions, gitBranchToDto, gitOrganizationToDto, gitProjectToDto, gitRepositoryToDto, integrationCredentialToDto, integrationToDto, itemConfigurationToYjs, pageToProsemirrorDoc, pageToYDoc, pageToYXmlFragment, pipelineToDto, pmSchema, prosemirrorDocToPage, prosemirrorNodeToSection, prosemirrorNodesToBlocks, serializeAsCustomBlock, shallowProsemirrorNodeToBlock, validateDesignSystemVersion, validateSsoPayload, yDocToPage, yXmlFragmentToPage, yjsToDocumentationHierarchy, yjsToItemConfiguration };
42295
+ export { BackendVersionRoomYDoc, BlockDefinitionUtils, BlockParsingUtils, DTOAssetRenderConfiguration, DTOBrand, DTOBrandCreateResponse, DTOBrandGetResponse, DTOBrandsListResponse, DTOCreateBrandInput, DTOCreateDocumentationGroupInput, DTOCreateDocumentationPageInputV2, DTOCreateDocumentationTabInput, DTOCreateElementPropertyDefinitionInputV2, DTOCreateVersionInput, DTODataSource, DTODataSourceCreationResponse, DTODataSourceFigma, DTODataSourceFigmaCloud, DTODataSourceFigmaVariablesPlugin, DTODataSourceTokenStudio, DTODataSourcesListResponse, DTODeleteDocumentationGroupInput, DTODeleteDocumentationPageInputV2, DTODeleteDocumentationTabGroupInput, DTODeleteElementPropertyDefinitionInputV2, DTODesignElementsDataDiffResponse, DTODesignSystem, DTODesignSystemUpdateInput, DTODesignSystemVersion, DTODesignSystemVersionCreationResponse, DTODesignSystemVersionGetResponse, DTODesignSystemVersionJobStatusResponse, DTODesignSystemVersionJobsResponse, DTODesignSystemVersionsListResponse, DTODiffCountBase, DTODocumentationDraftChangeType, DTODocumentationDraftState, DTODocumentationDraftStateCreated, DTODocumentationDraftStateDeleted, DTODocumentationDraftStateUpdated, DTODocumentationGroupCreateActionInputV2, DTODocumentationGroupCreateActionOutputV2, DTODocumentationGroupDeleteActionInputV2, DTODocumentationGroupDeleteActionOutputV2, DTODocumentationGroupDuplicateActionInputV2, DTODocumentationGroupDuplicateActionOutputV2, DTODocumentationGroupMoveActionInputV2, DTODocumentationGroupMoveActionOutputV2, DTODocumentationGroupRestoreActionInput, DTODocumentationGroupRestoreActionOutput, DTODocumentationGroupStructureV1, DTODocumentationGroupUpdateActionInputV2, DTODocumentationGroupUpdateActionOutputV2, DTODocumentationGroupV1, DTODocumentationGroupV2, DTODocumentationHierarchyV2, DTODocumentationItemConfigurationV1, DTODocumentationItemConfigurationV2, DTODocumentationItemHeaderV2, DTODocumentationLinkPreviewRequest, DTODocumentationLinkPreviewResponse, DTODocumentationPageAnchor, DTODocumentationPageContent, DTODocumentationPageContentGetResponse, DTODocumentationPageCreateActionInputV2, DTODocumentationPageCreateActionOutputV2, DTODocumentationPageDeleteActionInputV2, DTODocumentationPageDeleteActionOutputV2, DTODocumentationPageDuplicateActionInputV2, DTODocumentationPageDuplicateActionOutputV2, DTODocumentationPageMoveActionInputV2, DTODocumentationPageMoveActionOutputV2, DTODocumentationPageRestoreActionInput, DTODocumentationPageRestoreActionOutput, DTODocumentationPageRoomHeaderData, DTODocumentationPageRoomHeaderDataUpdate, DTODocumentationPageSnapshot, DTODocumentationPageUpdateActionInputV2, DTODocumentationPageUpdateActionOutputV2, DTODocumentationPageV2, DTODocumentationPublishMetadata, DTODocumentationPublishTypeQueryParams, DTODocumentationTabCreateActionInputV2, DTODocumentationTabCreateActionOutputV2, type DTODocumentationTabGroupCreateActionInputV2, DTODocumentationTabGroupDeleteActionInputV2, DTODocumentationTabGroupDeleteActionOutputV2, DTODownloadAssetsRequest, DTODownloadAssetsResponse, DTODuplicateDocumentationGroupInput, DTODuplicateDocumentationPageInputV2, DTOElementActionInput, DTOElementActionOutput, DTOElementPropertyDefinition, DTOElementPropertyDefinitionsGetResponse, DTOElementPropertyValue, DTOElementPropertyValuesGetResponse, DTOElementView, DTOElementViewBasePropertyColumn, DTOElementViewColumn, DTOElementViewColumnSharedAttributes, DTOElementViewPropertyDefinitionColumn, DTOElementViewThemeColumn, DTOElementViewsListResponse, DTOElementsGetOutput, type DTOElementsGetQueryParsed, type DTOElementsGetQueryRaw, DTOElementsGetQuerySchema, DTOElementsGetTypeFilter, DTOExportJob, DTOExportJobCreatedBy, DTOExportJobDesignSystemPreview, DTOExportJobDesignSystemVersionPreview, DTOExportJobDestinations, DTOExportJobResponse, DTOExporter, DTOExporterCreateInput, DTOExporterCreateOutput, DTOExporterGitProviderEnum, DTOExporterMembership, DTOExporterMembershipRole, DTOExporterProperty, DTOExporterPropertyListResponse, DTOExporterSource, DTOExporterType, DTOExporterUpdateInput, DTOFigmaNode, DTOFigmaNodeData, DTOFigmaNodeOrigin, DTOFigmaNodeRenderActionInput, DTOFigmaNodeRenderActionOutput, DTOFigmaNodeRenderInput, DTOGetBlockDefinitionsOutput, DTOGetDocumentationPageAnchorsResponse, DTOGitBranch, DTOGitOrganization, DTOGitProject, DTOGitRepository, DTOIntegration, DTOIntegrationCredentials, DTOIntegrationOAuthGetResponse, DTOIntegrationPostResponse, DTOIntegrationsGetListResponse, DTOLiveblocksAuthRequest, DTOLiveblocksAuthResponse, DTOMoveDocumentationGroupInput, DTOMoveDocumentationPageInputV2, DTONpmRegistryConfig, DTONpmRegistryConfigConstants, DTOPageBlockColorV2, DTOPageBlockDefinition, DTOPageBlockDefinitionBehavior, DTOPageBlockDefinitionItem, DTOPageBlockDefinitionLayout, DTOPageBlockDefinitionProperty, DTOPageBlockDefinitionVariant, DTOPageBlockItemV2, DTOPipeline, DTOPipelineCreateBody, DTOPipelineTriggerBody, DTOPipelineUpdateBody, DTOPropertyDefinitionCreateActionInputV2, DTOPropertyDefinitionCreateActionOutputV2, DTOPropertyDefinitionDeleteActionInputV2, DTOPropertyDefinitionDeleteActionOutputV2, DTOPropertyDefinitionUpdateActionInputV2, DTOPropertyDefinitionUpdateActionOutputV2, DTOPublishDocumentationChanges, DTOPublishDocumentationRequest, DTOPublishDocumentationResponse, DTORenderedAssetFile, DTORestoreDocumentationGroupInput, DTORestoreDocumentationPageInput, DTOUpdateDocumentationGroupInput, DTOUpdateDocumentationPageInputV2, DTOUpdateElementPropertyDefinitionInputV2, DTOUpdateUserNotificationSettingsPayload, DTOUpdateVersionInput, DTOUserNotificationSettingsResponse, DTOUserProfileUpdatePayload, DTOUserProfileUpdateResponse, DTOUserWorkspaceMembership, DTOUserWorkspaceMembershipsResponse, DTOWorkspace, DTOWorkspaceIntegrationGetGitObjectsInput, DTOWorkspaceIntegrationOauthInput, DTOWorkspaceIntegrationPATInput, DTOWorkspaceRole, DocumentationHierarchySettings, DocumentationPageEditorModel, DocumentationPageV1DTO, FrontendVersionRoomYDoc, type ListItemNode, type ListNode, ListTreeBuilder, NpmRegistryInput, ObjectMeta, PageBlockEditorModel, PageSectionEditorModel, type ProsemirrorBlockItem, type ProsemirrorMark, type ProsemirrorNode, VersionRoomBaseYDoc, VersionSQSPayload, WorkspaceConfigurationPayload, applyPrivacyConfigurationToNestedItems, blockToProsemirrorNode, buildDocPagePublishPaths, calculateElementParentChain, documentationItemConfigurationToDTOV1, documentationItemConfigurationToDTOV2, documentationPageToDTOV2, documentationPagesFixedConfigurationToDTOV1, documentationPagesFixedConfigurationToDTOV2, documentationPagesToDTOV1, documentationPagesToDTOV2, elementGroupsToDocumentationGroupDTOV1, elementGroupsToDocumentationGroupDTOV2, elementGroupsToDocumentationGroupFixedConfigurationDTOV1, elementGroupsToDocumentationGroupFixedConfigurationDTOV2, elementGroupsToDocumentationGroupStructureDTOV1, generateHash, generatePageContentHash, getDtoDefaultItemConfigurationV1, getDtoDefaultItemConfigurationV2, getMockPageBlockDefinitions, gitBranchToDto, gitOrganizationToDto, gitProjectToDto, gitRepositoryToDto, integrationCredentialToDto, integrationToDto, itemConfigurationToYjs, pageToProsemirrorDoc, pageToYDoc, pageToYXmlFragment, pipelineToDto, pmSchema, prosemirrorDocToPage, prosemirrorNodeToSection, prosemirrorNodesToBlocks, serializeAsCustomBlock, shallowProsemirrorNodeToBlock, validateDesignSystemVersion, validateSsoPayload, yDocToPage, yXmlFragmentToPage, yjsToDocumentationHierarchy, yjsToItemConfiguration };