@supernova-studio/model 1.10.20 → 1.10.22

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