@supernova-studio/model 1.10.21 → 1.10.23

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
@@ -5648,10 +5648,10 @@ var CodeIntegrationDump = z164.object({
5648
5648
  });
5649
5649
 
5650
5650
  // src/data-dumps/design-system-dump.ts
5651
- import { z as z171 } from "zod";
5651
+ import { z as z173 } from "zod";
5652
5652
 
5653
5653
  // src/data-dumps/design-system-version-dump.ts
5654
- import { z as z170 } from "zod";
5654
+ import { z as z172 } from "zod";
5655
5655
 
5656
5656
  // src/liveblocks/rooms/design-system-version-room.ts
5657
5657
  import { z as z165 } from "zod";
@@ -5719,45 +5719,63 @@ var RestoredDocumentationGroup = z166.object({
5719
5719
  parent: ElementGroup
5720
5720
  });
5721
5721
 
5722
- // src/liveblocks/rooms/room-type.ts
5722
+ // src/liveblocks/rooms/forge-project-artifact-room.ts
5723
5723
  import { z as z167 } from "zod";
5724
+ var ForgeProjectArtifactRoom = Entity.extend({
5725
+ artifactId: z167.string(),
5726
+ projectId: z167.string(),
5727
+ liveblocksId: z167.string(),
5728
+ isDirty: z167.boolean()
5729
+ });
5730
+
5731
+ // src/liveblocks/rooms/forge-project-room.ts
5732
+ import { z as z168 } from "zod";
5733
+ var ForgeProjectRoom = Entity.extend({
5734
+ projectId: z168.string(),
5735
+ liveblocksId: z168.string()
5736
+ });
5737
+
5738
+ // src/liveblocks/rooms/room-type.ts
5739
+ import { z as z169 } from "zod";
5724
5740
  var RoomTypeEnum = /* @__PURE__ */ ((RoomTypeEnum2) => {
5725
5741
  RoomTypeEnum2["DocumentationPageOld"] = "documentation-page";
5726
5742
  RoomTypeEnum2["DocumentationPage"] = "doc-page";
5727
5743
  RoomTypeEnum2["DesignSystemVersion"] = "design-system-version";
5728
5744
  RoomTypeEnum2["Workspace"] = "workspace";
5745
+ RoomTypeEnum2["ForgeProject"] = "forge-project";
5746
+ RoomTypeEnum2["ForgeProjectArtifact"] = "forge-project-artifact";
5729
5747
  return RoomTypeEnum2;
5730
5748
  })(RoomTypeEnum || {});
5731
- var RoomTypeSchema = z167.nativeEnum(RoomTypeEnum);
5749
+ var RoomTypeSchema = z169.nativeEnum(RoomTypeEnum);
5732
5750
  var RoomType = RoomTypeSchema.enum;
5733
5751
 
5734
5752
  // src/liveblocks/rooms/workspace-room.ts
5735
- import { z as z168 } from "zod";
5753
+ import { z as z170 } from "zod";
5736
5754
  var WorkspaceRoom = Entity.extend({
5737
- workspaceId: z168.string(),
5738
- liveblocksId: z168.string()
5755
+ workspaceId: z170.string(),
5756
+ liveblocksId: z170.string()
5739
5757
  });
5740
5758
 
5741
5759
  // src/data-dumps/published-docs-dump.ts
