@supernova-studio/model 1.19.4 → 1.21.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.mjs CHANGED
@@ -95,6 +95,13 @@ function zodUpdateInputOmit() {
95
95
  function nullishToOptional(type) {
96
96
  return type.nullish().transform((t) => t ?? void 0);
97
97
  }
98
+ var nullsToUndefined = (obj) => {
99
+ const result = {};
100
+ for (const [key, value] of Object.entries(obj)) {
101
+ result[key] = value === null ? void 0 : value;
102
+ }
103
+ return result;
104
+ };
98
105
 
99
106
  // src/billing/customer.ts
100
107
  var Customer = z7.object({
@@ -160,7 +167,8 @@ var FeaturesSummary = z8.object({
160
167
  documentationPageRedirects: featureToggleSchema,
161
168
  analytics: featureLimitedSchema,
162
169
  designSystemFileSize: featureLimitedSchema,
163
- forgeActiveProjects: featureLimitedSchema
170
+ forgeActiveProjects: featureLimitedSchema,
171
+ forgeProjectFileSize: featureLimitedSchema
164
172
  });
165
173
 
166
174
  // src/billing/invoice.ts
@@ -5666,10 +5674,10 @@ var CodeIntegrationDump = z164.object({
5666
5674
  });
5667
5675
 
5668
5676
  // src/data-dumps/design-system-dump.ts
5669
- import { z as z189 } from "zod";
5677
+ import { z as z190 } from "zod";
5670
5678
 
5671
5679
  // src/data-dumps/design-system-version-dump.ts
5672
- import { z as z188 } from "zod";
5680
+ import { z as z189 } from "zod";
5673
5681
 
5674
5682
  // src/liveblocks/rooms/design-system-version-room.ts
5675
5683
  import { z as z165 } from "zod";
@@ -5747,7 +5755,7 @@ var ForgeProjectArtifactRoom = Entity.extend({
5747
5755
  });
5748
5756
 
5749
5757
  // src/liveblocks/rooms/forge-project-room.ts
5750
- import { z as z184 } from "zod";
5758
+ import { z as z185 } from "zod";
5751
5759
 
5752
5760
  // src/forge/agent.ts
5753
5761
  import { z as z168 } from "zod";
@@ -5959,92 +5967,105 @@ var ForgeProjectFigmaNodeRenderInput = z179.object({
5959
5967
  scale: z179.number()
5960
5968
  });
5961
5969
 
5970
+ // src/forge/project-file.ts
5971
+ import { z as z180 } from "zod";
5972
+ var ForgeProjectFile = z180.object({
5973
+ id: z180.string(),
5974
+ projectId: Id,
5975
+ name: z180.string(),
5976
+ filePath: z180.string(),
5977
+ createdAt: z180.coerce.date().optional(),
5978
+ pendingUpload: z180.boolean().optional(),
5979
+ size: z180.number().int().positive().optional(),
5980
+ checksum: z180.string()
5981
+ });
5982
+
5962
5983
  // src/forge/project-invitation.ts
5963
- import { z as z181 } from "zod";
5984
+ import { z as z182 } from "zod";
5964
5985
 
5965
5986
  // src/forge/project-membership.ts
5966
- import { z as z180 } from "zod";
5967
- var ForgeProjectRole = z180.enum(["Viewer", "Editor", "Admin"]);
5968
- var ForgeProjectMembership = z180.object({
5969
- userId: z180.string(),
5970
- forgeProjectId: z180.string(),
5971
- workspaceMembershipId: z180.string(),
5987
+ import { z as z181 } from "zod";
5988
+ var ForgeProjectRole = z181.enum(["Viewer", "Editor", "Admin"]);
5989
+ var ForgeProjectMembership = z181.object({
5990
+ userId: z181.string(),
5991
+ forgeProjectId: z181.string(),
5992
+ workspaceMembershipId: z181.string(),
5972
5993
  workspaceRole: WorkspaceRoleSchema,
5973
5994
  role: ForgeProjectRole
5974
5995
  });
5975
5996
 
5976
5997
  // src/forge/project-invitation.ts
5977
- var ForgeProjectInvitation = z181.object({
5978
- email: z181.string().email(),
5979
- forgeProjectId: z181.string(),
5980
- workspaceInvitationId: z181.string(),
5998
+ var ForgeProjectInvitation = z182.object({
5999
+ email: z182.string().email(),
6000
+ forgeProjectId: z182.string(),
6001
+ workspaceInvitationId: z182.string(),
5981
6002
  role: ForgeProjectRole,
5982
- createdAt: z181.coerce.date(),
5983
- updatedAt: z181.coerce.date(),
5984
- createdById: z181.string()
6003
+ createdAt: z182.coerce.date(),
6004
+ updatedAt: z182.coerce.date(),
6005
+ createdById: z182.string()
5985
6006
  });
5986
6007
 
5987
6008
  // src/forge/project-iteration.ts
5988
- import { z as z182 } from "zod";
5989
- var ForgeProjectIterationMergeMeta = z182.object({ mergeByUserId: z182.string(), mergeAt: z182.date() });
5990
- var ForgeProjectIteration = z182.object({
5991
- branchId: z182.string().optional(),
5992
- buildArtifactId: z182.string(),
5993
- createdAt: z182.coerce.date(),
5994
- forgeProjectId: z182.string(),
5995
- id: z182.string(),
5996
- locked: z182.boolean(),
5997
- messages: z182.array(ForgeIterationMessage),
5998
- artifacts: z182.array(ForgeArtifact),
5999
- previousIterationId: z182.string().optional(),
6009
+ import { z as z183 } from "zod";
6010
+ var ForgeProjectIterationMergeMeta = z183.object({ mergeByUserId: z183.string(), mergeAt: z183.date() });
6011
+ var ForgeProjectIteration = z183.object({
6012
+ branchId: z183.string().optional(),
6013
+ buildArtifactId: z183.string(),
6014
+ createdAt: z183.coerce.date(),
6015
+ forgeProjectId: z183.string(),
6016
+ id: z183.string(),
6017
+ locked: z183.boolean(),
6018
+ messages: z183.array(ForgeIterationMessage),
6019
+ artifacts: z183.array(ForgeArtifact),
6020
+ previousIterationId: z183.string().optional(),
6000
6021
  mergeMeta: ForgeProjectIterationMergeMeta.optional()
6001
6022
  });
6002
6023
 
6003
6024
  // src/forge/project.ts
6004
- import { z as z183 } from "zod";
6005
- var ForgeProjectTag = z183.array(z183.string()).default([]);
6006
- var ForgeProjectAccessMode = z183.enum(["InviteOnly", "Open"]);
6007
- var ForgeProject = z183.object({
6008
- createdAt: z183.coerce.date(),
6009
- createdByUserId: z183.string().optional(),
6010
- fpContextId: z183.string(),
6011
- id: z183.string(),
6012
- instruction: z183.string().nullable(),
6025
+ import { z as z184 } from "zod";
6026
+ var ForgeProjectTag = z184.array(z184.string()).default([]);
6027
+ var ForgeProjectAccessMode = z184.enum(["InviteOnly", "Open"]);
6028
+ var ForgeProject = z184.object({
6029
+ createdAt: z184.coerce.date(),
6030
+ createdByUserId: z184.string().optional(),
6031
+ fpContextId: z184.string(),
6032
+ id: z184.string(),
6033
+ instruction: z184.string().nullable(),
6013
6034
  meta: ForgeMeta,
6014
- name: z183.string(),
6035
+ name: z184.string(),
6015
6036
  tags: ForgeProjectTag,
6016
- updatedAt: z183.coerce.date().optional(),
6017
- workspaceId: z183.string(),
6037
+ updatedAt: z184.coerce.date().optional(),
6038
+ workspaceId: z184.string(),
6018
6039
  accessMode: ForgeProjectAccessMode,
6019
- isArchived: z183.boolean().optional(),
6020
- emoji: z183.string().optional()
6040
+ isArchived: z184.boolean().optional(),
6041
+ emoji: z184.string().optional()
6021
6042
  });
6022
6043
 
6023
6044
  // src/liveblocks/rooms/forge-project-room.ts
6024
6045
  var ForgeProjectRoom = Entity.extend({
6025
- projectId: z184.string(),
6026
- liveblocksId: z184.string()
6027
- });
6028
- var ForgeProjectRoomInitialState = z184.object({
6029
- artifacts: z184.array(ForgeProjectArtifact),
6030
- features: z184.array(ProjectFeature),
6031
- artifactSections: z184.array(ForgeSection),
6032
- featureSections: z184.array(ForgeSection)
6033
- });
6034
- var ForgeProjectRoomUpdate = z184.object({
6035
- artifacts: z184.array(ForgeProjectArtifact).optional(),
6036
- artifactIdsToDelete: z184.array(z184.string()).optional(),
6037
- features: z184.array(ProjectFeature).optional(),
6038
- featureIdsToDelete: z184.array(z184.string()).optional(),
6039
- artifactSections: z184.array(ForgeSection).optional(),
6040
- artifactSectionIdsToDelete: z184.array(z184.string()).optional(),
6041
- featureSections: z184.array(ForgeSection).optional(),
6042
- featureSectionIdsToDelete: z184.array(z184.string()).optional(),
6043
- executedTransactionIds: z184.string().array().optional()
6046
+ projectId: z185.string(),
6047
+ liveblocksId: z185.string()
6048
+ });
6049
+ var ForgeProjectRoomInitialState = z185.object({
6050
+ artifacts: z185.array(ForgeProjectArtifact),
6051
+ features: z185.array(ProjectFeature),
6052
+ artifactSections: z185.array(ForgeSection),
6053
+ featureSections: z185.array(ForgeSection)
6054
+ });
6055
+ var ForgeProjectRoomUpdate = z185.object({
6056
+ artifacts: z185.array(ForgeProjectArtifact).optional(),
6057
+ artifactIdsToDelete: z185.array(z185.string()).optional(),
6058
+ features: z185.array(ProjectFeature).optional(),
6059
+ featureIdsToDelete: z185.array(z185.string()).optional(),
6060
+ artifactSections: z185.array(ForgeSection).optional(),
6061
+ artifactSectionIdsToDelete: z185.array(z185.string()).optional(),
6062
+ featureSections: z185.array(ForgeSection).optional(),
6063
+ featureSectionIdsToDelete: z185.array(z185.string()).optional(),
6064
+ executedTransactionIds: z185.string().array().optional()
6044
6065
  });
6045
6066
 
6046
6067
  // src/liveblocks/rooms/room-type.ts
6047
- import { z as z185 } from "zod";
6068
+ import { z as z186 } from "zod";
6048
6069
  var RoomTypeEnum = /* @__PURE__ */ ((RoomTypeEnum2) => {
6049
6070
  RoomTypeEnum2["DocumentationPageOld"] = "documentation-page";
6050
6071
  RoomTypeEnum2["DocumentationPage"] = "doc-page";
@@ -6054,36 +6075,36 @@ var RoomTypeEnum = /* @__PURE__ */ ((RoomTypeEnum2) => {
6054
6075
  RoomTypeEnum2["ForgeProjectArtifact"] = "forge-project-artifact";
6055
6076
  return RoomTypeEnum2;
6056
6077
  })(RoomTypeEnum || {});
6057
- var RoomTypeSchema = z185.nativeEnum(RoomTypeEnum);
6078
+ var RoomTypeSchema = z186.nativeEnum(RoomTypeEnum);
6058
6079
  var RoomType = RoomTypeSchema.enum;
6059
6080
 
6060
6081
  // src/liveblocks/rooms/workspace-room.ts
6061
- import { z as z186 } from "zod";
6082
+ import { z as z187 } from "zod";
6062
6083
  var WorkspaceRoom = Entity.extend({
6063
- workspaceId: z186.string(),
6064
- liveblocksId: z186.string()
6084
+ workspaceId: z187.string(),
6085
+ liveblocksId: z187.string()
6065
6086
  });
6066
6087
 
6067
6088
  // src/data-dumps/published-docs-dump.ts
6068
- import { z as z187 } from "zod";
6069
- var PublishedDocsDump = z187.object({
6089
+ import { z as z188 } from "zod";
6090
+ var PublishedDocsDump = z188.object({
6070
6091
  documentation: PublishedDoc,
6071
6092
  pages: PublishedDocPage.array()
6072
6093
  });
6073
6094
 
6074
6095
  // src/data-dumps/design-system-version-dump.ts
6075
- var DocumentationThreadDump = z188.object({
6096
+ var DocumentationThreadDump = z189.object({
6076
6097
  thread: DocumentationCommentThread,
6077
6098
  comments: DocumentationComment.array()
6078
6099
  });
6079
- var DocumentationPageRoomDump = z188.object({
6100
+ var DocumentationPageRoomDump = z189.object({
6080
6101
  room: DocumentationPageRoom,
6081
6102
  threads: DocumentationThreadDump.array()
6082
6103
  });
6083
- var DesignSystemVersionMultiplayerDump = z188.object({
6104
+ var DesignSystemVersionMultiplayerDump = z189.object({
6084
6105
  documentationPages: DocumentationPageRoomDump.array()
6085
6106
  });
6086
- var DesignSystemVersionDump = z188.object({
6107
+ var DesignSystemVersionDump = z189.object({
6087
6108
  version: DesignSystemVersion,
6088
6109
  brands: Brand.array(),
6089
6110
  elements: DesignElement.array(),
@@ -6098,7 +6119,7 @@ var DesignSystemVersionDump = z188.object({
6098
6119
  });
6099
6120
 
6100
6121
  // src/data-dumps/design-system-dump.ts
6101
- var DesignSystemDump = z189.object({
6122
+ var DesignSystemDump = z190.object({
6102
6123
  designSystem: DesignSystem,
6103
6124
  dataSources: DataSource.array(),
6104
6125
  versions: DesignSystemVersionDump.array(),
@@ -6107,50 +6128,50 @@ var DesignSystemDump = z189.object({
6107
6128
  });
6108
6129
 
6109
6130
  // src/data-dumps/user-data-dump.ts
6110
- import { z as z192 } from "zod";
6131
+ import { z as z193 } from "zod";
6111
6132
 
6112
6133
  // src/data-dumps/workspace-dump.ts
6113
- import { z as z191 } from "zod";
6134
+ import { z as z192 } from "zod";
6114
6135
 
6115
6136
  // src/integrations/integration.ts
6116
- import { z as z190 } from "zod";
6117
- var IntegrationDesignSystem = z190.object({
6118
- designSystemId: z190.string(),
6119
- brandId: z190.string(),
6120
- title: z190.string().optional(),
6121
- userId: z190.string().optional(),
6122
- date: z190.coerce.date().optional()
6123
- });
6124
- var IntegrationCredentialsType = z190.enum(["OAuth2", "PAT"]);
6125
- var IntegrationCredentialsState = z190.enum(["Active", "Inactive"]);
6126
- var IntegrationCredentialsProfile = z190.object({
6127
- id: nullishToOptional(z190.string()),
6128
- email: nullishToOptional(z190.string()),
6129
- handle: nullishToOptional(z190.string()),
6130
- type: nullishToOptional(z190.string()),
6131
- avatarUrl: nullishToOptional(z190.string()),
6132
- organization: nullishToOptional(z190.string()),
6133
- collection: nullishToOptional(z190.string())
6134
- });
6135
- var IntegrationCredentials = z190.object({
6136
- id: z190.string(),
6137
+ import { z as z191 } from "zod";
6138
+ var IntegrationDesignSystem = z191.object({
6139
+ designSystemId: z191.string(),
6140
+ brandId: z191.string(),
6141
+ title: z191.string().optional(),
6142
+ userId: z191.string().optional(),
6143
+ date: z191.coerce.date().optional()
6144
+ });
6145
+ var IntegrationCredentialsType = z191.enum(["OAuth2", "PAT"]);
6146
+ var IntegrationCredentialsState = z191.enum(["Active", "Inactive"]);
6147
+ var IntegrationCredentialsProfile = z191.object({
6148
+ id: nullishToOptional(z191.string()),
6149
+ email: nullishToOptional(z191.string()),
6150
+ handle: nullishToOptional(z191.string()),
6151
+ type: nullishToOptional(z191.string()),
6152
+ avatarUrl: nullishToOptional(z191.string()),
6153
+ organization: nullishToOptional(z191.string()),
6154
+ collection: nullishToOptional(z191.string())
6155
+ });
6156
+ var IntegrationCredentials = z191.object({
6157
+ id: z191.string(),
6137
6158
  type: IntegrationCredentialsType,
6138
- integrationId: z190.string(),
6139
- accessToken: z190.string(),
6140
- userId: z190.string(),
6141
- createdAt: z190.coerce.date(),
6142
- refreshToken: z190.string().optional(),
6143
- tokenName: z190.string().optional(),
6144
- expiresAt: z190.coerce.date().optional(),
6145
- refreshedAt: z190.coerce.date().optional(),
6146
- username: z190.string().optional(),
6147
- appInstallationId: z190.string().optional(),
6159
+ integrationId: z191.string(),
6160
+ accessToken: z191.string(),
6161
+ userId: z191.string(),
6162
+ createdAt: z191.coerce.date(),
6163
+ refreshToken: z191.string().optional(),
6164
+ tokenName: z191.string().optional(),
6165
+ expiresAt: z191.coerce.date().optional(),
6166
+ refreshedAt: z191.coerce.date().optional(),
6167
+ username: z191.string().optional(),
6168
+ appInstallationId: z191.string().optional(),
6148
6169
  profile: IntegrationCredentialsProfile.optional(),
6149
- customUrl: z190.string().optional(),
6170
+ customUrl: z191.string().optional(),
6150
6171
  state: IntegrationCredentialsState,
6151
6172
  user: UserMinified.optional()
6152
6173
  });
6153
- var ExtendedIntegrationType = z190.enum([
6174
+ var ExtendedIntegrationType = z191.enum([
6154
6175
  "Figma",
6155
6176
  "Github",
6156
6177
  "Gitlab",
@@ -6161,26 +6182,26 @@ var ExtendedIntegrationType = z190.enum([
6161
6182
  ]);
6162
6183
  var IntegrationType = ExtendedIntegrationType.exclude(["TokenStudio", "FigmaVariablesPlugin"]);
6163
6184
  var GitIntegrationType = IntegrationType.exclude(["Figma"]);
6164
- var Integration = z190.object({
6165
- id: z190.string(),
6166
- workspaceId: z190.string(),
6185
+ var Integration = z191.object({
6186
+ id: z191.string(),
6187
+ workspaceId: z191.string(),
6167
6188
  type: IntegrationType,
6168
- createdAt: z190.coerce.date(),
6169
- integrationCredentials: z190.array(IntegrationCredentials).optional()
6170
- });
6171
- var IntegrationToken = z190.object({
6172
- access_token: z190.string(),
6173
- refresh_token: z190.string().optional(),
6174
- expires_in: z190.union([z190.number().optional(), z190.string().optional()]),
6175
- token_type: z190.string().optional(),
6176
- token_name: z190.string().optional(),
6177
- token_azure_organization_name: z190.string().optional(),
6189
+ createdAt: z191.coerce.date(),
6190
+ integrationCredentials: z191.array(IntegrationCredentials).optional()
6191
+ });
6192
+ var IntegrationToken = z191.object({
6193
+ access_token: z191.string(),
6194
+ refresh_token: z191.string().optional(),
6195
+ expires_in: z191.union([z191.number().optional(), z191.string().optional()]),
6196
+ token_type: z191.string().optional(),
6197
+ token_name: z191.string().optional(),
6198
+ token_azure_organization_name: z191.string().optional(),
6178
6199
  // Azure Cloud PAT only
6179
- token_azure_collection_name: z190.string().optional(),
6200
+ token_azure_collection_name: z191.string().optional(),
6180
6201
  // Azure Server PAT only
6181
- token_bitbucket_username: z190.string().optional(),
6202
+ token_bitbucket_username: z191.string().optional(),
6182
6203
  // Bitbucket only
6183
- custom_url: z190.string().optional().transform((value) => {
6204
+ custom_url: z191.string().optional().transform((value) => {
6184
6205
  if (!value?.trim()) return void 0;
6185
6206
  return formatCustomUrl(value);
6186
6207
  })
@@ -6217,7 +6238,7 @@ function formatCustomUrl(url) {
6217
6238
  }
6218
6239
 
6219
6240
  // src/data-dumps/workspace-dump.ts
6220
- var WorkspaceDump = z191.object({
6241
+ var WorkspaceDump = z192.object({
6221
6242
  workspace: Workspace,
6222
6243
  designSystems: DesignSystemDump.array(),
6223
6244
  codeIntegration: CodeIntegrationDump,
@@ -6225,148 +6246,148 @@ var WorkspaceDump = z191.object({
6225
6246
  });
6226
6247
 
6227
6248
  // src/data-dumps/user-data-dump.ts
6228
- var UserDump = z192.object({
6249
+ var UserDump = z193.object({
6229
6250
  user: User,
6230
6251
  workspaces: WorkspaceDump.array()
6231
6252
  });
6232
6253
 
6233
6254
  // src/docs-server/session.ts
6234
- import { z as z193 } from "zod";
6235
- var NpmProxyToken = z193.object({
6236
- access: z193.string(),
6237
- expiresAt: z193.number()
6255
+ import { z as z194 } from "zod";
6256
+ var NpmProxyToken = z194.object({
6257
+ access: z194.string(),
6258
+ expiresAt: z194.number()
6238
6259
  });
6239
- var SessionData = z193.object({
6240
- returnToUrl: z193.string().optional(),
6260
+ var SessionData = z194.object({
6261
+ returnToUrl: z194.string().optional(),
6241
6262
  npmProxyToken: NpmProxyToken.optional()
6242
6263
  });
6243
- var Session = z193.object({
6244
- id: z193.string(),
6245
- expiresAt: z193.coerce.date(),
6246
- userId: z193.string().nullable(),
6247
- anonymousId: z193.string().nullable(),
6264
+ var Session = z194.object({
6265
+ id: z194.string(),
6266
+ expiresAt: z194.coerce.date(),
6267
+ userId: z194.string().nullable(),
6268
+ anonymousId: z194.string().nullable(),
6248
6269
  data: SessionData
6249
6270
  });
6250
- var AuthTokens = z193.object({
6251
- access: z193.string(),
6252
- refresh: z193.string()
6271
+ var AuthTokens = z194.object({
6272
+ access: z194.string(),
6273
+ refresh: z194.string()
6253
6274
  });
6254
- var UserSession = z193.object({
6275
+ var UserSession = z194.object({
6255
6276
  session: Session,
6256
6277
  user: User.nullable()
6257
6278
  });
6258
6279
 
6259
6280
  // src/emails/design-system-invite.ts
6260
- import { z as z194 } from "zod";
6261
- var DesignSystemInviteEmailRecipient = z194.object({
6262
- email: z194.string(),
6281
+ import { z as z195 } from "zod";
6282
+ var DesignSystemInviteEmailRecipient = z195.object({
6283
+ email: z195.string(),
6263
6284
  role: WorkspaceRoleSchema
6264
6285
  });
6265
- var DesignSystemInviteEmailData = z194.object({
6286
+ var DesignSystemInviteEmailData = z195.object({
6266
6287
  workspace: Workspace,
6267
6288
  designSystem: DesignSystem,
6268
6289
  invitedBy: User,
6269
- documentationDomain: z194.string().optional()
6290
+ documentationDomain: z195.string().optional()
6270
6291
  });
6271
6292
 
6272
6293
  // src/emails/workspace-invite.ts
6273
- import { z as z195 } from "zod";
6274
- var WorkspaceInviteEmailRecipient = z195.object({
6275
- email: z195.string(),
6294
+ import { z as z196 } from "zod";
6295
+ var WorkspaceInviteEmailRecipient = z196.object({
6296
+ email: z196.string(),
6276
6297
  role: WorkspaceRoleSchema
6277
6298
  });
6278
- var WorkspaceInviteEmailData = z195.object({
6299
+ var WorkspaceInviteEmailData = z196.object({
6279
6300
  workspace: Workspace,
6280
6301
  invitedBy: User,
6281
- documentationDomain: z195.string().optional()
6302
+ documentationDomain: z196.string().optional()
6282
6303
  });
6283
6304
 
6284
6305
  // src/events/base.ts
6285
- import { z as z199 } from "zod";
6306
+ import { z as z200 } from "zod";
6286
6307
 
6287
6308
  // src/events/data-source-imported.ts
6288
- import { z as z196 } from "zod";
6289
- var EventDataSourceImported = z196.object({
6290
- type: z196.literal("DataSourceImported"),
6291
- workspaceId: z196.string(),
6292
- designSystemId: z196.string()
6293
- });
6294
-
6295
- // src/events/version-released.ts
6296
6309
  import { z as z197 } from "zod";
6297
- var EventVersionReleased = z197.object({
6298
- type: z197.literal("DesignSystemVersionReleased"),
6310
+ var EventDataSourceImported = z197.object({
6311
+ type: z197.literal("DataSourceImported"),
6299
6312
  workspaceId: z197.string(),
6300
- designSystemId: z197.string(),
6301
- versionId: z197.string()
6313
+ designSystemId: z197.string()
6302
6314
  });
6303
6315
 
6304
- // src/events/documentation-published.ts
6316
+ // src/events/version-released.ts
6305
6317
  import { z as z198 } from "zod";
6306
- var EventDocumentationPublished = z198.object({
6307
- type: z198.literal("DocumentationPublished"),
6318
+ var EventVersionReleased = z198.object({
6319
+ type: z198.literal("DesignSystemVersionReleased"),
6308
6320
  workspaceId: z198.string(),
6309
6321
  designSystemId: z198.string(),
6310
6322
  versionId: z198.string()
6311
6323
  });
6312
6324
 
6325
+ // src/events/documentation-published.ts
6326
+ import { z as z199 } from "zod";
6327
+ var EventDocumentationPublished = z199.object({
6328
+ type: z199.literal("DocumentationPublished"),
6329
+ workspaceId: z199.string(),
6330
+ designSystemId: z199.string(),
6331
+ versionId: z199.string()
6332
+ });
6333
+
6313
6334
  // src/events/base.ts
6314
- var Event = z199.discriminatedUnion("type", [
6335
+ var Event = z200.discriminatedUnion("type", [
6315
6336
  EventVersionReleased,
6316
6337
  EventDataSourceImported,
6317
6338
  EventDocumentationPublished
6318
6339
  ]);
6319
6340
 
6320
6341
  // src/export/export-runner/export-context.ts
6321
- import { z as z200 } from "zod";
6322
- var ExportJobDocumentationContext = z200.object({
6323
- isSingleVersionDocs: z200.boolean(),
6324
- versionSlug: z200.string(),
6342
+ import { z as z201 } from "zod";
6343
+ var ExportJobDocumentationContext = z201.object({
6344
+ isSingleVersionDocs: z201.boolean(),
6345
+ versionSlug: z201.string(),
6325
6346
  environment: PublishedDocEnvironment
6326
6347
  });
6327
- var ExportJobDebugContext = z200.object({
6328
- debugMode: z200.boolean().optional(),
6329
- concurrency: z200.number().optional(),
6330
- preloadData: z200.string().optional(),
6331
- concurrencyMode: z200.string().optional(),
6332
- cacheSdk: z200.string().optional(),
6333
- logSdkNetwork: z200.boolean().optional(),
6334
- profilerMode: z200.string().optional()
6335
- });
6336
- var ExportJobContext = z200.object({
6337
- apiUrl: z200.string(),
6338
- accessToken: z200.string(),
6339
- designSystemId: z200.string(),
6340
- designSystemName: z200.string(),
6341
- exporterId: z200.string(),
6342
- versionId: z200.string(),
6343
- brandId: z200.string().optional(),
6344
- themeId: z200.string().optional(),
6345
- themePersistentIds: z200.string().array().optional(),
6346
- previewMode: z200.boolean().optional(),
6347
- exporterName: z200.string(),
6348
+ var ExportJobDebugContext = z201.object({
6349
+ debugMode: z201.boolean().optional(),
6350
+ concurrency: z201.number().optional(),
6351
+ preloadData: z201.string().optional(),
6352
+ concurrencyMode: z201.string().optional(),
6353
+ cacheSdk: z201.string().optional(),
6354
+ logSdkNetwork: z201.boolean().optional(),
6355
+ profilerMode: z201.string().optional()
6356
+ });
6357
+ var ExportJobContext = z201.object({
6358
+ apiUrl: z201.string(),
6359
+ accessToken: z201.string(),
6360
+ designSystemId: z201.string(),
6361
+ designSystemName: z201.string(),
6362
+ exporterId: z201.string(),
6363
+ versionId: z201.string(),
6364
+ brandId: z201.string().optional(),
6365
+ themeId: z201.string().optional(),
6366
+ themePersistentIds: z201.string().array().optional(),
6367
+ previewMode: z201.boolean().optional(),
6368
+ exporterName: z201.string(),
6348
6369
  documentation: ExportJobDocumentationContext.optional(),
6349
6370
  debug: ExportJobDebugContext.optional()
6350
6371
  });
6351
- var ExportJobExporterConfiguration = z200.object({
6352
- exporterPackageUrl: z200.string(),
6372
+ var ExportJobExporterConfiguration = z201.object({
6373
+ exporterPackageUrl: z201.string(),
6353
6374
  exporterPropertyValues: ExporterConfigurationPropertyValue.array(),
6354
6375
  exporterPropertyValuesV2: ExporterPropertyValueMap.optional()
6355
6376
  });
6356
6377
 
6357
6378
  // src/export/export-runner/exporter-payload.ts
6358
- import { z as z201 } from "zod";
6359
- var ExporterFunctionPayload = z201.object({
6360
- exportJobId: z201.string(),
6361
- exportContextId: z201.string(),
6362
- designSystemId: z201.string(),
6363
- workspaceId: z201.string(),
6364
- exporterId: z201.string()
6379
+ import { z as z202 } from "zod";
6380
+ var ExporterFunctionPayload = z202.object({
6381
+ exportJobId: z202.string(),
6382
+ exportContextId: z202.string(),
6383
+ designSystemId: z202.string(),
6384
+ workspaceId: z202.string(),
6385
+ exporterId: z202.string()
6365
6386
  });
6366
6387
 
6367
6388
  // src/export/export-jobs.ts
6368
- import { z as z202 } from "zod";
6369
- var ExportJobDestinationType = z202.enum([
6389
+ import { z as z203 } from "zod";
6390
+ var ExportJobDestinationType = z203.enum([
6370
6391
  "s3",
6371
6392
  "webhookUrl",
6372
6393
  "github",
@@ -6375,31 +6396,31 @@ var ExportJobDestinationType = z202.enum([
6375
6396
  "gitlab",
6376
6397
  "bitbucket"
6377
6398
  ]);
6378
- var ExportJobStatus = z202.enum(["InProgress", "Success", "Failed", "Timeout"]);
6379
- var ExportJobLogEntryType = z202.enum(["success", "info", "warning", "error", "user"]);
6380
- var ExportJobLogEntry = z202.object({
6381
- id: z202.string().optional(),
6382
- time: z202.coerce.date(),
6399
+ var ExportJobStatus = z203.enum(["InProgress", "Success", "Failed", "Timeout"]);
6400
+ var ExportJobLogEntryType = z203.enum(["success", "info", "warning", "error", "user"]);
6401
+ var ExportJobLogEntry = z203.object({
6402
+ id: z203.string().optional(),
6403
+ time: z203.coerce.date(),
6383
6404
  type: ExportJobLogEntryType,
6384
- message: z202.string()
6405
+ message: z203.string()
6385
6406
  });
6386
- var ExportJobPullRequestDestinationResult = z202.object({
6387
- pullRequestUrl: z202.string(),
6388
- sparseCheckoutUsed: nullishToOptional(z202.boolean())
6407
+ var ExportJobPullRequestDestinationResult = z203.object({
6408
+ pullRequestUrl: z203.string(),
6409
+ sparseCheckoutUsed: nullishToOptional(z203.boolean())
6389
6410
  });
6390
- var ExportJobS3DestinationResult = z202.object({
6391
- bucket: z202.string(),
6392
- urlPrefix: z202.string().optional(),
6393
- path: z202.string(),
6394
- files: z202.array(z202.string()),
6395
- url: nullishToOptional(z202.string()),
6396
- urls: nullishToOptional(z202.string().array())
6411
+ var ExportJobS3DestinationResult = z203.object({
6412
+ bucket: z203.string(),
6413
+ urlPrefix: z203.string().optional(),
6414
+ path: z203.string(),
6415
+ files: z203.array(z203.string()),
6416
+ url: nullishToOptional(z203.string()),
6417
+ urls: nullishToOptional(z203.string().array())
6397
6418
  });
6398
- var ExportJobDocsDestinationResult = z202.object({
6399
- url: z202.string()
6419
+ var ExportJobDocsDestinationResult = z203.object({
6420
+ url: z203.string()
6400
6421
  });
6401
- var ExportJobResult = z202.object({
6402
- error: z202.string().optional(),
6422
+ var ExportJobResult = z203.object({
6423
+ error: z203.string().optional(),
6403
6424
  s3: nullishToOptional(ExportJobS3DestinationResult),
6404
6425
  github: nullishToOptional(ExportJobPullRequestDestinationResult),
6405
6426
  azure: nullishToOptional(ExportJobPullRequestDestinationResult),
@@ -6408,25 +6429,25 @@ var ExportJobResult = z202.object({
6408
6429
  sndocs: nullishToOptional(ExportJobDocsDestinationResult),
6409
6430
  logs: nullishToOptional(ExportJobLogEntry.array())
6410
6431
  });
6411
- var ExportJob = z202.object({
6412
- id: z202.string(),
6413
- createdAt: z202.coerce.date(),
6414
- finishedAt: z202.coerce.date().optional(),
6415
- designSystemId: z202.string(),
6416
- designSystemVersionId: z202.string(),
6417
- workspaceId: z202.string(),
6418
- scheduleId: z202.string().nullish(),
6419
- exporterId: z202.string(),
6420
- brandId: z202.string().optional(),
6421
- themeId: z202.string().optional(),
6422
- themePersistentIds: z202.string().array().optional(),
6423
- estimatedExecutionTime: z202.number().optional(),
6432
+ var ExportJob = z203.object({
6433
+ id: z203.string(),
6434
+ createdAt: z203.coerce.date(),
6435
+ finishedAt: z203.coerce.date().optional(),
6436
+ designSystemId: z203.string(),
6437
+ designSystemVersionId: z203.string(),
6438
+ workspaceId: z203.string(),
6439
+ scheduleId: z203.string().nullish(),
6440
+ exporterId: z203.string(),
6441
+ brandId: z203.string().optional(),
6442
+ themeId: z203.string().optional(),
6443
+ themePersistentIds: z203.string().array().optional(),
6444
+ estimatedExecutionTime: z203.number().optional(),
6424
6445
  status: ExportJobStatus,
6425
6446
  result: ExportJobResult.optional(),
6426
- createdByUserId: z202.string().optional(),
6447
+ createdByUserId: z203.string().optional(),
6427
6448
  exporterPropertyValues: ExporterPropertyValueMap.optional(),
6428
- previewMode: z202.boolean().optional(),
6429
- exportContextId: z202.string().optional().nullable(),
6449
+ previewMode: z203.boolean().optional(),
6450
+ exportContextId: z203.string().optional().nullable(),
6430
6451
  // Destinations
6431
6452
  ...ExportDestinationsMap.shape
6432
6453
  });
@@ -6440,37 +6461,37 @@ var ExportJobFindByFilter = ExportJob.pick({
6440
6461
  themeId: true,
6441
6462
  brandId: true
6442
6463
  }).extend({
6443
- destinations: z202.array(ExportJobDestinationType),
6464
+ destinations: z203.array(ExportJobDestinationType),
6444
6465
  docsEnvironment: PublishedDocEnvironment,
6445
- selectivePublishing: z202.boolean().optional()
6466
+ selectivePublishing: z203.boolean().optional()
6446
6467
  }).partial();
6447
6468
 
6448
6469
  // src/export/exporter-list-query.ts
6449
- import { z as z203 } from "zod";
6450
- var ExporterType2 = z203.enum(["documentation", "code"]);
6451
- var ListExporterQuery = z203.object({
6452
- limit: z203.number().optional(),
6453
- offset: z203.number().optional(),
6470
+ import { z as z204 } from "zod";
6471
+ var ExporterType2 = z204.enum(["documentation", "code"]);
6472
+ var ListExporterQuery = z204.object({
6473
+ limit: z204.number().optional(),
6474
+ offset: z204.number().optional(),
6454
6475
  type: ExporterType2.optional(),
6455
- search: z203.string().optional()
6476
+ search: z204.string().optional()
6456
6477
  });
6457
6478
 
6458
6479
  // src/export/exporter-workspace-membership-role.ts
6459
- import { z as z204 } from "zod";
6460
- var ExporterWorkspaceMembershipRole = z204.enum(["Owner", "OwnerArchived", "User"]);
6480
+ import { z as z205 } from "zod";
6481
+ var ExporterWorkspaceMembershipRole = z205.enum(["Owner", "OwnerArchived", "User"]);
6461
6482
 
6462
6483
  // src/export/exporter-workspace-membership.ts
6463
- import { z as z205 } from "zod";
6464
- var ExporterWorkspaceMembership = z205.object({
6465
- id: z205.string(),
6466
- workspaceId: z205.string(),
6467
- exporterId: z205.string(),
6484
+ import { z as z206 } from "zod";
6485
+ var ExporterWorkspaceMembership = z206.object({
6486
+ id: z206.string(),
6487
+ workspaceId: z206.string(),
6488
+ exporterId: z206.string(),
6468
6489
  role: ExporterWorkspaceMembershipRole
6469
6490
  });
6470
6491
 
6471
6492
  // src/feature-flags/feature-flags.ts
6472
- import { z as z206 } from "zod";
6473
- var FlaggedFeature = z206.enum([
6493
+ import { z as z207 } from "zod";
6494
+ var FlaggedFeature = z207.enum([
6474
6495
  "FigmaImporterV2",
6475
6496
  "DisableImporter",
6476
6497
  "VariablesOrder",
@@ -6493,21 +6514,21 @@ var FlaggedFeature = z206.enum([
6493
6514
  var FeatureFlagDefaults = {
6494
6515
  DocumentationIgnoreSnapshotsOnPublish: "route-bff+route-p3"
6495
6516
  };
6496
- var FeatureFlagMap = z206.record(FlaggedFeature, z206.boolean());
6497
- var FeatureFlag = z206.object({
6498
- id: z206.string(),
6517
+ var FeatureFlagMap = z207.record(FlaggedFeature, z207.boolean());
6518
+ var FeatureFlag = z207.object({
6519
+ id: z207.string(),
6499
6520
  feature: FlaggedFeature,
6500
- createdAt: z206.coerce.date(),
6501
- enabled: z206.boolean(),
6502
- designSystemId: z206.string().optional(),
6503
- data: z206.record(z206.any()).nullable().optional()
6521
+ createdAt: z207.coerce.date(),
6522
+ enabled: z207.boolean(),
6523
+ designSystemId: z207.string().optional(),
6524
+ data: z207.record(z207.any()).nullable().optional()
6504
6525
  });
6505
6526
 
6506
6527
  // src/integrations/external-oauth-request.ts
6507
- import { z as z208 } from "zod";
6528
+ import { z as z209 } from "zod";
6508
6529
 
6509
6530
  // src/integrations/oauth-providers.ts
6510
- import { z as z207 } from "zod";
6531
+ import { z as z208 } from "zod";
6511
6532
  var OAuthProviderNames = /* @__PURE__ */ ((OAuthProviderNames2) => {
6512
6533
  OAuthProviderNames2["Figma"] = "figma";
6513
6534
  OAuthProviderNames2["Azure"] = "azure";
@@ -6516,152 +6537,152 @@ var OAuthProviderNames = /* @__PURE__ */ ((OAuthProviderNames2) => {
6516
6537
  OAuthProviderNames2["Bitbucket"] = "bitbucket";
6517
6538
  return OAuthProviderNames2;
6518
6539
  })(OAuthProviderNames || {});
6519
- var OAuthProviderSchema = z207.nativeEnum(OAuthProviderNames);
6540
+ var OAuthProviderSchema = z208.nativeEnum(OAuthProviderNames);
6520
6541
  var OAuthProvider = OAuthProviderSchema.enum;
6521
6542
 
6522
6543
  // src/integrations/external-oauth-request.ts
6523
- var ExternalOAuthRequest = z208.object({
6524
- id: z208.string(),
6544
+ var ExternalOAuthRequest = z209.object({
6545
+ id: z209.string(),
6525
6546
  provider: OAuthProviderSchema,
6526
- userId: z208.string(),
6527
- state: z208.string(),
6528
- createdAt: z208.coerce.date()
6547
+ userId: z209.string(),
6548
+ state: z209.string(),
6549
+ createdAt: z209.coerce.date()
6529
6550
  });
6530
6551
 
6531
6552
  // src/integrations/git.ts
6532
- import { z as z209 } from "zod";
6533
- var GitObjectsQuery = z209.object({
6534
- organization: z209.string().optional(),
6553
+ import { z as z210 } from "zod";
6554
+ var GitObjectsQuery = z210.object({
6555
+ organization: z210.string().optional(),
6535
6556
  // Azure Organization | Bitbucket Workspace slug | Gitlab Group | Github Account (User or Organization)
6536
- project: z209.string().optional(),
6557
+ project: z210.string().optional(),
6537
6558
  // Only for Bitbucket and Azure
6538
- repository: z209.string().optional(),
6559
+ repository: z210.string().optional(),
6539
6560
  // For all providers. For Gitlab, it's called "project".
6540
- branch: z209.string().optional(),
6561
+ branch: z210.string().optional(),
6541
6562
  // For all providers.
6542
- user: z209.string().optional()
6563
+ user: z210.string().optional()
6543
6564
  // Gitlab user
6544
6565
  });
6545
- var GitOrganization = z209.object({
6546
- id: z209.string(),
6547
- name: z209.string(),
6548
- url: z209.string(),
6549
- slug: z209.string()
6566
+ var GitOrganization = z210.object({
6567
+ id: z210.string(),
6568
+ name: z210.string(),
6569
+ url: z210.string(),
6570
+ slug: z210.string()
6550
6571
  });
6551
- var GitProject = z209.object({
6552
- id: z209.string(),
6553
- name: z209.string(),
6554
- url: z209.string(),
6555
- slug: z209.string()
6572
+ var GitProject = z210.object({
6573
+ id: z210.string(),
6574
+ name: z210.string(),
6575
+ url: z210.string(),
6576
+ slug: z210.string()
6556
6577
  });
6557
- var GitRepository = z209.object({
6558
- id: z209.string(),
6559
- name: z209.string(),
6560
- url: z209.string(),
6561
- slug: z209.string(),
6578
+ var GitRepository = z210.object({
6579
+ id: z210.string(),
6580
+ name: z210.string(),
6581
+ url: z210.string(),
6582
+ slug: z210.string(),
6562
6583
  /**
6563
6584
  * Can be undefined when:
6564
6585
  * - there are no branches in the repository yet
6565
6586
  * - Git provider doesn't expose this information on a repository via their API
6566
6587
  */
6567
- defaultBranch: z209.string().optional()
6588
+ defaultBranch: z210.string().optional()
6568
6589
  });
6569
- var GitBranch = z209.object({
6570
- name: z209.string(),
6571
- lastCommitId: z209.string()
6590
+ var GitBranch = z210.object({
6591
+ name: z210.string(),
6592
+ lastCommitId: z210.string()
6572
6593
  });
6573
6594
 
6574
6595
  // src/integrations/oauth-token.ts
6575
- import { z as z210 } from "zod";
6576
- var IntegrationTokenSchemaOld = z210.object({
6577
- id: z210.string(),
6596
+ import { z as z211 } from "zod";
6597
+ var IntegrationTokenSchemaOld = z211.object({
6598
+ id: z211.string(),
6578
6599
  provider: OAuthProviderSchema,
6579
- scope: z210.string(),
6580
- userId: z210.string(),
6581
- accessToken: z210.string(),
6582
- refreshToken: z210.string(),
6583
- expiresAt: z210.coerce.date(),
6584
- externalUserId: z210.string().nullish()
6600
+ scope: z211.string(),
6601
+ userId: z211.string(),
6602
+ accessToken: z211.string(),
6603
+ refreshToken: z211.string(),
6604
+ expiresAt: z211.coerce.date(),
6605
+ externalUserId: z211.string().nullish()
6585
6606
  });
6586
6607
 
6587
6608
  // src/integrations/workspace-oauth-requests.ts
6588
- import { z as z211 } from "zod";
6589
- var WorkspaceOAuthRequestSchema = z211.object({
6590
- id: z211.string(),
6591
- workspaceId: z211.string(),
6609
+ import { z as z212 } from "zod";
6610
+ var WorkspaceOAuthRequestSchema = z212.object({
6611
+ id: z212.string(),
6612
+ workspaceId: z212.string(),
6592
6613
  provider: OAuthProviderSchema,
6593
- userId: z211.string(),
6594
- createdAt: z211.coerce.date()
6614
+ userId: z212.string(),
6615
+ createdAt: z212.coerce.date()
6595
6616
  });
6596
6617
 
6597
6618
  // src/npm/npm-package.ts
6598
- import { z as z212 } from "zod";
6599
- var AnyRecord = z212.record(z212.any());
6619
+ import { z as z213 } from "zod";
6620
+ var AnyRecord = z213.record(z213.any());
6600
6621
  var NpmPackageVersionDist = AnyRecord.and(
6601
- z212.object({
6602
- tarball: z212.string()
6622
+ z213.object({
6623
+ tarball: z213.string()
6603
6624
  })
6604
6625
  );
6605
6626
  var NpmPackageVersion = AnyRecord.and(
6606
- z212.object({
6627
+ z213.object({
6607
6628
  dist: NpmPackageVersionDist
6608
6629
  })
6609
6630
  );
6610
6631
  var NpmPackage = AnyRecord.and(
6611
- z212.object({
6612
- _id: z212.string(),
6613
- name: z212.string(),
6632
+ z213.object({
6633
+ _id: z213.string(),
6634
+ name: z213.string(),
6614
6635
  // e.g. "latest": "1.2.3"
6615
- "dist-tags": z212.record(z212.string(), z212.string()),
6636
+ "dist-tags": z213.record(z213.string(), z213.string()),
6616
6637
  // "1.2.3": {...}
6617
- versions: z212.record(NpmPackageVersion)
6638
+ versions: z213.record(NpmPackageVersion)
6618
6639
  })
6619
6640
  );
6620
6641
 
6621
6642
  // src/npm/npm-proxy-token-payload.ts
6622
- import { z as z213 } from "zod";
6623
- var NpmProxyTokenPayload = z213.object({
6624
- npmProxyRegistryConfigId: z213.string()
6643
+ import { z as z214 } from "zod";
6644
+ var NpmProxyTokenPayload = z214.object({
6645
+ npmProxyRegistryConfigId: z214.string()
6625
6646
  });
6626
6647
 
6627
6648
  // src/portal/portal-settings.ts
6628
- import { z as z214 } from "zod";
6649
+ import { z as z215 } from "zod";
6629
6650
  var PortalSettingsTheme = UserTheme;
6630
- var PortalSettingsSidebarLink = z214.object({
6631
- name: z214.string(),
6632
- url: z214.string(),
6633
- emoji: z214.string()
6634
- });
6635
- var PortalSettingsSidebarSection = z214.object({
6636
- sectionName: z214.string(),
6637
- links: z214.array(PortalSettingsSidebarLink)
6638
- });
6639
- var PortalSettingsSidebar = z214.array(PortalSettingsSidebarSection);
6640
- var PortalSettings = z214.object({
6641
- id: z214.string(),
6642
- workspaceId: z214.string(),
6643
- enabledDesignSystemIds: z214.array(z214.string()),
6644
- enabledBrandPersistentIds: z214.array(z214.string()),
6651
+ var PortalSettingsSidebarLink = z215.object({
6652
+ name: z215.string(),
6653
+ url: z215.string(),
6654
+ emoji: z215.string()
6655
+ });
6656
+ var PortalSettingsSidebarSection = z215.object({
6657
+ sectionName: z215.string(),
6658
+ links: z215.array(PortalSettingsSidebarLink)
6659
+ });
6660
+ var PortalSettingsSidebar = z215.array(PortalSettingsSidebarSection);
6661
+ var PortalSettings = z215.object({
6662
+ id: z215.string(),
6663
+ workspaceId: z215.string(),
6664
+ enabledDesignSystemIds: z215.array(z215.string()),
6665
+ enabledBrandPersistentIds: z215.array(z215.string()),
6645
6666
  theme: PortalSettingsTheme.nullish(),
6646
6667
  sidebar: PortalSettingsSidebar.nullish(),
6647
- createdAt: z214.coerce.date(),
6648
- updatedAt: z214.coerce.date()
6668
+ createdAt: z215.coerce.date(),
6669
+ updatedAt: z215.coerce.date()
6649
6670
  });
6650
6671
 
6651
6672
  // src/tokens/personal-access-token.ts
6652
- import { z as z215 } from "zod";
6653
- var PersonalAccessToken = z215.object({
6654
- id: z215.string(),
6655
- userId: z215.string(),
6656
- workspaceId: z215.string().optional(),
6657
- designSystemId: z215.string().optional(),
6673
+ import { z as z216 } from "zod";
6674
+ var PersonalAccessToken = z216.object({
6675
+ id: z216.string(),
6676
+ userId: z216.string(),
6677
+ workspaceId: z216.string().optional(),
6678
+ designSystemId: z216.string().optional(),
6658
6679
  workspaceRole: WorkspaceRoleSchema.optional(),
6659
- name: z215.string(),
6660
- hidden: z215.boolean(),
6661
- token: z215.string(),
6662
- scope: z215.string().optional(),
6663
- createdAt: z215.coerce.date(),
6664
- expireAt: z215.coerce.date().optional()
6680
+ name: z216.string(),
6681
+ hidden: z216.boolean(),
6682
+ token: z216.string(),
6683
+ scope: z216.string().optional(),
6684
+ createdAt: z216.coerce.date(),
6685
+ expireAt: z216.coerce.date().optional()
6665
6686
  });
6666
6687
  export {
6667
6688
  Address,
@@ -6998,6 +7019,7 @@ export {
6998
7019
  ForgeProjectContextTailwindConfig,
6999
7020
  ForgeProjectFigmaNode,
7000
7021
  ForgeProjectFigmaNodeRenderInput,
7022
+ ForgeProjectFile,
7001
7023
  ForgeProjectInvitation,
7002
7024
  ForgeProjectIteration,
7003
7025
  ForgeProjectIterationMergeMeta,
@@ -7438,6 +7460,7 @@ export {
7438
7460
  nonNullFilter,
7439
7461
  nonNullishFilter,
7440
7462
  nullishToOptional,
7463
+ nullsToUndefined,
7441
7464
  parseUrl,
7442
7465
  pickDefined,
7443
7466
  pickLatestGroupSnapshots,