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