@supernova-studio/model 1.40.4 → 1.40.6

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