@supernova-studio/model 1.9.3 → 1.9.5

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.mjs CHANGED
@@ -307,7 +307,7 @@ var CustomDomain = z16.object({
307
307
  });
308
308
 
309
309
  // src/data-dumps/code-integration-dump.ts
310
- import { z as z161 } from "zod";
310
+ import { z as z162 } from "zod";
311
311
 
312
312
  // src/export/exporter.ts
313
313
  import { z as z20 } from "zod";
@@ -482,10 +482,10 @@ var Exporter = z20.object({
482
482
  });
483
483
 
484
484
  // src/export/pipeline.ts
485
- import { z as z160 } from "zod";
485
+ import { z as z161 } from "zod";
486
486
 
487
487
  // src/export/export-destinations.ts
488
- import { z as z159 } from "zod";
488
+ import { z as z160 } from "zod";
489
489
 
490
490
  // src/dsm/assets/asset-dynamo-record.ts
491
491
  import { z as z21 } from "zod";
@@ -2003,7 +2003,8 @@ var PageBlockTypeV1 = z45.enum([
2003
2003
  "Guidelines",
2004
2004
  "Guideline",
2005
2005
  "FigmaComponents",
2006
- "FigmaComponentPropsTable"
2006
+ "FigmaComponentPropsTable",
2007
+ "File"
2007
2008
  ]);
