@supernova-studio/model 0.59.1 → 0.59.3

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
@@ -288,7 +288,7 @@ var CustomDomain = z14.object({
288
288
  });
289
289
 
290
290
  // src/data-dumps/code-integration-dump.ts
291
- import { z as z148 } from "zod";
291
+ import { z as z149 } from "zod";
292
292
 
293
293
  // src/export/exporter.ts
294
294
  import { z as z18 } from "zod";
@@ -447,10 +447,10 @@ var Exporter = z18.object({
447
447
  });
448
448
 
449
449
  // src/export/pipeline.ts
450
- import { z as z147 } from "zod";
450
+ import { z as z148 } from "zod";
451
451
 
452
452
  // src/export/export-destinations.ts
453
- import { z as z146 } from "zod";
453
+ import { z as z147 } from "zod";
454
454
 
455
455
  // src/dsm/assets/asset-dynamo-record.ts
456
456
  import { z as z19 } from "zod";
@@ -913,6 +913,17 @@ function recordToMap(record) {
913
913
  map.set(k, v);
914
914
  return map;
915
915
  }
916
+ function applyShallowObjectUpdate(object, update) {
917
+ const objectShallowCopy = { ...object };
918
+ for (const [key, value] of Object.entries(update)) {
919
+ if (value === null) {
920
+ objectShallowCopy[key] = void 0;
921
+ } else if (value !== void 0) {
922
+ objectShallowCopy[key] = value;
923
+ }
924
+ }
925
+ return objectShallowCopy;
926
+ }
916
927
 
917
928
  // src/utils/content-loader-instruction.ts
918
929
  import { z as z35 } from "zod";
@@ -2950,7 +2961,7 @@ var FigmaNodeRenderError = z58.object({
2950
2961
  type: FigmaNodeRenderErrorType
2951
2962
  });
