@supernova-studio/model 1.16.2 → 1.17.1

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
@@ -5666,10 +5666,10 @@ var CodeIntegrationDump = z164.object({
5666
5666
  });
5667
5667
 
5668
5668
  // src/data-dumps/design-system-dump.ts
5669
- import { z as z188 } from "zod";
5669
+ import { z as z189 } from "zod";
5670
5670
 
5671
5671
  // src/data-dumps/design-system-version-dump.ts
5672
- import { z as z187 } from "zod";
5672
+ import { z as z188 } from "zod";
5673
5673
 
5674
5674
  // src/liveblocks/rooms/design-system-version-room.ts
5675
5675
  import { z as z165 } from "zod";
@@ -5747,7 +5747,7 @@ var ForgeProjectArtifactRoom = Entity.extend({
5747
5747
  });
5748
5748
 
5749
5749
  // src/liveblocks/rooms/forge-project-room.ts
5750
- import { z as z183 } from "zod";
5750
+ import { z as z184 } from "zod";
5751
5751
 
5752
5752
  // src/forge/agent.ts
5753
5753
  import { z as z168 } from "zod";
@@ -5854,16 +5854,24 @@ var ForgeMeta = z173.object({
5854
5854
  description: z173.string().optional()
5855
5855
  });
5856
5856
 
5857
- // src/forge/project-artifact-content.ts
5857
+ // src/forge/project.ts
5858
5858
  import { z as z174 } from "zod";
