@supernova-studio/model 1.17.0 → 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,134 +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
- artifactSections: z183.array(ForgeSection),
6012
- featureSections: z183.array(ForgeSection)
6013
- });
6014
- var ForgeProjectRoomUpdate = z183.object({
6015
- artifacts: z183.array(ForgeProjectArtifact).optional(),
6016
- artifactIdsToDelete: z183.array(z183.string()).optional(),
6017
- features: z183.array(ProjectFeature).optional(),
6018
- featureIdsToDelete: z183.array(z183.string()).optional(),
6019
- artifactSections: z183.array(ForgeSection).optional(),
6020
- artifactSectionIdsToDelete: z183.array(z183.string()).optional(),
6021
- featureSections: z183.array(ForgeSection).optional(),
6022
- featureSectionIdsToDelete: z183.array(z183.string()).optional(),
6023
- 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()
6024
6042
  });
6025
6043
 
6026
6044
  // src/liveblocks/rooms/room-type.ts
6027
- import { z as z184 } from "zod";
6045
+ import { z as z185 } from "zod";
6028
6046
  var RoomTypeEnum = /* @__PURE__ */ ((RoomTypeEnum2) => {
6029
6047
  RoomTypeEnum2["DocumentationPageOld"] = "documentation-page";
6030
6048
  RoomTypeEnum2["DocumentationPage"] = "doc-page";
@@ -6034,36 +6052,36 @@ var RoomTypeEnum = /* @__PURE__ */ ((RoomTypeEnum2) => {
6034
6052
  RoomTypeEnum2["ForgeProjectArtifact"] = "forge-project-artifact";
6035
6053
  return RoomTypeEnum2;
6036
6054
  })(RoomTypeEnum || {});
6037
- var RoomTypeSchema = z184.nativeEnum(RoomTypeEnum);
6055
+ var RoomTypeSchema = z185.nativeEnum(RoomTypeEnum);
6038
6056
  var RoomType = RoomTypeSchema.enum;
6039
6057
 
6040
6058
  // src/liveblocks/rooms/workspace-room.ts
6041
- import { z as z185 } from "zod";
6059
+ import { z as z186 } from "zod";
6042
6060
  var WorkspaceRoom = Entity.extend({
6043
- workspaceId: z185.string(),
6044
- liveblocksId: z185.string()
6061
+ workspaceId: z186.string(),
6062
+ liveblocksId: z186.string()
6045
6063
  });
6046
6064
 
6047
6065
  // src/data-dumps/published-docs-dump.ts
6048
- import { z as z186 } from "zod";
6049
- var PublishedDocsDump = z186.object({
6066
+ import { z as z187 } from "zod";
6067
+ var PublishedDocsDump = z187.object({
6050
6068
  documentation: PublishedDoc,
6051
6069
  pages: PublishedDocPage.array()
6052
6070
  });
6053
6071
 
6054
6072
  // src/data-dumps/design-system-version-dump.ts
6055
- var DocumentationThreadDump = z187.object({
6073
+ var DocumentationThreadDump = z188.object({
6056
6074
  thread: DocumentationCommentThread,
6057
6075
  comments: DocumentationComment.array()
6058
6076
  });
6059
- var DocumentationPageRoomDump = z187.object({
6077
+ var DocumentationPageRoomDump = z188.object({
6060
6078
  room: DocumentationPageRoom,
6061
6079
  threads: DocumentationThreadDump.array()
6062
6080
  });
6063
- var DesignSystemVersionMultiplayerDump = z187.object({
6081
+ var DesignSystemVersionMultiplayerDump = z188.object({
6064
6082
  documentationPages: DocumentationPageRoomDump.array()
6065
6083
  });
6066
- var DesignSystemVersionDump = z187.object({
6084
+ var DesignSystemVersionDump = z188.object({
6067
6085
  version: DesignSystemVersion,
6068
6086
  brands: Brand.array(),
6069
6087
  elements: DesignElement.array(),
@@ -6078,7 +6096,7 @@ var DesignSystemVersionDump = z187.object({
6078
6096
  });
6079
6097
 
6080
6098
  // src/data-dumps/design-system-dump.ts
6081
- var DesignSystemDump = z188.object({
6099
+ var DesignSystemDump = z189.object({
6082
6100
  designSystem: DesignSystem,
6083
6101
  dataSources: DataSource.array(),
6084
6102
  versions: DesignSystemVersionDump.array(),
@@ -6087,50 +6105,50 @@ var DesignSystemDump = z188.object({
6087
6105
  });
6088
6106
 
6089
6107
  // src/data-dumps/user-data-dump.ts
6090
- import { z as z191 } from "zod";
6108
+ import { z as z192 } from "zod";
6091
6109
 
6092
6110
  // src/data-dumps/workspace-dump.ts
6093
- import { z as z190 } from "zod";
6111
+ import { z as z191 } from "zod";
6094
6112
 
6095
6113
  // src/integrations/integration.ts
6096
- import { z as z189 } from "zod";
6097
- var IntegrationDesignSystem = z189.object({
6098
- designSystemId: z189.string(),
6099
- brandId: z189.string(),
6100
- title: z189.string().optional(),
6101
- userId: z189.string().optional(),
6102
- date: z189.coerce.date().optional()
6103
- });
6104
- var IntegrationCredentialsType = z189.enum(["OAuth2", "PAT"]);
6105
- var IntegrationCredentialsState = z189.enum(["Active", "Inactive"]);
6106
- var IntegrationCredentialsProfile = z189.object({
6107
- id: nullishToOptional(z189.string()),
6108
- email: nullishToOptional(z189.string()),
6109
- handle: nullishToOptional(z189.string()),
6110
- type: nullishToOptional(z189.string()),
6111
- avatarUrl: nullishToOptional(z189.string()),
6112
- organization: nullishToOptional(z189.string()),
6113
- collection: nullishToOptional(z189.string())
6114
- });
6115
- var IntegrationCredentials = z189.object({
6116
- 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(),
6117
6135
  type: IntegrationCredentialsType,
6118
- integrationId: z189.string(),
6119
- accessToken: z189.string(),
6120
- userId: z189.string(),
6121
- createdAt: z189.coerce.date(),
6122
- refreshToken: z189.string().optional(),
6123
- tokenName: z189.string().optional(),
6124
- expiresAt: z189.coerce.date().optional(),
6125
- refreshedAt: z189.coerce.date().optional(),
6126
- username: z189.string().optional(),
6127
- 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(),
6128
6146
  profile: IntegrationCredentialsProfile.optional(),
6129
- customUrl: z189.string().optional(),
6147
+ customUrl: z190.string().optional(),
6130
6148
  state: IntegrationCredentialsState,
6131
6149
  user: UserMinified.optional()
6132
6150
  });
6133
- var ExtendedIntegrationType = z189.enum([
6151
+ var ExtendedIntegrationType = z190.enum([
6134
6152
  "Figma",
6135
6153
  "Github",
6136
6154
  "Gitlab",
@@ -6141,26 +6159,26 @@ var ExtendedIntegrationType = z189.enum([
6141
6159
  ]);
6142
6160
  var IntegrationType = ExtendedIntegrationType.exclude(["TokenStudio", "FigmaVariablesPlugin"]);
6143
6161
  var GitIntegrationType = IntegrationType.exclude(["Figma"]);
6144
- var Integration = z189.object({
6145
- id: z189.string(),
6146
- workspaceId: z189.string(),
6162
+ var Integration = z190.object({
6163
+ id: z190.string(),
6164
+ workspaceId: z190.string(),
6147
6165
  type: IntegrationType,
6148
- createdAt: z189.coerce.date(),
6149
- integrationCredentials: z189.array(IntegrationCredentials).optional()
6150
- });
6151
- var IntegrationToken = z189.object({
6152
- access_token: z189.string(),
6153
- refresh_token: z189.string().optional(),
6154
- expires_in: z189.union([z189.number().optional(), z189.string().optional()]),
6155
- token_type: z189.string().optional(),
6156
- token_name: z189.string().optional(),
6157
- 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(),
6158
6176
  // Azure Cloud PAT only
6159
- token_azure_collection_name: z189.string().optional(),
6177
+ token_azure_collection_name: z190.string().optional(),
6160
6178
  // Azure Server PAT only
6161
- token_bitbucket_username: z189.string().optional(),
6179
+ token_bitbucket_username: z190.string().optional(),
6162
6180
  // Bitbucket only
6163
- custom_url: z189.string().optional().transform((value) => {
6181
+ custom_url: z190.string().optional().transform((value) => {
6164
6182
  if (!value?.trim()) return void 0;
6165
6183
  return formatCustomUrl(value);
6166
6184
  })
@@ -6197,7 +6215,7 @@ function formatCustomUrl(url) {
6197
6215
  }
6198
6216
 
6199
6217
  // src/data-dumps/workspace-dump.ts
6200
- var WorkspaceDump = z190.object({
6218
+ var WorkspaceDump = z191.object({
6201
6219
  workspace: Workspace,
6202
6220
  designSystems: DesignSystemDump.array(),
6203
6221
  codeIntegration: CodeIntegrationDump,
@@ -6205,148 +6223,148 @@ var WorkspaceDump = z190.object({
6205
6223
  });
6206
6224
 
6207
6225
  // src/data-dumps/user-data-dump.ts
6208
- var UserDump = z191.object({
6226
+ var UserDump = z192.object({
6209
6227
  user: User,
6210
6228
  workspaces: WorkspaceDump.array()
6211
6229
  });
6212
6230
 
6213
6231
  // src/docs-server/session.ts
6214
- import { z as z192 } from "zod";
6215
- var NpmProxyToken = z192.object({
6216
- access: z192.string(),
6217
- expiresAt: z192.number()
6232
+ import { z as z193 } from "zod";
6233
+ var NpmProxyToken = z193.object({
6234
+ access: z193.string(),
6235
+ expiresAt: z193.number()
6218
6236
  });
6219
- var SessionData = z192.object({
6220
- returnToUrl: z192.string().optional(),
6237
+ var SessionData = z193.object({
6238
+ returnToUrl: z193.string().optional(),
6221
6239
  npmProxyToken: NpmProxyToken.optional()
6222
6240
  });
6223
- var Session = z192.object({
6224
- id: z192.string(),
6225
- expiresAt: z192.coerce.date(),
6226
- userId: z192.string().nullable(),
6227
- 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(),
6228
6246
  data: SessionData
6229
6247
  });
6230
- var AuthTokens = z192.object({
6231
- access: z192.string(),
6232
- refresh: z192.string()
6248
+ var AuthTokens = z193.object({
6249
+ access: z193.string(),
6250
+ refresh: z193.string()
6233
6251
  });
6234
- var UserSession = z192.object({
6252
+ var UserSession = z193.object({
6235
6253
  session: Session,
6236
6254
  user: User.nullable()
6237
6255
  });
6238
6256
 
6239
6257
  // src/emails/design-system-invite.ts
6240
- import { z as z193 } from "zod";
6241
- var DesignSystemInviteEmailRecipient = z193.object({
6242
- email: z193.string(),
6258
+ import { z as z194 } from "zod";
6259
+ var DesignSystemInviteEmailRecipient = z194.object({
6260
+ email: z194.string(),
6243
6261
  role: WorkspaceRoleSchema
6244
6262
  });
6245
- var DesignSystemInviteEmailData = z193.object({
6263
+ var DesignSystemInviteEmailData = z194.object({
6246
6264
  workspace: Workspace,
6247
6265
  designSystem: DesignSystem,
6248
6266
  invitedBy: User,
6249
- documentationDomain: z193.string().optional()
6267
+ documentationDomain: z194.string().optional()
6250
6268
  });
6251
6269
 
6252
6270
  // src/emails/workspace-invite.ts
6253
- import { z as z194 } from "zod";
6254
- var WorkspaceInviteEmailRecipient = z194.object({
6255
- email: z194.string(),
6271
+ import { z as z195 } from "zod";
6272
+ var WorkspaceInviteEmailRecipient = z195.object({
6273
+ email: z195.string(),
6256
6274
  role: WorkspaceRoleSchema
6257
6275
  });
6258
- var WorkspaceInviteEmailData = z194.object({
6276
+ var WorkspaceInviteEmailData = z195.object({
6259
6277
  workspace: Workspace,
6260
6278
  invitedBy: User,
6261
- documentationDomain: z194.string().optional()
6279
+ documentationDomain: z195.string().optional()
6262
6280
  });
6263
6281
 
6264
6282
  // src/events/base.ts
6265
- import { z as z198 } from "zod";
6283
+ import { z as z199 } from "zod";
6266
6284
 
6267
6285
  // src/events/data-source-imported.ts
6268
- import { z as z195 } from "zod";
6269
- var EventDataSourceImported = z195.object({
6270
- type: z195.literal("DataSourceImported"),
6271
- workspaceId: z195.string(),
6272
- designSystemId: z195.string()
6273
- });
6274
-
6275
- // src/events/version-released.ts
6276
6286
  import { z as z196 } from "zod";
6277
- var EventVersionReleased = z196.object({
6278
- type: z196.literal("DesignSystemVersionReleased"),
6287
+ var EventDataSourceImported = z196.object({
6288
+ type: z196.literal("DataSourceImported"),
6279
6289
  workspaceId: z196.string(),
6280
- designSystemId: z196.string(),
6281
- versionId: z196.string()
6290
+ designSystemId: z196.string()
6282
6291
  });
6283
6292
 
6284
- // src/events/documentation-published.ts
6293
+ // src/events/version-released.ts
6285
6294
  import { z as z197 } from "zod";
6286
- var EventDocumentationPublished = z197.object({
6287
- type: z197.literal("DocumentationPublished"),
6295
+ var EventVersionReleased = z197.object({
6296
+ type: z197.literal("DesignSystemVersionReleased"),
6288
6297
  workspaceId: z197.string(),
6289
6298
  designSystemId: z197.string(),
6290
6299
  versionId: z197.string()
6291
6300
  });
6292
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
+
6293
6311
  // src/events/base.ts
6294
- var Event = z198.discriminatedUnion("type", [
6312
+ var Event = z199.discriminatedUnion("type", [
6295
6313
  EventVersionReleased,
6296
6314
  EventDataSourceImported,
6297
6315
  EventDocumentationPublished
6298
6316
  ]);
6299
6317
 
6300
6318
  // src/export/export-runner/export-context.ts
6301
- import { z as z199 } from "zod";
6302
- var ExportJobDocumentationContext = z199.object({
6303
- isSingleVersionDocs: z199.boolean(),
6304
- versionSlug: z199.string(),
6319
+ import { z as z200 } from "zod";
6320
+ var ExportJobDocumentationContext = z200.object({
6321
+ isSingleVersionDocs: z200.boolean(),
6322
+ versionSlug: z200.string(),
6305
6323
  environment: PublishedDocEnvironment
6306
6324
  });
6307
- var ExportJobDebugContext = z199.object({
6308
- debugMode: z199.boolean().optional(),
6309
- concurrency: z199.number().optional(),
6310
- preloadData: z199.string().optional(),
6311
- concurrencyMode: z199.string().optional(),
6312
- cacheSdk: z199.string().optional(),
6313
- logSdkNetwork: z199.boolean().optional(),
6314
- profilerMode: z199.string().optional()
6315
- });
6316
- var ExportJobContext = z199.object({
6317
- apiUrl: z199.string(),
6318
- accessToken: z199.string(),
6319
- designSystemId: z199.string(),
6320
- designSystemName: z199.string(),
6321
- exporterId: z199.string(),
6322
- versionId: z199.string(),
6323
- brandId: z199.string().optional(),
6324
- themeId: z199.string().optional(),
6325
- themePersistentIds: z199.string().array().optional(),
6326
- previewMode: z199.boolean().optional(),
6327
- 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(),
6328
6346
  documentation: ExportJobDocumentationContext.optional(),
6329
6347
  debug: ExportJobDebugContext.optional()
6330
6348
  });
6331
- var ExportJobExporterConfiguration = z199.object({
6332
- exporterPackageUrl: z199.string(),
6349
+ var ExportJobExporterConfiguration = z200.object({
6350
+ exporterPackageUrl: z200.string(),
6333
6351
  exporterPropertyValues: ExporterConfigurationPropertyValue.array(),
6334
6352
  exporterPropertyValuesV2: ExporterPropertyValueMap.optional()
6335
6353
  });
6336
6354
 
6337
6355
  // src/export/export-runner/exporter-payload.ts
6338
- import { z as z200 } from "zod";
6339
- var ExporterFunctionPayload = z200.object({
6340
- exportJobId: z200.string(),
6341
- exportContextId: z200.string(),
6342
- designSystemId: z200.string(),
6343
- workspaceId: z200.string(),
6344
- 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()
6345
6363
  });
6346
6364
 
6347
6365
  // src/export/export-jobs.ts
6348
- import { z as z201 } from "zod";
6349
- var ExportJobDestinationType = z201.enum([
6366
+ import { z as z202 } from "zod";
6367
+ var ExportJobDestinationType = z202.enum([
6350
6368
  "s3",
6351
6369
  "webhookUrl",
6352
6370
  "github",
@@ -6355,31 +6373,31 @@ var ExportJobDestinationType = z201.enum([
6355
6373
  "gitlab",
6356
6374
  "bitbucket"
6357
6375
  ]);
6358
- var ExportJobStatus = z201.enum(["InProgress", "Success", "Failed", "Timeout"]);
6359
- var ExportJobLogEntryType = z201.enum(["success", "info", "warning", "error", "user"]);
6360
- var ExportJobLogEntry = z201.object({
6361
- id: z201.string().optional(),
6362
- 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(),
6363
6381
  type: ExportJobLogEntryType,
6364
- message: z201.string()
6382
+ message: z202.string()
6365
6383
  });
6366
- var ExportJobPullRequestDestinationResult = z201.object({
6367
- pullRequestUrl: z201.string(),
6368
- sparseCheckoutUsed: nullishToOptional(z201.boolean())
6384
+ var ExportJobPullRequestDestinationResult = z202.object({
6385
+ pullRequestUrl: z202.string(),
6386
+ sparseCheckoutUsed: nullishToOptional(z202.boolean())
6369
6387
  });
6370
- var ExportJobS3DestinationResult = z201.object({
6371
- bucket: z201.string(),
6372
- urlPrefix: z201.string().optional(),
6373
- path: z201.string(),
6374
- files: z201.array(z201.string()),
6375
- url: nullishToOptional(z201.string()),
6376
- 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())
6377
6395
  });
6378
- var ExportJobDocsDestinationResult = z201.object({
6379
- url: z201.string()
6396
+ var ExportJobDocsDestinationResult = z202.object({
6397
+ url: z202.string()
6380
6398
  });
6381
- var ExportJobResult = z201.object({
6382
- error: z201.string().optional(),
6399
+ var ExportJobResult = z202.object({
6400
+ error: z202.string().optional(),
6383
6401
  s3: nullishToOptional(ExportJobS3DestinationResult),
6384
6402
  github: nullishToOptional(ExportJobPullRequestDestinationResult),
6385
6403
  azure: nullishToOptional(ExportJobPullRequestDestinationResult),
@@ -6388,25 +6406,25 @@ var ExportJobResult = z201.object({
6388
6406
  sndocs: nullishToOptional(ExportJobDocsDestinationResult),
6389
6407
  logs: nullishToOptional(ExportJobLogEntry.array())
6390
6408
  });
6391
- var ExportJob = z201.object({
6392
- id: z201.string(),
6393
- createdAt: z201.coerce.date(),
6394
- finishedAt: z201.coerce.date().optional(),
6395
- designSystemId: z201.string(),
6396
- designSystemVersionId: z201.string(),
6397
- workspaceId: z201.string(),
6398
- scheduleId: z201.string().nullish(),
6399
- exporterId: z201.string(),
6400
- brandId: z201.string().optional(),
6401
- themeId: z201.string().optional(),
6402
- themePersistentIds: z201.string().array().optional(),
6403
- 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(),
6404
6422
  status: ExportJobStatus,
6405
6423
  result: ExportJobResult.optional(),
6406
- createdByUserId: z201.string().optional(),
6424
+ createdByUserId: z202.string().optional(),
6407
6425
  exporterPropertyValues: ExporterPropertyValueMap.optional(),
6408
- previewMode: z201.boolean().optional(),
6409
- exportContextId: z201.string().optional().nullable(),
6426
+ previewMode: z202.boolean().optional(),
6427
+ exportContextId: z202.string().optional().nullable(),
6410
6428
  // Destinations
6411
6429
  ...ExportDestinationsMap.shape
6412
6430
  });
@@ -6420,37 +6438,37 @@ var ExportJobFindByFilter = ExportJob.pick({
6420
6438
  themeId: true,
6421
6439
  brandId: true
6422
6440
  }).extend({
6423
- destinations: z201.array(ExportJobDestinationType),
6441
+ destinations: z202.array(ExportJobDestinationType),
6424
6442
  docsEnvironment: PublishedDocEnvironment,
6425
- selectivePublishing: z201.boolean().optional()
6443
+ selectivePublishing: z202.boolean().optional()
6426
6444
  }).partial();
6427
6445
 
6428
6446
  // src/export/exporter-list-query.ts
6429
- import { z as z202 } from "zod";
6430
- var ExporterType2 = z202.enum(["documentation", "code"]);
6431
- var ListExporterQuery = z202.object({
6432
- limit: z202.number().optional(),
6433
- 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(),
6434
6452
  type: ExporterType2.optional(),
6435
- search: z202.string().optional()
6453
+ search: z203.string().optional()
6436
6454
  });
6437
6455
 
6438
6456
  // src/export/exporter-workspace-membership-role.ts
6439
- import { z as z203 } from "zod";
6440
- var ExporterWorkspaceMembershipRole = z203.enum(["Owner", "OwnerArchived", "User"]);
6457
+ import { z as z204 } from "zod";
6458
+ var ExporterWorkspaceMembershipRole = z204.enum(["Owner", "OwnerArchived", "User"]);
6441
6459
 
6442
6460
  // src/export/exporter-workspace-membership.ts
6443
- import { z as z204 } from "zod";
6444
- var ExporterWorkspaceMembership = z204.object({
6445
- id: z204.string(),
6446
- workspaceId: z204.string(),
6447
- 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(),
6448
6466
  role: ExporterWorkspaceMembershipRole
6449
6467
  });
6450
6468
 
6451
6469
  // src/feature-flags/feature-flags.ts
6452
- import { z as z205 } from "zod";
6453
- var FlaggedFeature = z205.enum([
6470
+ import { z as z206 } from "zod";
6471
+ var FlaggedFeature = z206.enum([
6454
6472
  "FigmaImporterV2",
6455
6473
  "DisableImporter",
6456
6474
  "VariablesOrder",
@@ -6473,21 +6491,21 @@ var FlaggedFeature = z205.enum([
6473
6491
  var FeatureFlagDefaults = {
6474
6492
  DocumentationIgnoreSnapshotsOnPublish: "route-bff+route-p3"
6475
6493
  };
6476
- var FeatureFlagMap = z205.record(FlaggedFeature, z205.boolean());
6477
- var FeatureFlag = z205.object({
6478
- id: z205.string(),
6494
+ var FeatureFlagMap = z206.record(FlaggedFeature, z206.boolean());
6495
+ var FeatureFlag = z206.object({
6496
+ id: z206.string(),
6479
6497
  feature: FlaggedFeature,
6480
- createdAt: z205.coerce.date(),
6481
- enabled: z205.boolean(),
6482
- designSystemId: z205.string().optional(),
6483
- 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()
6484
6502
  });
6485
6503
 
6486
6504
  // src/integrations/external-oauth-request.ts
6487
- import { z as z207 } from "zod";
6505
+ import { z as z208 } from "zod";
6488
6506
 
6489
6507
  // src/integrations/oauth-providers.ts
6490
- import { z as z206 } from "zod";
6508
+ import { z as z207 } from "zod";
6491
6509
  var OAuthProviderNames = /* @__PURE__ */ ((OAuthProviderNames2) => {
6492
6510
  OAuthProviderNames2["Figma"] = "figma";
6493
6511
  OAuthProviderNames2["Azure"] = "azure";
@@ -6496,152 +6514,152 @@ var OAuthProviderNames = /* @__PURE__ */ ((OAuthProviderNames2) => {
6496
6514
  OAuthProviderNames2["Bitbucket"] = "bitbucket";
6497
6515
  return OAuthProviderNames2;
6498
6516
  })(OAuthProviderNames || {});
6499
- var OAuthProviderSchema = z206.nativeEnum(OAuthProviderNames);
6517
+ var OAuthProviderSchema = z207.nativeEnum(OAuthProviderNames);
6500
6518
  var OAuthProvider = OAuthProviderSchema.enum;
6501
6519
 
6502
6520
  // src/integrations/external-oauth-request.ts
6503
- var ExternalOAuthRequest = z207.object({
6504
- id: z207.string(),
6521
+ var ExternalOAuthRequest = z208.object({
6522
+ id: z208.string(),
6505
6523
  provider: OAuthProviderSchema,
6506
- userId: z207.string(),
6507
- state: z207.string(),
6508
- createdAt: z207.coerce.date()
6524
+ userId: z208.string(),
6525
+ state: z208.string(),
6526
+ createdAt: z208.coerce.date()
6509
6527
  });
6510
6528
 
6511
6529
  // src/integrations/git.ts
6512
- import { z as z208 } from "zod";
6513
- var GitObjectsQuery = z208.object({
6514
- organization: z208.string().optional(),
6530
+ import { z as z209 } from "zod";
6531
+ var GitObjectsQuery = z209.object({
6532
+ organization: z209.string().optional(),
6515
6533
  // Azure Organization | Bitbucket Workspace slug | Gitlab Group | Github Account (User or Organization)
6516
- project: z208.string().optional(),
6534
+ project: z209.string().optional(),
6517
6535
  // Only for Bitbucket and Azure
6518
- repository: z208.string().optional(),
6536
+ repository: z209.string().optional(),
6519
6537
  // For all providers. For Gitlab, it's called "project".
6520
- branch: z208.string().optional(),
6538
+ branch: z209.string().optional(),
6521
6539
  // For all providers.
6522
- user: z208.string().optional()
6540
+ user: z209.string().optional()
6523
6541
  // Gitlab user
6524
6542
  });
6525
- var GitOrganization = z208.object({
6526
- id: z208.string(),
6527
- name: z208.string(),
6528
- url: z208.string(),
6529
- slug: z208.string()
6543
+ var GitOrganization = z209.object({
6544
+ id: z209.string(),
6545
+ name: z209.string(),
6546
+ url: z209.string(),
6547
+ slug: z209.string()
6530
6548
  });
6531
- var GitProject = z208.object({
6532
- id: z208.string(),
6533
- name: z208.string(),
6534
- url: z208.string(),
6535
- slug: z208.string()
6549
+ var GitProject = z209.object({
6550
+ id: z209.string(),
6551
+ name: z209.string(),
6552
+ url: z209.string(),
6553
+ slug: z209.string()
6536
6554
  });
6537
- var GitRepository = z208.object({
6538
- id: z208.string(),
6539
- name: z208.string(),
6540
- url: z208.string(),
6541
- slug: z208.string(),
6555
+ var GitRepository = z209.object({
6556
+ id: z209.string(),
6557
+ name: z209.string(),
6558
+ url: z209.string(),
6559
+ slug: z209.string(),
6542
6560
  /**
6543
6561
  * Can be undefined when:
6544
6562
  * - there are no branches in the repository yet
6545
6563
  * - Git provider doesn't expose this information on a repository via their API
6546
6564
  */
6547
- defaultBranch: z208.string().optional()
6565
+ defaultBranch: z209.string().optional()
6548
6566
  });
6549
- var GitBranch = z208.object({
6550
- name: z208.string(),
6551
- lastCommitId: z208.string()
6567
+ var GitBranch = z209.object({
6568
+ name: z209.string(),
6569
+ lastCommitId: z209.string()
6552
6570
  });
6553
6571
 
6554
6572
  // src/integrations/oauth-token.ts
6555
- import { z as z209 } from "zod";
6556
- var IntegrationTokenSchemaOld = z209.object({
6557
- id: z209.string(),
6573
+ import { z as z210 } from "zod";
6574
+ var IntegrationTokenSchemaOld = z210.object({
6575
+ id: z210.string(),
6558
6576
  provider: OAuthProviderSchema,
6559
- scope: z209.string(),
6560
- userId: z209.string(),
6561
- accessToken: z209.string(),
6562
- refreshToken: z209.string(),
6563
- expiresAt: z209.coerce.date(),
6564
- 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()
6565
6583
  });
6566
6584
 
6567
6585
  // src/integrations/workspace-oauth-requests.ts
6568
- import { z as z210 } from "zod";
6569
- var WorkspaceOAuthRequestSchema = z210.object({
6570
- id: z210.string(),
6571
- workspaceId: z210.string(),
6586
+ import { z as z211 } from "zod";
6587
+ var WorkspaceOAuthRequestSchema = z211.object({
6588
+ id: z211.string(),
6589
+ workspaceId: z211.string(),
6572
6590
  provider: OAuthProviderSchema,
6573
- userId: z210.string(),
6574
- createdAt: z210.coerce.date()
6591
+ userId: z211.string(),
6592
+ createdAt: z211.coerce.date()
6575
6593
  });
6576
6594
 
6577
6595
  // src/npm/npm-package.ts
6578
- import { z as z211 } from "zod";
6579
- var AnyRecord = z211.record(z211.any());
6596
+ import { z as z212 } from "zod";
6597
+ var AnyRecord = z212.record(z212.any());
6580
6598
  var NpmPackageVersionDist = AnyRecord.and(
6581
- z211.object({
6582
- tarball: z211.string()
6599
+ z212.object({
6600
+ tarball: z212.string()
6583
6601
  })
6584
6602
  );
6585
6603
  var NpmPackageVersion = AnyRecord.and(
6586
- z211.object({
6604
+ z212.object({
6587
6605
  dist: NpmPackageVersionDist
6588
6606
  })
6589
6607
  );
6590
6608
  var NpmPackage = AnyRecord.and(
6591
- z211.object({
6592
- _id: z211.string(),
6593
- name: z211.string(),
6609
+ z212.object({
6610
+ _id: z212.string(),
6611
+ name: z212.string(),
6594
6612
  // e.g. "latest": "1.2.3"
6595
- "dist-tags": z211.record(z211.string(), z211.string()),
6613
+ "dist-tags": z212.record(z212.string(), z212.string()),
6596
6614
  // "1.2.3": {...}
6597
- versions: z211.record(NpmPackageVersion)
6615
+ versions: z212.record(NpmPackageVersion)
6598
6616
  })
6599
6617
  );
6600
6618
 
6601
6619
  // src/npm/npm-proxy-token-payload.ts
6602
- import { z as z212 } from "zod";
6603
- var NpmProxyTokenPayload = z212.object({
6604
- npmProxyRegistryConfigId: z212.string()
6620
+ import { z as z213 } from "zod";
6621
+ var NpmProxyTokenPayload = z213.object({
6622
+ npmProxyRegistryConfigId: z213.string()
6605
6623
  });
6606
6624
 
6607
6625
  // src/portal/portal-settings.ts
6608
- import { z as z213 } from "zod";
6626
+ import { z as z214 } from "zod";
6609
6627
  var PortalSettingsTheme = UserTheme;
6610
- var PortalSettingsSidebarLink = z213.object({
6611
- name: z213.string(),
6612
- url: z213.string(),
6613
- emoji: z213.string()
6614
- });
6615
- var PortalSettingsSidebarSection = z213.object({
6616
- sectionName: z213.string(),
6617
- links: z213.array(PortalSettingsSidebarLink)
6618
- });
6619
- var PortalSettingsSidebar = z213.array(PortalSettingsSidebarSection);
6620
- var PortalSettings = z213.object({
6621
- id: z213.string(),
6622
- workspaceId: z213.string(),
6623
- enabledDesignSystemIds: z213.array(z213.string()),
6624
- 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()),
6625
6643
  theme: PortalSettingsTheme.nullish(),
6626
6644
  sidebar: PortalSettingsSidebar.nullish(),
6627
- createdAt: z213.coerce.date(),
6628
- updatedAt: z213.coerce.date()
6645
+ createdAt: z214.coerce.date(),
6646
+ updatedAt: z214.coerce.date()
6629
6647
  });
6630
6648
 
6631
6649
  // src/tokens/personal-access-token.ts
6632
- import { z as z214 } from "zod";
6633
- var PersonalAccessToken = z214.object({
6634
- id: z214.string(),
6635
- userId: z214.string(),
6636
- workspaceId: z214.string().optional(),
6637
- 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(),
6638
6656
  workspaceRole: WorkspaceRoleSchema.optional(),
6639
- name: z214.string(),
6640
- hidden: z214.boolean(),
6641
- token: z214.string(),
6642
- scope: z214.string().optional(),
6643
- createdAt: z214.coerce.date(),
6644
- 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()
6645
6663
  });
6646
6664
  export {
6647
6665
  Address,
@@ -6976,6 +6994,8 @@ export {
6976
6994
  ForgeProjectContext,
6977
6995
  ForgeProjectContextDependency,
6978
6996
  ForgeProjectContextTailwindConfig,
6997
+ ForgeProjectFigmaNode,
6998
+ ForgeProjectFigmaNodeRenderInput,
6979
6999
  ForgeProjectInvitation,
6980
7000
  ForgeProjectIteration,
6981
7001
  ForgeProjectIterationMergeMeta,