@supernova-studio/model 1.14.3 → 1.15.0

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