5742
- import { z as z169 } from "zod";
5743
- var PublishedDocsDump = z169.object({
5760
+ import { z as z171 } from "zod";
5761
+ var PublishedDocsDump = z171.object({
5744
5762
  documentation: PublishedDoc,
5745
5763
  pages: PublishedDocPage.array()
5746
5764
  });
5747
5765
 
5748
5766
  // src/data-dumps/design-system-version-dump.ts
5749
- var DocumentationThreadDump = z170.object({
5767
+ var DocumentationThreadDump = z172.object({
5750
5768
  thread: DocumentationCommentThread,
5751
5769
  comments: DocumentationComment.array()
5752
5770
  });
5753
- var DocumentationPageRoomDump = z170.object({
5771
+ var DocumentationPageRoomDump = z172.object({
5754
5772
  room: DocumentationPageRoom,
5755
5773
  threads: DocumentationThreadDump.array()
5756
5774
  });
5757
- var DesignSystemVersionMultiplayerDump = z170.object({
5775
+ var DesignSystemVersionMultiplayerDump = z172.object({
5758
5776
  documentationPages: DocumentationPageRoomDump.array()
5759
5777
  });
5760
- var DesignSystemVersionDump = z170.object({
5778
+ var DesignSystemVersionDump = z172.object({
5761
5779
  version: DesignSystemVersion,
5762
5780
  brands: Brand.array(),
5763
5781
  elements: DesignElement.array(),
@@ -5772,7 +5790,7 @@ var DesignSystemVersionDump = z170.object({
5772
5790
  });
5773
5791
 
5774
5792
  // src/data-dumps/design-system-dump.ts
5775
- var DesignSystemDump = z171.object({
5793
+ var DesignSystemDump = z173.object({
5776
5794
  designSystem: DesignSystem,
5777
5795
  dataSources: DataSource.array(),
5778
5796
  versions: DesignSystemVersionDump.array(),
@@ -5781,50 +5799,50 @@ var DesignSystemDump = z171.object({
5781
5799
  });
5782
5800
 
5783
5801
  // src/data-dumps/user-data-dump.ts
5784
- import { z as z174 } from "zod";
5802
+ import { z as z176 } from "zod";
5785
5803
 
5786
5804
  // src/data-dumps/workspace-dump.ts
5787
- import { z as z173 } from "zod";
5805
+ import { z as z175 } from "zod";
5788
5806
 
5789
5807
  // src/integrations/integration.ts
5790
- import { z as z172 } from "zod";
5791
- var IntegrationDesignSystem = z172.object({
5792
- designSystemId: z172.string(),
5793
- brandId: z172.string(),
5794
- title: z172.string().optional(),
5795
- userId: z172.string().optional(),
5796
- date: z172.coerce.date().optional()
5797
- });
5798
- var IntegrationCredentialsType = z172.enum(["OAuth2", "PAT"]);
5799
- var IntegrationCredentialsState = z172.enum(["Active", "Inactive"]);
5800
- var IntegrationCredentialsProfile = z172.object({
5801
- id: nullishToOptional(z172.string()),
5802
- email: nullishToOptional(z172.string()),
5803
- handle: nullishToOptional(z172.string()),
5804
- type: nullishToOptional(z172.string()),
5805
- avatarUrl: nullishToOptional(z172.string()),
5806
- organization: nullishToOptional(z172.string()),
5807
- collection: nullishToOptional(z172.string())
5808
- });
5809
- var IntegrationCredentials = z172.object({
5810
- id: z172.string(),
5808
+ import { z as z174 } from "zod";
5809
+ var IntegrationDesignSystem = z174.object({
5810
+ designSystemId: z174.string(),
5811
+ brandId: z174.string(),
5812
+ title: z174.string().optional(),
5813
+ userId: z174.string().optional(),
5814
+ date: z174.coerce.date().optional()
5815
+ });
5816
+ var IntegrationCredentialsType = z174.enum(["OAuth2", "PAT"]);
5817
+ var IntegrationCredentialsState = z174.enum(["Active", "Inactive"]);
5818
+ var IntegrationCredentialsProfile = z174.object({
5819
+ id: nullishToOptional(z174.string()),
5820
+ email: nullishToOptional(z174.string()),
5821
+ handle: nullishToOptional(z174.string()),
5822
+ type: nullishToOptional(z174.string()),
5823
+ avatarUrl: nullishToOptional(z174.string()),
5824
+ organization: nullishToOptional(z174.string()),
5825
+ collection: nullishToOptional(z174.string())
5826
+ });
5827
+ var IntegrationCredentials = z174.object({
5828
+ id: z174.string(),
5811
5829
  type: IntegrationCredentialsType,
5812
- integrationId: z172.string(),
5813
- accessToken: z172.string(),
5814
- userId: z172.string(),
5815
- createdAt: z172.coerce.date(),
5816
- refreshToken: z172.string().optional(),
5817
- tokenName: z172.string().optional(),
5818
- expiresAt: z172.coerce.date().optional(),
5819
- refreshedAt: z172.coerce.date().optional(),
5820
- username: z172.string().optional(),
5821
- appInstallationId: z172.string().optional(),
5830
+ integrationId: z174.string(),
5831
+ accessToken: z174.string(),
5832
+ userId: z174.string(),
5833
+ createdAt: z174.coerce.date(),
5834
+ refreshToken: z174.string().optional(),
5835
+ tokenName: z174.string().optional(),
5836
+ expiresAt: z174.coerce.date().optional(),
5837
+ refreshedAt: z174.coerce.date().optional(),
5838
+ username: z174.string().optional(),
5839
+ appInstallationId: z174.string().optional(),
5822
5840
  profile: IntegrationCredentialsProfile.optional(),
5823
- customUrl: z172.string().optional(),
5841
+ customUrl: z174.string().optional(),
5824
5842
  state: IntegrationCredentialsState,
5825
5843
  user: UserMinified.optional()
5826
5844
  });
5827
- var ExtendedIntegrationType = z172.enum([
5845
+ var ExtendedIntegrationType = z174.enum([
5828
5846
  "Figma",
5829
5847
  "Github",
5830
5848
  "Gitlab",
@@ -5835,26 +5853,26 @@ var ExtendedIntegrationType = z172.enum([
5835
5853
  ]);
5836
5854
  var IntegrationType = ExtendedIntegrationType.exclude(["TokenStudio", "FigmaVariablesPlugin"]);
5837
5855
  var GitIntegrationType = IntegrationType.exclude(["Figma"]);
5838
- var Integration = z172.object({
5839
- id: z172.string(),
5840
- workspaceId: z172.string(),
5856
+ var Integration = z174.object({
5857
+ id: z174.string(),
5858
+ workspaceId: z174.string(),
5841
5859
  type: IntegrationType,
5842
- createdAt: z172.coerce.date(),
5843
- integrationCredentials: z172.array(IntegrationCredentials).optional()
5844
- });
5845
- var IntegrationToken = z172.object({
5846
- access_token: z172.string(),
5847
- refresh_token: z172.string().optional(),
5848
- expires_in: z172.union([z172.number().optional(), z172.string().optional()]),
5849
- token_type: z172.string().optional(),
5850
- token_name: z172.string().optional(),
5851
- token_azure_organization_name: z172.string().optional(),
5860
+ createdAt: z174.coerce.date(),
5861
+ integrationCredentials: z174.array(IntegrationCredentials).optional()
5862
+ });
5863
+ var IntegrationToken = z174.object({
5864
+ access_token: z174.string(),
5865
+ refresh_token: z174.string().optional(),
5866
+ expires_in: z174.union([z174.number().optional(), z174.string().optional()]),
5867
+ token_type: z174.string().optional(),
5868
+ token_name: z174.string().optional(),
5869
+ token_azure_organization_name: z174.string().optional(),
5852
5870
  // Azure Cloud PAT only
5853
- token_azure_collection_name: z172.string().optional(),
5871
+ token_azure_collection_name: z174.string().optional(),
5854
5872
  // Azure Server PAT only
5855
- token_bitbucket_username: z172.string().optional(),
5873
+ token_bitbucket_username: z174.string().optional(),
5856
5874
  // Bitbucket only
5857
- custom_url: z172.string().optional().transform((value) => {
5875
+ custom_url: z174.string().optional().transform((value) => {
5858
5876
  if (!value?.trim()) return void 0;
5859
5877
  return formatCustomUrl(value);
5860
5878
  })
@@ -5891,7 +5909,7 @@ function formatCustomUrl(url) {
5891
5909
  }
5892
5910
 
5893
5911
  // src/data-dumps/workspace-dump.ts
5894
- var WorkspaceDump = z173.object({
5912
+ var WorkspaceDump = z175.object({
5895
5913
  workspace: Workspace,
5896
5914
  designSystems: DesignSystemDump.array(),
5897
5915
  codeIntegration: CodeIntegrationDump,
@@ -5899,148 +5917,148 @@ var WorkspaceDump = z173.object({
5899
5917
  });
5900
5918
 
5901
5919
  // src/data-dumps/user-data-dump.ts
5902
- var UserDump = z174.object({
5920
+ var UserDump = z176.object({
5903
5921
  user: User,
5904
5922
  workspaces: WorkspaceDump.array()
5905
5923
  });
5906
5924
 
5907
5925
  // src/docs-server/session.ts
5908
- import { z as z175 } from "zod";
5909
- var NpmProxyToken = z175.object({
5910
- access: z175.string(),
5911
- expiresAt: z175.number()
5926
+ import { z as z177 } from "zod";
5927
+ var NpmProxyToken = z177.object({
5928
+ access: z177.string(),
5929
+ expiresAt: z177.number()
5912
5930
  });
5913
- var SessionData = z175.object({
5914
- returnToUrl: z175.string().optional(),
5931
+ var SessionData = z177.object({
5932
+ returnToUrl: z177.string().optional(),
5915
5933
  npmProxyToken: NpmProxyToken.optional()
5916
5934
  });
5917
- var Session = z175.object({
5918
- id: z175.string(),
5919
- expiresAt: z175.coerce.date(),
5920
- userId: z175.string().nullable(),
5921
- anonymousId: z175.string().nullable(),
5935
+ var Session = z177.object({
5936
+ id: z177.string(),
5937
+ expiresAt: z177.coerce.date(),
5938
+ userId: z177.string().nullable(),
5939
+ anonymousId: z177.string().nullable(),
5922
5940
  data: SessionData
5923
5941
  });
5924
- var AuthTokens = z175.object({
5925
- access: z175.string(),
5926
- refresh: z175.string()
5942
+ var AuthTokens = z177.object({
5943
+ access: z177.string(),
5944
+ refresh: z177.string()
5927
5945
  });
5928
- var UserSession = z175.object({
5946
+ var UserSession = z177.object({
5929
5947
  session: Session,
5930
5948
  user: User.nullable()
5931
5949
  });
5932
5950
 
5933
5951
  // src/emails/design-system-invite.ts
5934
- import { z as z176 } from "zod";
5935
- var DesignSystemInviteEmailRecipient = z176.object({
5936
- email: z176.string(),
5952
+ import { z as z178 } from "zod";
5953
+ var DesignSystemInviteEmailRecipient = z178.object({
5954
+ email: z178.string(),
5937
5955
  role: WorkspaceRoleSchema
5938
5956
  });
5939
- var DesignSystemInviteEmailData = z176.object({
5957
+ var DesignSystemInviteEmailData = z178.object({
5940
5958
  workspace: Workspace,
5941
5959
  designSystem: DesignSystem,
5942
5960
  invitedBy: User,
5943
- documentationDomain: z176.string().optional()
5961
+ documentationDomain: z178.string().optional()
5944
5962
  });
5945
5963
 
5946
5964
  // src/emails/workspace-invite.ts
5947
- import { z as z177 } from "zod";
5948
- var WorkspaceInviteEmailRecipient = z177.object({
5949
- email: z177.string(),
5965
+ import { z as z179 } from "zod";
5966
+ var WorkspaceInviteEmailRecipient = z179.object({
5967
+ email: z179.string(),
5950
5968
  role: WorkspaceRoleSchema
5951
5969
  });
5952
- var WorkspaceInviteEmailData = z177.object({
5970
+ var WorkspaceInviteEmailData = z179.object({
5953
5971
  workspace: Workspace,
5954
5972
  invitedBy: User,
5955
- documentationDomain: z177.string().optional()
5973
+ documentationDomain: z179.string().optional()
5956
5974
  });
5957
5975
 
5958
5976
  // src/events/base.ts
5959
- import { z as z181 } from "zod";
5977
+ import { z as z183 } from "zod";
5960
5978
 
5961
5979
  // src/events/data-source-imported.ts
5962
- import { z as z178 } from "zod";
5963
- var EventDataSourceImported = z178.object({
5964
- type: z178.literal("DataSourceImported"),
5965
- workspaceId: z178.string(),
5966
- designSystemId: z178.string()
5980
+ import { z as z180 } from "zod";
5981
+ var EventDataSourceImported = z180.object({
5982
+ type: z180.literal("DataSourceImported"),
5983
+ workspaceId: z180.string(),
5984
+ designSystemId: z180.string()
5967
5985
  });
5968
5986
 
5969
5987
  // src/events/version-released.ts
5970
- import { z as z179 } from "zod";
5971
- var EventVersionReleased = z179.object({
5972
- type: z179.literal("DesignSystemVersionReleased"),
5973
- workspaceId: z179.string(),
5974
- designSystemId: z179.string(),
5975
- versionId: z179.string()
5988
+ import { z as z181 } from "zod";
5989
+ var EventVersionReleased = z181.object({
5990
+ type: z181.literal("DesignSystemVersionReleased"),
5991
+ workspaceId: z181.string(),
5992
+ designSystemId: z181.string(),
5993
+ versionId: z181.string()
5976
5994
  });
5977
5995
 
5978
5996
  // src/events/documentation-published.ts
5979
- import { z as z180 } from "zod";
5980
- var EventDocumentationPublished = z180.object({
5981
- type: z180.literal("DocumentationPublished"),
5982
- workspaceId: z180.string(),
5983
- designSystemId: z180.string(),
5984
- versionId: z180.string()
5997
+ import { z as z182 } from "zod";
5998
+ var EventDocumentationPublished = z182.object({
5999
+ type: z182.literal("DocumentationPublished"),
6000
+ workspaceId: z182.string(),
6001
+ designSystemId: z182.string(),
6002
+ versionId: z182.string()
5985
6003
  });
5986
6004
 
5987
6005
  // src/events/base.ts
5988
- var Event = z181.discriminatedUnion("type", [
6006
+ var Event = z183.discriminatedUnion("type", [
5989
6007
  EventVersionReleased,
5990
6008
  EventDataSourceImported,
5991
6009
  EventDocumentationPublished
5992
6010
  ]);
5993
6011
 
5994
6012
  // src/export/export-runner/export-context.ts
5995
- import { z as z182 } from "zod";
5996
- var ExportJobDocumentationContext = z182.object({
5997
- isSingleVersionDocs: z182.boolean(),
5998
- versionSlug: z182.string(),
6013
+ import { z as z184 } from "zod";
6014
+ var ExportJobDocumentationContext = z184.object({
6015
+ isSingleVersionDocs: z184.boolean(),
6016
+ versionSlug: z184.string(),
5999
6017
  environment: PublishedDocEnvironment
6000
6018
  });
6001
- var ExportJobDebugContext = z182.object({
6002
- debugMode: z182.boolean().optional(),
6003
- concurrency: z182.number().optional(),
6004
- preloadData: z182.string().optional(),
6005
- concurrencyMode: z182.string().optional(),
6006
- cacheSdk: z182.string().optional(),
6007
- logSdkNetwork: z182.boolean().optional(),
6008
- profilerMode: z182.string().optional()
6009
- });
6010
- var ExportJobContext = z182.object({
6011
- apiUrl: z182.string(),
6012
- accessToken: z182.string(),
6013
- designSystemId: z182.string(),
6014
- designSystemName: z182.string(),
6015
- exporterId: z182.string(),
6016
- versionId: z182.string(),
6017
- brandId: z182.string().optional(),
6018
- themeId: z182.string().optional(),
6019
- themePersistentIds: z182.string().array().optional(),
6020
- previewMode: z182.boolean().optional(),
6021
- exporterName: z182.string(),
6019
+ var ExportJobDebugContext = z184.object({
6020
+ debugMode: z184.boolean().optional(),
6021
+ concurrency: z184.number().optional(),
6022
+ preloadData: z184.string().optional(),
6023
+ concurrencyMode: z184.string().optional(),
6024
+ cacheSdk: z184.string().optional(),
6025
+ logSdkNetwork: z184.boolean().optional(),
6026
+ profilerMode: z184.string().optional()
6027
+ });
6028
+ var ExportJobContext = z184.object({
6029
+ apiUrl: z184.string(),
6030
+ accessToken: z184.string(),
6031
+ designSystemId: z184.string(),
6032
+ designSystemName: z184.string(),
6033
+ exporterId: z184.string(),
6034
+ versionId: z184.string(),
6035
+ brandId: z184.string().optional(),
6036
+ themeId: z184.string().optional(),
6037
+ themePersistentIds: z184.string().array().optional(),
6038
+ previewMode: z184.boolean().optional(),
6039
+ exporterName: z184.string(),
6022
6040
  documentation: ExportJobDocumentationContext.optional(),
6023
6041
  debug: ExportJobDebugContext.optional()
6024
6042
  });
6025
- var ExportJobExporterConfiguration = z182.object({
6026
- exporterPackageUrl: z182.string(),
6043
+ var ExportJobExporterConfiguration = z184.object({
6044
+ exporterPackageUrl: z184.string(),
6027
6045
  exporterPropertyValues: ExporterConfigurationPropertyValue.array(),
6028
6046
  exporterPropertyValuesV2: ExporterPropertyValueMap.optional()
6029
6047
  });
6030
6048
 
6031
6049
  // src/export/export-runner/exporter-payload.ts
6032
- import { z as z183 } from "zod";
6033
- var ExporterFunctionPayload = z183.object({
6034
- exportJobId: z183.string(),
6035
- exportContextId: z183.string(),
6036
- designSystemId: z183.string(),
6037
- workspaceId: z183.string(),
6038
- exporterId: z183.string()
6050
+ import { z as z185 } from "zod";
6051
+ var ExporterFunctionPayload = z185.object({
6052
+ exportJobId: z185.string(),
6053
+ exportContextId: z185.string(),
6054
+ designSystemId: z185.string(),
6055
+ workspaceId: z185.string(),
6056
+ exporterId: z185.string()
6039
6057
  });
6040
6058
 
6041
6059
  // src/export/export-jobs.ts
6042
- import { z as z184 } from "zod";
6043
- var ExportJobDestinationType = z184.enum([
6060
+ import { z as z186 } from "zod";
6061
+ var ExportJobDestinationType = z186.enum([
6044
6062
  "s3",
6045
6063
  "webhookUrl",
6046
6064
  "github",
@@ -6049,31 +6067,31 @@ var ExportJobDestinationType = z184.enum([
6049
6067
  "gitlab",
6050
6068
  "bitbucket"
6051
6069
  ]);
6052
- var ExportJobStatus = z184.enum(["InProgress", "Success", "Failed", "Timeout"]);
6053
- var ExportJobLogEntryType = z184.enum(["success", "info", "warning", "error", "user"]);
6054
- var ExportJobLogEntry = z184.object({
6055
- id: z184.string().optional(),
6056
- time: z184.coerce.date(),
6070
+ var ExportJobStatus = z186.enum(["InProgress", "Success", "Failed", "Timeout"]);
6071
+ var ExportJobLogEntryType = z186.enum(["success", "info", "warning", "error", "user"]);
6072
+ var ExportJobLogEntry = z186.object({
6073
+ id: z186.string().optional(),
6074
+ time: z186.coerce.date(),
6057
6075
  type: ExportJobLogEntryType,
6058
- message: z184.string()
6076
+ message: z186.string()
6059
6077
  });
6060
- var ExportJobPullRequestDestinationResult = z184.object({
6061
- pullRequestUrl: z184.string(),
6062
- sparseCheckoutUsed: nullishToOptional(z184.boolean())
6078
+ var ExportJobPullRequestDestinationResult = z186.object({
6079
+ pullRequestUrl: z186.string(),
6080
+ sparseCheckoutUsed: nullishToOptional(z186.boolean())
6063
6081
  });
6064
- var ExportJobS3DestinationResult = z184.object({
6065
- bucket: z184.string(),
6066
- urlPrefix: z184.string().optional(),
6067
- path: z184.string(),
6068
- files: z184.array(z184.string()),
6069
- url: nullishToOptional(z184.string()),
6070
- urls: nullishToOptional(z184.string().array())
6082
+ var ExportJobS3DestinationResult = z186.object({
6083
+ bucket: z186.string(),
6084
+ urlPrefix: z186.string().optional(),
6085
+ path: z186.string(),
6086
+ files: z186.array(z186.string()),
6087
+ url: nullishToOptional(z186.string()),
6088
+ urls: nullishToOptional(z186.string().array())
6071
6089
  });
6072
- var ExportJobDocsDestinationResult = z184.object({
6073
- url: z184.string()
6090
+ var ExportJobDocsDestinationResult = z186.object({
6091
+ url: z186.string()
6074
6092
  });
6075
- var ExportJobResult = z184.object({
6076
- error: z184.string().optional(),
6093
+ var ExportJobResult = z186.object({
6094
+ error: z186.string().optional(),
6077
6095
  s3: nullishToOptional(ExportJobS3DestinationResult),
6078
6096
  github: nullishToOptional(ExportJobPullRequestDestinationResult),
6079
6097
  azure: nullishToOptional(ExportJobPullRequestDestinationResult),
@@ -6082,25 +6100,25 @@ var ExportJobResult = z184.object({
6082
6100
  sndocs: nullishToOptional(ExportJobDocsDestinationResult),
6083
6101
  logs: nullishToOptional(ExportJobLogEntry.array())
6084
6102
  });
6085
- var ExportJob = z184.object({
6086
- id: z184.string(),
6087
- createdAt: z184.coerce.date(),
6088
- finishedAt: z184.coerce.date().optional(),
6089
- designSystemId: z184.string(),
6090
- designSystemVersionId: z184.string(),
6091
- workspaceId: z184.string(),
6092
- scheduleId: z184.string().nullish(),
6093
- exporterId: z184.string(),
6094
- brandId: z184.string().optional(),
6095
- themeId: z184.string().optional(),
6096
- themePersistentIds: z184.string().array().optional(),
6097
- estimatedExecutionTime: z184.number().optional(),
6103
+ var ExportJob = z186.object({
6104
+ id: z186.string(),
6105
+ createdAt: z186.coerce.date(),
6106
+ finishedAt: z186.coerce.date().optional(),
6107
+ designSystemId: z186.string(),
6108
+ designSystemVersionId: z186.string(),
6109
+ workspaceId: z186.string(),
6110
+ scheduleId: z186.string().nullish(),
6111
+ exporterId: z186.string(),
6112
+ brandId: z186.string().optional(),
6113
+ themeId: z186.string().optional(),
6114
+ themePersistentIds: z186.string().array().optional(),
6115
+ estimatedExecutionTime: z186.number().optional(),
6098
6116
  status: ExportJobStatus,
6099
6117
  result: ExportJobResult.optional(),
6100
- createdByUserId: z184.string().optional(),
6118
+ createdByUserId: z186.string().optional(),
6101
6119
  exporterPropertyValues: ExporterPropertyValueMap.optional(),
6102
- previewMode: z184.boolean().optional(),
6103
- exportContextId: z184.string().optional().nullable(),
6120
+ previewMode: z186.boolean().optional(),
6121
+ exportContextId: z186.string().optional().nullable(),
6104
6122
  // Destinations
6105
6123
  ...ExportDestinationsMap.shape
6106
6124
  });
@@ -6114,37 +6132,37 @@ var ExportJobFindByFilter = ExportJob.pick({
6114
6132
  themeId: true,
6115
6133
  brandId: true
6116
6134
  }).extend({
6117
- destinations: z184.array(ExportJobDestinationType),
6135
+ destinations: z186.array(ExportJobDestinationType),
6118
6136
  docsEnvironment: PublishedDocEnvironment,
6119
- selectivePublishing: z184.boolean().optional()
6137
+ selectivePublishing: z186.boolean().optional()
6120
6138
  }).partial();
6121
6139
 
6122
6140
  // src/export/exporter-list-query.ts
6123
- import { z as z185 } from "zod";
6124
- var ExporterType2 = z185.enum(["documentation", "code"]);
6125
- var ListExporterQuery = z185.object({
6126
- limit: z185.number().optional(),
6127
- offset: z185.number().optional(),
6141
+ import { z as z187 } from "zod";
6142
+ var ExporterType2 = z187.enum(["documentation", "code"]);
6143
+ var ListExporterQuery = z187.object({
6144
+ limit: z187.number().optional(),
6145
+ offset: z187.number().optional(),
6128
6146
  type: ExporterType2.optional(),
6129
- search: z185.string().optional()
6147
+ search: z187.string().optional()
6130
6148
  });
6131
6149
 
6132
6150
  // src/export/exporter-workspace-membership-role.ts
6133
- import { z as z186 } from "zod";
6134
- var ExporterWorkspaceMembershipRole = z186.enum(["Owner", "OwnerArchived", "User"]);
6151
+ import { z as z188 } from "zod";
6152
+ var ExporterWorkspaceMembershipRole = z188.enum(["Owner", "OwnerArchived", "User"]);
6135
6153
 
6136
6154
  // src/export/exporter-workspace-membership.ts
6137
- import { z as z187 } from "zod";
6138
- var ExporterWorkspaceMembership = z187.object({
6139
- id: z187.string(),
6140
- workspaceId: z187.string(),
6141
- exporterId: z187.string(),
6155
+ import { z as z189 } from "zod";
6156
+ var ExporterWorkspaceMembership = z189.object({
6157
+ id: z189.string(),
6158
+ workspaceId: z189.string(),
6159
+ exporterId: z189.string(),
6142
6160
  role: ExporterWorkspaceMembershipRole
6143
6161
  });
6144
6162
 
6145
6163
  // src/feature-flags/feature-flags.ts
6146
- import { z as z188 } from "zod";
6147
- var FlaggedFeature = z188.enum([
6164
+ import { z as z190 } from "zod";
6165
+ var FlaggedFeature = z190.enum([
6148
6166
  "FigmaImporterV2",
6149
6167
  "DisableImporter",
6150
6168
  "VariablesOrder",
@@ -6167,209 +6185,209 @@ var FlaggedFeature = z188.enum([
6167
6185
  var FeatureFlagDefaults = {
6168
6186
  DocumentationIgnoreSnapshotsOnPublish: "route-bff+route-p3"
6169
6187
  };
6170
- var FeatureFlagMap = z188.record(FlaggedFeature, z188.boolean());
6171
- var FeatureFlag = z188.object({
6172
- id: z188.string(),
6188
+ var FeatureFlagMap = z190.record(FlaggedFeature, z190.boolean());
6189
+ var FeatureFlag = z190.object({
6190
+ id: z190.string(),
6173
6191
  feature: FlaggedFeature,
6174
- createdAt: z188.coerce.date(),
6175
- enabled: z188.boolean(),
6176
- designSystemId: z188.string().optional(),
6177
- data: z188.record(z188.any()).nullable().optional()
6192
+ createdAt: z190.coerce.date(),
6193
+ enabled: z190.boolean(),
6194
+ designSystemId: z190.string().optional(),
6195
+ data: z190.record(z190.any()).nullable().optional()
6178
6196
  });
6179
6197
 
6180
6198
  // src/forge/agent.ts
6181
- import { z as z189 } from "zod";
6182
- var ForgeAvatarBuilder = z189.object({
6183
- headType: z189.string(),
6184
- hairType: z189.string(),
6185
- accessory1Type: z189.string(),
6186
- accessory2Type: z189.string()
6187
- });
6188
- var ForgeAgent = z189.object({
6189
- avatar: z189.union([z189.string(), ForgeAvatarBuilder]),
6190
- avatarUrl: z189.string().optional(),
6191
- behavior: z189.enum(["Coder", "Writer", "Designer"]),
6192
- id: z189.string(),
6193
- name: z189.string(),
6194
- personality: z189.enum(["Neutral", "Assertive", "Crazy"]),
6195
- projectId: z189.string()
6199
+ import { z as z191 } from "zod";
6200
+ var ForgeAvatarBuilder = z191.object({
6201
+ headType: z191.string(),
6202
+ hairType: z191.string(),
6203
+ accessory1Type: z191.string(),
6204
+ accessory2Type: z191.string()
6205
+ });
6206
+ var ForgeAgent = z191.object({
6207
+ avatar: z191.union([z191.string(), ForgeAvatarBuilder]),
6208
+ avatarUrl: z191.string().optional(),
6209
+ behavior: z191.enum(["Coder", "Writer", "Designer"]),
6210
+ id: z191.string(),
6211
+ name: z191.string(),
6212
+ personality: z191.enum(["Neutral", "Assertive", "Crazy"]),
6213
+ projectId: z191.string()
6196
6214
  });
6197
6215
 
6198
6216
  // src/forge/artifact.ts
6199
- import { z as z190 } from "zod";
6200
- var Artifact = z190.object({
6201
- id: z190.string(),
6202
- createdAt: z190.coerce.date(),
6203
- projectIterationId: z190.string()
6217
+ import { z as z192 } from "zod";
6218
+ var Artifact = z192.object({
6219
+ id: z192.string(),
6220
+ createdAt: z192.coerce.date(),
6221
+ projectIterationId: z192.string()
6204
6222
  });
6205
6223
  var ForgeFileArtifact = Artifact.extend({
6206
- type: z190.enum(["file/text", "file/pdf", "file/image"]),
6207
- fileName: z190.string(),
6208
- uploadedFileUrl: z190.string()
6224
+ type: z192.enum(["file/text", "file/pdf", "file/image"]),
6225
+ fileName: z192.string(),
6226
+ uploadedFileUrl: z192.string()
6209
6227
  });
6210
6228
  var ForgeFigmaArtifact = Artifact.extend({
6211
- type: z190.literal("figma/node"),
6212
- figmaFileUrl: z190.string(),
6213
- figmaNodeId: z190.string(),
6214
- figmaFileName: z190.string().optional(),
6215
- previewUrl: z190.string().optional()
6229
+ type: z192.literal("figma/node"),
6230
+ figmaFileUrl: z192.string(),
6231
+ figmaNodeId: z192.string(),
6232
+ figmaFileName: z192.string().optional(),
6233
+ previewUrl: z192.string().optional()
6216
6234
  });
6217
6235
  var ForgeSpecArtifact = Artifact.extend({
6218
- type: z190.literal("spec"),
6219
- fileName: z190.string(),
6220
- yjsDocId: z190.string(),
6221
- markdownText: z190.string()
6222
- });
6223
- var ForgeBuildArtifactFiles = z190.array(
6224
- z190.object({
6225
- path: z190.string(),
6226
- content: z190.string(),
6227
- isVisibleToUser: z190.boolean().optional()
6236
+ type: z192.literal("spec"),
6237
+ fileName: z192.string(),
6238
+ yjsDocId: z192.string(),
6239
+ markdownText: z192.string()
6240
+ });
6241
+ var ForgeBuildArtifactFiles = z192.array(
6242
+ z192.object({
6243
+ path: z192.string(),
6244
+ content: z192.string(),
6245
+ isVisibleToUser: z192.boolean().optional()
6228
6246
  })
6229
6247
  );
6230
- var ForgeBuildArtifactEnvironment = z190.object({
6231
- dependencies: z190.record(z190.string())
6248
+ var ForgeBuildArtifactEnvironment = z192.object({
6249
+ dependencies: z192.record(z192.string())
6232
6250
  });
6233
6251
  var ForgeBuildArtifact = Artifact.extend({
6234
- type: z190.literal("build"),
6235
- participantId: z190.string(),
6252
+ type: z192.literal("build"),
6253
+ participantId: z192.string(),
6236
6254
  files: ForgeBuildArtifactFiles,
6237
6255
  environment: ForgeBuildArtifactEnvironment
6238
6256
  });
6239
- var ForgeArtifact = z190.union([ForgeBuildArtifact, ForgeSpecArtifact, ForgeFigmaArtifact, ForgeFileArtifact]);
6257
+ var ForgeArtifact = z192.union([ForgeBuildArtifact, ForgeSpecArtifact, ForgeFigmaArtifact, ForgeFileArtifact]);
6240
6258
 
6241
6259
  // src/forge/iteration-message.ts
6242
- import { z as z192 } from "zod";
6260
+ import { z as z194 } from "zod";
6243
6261
 
6244
6262
  // src/forge/participant.ts
6245
- import { z as z191 } from "zod";
6246
- var ForgeParticipant = z191.object({
6247
- id: z191.string(),
6248
- agentId: z191.string().optional(),
6263
+ import { z as z193 } from "zod";
6264
+ var ForgeParticipant = z193.object({
6265
+ id: z193.string(),
6266
+ agentId: z193.string().optional(),
6249
6267
  agent: ForgeAgent.optional(),
6250
- projectIterationId: z191.string(),
6251
- role: z191.enum(["Editor", "Viewer"]),
6252
- type: z191.enum(["Agent", "User"]),
6253
- userId: z191.string().optional(),
6268
+ projectIterationId: z193.string(),
6269
+ role: z193.enum(["Editor", "Viewer"]),
6270
+ type: z193.enum(["Agent", "User"]),
6271
+ userId: z193.string().optional(),
6254
6272
  user: User.optional()
6255
6273
  });
6256
6274
 
6257
6275
  // src/forge/iteration-message.ts
6258
- var ForgeIterationMessageStep = z192.object({
6259
- name: z192.string(),
6260
- text: z192.string(),
6261
- status: z192.enum(["pending", "started", "completed", "error"])
6276
+ var ForgeIterationMessageStep = z194.object({
6277
+ name: z194.string(),
6278
+ text: z194.string(),
6279
+ status: z194.enum(["pending", "started", "completed", "error"])
6262
6280
  });
6263
- var ForgeIterationMessage = z192.object({
6264
- id: z192.string(),
6265
- createdAt: z192.coerce.date(),
6266
- participantId: z192.string(),
6281
+ var ForgeIterationMessage = z194.object({
6282
+ id: z194.string(),
6283
+ createdAt: z194.coerce.date(),
6284
+ participantId: z194.string(),
6267
6285
  participant: ForgeParticipant,
6268
- projectIterationId: z192.string(),
6269
- steps: z192.array(ForgeIterationMessageStep).optional(),
6270
- type: z192.enum(["Note", "Action", "Steps"]),
6271
- text: z192.string()
6286
+ projectIterationId: z194.string(),
6287
+ steps: z194.array(ForgeIterationMessageStep).optional(),
6288
+ type: z194.enum(["Note", "Action", "Steps"]),
6289
+ text: z194.string()
6272
6290
  });
6273
6291
 
6274
6292
  // src/forge/meta.ts
6275
- import { z as z193 } from "zod";
6276
- var ForgeMeta = z193.object({
6277
- name: z193.string(),
6278
- description: z193.string().optional()
6293
+ import { z as z195 } from "zod";
6294
+ var ForgeMeta = z195.object({
6295
+ name: z195.string(),
6296
+ description: z195.string().optional()
6279
6297
  });
6280
6298
 
6281
6299
  // src/forge/project-context.ts
6282
- import { z as z194 } from "zod";
6283
- var ForgeProjectContextDependency = z194.object({
6284
- packageName: z194.string(),
6285
- type: z194.literal("npm"),
6286
- version: z194.string().default("latest")
6300
+ import { z as z196 } from "zod";
6301
+ var ForgeProjectContextDependency = z196.object({
6302
+ packageName: z196.string(),
6303
+ type: z196.literal("npm"),
6304
+ version: z196.string().default("latest")
6287
6305
  });
6288
- var ForgeProjectContextTailwindConfig = z194.object({
6289
- content: z194.string(),
6290
- version: z194.string()
6306
+ var ForgeProjectContextTailwindConfig = z196.object({
6307
+ content: z196.string(),
6308
+ version: z196.string()
6291
6309
  });
6292
- var ForgeProjectContext = z194.object({
6293
- createdAt: z194.coerce.date(),
6294
- definition: z194.string(),
6295
- dependencies: z194.array(ForgeProjectContextDependency),
6296
- designSystemId: z194.string(),
6297
- id: z194.string(),
6310
+ var ForgeProjectContext = z196.object({
6311
+ createdAt: z196.coerce.date(),
6312
+ definition: z196.string(),
6313
+ dependencies: z196.array(ForgeProjectContextDependency),
6314
+ designSystemId: z196.string(),
6315
+ id: z196.string(),
6298
6316
  meta: ForgeMeta,
6299
- name: z194.string(),
6317
+ name: z196.string(),
6300
6318
  npmProxySettings: NpmRegistryConfig,
6301
- platform: z194.enum(["React", "Vue", "Angular"]),
6302
- styling: z194.enum(["CSS", "Tailwind"]),
6319
+ platform: z196.enum(["React", "Vue", "Angular"]),
6320
+ styling: z196.enum(["CSS", "Tailwind"]),
6303
6321
  tailwindConfig: ForgeProjectContextTailwindConfig.optional(),
6304
- updatedAt: z194.coerce.date(),
6305
- workspaceId: z194.string()
6322
+ updatedAt: z196.coerce.date(),
6323
+ workspaceId: z196.string()
6306
6324
  });
6307
6325
 
6308
6326
  // src/forge/project-invitation.ts
6309
- import { z as z196 } from "zod";
6327
+ import { z as z198 } from "zod";
6310
6328
 
6311
6329
  // src/forge/project-membership.ts
6312
- import { z as z195 } from "zod";
6313
- var ForgeProjectRole = z195.enum(["Viewer", "Editor", "Admin"]);
6314
- var ForgeProjectMembership = z195.object({
6315
- userId: z195.string(),
6316
- forgeProjectId: z195.string(),
6317
- workspaceMembershipId: z195.string(),
6330
+ import { z as z197 } from "zod";
6331
+ var ForgeProjectRole = z197.enum(["Viewer", "Editor", "Admin"]);
6332
+ var ForgeProjectMembership = z197.object({
6333
+ userId: z197.string(),
6334
+ forgeProjectId: z197.string(),
6335
+ workspaceMembershipId: z197.string(),
6318
6336
  workspaceRole: WorkspaceRoleSchema,
6319
6337
  role: ForgeProjectRole
6320
6338
  });
6321
6339
 
6322
6340
  // src/forge/project-invitation.ts
6323
- var ForgeProjectInvitation = z196.object({
6324
- email: z196.string().email(),
6325
- forgeProjectId: z196.string(),
6326
- workspaceInvitationId: z196.string(),
6341
+ var ForgeProjectInvitation = z198.object({
6342
+ email: z198.string().email(),
6343
+ forgeProjectId: z198.string(),
6344
+ workspaceInvitationId: z198.string(),
6327
6345
  role: ForgeProjectRole,
6328
- createdAt: z196.coerce.date(),
6329
- updatedAt: z196.coerce.date(),
6330
- createdById: z196.string()
6346
+ createdAt: z198.coerce.date(),
6347
+ updatedAt: z198.coerce.date(),
6348
+ createdById: z198.string()
6331
6349
  });
6332
6350
 
6333
6351
  // src/forge/project-iteration.ts
6334
- import { z as z197 } from "zod";
6335
- var ForgeProjectIterationMergeMeta = z197.object({ mergeByUserId: z197.string(), mergeAt: z197.date() });
6336
- var ForgeProjectIteration = z197.object({
6337
- branchId: z197.string().optional(),
6338
- buildArtifactId: z197.string(),
6339
- createdAt: z197.coerce.date(),
6340
- forgeProjectId: z197.string(),
6341
- id: z197.string(),
6342
- locked: z197.boolean(),
6343
- messages: z197.array(ForgeIterationMessage),
6344
- artifacts: z197.array(ForgeArtifact),
6345
- previousIterationId: z197.string().optional(),
6352
+ import { z as z199 } from "zod";
6353
+ var ForgeProjectIterationMergeMeta = z199.object({ mergeByUserId: z199.string(), mergeAt: z199.date() });
6354
+ var ForgeProjectIteration = z199.object({
6355
+ branchId: z199.string().optional(),
6356
+ buildArtifactId: z199.string(),
6357
+ createdAt: z199.coerce.date(),
6358
+ forgeProjectId: z199.string(),
6359
+ id: z199.string(),
6360
+ locked: z199.boolean(),
6361
+ messages: z199.array(ForgeIterationMessage),
6362
+ artifacts: z199.array(ForgeArtifact),
6363
+ previousIterationId: z199.string().optional(),
6346
6364
  mergeMeta: ForgeProjectIterationMergeMeta.optional()
6347
6365
  });
6348
6366
 
6349
6367
  // src/forge/project.ts
6350
- import { z as z198 } from "zod";
6351
- var ForgeProjectTag = z198.array(z198.string()).default([]);
6352
- var ForgeProjectAccessMode = z198.enum(["InviteOnly", "Open"]);
6353
- var ForgeProject = z198.object({
6354
- createdAt: z198.coerce.date(),
6355
- createdByUserId: z198.string().optional(),
6356
- fpContextId: z198.string(),
6357
- id: z198.string(),
6358
- instruction: z198.string().nullable(),
6368
+ import { z as z200 } from "zod";
6369
+ var ForgeProjectTag = z200.array(z200.string()).default([]);
6370
+ var ForgeProjectAccessMode = z200.enum(["InviteOnly", "Open"]);
6371
+ var ForgeProject = z200.object({
6372
+ createdAt: z200.coerce.date(),
6373
+ createdByUserId: z200.string().optional(),
6374
+ fpContextId: z200.string(),
6375
+ id: z200.string(),
6376
+ instruction: z200.string().nullable(),
6359
6377
  meta: ForgeMeta,
6360
- name: z198.string(),
6378
+ name: z200.string(),
6361
6379
  tags: ForgeProjectTag,
6362
- updatedAt: z198.coerce.date().optional(),
6363
- workspaceId: z198.string(),
6380
+ updatedAt: z200.coerce.date().optional(),
6381
+ workspaceId: z200.string(),
6364
6382
  accessMode: ForgeProjectAccessMode,
6365
- isArchived: z198.boolean().optional()
6383
+ isArchived: z200.boolean().optional()
6366
6384
  });
6367
6385
 
6368
6386
  // src/integrations/external-oauth-request.ts
6369
- import { z as z200 } from "zod";
6387
+ import { z as z202 } from "zod";
6370
6388
 
6371
6389
  // src/integrations/oauth-providers.ts
6372
- import { z as z199 } from "zod";
6390
+ import { z as z201 } from "zod";
6373
6391
  var OAuthProviderNames = /* @__PURE__ */ ((OAuthProviderNames2) => {
6374
6392
  OAuthProviderNames2["Figma"] = "figma";
6375
6393
  OAuthProviderNames2["Azure"] = "azure";
@@ -6378,152 +6396,152 @@ var OAuthProviderNames = /* @__PURE__ */ ((OAuthProviderNames2) => {
6378
6396
  OAuthProviderNames2["Bitbucket"] = "bitbucket";
6379
6397
  return OAuthProviderNames2;
6380
6398
  })(OAuthProviderNames || {});
6381
- var OAuthProviderSchema = z199.nativeEnum(OAuthProviderNames);
6399
+ var OAuthProviderSchema = z201.nativeEnum(OAuthProviderNames);
6382
6400
  var OAuthProvider = OAuthProviderSchema.enum;
6383
6401
 
6384
6402
  // src/integrations/external-oauth-request.ts
6385
- var ExternalOAuthRequest = z200.object({
6386
- id: z200.string(),
6403
+ var ExternalOAuthRequest = z202.object({
6404
+ id: z202.string(),
6387
6405
  provider: OAuthProviderSchema,
6388
- userId: z200.string(),
6389
- state: z200.string(),
6390
- createdAt: z200.coerce.date()
6406
+ userId: z202.string(),
6407
+ state: z202.string(),
6408
+ createdAt: z202.coerce.date()
6391
6409
  });
6392
6410
 
6393
6411
  // src/integrations/git.ts
6394
- import { z as z201 } from "zod";
6395
- var GitObjectsQuery = z201.object({
6396
- organization: z201.string().optional(),
6412
+ import { z as z203 } from "zod";
6413
+ var GitObjectsQuery = z203.object({
6414
+ organization: z203.string().optional(),
6397
6415
  // Azure Organization | Bitbucket Workspace slug | Gitlab Group | Github Account (User or Organization)
6398
- project: z201.string().optional(),
6416
+ project: z203.string().optional(),
6399
6417
  // Only for Bitbucket and Azure
6400
- repository: z201.string().optional(),
6418
+ repository: z203.string().optional(),
6401
6419
  // For all providers. For Gitlab, it's called "project".
6402
- branch: z201.string().optional(),
6420
+ branch: z203.string().optional(),
6403
6421
  // For all providers.
6404
- user: z201.string().optional()
6422
+ user: z203.string().optional()
6405
6423
  // Gitlab user
6406
6424
  });
6407
- var GitOrganization = z201.object({
6408
- id: z201.string(),
6409
- name: z201.string(),
6410
- url: z201.string(),
6411
- slug: z201.string()
6412
- });
6413
- var GitProject = z201.object({
6414
- id: z201.string(),
6415
- name: z201.string(),
6416
- url: z201.string(),
6417
- slug: z201.string()
6418
- });
6419
- var GitRepository = z201.object({
6420
- id: z201.string(),
6421
- name: z201.string(),
6422
- url: z201.string(),
6423
- slug: z201.string(),
6425
+ var GitOrganization = z203.object({
6426
+ id: z203.string(),
6427
+ name: z203.string(),
6428
+ url: z203.string(),
6429
+ slug: z203.string()
6430
+ });
6431
+ var GitProject = z203.object({
6432
+ id: z203.string(),
6433
+ name: z203.string(),
6434
+ url: z203.string(),
6435
+ slug: z203.string()
6436
+ });
6437
+ var GitRepository = z203.object({
6438
+ id: z203.string(),
6439
+ name: z203.string(),
6440
+ url: z203.string(),
6441
+ slug: z203.string(),
6424
6442
  /**
6425
6443
  * Can be undefined when:
6426
6444
  * - there are no branches in the repository yet
6427
6445
  * - Git provider doesn't expose this information on a repository via their API
6428
6446
  */
6429
- defaultBranch: z201.string().optional()
6447
+ defaultBranch: z203.string().optional()
6430
6448
  });
6431
- var GitBranch = z201.object({
6432
- name: z201.string(),
6433
- lastCommitId: z201.string()
6449
+ var GitBranch = z203.object({
6450
+ name: z203.string(),
6451
+ lastCommitId: z203.string()
6434
6452
  });
6435
6453
 
6436
6454
  // src/integrations/oauth-token.ts
6437
- import { z as z202 } from "zod";
6438
- var IntegrationTokenSchemaOld = z202.object({
6439
- id: z202.string(),
6455
+ import { z as z204 } from "zod";
6456
+ var IntegrationTokenSchemaOld = z204.object({
6457
+ id: z204.string(),
6440
6458
  provider: OAuthProviderSchema,
6441
- scope: z202.string(),
6442
- userId: z202.string(),
6443
- accessToken: z202.string(),
6444
- refreshToken: z202.string(),
6445
- expiresAt: z202.coerce.date(),
6446
- externalUserId: z202.string().nullish()
6459
+ scope: z204.string(),
6460
+ userId: z204.string(),
6461
+ accessToken: z204.string(),
6462
+ refreshToken: z204.string(),
6463
+ expiresAt: z204.coerce.date(),
6464
+ externalUserId: z204.string().nullish()
6447
6465
  });
6448
6466
 
6449
6467
  // src/integrations/workspace-oauth-requests.ts
6450
- import { z as z203 } from "zod";
6451
- var WorkspaceOAuthRequestSchema = z203.object({
6452
- id: z203.string(),
6453
- workspaceId: z203.string(),
6468
+ import { z as z205 } from "zod";
6469
+ var WorkspaceOAuthRequestSchema = z205.object({
6470
+ id: z205.string(),
6471
+ workspaceId: z205.string(),
6454
6472
  provider: OAuthProviderSchema,
6455
- userId: z203.string(),
6456
- createdAt: z203.coerce.date()
6473
+ userId: z205.string(),
6474
+ createdAt: z205.coerce.date()
6457
6475
  });
6458
6476
 
6459
6477
  // src/npm/npm-package.ts
6460
- import { z as z204 } from "zod";
6461
- var AnyRecord = z204.record(z204.any());
6478
+ import { z as z206 } from "zod";
6479
+ var AnyRecord = z206.record(z206.any());
6462
6480
  var NpmPackageVersionDist = AnyRecord.and(
6463
- z204.object({
6464
- tarball: z204.string()
6481
+ z206.object({
6482
+ tarball: z206.string()
6465
6483
  })
6466
6484
  );
6467
6485
  var NpmPackageVersion = AnyRecord.and(
6468
- z204.object({
6486
+ z206.object({
6469
6487
  dist: NpmPackageVersionDist
6470
6488
  })
6471
6489
  );
6472
6490
  var NpmPackage = AnyRecord.and(
6473
- z204.object({
6474
- _id: z204.string(),
6475
- name: z204.string(),
6491
+ z206.object({
6492
+ _id: z206.string(),
6493
+ name: z206.string(),
6476
6494
  // e.g. "latest": "1.2.3"
6477
- "dist-tags": z204.record(z204.string(), z204.string()),
6495
+ "dist-tags": z206.record(z206.string(), z206.string()),
6478
6496
  // "1.2.3": {...}
6479
- versions: z204.record(NpmPackageVersion)
6497
+ versions: z206.record(NpmPackageVersion)
6480
6498
  })
6481
6499
  );
6482
6500
 
6483
6501
  // src/npm/npm-proxy-token-payload.ts
6484
- import { z as z205 } from "zod";
6485
- var NpmProxyTokenPayload = z205.object({
6486
- npmProxyRegistryConfigId: z205.string()
6502
+ import { z as z207 } from "zod";
6503
+ var NpmProxyTokenPayload = z207.object({
6504
+ npmProxyRegistryConfigId: z207.string()
6487
6505
  });
6488
6506
 
6489
6507
  // src/portal/portal-settings.ts
6490
- import { z as z206 } from "zod";
6508
+ import { z as z208 } from "zod";
6491
6509
  var PortalSettingsTheme = UserTheme;
6492
- var PortalSettingsSidebarLink = z206.object({
6493
- name: z206.string(),
6494
- url: z206.string(),
6495
- emoji: z206.string()
6496
- });
6497
- var PortalSettingsSidebarSection = z206.object({
6498
- sectionName: z206.string(),
6499
- links: z206.array(PortalSettingsSidebarLink)
6500
- });
6501
- var PortalSettingsSidebar = z206.array(PortalSettingsSidebarSection);
6502
- var PortalSettings = z206.object({
6503
- id: z206.string(),
6504
- workspaceId: z206.string(),
6505
- enabledDesignSystemIds: z206.array(z206.string()),
6506
- enabledBrandPersistentIds: z206.array(z206.string()),
6510
+ var PortalSettingsSidebarLink = z208.object({
6511
+ name: z208.string(),
6512
+ url: z208.string(),
6513
+ emoji: z208.string()
6514
+ });
6515
+ var PortalSettingsSidebarSection = z208.object({
6516
+ sectionName: z208.string(),
6517
+ links: z208.array(PortalSettingsSidebarLink)
6518
+ });
6519
+ var PortalSettingsSidebar = z208.array(PortalSettingsSidebarSection);
6520
+ var PortalSettings = z208.object({
6521
+ id: z208.string(),
6522
+ workspaceId: z208.string(),
6523
+ enabledDesignSystemIds: z208.array(z208.string()),
6524
+ enabledBrandPersistentIds: z208.array(z208.string()),
6507
6525
  theme: PortalSettingsTheme.nullish(),
6508
6526
  sidebar: PortalSettingsSidebar.nullish(),
6509
- createdAt: z206.coerce.date(),
6510
- updatedAt: z206.coerce.date()
6527
+ createdAt: z208.coerce.date(),
6528
+ updatedAt: z208.coerce.date()
6511
6529
  });
6512
6530
 
6513
6531
  // src/tokens/personal-access-token.ts
6514
- import { z as z207 } from "zod";
6515
- var PersonalAccessToken = z207.object({
6516
- id: z207.string(),
6517
- userId: z207.string(),
6518
- workspaceId: z207.string().optional(),
6519
- designSystemId: z207.string().optional(),
6532
+ import { z as z209 } from "zod";
6533
+ var PersonalAccessToken = z209.object({
6534
+ id: z209.string(),
6535
+ userId: z209.string(),
6536
+ workspaceId: z209.string().optional(),
6537
+ designSystemId: z209.string().optional(),
6520
6538
  workspaceRole: WorkspaceRoleSchema.optional(),
6521
- name: z207.string(),
6522
- hidden: z207.boolean(),
6523
- token: z207.string(),
6524
- scope: z207.string().optional(),
6525
- createdAt: z207.coerce.date(),
6526
- expireAt: z207.coerce.date().optional()
6539
+ name: z209.string(),
6540
+ hidden: z209.boolean(),
6541
+ token: z209.string(),
6542
+ scope: z209.string().optional(),
6543
+ createdAt: z209.coerce.date(),
6544
+ expireAt: z209.coerce.date().optional()
6527
6545
  });
6528
6546
  export {
6529
6547
  Address,
@@ -6851,6 +6869,7 @@ export {
6851
6869
  ForgeParticipant,
6852
6870
  ForgeProject,
6853
6871
  ForgeProjectAccessMode,
6872
+ ForgeProjectArtifactRoom,
6854
6873
  ForgeProjectContext,
6855
6874
  ForgeProjectContextDependency,
6856
6875
  ForgeProjectContextTailwindConfig,
@@ -6859,6 +6878,7 @@ export {
6859
6878
  ForgeProjectIterationMergeMeta,
6860
6879
  ForgeProjectMembership,
6861
6880
  ForgeProjectRole,
6881
+ ForgeProjectRoom,
6862
6882
  ForgeProjectTag,
6863
6883
  ForgeSpecArtifact,
6864
6884
  GitBranch,