2008
2009
  var PageBlockCodeLanguage = z45.enum([
2009
2010
  "Angular",
@@ -2215,6 +2216,13 @@ var PageBlockGuideline = z45.object({
2215
2216
  openLightbox: nullishToOptional(z45.boolean()),
2216
2217
  isBordered: nullishToOptional(z45.boolean())
2217
2218
  });
2219
+ var PageBlockFile = z45.object({
2220
+ entityId: z45.string(),
2221
+ entityMeta: z45.object({
2222
+ title: z45.string().optional(),
2223
+ description: z45.string().optional()
2224
+ }).optional()
2225
+ });
2218
2226
  var PageBlockBaseV1 = z45.object({
2219
2227
  persistentId: z45.string(),
2220
2228
  type: PageBlockTypeV1,
@@ -2277,7 +2285,9 @@ var PageBlockBaseV1 = z45.object({
2277
2285
  // Arbitrary
2278
2286
  userMetadata: nullishToOptional(z45.string()),
2279
2287
  // Storybook
2280
- storybookBlockConfig: nullishToOptional(PageBlockStorybookBlockConfig)
2288
+ storybookBlockConfig: nullishToOptional(PageBlockStorybookBlockConfig),
2289
+ // Files
2290
+ files: nullishToOptional(PageBlockFile.array())
2281
2291
  });
2282
2292
  var PageBlockV1 = PageBlockBaseV1.extend({
2283
2293
  children: z45.lazy(
@@ -2448,7 +2458,8 @@ var PageBlockDefinitionPropertyType = z48.enum([
2448
2458
  "Divider",
2449
2459
  "Storybook",
2450
2460
  "Color",
2451
- "FigmaComponent"
2461
+ "FigmaComponent",
2462
+ "File"
2452
2463
  ]);
2453
2464
  var PageBlockDefinitionRichTextPropertyStyle = z48.enum([
2454
2465
  "Title1",
@@ -2823,6 +2834,15 @@ var PageBlockItemTokenValue = z49.object({
2823
2834
  })
2824
2835
  ).default([])
2825
2836
  });
2837
+ var PageBlockItemFileValue = z49.object({
2838
+ value: z49.object({
2839
+ entityId: z49.string(),
2840
+ entityMeta: z49.object({
2841
+ title: z49.string().optional(),
2842
+ description: z49.string().optional()
2843
+ }).optional()
2844
+ }).array()
2845
+ });
2826
2846
  var PageBlockItemTokenPropertyValue = z49.object({
2827
2847
  selectedPropertyIds: z49.array(z49.string()).optional(),
2828
2848
  selectedThemeIds: z49.array(z49.string()).optional(),
@@ -4280,7 +4300,15 @@ var PageBlockCategory = z110.enum([
4280
4300
  "Data",
4281
4301
  "Other"
4282
4302
  ]);
4283
- var PageBlockBehaviorDataType = z110.enum(["Item", "Token", "Asset", "Component", "FigmaNode", "FigmaComponent"]);
4303
+ var PageBlockBehaviorDataType = z110.enum([
4304
+ "Item",
4305
+ "Token",
4306
+ "Asset",
4307
+ "Component",
4308
+ "FigmaNode",
4309
+ "FigmaComponent",
4310
+ "File"
4311
+ ]);
4284
4312
  var PageBlockBehaviorSelectionType = z110.enum(["Entity", "Group", "EntityAndGroup"]);
4285
4313
  var PageBlockDefinitionBehavior = z110.object({
4286
4314
  dataType: PageBlockBehaviorDataType,
@@ -4506,168 +4534,407 @@ function pickLatestGroupSnapshots(snapshots) {
4506
4534
  return pickLatestSnapshots(snapshots, (s) => s.group.id);
4507
4535
  }
4508
4536
 
4509
- // src/dsm/figma-node-renderer/renderer-payload.ts
4537
+ // src/dsm/figma-exporter/figma-exporter.ts
4510
4538
  import { z as z123 } from "zod";
4511
- var FigmaNodeRendererPayload = z123.object({
4512
- designSystemId: z123.string(),
4513
- versionId: z123.string(),
4514
- figmaNodePersistentIds: z123.string().array()
4539
+ var FigmaExporterProcessedStylesSchema = z123.object({
4540
+ display: z123.union([
4541
+ z123.literal("block"),
4542
+ z123.literal("inline-block"),
4543
+ z123.literal("inline"),
4544
+ z123.literal("flex"),
4545
+ z123.literal("grid"),
4546
+ z123.literal("none")
4547
+ ]).optional(),
4548
+ position: z123.union([z123.literal("absolute"), z123.literal("relative"), z123.literal("fixed"), z123.literal("static"), z123.literal("sticky")]).optional(),
4549
+ top: z123.string().optional(),
4550
+ right: z123.string().optional(),
4551
+ bottom: z123.string().optional(),
4552
+ left: z123.string().optional(),
4553
+ width: z123.string().optional(),
4554
+ height: z123.string().optional(),
4555
+ minWidth: z123.string().optional(),
4556
+ minHeight: z123.string().optional(),
4557
+ maxWidth: z123.string().optional(),
4558
+ maxHeight: z123.string().optional(),
4559
+ zIndex: z123.number().optional(),
4560
+ overflow: z123.union([z123.literal("visible"), z123.literal("hidden"), z123.literal("scroll"), z123.literal("auto"), z123.literal("clip")]).optional(),
4561
+ overflowX: z123.union([z123.literal("visible"), z123.literal("hidden"), z123.literal("scroll"), z123.literal("auto"), z123.literal("clip")]).optional(),
4562
+ overflowY: z123.union([z123.literal("visible"), z123.literal("hidden"), z123.literal("scroll"), z123.literal("auto"), z123.literal("clip")]).optional(),
4563
+ aspectRatio: z123.string().optional(),
4564
+ flexDirection: z123.union([z123.literal("row"), z123.literal("row-reverse"), z123.literal("column"), z123.literal("column-reverse")]).optional(),
4565
+ justifyContent: z123.union([
4566
+ z123.literal("flex-start"),
4567
+ z123.literal("flex-end"),
4568
+ z123.literal("center"),
4569
+ z123.literal("space-between"),
4570
+ z123.literal("space-around"),
4571
+ z123.literal("space-evenly")
4572
+ ]).optional(),
4573
+ alignItems: z123.union([
4574
+ z123.literal("stretch"),
4575
+ z123.literal("flex-start"),
4576
+ z123.literal("flex-end"),
4577
+ z123.literal("center"),
4578
+ z123.literal("baseline")
4579
+ ]).optional(),
4580
+ alignSelf: z123.union([
4581
+ z123.literal("auto"),
4582
+ z123.literal("stretch"),
4583
+ z123.literal("flex-start"),
4584
+ z123.literal("flex-end"),
4585
+ z123.literal("center"),
4586
+ z123.literal("baseline")
4587
+ ]).optional(),
4588
+ flexGrow: z123.number().optional(),
4589
+ flexShrink: z123.number().optional(),
4590
+ flexBasis: z123.string().optional(),
4591
+ flexWrap: z123.union([z123.literal("nowrap"), z123.literal("wrap"), z123.literal("wrap-reverse")]).optional(),
4592
+ gap: z123.string().optional(),
4593
+ rowGap: z123.string().optional(),
4594
+ columnGap: z123.string().optional(),
4595
+ gridTemplateColumns: z123.string().optional(),
4596
+ gridTemplateRows: z123.string().optional(),
4597
+ gridColumn: z123.string().optional(),
4598
+ gridRow: z123.string().optional(),
4599
+ gridAutoFlow: z123.union([
4600
+ z123.literal("row"),
4601
+ z123.literal("column"),
4602
+ z123.literal("dense"),
4603
+ z123.literal("row dense"),
4604
+ z123.literal("column dense")
4605
+ ]).optional(),
4606
+ alignContent: z123.union([
4607
+ z123.literal("flex-start"),
4608
+ z123.literal("flex-end"),
4609
+ z123.literal("center"),
4610
+ z123.literal("space-between"),
4611
+ z123.literal("space-around"),
4612
+ z123.literal("stretch")
4613
+ ]).optional(),
4614
+ padding: z123.string().optional(),
4615
+ paddingTop: z123.string().optional(),
4616
+ paddingRight: z123.string().optional(),
4617
+ paddingBottom: z123.string().optional(),
4618
+ paddingLeft: z123.string().optional(),
4619
+ margin: z123.string().optional(),
4620
+ marginTop: z123.string().optional(),
4621
+ marginRight: z123.string().optional(),
4622
+ marginBottom: z123.string().optional(),
4623
+ marginLeft: z123.string().optional(),
4624
+ border: z123.string().optional(),
4625
+ borderWidth: z123.string().optional(),
4626
+ borderStyle: z123.string().optional(),
4627
+ borderColor: z123.string().optional(),
4628
+ borderTop: z123.string().optional(),
4629
+ borderRight: z123.string().optional(),
4630
+ borderBottom: z123.string().optional(),
4631
+ borderLeft: z123.string().optional(),
4632
+ borderRadius: z123.string().optional(),
4633
+ borderTopLeftRadius: z123.string().optional(),
4634
+ borderTopRightRadius: z123.string().optional(),
4635
+ borderBottomRightRadius: z123.string().optional(),
4636
+ borderBottomLeftRadius: z123.string().optional(),
4637
+ backgroundColor: z123.string().optional(),
4638
+ backgroundImage: z123.string().optional(),
4639
+ backgroundSize: z123.string().optional(),
4640
+ backgroundPosition: z123.string().optional(),
4641
+ backgroundRepeat: z123.string().optional(),
4642
+ backgroundClip: z123.union([z123.literal("border-box"), z123.literal("padding-box"), z123.literal("content-box"), z123.literal("text")]).optional(),
4643
+ backgroundOrigin: z123.union([z123.literal("border-box"), z123.literal("padding-box"), z123.literal("content-box")]).optional(),
4644
+ opacity: z123.number().optional(),
4645
+ boxShadow: z123.string().optional(),
4646
+ filter: z123.string().optional(),
4647
+ backdropFilter: z123.string().optional(),
4648
+ mixBlendMode: z123.union([
4649
+ z123.literal("normal"),
4650
+ z123.literal("multiply"),
4651
+ z123.literal("screen"),
4652
+ z123.literal("overlay"),
4653
+ z123.literal("darken"),
4654
+ z123.literal("lighten"),
4655
+ z123.literal("color-dodge"),
4656
+ z123.literal("color-burn"),
4657
+ z123.literal("hard-light"),
4658
+ z123.literal("soft-light"),
4659
+ z123.literal("difference"),
4660
+ z123.literal("exclusion"),
4661
+ z123.literal("hue"),
4662
+ z123.literal("saturation"),
4663
+ z123.literal("color"),
4664
+ z123.literal("luminosity"),
4665
+ z123.literal("plus-lighter")
4666
+ ]).optional(),
4667
+ transform: z123.string().optional(),
4668
+ transformOrigin: z123.string().optional(),
4669
+ clipPath: z123.string().optional(),
4670
+ color: z123.string().optional(),
4671
+ fontFamily: z123.string().optional(),
4672
+ fontSize: z123.string().optional(),
4673
+ fontWeight: z123.union([z123.string(), z123.number()]).optional(),
4674
+ fontStyle: z123.union([z123.literal("normal"), z123.literal("italic"), z123.literal("oblique")]).optional(),
4675
+ fontStretch: z123.string().optional(),
4676
+ fontVariantCaps: z123.union([
4677
+ z123.literal("normal"),
4678
+ z123.literal("small-caps"),
4679
+ z123.literal("all-small-caps"),
4680
+ z123.literal("petite-caps"),
4681
+ z123.literal("all-petite-caps"),
4682
+ z123.literal("unicase"),
4683
+ z123.literal("titling-caps")
4684
+ ]).optional(),
4685
+ lineHeight: z123.union([z123.string(), z123.number()]).optional(),
4686
+ letterSpacing: z123.string().optional(),
4687
+ textAlign: z123.union([
4688
+ z123.literal("left"),
4689
+ z123.literal("center"),
4690
+ z123.literal("right"),
4691
+ z123.literal("justify"),
4692
+ z123.literal("start"),
4693
+ z123.literal("end")
4694
+ ]).optional(),
4695
+ textDecorationLine: z123.union([z123.literal("none"), z123.literal("underline"), z123.literal("overline"), z123.literal("line-through")]).optional(),
4696
+ textDecorationColor: z123.string().optional(),
4697
+ textDecorationStyle: z123.union([z123.literal("solid"), z123.literal("double"), z123.literal("dotted"), z123.literal("dashed"), z123.literal("wavy")]).optional(),
4698
+ textDecorationThickness: z123.string().optional(),
4699
+ textTransform: z123.union([
4700
+ z123.literal("none"),
4701
+ z123.literal("uppercase"),
4702
+ z123.literal("lowercase"),
4703
+ z123.literal("capitalize"),
4704
+ z123.literal("full-width")
4705
+ ]).optional(),
4706
+ whiteSpace: z123.union([
4707
+ z123.literal("normal"),
4708
+ z123.literal("nowrap"),
4709
+ z123.literal("pre"),
4710
+ z123.literal("pre-wrap"),
4711
+ z123.literal("pre-line"),
4712
+ z123.literal("break-spaces")
4713
+ ]).optional(),
4714
+ wordBreak: z123.union([z123.literal("normal"), z123.literal("break-all"), z123.literal("keep-all"), z123.literal("break-word")]).optional(),
4715
+ textOverflow: z123.union([z123.literal("clip"), z123.literal("ellipsis")]).optional(),
4716
+ WebkitLineClamp: z123.number().optional(),
4717
+ WebkitBoxOrient: z123.literal("vertical").optional(),
4718
+ fontFeatureSettings: z123.string().optional(),
4719
+ fill: z123.string().optional(),
4720
+ stroke: z123.string().optional(),
4721
+ strokeWidth: z123.string().optional(),
4722
+ strokeLinecap: z123.union([z123.literal("butt"), z123.literal("round"), z123.literal("square")]).optional(),
4723
+ strokeLinejoin: z123.union([z123.literal("miter"), z123.literal("round"), z123.literal("bevel")]).optional(),
4724
+ strokeDasharray: z123.string().optional(),
4725
+ strokeDashoffset: z123.string().optional(),
4726
+ transition: z123.string().optional(),
4727
+ animation: z123.string().optional(),
4728
+ cursor: z123.string().optional(),
4729
+ userSelect: z123.union([z123.literal("auto"), z123.literal("none"), z123.literal("text"), z123.literal("all")]).optional(),
4730
+ pointerEvents: z123.union([
4731
+ z123.literal("auto"),
4732
+ z123.literal("none"),
4733
+ z123.literal("visiblePainted"),
4734
+ z123.literal("visibleFill"),
4735
+ z123.literal("visibleStroke"),
4736
+ z123.literal("visible"),
4737
+ z123.literal("painted"),
4738
+ z123.literal("fill"),
4739
+ z123.literal("stroke"),
4740
+ z123.literal("all"),
4741
+ z123.literal("inherit")
4742
+ ]).optional(),
4743
+ visibility: z123.union([z123.literal("visible"), z123.literal("hidden"), z123.literal("collapse")]).optional()
4744
+ });
4745
+ var FigmaExporterDesignNodeTypeSchema = z123.union([z123.literal("FRAME"), z123.literal("TEXT"), z123.literal("SVG")]);
4746
+ var baseDesignNodeObjectSchema = z123.object({
4747
+ id: z123.string(),
4748
+ type: FigmaExporterDesignNodeTypeSchema,
4749
+ parentId: z123.string().nullable(),
4750
+ styles: FigmaExporterProcessedStylesSchema.partial()
4751
+ });
4752
+ var frameNodeObjectSchema = baseDesignNodeObjectSchema.extend({
4753
+ type: z123.literal("FRAME")
4515
4754
  });
4755
+ var textNodeObjectSchema = baseDesignNodeObjectSchema.extend({
4756
+ type: z123.literal("TEXT"),
4757
+ characters: z123.string()
4758
+ });
4759
+ var svgNodeObjectSchema = baseDesignNodeObjectSchema.extend({
4760
+ type: z123.literal("SVG"),
4761
+ svgString: z123.string()
4762
+ });
4763
+ var frameNodeSchema = z123.lazy(
4764
+ () => frameNodeObjectSchema.extend({
4765
+ children: FigmaExporterAnyDesignNodeSchema.array()
4766
+ })
4767
+ );
4768
+ var textNodeSchema = textNodeObjectSchema;
4769
+ var svgNodeSchema = z123.lazy(
4770
+ () => svgNodeObjectSchema.extend({
4771
+ children: FigmaExporterAnyDesignNodeSchema.array()
4772
+ })
4773
+ );
4774
+ var FigmaExporterAnyDesignNodeSchema = z123.union([frameNodeSchema, textNodeSchema, svgNodeSchema]);
4516
4775
 
4517
- // src/dsm/figma-node-structures/structure-data.ts
4776
+ // src/dsm/figma-node-renderer/renderer-payload.ts
4518
4777
  import { z as z124 } from "zod";
4519
- var FigmaNodeStructureDataV2 = z124.object({
4778
+ var FigmaNodeRendererPayload = z124.object({
4779
+ designSystemId: z124.string(),
4780
+ versionId: z124.string(),
4781
+ figmaNodePersistentIds: z124.string().array()
4782
+ });
4783
+
4784
+ // src/dsm/figma-node-structures/structure-data.ts
4785
+ import { z as z125 } from "zod";
4786
+ var FigmaNodeStructureDataV2 = z125.object({
4520
4787
  rootNode: FigmaFileStructureNodeImportModel,
4521
- assetsInFile: z124.object({
4522
- components: z124.number(),
4523
- componentSets: z124.number(),
4524
- frames: z124.number()
4788
+ assetsInFile: z125.object({
4789
+ components: z125.number(),
4790
+ componentSets: z125.number(),
4791
+ frames: z125.number()
4525
4792
  })
4526
4793
  });
4527
4794
 
4528
4795
  // src/dsm/figma-node-structures/structure.ts
4529
- import { z as z125 } from "zod";
4530
- var FigmaNodeStructureStateV2 = z125.enum(["InProgress", "Success", "Failed"]);
4531
- var FigmaNodeStructureV2 = z125.object({
4532
- id: z125.string(),
4533
- designSystemId: z125.string(),
4534
- sourceId: z125.string(),
4535
- storagePath: z125.string().optional(),
4536
- createdAt: z125.coerce.date(),
4537
- updatedAt: z125.coerce.date(),
4796
+ import { z as z126 } from "zod";
4797
+ var FigmaNodeStructureStateV2 = z126.enum(["InProgress", "Success", "Failed"]);
4798
+ var FigmaNodeStructureV2 = z126.object({
4799
+ id: z126.string(),
4800
+ designSystemId: z126.string(),
4801
+ sourceId: z126.string(),
4802
+ storagePath: z126.string().optional(),
4803
+ createdAt: z126.coerce.date(),
4804
+ updatedAt: z126.coerce.date(),
4538
4805
  importState: FigmaNodeStructureStateV2,
4539
- error: z125.string().optional(),
4540
- chunkSize: z125.number().optional(),
4806
+ error: z126.string().optional(),
4807
+ chunkSize: z126.number().optional(),
4541
4808
  // TODO Artem: remove after migration
4542
- isFromLegacyStorage: z125.boolean()
4809
+ isFromLegacyStorage: z126.boolean()
4543
4810
  });
4544
4811
 
4545
4812
  // src/dsm/membership/design-system-membership.ts
4546
- import { z as z147 } from "zod";
4813
+ import { z as z148 } from "zod";
4547
4814
 
4548
4815
  // src/workspace/npm-registry-settings.ts
4549
- import { z as z126 } from "zod";
4550
- var NpmRegistryAuthType = z126.enum(["Basic", "Bearer", "None", "Custom"]);
4551
- var NpmRegistryType = z126.enum(["NPMJS", "GitHub", "AzureDevOps", "Artifactory", "Custom"]);
4552
- var NpmRegistryBasicAuthConfig = z126.object({
4553
- authType: z126.literal(NpmRegistryAuthType.Enum.Basic),
4554
- username: z126.string(),
4555
- password: z126.string()
4556
- });
4557
- var NpmRegistryBearerAuthConfig = z126.object({
4558
- authType: z126.literal(NpmRegistryAuthType.Enum.Bearer),
4559
- accessToken: z126.string()
4560
- });
4561
- var NpmRegistryNoAuthConfig = z126.object({
4562
- authType: z126.literal(NpmRegistryAuthType.Enum.None)
4563
- });
4564
- var NpmRegistrCustomAuthConfig = z126.object({
4565
- authType: z126.literal(NpmRegistryAuthType.Enum.Custom),
4566
- authHeaderName: z126.string(),
4567
- authHeaderValue: z126.string()
4568
- });
4569
- var NpmRegistryAuthConfig = z126.discriminatedUnion("authType", [
4816
+ import { z as z127 } from "zod";
4817
+ var NpmRegistryAuthType = z127.enum(["Basic", "Bearer", "None", "Custom"]);
4818
+ var NpmRegistryType = z127.enum(["NPMJS", "GitHub", "AzureDevOps", "Artifactory", "Custom"]);
4819
+ var NpmRegistryBasicAuthConfig = z127.object({
4820
+ authType: z127.literal(NpmRegistryAuthType.Enum.Basic),
4821
+ username: z127.string(),
4822
+ password: z127.string()
4823
+ });
4824
+ var NpmRegistryBearerAuthConfig = z127.object({
4825
+ authType: z127.literal(NpmRegistryAuthType.Enum.Bearer),
4826
+ accessToken: z127.string()
4827
+ });
4828
+ var NpmRegistryNoAuthConfig = z127.object({
4829
+ authType: z127.literal(NpmRegistryAuthType.Enum.None)
4830
+ });
4831
+ var NpmRegistrCustomAuthConfig = z127.object({
4832
+ authType: z127.literal(NpmRegistryAuthType.Enum.Custom),
4833
+ authHeaderName: z127.string(),
4834
+ authHeaderValue: z127.string()
4835
+ });
4836
+ var NpmRegistryAuthConfig = z127.discriminatedUnion("authType", [
4570
4837
  NpmRegistryBasicAuthConfig,
4571
4838
  NpmRegistryBearerAuthConfig,
4572
4839
  NpmRegistryNoAuthConfig,
4573
4840
  NpmRegistrCustomAuthConfig
4574
4841
  ]);
4575
- var NpmRegistryConfigBase = z126.object({
4842
+ var NpmRegistryConfigBase = z127.object({
4576
4843
  registryType: NpmRegistryType,
4577
- enabledScopes: z126.array(z126.string()),
4578
- customRegistryUrl: z126.string().optional(),
4579
- bypassProxy: z126.boolean().default(false),
4580
- npmProxyRegistryConfigId: z126.string().optional(),
4581
- npmProxyVersion: z126.number().optional()
4844
+ enabledScopes: z127.array(z127.string()),
4845
+ customRegistryUrl: z127.string().optional(),
4846
+ bypassProxy: z127.boolean().default(false),
4847
+ npmProxyRegistryConfigId: z127.string().optional(),
4848
+ npmProxyVersion: z127.number().optional()
4582
4849
  });
4583
4850
  var NpmRegistryConfig = NpmRegistryConfigBase.and(NpmRegistryAuthConfig);
4584
4851
 
4585
4852
  // src/workspace/sso-provider.ts
4586
- import { z as z127 } from "zod";
4587
- var SsoProvider = z127.object({
4588
- providerId: z127.string(),
4589
- defaultAutoInviteValue: z127.boolean(),
4590
- autoInviteDomains: z127.record(z127.string(), z127.boolean()),
4591
- skipDocsSupernovaLogin: z127.boolean(),
4592
- areInvitesDisabled: z127.boolean(),
4593
- isTestMode: z127.boolean(),
4594
- emailDomains: z127.array(z127.string()),
4595
- metadataXml: z127.string().nullish()
4853
+ import { z as z128 } from "zod";
4854
+ var SsoProvider = z128.object({
4855
+ providerId: z128.string(),
4856
+ defaultAutoInviteValue: z128.boolean(),
4857
+ autoInviteDomains: z128.record(z128.string(), z128.boolean()),
4858
+ skipDocsSupernovaLogin: z128.boolean(),
4859
+ areInvitesDisabled: z128.boolean(),
4860
+ isTestMode: z128.boolean(),
4861
+ emailDomains: z128.array(z128.string()),
4862
+ metadataXml: z128.string().nullish()
4596
4863
  });
4597
4864
 
4598
4865
  // src/workspace/untyped-data.ts
4599
- import { z as z128 } from "zod";
4600
- var WorkspaceUntypedData = z128.object({
4601
- id: z128.string(),
4602
- workspaceId: z128.string(),
4603
- value: z128.unknown(),
4604
- createdAt: z128.coerce.date(),
4605
- updatedAt: z128.coerce.date()
4866
+ import { z as z129 } from "zod";
4867
+ var WorkspaceUntypedData = z129.object({
4868
+ id: z129.string(),
4869
+ workspaceId: z129.string(),
4870
+ value: z129.unknown(),
4871
+ createdAt: z129.coerce.date(),
4872
+ updatedAt: z129.coerce.date()
4606
4873
  });
4607
4874
 
4608
4875
  // src/workspace/user-invite.ts
4609
- import { z as z130 } from "zod";
4876
+ import { z as z131 } from "zod";
4610
4877
 
4611
4878
  // src/workspace/workspace-role.ts
4612
- import { z as z129 } from "zod";
4613
- var WorkspaceRoleSchema = z129.enum(["Owner", "Admin", "Creator", "Viewer", "Billing", "Guest", "Contributor"]);
4879
+ import { z as z130 } from "zod";
4880
+ var WorkspaceRoleSchema = z130.enum(["Owner", "Admin", "Creator", "Viewer", "Billing", "Guest", "Contributor"]);
4614
4881
  var WorkspaceRole = WorkspaceRoleSchema.enum;
4615
4882
 
4616
4883
  // src/workspace/user-invite.ts
4617
4884
  var MAX_MEMBERS_COUNT = 100;
4618
- var UserInvite = z130.object({
4619
- email: z130.string().email().trim().transform((value) => value.toLowerCase()),
4885
+ var UserInvite = z131.object({
4886
+ email: z131.string().email().trim().transform((value) => value.toLowerCase()),
4620
4887
  role: WorkspaceRoleSchema
4621
4888
  });
4622
- var UserInvites = z130.array(UserInvite).max(MAX_MEMBERS_COUNT);
4889
+ var UserInvites = z131.array(UserInvite).max(MAX_MEMBERS_COUNT);
4623
4890
 
4624
4891
  // src/workspace/workspace-configuration.ts
4625
- import { z as z132 } from "zod";
4892
+ import { z as z133 } from "zod";
4626
4893
 
4627
4894
  // src/workspace/workspace.ts
4628
4895
  import IPCIDR from "ip-cidr";
4629
- import { z as z131 } from "zod";
4896
+ import { z as z132 } from "zod";
4630
4897
  var isValidCIDR = (value) => {
4631
4898
  return IPCIDR.isValidAddress(value);
4632
4899
  };
4633
- var WorkspaceIpWhitelistEntry = z131.object({
4634
- isEnabled: z131.boolean(),
4635
- name: z131.string(),
4636
- range: z131.string().refine(isValidCIDR, {
4900
+ var WorkspaceIpWhitelistEntry = z132.object({
4901
+ isEnabled: z132.boolean(),
4902
+ name: z132.string(),
4903
+ range: z132.string().refine(isValidCIDR, {
4637
4904
  message: "Invalid IP CIDR"
4638
4905
  })
4639
4906
  });
4640
- var WorkspaceIpSettings = z131.object({
4641
- isEnabledForCloud: z131.boolean(),
4642
- isEnabledForDocs: z131.boolean(),
4643
- entries: z131.array(WorkspaceIpWhitelistEntry)
4907
+ var WorkspaceIpSettings = z132.object({
4908
+ isEnabledForCloud: z132.boolean(),
4909
+ isEnabledForDocs: z132.boolean(),
4910
+ entries: z132.array(WorkspaceIpWhitelistEntry)
4644
4911
  });
4645
- var WorkspaceProfile = z131.object({
4646
- name: z131.string(),
4647
- handle: z131.string(),
4648
- color: z131.string(),
4649
- avatar: nullishToOptional(z131.string()),
4912
+ var WorkspaceProfile = z132.object({
4913
+ name: z132.string(),
4914
+ handle: z132.string(),
4915
+ color: z132.string(),
4916
+ avatar: nullishToOptional(z132.string()),
4650
4917
  billingDetails: nullishToOptional(BillingDetails)
4651
4918
  });
4652
4919
  var WorkspaceProfileUpdate = WorkspaceProfile.omit({
4653
4920
  avatar: true
4654
4921
  });
4655
- var Workspace = z131.object({
4656
- id: z131.string(),
4922
+ var Workspace = z132.object({
4923
+ id: z132.string(),
4657
4924
  profile: WorkspaceProfile,
4658
4925
  subscription: Subscription,
4659
4926
  ipWhitelist: nullishToOptional(WorkspaceIpSettings),
4660
4927
  sso: nullishToOptional(SsoProvider),
4661
4928
  npmRegistrySettings: nullishToOptional(NpmRegistryConfig)
4662
4929
  });
4663
- var WorkspaceWithDesignSystems = z131.object({
4930
+ var WorkspaceWithDesignSystems = z132.object({
4664
4931
  workspace: Workspace,
4665
- designSystems: z131.array(DesignSystem)
4932
+ designSystems: z132.array(DesignSystem)
4666
4933
  });
4667
4934
 
4668
4935
  // src/workspace/workspace-configuration.ts
4669
- var WorkspaceConfigurationUpdate = z132.object({
4670
- id: z132.string(),
4936
+ var WorkspaceConfigurationUpdate = z133.object({
4937
+ id: z133.string(),
4671
4938
  ipWhitelist: WorkspaceIpSettings.optional(),
4672
4939
  sso: SsoProvider.optional(),
4673
4940
  npmRegistrySettings: NpmRegistryConfig.optional(),
@@ -4675,59 +4942,59 @@ var WorkspaceConfigurationUpdate = z132.object({
4675
4942
  });
4676
4943
 
4677
4944
  // src/workspace/workspace-context.ts
4678
- import { z as z133 } from "zod";
4679
- var WorkspaceContext = z133.object({
4680
- workspaceId: z133.string(),
4945
+ import { z as z134 } from "zod";
4946
+ var WorkspaceContext = z134.object({
4947
+ workspaceId: z134.string(),
4681
4948
  product: ProductCodeSchema,
4682
4949
  ipWhitelist: nullishToOptional(WorkspaceIpSettings),
4683
- publicDesignSystem: z133.boolean().optional()
4950
+ publicDesignSystem: z134.boolean().optional()
4684
4951
  });
4685
4952
 
4686
4953
  // src/workspace/workspace-create.ts
4687
- import { z as z134 } from "zod";
4954
+ import { z as z135 } from "zod";
4688
4955
  var WORKSPACE_NAME_MIN_LENGTH = 2;
4689
4956
  var WORKSPACE_NAME_MAX_LENGTH = 64;
4690
4957
  var HANDLE_MIN_LENGTH = 2;
4691
4958
  var HANDLE_MAX_LENGTH = 64;
4692
- var CreateWorkspaceInput = z134.object({
4693
- name: z134.string().min(WORKSPACE_NAME_MIN_LENGTH).max(WORKSPACE_NAME_MAX_LENGTH).trim(),
4694
- handle: z134.string().regex(slugRegex).min(HANDLE_MIN_LENGTH).max(HANDLE_MAX_LENGTH).refine((value) => value?.length > 0).optional()
4959
+ var CreateWorkspaceInput = z135.object({
4960
+ name: z135.string().min(WORKSPACE_NAME_MIN_LENGTH).max(WORKSPACE_NAME_MAX_LENGTH).trim(),
4961
+ handle: z135.string().regex(slugRegex).min(HANDLE_MIN_LENGTH).max(HANDLE_MAX_LENGTH).refine((value) => value?.length > 0).optional()
4695
4962
  });
4696
4963
 
4697
4964
  // src/workspace/workspace-invitations.ts
4698
- import { z as z135 } from "zod";
4699
- var WorkspaceInvitation = z135.object({
4700
- id: z135.string(),
4701
- email: z135.string().email(),
4702
- createdAt: z135.coerce.date(),
4703
- resentAt: z135.coerce.date().nullish(),
4704
- role: z135.nativeEnum(WorkspaceRole),
4705
- workspaceId: z135.string(),
4706
- invitedBy: z135.string()
4965
+ import { z as z136 } from "zod";
4966
+ var WorkspaceInvitation = z136.object({
4967
+ id: z136.string(),
4968
+ email: z136.string().email(),
4969
+ createdAt: z136.coerce.date(),
4970
+ resentAt: z136.coerce.date().nullish(),
4971
+ role: z136.nativeEnum(WorkspaceRole),
4972
+ workspaceId: z136.string(),
4973
+ invitedBy: z136.string()
4707
4974
  });
4708
4975
 
4709
4976
  // src/workspace/workspace-membership.ts
4710
- import { z as z144 } from "zod";
4977
+ import { z as z145 } from "zod";
4711
4978
 
4712
4979
  // src/users/linked-integrations.ts
4713
- import { z as z136 } from "zod";
4714
- var IntegrationAuthType = z136.union([z136.literal("OAuth2"), z136.literal("PAT")]);
4715
- var ExternalServiceType = z136.union([
4716
- z136.literal("figma"),
4717
- z136.literal("github"),
4718
- z136.literal("azure"),
4719
- z136.literal("gitlab"),
4720
- z136.literal("bitbucket")
4980
+ import { z as z137 } from "zod";
4981
+ var IntegrationAuthType = z137.union([z137.literal("OAuth2"), z137.literal("PAT")]);
4982
+ var ExternalServiceType = z137.union([
4983
+ z137.literal("figma"),
4984
+ z137.literal("github"),
4985
+ z137.literal("azure"),
4986
+ z137.literal("gitlab"),
4987
+ z137.literal("bitbucket")
4721
4988
  ]);
4722
- var IntegrationUserInfo = z136.object({
4723
- id: z136.string(),
4724
- handle: z136.string().optional(),
4725
- avatarUrl: z136.string().optional(),
4726
- email: z136.string().optional(),
4989
+ var IntegrationUserInfo = z137.object({
4990
+ id: z137.string(),
4991
+ handle: z137.string().optional(),
4992
+ avatarUrl: z137.string().optional(),
4993
+ email: z137.string().optional(),
4727
4994
  authType: IntegrationAuthType.optional(),
4728
- customUrl: z136.string().optional()
4995
+ customUrl: z137.string().optional()
4729
4996
  });
4730
- var UserLinkedIntegrations = z136.object({
4997
+ var UserLinkedIntegrations = z137.object({
4731
4998
  figma: IntegrationUserInfo.optional(),
4732
4999
  github: IntegrationUserInfo.array().optional(),
4733
5000
  azure: IntegrationUserInfo.array().optional(),
@@ -4736,38 +5003,38 @@ var UserLinkedIntegrations = z136.object({
4736
5003
  });
4737
5004
 
4738
5005
  // src/users/user-analytics-cleanup-schedule.ts
4739
- import { z as z137 } from "zod";
4740
- var UserAnalyticsCleanupSchedule = z137.object({
4741
- userId: z137.string(),
4742
- createdAt: z137.coerce.date(),
4743
- deleteAt: z137.coerce.date()
5006
+ import { z as z138 } from "zod";
5007
+ var UserAnalyticsCleanupSchedule = z138.object({
5008
+ userId: z138.string(),
5009
+ createdAt: z138.coerce.date(),
5010
+ deleteAt: z138.coerce.date()
4744
5011
  });
4745
5012
  var UserAnalyticsCleanupScheduleDbInput = UserAnalyticsCleanupSchedule.omit({
4746
5013
  createdAt: true
4747
5014
  });
4748
5015
 
4749
5016
  // src/users/user-identity.ts
4750
- import { z as z138 } from "zod";
4751
- var UserIdentity = z138.object({
4752
- id: z138.string(),
4753
- userId: z138.string()
5017
+ import { z as z139 } from "zod";
5018
+ var UserIdentity = z139.object({
5019
+ id: z139.string(),
5020
+ userId: z139.string()
4754
5021
  });
4755
5022
 
4756
5023
  // src/users/user-minified.ts
4757
- import { z as z139 } from "zod";
4758
- var UserMinified = z139.object({
4759
- id: z139.string(),
4760
- name: z139.string(),
4761
- email: z139.string(),
4762
- avatar: z139.string().optional()
5024
+ import { z as z140 } from "zod";
5025
+ var UserMinified = z140.object({
5026
+ id: z140.string(),
5027
+ name: z140.string(),
5028
+ email: z140.string(),
5029
+ avatar: z140.string().optional()
4763
5030
  });
4764
5031
 
4765
5032
  // src/users/user-notification-settings.ts
4766
- import { z as z140 } from "zod";
4767
- var LiveblocksNotificationSettings = z140.object({
4768
- sendCommentNotificationEmails: z140.boolean()
5033
+ import { z as z141 } from "zod";
5034
+ var LiveblocksNotificationSettings = z141.object({
5035
+ sendCommentNotificationEmails: z141.boolean()
4769
5036
  });
4770
- var UserNotificationSettings = z140.object({
5037
+ var UserNotificationSettings = z141.object({
4771
5038
  liveblocksNotificationSettings: LiveblocksNotificationSettings
4772
5039
  });
4773
5040
  var defaultNotificationSettings = {
@@ -4777,11 +5044,11 @@ var defaultNotificationSettings = {
4777
5044
  };
4778
5045
 
4779
5046
  // src/users/user-profile.ts
4780
- import { z as z141 } from "zod";
4781
- var UserOnboardingDepartment = z141.enum(["Design", "Engineering", "Product", "Brand", "Other"]);
4782
- var UserOnboardingJobLevel = z141.enum(["Executive", "Manager", "IndividualContributor", "Other"]);
4783
- var UserTheme = z141.object({
4784
- preset: z141.enum([
5047
+ import { z as z142 } from "zod";
5048
+ var UserOnboardingDepartment = z142.enum(["Design", "Engineering", "Product", "Brand", "Other"]);
5049
+ var UserOnboardingJobLevel = z142.enum(["Executive", "Manager", "IndividualContributor", "Other"]);
5050
+ var UserTheme = z142.object({
5051
+ preset: z142.enum([
4785
5052
  "Custom",
4786
5053
  "Default",
4787
5054
  "HighContrast",
@@ -4792,32 +5059,32 @@ var UserTheme = z141.object({
4792
5059
  "SystemPreference",
4793
5060
  "Sepia"
4794
5061
  ]).optional(),
4795
- backgroundColor: z141.string().optional(),
4796
- accentColor: z141.string().optional(),
4797
- contrast: z141.number().min(16).max(100).optional(),
4798
- isSecondaryEnabled: z141.boolean().optional(),
4799
- secondaryBackgroundColor: z141.string().optional(),
4800
- secondaryContrast: z141.number().min(16).max(100).optional(),
4801
- isEditorWhite: z141.boolean().optional()
4802
- });
4803
- var UserOnboarding = z141.object({
4804
- companyName: z141.string().optional(),
4805
- numberOfPeopleInOrg: z141.string().optional(),
4806
- numberOfPeopleInDesignTeam: z141.string().optional(),
5062
+ backgroundColor: z142.string().optional(),
5063
+ accentColor: z142.string().optional(),
5064
+ contrast: z142.number().min(16).max(100).optional(),
5065
+ isSecondaryEnabled: z142.boolean().optional(),
5066
+ secondaryBackgroundColor: z142.string().optional(),
5067
+ secondaryContrast: z142.number().min(16).max(100).optional(),
5068
+ isEditorWhite: z142.boolean().optional()
5069
+ });
5070
+ var UserOnboarding = z142.object({
5071
+ companyName: z142.string().optional(),
5072
+ numberOfPeopleInOrg: z142.string().optional(),
5073
+ numberOfPeopleInDesignTeam: z142.string().optional(),
4807
5074
  department: UserOnboardingDepartment.optional(),
4808
- jobTitle: z141.string().optional(),
4809
- phase: z141.string().optional(),
5075
+ jobTitle: z142.string().optional(),
5076
+ phase: z142.string().optional(),
4810
5077
  jobLevel: UserOnboardingJobLevel.optional(),
4811
- designSystemName: z141.string().optional(),
4812
- defaultDestination: z141.string().optional(),
4813
- figmaUrl: z141.string().optional(),
4814
- isPageDraftOnboardingFinished: z141.boolean().optional(),
4815
- isApprovalsOnboardingFinished: z141.boolean().optional()
4816
- });
4817
- var UserProfile = z141.object({
4818
- name: z141.string(),
4819
- avatar: z141.string().optional(),
4820
- nickname: z141.string().optional(),
5078
+ designSystemName: z142.string().optional(),
5079
+ defaultDestination: z142.string().optional(),
5080
+ figmaUrl: z142.string().optional(),
5081
+ isPageDraftOnboardingFinished: z142.boolean().optional(),
5082
+ isApprovalsOnboardingFinished: z142.boolean().optional()
5083
+ });
5084
+ var UserProfile = z142.object({
5085
+ name: z142.string(),
5086
+ avatar: z142.string().optional(),
5087
+ nickname: z142.string().optional(),
4821
5088
  onboarding: UserOnboarding.optional(),
4822
5089
  theme: UserTheme.optional()
4823
5090
  });
@@ -4826,47 +5093,47 @@ var UserProfileUpdate = UserProfile.partial().omit({
4826
5093
  });
4827
5094
 
4828
5095
  // src/users/user-test.ts
4829
- import { z as z142 } from "zod";
4830
- var UserTest = z142.object({
4831
- id: z142.string(),
4832
- email: z142.string()
5096
+ import { z as z143 } from "zod";
5097
+ var UserTest = z143.object({
5098
+ id: z143.string(),
5099
+ email: z143.string()
4833
5100
  });
4834
5101
 
4835
5102
  // src/users/user.ts
4836
- import { z as z143 } from "zod";
4837
- var UserSource = z143.enum(["SignUp", "Invite", "SSO"]);
4838
- var User = z143.object({
4839
- id: z143.string(),
4840
- email: z143.string(),
4841
- createdAt: z143.coerce.date(),
5103
+ import { z as z144 } from "zod";
5104
+ var UserSource = z144.enum(["SignUp", "Invite", "SSO"]);
5105
+ var User = z144.object({
5106
+ id: z144.string(),
5107
+ email: z144.string(),
5108
+ createdAt: z144.coerce.date(),
4842
5109
  profile: UserProfile,
4843
- loggedOutAt: z143.coerce.date().optional(),
4844
- isProtected: z143.boolean(),
5110
+ loggedOutAt: z144.coerce.date().optional(),
5111
+ isProtected: z144.boolean(),
4845
5112
  source: UserSource.optional()
4846
5113
  });
4847
5114
 
4848
5115
  // src/workspace/workspace-membership.ts
4849
- var WorkspaceMembership = z144.object({
4850
- id: z144.string(),
4851
- userId: z144.string(),
4852
- workspaceId: z144.string(),
4853
- workspaceRole: z144.nativeEnum(WorkspaceRole),
5116
+ var WorkspaceMembership = z145.object({
5117
+ id: z145.string(),
5118
+ userId: z145.string(),
5119
+ workspaceId: z145.string(),
5120
+ workspaceRole: z145.nativeEnum(WorkspaceRole),
4854
5121
  notificationSettings: UserNotificationSettings,
4855
- isPrimaryOwner: z144.boolean().nullish()
4856
- });
4857
- var UpdateMembershipRolesInput = z144.object({
4858
- members: z144.array(
4859
- z144.object({
4860
- userId: z144.string(),
4861
- role: z144.nativeEnum(WorkspaceRole),
4862
- isPrimaryOwner: z144.boolean().optional()
5122
+ isPrimaryOwner: z145.boolean().nullish()
5123
+ });
5124
+ var UpdateMembershipRolesInput = z145.object({
5125
+ members: z145.array(
5126
+ z145.object({
5127
+ userId: z145.string(),
5128
+ role: z145.nativeEnum(WorkspaceRole),
5129
+ isPrimaryOwner: z145.boolean().optional()
4863
5130
  })
4864
5131
  )
4865
5132
  });
4866
5133
 
4867
5134
  // src/dsm/membership/ds-role.ts
4868
- import { z as z145 } from "zod";
4869
- var DesignSystemRole = z145.enum([
5135
+ import { z as z146 } from "zod";
5136
+ var DesignSystemRole = z146.enum([
4870
5137
  WorkspaceRole.Admin,
4871
5138
  WorkspaceRole.Contributor,
4872
5139
  WorkspaceRole.Creator,
@@ -4890,46 +5157,46 @@ function workspaceRoleToDesignSystemRole(role) {
4890
5157
  }
4891
5158
 
4892
5159
  // src/dsm/membership/invitations.ts
4893
- import { z as z146 } from "zod";
4894
- var DesignSystemInvitation = z146.object({
4895
- id: z146.string(),
4896
- designSystemId: z146.string(),
4897
- workspaceInvitationId: z146.string(),
5160
+ import { z as z147 } from "zod";
5161
+ var DesignSystemInvitation = z147.object({
5162
+ id: z147.string(),
5163
+ designSystemId: z147.string(),
5164
+ workspaceInvitationId: z147.string(),
4898
5165
  designSystemRole: DesignSystemRole.optional(),
4899
5166
  workspaceRole: WorkspaceRoleSchema
4900
5167
  });
4901
5168
 
4902
5169
  // src/dsm/membership/design-system-membership.ts
4903
- var DesignSystemMembership = z147.object({
4904
- id: z147.string(),
4905
- userId: z147.string(),
4906
- designSystemId: z147.string(),
5170
+ var DesignSystemMembership = z148.object({
5171
+ id: z148.string(),
5172
+ userId: z148.string(),
5173
+ designSystemId: z148.string(),
4907
5174
  designSystemRole: DesignSystemRole.optional(),
4908
- workspaceMembershipId: z147.string(),
5175
+ workspaceMembershipId: z148.string(),
4909
5176
  workspaceRole: WorkspaceRoleSchema
4910
5177
  });
4911
- var DesignSystemMembers = z147.object({
5178
+ var DesignSystemMembers = z148.object({
4912
5179
  members: DesignSystemMembership.array(),
4913
5180
  invitations: DesignSystemInvitation.array()
4914
5181
  });
4915
- var DesignSystemPendingMemberInvitation = z147.object({
4916
- inviteId: z147.string(),
5182
+ var DesignSystemPendingMemberInvitation = z148.object({
5183
+ inviteId: z148.string(),
4917
5184
  /**
4918
5185
  * Role that the user will have in the design system, undefined
4919
5186
  * if it should be inherited from the workspace
4920
5187
  */
4921
5188
  designSystemRole: DesignSystemRole.optional()
4922
5189
  });
4923
- var DesignSystemUserInvitation = z147.object({
4924
- userId: z147.string(),
5190
+ var DesignSystemUserInvitation = z148.object({
5191
+ userId: z148.string(),
4925
5192
  /**
4926
5193
  * Role that the user will have in the design system, undefined
4927
5194
  * if it should be inherited from the workspace
4928
5195
  */
4929
5196
  designSystemRole: DesignSystemRole.optional()
4930
5197
  });
4931
- var DesignSystemInvite = z147.object({
4932
- email: z147.string(),
5198
+ var DesignSystemInvite = z148.object({
5199
+ email: z148.string(),
4933
5200
  workspaceRole: WorkspaceRoleSchema,
4934
5201
  /**
4935
5202
  * Role that the user will have in the design system, undefined
@@ -4937,319 +5204,319 @@ var DesignSystemInvite = z147.object({
4937
5204
  */
4938
5205
  designSystemRole: DesignSystemRole.optional()
4939
5206
  });
4940
- var DesignSystemMemberUpdate = z147.object({
4941
- userId: z147.string(),
5207
+ var DesignSystemMemberUpdate = z148.object({
5208
+ userId: z148.string(),
4942
5209
  designSystemRole: DesignSystemRole.nullable()
4943
5210
  });
4944
- var DesignSystemInviteUpdate = z147.object({
5211
+ var DesignSystemInviteUpdate = z148.object({
4945
5212
  /**
4946
5213
  * Workspace invitation id
4947
5214
  */
4948
- inviteId: z147.string(),
5215
+ inviteId: z148.string(),
4949
5216
  designSystemRole: DesignSystemRole.nullable()
4950
5217
  });
4951
- var DesignSystemMembershipUpdates = z147.object({
5218
+ var DesignSystemMembershipUpdates = z148.object({
4952
5219
  usersToInvite: DesignSystemUserInvitation.array().optional(),
4953
5220
  invitesToInvite: DesignSystemPendingMemberInvitation.array().optional(),
4954
5221
  emailsToInvite: DesignSystemInvite.array().optional(),
4955
5222
  usersToUpdate: DesignSystemMemberUpdate.array().optional(),
4956
5223
  invitesToUpdate: DesignSystemInviteUpdate.array().optional(),
4957
- removeUserIds: z147.string().array().optional(),
4958
- deleteInvitationIds: z147.string().array().optional()
5224
+ removeUserIds: z148.string().array().optional(),
5225
+ deleteInvitationIds: z148.string().array().optional()
4959
5226
  });
4960
5227
 
4961
5228
  // src/dsm/views/column.ts
4962
- import { z as z148 } from "zod";
4963
- var ElementViewBaseColumnType = z148.enum(["Name", "Description", "Value", "UpdatedAt"]);
4964
- var ElementViewColumnType = z148.union([
4965
- z148.literal("BaseProperty"),
4966
- z148.literal("PropertyDefinition"),
4967
- z148.literal("Theme")
5229
+ import { z as z149 } from "zod";
5230
+ var ElementViewBaseColumnType = z149.enum(["Name", "Description", "Value", "UpdatedAt"]);
5231
+ var ElementViewColumnType = z149.union([
5232
+ z149.literal("BaseProperty"),
5233
+ z149.literal("PropertyDefinition"),
5234
+ z149.literal("Theme")
4968
5235
  ]);
4969
- var ElementViewColumnSharedAttributes = z148.object({
4970
- id: z148.string(),
4971
- persistentId: z148.string(),
4972
- elementDataViewId: z148.string(),
4973
- sortPosition: z148.number(),
4974
- width: z148.number()
5236
+ var ElementViewColumnSharedAttributes = z149.object({
5237
+ id: z149.string(),
5238
+ persistentId: z149.string(),
5239
+ elementDataViewId: z149.string(),
5240
+ sortPosition: z149.number(),
5241
+ width: z149.number()
4975
5242
  });
4976
5243
  var ElementViewBasePropertyColumn = ElementViewColumnSharedAttributes.extend({
4977
- type: z148.literal("BaseProperty"),
5244
+ type: z149.literal("BaseProperty"),
4978
5245
  basePropertyType: ElementViewBaseColumnType
4979
5246
  });
4980
5247
  var ElementViewPropertyDefinitionColumn = ElementViewColumnSharedAttributes.extend({
4981
- type: z148.literal("PropertyDefinition"),
4982
- propertyDefinitionId: z148.string()
5248
+ type: z149.literal("PropertyDefinition"),
5249
+ propertyDefinitionId: z149.string()
4983
5250
  });
4984
5251
  var ElementViewThemeColumn = ElementViewColumnSharedAttributes.extend({
4985
- type: z148.literal("Theme"),
4986
- themeId: z148.string()
5252
+ type: z149.literal("Theme"),
5253
+ themeId: z149.string()
4987
5254
  });
4988
- var ElementViewColumn = z148.discriminatedUnion("type", [
5255
+ var ElementViewColumn = z149.discriminatedUnion("type", [
4989
5256
  ElementViewBasePropertyColumn,
4990
5257
  ElementViewPropertyDefinitionColumn,
4991
5258
  ElementViewThemeColumn
4992
5259
  ]);
4993
5260
 
4994
5261
  // src/dsm/views/view.ts
4995
- import { z as z149 } from "zod";
4996
- var ElementView = z149.object({
4997
- id: z149.string(),
4998
- persistentId: z149.string(),
4999
- designSystemVersionId: z149.string(),
5000
- name: z149.string(),
5001
- description: z149.string(),
5002
- targetElementType: ElementPropertyTargetType,
5003
- isDefault: z149.boolean()
5004
- });
5005
-
5006
- // src/dsm/brand.ts
5007
5262
  import { z as z150 } from "zod";
5008
- var Brand = z150.object({
5263
+ var ElementView = z150.object({
5009
5264
  id: z150.string(),
5010
- designSystemVersionId: z150.string(),
5011
5265
  persistentId: z150.string(),
5266
+ designSystemVersionId: z150.string(),
5012
5267
  name: z150.string(),
5013
- description: z150.string()
5268
+ description: z150.string(),
5269
+ targetElementType: ElementPropertyTargetType,
5270
+ isDefault: z150.boolean()
5014
5271
  });
5015
5272
 
5016
- // src/dsm/design-system.ts
5273
+ // src/dsm/brand.ts
5017
5274
  import { z as z151 } from "zod";
5018
- var DesignSystemAccessMode = z151.enum(["Open", "InviteOnly"]);
5019
- var DesignSystemSwitcher = z151.object({
5020
- isEnabled: z151.boolean(),
5021
- designSystemIds: z151.array(z151.string())
5022
- });
5023
- var DesignSystem = z151.object({
5275
+ var Brand = z151.object({
5024
5276
  id: z151.string(),
5025
- workspaceId: z151.string(),
5277
+ designSystemVersionId: z151.string(),
5278
+ persistentId: z151.string(),
5026
5279
  name: z151.string(),
5027
- description: z151.string(),
5028
- docExporterId: nullishToOptional(z151.string()),
5029
- docSlug: z151.string(),
5030
- docUserSlug: nullishToOptional(z151.string()),
5031
- docSlugDeprecated: z151.string(),
5032
- isMultibrand: z151.boolean(),
5033
- docViewUrl: nullishToOptional(z151.string()),
5034
- basePrefixes: z151.array(z151.string()),
5280
+ description: z151.string()
5281
+ });
5282
+
5283
+ // src/dsm/design-system.ts
5284
+ import { z as z152 } from "zod";
5285
+ var DesignSystemAccessMode = z152.enum(["Open", "InviteOnly"]);
5286
+ var DesignSystemSwitcher = z152.object({
5287
+ isEnabled: z152.boolean(),
5288
+ designSystemIds: z152.array(z152.string())
5289
+ });
5290
+ var DesignSystem = z152.object({
5291
+ id: z152.string(),
5292
+ workspaceId: z152.string(),
5293
+ name: z152.string(),
5294
+ description: z152.string(),
5295
+ docExporterId: nullishToOptional(z152.string()),
5296
+ docSlug: z152.string(),
5297
+ docUserSlug: nullishToOptional(z152.string()),
5298
+ docSlugDeprecated: z152.string(),
5299
+ isMultibrand: z152.boolean(),
5300
+ docViewUrl: nullishToOptional(z152.string()),
5301
+ basePrefixes: z152.array(z152.string()),
5035
5302
  designSystemSwitcher: nullishToOptional(DesignSystemSwitcher),
5036
- isApprovalFeatureEnabled: z151.boolean(),
5037
- approvalRequiredForPublishing: z151.boolean(),
5303
+ isApprovalFeatureEnabled: z152.boolean(),
5304
+ approvalRequiredForPublishing: z152.boolean(),
5038
5305
  accessMode: DesignSystemAccessMode,
5039
- membersGenerated: z151.boolean(),
5040
- createdAt: z151.coerce.date(),
5041
- updatedAt: z151.coerce.date()
5306
+ membersGenerated: z152.boolean(),
5307
+ createdAt: z152.coerce.date(),
5308
+ updatedAt: z152.coerce.date()
5042
5309
  });
5043
5310
 
5044
5311
  // src/dsm/exporter-property-values-collection.ts
5045
- import { z as z152 } from "zod";
5046
- var ExporterPropertyImageValue = z152.object({
5312
+ import { z as z153 } from "zod";
5313
+ var ExporterPropertyImageValue = z153.object({
5047
5314
  asset: PageBlockAsset.optional(),
5048
- assetId: z152.string().optional(),
5049
- assetUrl: z152.string().optional()
5050
- });
5051
- var ExporterConfigurationPropertyValue = z152.object({
5052
- key: z152.string(),
5053
- value: z152.union([
5054
- z152.number(),
5055
- z152.string(),
5056
- z152.boolean(),
5315
+ assetId: z153.string().optional(),
5316
+ assetUrl: z153.string().optional()
5317
+ });
5318
+ var ExporterConfigurationPropertyValue = z153.object({
5319
+ key: z153.string(),
5320
+ value: z153.union([
5321
+ z153.number(),
5322
+ z153.string(),
5323
+ z153.boolean(),
5057
5324
  ExporterPropertyImageValue,
5058
5325
  ColorTokenData,
5059
5326
  TypographyTokenData
5060
5327
  ])
5061
5328
  });
5062
- var ExporterPropertyValuesCollection = z152.object({
5063
- id: z152.string(),
5064
- designSystemId: z152.string(),
5065
- exporterId: z152.string(),
5066
- values: z152.array(ExporterConfigurationPropertyValue)
5329
+ var ExporterPropertyValuesCollection = z153.object({
5330
+ id: z153.string(),
5331
+ designSystemId: z153.string(),
5332
+ exporterId: z153.string(),
5333
+ values: z153.array(ExporterConfigurationPropertyValue)
5067
5334
  });
5068
5335
 
5069
5336
  // src/dsm/published-doc-page-visits.ts
5070
- import { z as z153 } from "zod";
5071
- var PublishedDocPageVisitsEntry = z153.object({
5072
- id: z153.string(),
5073
- versionId: z153.string(),
5074
- pagePersistentId: z153.string(),
5075
- locale: z153.string().optional(),
5076
- timestamp: z153.coerce.date(),
5077
- visits: z153.number(),
5078
- userId: nullishToOptional(z153.string()),
5079
- anonymousId: nullishToOptional(z153.string())
5337
+ import { z as z154 } from "zod";
5338
+ var PublishedDocPageVisitsEntry = z154.object({
5339
+ id: z154.string(),
5340
+ versionId: z154.string(),
5341
+ pagePersistentId: z154.string(),
5342
+ locale: z154.string().optional(),
5343
+ timestamp: z154.coerce.date(),
5344
+ visits: z154.number(),
5345
+ userId: nullishToOptional(z154.string()),
5346
+ anonymousId: nullishToOptional(z154.string())
5080
5347
  });
5081
5348
 
5082
5349
  // src/dsm/published-doc-page.ts
5083
- import { z as z154 } from "zod";
5350
+ import { z as z155 } from "zod";
5084
5351
  var SHORT_PERSISTENT_ID_LENGTH = 8;
5085
5352
  function tryParseShortPersistentId(url = "/") {
5086
5353
  const lastUrlPart = url.split("/").pop() || "";
5087
5354
  const shortPersistentId = lastUrlPart.split("-").pop()?.replaceAll(".html", "") || null;
5088
5355
  return shortPersistentId?.length === SHORT_PERSISTENT_ID_LENGTH ? shortPersistentId : null;
5089
5356
  }
5090
- var PublishedDocPage = z154.object({
5091
- id: z154.string(),
5092
- publishedDocId: z154.string(),
5093
- pageShortPersistentId: z154.string(),
5094
- pagePersistentId: z154.string().optional(),
5095
- pathV1: z154.string(),
5096
- pathV2: z154.string(),
5097
- storagePath: z154.string(),
5098
- locale: z154.string().optional(),
5099
- isPrivate: z154.boolean(),
5100
- isHidden: z154.boolean(),
5101
- createdAt: z154.coerce.date(),
5102
- updatedAt: z154.coerce.date()
5357
+ var PublishedDocPage = z155.object({
5358
+ id: z155.string(),
5359
+ publishedDocId: z155.string(),
5360
+ pageShortPersistentId: z155.string(),
5361
+ pagePersistentId: z155.string().optional(),
5362
+ pathV1: z155.string(),
5363
+ pathV2: z155.string(),
5364
+ storagePath: z155.string(),
5365
+ locale: z155.string().optional(),
5366
+ isPrivate: z155.boolean(),
5367
+ isHidden: z155.boolean(),
5368
+ createdAt: z155.coerce.date(),
5369
+ updatedAt: z155.coerce.date()
5103
5370
  });
5104
5371
 
5105
5372
  // src/dsm/published-doc.ts
5106
- import { z as z155 } from "zod";
5373
+ import { z as z156 } from "zod";
5107
5374
  var publishedDocEnvironments = ["Live", "Preview"];
5108
- var PublishedDocEnvironment = z155.enum(publishedDocEnvironments);
5109
- var PublishedDocsChecksums = z155.record(z155.string());
5110
- var PublishedDocRoutingVersion = z155.enum(["1", "2"]);
5111
- var PublishedDoc = z155.object({
5112
- id: z155.string(),
5113
- designSystemVersionId: z155.string(),
5114
- createdAt: z155.coerce.date(),
5115
- updatedAt: z155.coerce.date(),
5116
- lastPublishedAt: z155.coerce.date(),
5117
- isDefault: z155.boolean(),
5118
- isPublic: z155.boolean(),
5375
+ var PublishedDocEnvironment = z156.enum(publishedDocEnvironments);
5376
+ var PublishedDocsChecksums = z156.record(z156.string());
5377
+ var PublishedDocRoutingVersion = z156.enum(["1", "2"]);
5378
+ var PublishedDoc = z156.object({
5379
+ id: z156.string(),
5380
+ designSystemVersionId: z156.string(),
5381
+ createdAt: z156.coerce.date(),
5382
+ updatedAt: z156.coerce.date(),
5383
+ lastPublishedAt: z156.coerce.date(),
5384
+ isDefault: z156.boolean(),
5385
+ isPublic: z156.boolean(),
5119
5386
  environment: PublishedDocEnvironment,
5120
5387
  checksums: PublishedDocsChecksums,
5121
- storagePath: z155.string(),
5122
- wasMigrated: z155.boolean(),
5388
+ storagePath: z156.string(),
5389
+ wasMigrated: z156.boolean(),
5123
5390
  routingVersion: PublishedDocRoutingVersion,
5124
- usesLocalizations: z155.boolean(),
5125
- wasPublishedWithLocalizations: z155.boolean(),
5126
- tokenCount: z155.number(),
5127
- assetCount: z155.number()
5391
+ usesLocalizations: z156.boolean(),
5392
+ wasPublishedWithLocalizations: z156.boolean(),
5393
+ tokenCount: z156.number(),
5394
+ assetCount: z156.number()
5128
5395
  });
5129
5396
 
5130
5397
  // src/dsm/storybook-entry.ts
5131
- import { z as z156 } from "zod";
5132
- var StorybookEntryOrigin = z156.object({
5133
- id: z156.string(),
5134
- type: z156.enum(["story", "docs"]),
5135
- name: z156.string(),
5136
- title: z156.string(),
5398
+ import { z as z157 } from "zod";
5399
+ var StorybookEntryOrigin = z157.object({
5400
+ id: z157.string(),
5401
+ type: z157.enum(["story", "docs"]),
5402
+ name: z157.string(),
5403
+ title: z157.string(),
5137
5404
  // Same as 'kind' for v3
5138
- index: z156.number().optional()
5405
+ index: z157.number().optional()
5139
5406
  });
5140
- var StorybookEntry = z156.object({
5141
- id: z156.string(),
5142
- storyId: z156.string(),
5143
- designSystemId: z156.string(),
5144
- sourceId: z156.string(),
5145
- aliases: z156.array(z156.string()).optional(),
5146
- url: z156.string(),
5147
- isDeleted: z156.boolean().optional(),
5148
- origin: StorybookEntryOrigin,
5149
- createdAt: z156.coerce.date(),
5150
- updatedAt: z156.coerce.date()
5151
- });
5152
-
5153
- // src/dsm/storybook-payload.ts
5154
- import { z as z157 } from "zod";
5155
- var StorybookPayload = z157.object({
5407
+ var StorybookEntry = z157.object({
5156
5408
  id: z157.string(),
5409
+ storyId: z157.string(),
5157
5410
  designSystemId: z157.string(),
5158
5411
  sourceId: z157.string(),
5159
- payload: z157.any(),
5412
+ aliases: z157.array(z157.string()).optional(),
5413
+ url: z157.string(),
5414
+ isDeleted: z157.boolean().optional(),
5415
+ origin: StorybookEntryOrigin,
5160
5416
  createdAt: z157.coerce.date(),
5161
5417
  updatedAt: z157.coerce.date()
5162
5418
  });
5163
5419
 
5164
- // src/dsm/version.ts
5420
+ // src/dsm/storybook-payload.ts
5165
5421
  import { z as z158 } from "zod";
5166
- var DesignSystemVersion = z158.object({
5422
+ var StorybookPayload = z158.object({
5167
5423
  id: z158.string(),
5168
- version: z158.string(),
5169
- createdAt: z158.coerce.date(),
5170
- designSystemId: z158.string(),
5171
- name: z158.string(),
5172
- comment: z158.string(),
5173
- isReadonly: z158.boolean(),
5174
- changeLog: z158.string(),
5175
- parentId: z158.string().optional(),
5176
- isDraftsFeatureAdopted: z158.boolean()
5177
- });
5178
- var VersionCreationJobStatus = z158.enum(["Success", "InProgress", "Error"]);
5179
- var VersionCreationJob = z158.object({
5180
- id: z158.string(),
5181
- version: z158.string(),
5182
5424
  designSystemId: z158.string(),
5183
- designSystemVersionId: nullishToOptional(z158.string()),
5425
+ sourceId: z158.string(),
5426
+ payload: z158.any(),
5427
+ createdAt: z158.coerce.date(),
5428
+ updatedAt: z158.coerce.date()
5429
+ });
5430
+
5431
+ // src/dsm/version.ts
5432
+ import { z as z159 } from "zod";
5433
+ var DesignSystemVersion = z159.object({
5434
+ id: z159.string(),
5435
+ version: z159.string(),
5436
+ createdAt: z159.coerce.date(),
5437
+ designSystemId: z159.string(),
5438
+ name: z159.string(),
5439
+ comment: z159.string(),
5440
+ isReadonly: z159.boolean(),
5441
+ changeLog: z159.string(),
5442
+ parentId: z159.string().optional(),
5443
+ isDraftsFeatureAdopted: z159.boolean()
5444
+ });
5445
+ var VersionCreationJobStatus = z159.enum(["Success", "InProgress", "Error"]);
5446
+ var VersionCreationJob = z159.object({
5447
+ id: z159.string(),
5448
+ version: z159.string(),
5449
+ designSystemId: z159.string(),
5450
+ designSystemVersionId: nullishToOptional(z159.string()),
5184
5451
  status: VersionCreationJobStatus,
5185
- errorMessage: nullishToOptional(z158.string())
5452
+ errorMessage: nullishToOptional(z159.string())
5186
5453
  });
5187
5454
 
5188
5455
  // src/export/export-destinations.ts
5189
5456
  var BITBUCKET_SLUG = /^[-a-zA-Z0-9~]*$/;
5190
5457
  var BITBUCKET_MAX_LENGTH = 64;
5191
- var ExportJobDocumentationChanges = z159.object({
5192
- pagePersistentIds: z159.string().array(),
5193
- groupPersistentIds: z159.string().array()
5458
+ var ExportJobDocumentationChanges = z160.object({
5459
+ pagePersistentIds: z160.string().array(),
5460
+ groupPersistentIds: z160.string().array()
5194
5461
  });
5195
- var ExporterDestinationDocs = z159.object({
5462
+ var ExporterDestinationDocs = z160.object({
5196
5463
  environment: PublishedDocEnvironment,
5197
5464
  changes: nullishToOptional(ExportJobDocumentationChanges)
5198
5465
  });
5199
- var GitCommonDestinationOptions = z159.object({
5200
- branch: z159.string(),
5201
- relativePath: nullishToOptional(z159.string()),
5202
- purgeDirectory: nullishToOptional(z159.boolean()),
5203
- commitAuthorName: nullishToOptional(z159.string()),
5204
- commitAuthorEmail: nullishToOptional(z159.string()),
5205
- commitMessage: nullishToOptional(z159.string()),
5206
- pullRequestTitle: nullishToOptional(z159.string()),
5207
- pullRequestDescription: nullishToOptional(z159.string())
5208
- });
5209
- var ExporterDestinationS3 = z159.object({});
5210
- var ExporterDestinationGithub = z159.object({
5211
- credentialId: z159.string().optional(),
5466
+ var GitCommonDestinationOptions = z160.object({
5467
+ branch: z160.string(),
5468
+ relativePath: nullishToOptional(z160.string()),
5469
+ purgeDirectory: nullishToOptional(z160.boolean()),
5470
+ commitAuthorName: nullishToOptional(z160.string()),
5471
+ commitAuthorEmail: nullishToOptional(z160.string()),
5472
+ commitMessage: nullishToOptional(z160.string()),
5473
+ pullRequestTitle: nullishToOptional(z160.string()),
5474
+ pullRequestDescription: nullishToOptional(z160.string())
5475
+ });
5476
+ var ExporterDestinationS3 = z160.object({});
5477
+ var ExporterDestinationGithub = z160.object({
5478
+ credentialId: z160.string().optional(),
5212
5479
  // Repository
5213
- url: z159.string(),
5480
+ url: z160.string(),
5214
5481
  // Legacy deprecated fields. Use `credentialId` instead
5215
- connectionId: nullishToOptional(z159.string()),
5216
- userId: nullishToOptional(z159.number())
5482
+ connectionId: nullishToOptional(z160.string()),
5483
+ userId: nullishToOptional(z160.number())
5217
5484
  }).extend(GitCommonDestinationOptions.shape);
5218
- var ExporterDestinationAzure = z159.object({
5219
- credentialId: z159.string().optional(),
5485
+ var ExporterDestinationAzure = z160.object({
5486
+ credentialId: z160.string().optional(),
5220
5487
  // Repository
5221
- organizationId: z159.string(),
5222
- projectId: z159.string(),
5223
- repositoryId: z159.string(),
5488
+ organizationId: z160.string(),
5489
+ projectId: z160.string(),
5490
+ repositoryId: z160.string(),
5224
5491
  // Maybe not needed
5225
- url: nullishToOptional(z159.string()),
5492
+ url: nullishToOptional(z160.string()),
5226
5493
  // Legacy deprecated fields. Use `credentialId` instead
5227
- connectionId: nullishToOptional(z159.string()),
5228
- userId: nullishToOptional(z159.number())
5494
+ connectionId: nullishToOptional(z160.string()),
5495
+ userId: nullishToOptional(z160.number())
5229
5496
  }).extend(GitCommonDestinationOptions.shape);
5230
- var ExporterDestinationGitlab = z159.object({
5231
- credentialId: z159.string().optional(),
5497
+ var ExporterDestinationGitlab = z160.object({
5498
+ credentialId: z160.string().optional(),
5232
5499
  // Repository
5233
- projectId: z159.string(),
5500
+ projectId: z160.string(),
5234
5501
  // Maybe not needed
5235
- url: nullishToOptional(z159.string()),
5502
+ url: nullishToOptional(z160.string()),
5236
5503
  // Legacy deprecated fields. Use `credentialId` instead
5237
- connectionId: nullishToOptional(z159.string()),
5238
- userId: nullishToOptional(z159.number())
5504
+ connectionId: nullishToOptional(z160.string()),
5505
+ userId: nullishToOptional(z160.number())
5239
5506
  }).extend(GitCommonDestinationOptions.shape);
5240
- var ExporterDestinationBitbucket = z159.object({
5241
- credentialId: z159.string().optional(),
5507
+ var ExporterDestinationBitbucket = z160.object({
5508
+ credentialId: z160.string().optional(),
5242
5509
  // Repository
5243
- workspaceSlug: z159.string().max(BITBUCKET_MAX_LENGTH).regex(BITBUCKET_SLUG),
5244
- projectKey: z159.string().max(BITBUCKET_MAX_LENGTH).regex(BITBUCKET_SLUG),
5245
- repoSlug: z159.string().max(BITBUCKET_MAX_LENGTH).regex(BITBUCKET_SLUG),
5246
- url: nullishToOptional(z159.string()),
5510
+ workspaceSlug: z160.string().max(BITBUCKET_MAX_LENGTH).regex(BITBUCKET_SLUG),
5511
+ projectKey: z160.string().max(BITBUCKET_MAX_LENGTH).regex(BITBUCKET_SLUG),
5512
+ repoSlug: z160.string().max(BITBUCKET_MAX_LENGTH).regex(BITBUCKET_SLUG),
5513
+ url: nullishToOptional(z160.string()),
5247
5514
  // Legacy deprecated fields. Use `credentialId` instead
5248
- connectionId: nullishToOptional(z159.string()),
5249
- userId: nullishToOptional(z159.number())
5515
+ connectionId: nullishToOptional(z160.string()),
5516
+ userId: nullishToOptional(z160.number())
5250
5517
  }).extend(GitCommonDestinationOptions.shape);
5251
- var ExportDestinationsMap = z159.object({
5252
- webhookUrl: z159.string().optional(),
5518
+ var ExportDestinationsMap = z160.object({
5519
+ webhookUrl: z160.string().optional(),
5253
5520
  destinationSnDocs: ExporterDestinationDocs.optional(),
5254
5521
  destinationS3: ExporterDestinationS3.optional(),
5255
5522
  destinationGithub: ExporterDestinationGithub.optional(),
@@ -5257,8 +5524,8 @@ var ExportDestinationsMap = z159.object({
5257
5524
  destinationGitlab: ExporterDestinationGitlab.optional(),
5258
5525
  destinationBitbucket: ExporterDestinationBitbucket.optional()
5259
5526
  });
5260
- var ExportDestinationsMapUpdate = z159.object({
5261
- webhookUrl: z159.string().nullish(),
5527
+ var ExportDestinationsMapUpdate = z160.object({
5528
+ webhookUrl: z160.string().nullish(),
5262
5529
  destinationSnDocs: ExporterDestinationDocs.nullish(),
5263
5530
  destinationS3: ExporterDestinationS3.nullish(),
5264
5531
  destinationGithub: ExporterDestinationGithub.nullish(),
@@ -5268,120 +5535,120 @@ var ExportDestinationsMapUpdate = z159.object({
5268
5535
  });
5269
5536
 
5270
5537
  // src/export/pipeline.ts
5271
- var PipelineEventType = z160.enum([
5538
+ var PipelineEventType = z161.enum([
5272
5539
  "OnVersionReleased",
5273
5540
  "OnHeadChanged",
5274
5541
  "OnSourceUpdated",
5275
5542
  "OnDocumentationPublished",
5276
5543
  "None"
5277
5544
  ]);
5278
- var PipelineDestinationGitType = z160.enum(["Github", "Gitlab", "Bitbucket", "Azure"]);
5279
- var PipelineDestinationExtraType = z160.enum(["WebhookUrl", "S3", "Documentation"]);
5280
- var PipelineDestinationType = z160.union([PipelineDestinationGitType, PipelineDestinationExtraType]);
5281
- var Pipeline = z160.object({
5282
- id: z160.string(),
5283
- name: z160.string(),
5545
+ var PipelineDestinationGitType = z161.enum(["Github", "Gitlab", "Bitbucket", "Azure"]);
5546
+ var PipelineDestinationExtraType = z161.enum(["WebhookUrl", "S3", "Documentation"]);
5547
+ var PipelineDestinationType = z161.union([PipelineDestinationGitType, PipelineDestinationExtraType]);
5548
+ var Pipeline = z161.object({
5549
+ id: z161.string(),
5550
+ name: z161.string(),
5284
5551
  eventType: PipelineEventType,
5285
- isEnabled: z160.boolean(),
5286
- workspaceId: z160.string(),
5287
- designSystemId: z160.string(),
5288
- exporterId: z160.string(),
5289
- brandPersistentId: z160.string().optional(),
5290
- themePersistentId: z160.string().optional(),
5291
- themePersistentIds: z160.string().array().optional(),
5552
+ isEnabled: z161.boolean(),
5553
+ workspaceId: z161.string(),
5554
+ designSystemId: z161.string(),
5555
+ exporterId: z161.string(),
5556
+ brandPersistentId: z161.string().optional(),
5557
+ themePersistentId: z161.string().optional(),
5558
+ themePersistentIds: z161.string().array().optional(),
5292
5559
  exporterPropertyValues: ExporterPropertyValueMap.optional(),
5293
- isExporterDeprecated: z160.boolean(),
5560
+ isExporterDeprecated: z161.boolean(),
5294
5561
  // Destinations
5295
5562
  ...ExportDestinationsMap.shape
5296
5563
  });
5297
5564
 
5298
5565
  // src/data-dumps/code-integration-dump.ts
5299
- var ExportJobDump = z161.object({
5300
- id: z161.string(),
5301
- createdAt: z161.coerce.date(),
5302
- finishedAt: z161.coerce.date(),
5303
- exportArtefacts: z161.string()
5566
+ var ExportJobDump = z162.object({
5567
+ id: z162.string(),
5568
+ createdAt: z162.coerce.date(),
5569
+ finishedAt: z162.coerce.date(),
5570
+ exportArtefacts: z162.string()
5304
5571
  });
5305
- var CodeIntegrationDump = z161.object({
5572
+ var CodeIntegrationDump = z162.object({
5306
5573
  exporters: Exporter.array(),
5307
5574
  pipelines: Pipeline.array(),
5308
5575
  exportJobs: ExportJobDump.array()
5309
5576
  });
5310
5577
 
5311
5578
  // src/data-dumps/design-system-dump.ts
5312
- import { z as z168 } from "zod";
5579
+ import { z as z169 } from "zod";
5313
5580
 
5314
5581
  // src/data-dumps/design-system-version-dump.ts
5315
- import { z as z167 } from "zod";
5582
+ import { z as z168 } from "zod";
5316
5583
 
5317
5584
  // src/liveblocks/rooms/design-system-version-room.ts
5318
- import { z as z162 } from "zod";
5585
+ import { z as z163 } from "zod";
5319
5586
  var DesignSystemVersionRoom = Entity.extend({
5320
- designSystemVersionId: z162.string(),
5321
- liveblocksId: z162.string()
5322
- });
5323
- var DesignSystemVersionRoomInternalSettings = z162.object({
5324
- routingVersion: z162.string(),
5325
- isDraftFeatureAdopted: z162.boolean(),
5326
- isApprovalFeatureEnabled: z162.boolean(),
5327
- approvalRequiredForPublishing: z162.boolean()
5328
- });
5329
- var DesignSystemVersionRoomInitialState = z162.object({
5330
- pages: z162.array(DocumentationPageV2),
5331
- groups: z162.array(ElementGroup),
5332
- pageSnapshots: z162.array(DocumentationPageSnapshot),
5333
- groupSnapshots: z162.array(ElementGroupSnapshot),
5334
- pageApprovals: z162.array(DocumentationPageApproval),
5587
+ designSystemVersionId: z163.string(),
5588
+ liveblocksId: z163.string()
5589
+ });
5590
+ var DesignSystemVersionRoomInternalSettings = z163.object({
5591
+ routingVersion: z163.string(),
5592
+ isDraftFeatureAdopted: z163.boolean(),
5593
+ isApprovalFeatureEnabled: z163.boolean(),
5594
+ approvalRequiredForPublishing: z163.boolean()
5595
+ });
5596
+ var DesignSystemVersionRoomInitialState = z163.object({
5597
+ pages: z163.array(DocumentationPageV2),
5598
+ groups: z163.array(ElementGroup),
5599
+ pageSnapshots: z163.array(DocumentationPageSnapshot),
5600
+ groupSnapshots: z163.array(ElementGroupSnapshot),
5601
+ pageApprovals: z163.array(DocumentationPageApproval),
5335
5602
  internalSettings: DesignSystemVersionRoomInternalSettings,
5336
- pageHashes: z162.record(z162.string()).optional()
5337
- });
5338
- var DesignSystemVersionRoomUpdate = z162.object({
5339
- pages: z162.array(DocumentationPageV2),
5340
- groups: z162.array(ElementGroup),
5341
- pageIdsToDelete: z162.array(z162.string()),
5342
- groupIdsToDelete: z162.array(z162.string()),
5343
- pageSnapshots: z162.array(DocumentationPageSnapshot),
5344
- groupSnapshots: z162.array(ElementGroupSnapshot),
5345
- pageSnapshotIdsToDelete: z162.array(z162.string()),
5346
- groupSnapshotIdsToDelete: z162.array(z162.string()),
5347
- pageHashesToUpdate: z162.record(z162.string(), z162.string()),
5348
- pageApprovals: z162.array(DocumentationPageApproval),
5349
- pageApprovalIdsToDelete: z162.array(z162.string()),
5350
- executedTransactionIds: z162.array(z162.string())
5603
+ pageHashes: z163.record(z163.string()).optional()
5604
+ });
5605
+ var DesignSystemVersionRoomUpdate = z163.object({
5606
+ pages: z163.array(DocumentationPageV2),
5607
+ groups: z163.array(ElementGroup),
5608
+ pageIdsToDelete: z163.array(z163.string()),
5609
+ groupIdsToDelete: z163.array(z163.string()),
5610
+ pageSnapshots: z163.array(DocumentationPageSnapshot),
5611
+ groupSnapshots: z163.array(ElementGroupSnapshot),
5612
+ pageSnapshotIdsToDelete: z163.array(z163.string()),
5613
+ groupSnapshotIdsToDelete: z163.array(z163.string()),
5614
+ pageHashesToUpdate: z163.record(z163.string(), z163.string()),
5615
+ pageApprovals: z163.array(DocumentationPageApproval),
5616
+ pageApprovalIdsToDelete: z163.array(z163.string()),
5617
+ executedTransactionIds: z163.array(z163.string())
5351
5618
  });
5352
5619
 
5353
5620
  // src/liveblocks/rooms/documentation-page-room.ts
5354
- import { z as z163 } from "zod";
5621
+ import { z as z164 } from "zod";
5355
5622
  var DocumentationPageRoom = Entity.extend({
5356
- designSystemVersionId: z163.string(),
5357
- documentationPageId: z163.string(),
5358
- liveblocksId: z163.string(),
5359
- isDirty: z163.boolean()
5623
+ designSystemVersionId: z164.string(),
5624
+ documentationPageId: z164.string(),
5625
+ liveblocksId: z164.string(),
5626
+ isDirty: z164.boolean()
5360
5627
  });
5361
- var DocumentationPageRoomState = z163.object({
5362
- pageItems: z163.array(PageBlockEditorModelV2.or(PageSectionEditorModelV2))
5628
+ var DocumentationPageRoomState = z164.object({
5629
+ pageItems: z164.array(PageBlockEditorModelV2.or(PageSectionEditorModelV2))
5363
5630
  });
5364
- var DocumentationPageRoomRoomUpdate = z163.object({
5631
+ var DocumentationPageRoomRoomUpdate = z164.object({
5365
5632
  page: DocumentationPageV2,
5366
5633
  pageParent: ElementGroup
5367
5634
  });
5368
5635
  var DocumentationPageRoomInitialStateUpdate = DocumentationPageRoomRoomUpdate.extend({
5369
- pageItems: z163.array(PageBlockEditorModelV2.or(PageSectionEditorModelV2)),
5370
- blockDefinitions: z163.array(PageBlockDefinition)
5636
+ pageItems: z164.array(PageBlockEditorModelV2.or(PageSectionEditorModelV2)),
5637
+ blockDefinitions: z164.array(PageBlockDefinition)
5371
5638
  });
5372
- var RestoredDocumentationPage = z163.object({
5639
+ var RestoredDocumentationPage = z164.object({
5373
5640
  page: DocumentationPageV2,
5374
5641
  pageParent: ElementGroup,
5375
5642
  pageContent: DocumentationPageContentData,
5376
- contentHash: z163.string()
5643
+ contentHash: z164.string()
5377
5644
  });
5378
- var RestoredDocumentationGroup = z163.object({
5645
+ var RestoredDocumentationGroup = z164.object({
5379
5646
  group: ElementGroup,
5380
5647
  parent: ElementGroup
5381
5648
  });
5382
5649
 
5383
5650
  // src/liveblocks/rooms/room-type.ts
5384
- import { z as z164 } from "zod";
5651
+ import { z as z165 } from "zod";
5385
5652
  var RoomTypeEnum = /* @__PURE__ */ ((RoomTypeEnum2) => {
5386
5653
  RoomTypeEnum2["DocumentationPageOld"] = "documentation-page";
5387
5654
  RoomTypeEnum2["DocumentationPage"] = "doc-page";
@@ -5389,36 +5656,36 @@ var RoomTypeEnum = /* @__PURE__ */ ((RoomTypeEnum2) => {
5389
5656
  RoomTypeEnum2["Workspace"] = "workspace";
5390
5657
  return RoomTypeEnum2;
5391
5658
  })(RoomTypeEnum || {});
5392
- var RoomTypeSchema = z164.nativeEnum(RoomTypeEnum);
5659
+ var RoomTypeSchema = z165.nativeEnum(RoomTypeEnum);
5393
5660
  var RoomType = RoomTypeSchema.enum;
5394
5661
 
5395
5662
  // src/liveblocks/rooms/workspace-room.ts
5396
- import { z as z165 } from "zod";
5663
+ import { z as z166 } from "zod";
5397
5664
  var WorkspaceRoom = Entity.extend({
5398
- workspaceId: z165.string(),
5399
- liveblocksId: z165.string()
5665
+ workspaceId: z166.string(),
5666
+ liveblocksId: z166.string()
5400
5667
  });
5401
5668
 
5402
5669
  // src/data-dumps/published-docs-dump.ts
5403
- import { z as z166 } from "zod";
5404
- var PublishedDocsDump = z166.object({
5670
+ import { z as z167 } from "zod";
5671
+ var PublishedDocsDump = z167.object({
5405
5672
  documentation: PublishedDoc,
5406
5673
  pages: PublishedDocPage.array()
5407
5674
  });
5408
5675
 
5409
5676
  // src/data-dumps/design-system-version-dump.ts
5410
- var DocumentationThreadDump = z167.object({
5677
+ var DocumentationThreadDump = z168.object({
5411
5678
  thread: DocumentationCommentThread,
5412
5679
  comments: DocumentationComment.array()
5413
5680
  });
5414
- var DocumentationPageRoomDump = z167.object({
5681
+ var DocumentationPageRoomDump = z168.object({
5415
5682
  room: DocumentationPageRoom,
5416
5683
  threads: DocumentationThreadDump.array()
5417
5684
  });
5418
- var DesignSystemVersionMultiplayerDump = z167.object({
5685
+ var DesignSystemVersionMultiplayerDump = z168.object({
5419
5686
  documentationPages: DocumentationPageRoomDump.array()
5420
5687
  });
5421
- var DesignSystemVersionDump = z167.object({
5688
+ var DesignSystemVersionDump = z168.object({
5422
5689
  version: DesignSystemVersion,
5423
5690
  brands: Brand.array(),
5424
5691
  elements: DesignElement.array(),
@@ -5433,7 +5700,7 @@ var DesignSystemVersionDump = z167.object({
5433
5700
  });
5434
5701
 
5435
5702
  // src/data-dumps/design-system-dump.ts
5436
- var DesignSystemDump = z168.object({
5703
+ var DesignSystemDump = z169.object({
5437
5704
  designSystem: DesignSystem,
5438
5705
  dataSources: DataSource.array(),
5439
5706
  versions: DesignSystemVersionDump.array(),
@@ -5442,50 +5709,50 @@ var DesignSystemDump = z168.object({
5442
5709
  });
5443
5710
 
5444
5711
  // src/data-dumps/user-data-dump.ts
5445
- import { z as z171 } from "zod";
5712
+ import { z as z172 } from "zod";
5446
5713
 
5447
5714
  // src/data-dumps/workspace-dump.ts
5448
- import { z as z170 } from "zod";
5715
+ import { z as z171 } from "zod";
5449
5716
 
5450
5717
  // src/integrations/integration.ts
5451
- import { z as z169 } from "zod";
5452
- var IntegrationDesignSystem = z169.object({
5453
- designSystemId: z169.string(),
5454
- brandId: z169.string(),
5455
- title: z169.string().optional(),
5456
- userId: z169.string().optional(),
5457
- date: z169.coerce.date().optional()
5458
- });
5459
- var IntegrationCredentialsType = z169.enum(["OAuth2", "PAT"]);
5460
- var IntegrationCredentialsState = z169.enum(["Active", "Inactive"]);
5461
- var IntegrationCredentialsProfile = z169.object({
5462
- id: nullishToOptional(z169.string()),
5463
- email: nullishToOptional(z169.string()),
5464
- handle: nullishToOptional(z169.string()),
5465
- type: nullishToOptional(z169.string()),
5466
- avatarUrl: nullishToOptional(z169.string()),
5467
- organization: nullishToOptional(z169.string()),
5468
- collection: nullishToOptional(z169.string())
5469
- });
5470
- var IntegrationCredentials = z169.object({
5471
- id: z169.string(),
5718
+ import { z as z170 } from "zod";
5719
+ var IntegrationDesignSystem = z170.object({
5720
+ designSystemId: z170.string(),
5721
+ brandId: z170.string(),
5722
+ title: z170.string().optional(),
5723
+ userId: z170.string().optional(),
5724
+ date: z170.coerce.date().optional()
5725
+ });
5726
+ var IntegrationCredentialsType = z170.enum(["OAuth2", "PAT"]);
5727
+ var IntegrationCredentialsState = z170.enum(["Active", "Inactive"]);
5728
+ var IntegrationCredentialsProfile = z170.object({
5729
+ id: nullishToOptional(z170.string()),
5730
+ email: nullishToOptional(z170.string()),
5731
+ handle: nullishToOptional(z170.string()),
5732
+ type: nullishToOptional(z170.string()),
5733
+ avatarUrl: nullishToOptional(z170.string()),
5734
+ organization: nullishToOptional(z170.string()),
5735
+ collection: nullishToOptional(z170.string())
5736
+ });
5737
+ var IntegrationCredentials = z170.object({
5738
+ id: z170.string(),
5472
5739
  type: IntegrationCredentialsType,
5473
- integrationId: z169.string(),
5474
- accessToken: z169.string(),
5475
- userId: z169.string(),
5476
- createdAt: z169.coerce.date(),
5477
- refreshToken: z169.string().optional(),
5478
- tokenName: z169.string().optional(),
5479
- expiresAt: z169.coerce.date().optional(),
5480
- refreshedAt: z169.coerce.date().optional(),
5481
- username: z169.string().optional(),
5482
- appInstallationId: z169.string().optional(),
5740
+ integrationId: z170.string(),
5741
+ accessToken: z170.string(),
5742
+ userId: z170.string(),
5743
+ createdAt: z170.coerce.date(),
5744
+ refreshToken: z170.string().optional(),
5745
+ tokenName: z170.string().optional(),
5746
+ expiresAt: z170.coerce.date().optional(),
5747
+ refreshedAt: z170.coerce.date().optional(),
5748
+ username: z170.string().optional(),
5749
+ appInstallationId: z170.string().optional(),
5483
5750
  profile: IntegrationCredentialsProfile.optional(),
5484
- customUrl: z169.string().optional(),
5751
+ customUrl: z170.string().optional(),
5485
5752
  state: IntegrationCredentialsState,
5486
5753
  user: UserMinified.optional()
5487
5754
  });
5488
- var ExtendedIntegrationType = z169.enum([
5755
+ var ExtendedIntegrationType = z170.enum([
5489
5756
  "Figma",
5490
5757
  "Github",
5491
5758
  "Gitlab",
@@ -5496,26 +5763,26 @@ var ExtendedIntegrationType = z169.enum([
5496
5763
  ]);
5497
5764
  var IntegrationType = ExtendedIntegrationType.exclude(["TokenStudio", "FigmaVariablesPlugin"]);
5498
5765
  var GitIntegrationType = IntegrationType.exclude(["Figma"]);
5499
- var Integration = z169.object({
5500
- id: z169.string(),
5501
- workspaceId: z169.string(),
5766
+ var Integration = z170.object({
5767
+ id: z170.string(),
5768
+ workspaceId: z170.string(),
5502
5769
  type: IntegrationType,
5503
- createdAt: z169.coerce.date(),
5504
- integrationCredentials: z169.array(IntegrationCredentials).optional()
5505
- });
5506
- var IntegrationToken = z169.object({
5507
- access_token: z169.string(),
5508
- refresh_token: z169.string().optional(),
5509
- expires_in: z169.union([z169.number().optional(), z169.string().optional()]),
5510
- token_type: z169.string().optional(),
5511
- token_name: z169.string().optional(),
5512
- token_azure_organization_name: z169.string().optional(),
5770
+ createdAt: z170.coerce.date(),
5771
+ integrationCredentials: z170.array(IntegrationCredentials).optional()
5772
+ });
5773
+ var IntegrationToken = z170.object({
5774
+ access_token: z170.string(),
5775
+ refresh_token: z170.string().optional(),
5776
+ expires_in: z170.union([z170.number().optional(), z170.string().optional()]),
5777
+ token_type: z170.string().optional(),
5778
+ token_name: z170.string().optional(),
5779
+ token_azure_organization_name: z170.string().optional(),
5513
5780
  // Azure Cloud PAT only
5514
- token_azure_collection_name: z169.string().optional(),
5781
+ token_azure_collection_name: z170.string().optional(),
5515
5782
  // Azure Server PAT only
5516
- token_bitbucket_username: z169.string().optional(),
5783
+ token_bitbucket_username: z170.string().optional(),
5517
5784
  // Bitbucket only
5518
- custom_url: z169.string().optional().transform((value) => {
5785
+ custom_url: z170.string().optional().transform((value) => {
5519
5786
  if (!value?.trim()) return void 0;
5520
5787
  return formatCustomUrl(value);
5521
5788
  })
@@ -5552,7 +5819,7 @@ function formatCustomUrl(url) {
5552
5819
  }
5553
5820
 
5554
5821
  // src/data-dumps/workspace-dump.ts
5555
- var WorkspaceDump = z170.object({
5822
+ var WorkspaceDump = z171.object({
5556
5823
  workspace: Workspace,
5557
5824
  designSystems: DesignSystemDump.array(),
5558
5825
  codeIntegration: CodeIntegrationDump,
@@ -5560,148 +5827,148 @@ var WorkspaceDump = z170.object({
5560
5827
  });
5561
5828
 
5562
5829
  // src/data-dumps/user-data-dump.ts
5563
- var UserDump = z171.object({
5830
+ var UserDump = z172.object({
5564
5831
  user: User,
5565
5832
  workspaces: WorkspaceDump.array()
5566
5833
  });
5567
5834
 
5568
5835
  // src/docs-server/session.ts
5569
- import { z as z172 } from "zod";
5570
- var NpmProxyToken = z172.object({
5571
- access: z172.string(),
5572
- expiresAt: z172.number()
5836
+ import { z as z173 } from "zod";
5837
+ var NpmProxyToken = z173.object({
5838
+ access: z173.string(),
5839
+ expiresAt: z173.number()
5573
5840
  });
5574
- var SessionData = z172.object({
5575
- returnToUrl: z172.string().optional(),
5841
+ var SessionData = z173.object({
5842
+ returnToUrl: z173.string().optional(),
5576
5843
  npmProxyToken: NpmProxyToken.optional()
5577
5844
  });
5578
- var Session = z172.object({
5579
- id: z172.string(),
5580
- expiresAt: z172.coerce.date(),
5581
- userId: z172.string().nullable(),
5582
- anonymousId: z172.string().nullable(),
5845
+ var Session = z173.object({
5846
+ id: z173.string(),
5847
+ expiresAt: z173.coerce.date(),
5848
+ userId: z173.string().nullable(),
5849
+ anonymousId: z173.string().nullable(),
5583
5850
  data: SessionData
5584
5851
  });
5585
- var AuthTokens = z172.object({
5586
- access: z172.string(),
5587
- refresh: z172.string()
5852
+ var AuthTokens = z173.object({
5853
+ access: z173.string(),
5854
+ refresh: z173.string()
5588
5855
  });
5589
- var UserSession = z172.object({
5856
+ var UserSession = z173.object({
5590
5857
  session: Session,
5591
5858
  user: User.nullable()
5592
5859
  });
5593
5860
 
5594
5861
  // src/emails/design-system-invite.ts
5595
- import { z as z173 } from "zod";
5596
- var DesignSystemInviteEmailRecipient = z173.object({
5597
- email: z173.string(),
5862
+ import { z as z174 } from "zod";
5863
+ var DesignSystemInviteEmailRecipient = z174.object({
5864
+ email: z174.string(),
5598
5865
  role: WorkspaceRoleSchema
5599
5866
  });
5600
- var DesignSystemInviteEmailData = z173.object({
5867
+ var DesignSystemInviteEmailData = z174.object({
5601
5868
  workspace: Workspace,
5602
5869
  designSystem: DesignSystem,
5603
5870
  invitedBy: User,
5604
- documentationDomain: z173.string().optional()
5871
+ documentationDomain: z174.string().optional()
5605
5872
  });
5606
5873
 
5607
5874
  // src/emails/workspace-invite.ts
5608
- import { z as z174 } from "zod";
5609
- var WorkspaceInviteEmailRecipient = z174.object({
5610
- email: z174.string(),
5875
+ import { z as z175 } from "zod";
5876
+ var WorkspaceInviteEmailRecipient = z175.object({
5877
+ email: z175.string(),
5611
5878
  role: WorkspaceRoleSchema
5612
5879
  });
5613
- var WorkspaceInviteEmailData = z174.object({
5880
+ var WorkspaceInviteEmailData = z175.object({
5614
5881
  workspace: Workspace,
5615
5882
  invitedBy: User,
5616
- documentationDomain: z174.string().optional()
5883
+ documentationDomain: z175.string().optional()
5617
5884
  });
5618
5885
 
5619
5886
  // src/events/base.ts
5620
- import { z as z178 } from "zod";
5887
+ import { z as z179 } from "zod";
5621
5888
 
5622
5889
  // src/events/data-source-imported.ts
5623
- import { z as z175 } from "zod";
5624
- var EventDataSourceImported = z175.object({
5625
- type: z175.literal("DataSourceImported"),
5626
- workspaceId: z175.string(),
5627
- designSystemId: z175.string()
5628
- });
5629
-
5630
- // src/events/version-released.ts
5631
5890
  import { z as z176 } from "zod";
5632
- var EventVersionReleased = z176.object({
5633
- type: z176.literal("DesignSystemVersionReleased"),
5891
+ var EventDataSourceImported = z176.object({
5892
+ type: z176.literal("DataSourceImported"),
5634
5893
  workspaceId: z176.string(),
5635
- designSystemId: z176.string(),
5636
- versionId: z176.string()
5894
+ designSystemId: z176.string()
5637
5895
  });
5638
5896
 
5639
- // src/events/documentation-published.ts
5897
+ // src/events/version-released.ts
5640
5898
  import { z as z177 } from "zod";
5641
- var EventDocumentationPublished = z177.object({
5642
- type: z177.literal("DocumentationPublished"),
5899
+ var EventVersionReleased = z177.object({
5900
+ type: z177.literal("DesignSystemVersionReleased"),
5643
5901
  workspaceId: z177.string(),
5644
5902
  designSystemId: z177.string(),
5645
5903
  versionId: z177.string()
5646
5904
  });
5647
5905
 
5906
+ // src/events/documentation-published.ts
5907
+ import { z as z178 } from "zod";
5908
+ var EventDocumentationPublished = z178.object({
5909
+ type: z178.literal("DocumentationPublished"),
5910
+ workspaceId: z178.string(),
5911
+ designSystemId: z178.string(),
5912
+ versionId: z178.string()
5913
+ });
5914
+
5648
5915
  // src/events/base.ts
5649
- var Event = z178.discriminatedUnion("type", [
5916
+ var Event = z179.discriminatedUnion("type", [
5650
5917
  EventVersionReleased,
5651
5918
  EventDataSourceImported,
5652
5919
  EventDocumentationPublished
5653
5920
  ]);
5654
5921
 
5655
5922
  // src/export/export-runner/export-context.ts
5656
- import { z as z179 } from "zod";
5657
- var ExportJobDocumentationContext = z179.object({
5658
- isSingleVersionDocs: z179.boolean(),
5659
- versionSlug: z179.string(),
5923
+ import { z as z180 } from "zod";
5924
+ var ExportJobDocumentationContext = z180.object({
5925
+ isSingleVersionDocs: z180.boolean(),
5926
+ versionSlug: z180.string(),
5660
5927
  environment: PublishedDocEnvironment
5661
5928
  });
5662
- var ExportJobDebugContext = z179.object({
5663
- debugMode: z179.boolean().optional(),
5664
- concurrency: z179.number().optional(),
5665
- preloadData: z179.string().optional(),
5666
- concurrencyMode: z179.string().optional(),
5667
- cacheSdk: z179.string().optional(),
5668
- logSdkNetwork: z179.boolean().optional(),
5669
- profilerMode: z179.string().optional()
5670
- });
5671
- var ExportJobContext = z179.object({
5672
- apiUrl: z179.string(),
5673
- accessToken: z179.string(),
5674
- designSystemId: z179.string(),
5675
- designSystemName: z179.string(),
5676
- exporterId: z179.string(),
5677
- versionId: z179.string(),
5678
- brandId: z179.string().optional(),
5679
- themeId: z179.string().optional(),
5680
- themePersistentIds: z179.string().array().optional(),
5681
- previewMode: z179.boolean().optional(),
5682
- exporterName: z179.string(),
5929
+ var ExportJobDebugContext = z180.object({
5930
+ debugMode: z180.boolean().optional(),
5931
+ concurrency: z180.number().optional(),
5932
+ preloadData: z180.string().optional(),
5933
+ concurrencyMode: z180.string().optional(),
5934
+ cacheSdk: z180.string().optional(),
5935
+ logSdkNetwork: z180.boolean().optional(),
5936
+ profilerMode: z180.string().optional()
5937
+ });
5938
+ var ExportJobContext = z180.object({
5939
+ apiUrl: z180.string(),
5940
+ accessToken: z180.string(),
5941
+ designSystemId: z180.string(),
5942
+ designSystemName: z180.string(),
5943
+ exporterId: z180.string(),
5944
+ versionId: z180.string(),
5945
+ brandId: z180.string().optional(),
5946
+ themeId: z180.string().optional(),
5947
+ themePersistentIds: z180.string().array().optional(),
5948
+ previewMode: z180.boolean().optional(),
5949
+ exporterName: z180.string(),
5683
5950
  documentation: ExportJobDocumentationContext.optional(),
5684
5951
  debug: ExportJobDebugContext.optional()
5685
5952
  });
5686
- var ExportJobExporterConfiguration = z179.object({
5687
- exporterPackageUrl: z179.string(),
5953
+ var ExportJobExporterConfiguration = z180.object({
5954
+ exporterPackageUrl: z180.string(),
5688
5955
  exporterPropertyValues: ExporterConfigurationPropertyValue.array(),
5689
5956
  exporterPropertyValuesV2: ExporterPropertyValueMap.optional()
5690
5957
  });
5691
5958
 
5692
5959
  // src/export/export-runner/exporter-payload.ts
5693
- import { z as z180 } from "zod";
5694
- var ExporterFunctionPayload = z180.object({
5695
- exportJobId: z180.string(),
5696
- exportContextId: z180.string(),
5697
- designSystemId: z180.string(),
5698
- workspaceId: z180.string(),
5699
- exporterId: z180.string()
5960
+ import { z as z181 } from "zod";
5961
+ var ExporterFunctionPayload = z181.object({
5962
+ exportJobId: z181.string(),
5963
+ exportContextId: z181.string(),
5964
+ designSystemId: z181.string(),
5965
+ workspaceId: z181.string(),
5966
+ exporterId: z181.string()
5700
5967
  });
5701
5968
 
5702
5969
  // src/export/export-jobs.ts
5703
- import { z as z181 } from "zod";
5704
- var ExportJobDestinationType = z181.enum([
5970
+ import { z as z182 } from "zod";
5971
+ var ExportJobDestinationType = z182.enum([
5705
5972
  "s3",
5706
5973
  "webhookUrl",
5707
5974
  "github",
@@ -5710,30 +5977,30 @@ var ExportJobDestinationType = z181.enum([
5710
5977
  "gitlab",
5711
5978
  "bitbucket"
5712
5979
  ]);
5713
- var ExportJobStatus = z181.enum(["InProgress", "Success", "Failed", "Timeout"]);
5714
- var ExportJobLogEntryType = z181.enum(["success", "info", "warning", "error", "user"]);
5715
- var ExportJobLogEntry = z181.object({
5716
- id: z181.string().optional(),
5717
- time: z181.coerce.date(),
5980
+ var ExportJobStatus = z182.enum(["InProgress", "Success", "Failed", "Timeout"]);
5981
+ var ExportJobLogEntryType = z182.enum(["success", "info", "warning", "error", "user"]);
5982
+ var ExportJobLogEntry = z182.object({
5983
+ id: z182.string().optional(),
5984
+ time: z182.coerce.date(),
5718
5985
  type: ExportJobLogEntryType,
5719
- message: z181.string()
5986
+ message: z182.string()
5720
5987
  });
5721
- var ExportJobPullRequestDestinationResult = z181.object({
5722
- pullRequestUrl: z181.string()
5988
+ var ExportJobPullRequestDestinationResult = z182.object({
5989
+ pullRequestUrl: z182.string()
5723
5990
  });
5724
- var ExportJobS3DestinationResult = z181.object({
5725
- bucket: z181.string(),
5726
- urlPrefix: z181.string().optional(),
5727
- path: z181.string(),
5728
- files: z181.array(z181.string()),
5729
- url: nullishToOptional(z181.string()),
5730
- urls: nullishToOptional(z181.string().array())
5991
+ var ExportJobS3DestinationResult = z182.object({
5992
+ bucket: z182.string(),
5993
+ urlPrefix: z182.string().optional(),
5994
+ path: z182.string(),
5995
+ files: z182.array(z182.string()),
5996
+ url: nullishToOptional(z182.string()),
5997
+ urls: nullishToOptional(z182.string().array())
5731
5998
  });
5732
- var ExportJobDocsDestinationResult = z181.object({
5733
- url: z181.string()
5999
+ var ExportJobDocsDestinationResult = z182.object({
6000
+ url: z182.string()
5734
6001
  });
5735
- var ExportJobResult = z181.object({
5736
- error: z181.string().optional(),
6002
+ var ExportJobResult = z182.object({
6003
+ error: z182.string().optional(),
5737
6004
  s3: nullishToOptional(ExportJobS3DestinationResult),
5738
6005
  github: nullishToOptional(ExportJobPullRequestDestinationResult),
5739
6006
  azure: nullishToOptional(ExportJobPullRequestDestinationResult),
@@ -5742,25 +6009,25 @@ var ExportJobResult = z181.object({
5742
6009
  sndocs: nullishToOptional(ExportJobDocsDestinationResult),
5743
6010
  logs: nullishToOptional(ExportJobLogEntry.array())
5744
6011
  });
5745
- var ExportJob = z181.object({
5746
- id: z181.string(),
5747
- createdAt: z181.coerce.date(),
5748
- finishedAt: z181.coerce.date().optional(),
5749
- designSystemId: z181.string(),
5750
- designSystemVersionId: z181.string(),
5751
- workspaceId: z181.string(),
5752
- scheduleId: z181.string().nullish(),
5753
- exporterId: z181.string(),
5754
- brandId: z181.string().optional(),
5755
- themeId: z181.string().optional(),
5756
- themePersistentIds: z181.string().array().optional(),
5757
- estimatedExecutionTime: z181.number().optional(),
6012
+ var ExportJob = z182.object({
6013
+ id: z182.string(),
6014
+ createdAt: z182.coerce.date(),
6015
+ finishedAt: z182.coerce.date().optional(),
6016
+ designSystemId: z182.string(),
6017
+ designSystemVersionId: z182.string(),
6018
+ workspaceId: z182.string(),
6019
+ scheduleId: z182.string().nullish(),
6020
+ exporterId: z182.string(),
6021
+ brandId: z182.string().optional(),
6022
+ themeId: z182.string().optional(),
6023
+ themePersistentIds: z182.string().array().optional(),
6024
+ estimatedExecutionTime: z182.number().optional(),
5758
6025
  status: ExportJobStatus,
5759
6026
  result: ExportJobResult.optional(),
5760
- createdByUserId: z181.string().optional(),
6027
+ createdByUserId: z182.string().optional(),
5761
6028
  exporterPropertyValues: ExporterPropertyValueMap.optional(),
5762
- previewMode: z181.boolean().optional(),
5763
- exportContextId: z181.string().optional().nullable(),
6029
+ previewMode: z182.boolean().optional(),
6030
+ exportContextId: z182.string().optional().nullable(),
5764
6031
  // Destinations
5765
6032
  ...ExportDestinationsMap.shape
5766
6033
  });
@@ -5774,36 +6041,36 @@ var ExportJobFindByFilter = ExportJob.pick({
5774
6041
  themeId: true,
5775
6042
  brandId: true
5776
6043
  }).extend({
5777
- destinations: z181.array(ExportJobDestinationType),
6044
+ destinations: z182.array(ExportJobDestinationType),
5778
6045
  docsEnvironment: PublishedDocEnvironment
5779
6046
  }).partial();
5780
6047
 
5781
6048
  // src/export/exporter-list-query.ts
5782
- import { z as z182 } from "zod";
5783
- var ExporterType2 = z182.enum(["documentation", "code"]);
5784
- var ListExporterQuery = z182.object({
5785
- limit: z182.number().optional(),
5786
- offset: z182.number().optional(),
6049
+ import { z as z183 } from "zod";
6050
+ var ExporterType2 = z183.enum(["documentation", "code"]);
6051
+ var ListExporterQuery = z183.object({
6052
+ limit: z183.number().optional(),
6053
+ offset: z183.number().optional(),
5787
6054
  type: ExporterType2.optional(),
5788
- search: z182.string().optional()
6055
+ search: z183.string().optional()
5789
6056
  });
5790
6057
 
5791
6058
  // src/export/exporter-workspace-membership-role.ts
5792
- import { z as z183 } from "zod";
5793
- var ExporterWorkspaceMembershipRole = z183.enum(["Owner", "OwnerArchived", "User"]);
6059
+ import { z as z184 } from "zod";
6060
+ var ExporterWorkspaceMembershipRole = z184.enum(["Owner", "OwnerArchived", "User"]);
5794
6061
 
5795
6062
  // src/export/exporter-workspace-membership.ts
5796
- import { z as z184 } from "zod";
5797
- var ExporterWorkspaceMembership = z184.object({
5798
- id: z184.string(),
5799
- workspaceId: z184.string(),
5800
- exporterId: z184.string(),
6063
+ import { z as z185 } from "zod";
6064
+ var ExporterWorkspaceMembership = z185.object({
6065
+ id: z185.string(),
6066
+ workspaceId: z185.string(),
6067
+ exporterId: z185.string(),
5801
6068
  role: ExporterWorkspaceMembershipRole
5802
6069
  });
5803
6070
 
5804
6071
  // src/feature-flags/feature-flags.ts
5805
- import { z as z185 } from "zod";
5806
- var FlaggedFeature = z185.enum([
6072
+ import { z as z186 } from "zod";
6073
+ var FlaggedFeature = z186.enum([
5807
6074
  "FigmaImporterV2",
5808
6075
  "DisableImporter",
5809
6076
  "VariablesOrder",
@@ -5821,21 +6088,21 @@ var FlaggedFeature = z185.enum([
5821
6088
  "PulsarConcurrency",
5822
6089
  "PulsarProfilerMode"
5823
6090
  ]);
5824
- var FeatureFlagMap = z185.record(FlaggedFeature, z185.boolean());
5825
- var FeatureFlag = z185.object({
5826
- id: z185.string(),
6091
+ var FeatureFlagMap = z186.record(FlaggedFeature, z186.boolean());
6092
+ var FeatureFlag = z186.object({
6093
+ id: z186.string(),
5827
6094
  feature: FlaggedFeature,
5828
- createdAt: z185.coerce.date(),
5829
- enabled: z185.boolean(),
5830
- designSystemId: z185.string().optional(),
5831
- data: z185.record(z185.any()).nullable().optional()
6095
+ createdAt: z186.coerce.date(),
6096
+ enabled: z186.boolean(),
6097
+ designSystemId: z186.string().optional(),
6098
+ data: z186.record(z186.any()).nullable().optional()
5832
6099
  });
5833
6100
 
5834
6101
  // src/integrations/external-oauth-request.ts
5835
- import { z as z187 } from "zod";
6102
+ import { z as z188 } from "zod";
5836
6103
 
5837
6104
  // src/integrations/oauth-providers.ts
5838
- import { z as z186 } from "zod";
6105
+ import { z as z187 } from "zod";
5839
6106
  var OAuthProviderNames = /* @__PURE__ */ ((OAuthProviderNames2) => {
5840
6107
  OAuthProviderNames2["Figma"] = "figma";
5841
6108
  OAuthProviderNames2["Azure"] = "azure";
@@ -5844,128 +6111,128 @@ var OAuthProviderNames = /* @__PURE__ */ ((OAuthProviderNames2) => {
5844
6111
  OAuthProviderNames2["Bitbucket"] = "bitbucket";
5845
6112
  return OAuthProviderNames2;
5846
6113
  })(OAuthProviderNames || {});
5847
- var OAuthProviderSchema = z186.nativeEnum(OAuthProviderNames);
6114
+ var OAuthProviderSchema = z187.nativeEnum(OAuthProviderNames);
5848
6115
  var OAuthProvider = OAuthProviderSchema.enum;
5849
6116
 
5850
6117
  // src/integrations/external-oauth-request.ts
5851
- var ExternalOAuthRequest = z187.object({
5852
- id: z187.string(),
6118
+ var ExternalOAuthRequest = z188.object({
6119
+ id: z188.string(),
5853
6120
  provider: OAuthProviderSchema,
5854
- userId: z187.string(),
5855
- state: z187.string(),
5856
- createdAt: z187.coerce.date()
6121
+ userId: z188.string(),
6122
+ state: z188.string(),
6123
+ createdAt: z188.coerce.date()
5857
6124
  });
5858
6125
 
5859
6126
  // src/integrations/git.ts
5860
- import { z as z188 } from "zod";
5861
- var GitObjectsQuery = z188.object({
5862
- organization: z188.string().optional(),
6127
+ import { z as z189 } from "zod";
6128
+ var GitObjectsQuery = z189.object({
6129
+ organization: z189.string().optional(),
5863
6130
  // Azure Organization | Bitbucket Workspace slug | Gitlab Group | Github Account (User or Organization)
5864
- project: z188.string().optional(),
6131
+ project: z189.string().optional(),
5865
6132
  // Only for Bitbucket and Azure
5866
- repository: z188.string().optional(),
6133
+ repository: z189.string().optional(),
5867
6134
  // For all providers. For Gitlab, it's called "project".
5868
- branch: z188.string().optional(),
6135
+ branch: z189.string().optional(),
5869
6136
  // For all providers.
5870
- user: z188.string().optional()
6137
+ user: z189.string().optional()
5871
6138
  // Gitlab user
5872
6139
  });
5873
- var GitOrganization = z188.object({
5874
- id: z188.string(),
5875
- name: z188.string(),
5876
- url: z188.string(),
5877
- slug: z188.string()
6140
+ var GitOrganization = z189.object({
6141
+ id: z189.string(),
6142
+ name: z189.string(),
6143
+ url: z189.string(),
6144
+ slug: z189.string()
5878
6145
  });
5879
- var GitProject = z188.object({
5880
- id: z188.string(),
5881
- name: z188.string(),
5882
- url: z188.string(),
5883
- slug: z188.string()
6146
+ var GitProject = z189.object({
6147
+ id: z189.string(),
6148
+ name: z189.string(),
6149
+ url: z189.string(),
6150
+ slug: z189.string()
5884
6151
  });
5885
- var GitRepository = z188.object({
5886
- id: z188.string(),
5887
- name: z188.string(),
5888
- url: z188.string(),
5889
- slug: z188.string(),
6152
+ var GitRepository = z189.object({
6153
+ id: z189.string(),
6154
+ name: z189.string(),
6155
+ url: z189.string(),
6156
+ slug: z189.string(),
5890
6157
  /**
5891
6158
  * Can be undefined when:
5892
6159
  * - there are no branches in the repository yet
5893
6160
  * - Git provider doesn't expose this information on a repository via their API
5894
6161
  */
5895
- defaultBranch: z188.string().optional()
6162
+ defaultBranch: z189.string().optional()
5896
6163
  });
5897
- var GitBranch = z188.object({
5898
- name: z188.string(),
5899
- lastCommitId: z188.string()
6164
+ var GitBranch = z189.object({
6165
+ name: z189.string(),
6166
+ lastCommitId: z189.string()
5900
6167
  });
5901
6168
 
5902
6169
  // src/integrations/oauth-token.ts
5903
- import { z as z189 } from "zod";
5904
- var IntegrationTokenSchemaOld = z189.object({
5905
- id: z189.string(),
6170
+ import { z as z190 } from "zod";
6171
+ var IntegrationTokenSchemaOld = z190.object({
6172
+ id: z190.string(),
5906
6173
  provider: OAuthProviderSchema,
5907
- scope: z189.string(),
5908
- userId: z189.string(),
5909
- accessToken: z189.string(),
5910
- refreshToken: z189.string(),
5911
- expiresAt: z189.coerce.date(),
5912
- externalUserId: z189.string().nullish()
6174
+ scope: z190.string(),
6175
+ userId: z190.string(),
6176
+ accessToken: z190.string(),
6177
+ refreshToken: z190.string(),
6178
+ expiresAt: z190.coerce.date(),
6179
+ externalUserId: z190.string().nullish()
5913
6180
  });
5914
6181
 
5915
6182
  // src/integrations/workspace-oauth-requests.ts
5916
- import { z as z190 } from "zod";
5917
- var WorkspaceOAuthRequestSchema = z190.object({
5918
- id: z190.string(),
5919
- workspaceId: z190.string(),
6183
+ import { z as z191 } from "zod";
6184
+ var WorkspaceOAuthRequestSchema = z191.object({
6185
+ id: z191.string(),
6186
+ workspaceId: z191.string(),
5920
6187
  provider: OAuthProviderSchema,
5921
- userId: z190.string(),
5922
- createdAt: z190.coerce.date()
6188
+ userId: z191.string(),
6189
+ createdAt: z191.coerce.date()
5923
6190
  });
5924
6191
 
5925
6192
  // src/npm/npm-package.ts
5926
- import { z as z191 } from "zod";
5927
- var AnyRecord = z191.record(z191.any());
6193
+ import { z as z192 } from "zod";
6194
+ var AnyRecord = z192.record(z192.any());
5928
6195
  var NpmPackageVersionDist = AnyRecord.and(
5929
- z191.object({
5930
- tarball: z191.string()
6196
+ z192.object({
6197
+ tarball: z192.string()
5931
6198
  })
5932
6199
  );
5933
6200
  var NpmPackageVersion = AnyRecord.and(
5934
- z191.object({
6201
+ z192.object({
5935
6202
  dist: NpmPackageVersionDist
5936
6203
  })
5937
6204
  );
5938
6205
  var NpmPackage = AnyRecord.and(
5939
- z191.object({
5940
- _id: z191.string(),
5941
- name: z191.string(),
6206
+ z192.object({
6207
+ _id: z192.string(),
6208
+ name: z192.string(),
5942
6209
  // e.g. "latest": "1.2.3"
5943
- "dist-tags": z191.record(z191.string(), z191.string()),
6210
+ "dist-tags": z192.record(z192.string(), z192.string()),
5944
6211
  // "1.2.3": {...}
5945
- versions: z191.record(NpmPackageVersion)
6212
+ versions: z192.record(NpmPackageVersion)
5946
6213
  })
5947
6214
  );
5948
6215
 
5949
6216
  // src/npm/npm-proxy-token-payload.ts
5950
- import { z as z192 } from "zod";
5951
- var NpmProxyTokenPayload = z192.object({
5952
- npmProxyRegistryConfigId: z192.string()
6217
+ import { z as z193 } from "zod";
6218
+ var NpmProxyTokenPayload = z193.object({
6219
+ npmProxyRegistryConfigId: z193.string()
5953
6220
  });
5954
6221
 
5955
6222
  // src/tokens/personal-access-token.ts
5956
- import { z as z193 } from "zod";
5957
- var PersonalAccessToken = z193.object({
5958
- id: z193.string(),
5959
- userId: z193.string(),
5960
- workspaceId: z193.string().optional(),
5961
- designSystemId: z193.string().optional(),
6223
+ import { z as z194 } from "zod";
6224
+ var PersonalAccessToken = z194.object({
6225
+ id: z194.string(),
6226
+ userId: z194.string(),
6227
+ workspaceId: z194.string().optional(),
6228
+ designSystemId: z194.string().optional(),
5962
6229
  workspaceRole: WorkspaceRoleSchema.optional(),
5963
- name: z193.string(),
5964
- hidden: z193.boolean(),
5965
- token: z193.string(),
5966
- scope: z193.string().optional(),
5967
- createdAt: z193.coerce.date(),
5968
- expireAt: z193.coerce.date().optional()
6230
+ name: z194.string(),
6231
+ hidden: z194.boolean(),
6232
+ token: z194.string(),
6233
+ scope: z194.string().optional(),
6234
+ createdAt: z194.coerce.date(),
6235
+ expireAt: z194.coerce.date().optional()
5969
6236
  });
5970
6237
  export {
5971
6238
  Address,
@@ -6227,6 +6494,7 @@ export {
6227
6494
  FigmaComponentPropertyType,
6228
6495
  FigmaComponentTextProperty,
6229
6496
  FigmaComponentVariantProperty,
6497
+ FigmaExporterAnyDesignNodeSchema,
6230
6498
  FigmaFile,
6231
6499
  FigmaFileAccessData,
6232
6500
  FigmaFileDownloadScope,
@@ -6407,6 +6675,7 @@ export {
6407
6675
  PageBlockFigmaComponentEntityMeta,
6408
6676
  PageBlockFigmaFrameProperties,
6409
6677
  PageBlockFigmaNodeEntityMeta,
6678
+ PageBlockFile,
6410
6679
  PageBlockFrame,
6411
6680
  PageBlockFrameOrigin,
6412
6681
  PageBlockGuideline,
@@ -6425,6 +6694,7 @@ export {
6425
6694
  PageBlockItemEmbedValue,
6426
6695
  PageBlockItemFigmaComponentValue,
6427
6696
  PageBlockItemFigmaNodeValue,
6697
+ PageBlockItemFileValue,
6428
6698
  PageBlockItemImageValue,
6429
6699
  PageBlockItemMarkdownValue,
6430
6700
  PageBlockItemMultiRichTextValue,