5859
- var ForgeProjectArtifactContentData = DocumentationPageContentData;
5860
- var ForgeProjectArtifactContent = z174.object({
5861
- id: z174.string(),
5862
- artifactId: z174.string(),
5863
- projectId: z174.string(),
5859
+ var ForgeProjectTag = z174.array(z174.string()).default([]);
5860
+ var ForgeProjectAccessMode = z174.enum(["InviteOnly", "Open"]);
5861
+ var ForgeProject = z174.object({
5864
5862
  createdAt: z174.coerce.date(),
5865
- updatedAt: z174.coerce.date(),
5866
- data: ForgeProjectArtifactContentData
5863
+ createdByUserId: z174.string().optional(),
5864
+ fpContextId: z174.string(),
5865
+ id: z174.string(),
5866
+ instruction: z174.string().nullable(),
5867
+ meta: ForgeMeta,
5868
+ name: z174.string(),
5869
+ tags: ForgeProjectTag,
5870
+ updatedAt: z174.coerce.date().optional(),
5871
+ workspaceId: z174.string(),
5872
+ accessMode: ForgeProjectAccessMode,
5873
+ isArchived: z174.boolean().optional(),
5874
+ emoji: z174.string().optional()
5867
5875
  });
5868
5876
 
5869
5877
  // src/forge/project-artifact.ts
@@ -5897,128 +5905,144 @@ var ForgeProjectArtifact = z176.object({
5897
5905
  sectionId: Id.optional()
5898
5906
  });
5899
5907
 
5900
- // src/forge/project-context.ts
5908
+ // src/forge/project-artifact-content.ts
5901
5909
  import { z as z177 } from "zod";
5902
- var ForgeProjectContextDependency = z177.object({
5903
- packageName: z177.string(),
5904
- type: z177.literal("npm"),
5905
- version: z177.string().default("latest")
5910
+ var ForgeProjectArtifactContentData = DocumentationPageContentData;
5911
+ var ForgeProjectArtifactContent = z177.object({
5912
+ id: z177.string(),
5913
+ artifactId: z177.string(),
5914
+ projectId: z177.string(),
5915
+ createdAt: z177.coerce.date(),
5916
+ updatedAt: z177.coerce.date(),
5917
+ data: ForgeProjectArtifactContentData
5918
+ });
5919
+
5920
+ // src/forge/project-context.ts
5921
+ import { z as z178 } from "zod";
5922
+ var ForgeProjectContextDependency = z178.object({
5923
+ packageName: z178.string(),
5924
+ type: z178.literal("npm"),
5925
+ version: z178.string().default("latest")
5906
5926
  });
5907
- var ForgeProjectContextTailwindConfig = z177.object({
5908
- content: z177.string(),
5909
- version: z177.string()
5927
+ var ForgeProjectContextTailwindConfig = z178.object({
5928
+ content: z178.string(),
5929
+ version: z178.string()
5910
5930
  });
5911
- var ForgeProjectContext = z177.object({
5912
- createdAt: z177.coerce.date(),
5913
- definition: z177.string(),
5914
- dependencies: z177.array(ForgeProjectContextDependency),
5915
- designSystemId: z177.string(),
5916
- id: z177.string(),
5931
+ var ForgeProjectContext = z178.object({
5932
+ createdAt: z178.coerce.date(),
5933
+ definition: z178.string(),
5934
+ dependencies: z178.array(ForgeProjectContextDependency),
5935
+ designSystemId: z178.string(),
5936
+ id: z178.string(),
5917
5937
  meta: ForgeMeta,
5918
- name: z177.string(),
5938
+ name: z178.string(),
5919
5939
  npmProxySettings: NpmRegistryConfig,
5920
- platform: z177.enum(["React", "Vue", "Angular"]),
5921
- styling: z177.enum(["CSS", "Tailwind"]),
5940
+ platform: z178.enum(["React", "Vue", "Angular"]),
5941
+ styling: z178.enum(["CSS", "Tailwind"]),
5922
5942
  tailwindConfig: ForgeProjectContextTailwindConfig.optional(),
5923
- updatedAt: z177.coerce.date(),
5924
- workspaceId: z177.string()
5943
+ updatedAt: z178.coerce.date(),
5944
+ workspaceId: z178.string()
5925
5945
  });
5926
5946
 
5927
5947
  // src/forge/project-feature.ts
5928
- import { z as z178 } from "zod";
5929
- var ProjectFeature = z178.object({
5930
- createdAt: z178.coerce.date(),
5931
- createdByUserId: z178.string(),
5932
- description: z178.string(),
5948
+ import { z as z179 } from "zod";
5949
+ var ProjectFeature = z179.object({
5950
+ createdAt: z179.coerce.date(),
5951
+ createdByUserId: z179.string(),
5952
+ description: z179.string(),
5933
5953
  id: Id,
5934
- isArchived: z178.boolean().optional(),
5935
- name: z178.string(),
5936
- projectId: z178.string(),
5954
+ isArchived: z179.boolean().optional(),
5955
+ name: z179.string(),
5956
+ projectId: z179.string(),
5937
5957
  sectionId: Id.optional(),
5938
5958
  sortOrder: SortOrder.default(0),
5939
- updatedAt: z178.coerce.date().optional()
5959
+ updatedAt: z179.coerce.date().optional()
5940
5960
  });
5941
5961
 
5942
- // src/forge/project-invitation.ts
5962
+ // src/forge/project-figma-node.ts
5943
5963
  import { z as z180 } from "zod";
5964
+ var ForgeProjectFigmaNode = z180.object({
5965
+ id: z180.string().uuid(),
5966
+ projectId: z180.string(),
5967
+ sceneNodeId: z180.string(),
5968
+ format: FigmaNodeRenderFormat,
5969
+ scale: z180.number().optional(),
5970
+ renderState: FigmaNodeRenderState,
5971
+ renderedImage: FigmaNodeRenderedImage.optional(),
5972
+ renderError: FigmaNodeRenderError.optional()
5973
+ });
5974
+ var ForgeProjectFigmaNodeRenderInput = z180.object({
5975
+ url: z180.string(),
5976
+ format: FigmaNodeRenderFormat,
5977
+ scale: z180.number()
5978
+ });
5979
+
5980
+ // src/forge/project-invitation.ts
5981
+ import { z as z182 } from "zod";
5944
5982
 
5945
5983
  // src/forge/project-membership.ts
5946
- import { z as z179 } from "zod";
5947
- var ForgeProjectRole = z179.enum(["Viewer", "Editor", "Admin"]);
5948
- var ForgeProjectMembership = z179.object({
5949
- userId: z179.string(),
5950
- forgeProjectId: z179.string(),
5951
- workspaceMembershipId: z179.string(),
5984
+ import { z as z181 } from "zod";
5985
+ var ForgeProjectRole = z181.enum(["Viewer", "Editor", "Admin"]);
5986
+ var ForgeProjectMembership = z181.object({
5987
+ userId: z181.string(),
5988
+ forgeProjectId: z181.string(),
5989
+ workspaceMembershipId: z181.string(),
5952
5990
  workspaceRole: WorkspaceRoleSchema,
5953
5991
  role: ForgeProjectRole
5954
5992
  });
5955
5993
 
5956
5994
  // src/forge/project-invitation.ts
5957
- var ForgeProjectInvitation = z180.object({
5958
- email: z180.string().email(),
5959
- forgeProjectId: z180.string(),
5960
- workspaceInvitationId: z180.string(),
5995
+ var ForgeProjectInvitation = z182.object({
5996
+ email: z182.string().email(),
5997
+ forgeProjectId: z182.string(),
5998
+ workspaceInvitationId: z182.string(),
5961
5999
  role: ForgeProjectRole,
5962
- createdAt: z180.coerce.date(),
5963
- updatedAt: z180.coerce.date(),
5964
- createdById: z180.string()
6000
+ createdAt: z182.coerce.date(),
6001
+ updatedAt: z182.coerce.date(),
6002
+ createdById: z182.string()
5965
6003
  });
5966
6004
 
5967
6005
  // src/forge/project-iteration.ts
5968
- import { z as z181 } from "zod";
5969
- var ForgeProjectIterationMergeMeta = z181.object({ mergeByUserId: z181.string(), mergeAt: z181.date() });
5970
- var ForgeProjectIteration = z181.object({
5971
- branchId: z181.string().optional(),
5972
- buildArtifactId: z181.string(),
5973
- createdAt: z181.coerce.date(),
5974
- forgeProjectId: z181.string(),
5975
- id: z181.string(),
5976
- locked: z181.boolean(),
5977
- messages: z181.array(ForgeIterationMessage),
5978
- artifacts: z181.array(ForgeArtifact),
5979
- previousIterationId: z181.string().optional(),
6006
+ import { z as z183 } from "zod";
6007
+ var ForgeProjectIterationMergeMeta = z183.object({ mergeByUserId: z183.string(), mergeAt: z183.date() });
6008
+ var ForgeProjectIteration = z183.object({
6009
+ branchId: z183.string().optional(),
6010
+ buildArtifactId: z183.string(),
6011
+ createdAt: z183.coerce.date(),
6012
+ forgeProjectId: z183.string(),
6013
+ id: z183.string(),
6014
+ locked: z183.boolean(),
6015
+ messages: z183.array(ForgeIterationMessage),
6016
+ artifacts: z183.array(ForgeArtifact),
6017
+ previousIterationId: z183.string().optional(),
5980
6018
  mergeMeta: ForgeProjectIterationMergeMeta.optional()
5981
6019
  });
5982
6020
 
5983
- // src/forge/project.ts
5984
- import { z as z182 } from "zod";
5985
- var ForgeProjectTag = z182.array(z182.string()).default([]);
5986
- var ForgeProjectAccessMode = z182.enum(["InviteOnly", "Open"]);
5987
- var ForgeProject = z182.object({
5988
- createdAt: z182.coerce.date(),
5989
- createdByUserId: z182.string().optional(),
5990
- fpContextId: z182.string(),
5991
- id: z182.string(),
5992
- instruction: z182.string().nullable(),
5993
- meta: ForgeMeta,
5994
- name: z182.string(),
5995
- tags: ForgeProjectTag,
5996
- updatedAt: z182.coerce.date().optional(),
5997
- workspaceId: z182.string(),
5998
- accessMode: ForgeProjectAccessMode,
5999
- isArchived: z182.boolean().optional(),
6000
- emoji: z182.string().optional()
6001
- });
6002
-
6003
6021
  // src/liveblocks/rooms/forge-project-room.ts
6004
6022
  var ForgeProjectRoom = Entity.extend({
6005
- projectId: z183.string(),
6006
- liveblocksId: z183.string()
6007
- });
6008
- var ForgeProjectRoomInitialState = z183.object({
6009
- artifacts: z183.array(ForgeProjectArtifact),
6010
- features: z183.array(ProjectFeature)
6011
- });
6012
- var ForgeProjectRoomUpdate = z183.object({
6013
- artifacts: z183.array(ForgeProjectArtifact).optional(),
6014
- artifactIdsToDelete: z183.array(z183.string()).optional(),
6015
- features: z183.array(ProjectFeature).optional(),
6016
- featureIdsToDelete: z183.array(z183.string()).optional(),
6017
- executedTransactionIds: z183.string().array().optional()
6023
+ projectId: z184.string(),
6024
+ liveblocksId: z184.string()
6025
+ });
6026
+ var ForgeProjectRoomInitialState = z184.object({
6027
+ artifacts: z184.array(ForgeProjectArtifact),
6028
+ features: z184.array(ProjectFeature),
6029
+ artifactSections: z184.array(ForgeSection),
6030
+ featureSections: z184.array(ForgeSection)
6031
+ });
6032
+ var ForgeProjectRoomUpdate = z184.object({
6033
+ artifacts: z184.array(ForgeProjectArtifact).optional(),
6034
+ artifactIdsToDelete: z184.array(z184.string()).optional(),
6035
+ features: z184.array(ProjectFeature).optional(),
6036
+ featureIdsToDelete: z184.array(z184.string()).optional(),
6037
+ artifactSections: z184.array(ForgeSection).optional(),
6038
+ artifactSectionIdsToDelete: z184.array(z184.string()).optional(),
6039
+ featureSections: z184.array(ForgeSection).optional(),
6040
+ featureSectionIdsToDelete: z184.array(z184.string()).optional(),
6041
+ executedTransactionIds: z184.string().array().optional()
6018
6042
  });
6019
6043
 
6020
6044
  // src/liveblocks/rooms/room-type.ts
6021
- import { z as z184 } from "zod";
6045
+ import { z as z185 } from "zod";
6022
6046
  var RoomTypeEnum = /* @__PURE__ */ ((RoomTypeEnum2) => {
6023
6047
  RoomTypeEnum2["DocumentationPageOld"] = "documentation-page";
6024
6048
  RoomTypeEnum2["DocumentationPage"] = "doc-page";
@@ -6028,36 +6052,36 @@ var RoomTypeEnum = /* @__PURE__ */ ((RoomTypeEnum2) => {
6028
6052
  RoomTypeEnum2["ForgeProjectArtifact"] = "forge-project-artifact";
6029
6053
  return RoomTypeEnum2;
6030
6054
  })(RoomTypeEnum || {});
6031
- var RoomTypeSchema = z184.nativeEnum(RoomTypeEnum);
6055
+ var RoomTypeSchema = z185.nativeEnum(RoomTypeEnum);
6032
6056
  var RoomType = RoomTypeSchema.enum;
6033
6057
 
6034
6058
  // src/liveblocks/rooms/workspace-room.ts
6035
- import { z as z185 } from "zod";
6059
+ import { z as z186 } from "zod";
6036
6060
  var WorkspaceRoom = Entity.extend({
6037
- workspaceId: z185.string(),
6038
- liveblocksId: z185.string()
6061
+ workspaceId: z186.string(),
6062
+ liveblocksId: z186.string()
6039
6063
  });
6040
6064
 
6041
6065
  // src/data-dumps/published-docs-dump.ts
6042
- import { z as z186 } from "zod";
6043
- var PublishedDocsDump = z186.object({
6066
+ import { z as z187 } from "zod";
6067
+ var PublishedDocsDump = z187.object({
6044
6068
  documentation: PublishedDoc,
6045
6069
  pages: PublishedDocPage.array()
6046
6070
  });
6047
6071
 
6048
6072
  // src/data-dumps/design-system-version-dump.ts
6049
- var DocumentationThreadDump = z187.object({
6073
+ var DocumentationThreadDump = z188.object({
6050
6074
  thread: DocumentationCommentThread,
6051
6075
  comments: DocumentationComment.array()
6052
6076
  });
6053
- var DocumentationPageRoomDump = z187.object({
6077
+ var DocumentationPageRoomDump = z188.object({
6054
6078
  room: DocumentationPageRoom,
6055
6079
  threads: DocumentationThreadDump.array()
6056
6080
  });
6057
- var DesignSystemVersionMultiplayerDump = z187.object({
6081
+ var DesignSystemVersionMultiplayerDump = z188.object({
6058
6082
  documentationPages: DocumentationPageRoomDump.array()
6059
6083
  });
6060
- var DesignSystemVersionDump = z187.object({
6084
+ var DesignSystemVersionDump = z188.object({
6061
6085
  version: DesignSystemVersion,
6062
6086
  brands: Brand.array(),
6063
6087
  elements: DesignElement.array(),
@@ -6072,7 +6096,7 @@ var DesignSystemVersionDump = z187.object({
6072
6096
  });
6073
6097
 
6074
6098
  // src/data-dumps/design-system-dump.ts
6075
- var DesignSystemDump = z188.object({
6099
+ var DesignSystemDump = z189.object({
6076
6100
  designSystem: DesignSystem,
6077
6101
  dataSources: DataSource.array(),
6078
6102
  versions: DesignSystemVersionDump.array(),
@@ -6081,50 +6105,50 @@ var DesignSystemDump = z188.object({
6081
6105
  });
6082
6106
 
6083
6107
  // src/data-dumps/user-data-dump.ts
6084
- import { z as z191 } from "zod";
6108
+ import { z as z192 } from "zod";
6085
6109
 
6086
6110
  // src/data-dumps/workspace-dump.ts
6087
- import { z as z190 } from "zod";
6111
+ import { z as z191 } from "zod";
6088
6112
 
6089
6113
  // src/integrations/integration.ts
6090
- import { z as z189 } from "zod";
6091
- var IntegrationDesignSystem = z189.object({
6092
- designSystemId: z189.string(),
6093
- brandId: z189.string(),
6094
- title: z189.string().optional(),
6095
- userId: z189.string().optional(),
6096
- date: z189.coerce.date().optional()
6097
- });
6098
- var IntegrationCredentialsType = z189.enum(["OAuth2", "PAT"]);
6099
- var IntegrationCredentialsState = z189.enum(["Active", "Inactive"]);
6100
- var IntegrationCredentialsProfile = z189.object({
6101
- id: nullishToOptional(z189.string()),
6102
- email: nullishToOptional(z189.string()),
6103
- handle: nullishToOptional(z189.string()),
6104
- type: nullishToOptional(z189.string()),
6105
- avatarUrl: nullishToOptional(z189.string()),
6106
- organization: nullishToOptional(z189.string()),
6107
- collection: nullishToOptional(z189.string())
6108
- });
6109
- var IntegrationCredentials = z189.object({
6110
- id: z189.string(),
6114
+ import { z as z190 } from "zod";
6115
+ var IntegrationDesignSystem = z190.object({
6116
+ designSystemId: z190.string(),
6117
+ brandId: z190.string(),
6118
+ title: z190.string().optional(),
6119
+ userId: z190.string().optional(),
6120
+ date: z190.coerce.date().optional()
6121
+ });
6122
+ var IntegrationCredentialsType = z190.enum(["OAuth2", "PAT"]);
6123
+ var IntegrationCredentialsState = z190.enum(["Active", "Inactive"]);
6124
+ var IntegrationCredentialsProfile = z190.object({
6125
+ id: nullishToOptional(z190.string()),
6126
+ email: nullishToOptional(z190.string()),
6127
+ handle: nullishToOptional(z190.string()),
6128
+ type: nullishToOptional(z190.string()),
6129
+ avatarUrl: nullishToOptional(z190.string()),
6130
+ organization: nullishToOptional(z190.string()),
6131
+ collection: nullishToOptional(z190.string())
6132
+ });
6133
+ var IntegrationCredentials = z190.object({
6134
+ id: z190.string(),
6111
6135
  type: IntegrationCredentialsType,
6112
- integrationId: z189.string(),
6113
- accessToken: z189.string(),
6114
- userId: z189.string(),
6115
- createdAt: z189.coerce.date(),
6116
- refreshToken: z189.string().optional(),
6117
- tokenName: z189.string().optional(),
6118
- expiresAt: z189.coerce.date().optional(),
6119
- refreshedAt: z189.coerce.date().optional(),
6120
- username: z189.string().optional(),
6121
- appInstallationId: z189.string().optional(),
6136
+ integrationId: z190.string(),
6137
+ accessToken: z190.string(),
6138
+ userId: z190.string(),
6139
+ createdAt: z190.coerce.date(),
6140
+ refreshToken: z190.string().optional(),
6141
+ tokenName: z190.string().optional(),
6142
+ expiresAt: z190.coerce.date().optional(),
6143
+ refreshedAt: z190.coerce.date().optional(),
6144
+ username: z190.string().optional(),
6145
+ appInstallationId: z190.string().optional(),
6122
6146
  profile: IntegrationCredentialsProfile.optional(),
6123
- customUrl: z189.string().optional(),
6147
+ customUrl: z190.string().optional(),
6124
6148
  state: IntegrationCredentialsState,
6125
6149
  user: UserMinified.optional()
6126
6150
  });
6127
- var ExtendedIntegrationType = z189.enum([
6151
+ var ExtendedIntegrationType = z190.enum([
6128
6152
  "Figma",
6129
6153
  "Github",
6130
6154
  "Gitlab",
@@ -6135,26 +6159,26 @@ var ExtendedIntegrationType = z189.enum([
6135
6159
  ]);
6136
6160
  var IntegrationType = ExtendedIntegrationType.exclude(["TokenStudio", "FigmaVariablesPlugin"]);
6137
6161
  var GitIntegrationType = IntegrationType.exclude(["Figma"]);
6138
- var Integration = z189.object({
6139
- id: z189.string(),
6140
- workspaceId: z189.string(),
6162
+ var Integration = z190.object({
6163
+ id: z190.string(),
6164
+ workspaceId: z190.string(),
6141
6165
  type: IntegrationType,
6142
- createdAt: z189.coerce.date(),
6143
- integrationCredentials: z189.array(IntegrationCredentials).optional()
6144
- });
6145
- var IntegrationToken = z189.object({
6146
- access_token: z189.string(),
6147
- refresh_token: z189.string().optional(),
6148
- expires_in: z189.union([z189.number().optional(), z189.string().optional()]),
6149
- token_type: z189.string().optional(),
6150
- token_name: z189.string().optional(),
6151
- token_azure_organization_name: z189.string().optional(),
6166
+ createdAt: z190.coerce.date(),
6167
+ integrationCredentials: z190.array(IntegrationCredentials).optional()
6168
+ });
6169
+ var IntegrationToken = z190.object({
6170
+ access_token: z190.string(),
6171
+ refresh_token: z190.string().optional(),
6172
+ expires_in: z190.union([z190.number().optional(), z190.string().optional()]),
6173
+ token_type: z190.string().optional(),
6174
+ token_name: z190.string().optional(),
6175
+ token_azure_organization_name: z190.string().optional(),
6152
6176
  // Azure Cloud PAT only
6153
- token_azure_collection_name: z189.string().optional(),
6177
+ token_azure_collection_name: z190.string().optional(),
6154
6178
  // Azure Server PAT only
6155
- token_bitbucket_username: z189.string().optional(),
6179
+ token_bitbucket_username: z190.string().optional(),
6156
6180
  // Bitbucket only
6157
- custom_url: z189.string().optional().transform((value) => {
6181
+ custom_url: z190.string().optional().transform((value) => {
6158
6182
  if (!value?.trim()) return void 0;
6159
6183
  return formatCustomUrl(value);
6160
6184
  })
@@ -6191,7 +6215,7 @@ function formatCustomUrl(url) {
6191
6215
  }
6192
6216
 
6193
6217
  // src/data-dumps/workspace-dump.ts
6194
- var WorkspaceDump = z190.object({
6218
+ var WorkspaceDump = z191.object({
6195
6219
  workspace: Workspace,
6196
6220
  designSystems: DesignSystemDump.array(),
6197
6221
  codeIntegration: CodeIntegrationDump,
@@ -6199,148 +6223,148 @@ var WorkspaceDump = z190.object({
6199
6223
  });
6200
6224
 
6201
6225
  // src/data-dumps/user-data-dump.ts
6202
- var UserDump = z191.object({
6226
+ var UserDump = z192.object({
6203
6227
  user: User,
6204
6228
  workspaces: WorkspaceDump.array()
6205
6229
  });
6206
6230
 
6207
6231
  // src/docs-server/session.ts
6208
- import { z as z192 } from "zod";
6209
- var NpmProxyToken = z192.object({
6210
- access: z192.string(),
6211
- expiresAt: z192.number()
6232
+ import { z as z193 } from "zod";
6233
+ var NpmProxyToken = z193.object({
6234
+ access: z193.string(),
6235
+ expiresAt: z193.number()
6212
6236
  });
6213
- var SessionData = z192.object({
6214
- returnToUrl: z192.string().optional(),
6237
+ var SessionData = z193.object({
6238
+ returnToUrl: z193.string().optional(),
6215
6239
  npmProxyToken: NpmProxyToken.optional()
6216
6240
  });
6217
- var Session = z192.object({
6218
- id: z192.string(),
6219
- expiresAt: z192.coerce.date(),
6220
- userId: z192.string().nullable(),
6221
- anonymousId: z192.string().nullable(),
6241
+ var Session = z193.object({
6242
+ id: z193.string(),
6243
+ expiresAt: z193.coerce.date(),
6244
+ userId: z193.string().nullable(),
6245
+ anonymousId: z193.string().nullable(),
6222
6246
  data: SessionData
6223
6247
  });
6224
- var AuthTokens = z192.object({
6225
- access: z192.string(),
6226
- refresh: z192.string()
6248
+ var AuthTokens = z193.object({
6249
+ access: z193.string(),
6250
+ refresh: z193.string()
6227
6251
  });
6228
- var UserSession = z192.object({
6252
+ var UserSession = z193.object({
6229
6253
  session: Session,
6230
6254
  user: User.nullable()
6231
6255
  });
6232
6256
 
6233
6257
  // src/emails/design-system-invite.ts
6234
- import { z as z193 } from "zod";
6235
- var DesignSystemInviteEmailRecipient = z193.object({
6236
- email: z193.string(),
6258
+ import { z as z194 } from "zod";
6259
+ var DesignSystemInviteEmailRecipient = z194.object({
6260
+ email: z194.string(),
6237
6261
  role: WorkspaceRoleSchema
6238
6262
  });
6239
- var DesignSystemInviteEmailData = z193.object({
6263
+ var DesignSystemInviteEmailData = z194.object({
6240
6264
  workspace: Workspace,
6241
6265
  designSystem: DesignSystem,
6242
6266
  invitedBy: User,
6243
- documentationDomain: z193.string().optional()
6267
+ documentationDomain: z194.string().optional()
6244
6268
  });
6245
6269
 
6246
6270
  // src/emails/workspace-invite.ts
6247
- import { z as z194 } from "zod";
6248
- var WorkspaceInviteEmailRecipient = z194.object({
6249
- email: z194.string(),
6271
+ import { z as z195 } from "zod";
6272
+ var WorkspaceInviteEmailRecipient = z195.object({
6273
+ email: z195.string(),
6250
6274
  role: WorkspaceRoleSchema
6251
6275
  });
6252
- var WorkspaceInviteEmailData = z194.object({
6276
+ var WorkspaceInviteEmailData = z195.object({
6253
6277
  workspace: Workspace,
6254
6278
  invitedBy: User,
6255
- documentationDomain: z194.string().optional()
6279
+ documentationDomain: z195.string().optional()
6256
6280
  });
6257
6281
 
6258
6282
  // src/events/base.ts
6259
- import { z as z198 } from "zod";
6283
+ import { z as z199 } from "zod";
6260
6284
 
6261
6285
  // src/events/data-source-imported.ts
6262
- import { z as z195 } from "zod";
6263
- var EventDataSourceImported = z195.object({
6264
- type: z195.literal("DataSourceImported"),
6265
- workspaceId: z195.string(),
6266
- designSystemId: z195.string()
6267
- });
6268
-
6269
- // src/events/version-released.ts
6270
6286
  import { z as z196 } from "zod";
6271
- var EventVersionReleased = z196.object({
6272
- type: z196.literal("DesignSystemVersionReleased"),
6287
+ var EventDataSourceImported = z196.object({
6288
+ type: z196.literal("DataSourceImported"),
6273
6289
  workspaceId: z196.string(),
6274
- designSystemId: z196.string(),
6275
- versionId: z196.string()
6290
+ designSystemId: z196.string()
6276
6291
  });
6277
6292
 
6278
- // src/events/documentation-published.ts
6293
+ // src/events/version-released.ts
6279
6294
  import { z as z197 } from "zod";
6280
- var EventDocumentationPublished = z197.object({
6281
- type: z197.literal("DocumentationPublished"),
6295
+ var EventVersionReleased = z197.object({
6296
+ type: z197.literal("DesignSystemVersionReleased"),
6282
6297
  workspaceId: z197.string(),
6283
6298
  designSystemId: z197.string(),
6284
6299
  versionId: z197.string()
6285
6300
  });
6286
6301
 
6302
+ // src/events/documentation-published.ts
6303
+ import { z as z198 } from "zod";
6304
+ var EventDocumentationPublished = z198.object({
6305
+ type: z198.literal("DocumentationPublished"),
6306
+ workspaceId: z198.string(),
6307
+ designSystemId: z198.string(),
6308
+ versionId: z198.string()
6309
+ });
6310
+
6287
6311
  // src/events/base.ts
6288
- var Event = z198.discriminatedUnion("type", [
6312
+ var Event = z199.discriminatedUnion("type", [
6289
6313
  EventVersionReleased,
6290
6314
  EventDataSourceImported,
6291
6315
  EventDocumentationPublished
6292
6316
  ]);
6293
6317
 
6294
6318
  // src/export/export-runner/export-context.ts
6295
- import { z as z199 } from "zod";
6296
- var ExportJobDocumentationContext = z199.object({
6297
- isSingleVersionDocs: z199.boolean(),
6298
- versionSlug: z199.string(),
6319
+ import { z as z200 } from "zod";
6320
+ var ExportJobDocumentationContext = z200.object({
6321
+ isSingleVersionDocs: z200.boolean(),
6322
+ versionSlug: z200.string(),
6299
6323
  environment: PublishedDocEnvironment
6300
6324
  });
6301
- var ExportJobDebugContext = z199.object({
6302
- debugMode: z199.boolean().optional(),
6303
- concurrency: z199.number().optional(),
6304
- preloadData: z199.string().optional(),
6305
- concurrencyMode: z199.string().optional(),
6306
- cacheSdk: z199.string().optional(),
6307
- logSdkNetwork: z199.boolean().optional(),
6308
- profilerMode: z199.string().optional()
6309
- });
6310
- var ExportJobContext = z199.object({
6311
- apiUrl: z199.string(),
6312
- accessToken: z199.string(),
6313
- designSystemId: z199.string(),
6314
- designSystemName: z199.string(),
6315
- exporterId: z199.string(),
6316
- versionId: z199.string(),
6317
- brandId: z199.string().optional(),
6318
- themeId: z199.string().optional(),
6319
- themePersistentIds: z199.string().array().optional(),
6320
- previewMode: z199.boolean().optional(),
6321
- exporterName: z199.string(),
6325
+ var ExportJobDebugContext = z200.object({
6326
+ debugMode: z200.boolean().optional(),
6327
+ concurrency: z200.number().optional(),
6328
+ preloadData: z200.string().optional(),
6329
+ concurrencyMode: z200.string().optional(),
6330
+ cacheSdk: z200.string().optional(),
6331
+ logSdkNetwork: z200.boolean().optional(),
6332
+ profilerMode: z200.string().optional()
6333
+ });
6334
+ var ExportJobContext = z200.object({
6335
+ apiUrl: z200.string(),
6336
+ accessToken: z200.string(),
6337
+ designSystemId: z200.string(),
6338
+ designSystemName: z200.string(),
6339
+ exporterId: z200.string(),
6340
+ versionId: z200.string(),
6341
+ brandId: z200.string().optional(),
6342
+ themeId: z200.string().optional(),
6343
+ themePersistentIds: z200.string().array().optional(),
6344
+ previewMode: z200.boolean().optional(),
6345
+ exporterName: z200.string(),
6322
6346
  documentation: ExportJobDocumentationContext.optional(),
6323
6347
  debug: ExportJobDebugContext.optional()
6324
6348
  });
6325
- var ExportJobExporterConfiguration = z199.object({
6326
- exporterPackageUrl: z199.string(),
6349
+ var ExportJobExporterConfiguration = z200.object({
6350
+ exporterPackageUrl: z200.string(),
6327
6351
  exporterPropertyValues: ExporterConfigurationPropertyValue.array(),
6328
6352
  exporterPropertyValuesV2: ExporterPropertyValueMap.optional()
6329
6353
  });
6330
6354
 
6331
6355
  // src/export/export-runner/exporter-payload.ts
6332
- import { z as z200 } from "zod";
6333
- var ExporterFunctionPayload = z200.object({
6334
- exportJobId: z200.string(),
6335
- exportContextId: z200.string(),
6336
- designSystemId: z200.string(),
6337
- workspaceId: z200.string(),
6338
- exporterId: z200.string()
6356
+ import { z as z201 } from "zod";
6357
+ var ExporterFunctionPayload = z201.object({
6358
+ exportJobId: z201.string(),
6359
+ exportContextId: z201.string(),
6360
+ designSystemId: z201.string(),
6361
+ workspaceId: z201.string(),
6362
+ exporterId: z201.string()
6339
6363
  });
6340
6364
 
6341
6365
  // src/export/export-jobs.ts
6342
- import { z as z201 } from "zod";
6343
- var ExportJobDestinationType = z201.enum([
6366
+ import { z as z202 } from "zod";
6367
+ var ExportJobDestinationType = z202.enum([
6344
6368
  "s3",
6345
6369
  "webhookUrl",
6346
6370
  "github",
@@ -6349,31 +6373,31 @@ var ExportJobDestinationType = z201.enum([
6349
6373
  "gitlab",
6350
6374
  "bitbucket"
6351
6375
  ]);
6352
- var ExportJobStatus = z201.enum(["InProgress", "Success", "Failed", "Timeout"]);
6353
- var ExportJobLogEntryType = z201.enum(["success", "info", "warning", "error", "user"]);
6354
- var ExportJobLogEntry = z201.object({
6355
- id: z201.string().optional(),
6356
- time: z201.coerce.date(),
6376
+ var ExportJobStatus = z202.enum(["InProgress", "Success", "Failed", "Timeout"]);
6377
+ var ExportJobLogEntryType = z202.enum(["success", "info", "warning", "error", "user"]);
6378
+ var ExportJobLogEntry = z202.object({
6379
+ id: z202.string().optional(),
6380
+ time: z202.coerce.date(),
6357
6381
  type: ExportJobLogEntryType,
6358
- message: z201.string()
6382
+ message: z202.string()
6359
6383
  });
6360
- var ExportJobPullRequestDestinationResult = z201.object({
6361
- pullRequestUrl: z201.string(),
6362
- sparseCheckoutUsed: nullishToOptional(z201.boolean())
6384
+ var ExportJobPullRequestDestinationResult = z202.object({
6385
+ pullRequestUrl: z202.string(),
6386
+ sparseCheckoutUsed: nullishToOptional(z202.boolean())
6363
6387
  });
6364
- var ExportJobS3DestinationResult = z201.object({
6365
- bucket: z201.string(),
6366
- urlPrefix: z201.string().optional(),
6367
- path: z201.string(),
6368
- files: z201.array(z201.string()),
6369
- url: nullishToOptional(z201.string()),
6370
- urls: nullishToOptional(z201.string().array())
6388
+ var ExportJobS3DestinationResult = z202.object({
6389
+ bucket: z202.string(),
6390
+ urlPrefix: z202.string().optional(),
6391
+ path: z202.string(),
6392
+ files: z202.array(z202.string()),
6393
+ url: nullishToOptional(z202.string()),
6394
+ urls: nullishToOptional(z202.string().array())
6371
6395
  });
6372
- var ExportJobDocsDestinationResult = z201.object({
6373
- url: z201.string()
6396
+ var ExportJobDocsDestinationResult = z202.object({
6397
+ url: z202.string()
6374
6398
  });
6375
- var ExportJobResult = z201.object({
6376
- error: z201.string().optional(),
6399
+ var ExportJobResult = z202.object({
6400
+ error: z202.string().optional(),
6377
6401
  s3: nullishToOptional(ExportJobS3DestinationResult),
6378
6402
  github: nullishToOptional(ExportJobPullRequestDestinationResult),
6379
6403
  azure: nullishToOptional(ExportJobPullRequestDestinationResult),
@@ -6382,25 +6406,25 @@ var ExportJobResult = z201.object({
6382
6406
  sndocs: nullishToOptional(ExportJobDocsDestinationResult),
6383
6407
  logs: nullishToOptional(ExportJobLogEntry.array())
6384
6408
  });
6385
- var ExportJob = z201.object({
6386
- id: z201.string(),
6387
- createdAt: z201.coerce.date(),
6388
- finishedAt: z201.coerce.date().optional(),
6389
- designSystemId: z201.string(),
6390
- designSystemVersionId: z201.string(),
6391
- workspaceId: z201.string(),
6392
- scheduleId: z201.string().nullish(),
6393
- exporterId: z201.string(),
6394
- brandId: z201.string().optional(),
6395
- themeId: z201.string().optional(),
6396
- themePersistentIds: z201.string().array().optional(),
6397
- estimatedExecutionTime: z201.number().optional(),
6409
+ var ExportJob = z202.object({
6410
+ id: z202.string(),
6411
+ createdAt: z202.coerce.date(),
6412
+ finishedAt: z202.coerce.date().optional(),
6413
+ designSystemId: z202.string(),
6414
+ designSystemVersionId: z202.string(),
6415
+ workspaceId: z202.string(),
6416
+ scheduleId: z202.string().nullish(),
6417
+ exporterId: z202.string(),
6418
+ brandId: z202.string().optional(),
6419
+ themeId: z202.string().optional(),
6420
+ themePersistentIds: z202.string().array().optional(),
6421
+ estimatedExecutionTime: z202.number().optional(),
6398
6422
  status: ExportJobStatus,
6399
6423
  result: ExportJobResult.optional(),
6400
- createdByUserId: z201.string().optional(),
6424
+ createdByUserId: z202.string().optional(),
6401
6425
  exporterPropertyValues: ExporterPropertyValueMap.optional(),
6402
- previewMode: z201.boolean().optional(),
6403
- exportContextId: z201.string().optional().nullable(),
6426
+ previewMode: z202.boolean().optional(),
6427
+ exportContextId: z202.string().optional().nullable(),
6404
6428
  // Destinations
6405
6429
  ...ExportDestinationsMap.shape
6406
6430
  });
@@ -6414,37 +6438,37 @@ var ExportJobFindByFilter = ExportJob.pick({
6414
6438
  themeId: true,
6415
6439
  brandId: true
6416
6440
  }).extend({
6417
- destinations: z201.array(ExportJobDestinationType),
6441
+ destinations: z202.array(ExportJobDestinationType),
6418
6442
  docsEnvironment: PublishedDocEnvironment,
6419
- selectivePublishing: z201.boolean().optional()
6443
+ selectivePublishing: z202.boolean().optional()
6420
6444
  }).partial();
6421
6445
 
6422
6446
  // src/export/exporter-list-query.ts
6423
- import { z as z202 } from "zod";
6424
- var ExporterType2 = z202.enum(["documentation", "code"]);
6425
- var ListExporterQuery = z202.object({
6426
- limit: z202.number().optional(),
6427
- offset: z202.number().optional(),
6447
+ import { z as z203 } from "zod";
6448
+ var ExporterType2 = z203.enum(["documentation", "code"]);
6449
+ var ListExporterQuery = z203.object({
6450
+ limit: z203.number().optional(),
6451
+ offset: z203.number().optional(),
6428
6452
  type: ExporterType2.optional(),
6429
- search: z202.string().optional()
6453
+ search: z203.string().optional()
6430
6454
  });
6431
6455
 
6432
6456
  // src/export/exporter-workspace-membership-role.ts
6433
- import { z as z203 } from "zod";
6434
- var ExporterWorkspaceMembershipRole = z203.enum(["Owner", "OwnerArchived", "User"]);
6457
+ import { z as z204 } from "zod";
6458
+ var ExporterWorkspaceMembershipRole = z204.enum(["Owner", "OwnerArchived", "User"]);
6435
6459
 
6436
6460
  // src/export/exporter-workspace-membership.ts
6437
- import { z as z204 } from "zod";
6438
- var ExporterWorkspaceMembership = z204.object({
6439
- id: z204.string(),
6440
- workspaceId: z204.string(),
6441
- exporterId: z204.string(),
6461
+ import { z as z205 } from "zod";
6462
+ var ExporterWorkspaceMembership = z205.object({
6463
+ id: z205.string(),
6464
+ workspaceId: z205.string(),
6465
+ exporterId: z205.string(),
6442
6466
  role: ExporterWorkspaceMembershipRole
6443
6467
  });
6444
6468
 
6445
6469
  // src/feature-flags/feature-flags.ts
6446
- import { z as z205 } from "zod";
6447
- var FlaggedFeature = z205.enum([
6470
+ import { z as z206 } from "zod";
6471
+ var FlaggedFeature = z206.enum([
6448
6472
  "FigmaImporterV2",
6449
6473
  "DisableImporter",
6450
6474
  "VariablesOrder",
@@ -6467,21 +6491,21 @@ var FlaggedFeature = z205.enum([
6467
6491
  var FeatureFlagDefaults = {
6468
6492
  DocumentationIgnoreSnapshotsOnPublish: "route-bff+route-p3"
6469
6493
  };
6470
- var FeatureFlagMap = z205.record(FlaggedFeature, z205.boolean());
6471
- var FeatureFlag = z205.object({
6472
- id: z205.string(),
6494
+ var FeatureFlagMap = z206.record(FlaggedFeature, z206.boolean());
6495
+ var FeatureFlag = z206.object({
6496
+ id: z206.string(),
6473
6497
  feature: FlaggedFeature,
6474
- createdAt: z205.coerce.date(),
6475
- enabled: z205.boolean(),
6476
- designSystemId: z205.string().optional(),
6477
- data: z205.record(z205.any()).nullable().optional()
6498
+ createdAt: z206.coerce.date(),
6499
+ enabled: z206.boolean(),
6500
+ designSystemId: z206.string().optional(),
6501
+ data: z206.record(z206.any()).nullable().optional()
6478
6502
  });
6479
6503
 
6480
6504
  // src/integrations/external-oauth-request.ts
6481
- import { z as z207 } from "zod";
6505
+ import { z as z208 } from "zod";
6482
6506
 
6483
6507
  // src/integrations/oauth-providers.ts
6484
- import { z as z206 } from "zod";
6508
+ import { z as z207 } from "zod";
6485
6509
  var OAuthProviderNames = /* @__PURE__ */ ((OAuthProviderNames2) => {
6486
6510
  OAuthProviderNames2["Figma"] = "figma";
6487
6511
  OAuthProviderNames2["Azure"] = "azure";
@@ -6490,152 +6514,152 @@ var OAuthProviderNames = /* @__PURE__ */ ((OAuthProviderNames2) => {
6490
6514
  OAuthProviderNames2["Bitbucket"] = "bitbucket";
6491
6515
  return OAuthProviderNames2;
6492
6516
  })(OAuthProviderNames || {});
6493
- var OAuthProviderSchema = z206.nativeEnum(OAuthProviderNames);
6517
+ var OAuthProviderSchema = z207.nativeEnum(OAuthProviderNames);
6494
6518
  var OAuthProvider = OAuthProviderSchema.enum;
6495
6519
 
6496
6520
  // src/integrations/external-oauth-request.ts
6497
- var ExternalOAuthRequest = z207.object({
6498
- id: z207.string(),
6521
+ var ExternalOAuthRequest = z208.object({
6522
+ id: z208.string(),
6499
6523
  provider: OAuthProviderSchema,
6500
- userId: z207.string(),
6501
- state: z207.string(),
6502
- createdAt: z207.coerce.date()
6524
+ userId: z208.string(),
6525
+ state: z208.string(),
6526
+ createdAt: z208.coerce.date()
6503
6527
  });
6504
6528
 
6505
6529
  // src/integrations/git.ts
6506
- import { z as z208 } from "zod";
6507
- var GitObjectsQuery = z208.object({
6508
- organization: z208.string().optional(),
6530
+ import { z as z209 } from "zod";
6531
+ var GitObjectsQuery = z209.object({
6532
+ organization: z209.string().optional(),
6509
6533
  // Azure Organization | Bitbucket Workspace slug | Gitlab Group | Github Account (User or Organization)
6510
- project: z208.string().optional(),
6534
+ project: z209.string().optional(),
6511
6535
  // Only for Bitbucket and Azure
6512
- repository: z208.string().optional(),
6536
+ repository: z209.string().optional(),
6513
6537
  // For all providers. For Gitlab, it's called "project".
6514
- branch: z208.string().optional(),
6538
+ branch: z209.string().optional(),
6515
6539
  // For all providers.
6516
- user: z208.string().optional()
6540
+ user: z209.string().optional()
6517
6541
  // Gitlab user
6518
6542
  });
6519
- var GitOrganization = z208.object({
6520
- id: z208.string(),
6521
- name: z208.string(),
6522
- url: z208.string(),
6523
- slug: z208.string()
6543
+ var GitOrganization = z209.object({
6544
+ id: z209.string(),
6545
+ name: z209.string(),
6546
+ url: z209.string(),
6547
+ slug: z209.string()
6524
6548
  });
6525
- var GitProject = z208.object({
6526
- id: z208.string(),
6527
- name: z208.string(),
6528
- url: z208.string(),
6529
- slug: z208.string()
6549
+ var GitProject = z209.object({
6550
+ id: z209.string(),
6551
+ name: z209.string(),
6552
+ url: z209.string(),
6553
+ slug: z209.string()
6530
6554
  });
6531
- var GitRepository = z208.object({
6532
- id: z208.string(),
6533
- name: z208.string(),
6534
- url: z208.string(),
6535
- slug: z208.string(),
6555
+ var GitRepository = z209.object({
6556
+ id: z209.string(),
6557
+ name: z209.string(),
6558
+ url: z209.string(),
6559
+ slug: z209.string(),
6536
6560
  /**
6537
6561
  * Can be undefined when:
6538
6562
  * - there are no branches in the repository yet
6539
6563
  * - Git provider doesn't expose this information on a repository via their API
6540
6564
  */
6541
- defaultBranch: z208.string().optional()
6565
+ defaultBranch: z209.string().optional()
6542
6566
  });
6543
- var GitBranch = z208.object({
6544
- name: z208.string(),
6545
- lastCommitId: z208.string()
6567
+ var GitBranch = z209.object({
6568
+ name: z209.string(),
6569
+ lastCommitId: z209.string()
6546
6570
  });
6547
6571
 
6548
6572
  // src/integrations/oauth-token.ts
6549
- import { z as z209 } from "zod";
6550
- var IntegrationTokenSchemaOld = z209.object({
6551
- id: z209.string(),
6573
+ import { z as z210 } from "zod";
6574
+ var IntegrationTokenSchemaOld = z210.object({
6575
+ id: z210.string(),
6552
6576
  provider: OAuthProviderSchema,
6553
- scope: z209.string(),
6554
- userId: z209.string(),
6555
- accessToken: z209.string(),
6556
- refreshToken: z209.string(),
6557
- expiresAt: z209.coerce.date(),
6558
- externalUserId: z209.string().nullish()
6577
+ scope: z210.string(),
6578
+ userId: z210.string(),
6579
+ accessToken: z210.string(),
6580
+ refreshToken: z210.string(),
6581
+ expiresAt: z210.coerce.date(),
6582
+ externalUserId: z210.string().nullish()
6559
6583
  });
6560
6584
 
6561
6585
  // src/integrations/workspace-oauth-requests.ts
6562
- import { z as z210 } from "zod";
6563
- var WorkspaceOAuthRequestSchema = z210.object({
6564
- id: z210.string(),
6565
- workspaceId: z210.string(),
6586
+ import { z as z211 } from "zod";
6587
+ var WorkspaceOAuthRequestSchema = z211.object({
6588
+ id: z211.string(),
6589
+ workspaceId: z211.string(),
6566
6590
  provider: OAuthProviderSchema,
6567
- userId: z210.string(),
6568
- createdAt: z210.coerce.date()
6591
+ userId: z211.string(),
6592
+ createdAt: z211.coerce.date()
6569
6593
  });
6570
6594
 
6571
6595
  // src/npm/npm-package.ts
6572
- import { z as z211 } from "zod";
6573
- var AnyRecord = z211.record(z211.any());
6596
+ import { z as z212 } from "zod";
6597
+ var AnyRecord = z212.record(z212.any());
6574
6598
  var NpmPackageVersionDist = AnyRecord.and(
6575
- z211.object({
6576
- tarball: z211.string()
6599
+ z212.object({
6600
+ tarball: z212.string()
6577
6601
  })
6578
6602
  );
6579
6603
  var NpmPackageVersion = AnyRecord.and(
6580
- z211.object({
6604
+ z212.object({
6581
6605
  dist: NpmPackageVersionDist
6582
6606
  })
6583
6607
  );
6584
6608
  var NpmPackage = AnyRecord.and(
6585
- z211.object({
6586
- _id: z211.string(),
6587
- name: z211.string(),
6609
+ z212.object({
6610
+ _id: z212.string(),
6611
+ name: z212.string(),
6588
6612
  // e.g. "latest": "1.2.3"
6589
- "dist-tags": z211.record(z211.string(), z211.string()),
6613
+ "dist-tags": z212.record(z212.string(), z212.string()),
6590
6614
  // "1.2.3": {...}
6591
- versions: z211.record(NpmPackageVersion)
6615
+ versions: z212.record(NpmPackageVersion)
6592
6616
  })
6593
6617
  );
6594
6618
 
6595
6619
  // src/npm/npm-proxy-token-payload.ts
6596
- import { z as z212 } from "zod";
6597
- var NpmProxyTokenPayload = z212.object({
6598
- npmProxyRegistryConfigId: z212.string()
6620
+ import { z as z213 } from "zod";
6621
+ var NpmProxyTokenPayload = z213.object({
6622
+ npmProxyRegistryConfigId: z213.string()
6599
6623
  });
6600
6624
 
6601
6625
  // src/portal/portal-settings.ts
6602
- import { z as z213 } from "zod";
6626
+ import { z as z214 } from "zod";
6603
6627
  var PortalSettingsTheme = UserTheme;
6604
- var PortalSettingsSidebarLink = z213.object({
6605
- name: z213.string(),
6606
- url: z213.string(),
6607
- emoji: z213.string()
6608
- });
6609
- var PortalSettingsSidebarSection = z213.object({
6610
- sectionName: z213.string(),
6611
- links: z213.array(PortalSettingsSidebarLink)
6612
- });
6613
- var PortalSettingsSidebar = z213.array(PortalSettingsSidebarSection);
6614
- var PortalSettings = z213.object({
6615
- id: z213.string(),
6616
- workspaceId: z213.string(),
6617
- enabledDesignSystemIds: z213.array(z213.string()),
6618
- enabledBrandPersistentIds: z213.array(z213.string()),
6628
+ var PortalSettingsSidebarLink = z214.object({
6629
+ name: z214.string(),
6630
+ url: z214.string(),
6631
+ emoji: z214.string()
6632
+ });
6633
+ var PortalSettingsSidebarSection = z214.object({
6634
+ sectionName: z214.string(),
6635
+ links: z214.array(PortalSettingsSidebarLink)
6636
+ });
6637
+ var PortalSettingsSidebar = z214.array(PortalSettingsSidebarSection);
6638
+ var PortalSettings = z214.object({
6639
+ id: z214.string(),
6640
+ workspaceId: z214.string(),
6641
+ enabledDesignSystemIds: z214.array(z214.string()),
6642
+ enabledBrandPersistentIds: z214.array(z214.string()),
6619
6643
  theme: PortalSettingsTheme.nullish(),
6620
6644
  sidebar: PortalSettingsSidebar.nullish(),
6621
- createdAt: z213.coerce.date(),
6622
- updatedAt: z213.coerce.date()
6645
+ createdAt: z214.coerce.date(),
6646
+ updatedAt: z214.coerce.date()
6623
6647
  });
6624
6648
 
6625
6649
  // src/tokens/personal-access-token.ts
6626
- import { z as z214 } from "zod";
6627
- var PersonalAccessToken = z214.object({
6628
- id: z214.string(),
6629
- userId: z214.string(),
6630
- workspaceId: z214.string().optional(),
6631
- designSystemId: z214.string().optional(),
6650
+ import { z as z215 } from "zod";
6651
+ var PersonalAccessToken = z215.object({
6652
+ id: z215.string(),
6653
+ userId: z215.string(),
6654
+ workspaceId: z215.string().optional(),
6655
+ designSystemId: z215.string().optional(),
6632
6656
  workspaceRole: WorkspaceRoleSchema.optional(),
6633
- name: z214.string(),
6634
- hidden: z214.boolean(),
6635
- token: z214.string(),
6636
- scope: z214.string().optional(),
6637
- createdAt: z214.coerce.date(),
6638
- expireAt: z214.coerce.date().optional()
6657
+ name: z215.string(),
6658
+ hidden: z215.boolean(),
6659
+ token: z215.string(),
6660
+ scope: z215.string().optional(),
6661
+ createdAt: z215.coerce.date(),
6662
+ expireAt: z215.coerce.date().optional()
6639
6663
  });
6640
6664
  export {
6641
6665
  Address,
@@ -6970,6 +6994,8 @@ export {
6970
6994
  ForgeProjectContext,
6971
6995
  ForgeProjectContextDependency,
6972
6996
  ForgeProjectContextTailwindConfig,
6997
+ ForgeProjectFigmaNode,
6998
+ ForgeProjectFigmaNodeRenderInput,
6973
6999
  ForgeProjectInvitation,
6974
7000
  ForgeProjectIteration,
6975
7001
  ForgeProjectIterationMergeMeta,