2952
2963
  var FigmaNodeReferenceData = z58.object({
2953
- nodeId: z58.string(),
2964
+ sceneNodeId: z58.string(),
2954
2965
  format: FigmaNodeRenderFormat,
2955
2966
  scale: nullishToOptional(z58.number()),
2956
2967
  renderState: FigmaNodeRenderState,
@@ -3658,6 +3669,9 @@ var DataSourceVersion = z89.object({
3658
3669
  label: z89.string().nullish(),
3659
3670
  description: z89.string().nullish()
3660
3671
  });
3672
+ function isDataSourceOfType(dataSource, type) {
3673
+ return dataSource.remote.type === type;
3674
+ }
3661
3675
  function zeroNumberByDefault2() {
3662
3676
  return z89.number().nullish().transform((v) => v ?? 0);
3663
3677
  }
@@ -4254,122 +4268,130 @@ function pickLatestGroupSnapshots(snapshots) {
4254
4268
  return pickLatestSnapshots(snapshots, (s) => s.group.id);
4255
4269
  }
4256
4270
 
4271
+ // src/dsm/figma-node-renderer/renderer-payload.ts
4272
+ import { z as z116 } from "zod";
4273
+ var FigmaNodeRendererPayload = z116.object({
4274
+ designSystemId: z116.string(),
4275
+ versionId: z116.string(),
4276
+ figmaNodePersistentIds: z116.string().array()
4277
+ });
4278
+
4257
4279
  // src/dsm/membership/design-system-membership.ts
4258
- import { z as z136 } from "zod";
4280
+ import { z as z137 } from "zod";
4259
4281
 
4260
4282
  // src/workspace/npm-registry-settings.ts
4261
- import { z as z116 } from "zod";
4262
- var NpmRegistryAuthType = z116.enum(["Basic", "Bearer", "None", "Custom"]);
4263
- var NpmRegistryType = z116.enum(["NPMJS", "GitHub", "AzureDevOps", "Artifactory", "Custom"]);
4264
- var NpmRegistryBasicAuthConfig = z116.object({
4265
- authType: z116.literal(NpmRegistryAuthType.Enum.Basic),
4266
- username: z116.string(),
4267
- password: z116.string()
4268
- });
4269
- var NpmRegistryBearerAuthConfig = z116.object({
4270
- authType: z116.literal(NpmRegistryAuthType.Enum.Bearer),
4271
- accessToken: z116.string()
4272
- });
4273
- var NpmRegistryNoAuthConfig = z116.object({
4274
- authType: z116.literal(NpmRegistryAuthType.Enum.None)
4275
- });
4276
- var NpmRegistrCustomAuthConfig = z116.object({
4277
- authType: z116.literal(NpmRegistryAuthType.Enum.Custom),
4278
- authHeaderName: z116.string(),
4279
- authHeaderValue: z116.string()
4280
- });
4281
- var NpmRegistryAuthConfig = z116.discriminatedUnion("authType", [
4283
+ import { z as z117 } from "zod";
4284
+ var NpmRegistryAuthType = z117.enum(["Basic", "Bearer", "None", "Custom"]);
4285
+ var NpmRegistryType = z117.enum(["NPMJS", "GitHub", "AzureDevOps", "Artifactory", "Custom"]);
4286
+ var NpmRegistryBasicAuthConfig = z117.object({
4287
+ authType: z117.literal(NpmRegistryAuthType.Enum.Basic),
4288
+ username: z117.string(),
4289
+ password: z117.string()
4290
+ });
4291
+ var NpmRegistryBearerAuthConfig = z117.object({
4292
+ authType: z117.literal(NpmRegistryAuthType.Enum.Bearer),
4293
+ accessToken: z117.string()
4294
+ });
4295
+ var NpmRegistryNoAuthConfig = z117.object({
4296
+ authType: z117.literal(NpmRegistryAuthType.Enum.None)
4297
+ });
4298
+ var NpmRegistrCustomAuthConfig = z117.object({
4299
+ authType: z117.literal(NpmRegistryAuthType.Enum.Custom),
4300
+ authHeaderName: z117.string(),
4301
+ authHeaderValue: z117.string()
4302
+ });
4303
+ var NpmRegistryAuthConfig = z117.discriminatedUnion("authType", [
4282
4304
  NpmRegistryBasicAuthConfig,
4283
4305
  NpmRegistryBearerAuthConfig,
4284
4306
  NpmRegistryNoAuthConfig,
4285
4307
  NpmRegistrCustomAuthConfig
4286
4308
  ]);
4287
- var NpmRegistryConfigBase = z116.object({
4309
+ var NpmRegistryConfigBase = z117.object({
4288
4310
  registryType: NpmRegistryType,
4289
- enabledScopes: z116.array(z116.string()),
4290
- customRegistryUrl: z116.string().optional(),
4291
- bypassProxy: z116.boolean().default(false),
4292
- npmProxyRegistryConfigId: z116.string().optional(),
4293
- npmProxyVersion: z116.number().optional()
4311
+ enabledScopes: z117.array(z117.string()),
4312
+ customRegistryUrl: z117.string().optional(),
4313
+ bypassProxy: z117.boolean().default(false),
4314
+ npmProxyRegistryConfigId: z117.string().optional(),
4315
+ npmProxyVersion: z117.number().optional()
4294
4316
  });
4295
4317
  var NpmRegistryConfig = NpmRegistryConfigBase.and(NpmRegistryAuthConfig);
4296
4318
 
4297
4319
  // src/workspace/sso-provider.ts
4298
- import { z as z117 } from "zod";
4299
- var SsoProvider = z117.object({
4300
- providerId: z117.string(),
4301
- defaultAutoInviteValue: z117.boolean(),
4302
- autoInviteDomains: z117.record(z117.string(), z117.boolean()),
4303
- skipDocsSupernovaLogin: z117.boolean(),
4304
- areInvitesDisabled: z117.boolean(),
4305
- isTestMode: z117.boolean(),
4306
- emailDomains: z117.array(z117.string()),
4307
- metadataXml: z117.string().nullish()
4320
+ import { z as z118 } from "zod";
4321
+ var SsoProvider = z118.object({
4322
+ providerId: z118.string(),
4323
+ defaultAutoInviteValue: z118.boolean(),
4324
+ autoInviteDomains: z118.record(z118.string(), z118.boolean()),
4325
+ skipDocsSupernovaLogin: z118.boolean(),
4326
+ areInvitesDisabled: z118.boolean(),
4327
+ isTestMode: z118.boolean(),
4328
+ emailDomains: z118.array(z118.string()),
4329
+ metadataXml: z118.string().nullish()
4308
4330
  });
4309
4331
 
4310
4332
  // src/workspace/user-invite.ts
4311
- import { z as z119 } from "zod";
4333
+ import { z as z120 } from "zod";
4312
4334
 
4313
4335
  // src/workspace/workspace-role.ts
4314
- import { z as z118 } from "zod";
4315
- var WorkspaceRoleSchema = z118.enum(["Owner", "Admin", "Creator", "Viewer", "Billing", "Guest", "Contributor"]);
4336
+ import { z as z119 } from "zod";
4337
+ var WorkspaceRoleSchema = z119.enum(["Owner", "Admin", "Creator", "Viewer", "Billing", "Guest", "Contributor"]);
4316
4338
  var WorkspaceRole = WorkspaceRoleSchema.enum;
4317
4339
 
4318
4340
  // src/workspace/user-invite.ts
4319
4341
  var MAX_MEMBERS_COUNT = 100;
4320
- var UserInvite = z119.object({
4321
- email: z119.string().email().trim().transform((value) => value.toLowerCase()),
4342
+ var UserInvite = z120.object({
4343
+ email: z120.string().email().trim().transform((value) => value.toLowerCase()),
4322
4344
  role: WorkspaceRoleSchema
4323
4345
  });
4324
- var UserInvites = z119.array(UserInvite).max(MAX_MEMBERS_COUNT);
4346
+ var UserInvites = z120.array(UserInvite).max(MAX_MEMBERS_COUNT);
4325
4347
 
4326
4348
  // src/workspace/workspace-configuration.ts
4327
- import { z as z121 } from "zod";
4349
+ import { z as z122 } from "zod";
4328
4350
 
4329
4351
  // src/workspace/workspace.ts
4330
4352
  import IPCIDR from "ip-cidr";
4331
- import { z as z120 } from "zod";
4353
+ import { z as z121 } from "zod";
4332
4354
  var isValidCIDR = (value) => {
4333
4355
  return IPCIDR.isValidAddress(value);
4334
4356
  };
4335
- var WorkspaceIpWhitelistEntry = z120.object({
4336
- isEnabled: z120.boolean(),
4337
- name: z120.string(),
4338
- range: z120.string().refine(isValidCIDR, {
4357
+ var WorkspaceIpWhitelistEntry = z121.object({
4358
+ isEnabled: z121.boolean(),
4359
+ name: z121.string(),
4360
+ range: z121.string().refine(isValidCIDR, {
4339
4361
  message: "Invalid IP CIDR"
4340
4362
  })
4341
4363
  });
4342
- var WorkspaceIpSettings = z120.object({
4343
- isEnabledForCloud: z120.boolean(),
4344
- isEnabledForDocs: z120.boolean(),
4345
- entries: z120.array(WorkspaceIpWhitelistEntry)
4364
+ var WorkspaceIpSettings = z121.object({
4365
+ isEnabledForCloud: z121.boolean(),
4366
+ isEnabledForDocs: z121.boolean(),
4367
+ entries: z121.array(WorkspaceIpWhitelistEntry)
4346
4368
  });
4347
- var WorkspaceProfile = z120.object({
4348
- name: z120.string(),
4349
- handle: z120.string(),
4350
- color: z120.string(),
4351
- avatar: nullishToOptional(z120.string()),
4369
+ var WorkspaceProfile = z121.object({
4370
+ name: z121.string(),
4371
+ handle: z121.string(),
4372
+ color: z121.string(),
4373
+ avatar: nullishToOptional(z121.string()),
4352
4374
  billingDetails: nullishToOptional(BillingDetails)
4353
4375
  });
4354
4376
  var WorkspaceProfileUpdate = WorkspaceProfile.omit({
4355
4377
  avatar: true
4356
4378
  });
4357
- var Workspace = z120.object({
4358
- id: z120.string(),
4379
+ var Workspace = z121.object({
4380
+ id: z121.string(),
4359
4381
  profile: WorkspaceProfile,
4360
4382
  subscription: Subscription,
4361
4383
  ipWhitelist: nullishToOptional(WorkspaceIpSettings),
4362
4384
  sso: nullishToOptional(SsoProvider),
4363
4385
  npmRegistrySettings: nullishToOptional(NpmRegistryConfig)
4364
4386
  });
4365
- var WorkspaceWithDesignSystems = z120.object({
4387
+ var WorkspaceWithDesignSystems = z121.object({
4366
4388
  workspace: Workspace,
4367
- designSystems: z120.array(DesignSystem)
4389
+ designSystems: z121.array(DesignSystem)
4368
4390
  });
4369
4391
 
4370
4392
  // src/workspace/workspace-configuration.ts
4371
- var WorkspaceConfigurationUpdate = z121.object({
4372
- id: z121.string(),
4393
+ var WorkspaceConfigurationUpdate = z122.object({
4394
+ id: z122.string(),
4373
4395
  ipWhitelist: WorkspaceIpSettings.optional(),
4374
4396
  sso: SsoProvider.optional(),
4375
4397
  npmRegistrySettings: NpmRegistryConfig.optional(),
@@ -4377,59 +4399,59 @@ var WorkspaceConfigurationUpdate = z121.object({
4377
4399
  });
4378
4400
 
4379
4401
  // src/workspace/workspace-context.ts
4380
- import { z as z122 } from "zod";
4381
- var WorkspaceContext = z122.object({
4382
- workspaceId: z122.string(),
4402
+ import { z as z123 } from "zod";
4403
+ var WorkspaceContext = z123.object({
4404
+ workspaceId: z123.string(),
4383
4405
  product: ProductCodeSchema,
4384
4406
  ipWhitelist: nullishToOptional(WorkspaceIpSettings),
4385
- publicDesignSystem: z122.boolean().optional()
4407
+ publicDesignSystem: z123.boolean().optional()
4386
4408
  });
4387
4409
 
4388
4410
  // src/workspace/workspace-create.ts
4389
- import { z as z123 } from "zod";
4411
+ import { z as z124 } from "zod";
4390
4412
  var WORKSPACE_NAME_MIN_LENGTH = 2;
4391
4413
  var WORKSPACE_NAME_MAX_LENGTH = 64;
4392
4414
  var HANDLE_MIN_LENGTH = 2;
4393
4415
  var HANDLE_MAX_LENGTH = 64;
4394
- var CreateWorkspaceInput = z123.object({
4395
- name: z123.string().min(WORKSPACE_NAME_MIN_LENGTH).max(WORKSPACE_NAME_MAX_LENGTH).trim(),
4396
- handle: z123.string().regex(slugRegex).min(HANDLE_MIN_LENGTH).max(HANDLE_MAX_LENGTH).refine((value) => value?.length > 0).optional()
4416
+ var CreateWorkspaceInput = z124.object({
4417
+ name: z124.string().min(WORKSPACE_NAME_MIN_LENGTH).max(WORKSPACE_NAME_MAX_LENGTH).trim(),
4418
+ handle: z124.string().regex(slugRegex).min(HANDLE_MIN_LENGTH).max(HANDLE_MAX_LENGTH).refine((value) => value?.length > 0).optional()
4397
4419
  });
4398
4420
 
4399
4421
  // src/workspace/workspace-invitations.ts
4400
- import { z as z124 } from "zod";
4401
- var WorkspaceInvitation = z124.object({
4402
- id: z124.string(),
4403
- email: z124.string().email(),
4404
- createdAt: z124.coerce.date(),
4405
- resentAt: z124.coerce.date().nullish(),
4406
- role: z124.nativeEnum(WorkspaceRole),
4407
- workspaceId: z124.string(),
4408
- invitedBy: z124.string()
4422
+ import { z as z125 } from "zod";
4423
+ var WorkspaceInvitation = z125.object({
4424
+ id: z125.string(),
4425
+ email: z125.string().email(),
4426
+ createdAt: z125.coerce.date(),
4427
+ resentAt: z125.coerce.date().nullish(),
4428
+ role: z125.nativeEnum(WorkspaceRole),
4429
+ workspaceId: z125.string(),
4430
+ invitedBy: z125.string()
4409
4431
  });
4410
4432
 
4411
4433
  // src/workspace/workspace-membership.ts
4412
- import { z as z133 } from "zod";
4434
+ import { z as z134 } from "zod";
4413
4435
 
4414
4436
  // src/users/linked-integrations.ts
4415
- import { z as z125 } from "zod";
4416
- var IntegrationAuthType = z125.union([z125.literal("OAuth2"), z125.literal("PAT")]);
4417
- var ExternalServiceType = z125.union([
4418
- z125.literal("figma"),
4419
- z125.literal("github"),
4420
- z125.literal("azure"),
4421
- z125.literal("gitlab"),
4422
- z125.literal("bitbucket")
4437
+ import { z as z126 } from "zod";
4438
+ var IntegrationAuthType = z126.union([z126.literal("OAuth2"), z126.literal("PAT")]);
4439
+ var ExternalServiceType = z126.union([
4440
+ z126.literal("figma"),
4441
+ z126.literal("github"),
4442
+ z126.literal("azure"),
4443
+ z126.literal("gitlab"),
4444
+ z126.literal("bitbucket")
4423
4445
  ]);
4424
- var IntegrationUserInfo = z125.object({
4425
- id: z125.string(),
4426
- handle: z125.string().optional(),
4427
- avatarUrl: z125.string().optional(),
4428
- email: z125.string().optional(),
4446
+ var IntegrationUserInfo = z126.object({
4447
+ id: z126.string(),
4448
+ handle: z126.string().optional(),
4449
+ avatarUrl: z126.string().optional(),
4450
+ email: z126.string().optional(),
4429
4451
  authType: IntegrationAuthType.optional(),
4430
- customUrl: z125.string().optional()
4452
+ customUrl: z126.string().optional()
4431
4453
  });
4432
- var UserLinkedIntegrations = z125.object({
4454
+ var UserLinkedIntegrations = z126.object({
4433
4455
  figma: IntegrationUserInfo.optional(),
4434
4456
  github: IntegrationUserInfo.array().optional(),
4435
4457
  azure: IntegrationUserInfo.array().optional(),
@@ -4438,38 +4460,38 @@ var UserLinkedIntegrations = z125.object({
4438
4460
  });
4439
4461
 
4440
4462
  // src/users/user-analytics-cleanup-schedule.ts
4441
- import { z as z126 } from "zod";
4442
- var UserAnalyticsCleanupSchedule = z126.object({
4443
- userId: z126.string(),
4444
- createdAt: z126.coerce.date(),
4445
- deleteAt: z126.coerce.date()
4463
+ import { z as z127 } from "zod";
4464
+ var UserAnalyticsCleanupSchedule = z127.object({
4465
+ userId: z127.string(),
4466
+ createdAt: z127.coerce.date(),
4467
+ deleteAt: z127.coerce.date()
4446
4468
  });
4447
4469
  var UserAnalyticsCleanupScheduleDbInput = UserAnalyticsCleanupSchedule.omit({
4448
4470
  createdAt: true
4449
4471
  });
4450
4472
 
4451
4473
  // src/users/user-identity.ts
4452
- import { z as z127 } from "zod";
4453
- var UserIdentity = z127.object({
4454
- id: z127.string(),
4455
- userId: z127.string()
4474
+ import { z as z128 } from "zod";
4475
+ var UserIdentity = z128.object({
4476
+ id: z128.string(),
4477
+ userId: z128.string()
4456
4478
  });
4457
4479
 
4458
4480
  // src/users/user-minified.ts
4459
- import { z as z128 } from "zod";
4460
- var UserMinified = z128.object({
4461
- id: z128.string(),
4462
- name: z128.string(),
4463
- email: z128.string(),
4464
- avatar: z128.string().optional()
4481
+ import { z as z129 } from "zod";
4482
+ var UserMinified = z129.object({
4483
+ id: z129.string(),
4484
+ name: z129.string(),
4485
+ email: z129.string(),
4486
+ avatar: z129.string().optional()
4465
4487
  });
4466
4488
 
4467
4489
  // src/users/user-notification-settings.ts
4468
- import { z as z129 } from "zod";
4469
- var LiveblocksNotificationSettings = z129.object({
4470
- sendCommentNotificationEmails: z129.boolean()
4490
+ import { z as z130 } from "zod";
4491
+ var LiveblocksNotificationSettings = z130.object({
4492
+ sendCommentNotificationEmails: z130.boolean()
4471
4493
  });
4472
- var UserNotificationSettings = z129.object({
4494
+ var UserNotificationSettings = z130.object({
4473
4495
  liveblocksNotificationSettings: LiveblocksNotificationSettings
4474
4496
  });
4475
4497
  var defaultNotificationSettings = {
@@ -4479,27 +4501,27 @@ var defaultNotificationSettings = {
4479
4501
  };
4480
4502
 
4481
4503
  // src/users/user-profile.ts
4482
- import { z as z130 } from "zod";
4483
- var UserOnboardingDepartment = z130.enum(["Design", "Engineering", "Product", "Brand", "Other"]);
4484
- var UserOnboardingJobLevel = z130.enum(["Executive", "Manager", "IndividualContributor", "Other"]);
4485
- var UserOnboarding = z130.object({
4486
- companyName: z130.string().optional(),
4487
- numberOfPeopleInOrg: z130.string().optional(),
4488
- numberOfPeopleInDesignTeam: z130.string().optional(),
4504
+ import { z as z131 } from "zod";
4505
+ var UserOnboardingDepartment = z131.enum(["Design", "Engineering", "Product", "Brand", "Other"]);
4506
+ var UserOnboardingJobLevel = z131.enum(["Executive", "Manager", "IndividualContributor", "Other"]);
4507
+ var UserOnboarding = z131.object({
4508
+ companyName: z131.string().optional(),
4509
+ numberOfPeopleInOrg: z131.string().optional(),
4510
+ numberOfPeopleInDesignTeam: z131.string().optional(),
4489
4511
  department: UserOnboardingDepartment.optional(),
4490
- jobTitle: z130.string().optional(),
4491
- phase: z130.string().optional(),
4512
+ jobTitle: z131.string().optional(),
4513
+ phase: z131.string().optional(),
4492
4514
  jobLevel: UserOnboardingJobLevel.optional(),
4493
- designSystemName: z130.string().optional(),
4494
- defaultDestination: z130.string().optional(),
4495
- figmaUrl: z130.string().optional(),
4496
- isPageDraftOnboardingFinished: z130.boolean().optional(),
4497
- isApprovalsOnboardingFinished: z130.boolean().optional()
4498
- });
4499
- var UserProfile = z130.object({
4500
- name: z130.string(),
4501
- avatar: z130.string().optional(),
4502
- nickname: z130.string().optional(),
4515
+ designSystemName: z131.string().optional(),
4516
+ defaultDestination: z131.string().optional(),
4517
+ figmaUrl: z131.string().optional(),
4518
+ isPageDraftOnboardingFinished: z131.boolean().optional(),
4519
+ isApprovalsOnboardingFinished: z131.boolean().optional()
4520
+ });
4521
+ var UserProfile = z131.object({
4522
+ name: z131.string(),
4523
+ avatar: z131.string().optional(),
4524
+ nickname: z131.string().optional(),
4503
4525
  onboarding: UserOnboarding.optional()
4504
4526
  });
4505
4527
  var UserProfileUpdate = UserProfile.partial().omit({
@@ -4507,50 +4529,50 @@ var UserProfileUpdate = UserProfile.partial().omit({
4507
4529
  });
4508
4530
 
4509
4531
  // src/users/user-test.ts
4510
- import { z as z131 } from "zod";
4511
- var UserTest = z131.object({
4512
- id: z131.string(),
4513
- email: z131.string()
4532
+ import { z as z132 } from "zod";
4533
+ var UserTest = z132.object({
4534
+ id: z132.string(),
4535
+ email: z132.string()
4514
4536
  });
4515
4537
 
4516
4538
  // src/users/user.ts
4517
- import { z as z132 } from "zod";
4518
- var UserSource = z132.enum(["SignUp", "Invite", "SSO"]);
4519
- var User = z132.object({
4520
- id: z132.string(),
4521
- email: z132.string(),
4522
- emailVerified: z132.boolean(),
4523
- createdAt: z132.coerce.date(),
4524
- trialExpiresAt: z132.coerce.date().optional(),
4539
+ import { z as z133 } from "zod";
4540
+ var UserSource = z133.enum(["SignUp", "Invite", "SSO"]);
4541
+ var User = z133.object({
4542
+ id: z133.string(),
4543
+ email: z133.string(),
4544
+ emailVerified: z133.boolean(),
4545
+ createdAt: z133.coerce.date(),
4546
+ trialExpiresAt: z133.coerce.date().optional(),
4525
4547
  profile: UserProfile,
4526
4548
  linkedIntegrations: UserLinkedIntegrations.optional(),
4527
- loggedOutAt: z132.coerce.date().optional(),
4528
- isProtected: z132.boolean(),
4549
+ loggedOutAt: z133.coerce.date().optional(),
4550
+ isProtected: z133.boolean(),
4529
4551
  source: UserSource.optional()
4530
4552
  });
4531
4553
 
4532
4554
  // src/workspace/workspace-membership.ts
4533
- var WorkspaceMembership = z133.object({
4534
- id: z133.string(),
4535
- userId: z133.string(),
4536
- workspaceId: z133.string(),
4537
- workspaceRole: z133.nativeEnum(WorkspaceRole),
4555
+ var WorkspaceMembership = z134.object({
4556
+ id: z134.string(),
4557
+ userId: z134.string(),
4558
+ workspaceId: z134.string(),
4559
+ workspaceRole: z134.nativeEnum(WorkspaceRole),
4538
4560
  notificationSettings: UserNotificationSettings,
4539
- isPrimaryOwner: z133.boolean().nullish()
4540
- });
4541
- var UpdateMembershipRolesInput = z133.object({
4542
- members: z133.array(
4543
- z133.object({
4544
- userId: z133.string(),
4545
- role: z133.nativeEnum(WorkspaceRole),
4546
- isPrimaryOwner: z133.boolean().optional()
4561
+ isPrimaryOwner: z134.boolean().nullish()
4562
+ });
4563
+ var UpdateMembershipRolesInput = z134.object({
4564
+ members: z134.array(
4565
+ z134.object({
4566
+ userId: z134.string(),
4567
+ role: z134.nativeEnum(WorkspaceRole),
4568
+ isPrimaryOwner: z134.boolean().optional()
4547
4569
  })
4548
4570
  )
4549
4571
  });
4550
4572
 
4551
4573
  // src/dsm/membership/ds-role.ts
4552
- import { z as z134 } from "zod";
4553
- var DesignSystemRole = z134.enum([
4574
+ import { z as z135 } from "zod";
4575
+ var DesignSystemRole = z135.enum([
4554
4576
  WorkspaceRole.Admin,
4555
4577
  WorkspaceRole.Contributor,
4556
4578
  WorkspaceRole.Creator,
@@ -4574,46 +4596,46 @@ function workspaceRoleToDesignSystemRole(role) {
4574
4596
  }
4575
4597
 
4576
4598
  // src/dsm/membership/invitations.ts
4577
- import { z as z135 } from "zod";
4578
- var DesignSystemInvitation = z135.object({
4579
- id: z135.string(),
4580
- designSystemId: z135.string(),
4581
- workspaceInvitationId: z135.string(),
4599
+ import { z as z136 } from "zod";
4600
+ var DesignSystemInvitation = z136.object({
4601
+ id: z136.string(),
4602
+ designSystemId: z136.string(),
4603
+ workspaceInvitationId: z136.string(),
4582
4604
  designSystemRole: DesignSystemRole.optional(),
4583
4605
  workspaceRole: WorkspaceRoleSchema
4584
4606
  });
4585
4607
 
4586
4608
  // src/dsm/membership/design-system-membership.ts
4587
- var DesignSystemMembership = z136.object({
4588
- id: z136.string(),
4589
- userId: z136.string(),
4590
- designSystemId: z136.string(),
4609
+ var DesignSystemMembership = z137.object({
4610
+ id: z137.string(),
4611
+ userId: z137.string(),
4612
+ designSystemId: z137.string(),
4591
4613
  designSystemRole: DesignSystemRole.optional(),
4592
- workspaceMembershipId: z136.string(),
4614
+ workspaceMembershipId: z137.string(),
4593
4615
  workspaceRole: WorkspaceRoleSchema
4594
4616
  });
4595
- var DesignSystemMembers = z136.object({
4617
+ var DesignSystemMembers = z137.object({
4596
4618
  members: DesignSystemMembership.array(),
4597
4619
  invitations: DesignSystemInvitation.array()
4598
4620
  });
4599
- var DesignSystemPendingMemberInvitation = z136.object({
4600
- inviteId: z136.string(),
4621
+ var DesignSystemPendingMemberInvitation = z137.object({
4622
+ inviteId: z137.string(),
4601
4623
  /**
4602
4624
  * Role that the user will have in the design system, undefined
4603
4625
  * if it should be inherited from the workspace
4604
4626
  */
4605
4627
  designSystemRole: DesignSystemRole.optional()
4606
4628
  });
4607
- var DesignSystemUserInvitation = z136.object({
4608
- userId: z136.string(),
4629
+ var DesignSystemUserInvitation = z137.object({
4630
+ userId: z137.string(),
4609
4631
  /**
4610
4632
  * Role that the user will have in the design system, undefined
4611
4633
  * if it should be inherited from the workspace
4612
4634
  */
4613
4635
  designSystemRole: DesignSystemRole.optional()
4614
4636
  });
4615
- var DesignSystemInvite = z136.object({
4616
- email: z136.string(),
4637
+ var DesignSystemInvite = z137.object({
4638
+ email: z137.string(),
4617
4639
  workspaceRole: WorkspaceRoleSchema,
4618
4640
  /**
4619
4641
  * Role that the user will have in the design system, undefined
@@ -4621,300 +4643,300 @@ var DesignSystemInvite = z136.object({
4621
4643
  */
4622
4644
  designSystemRole: DesignSystemRole.optional()
4623
4645
  });
4624
- var DesignSystemMemberUpdate = z136.object({
4625
- userId: z136.string(),
4646
+ var DesignSystemMemberUpdate = z137.object({
4647
+ userId: z137.string(),
4626
4648
  designSystemRole: DesignSystemRole.nullable()
4627
4649
  });
4628
- var DesignSystemInviteUpdate = z136.object({
4650
+ var DesignSystemInviteUpdate = z137.object({
4629
4651
  /**
4630
4652
  * Workspace invitation id
4631
4653
  */
4632
- inviteId: z136.string(),
4654
+ inviteId: z137.string(),
4633
4655
  designSystemRole: DesignSystemRole.nullable()
4634
4656
  });
4635
- var DesignSystemMembershipUpdates = z136.object({
4657
+ var DesignSystemMembershipUpdates = z137.object({
4636
4658
  usersToInvite: DesignSystemUserInvitation.array().optional(),
4637
4659
  invitesToInvite: DesignSystemPendingMemberInvitation.array().optional(),
4638
4660
  emailsToInvite: DesignSystemInvite.array().optional(),
4639
4661
  usersToUpdate: DesignSystemMemberUpdate.array().optional(),
4640
4662
  invitesToUpdate: DesignSystemInviteUpdate.array().optional(),
4641
- removeUserIds: z136.string().array().optional(),
4642
- deleteInvitationIds: z136.string().array().optional()
4663
+ removeUserIds: z137.string().array().optional(),
4664
+ deleteInvitationIds: z137.string().array().optional()
4643
4665
  });
4644
4666
 
4645
4667
  // src/dsm/views/column.ts
4646
- import { z as z137 } from "zod";
4647
- var ElementViewBaseColumnType = z137.enum(["Name", "Description", "Value", "UpdatedAt"]);
4648
- var ElementViewColumnType = z137.union([
4649
- z137.literal("BaseProperty"),
4650
- z137.literal("PropertyDefinition"),
4651
- z137.literal("Theme")
4668
+ import { z as z138 } from "zod";
4669
+ var ElementViewBaseColumnType = z138.enum(["Name", "Description", "Value", "UpdatedAt"]);
4670
+ var ElementViewColumnType = z138.union([
4671
+ z138.literal("BaseProperty"),
4672
+ z138.literal("PropertyDefinition"),
4673
+ z138.literal("Theme")
4652
4674
  ]);
4653
- var ElementViewColumnSharedAttributes = z137.object({
4654
- id: z137.string(),
4655
- persistentId: z137.string(),
4656
- elementDataViewId: z137.string(),
4657
- sortPosition: z137.number(),
4658
- width: z137.number()
4675
+ var ElementViewColumnSharedAttributes = z138.object({
4676
+ id: z138.string(),
4677
+ persistentId: z138.string(),
4678
+ elementDataViewId: z138.string(),
4679
+ sortPosition: z138.number(),
4680
+ width: z138.number()
4659
4681
  });
4660
4682
  var ElementViewBasePropertyColumn = ElementViewColumnSharedAttributes.extend({
4661
- type: z137.literal("BaseProperty"),
4683
+ type: z138.literal("BaseProperty"),
4662
4684
  basePropertyType: ElementViewBaseColumnType
4663
4685
  });
4664
4686
  var ElementViewPropertyDefinitionColumn = ElementViewColumnSharedAttributes.extend({
4665
- type: z137.literal("PropertyDefinition"),
4666
- propertyDefinitionId: z137.string()
4687
+ type: z138.literal("PropertyDefinition"),
4688
+ propertyDefinitionId: z138.string()
4667
4689
  });
4668
4690
  var ElementViewThemeColumn = ElementViewColumnSharedAttributes.extend({
4669
- type: z137.literal("Theme"),
4670
- themeId: z137.string()
4691
+ type: z138.literal("Theme"),
4692
+ themeId: z138.string()
4671
4693
  });
4672
- var ElementViewColumn = z137.discriminatedUnion("type", [
4694
+ var ElementViewColumn = z138.discriminatedUnion("type", [
4673
4695
  ElementViewBasePropertyColumn,
4674
4696
  ElementViewPropertyDefinitionColumn,
4675
4697
  ElementViewThemeColumn
4676
4698
  ]);
4677
4699
 
4678
4700
  // src/dsm/views/view.ts
4679
- import { z as z138 } from "zod";
4680
- var ElementView = z138.object({
4681
- id: z138.string(),
4682
- persistentId: z138.string(),
4683
- designSystemVersionId: z138.string(),
4684
- name: z138.string(),
4685
- description: z138.string(),
4686
- targetElementType: ElementPropertyTargetType,
4687
- isDefault: z138.boolean()
4688
- });
4689
-
4690
- // src/dsm/brand.ts
4691
4701
  import { z as z139 } from "zod";
4692
- var Brand = z139.object({
4702
+ var ElementView = z139.object({
4693
4703
  id: z139.string(),
4694
- designSystemVersionId: z139.string(),
4695
4704
  persistentId: z139.string(),
4705
+ designSystemVersionId: z139.string(),
4696
4706
  name: z139.string(),
4697
- description: z139.string()
4707
+ description: z139.string(),
4708
+ targetElementType: ElementPropertyTargetType,
4709
+ isDefault: z139.boolean()
4698
4710
  });
4699
4711
 
4700
- // src/dsm/design-system.ts
4712
+ // src/dsm/brand.ts
4701
4713
  import { z as z140 } from "zod";
4702
- var DesignSystemAccessMode = z140.enum(["Open", "InviteOnly"]);
4703
- var DesignSystemSwitcher = z140.object({
4704
- isEnabled: z140.boolean(),
4705
- designSystemIds: z140.array(z140.string())
4706
- });
4707
- var DesignSystem = z140.object({
4714
+ var Brand = z140.object({
4708
4715
  id: z140.string(),
4709
- workspaceId: z140.string(),
4716
+ designSystemVersionId: z140.string(),
4717
+ persistentId: z140.string(),
4710
4718
  name: z140.string(),
4711
- description: z140.string(),
4712
- docExporterId: nullishToOptional(z140.string()),
4713
- docSlug: z140.string(),
4714
- docUserSlug: nullishToOptional(z140.string()),
4715
- docSlugDeprecated: z140.string(),
4716
- isMultibrand: z140.boolean(),
4717
- docViewUrl: nullishToOptional(z140.string()),
4718
- basePrefixes: z140.array(z140.string()),
4719
+ description: z140.string()
4720
+ });
4721
+
4722
+ // src/dsm/design-system.ts
4723
+ import { z as z141 } from "zod";
4724
+ var DesignSystemAccessMode = z141.enum(["Open", "InviteOnly"]);
4725
+ var DesignSystemSwitcher = z141.object({
4726
+ isEnabled: z141.boolean(),
4727
+ designSystemIds: z141.array(z141.string())
4728
+ });
4729
+ var DesignSystem = z141.object({
4730
+ id: z141.string(),
4731
+ workspaceId: z141.string(),
4732
+ name: z141.string(),
4733
+ description: z141.string(),
4734
+ docExporterId: nullishToOptional(z141.string()),
4735
+ docSlug: z141.string(),
4736
+ docUserSlug: nullishToOptional(z141.string()),
4737
+ docSlugDeprecated: z141.string(),
4738
+ isMultibrand: z141.boolean(),
4739
+ docViewUrl: nullishToOptional(z141.string()),
4740
+ basePrefixes: z141.array(z141.string()),
4719
4741
  designSystemSwitcher: nullishToOptional(DesignSystemSwitcher),
4720
- isApprovalFeatureEnabled: z140.boolean(),
4721
- approvalRequiredForPublishing: z140.boolean(),
4742
+ isApprovalFeatureEnabled: z141.boolean(),
4743
+ approvalRequiredForPublishing: z141.boolean(),
4722
4744
  accessMode: DesignSystemAccessMode,
4723
- membersGenerated: z140.boolean(),
4724
- createdAt: z140.coerce.date(),
4725
- updatedAt: z140.coerce.date()
4745
+ membersGenerated: z141.boolean(),
4746
+ createdAt: z141.coerce.date(),
4747
+ updatedAt: z141.coerce.date()
4726
4748
  });
4727
4749
 
4728
4750
  // src/dsm/exporter-property-values-collection.ts
4729
- import { z as z141 } from "zod";
4730
- var ExporterPropertyImageValue = z141.object({
4751
+ import { z as z142 } from "zod";
4752
+ var ExporterPropertyImageValue = z142.object({
4731
4753
  asset: PageBlockAsset.optional(),
4732
- assetId: z141.string().optional(),
4733
- assetUrl: z141.string().optional()
4734
- });
4735
- var ExporterPropertyValue = z141.object({
4736
- key: z141.string(),
4737
- value: z141.union([
4738
- z141.number(),
4739
- z141.string(),
4740
- z141.boolean(),
4754
+ assetId: z142.string().optional(),
4755
+ assetUrl: z142.string().optional()
4756
+ });
4757
+ var ExporterPropertyValue = z142.object({
4758
+ key: z142.string(),
4759
+ value: z142.union([
4760
+ z142.number(),
4761
+ z142.string(),
4762
+ z142.boolean(),
4741
4763
  ExporterPropertyImageValue,
4742
4764
  ColorTokenData,
4743
4765
  TypographyTokenData
4744
4766
  ])
4745
4767
  });
4746
- var ExporterPropertyValuesCollection = z141.object({
4747
- id: z141.string(),
4748
- designSystemId: z141.string(),
4749
- exporterId: z141.string(),
4750
- values: z141.array(ExporterPropertyValue)
4768
+ var ExporterPropertyValuesCollection = z142.object({
4769
+ id: z142.string(),
4770
+ designSystemId: z142.string(),
4771
+ exporterId: z142.string(),
4772
+ values: z142.array(ExporterPropertyValue)
4751
4773
  });
4752
4774
 
4753
4775
  // src/dsm/published-doc-page-visits.ts
4754
- import { z as z142 } from "zod";
4755
- var PublishedDocPageVisitsEntry = z142.object({
4756
- id: z142.string(),
4757
- versionId: z142.string(),
4758
- pagePersistentId: z142.string(),
4759
- locale: z142.string().optional(),
4760
- timestamp: z142.coerce.date(),
4761
- visits: z142.number()
4776
+ import { z as z143 } from "zod";
4777
+ var PublishedDocPageVisitsEntry = z143.object({
4778
+ id: z143.string(),
4779
+ versionId: z143.string(),
4780
+ pagePersistentId: z143.string(),
4781
+ locale: z143.string().optional(),
4782
+ timestamp: z143.coerce.date(),
4783
+ visits: z143.number()
4762
4784
  });
4763
4785
 
4764
4786
  // src/dsm/published-doc-page.ts
4765
- import { z as z143 } from "zod";
4787
+ import { z as z144 } from "zod";
4766
4788
  var SHORT_PERSISTENT_ID_LENGTH = 8;
4767
4789
  function tryParseShortPersistentId(url = "/") {
4768
4790
  const lastUrlPart = url.split("/").pop() || "";
4769
4791
  const shortPersistentId = lastUrlPart.split("-").pop()?.replaceAll(".html", "") || null;
4770
4792
  return shortPersistentId?.length === SHORT_PERSISTENT_ID_LENGTH ? shortPersistentId : null;
4771
4793
  }
4772
- var PublishedDocPage = z143.object({
4773
- id: z143.string(),
4774
- publishedDocId: z143.string(),
4775
- pageShortPersistentId: z143.string(),
4776
- pagePersistentId: z143.string().optional(),
4777
- pathV1: z143.string(),
4778
- pathV2: z143.string(),
4779
- storagePath: z143.string(),
4780
- locale: z143.string().optional(),
4781
- isPrivate: z143.boolean(),
4782
- isHidden: z143.boolean(),
4783
- createdAt: z143.coerce.date(),
4784
- updatedAt: z143.coerce.date()
4794
+ var PublishedDocPage = z144.object({
4795
+ id: z144.string(),
4796
+ publishedDocId: z144.string(),
4797
+ pageShortPersistentId: z144.string(),
4798
+ pagePersistentId: z144.string().optional(),
4799
+ pathV1: z144.string(),
4800
+ pathV2: z144.string(),
4801
+ storagePath: z144.string(),
4802
+ locale: z144.string().optional(),
4803
+ isPrivate: z144.boolean(),
4804
+ isHidden: z144.boolean(),
4805
+ createdAt: z144.coerce.date(),
4806
+ updatedAt: z144.coerce.date()
4785
4807
  });
4786
4808
 
4787
4809
  // src/dsm/published-doc.ts
4788
- import { z as z144 } from "zod";
4810
+ import { z as z145 } from "zod";
4789
4811
  var publishedDocEnvironments = ["Live", "Preview"];
4790
- var PublishedDocEnvironment = z144.enum(publishedDocEnvironments);
4791
- var PublishedDocsChecksums = z144.record(z144.string());
4792
- var PublishedDocRoutingVersion = z144.enum(["1", "2"]);
4793
- var PublishedDoc = z144.object({
4794
- id: z144.string(),
4795
- designSystemVersionId: z144.string(),
4796
- createdAt: z144.coerce.date(),
4797
- updatedAt: z144.coerce.date(),
4798
- lastPublishedAt: z144.coerce.date(),
4799
- isDefault: z144.boolean(),
4800
- isPublic: z144.boolean(),
4812
+ var PublishedDocEnvironment = z145.enum(publishedDocEnvironments);
4813
+ var PublishedDocsChecksums = z145.record(z145.string());
4814
+ var PublishedDocRoutingVersion = z145.enum(["1", "2"]);
4815
+ var PublishedDoc = z145.object({
4816
+ id: z145.string(),
4817
+ designSystemVersionId: z145.string(),
4818
+ createdAt: z145.coerce.date(),
4819
+ updatedAt: z145.coerce.date(),
4820
+ lastPublishedAt: z145.coerce.date(),
4821
+ isDefault: z145.boolean(),
4822
+ isPublic: z145.boolean(),
4801
4823
  environment: PublishedDocEnvironment,
4802
4824
  checksums: PublishedDocsChecksums,
4803
- storagePath: z144.string(),
4804
- wasMigrated: z144.boolean(),
4825
+ storagePath: z145.string(),
4826
+ wasMigrated: z145.boolean(),
4805
4827
  routingVersion: PublishedDocRoutingVersion,
4806
- usesLocalizations: z144.boolean(),
4807
- wasPublishedWithLocalizations: z144.boolean(),
4808
- tokenCount: z144.number(),
4809
- assetCount: z144.number()
4828
+ usesLocalizations: z145.boolean(),
4829
+ wasPublishedWithLocalizations: z145.boolean(),
4830
+ tokenCount: z145.number(),
4831
+ assetCount: z145.number()
4810
4832
  });
4811
4833
 
4812
4834
  // src/dsm/version.ts
4813
- import { z as z145 } from "zod";
4814
- var DesignSystemVersion = z145.object({
4815
- id: z145.string(),
4816
- version: z145.string(),
4817
- createdAt: z145.coerce.date(),
4818
- designSystemId: z145.string(),
4819
- name: z145.string(),
4820
- comment: z145.string(),
4821
- isReadonly: z145.boolean(),
4822
- changeLog: z145.string(),
4823
- parentId: z145.string().optional(),
4824
- isDraftsFeatureAdopted: z145.boolean()
4825
- });
4826
- var VersionCreationJobStatus = z145.enum(["Success", "InProgress", "Error"]);
4827
- var VersionCreationJob = z145.object({
4828
- id: z145.string(),
4829
- version: z145.string(),
4830
- designSystemId: z145.string(),
4831
- designSystemVersionId: nullishToOptional(z145.string()),
4835
+ import { z as z146 } from "zod";
4836
+ var DesignSystemVersion = z146.object({
4837
+ id: z146.string(),
4838
+ version: z146.string(),
4839
+ createdAt: z146.coerce.date(),
4840
+ designSystemId: z146.string(),
4841
+ name: z146.string(),
4842
+ comment: z146.string(),
4843
+ isReadonly: z146.boolean(),
4844
+ changeLog: z146.string(),
4845
+ parentId: z146.string().optional(),
4846
+ isDraftsFeatureAdopted: z146.boolean()
4847
+ });
4848
+ var VersionCreationJobStatus = z146.enum(["Success", "InProgress", "Error"]);
4849
+ var VersionCreationJob = z146.object({
4850
+ id: z146.string(),
4851
+ version: z146.string(),
4852
+ designSystemId: z146.string(),
4853
+ designSystemVersionId: nullishToOptional(z146.string()),
4832
4854
  status: VersionCreationJobStatus,
4833
- errorMessage: nullishToOptional(z145.string())
4855
+ errorMessage: nullishToOptional(z146.string())
4834
4856
  });
4835
4857
 
4836
4858
  // src/export/export-destinations.ts
4837
4859
  var BITBUCKET_SLUG = /^[-a-zA-Z0-9~]*$/;
4838
4860
  var BITBUCKET_MAX_LENGTH = 64;
4839
- var ExportJobDocumentationChanges = z146.object({
4840
- pagePersistentIds: z146.string().array(),
4841
- groupPersistentIds: z146.string().array()
4861
+ var ExportJobDocumentationChanges = z147.object({
4862
+ pagePersistentIds: z147.string().array(),
4863
+ groupPersistentIds: z147.string().array()
4842
4864
  });
4843
- var ExporterDestinationDocs = z146.object({
4865
+ var ExporterDestinationDocs = z147.object({
4844
4866
  environment: PublishedDocEnvironment,
4845
4867
  changes: nullishToOptional(ExportJobDocumentationChanges)
4846
4868
  });
4847
- var ExporterDestinationS3 = z146.object({});
4848
- var ExporterDestinationGithub = z146.object({
4849
- credentialId: z146.string().optional(),
4869
+ var ExporterDestinationS3 = z147.object({});
4870
+ var ExporterDestinationGithub = z147.object({
4871
+ credentialId: z147.string().optional(),
4850
4872
  // Repository
4851
- url: z146.string(),
4873
+ url: z147.string(),
4852
4874
  // Location
4853
- branch: z146.string(),
4854
- relativePath: nullishToOptional(z146.string()),
4855
- purgeDirectory: nullishToOptional(z146.boolean()),
4875
+ branch: z147.string(),
4876
+ relativePath: nullishToOptional(z147.string()),
4877
+ purgeDirectory: nullishToOptional(z147.boolean()),
4856
4878
  // Commit metadata
4857
- commitAuthorName: nullishToOptional(z146.string()),
4858
- commitAuthorEmail: nullishToOptional(z146.string()),
4879
+ commitAuthorName: nullishToOptional(z147.string()),
4880
+ commitAuthorEmail: nullishToOptional(z147.string()),
4859
4881
  // Legacy deprecated fields. Use `credentialId` instead
4860
- connectionId: nullishToOptional(z146.string()),
4861
- userId: nullishToOptional(z146.number())
4882
+ connectionId: nullishToOptional(z147.string()),
4883
+ userId: nullishToOptional(z147.number())
4862
4884
  });
4863
- var ExporterDestinationAzure = z146.object({
4864
- credentialId: z146.string().optional(),
4885
+ var ExporterDestinationAzure = z147.object({
4886
+ credentialId: z147.string().optional(),
4865
4887
  // Repository
4866
- organizationId: z146.string(),
4867
- projectId: z146.string(),
4868
- repositoryId: z146.string(),
4888
+ organizationId: z147.string(),
4889
+ projectId: z147.string(),
4890
+ repositoryId: z147.string(),
4869
4891
  // Commit metadata
4870
- commitAuthorName: nullishToOptional(z146.string()),
4871
- commitAuthorEmail: nullishToOptional(z146.string()),
4892
+ commitAuthorName: nullishToOptional(z147.string()),
4893
+ commitAuthorEmail: nullishToOptional(z147.string()),
4872
4894
  // Location
4873
- branch: z146.string(),
4874
- relativePath: nullishToOptional(z146.string()),
4875
- purgeDirectory: nullishToOptional(z146.boolean()),
4895
+ branch: z147.string(),
4896
+ relativePath: nullishToOptional(z147.string()),
4897
+ purgeDirectory: nullishToOptional(z147.boolean()),
4876
4898
  // Maybe not needed
4877
- url: nullishToOptional(z146.string()),
4899
+ url: nullishToOptional(z147.string()),
4878
4900
  // Legacy deprecated fields. Use `credentialId` instead
4879
- connectionId: nullishToOptional(z146.string()),
4880
- userId: nullishToOptional(z146.number())
4901
+ connectionId: nullishToOptional(z147.string()),
4902
+ userId: nullishToOptional(z147.number())
4881
4903
  });
4882
- var ExporterDestinationGitlab = z146.object({
4883
- credentialId: z146.string().optional(),
4904
+ var ExporterDestinationGitlab = z147.object({
4905
+ credentialId: z147.string().optional(),
4884
4906
  // Repository
4885
- projectId: z146.string(),
4907
+ projectId: z147.string(),
4886
4908
  // Commit metadata
4887
- commitAuthorName: nullishToOptional(z146.string()),
4888
- commitAuthorEmail: nullishToOptional(z146.string()),
4909
+ commitAuthorName: nullishToOptional(z147.string()),
4910
+ commitAuthorEmail: nullishToOptional(z147.string()),
4889
4911
  // Location
4890
- branch: z146.string(),
4891
- relativePath: nullishToOptional(z146.string()),
4892
- purgeDirectory: nullishToOptional(z146.boolean()),
4912
+ branch: z147.string(),
4913
+ relativePath: nullishToOptional(z147.string()),
4914
+ purgeDirectory: nullishToOptional(z147.boolean()),
4893
4915
  // Maybe not needed
4894
- url: nullishToOptional(z146.string()),
4916
+ url: nullishToOptional(z147.string()),
4895
4917
  // Legacy deprecated fields. Use `credentialId` instead
4896
- connectionId: nullishToOptional(z146.string()),
4897
- userId: nullishToOptional(z146.number())
4918
+ connectionId: nullishToOptional(z147.string()),
4919
+ userId: nullishToOptional(z147.number())
4898
4920
  });
4899
- var ExporterDestinationBitbucket = z146.object({
4900
- credentialId: z146.string().optional(),
4921
+ var ExporterDestinationBitbucket = z147.object({
4922
+ credentialId: z147.string().optional(),
4901
4923
  // Repository
4902
- workspaceSlug: z146.string().max(BITBUCKET_MAX_LENGTH).regex(BITBUCKET_SLUG),
4903
- projectKey: z146.string().max(BITBUCKET_MAX_LENGTH).regex(BITBUCKET_SLUG),
4904
- repoSlug: z146.string().max(BITBUCKET_MAX_LENGTH).regex(BITBUCKET_SLUG),
4924
+ workspaceSlug: z147.string().max(BITBUCKET_MAX_LENGTH).regex(BITBUCKET_SLUG),
4925
+ projectKey: z147.string().max(BITBUCKET_MAX_LENGTH).regex(BITBUCKET_SLUG),
4926
+ repoSlug: z147.string().max(BITBUCKET_MAX_LENGTH).regex(BITBUCKET_SLUG),
4905
4927
  // Commit metadata
4906
- commitAuthorName: nullishToOptional(z146.string()),
4907
- commitAuthorEmail: nullishToOptional(z146.string()),
4928
+ commitAuthorName: nullishToOptional(z147.string()),
4929
+ commitAuthorEmail: nullishToOptional(z147.string()),
4908
4930
  // Location
4909
- branch: z146.string(),
4910
- relativePath: nullishToOptional(z146.string()),
4911
- purgeDirectory: nullishToOptional(z146.boolean()),
4931
+ branch: z147.string(),
4932
+ relativePath: nullishToOptional(z147.string()),
4933
+ purgeDirectory: nullishToOptional(z147.boolean()),
4912
4934
  // Legacy deprecated fields. Use `credentialId` instead
4913
- connectionId: nullishToOptional(z146.string()),
4914
- userId: nullishToOptional(z146.number())
4935
+ connectionId: nullishToOptional(z147.string()),
4936
+ userId: nullishToOptional(z147.number())
4915
4937
  });
4916
- var ExportDestinationsMap = z146.object({
4917
- webhookUrl: z146.string().optional(),
4938
+ var ExportDestinationsMap = z147.object({
4939
+ webhookUrl: z147.string().optional(),
4918
4940
  destinationSnDocs: ExporterDestinationDocs.optional(),
4919
4941
  destinationS3: ExporterDestinationS3.optional(),
4920
4942
  destinationGithub: ExporterDestinationGithub.optional(),
@@ -4924,114 +4946,114 @@ var ExportDestinationsMap = z146.object({
4924
4946
  });
4925
4947
 
4926
4948
  // src/export/pipeline.ts
4927
- var PipelineEventType = z147.enum(["OnVersionReleased", "OnHeadChanged", "OnSourceUpdated", "None"]);
4928
- var PipelineDestinationGitType = z147.enum(["Github", "Gitlab", "Bitbucket", "Azure"]);
4929
- var PipelineDestinationExtraType = z147.enum(["WebhookUrl", "S3", "Documentation"]);
4930
- var PipelineDestinationType = z147.union([PipelineDestinationGitType, PipelineDestinationExtraType]);
4931
- var Pipeline = z147.object({
4932
- id: z147.string(),
4933
- name: z147.string(),
4949
+ var PipelineEventType = z148.enum(["OnVersionReleased", "OnHeadChanged", "OnSourceUpdated", "None"]);
4950
+ var PipelineDestinationGitType = z148.enum(["Github", "Gitlab", "Bitbucket", "Azure"]);
4951
+ var PipelineDestinationExtraType = z148.enum(["WebhookUrl", "S3", "Documentation"]);
4952
+ var PipelineDestinationType = z148.union([PipelineDestinationGitType, PipelineDestinationExtraType]);
4953
+ var Pipeline = z148.object({
4954
+ id: z148.string(),
4955
+ name: z148.string(),
4934
4956
  eventType: PipelineEventType,
4935
- isEnabled: z147.boolean(),
4936
- workspaceId: z147.string(),
4937
- designSystemId: z147.string(),
4938
- exporterId: z147.string(),
4939
- brandPersistentId: z147.string().optional(),
4940
- themePersistentId: z147.string().optional(),
4941
- themePersistentIds: z147.string().array().optional(),
4957
+ isEnabled: z148.boolean(),
4958
+ workspaceId: z148.string(),
4959
+ designSystemId: z148.string(),
4960
+ exporterId: z148.string(),
4961
+ brandPersistentId: z148.string().optional(),
4962
+ themePersistentId: z148.string().optional(),
4963
+ themePersistentIds: z148.string().array().optional(),
4942
4964
  exporterConfigurationProperties: ExporterPropertyDefinitionValueMap.optional(),
4943
4965
  // Destinations
4944
4966
  ...ExportDestinationsMap.shape
4945
4967
  });
4946
4968
 
4947
4969
  // src/data-dumps/code-integration-dump.ts
4948
- var ExportJobDump = z148.object({
4949
- id: z148.string(),
4950
- createdAt: z148.coerce.date(),
4951
- finishedAt: z148.coerce.date(),
4952
- exportArtefacts: z148.string()
4970
+ var ExportJobDump = z149.object({
4971
+ id: z149.string(),
4972
+ createdAt: z149.coerce.date(),
4973
+ finishedAt: z149.coerce.date(),
4974
+ exportArtefacts: z149.string()
4953
4975
  });
4954
- var CodeIntegrationDump = z148.object({
4976
+ var CodeIntegrationDump = z149.object({
4955
4977
  exporters: Exporter.array(),
4956
4978
  pipelines: Pipeline.array(),
4957
4979
  exportJobs: ExportJobDump.array()
4958
4980
  });
4959
4981
 
4960
4982
  // src/data-dumps/design-system-dump.ts
4961
- import { z as z155 } from "zod";
4983
+ import { z as z156 } from "zod";
4962
4984
 
4963
4985
  // src/data-dumps/design-system-version-dump.ts
4964
- import { z as z154 } from "zod";
4986
+ import { z as z155 } from "zod";
4965
4987
 
4966
4988
  // src/liveblocks/rooms/design-system-version-room.ts
4967
- import { z as z149 } from "zod";
4989
+ import { z as z150 } from "zod";
4968
4990
  var DesignSystemVersionRoom = Entity.extend({
4969
- designSystemVersionId: z149.string(),
4970
- liveblocksId: z149.string()
4971
- });
4972
- var DesignSystemVersionRoomInternalSettings = z149.object({
4973
- routingVersion: z149.string(),
4974
- isDraftFeatureAdopted: z149.boolean(),
4975
- isApprovalFeatureEnabled: z149.boolean(),
4976
- approvalRequiredForPublishing: z149.boolean()
4977
- });
4978
- var DesignSystemVersionRoomInitialState = z149.object({
4979
- pages: z149.array(DocumentationPageV2),
4980
- groups: z149.array(ElementGroup),
4981
- pageSnapshots: z149.array(DocumentationPageSnapshot),
4982
- groupSnapshots: z149.array(ElementGroupSnapshot),
4983
- pageApprovals: z149.array(DocumentationPageApproval),
4991
+ designSystemVersionId: z150.string(),
4992
+ liveblocksId: z150.string()
4993
+ });
4994
+ var DesignSystemVersionRoomInternalSettings = z150.object({
4995
+ routingVersion: z150.string(),
4996
+ isDraftFeatureAdopted: z150.boolean(),
4997
+ isApprovalFeatureEnabled: z150.boolean(),
4998
+ approvalRequiredForPublishing: z150.boolean()
4999
+ });
5000
+ var DesignSystemVersionRoomInitialState = z150.object({
5001
+ pages: z150.array(DocumentationPageV2),
5002
+ groups: z150.array(ElementGroup),
5003
+ pageSnapshots: z150.array(DocumentationPageSnapshot),
5004
+ groupSnapshots: z150.array(ElementGroupSnapshot),
5005
+ pageApprovals: z150.array(DocumentationPageApproval),
4984
5006
  internalSettings: DesignSystemVersionRoomInternalSettings
4985
5007
  });
4986
- var DesignSystemVersionRoomUpdate = z149.object({
4987
- pages: z149.array(DocumentationPageV2),
4988
- groups: z149.array(ElementGroup),
4989
- pageIdsToDelete: z149.array(z149.string()),
4990
- groupIdsToDelete: z149.array(z149.string()),
4991
- pageSnapshots: z149.array(DocumentationPageSnapshot),
4992
- groupSnapshots: z149.array(ElementGroupSnapshot),
4993
- pageSnapshotIdsToDelete: z149.array(z149.string()),
4994
- groupSnapshotIdsToDelete: z149.array(z149.string()),
4995
- pageHashesToUpdate: z149.record(z149.string(), z149.string()),
4996
- pageApprovals: z149.array(DocumentationPageApproval),
4997
- pageApprovalIdsToDelete: z149.array(z149.string())
5008
+ var DesignSystemVersionRoomUpdate = z150.object({
5009
+ pages: z150.array(DocumentationPageV2),
5010
+ groups: z150.array(ElementGroup),
5011
+ pageIdsToDelete: z150.array(z150.string()),
5012
+ groupIdsToDelete: z150.array(z150.string()),
5013
+ pageSnapshots: z150.array(DocumentationPageSnapshot),
5014
+ groupSnapshots: z150.array(ElementGroupSnapshot),
5015
+ pageSnapshotIdsToDelete: z150.array(z150.string()),
5016
+ groupSnapshotIdsToDelete: z150.array(z150.string()),
5017
+ pageHashesToUpdate: z150.record(z150.string(), z150.string()),
5018
+ pageApprovals: z150.array(DocumentationPageApproval),
5019
+ pageApprovalIdsToDelete: z150.array(z150.string())
4998
5020
  });
4999
5021
 
5000
5022
  // src/liveblocks/rooms/documentation-page-room.ts
5001
- import { z as z150 } from "zod";
5023
+ import { z as z151 } from "zod";
5002
5024
  var DocumentationPageRoom = Entity.extend({
5003
- designSystemVersionId: z150.string(),
5004
- documentationPageId: z150.string(),
5005
- liveblocksId: z150.string(),
5006
- isDirty: z150.boolean()
5025
+ designSystemVersionId: z151.string(),
5026
+ documentationPageId: z151.string(),
5027
+ liveblocksId: z151.string(),
5028
+ isDirty: z151.boolean()
5007
5029
  });
5008
- var DocumentationPageRoomState = z150.object({
5009
- pageItems: z150.array(PageBlockEditorModelV2.or(PageSectionEditorModelV2)),
5030
+ var DocumentationPageRoomState = z151.object({
5031
+ pageItems: z151.array(PageBlockEditorModelV2.or(PageSectionEditorModelV2)),
5010
5032
  itemConfiguration: DocumentationItemConfigurationV2
5011
5033
  });
5012
- var DocumentationPageRoomRoomUpdate = z150.object({
5034
+ var DocumentationPageRoomRoomUpdate = z151.object({
5013
5035
  page: DocumentationPageV2,
5014
5036
  pageParent: ElementGroup
5015
5037
  });
5016
5038
  var DocumentationPageRoomInitialStateUpdate = DocumentationPageRoomRoomUpdate.extend({
5017
- pageItems: z150.array(PageBlockEditorModelV2.or(PageSectionEditorModelV2)),
5018
- blockDefinitions: z150.array(PageBlockDefinition)
5039
+ pageItems: z151.array(PageBlockEditorModelV2.or(PageSectionEditorModelV2)),
5040
+ blockDefinitions: z151.array(PageBlockDefinition)
5019
5041
  });
5020
- var RestoredDocumentationPage = z150.object({
5042
+ var RestoredDocumentationPage = z151.object({
5021
5043
  page: DocumentationPageV2,
5022
5044
  pageParent: ElementGroup,
5023
5045
  pageContent: DocumentationPageContentData,
5024
- contentHash: z150.string(),
5025
- snapshotId: z150.string(),
5026
- roomId: z150.string().optional()
5046
+ contentHash: z151.string(),
5047
+ snapshotId: z151.string(),
5048
+ roomId: z151.string().optional()
5027
5049
  });
5028
- var RestoredDocumentationGroup = z150.object({
5050
+ var RestoredDocumentationGroup = z151.object({
5029
5051
  group: ElementGroup,
5030
5052
  parent: ElementGroup
5031
5053
  });
5032
5054
 
5033
5055
  // src/liveblocks/rooms/room-type.ts
5034
- import { z as z151 } from "zod";
5056
+ import { z as z152 } from "zod";
5035
5057
  var RoomTypeEnum = /* @__PURE__ */ ((RoomTypeEnum2) => {
5036
5058
  RoomTypeEnum2["DocumentationPageOld"] = "documentation-page";
5037
5059
  RoomTypeEnum2["DocumentationPage"] = "doc-page";
@@ -5039,36 +5061,36 @@ var RoomTypeEnum = /* @__PURE__ */ ((RoomTypeEnum2) => {
5039
5061
  RoomTypeEnum2["Workspace"] = "workspace";
5040
5062
  return RoomTypeEnum2;
5041
5063
  })(RoomTypeEnum || {});
5042
- var RoomTypeSchema = z151.nativeEnum(RoomTypeEnum);
5064
+ var RoomTypeSchema = z152.nativeEnum(RoomTypeEnum);
5043
5065
  var RoomType = RoomTypeSchema.enum;
5044
5066
 
5045
5067
  // src/liveblocks/rooms/workspace-room.ts
5046
- import { z as z152 } from "zod";
5068
+ import { z as z153 } from "zod";
5047
5069
  var WorkspaceRoom = Entity.extend({
5048
- workspaceId: z152.string(),
5049
- liveblocksId: z152.string()
5070
+ workspaceId: z153.string(),
5071
+ liveblocksId: z153.string()
5050
5072
  });
5051
5073
 
5052
5074
  // src/data-dumps/published-docs-dump.ts
5053
- import { z as z153 } from "zod";
5054
- var PublishedDocsDump = z153.object({
5075
+ import { z as z154 } from "zod";
5076
+ var PublishedDocsDump = z154.object({
5055
5077
  documentation: PublishedDoc,
5056
5078
  pages: PublishedDocPage.array()
5057
5079
  });
5058
5080
 
5059
5081
  // src/data-dumps/design-system-version-dump.ts
5060
- var DocumentationThreadDump = z154.object({
5082
+ var DocumentationThreadDump = z155.object({
5061
5083
  thread: DocumentationCommentThread,
5062
5084
  comments: DocumentationComment.array()
5063
5085
  });
5064
- var DocumentationPageRoomDump = z154.object({
5086
+ var DocumentationPageRoomDump = z155.object({
5065
5087
  room: DocumentationPageRoom,
5066
5088
  threads: DocumentationThreadDump.array()
5067
5089
  });
5068
- var DesignSystemVersionMultiplayerDump = z154.object({
5090
+ var DesignSystemVersionMultiplayerDump = z155.object({
5069
5091
  documentationPages: DocumentationPageRoomDump.array()
5070
5092
  });
5071
- var DesignSystemVersionDump = z154.object({
5093
+ var DesignSystemVersionDump = z155.object({
5072
5094
  version: DesignSystemVersion,
5073
5095
  brands: Brand.array(),
5074
5096
  elements: DesignElement.array(),
@@ -5083,7 +5105,7 @@ var DesignSystemVersionDump = z154.object({
5083
5105
  });
5084
5106
 
5085
5107
  // src/data-dumps/design-system-dump.ts
5086
- var DesignSystemDump = z155.object({
5108
+ var DesignSystemDump = z156.object({
5087
5109
  designSystem: DesignSystem,
5088
5110
  dataSources: DataSource.array(),
5089
5111
  versions: DesignSystemVersionDump.array(),
@@ -5092,50 +5114,50 @@ var DesignSystemDump = z155.object({
5092
5114
  });
5093
5115
 
5094
5116
  // src/data-dumps/user-data-dump.ts
5095
- import { z as z158 } from "zod";
5117
+ import { z as z159 } from "zod";
5096
5118
 
5097
5119
  // src/data-dumps/workspace-dump.ts
5098
- import { z as z157 } from "zod";
5120
+ import { z as z158 } from "zod";
5099
5121
 
5100
5122
  // src/integrations/integration.ts
5101
- import { z as z156 } from "zod";
5102
- var IntegrationDesignSystem = z156.object({
5103
- designSystemId: z156.string(),
5104
- brandId: z156.string(),
5105
- title: z156.string().optional(),
5106
- userId: z156.string().optional(),
5107
- date: z156.coerce.date().optional()
5108
- });
5109
- var IntegrationCredentialsType = z156.enum(["OAuth2", "PAT"]);
5110
- var IntegrationCredentialsState = z156.enum(["Active", "Inactive"]);
5111
- var IntegrationCredentialsProfile = z156.object({
5112
- id: nullishToOptional(z156.string()),
5113
- email: nullishToOptional(z156.string()),
5114
- handle: nullishToOptional(z156.string()),
5115
- type: nullishToOptional(z156.string()),
5116
- avatarUrl: nullishToOptional(z156.string()),
5117
- organization: nullishToOptional(z156.string()),
5118
- collection: nullishToOptional(z156.string())
5119
- });
5120
- var IntegrationCredentials = z156.object({
5121
- id: z156.string(),
5123
+ import { z as z157 } from "zod";
5124
+ var IntegrationDesignSystem = z157.object({
5125
+ designSystemId: z157.string(),
5126
+ brandId: z157.string(),
5127
+ title: z157.string().optional(),
5128
+ userId: z157.string().optional(),
5129
+ date: z157.coerce.date().optional()
5130
+ });
5131
+ var IntegrationCredentialsType = z157.enum(["OAuth2", "PAT"]);
5132
+ var IntegrationCredentialsState = z157.enum(["Active", "Inactive"]);
5133
+ var IntegrationCredentialsProfile = z157.object({
5134
+ id: nullishToOptional(z157.string()),
5135
+ email: nullishToOptional(z157.string()),
5136
+ handle: nullishToOptional(z157.string()),
5137
+ type: nullishToOptional(z157.string()),
5138
+ avatarUrl: nullishToOptional(z157.string()),
5139
+ organization: nullishToOptional(z157.string()),
5140
+ collection: nullishToOptional(z157.string())
5141
+ });
5142
+ var IntegrationCredentials = z157.object({
5143
+ id: z157.string(),
5122
5144
  type: IntegrationCredentialsType,
5123
- integrationId: z156.string(),
5124
- accessToken: z156.string(),
5125
- userId: z156.string(),
5126
- createdAt: z156.coerce.date(),
5127
- refreshToken: z156.string().optional(),
5128
- tokenName: z156.string().optional(),
5129
- expiresAt: z156.coerce.date().optional(),
5130
- refreshedAt: z156.coerce.date().optional(),
5131
- username: z156.string().optional(),
5132
- appInstallationId: z156.string().optional(),
5145
+ integrationId: z157.string(),
5146
+ accessToken: z157.string(),
5147
+ userId: z157.string(),
5148
+ createdAt: z157.coerce.date(),
5149
+ refreshToken: z157.string().optional(),
5150
+ tokenName: z157.string().optional(),
5151
+ expiresAt: z157.coerce.date().optional(),
5152
+ refreshedAt: z157.coerce.date().optional(),
5153
+ username: z157.string().optional(),
5154
+ appInstallationId: z157.string().optional(),
5133
5155
  profile: IntegrationCredentialsProfile.optional(),
5134
- customUrl: z156.string().optional(),
5156
+ customUrl: z157.string().optional(),
5135
5157
  state: IntegrationCredentialsState,
5136
5158
  user: UserMinified.optional()
5137
5159
  });
5138
- var ExtendedIntegrationType = z156.enum([
5160
+ var ExtendedIntegrationType = z157.enum([
5139
5161
  "Figma",
5140
5162
  "Github",
5141
5163
  "Gitlab",
@@ -5146,26 +5168,26 @@ var ExtendedIntegrationType = z156.enum([
5146
5168
  ]);
5147
5169
  var IntegrationType = ExtendedIntegrationType.exclude(["TokenStudio", "FigmaVariablesPlugin"]);
5148
5170
  var GitIntegrationType = IntegrationType.exclude(["Figma"]);
5149
- var Integration = z156.object({
5150
- id: z156.string(),
5151
- workspaceId: z156.string(),
5171
+ var Integration = z157.object({
5172
+ id: z157.string(),
5173
+ workspaceId: z157.string(),
5152
5174
  type: IntegrationType,
5153
- createdAt: z156.coerce.date(),
5154
- integrationCredentials: z156.array(IntegrationCredentials).optional()
5155
- });
5156
- var IntegrationToken = z156.object({
5157
- access_token: z156.string(),
5158
- refresh_token: z156.string().optional(),
5159
- expires_in: z156.union([z156.number().optional(), z156.string().optional()]),
5160
- token_type: z156.string().optional(),
5161
- token_name: z156.string().optional(),
5162
- token_azure_organization_name: z156.string().optional(),
5175
+ createdAt: z157.coerce.date(),
5176
+ integrationCredentials: z157.array(IntegrationCredentials).optional()
5177
+ });
5178
+ var IntegrationToken = z157.object({
5179
+ access_token: z157.string(),
5180
+ refresh_token: z157.string().optional(),
5181
+ expires_in: z157.union([z157.number().optional(), z157.string().optional()]),
5182
+ token_type: z157.string().optional(),
5183
+ token_name: z157.string().optional(),
5184
+ token_azure_organization_name: z157.string().optional(),
5163
5185
  // Azure Cloud PAT only
5164
- token_azure_collection_name: z156.string().optional(),
5186
+ token_azure_collection_name: z157.string().optional(),
5165
5187
  // Azure Server PAT only
5166
- token_bitbucket_username: z156.string().optional(),
5188
+ token_bitbucket_username: z157.string().optional(),
5167
5189
  // Bitbucket only
5168
- custom_url: z156.string().optional().transform((value) => {
5190
+ custom_url: z157.string().optional().transform((value) => {
5169
5191
  if (!value?.trim())
5170
5192
  return void 0;
5171
5193
  return formatCustomUrl(value);
@@ -5203,7 +5225,7 @@ function formatCustomUrl(url) {
5203
5225
  }
5204
5226
 
5205
5227
  // src/data-dumps/workspace-dump.ts
5206
- var WorkspaceDump = z157.object({
5228
+ var WorkspaceDump = z158.object({
5207
5229
  workspace: Workspace,
5208
5230
  designSystems: DesignSystemDump.array(),
5209
5231
  codeIntegration: CodeIntegrationDump,
@@ -5211,122 +5233,122 @@ var WorkspaceDump = z157.object({
5211
5233
  });
5212
5234
 
5213
5235
  // src/data-dumps/user-data-dump.ts
5214
- var UserDump = z158.object({
5236
+ var UserDump = z159.object({
5215
5237
  user: User,
5216
5238
  workspaces: WorkspaceDump.array()
5217
5239
  });
5218
5240
 
5219
5241
  // src/docs-server/session.ts
5220
- import { z as z159 } from "zod";
5221
- var NpmProxyToken = z159.object({
5222
- access: z159.string(),
5223
- expiresAt: z159.number()
5242
+ import { z as z160 } from "zod";
5243
+ var NpmProxyToken = z160.object({
5244
+ access: z160.string(),
5245
+ expiresAt: z160.number()
5224
5246
  });
5225
- var SessionData = z159.object({
5226
- returnToUrl: z159.string().optional(),
5247
+ var SessionData = z160.object({
5248
+ returnToUrl: z160.string().optional(),
5227
5249
  npmProxyToken: NpmProxyToken.optional()
5228
5250
  });
5229
- var Session = z159.object({
5230
- id: z159.string(),
5231
- expiresAt: z159.coerce.date(),
5232
- userId: z159.string().nullable(),
5251
+ var Session = z160.object({
5252
+ id: z160.string(),
5253
+ expiresAt: z160.coerce.date(),
5254
+ userId: z160.string().nullable(),
5233
5255
  data: SessionData
5234
5256
  });
5235
- var AuthTokens = z159.object({
5236
- access: z159.string(),
5237
- refresh: z159.string()
5257
+ var AuthTokens = z160.object({
5258
+ access: z160.string(),
5259
+ refresh: z160.string()
5238
5260
  });
5239
- var UserSession = z159.object({
5261
+ var UserSession = z160.object({
5240
5262
  session: Session,
5241
5263
  user: User.nullable()
5242
5264
  });
5243
5265
 
5244
5266
  // src/emails/design-system-invite.ts
5245
- import { z as z160 } from "zod";
5246
- var DesignSystemInviteEmailRecipient = z160.object({
5247
- email: z160.string(),
5267
+ import { z as z161 } from "zod";
5268
+ var DesignSystemInviteEmailRecipient = z161.object({
5269
+ email: z161.string(),
5248
5270
  role: WorkspaceRoleSchema
5249
5271
  });
5250
- var DesignSystemInviteEmailData = z160.object({
5272
+ var DesignSystemInviteEmailData = z161.object({
5251
5273
  workspace: Workspace,
5252
5274
  designSystem: DesignSystem,
5253
5275
  invitedBy: User,
5254
- documentationDomain: z160.string().optional()
5276
+ documentationDomain: z161.string().optional()
5255
5277
  });
5256
5278
 
5257
5279
  // src/emails/workspace-invite.ts
5258
- import { z as z161 } from "zod";
5259
- var WorkspaceInviteEmailRecipient = z161.object({
5260
- email: z161.string(),
5280
+ import { z as z162 } from "zod";
5281
+ var WorkspaceInviteEmailRecipient = z162.object({
5282
+ email: z162.string(),
5261
5283
  role: WorkspaceRoleSchema
5262
5284
  });
5263
- var WorkspaceInviteEmailData = z161.object({
5285
+ var WorkspaceInviteEmailData = z162.object({
5264
5286
  workspace: Workspace,
5265
5287
  invitedBy: User,
5266
- documentationDomain: z161.string().optional()
5288
+ documentationDomain: z162.string().optional()
5267
5289
  });
5268
5290
 
5269
5291
  // src/events/base.ts
5270
- import { z as z164 } from "zod";
5292
+ import { z as z165 } from "zod";
5271
5293
 
5272
5294
  // src/events/data-source-imported.ts
5273
- import { z as z162 } from "zod";
5274
- var EventDataSourceImported = z162.object({
5275
- type: z162.literal("DataSourceImported"),
5276
- workspaceId: z162.string(),
5277
- designSystemId: z162.string()
5295
+ import { z as z163 } from "zod";
5296
+ var EventDataSourceImported = z163.object({
5297
+ type: z163.literal("DataSourceImported"),
5298
+ workspaceId: z163.string(),
5299
+ designSystemId: z163.string()
5278
5300
  });
5279
5301
 
5280
5302
  // src/events/version-released.ts
5281
- import { z as z163 } from "zod";
5282
- var EventVersionReleased = z163.object({
5283
- type: z163.literal("DesignSystemVersionReleased"),
5284
- workspaceId: z163.string(),
5285
- designSystemId: z163.string(),
5286
- versionId: z163.string()
5303
+ import { z as z164 } from "zod";
5304
+ var EventVersionReleased = z164.object({
5305
+ type: z164.literal("DesignSystemVersionReleased"),
5306
+ workspaceId: z164.string(),
5307
+ designSystemId: z164.string(),
5308
+ versionId: z164.string()
5287
5309
  });
5288
5310
 
5289
5311
  // src/events/base.ts
5290
- var Event = z164.discriminatedUnion("type", [EventVersionReleased, EventDataSourceImported]);
5312
+ var Event = z165.discriminatedUnion("type", [EventVersionReleased, EventDataSourceImported]);
5291
5313
 
5292
5314
  // src/export/export-runner/export-context.ts
5293
- import { z as z165 } from "zod";
5294
- var ExportJobDocumentationContext = z165.object({
5295
- isSingleVersionDocs: z165.boolean(),
5296
- versionSlug: z165.string(),
5315
+ import { z as z166 } from "zod";
5316
+ var ExportJobDocumentationContext = z166.object({
5317
+ isSingleVersionDocs: z166.boolean(),
5318
+ versionSlug: z166.string(),
5297
5319
  environment: PublishedDocEnvironment
5298
5320
  });
5299
- var ExportJobContext = z165.object({
5300
- apiUrl: z165.string(),
5301
- accessToken: z165.string(),
5302
- designSystemId: z165.string(),
5303
- designSystemName: z165.string(),
5304
- exporterId: z165.string(),
5305
- versionId: z165.string(),
5306
- brandId: z165.string().optional(),
5307
- themeId: z165.string().optional(),
5308
- themePersistentIds: z165.string().array().optional(),
5309
- exporterName: z165.string(),
5321
+ var ExportJobContext = z166.object({
5322
+ apiUrl: z166.string(),
5323
+ accessToken: z166.string(),
5324
+ designSystemId: z166.string(),
5325
+ designSystemName: z166.string(),
5326
+ exporterId: z166.string(),
5327
+ versionId: z166.string(),
5328
+ brandId: z166.string().optional(),
5329
+ themeId: z166.string().optional(),
5330
+ themePersistentIds: z166.string().array().optional(),
5331
+ exporterName: z166.string(),
5310
5332
  documentation: ExportJobDocumentationContext.optional()
5311
5333
  });
5312
- var ExportJobExporterConfiguration = z165.object({
5313
- exporterPackageUrl: z165.string(),
5334
+ var ExportJobExporterConfiguration = z166.object({
5335
+ exporterPackageUrl: z166.string(),
5314
5336
  exporterPropertyValues: ExporterPropertyValue.array(),
5315
5337
  exporterConfigurationProperties: ExporterPropertyDefinitionValueMap.optional()
5316
5338
  });
5317
5339
 
5318
5340
  // src/export/export-runner/exporter-payload.ts
5319
- import { z as z166 } from "zod";
5320
- var ExporterFunctionPayload = z166.object({
5321
- exportJobId: z166.string(),
5322
- exportContextId: z166.string(),
5323
- designSystemId: z166.string(),
5324
- workspaceId: z166.string()
5341
+ import { z as z167 } from "zod";
5342
+ var ExporterFunctionPayload = z167.object({
5343
+ exportJobId: z167.string(),
5344
+ exportContextId: z167.string(),
5345
+ designSystemId: z167.string(),
5346
+ workspaceId: z167.string()
5325
5347
  });
5326
5348
 
5327
5349
  // src/export/export-jobs.ts
5328
- import { z as z167 } from "zod";
5329
- var ExportJobDestinationType = z167.enum([
5350
+ import { z as z168 } from "zod";
5351
+ var ExportJobDestinationType = z168.enum([
5330
5352
  "s3",
5331
5353
  "webhookUrl",
5332
5354
  "github",
@@ -5335,30 +5357,30 @@ var ExportJobDestinationType = z167.enum([
5335
5357
  "gitlab",
5336
5358
  "bitbucket"
5337
5359
  ]);
5338
- var ExportJobStatus = z167.enum(["InProgress", "Success", "Failed", "Timeout"]);
5339
- var ExportJobLogEntryType = z167.enum(["success", "info", "warning", "error", "user"]);
5340
- var ExportJobLogEntry = z167.object({
5341
- id: z167.string().optional(),
5342
- time: z167.coerce.date(),
5360
+ var ExportJobStatus = z168.enum(["InProgress", "Success", "Failed", "Timeout"]);
5361
+ var ExportJobLogEntryType = z168.enum(["success", "info", "warning", "error", "user"]);
5362
+ var ExportJobLogEntry = z168.object({
5363
+ id: z168.string().optional(),
5364
+ time: z168.coerce.date(),
5343
5365
  type: ExportJobLogEntryType,
5344
- message: z167.string()
5366
+ message: z168.string()
5345
5367
  });
5346
- var ExportJobPullRequestDestinationResult = z167.object({
5347
- pullRequestUrl: z167.string()
5368
+ var ExportJobPullRequestDestinationResult = z168.object({
5369
+ pullRequestUrl: z168.string()
5348
5370
  });
5349
- var ExportJobS3DestinationResult = z167.object({
5350
- bucket: z167.string(),
5351
- urlPrefix: z167.string().optional(),
5352
- path: z167.string(),
5353
- files: z167.array(z167.string()),
5354
- url: nullishToOptional(z167.string()),
5355
- urls: nullishToOptional(z167.string().array())
5371
+ var ExportJobS3DestinationResult = z168.object({
5372
+ bucket: z168.string(),
5373
+ urlPrefix: z168.string().optional(),
5374
+ path: z168.string(),
5375
+ files: z168.array(z168.string()),
5376
+ url: nullishToOptional(z168.string()),
5377
+ urls: nullishToOptional(z168.string().array())
5356
5378
  });
5357
- var ExportJobDocsDestinationResult = z167.object({
5358
- url: z167.string()
5379
+ var ExportJobDocsDestinationResult = z168.object({
5380
+ url: z168.string()
5359
5381
  });
5360
- var ExportJobResult = z167.object({
5361
- error: z167.string().optional(),
5382
+ var ExportJobResult = z168.object({
5383
+ error: z168.string().optional(),
5362
5384
  s3: nullishToOptional(ExportJobS3DestinationResult),
5363
5385
  github: nullishToOptional(ExportJobPullRequestDestinationResult),
5364
5386
  azure: nullishToOptional(ExportJobPullRequestDestinationResult),
@@ -5367,22 +5389,22 @@ var ExportJobResult = z167.object({
5367
5389
  sndocs: nullishToOptional(ExportJobDocsDestinationResult),
5368
5390
  logs: nullishToOptional(ExportJobLogEntry.array())
5369
5391
  });
5370
- var ExportJob = z167.object({
5371
- id: z167.string(),
5372
- createdAt: z167.coerce.date(),
5373
- finishedAt: z167.coerce.date().optional(),
5374
- designSystemId: z167.string(),
5375
- designSystemVersionId: z167.string(),
5376
- workspaceId: z167.string(),
5377
- scheduleId: z167.string().nullish(),
5378
- exporterId: z167.string(),
5379
- brandId: z167.string().optional(),
5380
- themeId: z167.string().optional(),
5381
- themePersistentIds: z167.string().array().optional(),
5382
- estimatedExecutionTime: z167.number().optional(),
5392
+ var ExportJob = z168.object({
5393
+ id: z168.string(),
5394
+ createdAt: z168.coerce.date(),
5395
+ finishedAt: z168.coerce.date().optional(),
5396
+ designSystemId: z168.string(),
5397
+ designSystemVersionId: z168.string(),
5398
+ workspaceId: z168.string(),
5399
+ scheduleId: z168.string().nullish(),
5400
+ exporterId: z168.string(),
5401
+ brandId: z168.string().optional(),
5402
+ themeId: z168.string().optional(),
5403
+ themePersistentIds: z168.string().array().optional(),
5404
+ estimatedExecutionTime: z168.number().optional(),
5383
5405
  status: ExportJobStatus,
5384
5406
  result: ExportJobResult.optional(),
5385
- createdByUserId: z167.string().optional(),
5407
+ createdByUserId: z168.string().optional(),
5386
5408
  exporterConfigurationProperties: ExporterPropertyDefinitionValueMap.optional(),
5387
5409
  // Destinations
5388
5410
  ...ExportDestinationsMap.shape
@@ -5397,26 +5419,26 @@ var ExportJobFindByFilter = ExportJob.pick({
5397
5419
  themeId: true,
5398
5420
  brandId: true
5399
5421
  }).extend({
5400
- destinations: z167.array(ExportJobDestinationType),
5422
+ destinations: z168.array(ExportJobDestinationType),
5401
5423
  docsEnvironment: PublishedDocEnvironment
5402
5424
  }).partial();
5403
5425
 
5404
5426
  // src/export/exporter-workspace-membership-role.ts
5405
- import { z as z168 } from "zod";
5406
- var ExporterWorkspaceMembershipRole = z168.enum(["Owner", "OwnerArchived", "User"]);
5427
+ import { z as z169 } from "zod";
5428
+ var ExporterWorkspaceMembershipRole = z169.enum(["Owner", "OwnerArchived", "User"]);
5407
5429
 
5408
5430
  // src/export/exporter-workspace-membership.ts
5409
- import { z as z169 } from "zod";
5410
- var ExporterWorkspaceMembership = z169.object({
5411
- id: z169.string(),
5412
- workspaceId: z169.string(),
5413
- exporterId: z169.string(),
5431
+ import { z as z170 } from "zod";
5432
+ var ExporterWorkspaceMembership = z170.object({
5433
+ id: z170.string(),
5434
+ workspaceId: z170.string(),
5435
+ exporterId: z170.string(),
5414
5436
  role: ExporterWorkspaceMembershipRole
5415
5437
  });
5416
5438
 
5417
5439
  // src/feature-flags/feature-flags.ts
5418
- import { z as z170 } from "zod";
5419
- var FlaggedFeature = z170.enum([
5440
+ import { z as z171 } from "zod";
5441
+ var FlaggedFeature = z171.enum([
5420
5442
  "FigmaImporterV2",
5421
5443
  "ShadowOpacityOptional",
5422
5444
  "DisableImporter",
@@ -5426,20 +5448,20 @@ var FlaggedFeature = z170.enum([
5426
5448
  "ShadowPropsKeepAliases",
5427
5449
  "NonCompatibleTypeChanges"
5428
5450
  ]);
5429
- var FeatureFlagMap = z170.record(FlaggedFeature, z170.boolean());
5430
- var FeatureFlag = z170.object({
5431
- id: z170.string(),
5451
+ var FeatureFlagMap = z171.record(FlaggedFeature, z171.boolean());
5452
+ var FeatureFlag = z171.object({
5453
+ id: z171.string(),
5432
5454
  feature: FlaggedFeature,
5433
- createdAt: z170.coerce.date(),
5434
- enabled: z170.boolean(),
5435
- designSystemId: z170.string().optional()
5455
+ createdAt: z171.coerce.date(),
5456
+ enabled: z171.boolean(),
5457
+ designSystemId: z171.string().optional()
5436
5458
  });
5437
5459
 
5438
5460
  // src/integrations/external-oauth-request.ts
5439
- import { z as z172 } from "zod";
5461
+ import { z as z173 } from "zod";
5440
5462
 
5441
5463
  // src/integrations/oauth-providers.ts
5442
- import { z as z171 } from "zod";
5464
+ import { z as z172 } from "zod";
5443
5465
  var OAuthProviderNames = /* @__PURE__ */ ((OAuthProviderNames2) => {
5444
5466
  OAuthProviderNames2["Figma"] = "figma";
5445
5467
  OAuthProviderNames2["Azure"] = "azure";
@@ -5448,128 +5470,128 @@ var OAuthProviderNames = /* @__PURE__ */ ((OAuthProviderNames2) => {
5448
5470
  OAuthProviderNames2["Bitbucket"] = "bitbucket";
5449
5471
  return OAuthProviderNames2;
5450
5472
  })(OAuthProviderNames || {});
5451
- var OAuthProviderSchema = z171.nativeEnum(OAuthProviderNames);
5473
+ var OAuthProviderSchema = z172.nativeEnum(OAuthProviderNames);
5452
5474
  var OAuthProvider = OAuthProviderSchema.enum;
5453
5475
 
5454
5476
  // src/integrations/external-oauth-request.ts
5455
- var ExternalOAuthRequest = z172.object({
5456
- id: z172.string(),
5477
+ var ExternalOAuthRequest = z173.object({
5478
+ id: z173.string(),
5457
5479
  provider: OAuthProviderSchema,
5458
- userId: z172.string(),
5459
- state: z172.string(),
5460
- createdAt: z172.coerce.date()
5480
+ userId: z173.string(),
5481
+ state: z173.string(),
5482
+ createdAt: z173.coerce.date()
5461
5483
  });
5462
5484
 
5463
5485
  // src/integrations/git.ts
5464
- import { z as z173 } from "zod";
5465
- var GitObjectsQuery = z173.object({
5466
- organization: z173.string().optional(),
5486
+ import { z as z174 } from "zod";
5487
+ var GitObjectsQuery = z174.object({
5488
+ organization: z174.string().optional(),
5467
5489
  // Azure Organization | Bitbucket Workspace slug | Gitlab Group | Github Account (User or Organization)
5468
- project: z173.string().optional(),
5490
+ project: z174.string().optional(),
5469
5491
  // Only for Bitbucket and Azure
5470
- repository: z173.string().optional(),
5492
+ repository: z174.string().optional(),
5471
5493
  // For all providers. For Gitlab, it's called "project".
5472
- branch: z173.string().optional(),
5494
+ branch: z174.string().optional(),
5473
5495
  // For all providers.
5474
- user: z173.string().optional()
5496
+ user: z174.string().optional()
5475
5497
  // Gitlab user
5476
5498
  });
5477
- var GitOrganization = z173.object({
5478
- id: z173.string(),
5479
- name: z173.string(),
5480
- url: z173.string(),
5481
- slug: z173.string()
5499
+ var GitOrganization = z174.object({
5500
+ id: z174.string(),
5501
+ name: z174.string(),
5502
+ url: z174.string(),
5503
+ slug: z174.string()
5482
5504
  });
5483
- var GitProject = z173.object({
5484
- id: z173.string(),
5485
- name: z173.string(),
5486
- url: z173.string(),
5487
- slug: z173.string()
5505
+ var GitProject = z174.object({
5506
+ id: z174.string(),
5507
+ name: z174.string(),
5508
+ url: z174.string(),
5509
+ slug: z174.string()
5488
5510
  });
5489
- var GitRepository = z173.object({
5490
- id: z173.string(),
5491
- name: z173.string(),
5492
- url: z173.string(),
5493
- slug: z173.string(),
5511
+ var GitRepository = z174.object({
5512
+ id: z174.string(),
5513
+ name: z174.string(),
5514
+ url: z174.string(),
5515
+ slug: z174.string(),
5494
5516
  /**
5495
5517
  * Can be undefined when:
5496
5518
  * - there are no branches in the repository yet
5497
5519
  * - Git provider doesn't expose this information on a repository via their API
5498
5520
  */
5499
- defaultBranch: z173.string().optional()
5521
+ defaultBranch: z174.string().optional()
5500
5522
  });
5501
- var GitBranch = z173.object({
5502
- name: z173.string(),
5503
- lastCommitId: z173.string()
5523
+ var GitBranch = z174.object({
5524
+ name: z174.string(),
5525
+ lastCommitId: z174.string()
5504
5526
  });
5505
5527
 
5506
5528
  // src/integrations/oauth-token.ts
5507
- import { z as z174 } from "zod";
5508
- var IntegrationTokenSchemaOld = z174.object({
5509
- id: z174.string(),
5529
+ import { z as z175 } from "zod";
5530
+ var IntegrationTokenSchemaOld = z175.object({
5531
+ id: z175.string(),
5510
5532
  provider: OAuthProviderSchema,
5511
- scope: z174.string(),
5512
- userId: z174.string(),
5513
- accessToken: z174.string(),
5514
- refreshToken: z174.string(),
5515
- expiresAt: z174.coerce.date(),
5516
- externalUserId: z174.string().nullish()
5533
+ scope: z175.string(),
5534
+ userId: z175.string(),
5535
+ accessToken: z175.string(),
5536
+ refreshToken: z175.string(),
5537
+ expiresAt: z175.coerce.date(),
5538
+ externalUserId: z175.string().nullish()
5517
5539
  });
5518
5540
 
5519
5541
  // src/integrations/workspace-oauth-requests.ts
5520
- import { z as z175 } from "zod";
5521
- var WorkspaceOAuthRequestSchema = z175.object({
5522
- id: z175.string(),
5523
- workspaceId: z175.string(),
5542
+ import { z as z176 } from "zod";
5543
+ var WorkspaceOAuthRequestSchema = z176.object({
5544
+ id: z176.string(),
5545
+ workspaceId: z176.string(),
5524
5546
  provider: OAuthProviderSchema,
5525
- userId: z175.string(),
5526
- createdAt: z175.coerce.date()
5547
+ userId: z176.string(),
5548
+ createdAt: z176.coerce.date()
5527
5549
  });
5528
5550
 
5529
5551
  // src/npm/npm-package.ts
5530
- import { z as z176 } from "zod";
5531
- var AnyRecord = z176.record(z176.any());
5552
+ import { z as z177 } from "zod";
5553
+ var AnyRecord = z177.record(z177.any());
5532
5554
  var NpmPackageVersionDist = AnyRecord.and(
5533
- z176.object({
5534
- tarball: z176.string()
5555
+ z177.object({
5556
+ tarball: z177.string()
5535
5557
  })
5536
5558
  );
5537
5559
  var NpmPackageVersion = AnyRecord.and(
5538
- z176.object({
5560
+ z177.object({
5539
5561
  dist: NpmPackageVersionDist
5540
5562
  })
5541
5563
  );
5542
5564
  var NpmPackage = AnyRecord.and(
5543
- z176.object({
5544
- _id: z176.string(),
5545
- name: z176.string(),
5565
+ z177.object({
5566
+ _id: z177.string(),
5567
+ name: z177.string(),
5546
5568
  // e.g. "latest": "1.2.3"
5547
- "dist-tags": z176.record(z176.string(), z176.string()),
5569
+ "dist-tags": z177.record(z177.string(), z177.string()),
5548
5570
  // "1.2.3": {...}
5549
- versions: z176.record(NpmPackageVersion)
5571
+ versions: z177.record(NpmPackageVersion)
5550
5572
  })
5551
5573
  );
5552
5574
 
5553
5575
  // src/npm/npm-proxy-token-payload.ts
5554
- import { z as z177 } from "zod";
5555
- var NpmProxyTokenPayload = z177.object({
5556
- npmProxyRegistryConfigId: z177.string()
5576
+ import { z as z178 } from "zod";
5577
+ var NpmProxyTokenPayload = z178.object({
5578
+ npmProxyRegistryConfigId: z178.string()
5557
5579
  });
5558
5580
 
5559
5581
  // src/tokens/personal-access-token.ts
5560
- import { z as z178 } from "zod";
5561
- var PersonalAccessToken = z178.object({
5562
- id: z178.string(),
5563
- userId: z178.string(),
5564
- workspaceId: z178.string().optional(),
5565
- designSystemId: z178.string().optional(),
5582
+ import { z as z179 } from "zod";
5583
+ var PersonalAccessToken = z179.object({
5584
+ id: z179.string(),
5585
+ userId: z179.string(),
5586
+ workspaceId: z179.string().optional(),
5587
+ designSystemId: z179.string().optional(),
5566
5588
  workspaceRole: WorkspaceRoleSchema.optional(),
5567
- name: z178.string(),
5568
- hidden: z178.boolean(),
5569
- token: z178.string(),
5570
- scope: z178.string().optional(),
5571
- createdAt: z178.coerce.date(),
5572
- expireAt: z178.coerce.date().optional()
5589
+ name: z179.string(),
5590
+ hidden: z179.boolean(),
5591
+ token: z179.string(),
5592
+ scope: z179.string().optional(),
5593
+ createdAt: z179.coerce.date(),
5594
+ expireAt: z179.coerce.date().optional()
5573
5595
  });
5574
5596
  export {
5575
5597
  Address,
@@ -5840,6 +5862,7 @@ export {
5840
5862
  FigmaNodeRenderFormat,
5841
5863
  FigmaNodeRenderState,
5842
5864
  FigmaNodeRenderedImage,
5865
+ FigmaNodeRendererPayload,
5843
5866
  FigmaPngRenderImportModel,
5844
5867
  FigmaRenderFormat,
5845
5868
  FigmaRenderImportModel,
@@ -6212,6 +6235,7 @@ export {
6212
6235
  ZIndexUnit,
6213
6236
  ZIndexValue,
6214
6237
  addImportModelCollections,
6238
+ applyShallowObjectUpdate,
6215
6239
  areShallowObjectsEqual,
6216
6240
  areTokenTypesCompatible,
6217
6241
  buildConstantEnum,
@@ -6233,6 +6257,7 @@ export {
6233
6257
  getCodenameFromText,
6234
6258
  getFigmaRenderFormatFileExtension,
6235
6259
  groupBy,
6260
+ isDataSourceOfType,
6236
6261
  isDesignTokenImportModelOfType,
6237
6262
  isDesignTokenOfType,
6238
6263
  isImportedAsset,