@supernova-studio/model 1.21.0 → 1.22.1

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
@@ -5674,10 +5674,10 @@ var CodeIntegrationDump = z164.object({
5674
5674
  });
5675
5675
 
5676
5676
  // src/data-dumps/design-system-dump.ts
5677
- import { z as z190 } from "zod";
5677
+ import { z as z191 } from "zod";
5678
5678
 
5679
5679
  // src/data-dumps/design-system-version-dump.ts
5680
- import { z as z189 } from "zod";
5680
+ import { z as z190 } from "zod";
5681
5681
 
5682
5682
  // src/liveblocks/rooms/design-system-version-room.ts
5683
5683
  import { z as z165 } from "zod";
@@ -5745,327 +5745,335 @@ var RestoredDocumentationGroup = z166.object({
5745
5745
  parent: ElementGroup
5746
5746
  });
5747
5747
 
5748
- // src/liveblocks/rooms/forge-project-artifact-room.ts
5748
+ // src/liveblocks/rooms/forge-feature-room.ts
5749
5749
  import { z as z167 } from "zod";
5750
- var ForgeProjectArtifactRoom = Entity.extend({
5751
- artifactId: z167.string(),
5750
+ var ForgeFeatureRoom = Entity.extend({
5751
+ featureId: z167.string(),
5752
5752
  projectId: z167.string(),
5753
- liveblocksId: z167.string(),
5754
- isDirty: z167.boolean()
5753
+ liveblocksId: z167.string()
5754
+ });
5755
+
5756
+ // src/liveblocks/rooms/forge-project-artifact-room.ts
5757
+ import { z as z168 } from "zod";
5758
+ var ForgeProjectArtifactRoom = Entity.extend({
5759
+ artifactId: z168.string(),
5760
+ projectId: z168.string(),
5761
+ liveblocksId: z168.string(),
5762
+ isDirty: z168.boolean()
5755
5763
  });
5756
5764
 
5757
5765
  // src/liveblocks/rooms/forge-project-room.ts
5758
- import { z as z185 } from "zod";
5766
+ import { z as z186 } from "zod";
5759
5767
 
5760
5768
  // src/forge/agent.ts
5761
- import { z as z168 } from "zod";
5762
- var ForgeAvatarBuilder = z168.object({
5763
- headType: z168.string(),
5764
- hairType: z168.string(),
5765
- accessory1Type: z168.string(),
5766
- accessory2Type: z168.string()
5767
- });
5768
- var ForgeAgent = z168.object({
5769
- avatar: z168.union([z168.string(), ForgeAvatarBuilder]),
5770
- avatarUrl: z168.string().optional(),
5771
- behavior: z168.enum(["Coder", "Writer", "Designer"]),
5772
- id: z168.string(),
5773
- name: z168.string(),
5774
- personality: z168.enum(["Neutral", "Assertive", "Crazy"]),
5775
- projectId: z168.string()
5769
+ import { z as z169 } from "zod";
5770
+ var ForgeAvatarBuilder = z169.object({
5771
+ headType: z169.string(),
5772
+ hairType: z169.string(),
5773
+ accessory1Type: z169.string(),
5774
+ accessory2Type: z169.string()
5775
+ });
5776
+ var ForgeAgent = z169.object({
5777
+ avatar: z169.union([z169.string(), ForgeAvatarBuilder]),
5778
+ avatarUrl: z169.string().optional(),
5779
+ behavior: z169.enum(["Coder", "Writer", "Designer"]),
5780
+ id: z169.string(),
5781
+ name: z169.string(),
5782
+ personality: z169.enum(["Neutral", "Assertive", "Crazy"]),
5783
+ projectId: z169.string()
5776
5784
  });
5777
5785
 
5778
5786
  // src/forge/artifact.ts
5779
- import { z as z169 } from "zod";
5780
- var Artifact = z169.object({
5781
- id: z169.string(),
5782
- createdAt: z169.coerce.date(),
5783
- projectIterationId: z169.string()
5787
+ import { z as z170 } from "zod";
5788
+ var Artifact = z170.object({
5789
+ id: z170.string(),
5790
+ createdAt: z170.coerce.date(),
5791
+ projectIterationId: z170.string()
5784
5792
  });
5785
5793
  var ForgeFileArtifact = Artifact.extend({
5786
- type: z169.enum(["file/text", "file/pdf", "file/image"]),
5787
- fileName: z169.string(),
5788
- uploadedFileUrl: z169.string()
5794
+ type: z170.enum(["file/text", "file/pdf", "file/image"]),
5795
+ fileName: z170.string(),
5796
+ uploadedFileUrl: z170.string()
5789
5797
  });
5790
5798
  var ForgeFigmaArtifact = Artifact.extend({
5791
- type: z169.literal("figma/node"),
5792
- figmaFileUrl: z169.string(),
5793
- figmaNodeId: z169.string(),
5794
- figmaFileName: z169.string().optional(),
5795
- previewUrl: z169.string().optional()
5799
+ type: z170.literal("figma/node"),
5800
+ figmaFileUrl: z170.string(),
5801
+ figmaNodeId: z170.string(),
5802
+ figmaFileName: z170.string().optional(),
5803
+ previewUrl: z170.string().optional()
5796
5804
  });
5797
5805
  var ForgeSpecArtifact = Artifact.extend({
5798
- type: z169.literal("spec"),
5799
- fileName: z169.string(),
5800
- yjsDocId: z169.string(),
5801
- markdownText: z169.string()
5802
- });
5803
- var ForgeBuildArtifactFiles = z169.array(
5804
- z169.object({
5805
- path: z169.string(),
5806
- content: z169.string(),
5807
- isVisibleToUser: z169.boolean().optional()
5806
+ type: z170.literal("spec"),
5807
+ fileName: z170.string(),
5808
+ yjsDocId: z170.string(),
5809
+ markdownText: z170.string()
5810
+ });
5811
+ var ForgeBuildArtifactFiles = z170.array(
5812
+ z170.object({
5813
+ path: z170.string(),
5814
+ content: z170.string(),
5815
+ isVisibleToUser: z170.boolean().optional()
5808
5816
  })
5809
5817
  );
5810
- var ForgeBuildArtifactEnvironment = z169.object({
5811
- dependencies: z169.record(z169.string())
5818
+ var ForgeBuildArtifactEnvironment = z170.object({
5819
+ dependencies: z170.record(z170.string())
5812
5820
  });
5813
5821
  var ForgeBuildArtifact = Artifact.extend({
5814
- type: z169.literal("build"),
5815
- participantId: z169.string(),
5822
+ type: z170.literal("build"),
5823
+ participantId: z170.string(),
5816
5824
  files: ForgeBuildArtifactFiles,
5817
5825
  environment: ForgeBuildArtifactEnvironment
5818
5826
  });
5819
- var ForgeArtifact = z169.union([ForgeBuildArtifact, ForgeSpecArtifact, ForgeFigmaArtifact, ForgeFileArtifact]);
5827
+ var ForgeArtifact = z170.union([ForgeBuildArtifact, ForgeSpecArtifact, ForgeFigmaArtifact, ForgeFileArtifact]);
5820
5828
 
5821
5829
  // src/forge/id.ts
5822
- import { z as z170 } from "zod";
5823
- var Id = z170.string().uuid();
5830
+ import { z as z171 } from "zod";
5831
+ var Id = z171.string().uuid();
5824
5832
 
5825
5833
  // src/forge/iteration-message.ts
5826
- import { z as z172 } from "zod";
5834
+ import { z as z173 } from "zod";
5827
5835
 
5828
5836
  // src/forge/participant.ts
5829
- import { z as z171 } from "zod";
5830
- var ForgeParticipant = z171.object({
5831
- id: z171.string(),
5832
- agentId: z171.string().optional(),
5837
+ import { z as z172 } from "zod";
5838
+ var ForgeParticipant = z172.object({
5839
+ id: z172.string(),
5840
+ agentId: z172.string().optional(),
5833
5841
  agent: ForgeAgent.optional(),
5834
- projectIterationId: z171.string(),
5835
- role: z171.enum(["Editor", "Viewer"]),
5836
- type: z171.enum(["Agent", "User"]),
5837
- userId: z171.string().optional(),
5842
+ projectIterationId: z172.string(),
5843
+ role: z172.enum(["Editor", "Viewer"]),
5844
+ type: z172.enum(["Agent", "User"]),
5845
+ userId: z172.string().optional(),
5838
5846
  user: User.optional()
5839
5847
  });
5840
5848
 
5841
5849
  // src/forge/iteration-message.ts
5842
- var ForgeIterationMessageStep = z172.object({
5843
- name: z172.string(),
5844
- text: z172.string(),
5845
- status: z172.enum(["pending", "started", "completed", "error"])
5850
+ var ForgeIterationMessageStep = z173.object({
5851
+ name: z173.string(),
5852
+ text: z173.string(),
5853
+ status: z173.enum(["pending", "started", "completed", "error"])
5846
5854
  });
5847
- var ForgeIterationMessage = z172.object({
5848
- id: z172.string(),
5849
- createdAt: z172.coerce.date(),
5850
- participantId: z172.string(),
5855
+ var ForgeIterationMessage = z173.object({
5856
+ id: z173.string(),
5857
+ createdAt: z173.coerce.date(),
5858
+ participantId: z173.string(),
5851
5859
  participant: ForgeParticipant,
5852
- projectIterationId: z172.string(),
5853
- steps: z172.array(ForgeIterationMessageStep).optional(),
5854
- type: z172.enum(["Note", "Action", "Steps"]),
5855
- text: z172.string()
5860
+ projectIterationId: z173.string(),
5861
+ steps: z173.array(ForgeIterationMessageStep).optional(),
5862
+ type: z173.enum(["Note", "Action", "Steps"]),
5863
+ text: z173.string()
5856
5864
  });
5857
5865
 
5858
5866
  // src/forge/meta.ts
5859
- import { z as z173 } from "zod";
5860
- var ForgeMeta = z173.object({
5861
- name: z173.string(),
5862
- description: z173.string().optional()
5867
+ import { z as z174 } from "zod";
5868
+ var ForgeMeta = z174.object({
5869
+ name: z174.string(),
5870
+ description: z174.string().optional()
5863
5871
  });
5864
5872
 
5865
5873
  // src/forge/project-artifact-content.ts
5866
- import { z as z174 } from "zod";
5874
+ import { z as z175 } from "zod";
5867
5875
  var ForgeProjectArtifactContentData = DocumentationPageContentData;
5868
- var ForgeProjectArtifactContent = z174.object({
5869
- id: z174.string(),
5870
- artifactId: z174.string(),
5871
- projectId: z174.string(),
5872
- createdAt: z174.coerce.date(),
5873
- updatedAt: z174.coerce.date(),
5876
+ var ForgeProjectArtifactContent = z175.object({
5877
+ id: z175.string(),
5878
+ artifactId: z175.string(),
5879
+ projectId: z175.string(),
5880
+ createdAt: z175.coerce.date(),
5881
+ updatedAt: z175.coerce.date(),
5874
5882
  data: ForgeProjectArtifactContentData
5875
5883
  });
5876
5884
 
5877
5885
  // src/forge/project-artifact.ts
5878
- import { z as z176 } from "zod";
5886
+ import { z as z177 } from "zod";
5879
5887
 
5880
5888
  // src/forge/project-section.ts
5881
- import { z as z175 } from "zod";
5882
- var ForgeProjectSectionChildType = z175.enum(["Artifact", "Feature"]);
5883
- var SortOrder = z175.number().int();
5884
- var ForgeSection = z175.object({
5889
+ import { z as z176 } from "zod";
5890
+ var ForgeProjectSectionChildType = z176.enum(["Artifact", "Feature"]);
5891
+ var SortOrder = z176.number().int();
5892
+ var ForgeSection = z176.object({
5885
5893
  id: Id,
5886
- projectId: z175.string(),
5887
- name: z175.string(),
5894
+ projectId: z176.string(),
5895
+ name: z176.string(),
5888
5896
  sortOrder: SortOrder.default(0),
5889
- createdAt: z175.coerce.date(),
5890
- updatedAt: z175.coerce.date(),
5897
+ createdAt: z176.coerce.date(),
5898
+ updatedAt: z176.coerce.date(),
5891
5899
  childType: ForgeProjectSectionChildType
5892
5900
  });
5893
5901
 
5894
5902
  // src/forge/project-artifact.ts
5895
- var ForgeProjectArtifact = z176.object({
5903
+ var ForgeProjectArtifact = z177.object({
5896
5904
  id: Id,
5897
- projectId: z176.string(),
5898
- iterationId: z176.string().nullish(),
5899
- title: z176.string(),
5900
- previewUrl: z176.string().nullish(),
5905
+ projectId: z177.string(),
5906
+ iterationId: z177.string().nullish(),
5907
+ title: z177.string(),
5908
+ previewUrl: z177.string().nullish(),
5901
5909
  sortOrder: SortOrder.default(0),
5902
- createdAt: z176.coerce.date(),
5903
- updatedAt: z176.coerce.date(),
5904
- createdByUserId: z176.string(),
5910
+ createdAt: z177.coerce.date(),
5911
+ updatedAt: z177.coerce.date(),
5912
+ createdByUserId: z177.string(),
5905
5913
  sectionId: Id.optional()
5906
5914
  });
5907
5915
 
5908
5916
  // src/forge/project-context.ts
5909
- import { z as z177 } from "zod";
5910
- var ForgeProjectContextDependency = z177.object({
5911
- packageName: z177.string(),
5912
- type: z177.literal("npm"),
5913
- version: z177.string().default("latest")
5917
+ import { z as z178 } from "zod";
5918
+ var ForgeProjectContextDependency = z178.object({
5919
+ packageName: z178.string(),
5920
+ type: z178.literal("npm"),
5921
+ version: z178.string().default("latest")
5914
5922
  });
5915
- var ForgeProjectContextTailwindConfig = z177.object({
5916
- content: z177.string(),
5917
- version: z177.string()
5923
+ var ForgeProjectContextTailwindConfig = z178.object({
5924
+ content: z178.string(),
5925
+ version: z178.string()
5918
5926
  });
5919
- var ForgeProjectContext = z177.object({
5920
- createdAt: z177.coerce.date(),
5921
- definition: z177.string(),
5922
- dependencies: z177.array(ForgeProjectContextDependency),
5923
- designSystemId: z177.string(),
5924
- id: z177.string(),
5927
+ var ForgeProjectContext = z178.object({
5928
+ createdAt: z178.coerce.date(),
5929
+ definition: z178.string(),
5930
+ dependencies: z178.array(ForgeProjectContextDependency),
5931
+ designSystemId: z178.string(),
5932
+ id: z178.string(),
5925
5933
  meta: ForgeMeta,
5926
- name: z177.string(),
5934
+ name: z178.string(),
5927
5935
  npmProxySettings: NpmRegistryConfig,
5928
- platform: z177.enum(["React", "Vue", "Angular"]),
5929
- styling: z177.enum(["CSS", "Tailwind"]),
5936
+ platform: z178.enum(["React", "Vue", "Angular"]),
5937
+ styling: z178.enum(["CSS", "Tailwind"]),
5930
5938
  tailwindConfig: ForgeProjectContextTailwindConfig.optional(),
5931
- updatedAt: z177.coerce.date(),
5932
- workspaceId: z177.string()
5939
+ updatedAt: z178.coerce.date(),
5940
+ workspaceId: z178.string()
5933
5941
  });
5934
5942
 
5935
5943
  // src/forge/project-feature.ts
5936
- import { z as z178 } from "zod";
5937
- var ProjectFeatureStatus = z178.enum(["Draft", "ReadyForDevelopment"]);
5938
- var ProjectFeature = z178.object({
5939
- createdAt: z178.coerce.date(),
5940
- createdByUserId: z178.string(),
5941
- description: z178.string(),
5944
+ import { z as z179 } from "zod";
5945
+ var ProjectFeatureStatus = z179.enum(["Draft", "ReadyForDevelopment"]);
5946
+ var ProjectFeature = z179.object({
5947
+ createdAt: z179.coerce.date(),
5948
+ createdByUserId: z179.string(),
5949
+ description: z179.string(),
5942
5950
  id: Id,
5943
- isArchived: z178.boolean().optional(),
5944
- name: z178.string(),
5945
- projectId: z178.string(),
5951
+ isArchived: z179.boolean().optional(),
5952
+ name: z179.string(),
5953
+ projectId: z179.string(),
5946
5954
  sectionId: Id.optional(),
5947
5955
  sortOrder: SortOrder.default(0),
5948
5956
  status: ProjectFeatureStatus.default("Draft"),
5949
- updatedAt: z178.coerce.date().optional()
5957
+ updatedAt: z179.coerce.date().optional()
5950
5958
  });
5951
5959
 
5952
5960
  // src/forge/project-figma-node.ts
5953
- import { z as z179 } from "zod";
5954
- var ForgeProjectFigmaNode = z179.object({
5955
- id: z179.string().uuid(),
5956
- projectId: z179.string(),
5957
- sceneNodeId: z179.string(),
5961
+ import { z as z180 } from "zod";
5962
+ var ForgeProjectFigmaNode = z180.object({
5963
+ id: z180.string().uuid(),
5964
+ projectId: z180.string(),
5965
+ sceneNodeId: z180.string(),
5958
5966
  format: FigmaNodeRenderFormat,
5959
- scale: z179.number().optional(),
5967
+ scale: z180.number().optional(),
5960
5968
  renderState: FigmaNodeRenderState,
5961
5969
  renderedImage: FigmaNodeRenderedImage.optional(),
5962
5970
  renderError: FigmaNodeRenderError.optional()
5963
5971
  });
5964
- var ForgeProjectFigmaNodeRenderInput = z179.object({
5965
- url: z179.string(),
5972
+ var ForgeProjectFigmaNodeRenderInput = z180.object({
5973
+ url: z180.string(),
5966
5974
  format: FigmaNodeRenderFormat,
5967
- scale: z179.number()
5975
+ scale: z180.number()
5968
5976
  });
5969
5977
 
5970
5978
  // src/forge/project-file.ts
5971
- import { z as z180 } from "zod";
5972
- var ForgeProjectFile = z180.object({
5973
- id: z180.string(),
5979
+ import { z as z181 } from "zod";
5980
+ var ForgeProjectFile = z181.object({
5981
+ id: z181.string(),
5974
5982
  projectId: Id,
5975
- name: z180.string(),
5976
- filePath: z180.string(),
5977
- createdAt: z180.coerce.date().optional(),
5978
- pendingUpload: z180.boolean().optional(),
5979
- size: z180.number().int().positive().optional(),
5980
- checksum: z180.string()
5983
+ name: z181.string(),
5984
+ filePath: z181.string(),
5985
+ createdAt: z181.coerce.date().optional(),
5986
+ pendingUpload: z181.boolean().optional(),
5987
+ size: z181.number().int().positive().optional(),
5988
+ checksum: z181.string()
5981
5989
  });
5982
5990
 
5983
5991
  // src/forge/project-invitation.ts
5984
- import { z as z182 } from "zod";
5992
+ import { z as z183 } from "zod";
5985
5993
 
5986
5994
  // src/forge/project-membership.ts
5987
- import { z as z181 } from "zod";
5988
- var ForgeProjectRole = z181.enum(["Viewer", "Editor", "Admin"]);
5989
- var ForgeProjectMembership = z181.object({
5990
- userId: z181.string(),
5991
- forgeProjectId: z181.string(),
5992
- workspaceMembershipId: z181.string(),
5995
+ import { z as z182 } from "zod";
5996
+ var ForgeProjectRole = z182.enum(["Viewer", "Editor", "Admin"]);
5997
+ var ForgeProjectMembership = z182.object({
5998
+ userId: z182.string(),
5999
+ forgeProjectId: z182.string(),
6000
+ workspaceMembershipId: z182.string(),
5993
6001
  workspaceRole: WorkspaceRoleSchema,
5994
6002
  role: ForgeProjectRole
5995
6003
  });
5996
6004
 
5997
6005
  // src/forge/project-invitation.ts
5998
- var ForgeProjectInvitation = z182.object({
5999
- email: z182.string().email(),
6000
- forgeProjectId: z182.string(),
6001
- workspaceInvitationId: z182.string(),
6006
+ var ForgeProjectInvitation = z183.object({
6007
+ email: z183.string().email(),
6008
+ forgeProjectId: z183.string(),
6009
+ workspaceInvitationId: z183.string(),
6002
6010
  role: ForgeProjectRole,
6003
- createdAt: z182.coerce.date(),
6004
- updatedAt: z182.coerce.date(),
6005
- createdById: z182.string()
6011
+ createdAt: z183.coerce.date(),
6012
+ updatedAt: z183.coerce.date(),
6013
+ createdById: z183.string()
6006
6014
  });
6007
6015
 
6008
6016
  // src/forge/project-iteration.ts
6009
- import { z as z183 } from "zod";
6010
- var ForgeProjectIterationMergeMeta = z183.object({ mergeByUserId: z183.string(), mergeAt: z183.date() });
6011
- var ForgeProjectIteration = z183.object({
6012
- branchId: z183.string().optional(),
6013
- buildArtifactId: z183.string(),
6014
- createdAt: z183.coerce.date(),
6015
- forgeProjectId: z183.string(),
6016
- id: z183.string(),
6017
- locked: z183.boolean(),
6018
- messages: z183.array(ForgeIterationMessage),
6019
- artifacts: z183.array(ForgeArtifact),
6020
- previousIterationId: z183.string().optional(),
6017
+ import { z as z184 } from "zod";
6018
+ var ForgeProjectIterationMergeMeta = z184.object({ mergeByUserId: z184.string(), mergeAt: z184.date() });
6019
+ var ForgeProjectIteration = z184.object({
6020
+ branchId: z184.string().optional(),
6021
+ buildArtifactId: z184.string(),
6022
+ createdAt: z184.coerce.date(),
6023
+ forgeProjectId: z184.string(),
6024
+ id: z184.string(),
6025
+ locked: z184.boolean(),
6026
+ messages: z184.array(ForgeIterationMessage),
6027
+ artifacts: z184.array(ForgeArtifact),
6028
+ previousIterationId: z184.string().optional(),
6021
6029
  mergeMeta: ForgeProjectIterationMergeMeta.optional()
6022
6030
  });
6023
6031
 
6024
6032
  // src/forge/project.ts
6025
- import { z as z184 } from "zod";
6026
- var ForgeProjectTag = z184.array(z184.string()).default([]);
6027
- var ForgeProjectAccessMode = z184.enum(["InviteOnly", "Open"]);
6028
- var ForgeProject = z184.object({
6029
- createdAt: z184.coerce.date(),
6030
- createdByUserId: z184.string().optional(),
6031
- fpContextId: z184.string(),
6032
- id: z184.string(),
6033
- instruction: z184.string().nullable(),
6033
+ import { z as z185 } from "zod";
6034
+ var ForgeProjectTag = z185.array(z185.string()).default([]);
6035
+ var ForgeProjectAccessMode = z185.enum(["InviteOnly", "Open"]);
6036
+ var ForgeProject = z185.object({
6037
+ createdAt: z185.coerce.date(),
6038
+ createdByUserId: z185.string().optional(),
6039
+ fpContextId: z185.string(),
6040
+ id: z185.string(),
6041
+ instruction: z185.string().nullable(),
6034
6042
  meta: ForgeMeta,
6035
- name: z184.string(),
6043
+ name: z185.string(),
6036
6044
  tags: ForgeProjectTag,
6037
- updatedAt: z184.coerce.date().optional(),
6038
- workspaceId: z184.string(),
6045
+ updatedAt: z185.coerce.date().optional(),
6046
+ workspaceId: z185.string(),
6039
6047
  accessMode: ForgeProjectAccessMode,
6040
- isArchived: z184.boolean().optional(),
6041
- emoji: z184.string().optional()
6048
+ isArchived: z185.boolean().optional(),
6049
+ emoji: z185.string().optional()
6042
6050
  });
6043
6051
 
6044
6052
  // src/liveblocks/rooms/forge-project-room.ts
6045
6053
  var ForgeProjectRoom = Entity.extend({
6046
- projectId: z185.string(),
6047
- liveblocksId: z185.string()
6048
- });
6049
- var ForgeProjectRoomInitialState = z185.object({
6050
- artifacts: z185.array(ForgeProjectArtifact),
6051
- features: z185.array(ProjectFeature),
6052
- artifactSections: z185.array(ForgeSection),
6053
- featureSections: z185.array(ForgeSection)
6054
- });
6055
- var ForgeProjectRoomUpdate = z185.object({
6056
- artifacts: z185.array(ForgeProjectArtifact).optional(),
6057
- artifactIdsToDelete: z185.array(z185.string()).optional(),
6058
- features: z185.array(ProjectFeature).optional(),
6059
- featureIdsToDelete: z185.array(z185.string()).optional(),
6060
- artifactSections: z185.array(ForgeSection).optional(),
6061
- artifactSectionIdsToDelete: z185.array(z185.string()).optional(),
6062
- featureSections: z185.array(ForgeSection).optional(),
6063
- featureSectionIdsToDelete: z185.array(z185.string()).optional(),
6064
- executedTransactionIds: z185.string().array().optional()
6054
+ projectId: z186.string(),
6055
+ liveblocksId: z186.string()
6056
+ });
6057
+ var ForgeProjectRoomInitialState = z186.object({
6058
+ artifacts: z186.array(ForgeProjectArtifact),
6059
+ features: z186.array(ProjectFeature),
6060
+ artifactSections: z186.array(ForgeSection),
6061
+ featureSections: z186.array(ForgeSection)
6062
+ });
6063
+ var ForgeProjectRoomUpdate = z186.object({
6064
+ artifacts: z186.array(ForgeProjectArtifact).optional(),
6065
+ artifactIdsToDelete: z186.array(z186.string()).optional(),
6066
+ features: z186.array(ProjectFeature).optional(),
6067
+ featureIdsToDelete: z186.array(z186.string()).optional(),
6068
+ artifactSections: z186.array(ForgeSection).optional(),
6069
+ artifactSectionIdsToDelete: z186.array(z186.string()).optional(),
6070
+ featureSections: z186.array(ForgeSection).optional(),
6071
+ featureSectionIdsToDelete: z186.array(z186.string()).optional(),
6072
+ executedTransactionIds: z186.string().array().optional()
6065
6073
  });
6066
6074
 
6067
6075
  // src/liveblocks/rooms/room-type.ts
6068
- import { z as z186 } from "zod";
6076
+ import { z as z187 } from "zod";
6069
6077
  var RoomTypeEnum = /* @__PURE__ */ ((RoomTypeEnum2) => {
6070
6078
  RoomTypeEnum2["DocumentationPageOld"] = "documentation-page";
6071
6079
  RoomTypeEnum2["DocumentationPage"] = "doc-page";
@@ -6073,38 +6081,39 @@ var RoomTypeEnum = /* @__PURE__ */ ((RoomTypeEnum2) => {
6073
6081
  RoomTypeEnum2["Workspace"] = "workspace";
6074
6082
  RoomTypeEnum2["ForgeProject"] = "forge-project";
6075
6083
  RoomTypeEnum2["ForgeProjectArtifact"] = "forge-project-artifact";
6084
+ RoomTypeEnum2["ForgeProjectFeature"] = "forge-project-feature";
6076
6085
  return RoomTypeEnum2;
6077
6086
  })(RoomTypeEnum || {});
6078
- var RoomTypeSchema = z186.nativeEnum(RoomTypeEnum);
6087
+ var RoomTypeSchema = z187.nativeEnum(RoomTypeEnum);
6079
6088
  var RoomType = RoomTypeSchema.enum;
6080
6089
 
6081
6090
  // src/liveblocks/rooms/workspace-room.ts
6082
- import { z as z187 } from "zod";
6091
+ import { z as z188 } from "zod";
6083
6092
  var WorkspaceRoom = Entity.extend({
6084
- workspaceId: z187.string(),
6085
- liveblocksId: z187.string()
6093
+ workspaceId: z188.string(),
6094
+ liveblocksId: z188.string()
6086
6095
  });
6087
6096
 
6088
6097
  // src/data-dumps/published-docs-dump.ts
6089
- import { z as z188 } from "zod";
6090
- var PublishedDocsDump = z188.object({
6098
+ import { z as z189 } from "zod";
6099
+ var PublishedDocsDump = z189.object({
6091
6100
  documentation: PublishedDoc,
6092
6101
  pages: PublishedDocPage.array()
6093
6102
  });
6094
6103
 
6095
6104
  // src/data-dumps/design-system-version-dump.ts
6096
- var DocumentationThreadDump = z189.object({
6105
+ var DocumentationThreadDump = z190.object({
6097
6106
  thread: DocumentationCommentThread,
6098
6107
  comments: DocumentationComment.array()
6099
6108
  });
6100
- var DocumentationPageRoomDump = z189.object({
6109
+ var DocumentationPageRoomDump = z190.object({
6101
6110
  room: DocumentationPageRoom,
6102
6111
  threads: DocumentationThreadDump.array()
6103
6112
  });
6104
- var DesignSystemVersionMultiplayerDump = z189.object({
6113
+ var DesignSystemVersionMultiplayerDump = z190.object({
6105
6114
  documentationPages: DocumentationPageRoomDump.array()
6106
6115
  });
6107
- var DesignSystemVersionDump = z189.object({
6116
+ var DesignSystemVersionDump = z190.object({
6108
6117
  version: DesignSystemVersion,
6109
6118
  brands: Brand.array(),
6110
6119
  elements: DesignElement.array(),
@@ -6119,7 +6128,7 @@ var DesignSystemVersionDump = z189.object({
6119
6128
  });
6120
6129
 
6121
6130
  // src/data-dumps/design-system-dump.ts
6122
- var DesignSystemDump = z190.object({
6131
+ var DesignSystemDump = z191.object({
6123
6132
  designSystem: DesignSystem,
6124
6133
  dataSources: DataSource.array(),
6125
6134
  versions: DesignSystemVersionDump.array(),
@@ -6128,50 +6137,50 @@ var DesignSystemDump = z190.object({
6128
6137
  });
6129
6138
 
6130
6139
  // src/data-dumps/user-data-dump.ts
6131
- import { z as z193 } from "zod";
6140
+ import { z as z194 } from "zod";
6132
6141
 
6133
6142
  // src/data-dumps/workspace-dump.ts
6134
- import { z as z192 } from "zod";
6143
+ import { z as z193 } from "zod";
6135
6144
 
6136
6145
  // src/integrations/integration.ts
6137
- import { z as z191 } from "zod";
6138
- var IntegrationDesignSystem = z191.object({
6139
- designSystemId: z191.string(),
6140
- brandId: z191.string(),
6141
- title: z191.string().optional(),
6142
- userId: z191.string().optional(),
6143
- date: z191.coerce.date().optional()
6144
- });
6145
- var IntegrationCredentialsType = z191.enum(["OAuth2", "PAT"]);
6146
- var IntegrationCredentialsState = z191.enum(["Active", "Inactive"]);
6147
- var IntegrationCredentialsProfile = z191.object({
6148
- id: nullishToOptional(z191.string()),
6149
- email: nullishToOptional(z191.string()),
6150
- handle: nullishToOptional(z191.string()),
6151
- type: nullishToOptional(z191.string()),
6152
- avatarUrl: nullishToOptional(z191.string()),
6153
- organization: nullishToOptional(z191.string()),
6154
- collection: nullishToOptional(z191.string())
6155
- });
6156
- var IntegrationCredentials = z191.object({
6157
- id: z191.string(),
6146
+ import { z as z192 } from "zod";
6147
+ var IntegrationDesignSystem = z192.object({
6148
+ designSystemId: z192.string(),
6149
+ brandId: z192.string(),
6150
+ title: z192.string().optional(),
6151
+ userId: z192.string().optional(),
6152
+ date: z192.coerce.date().optional()
6153
+ });
6154
+ var IntegrationCredentialsType = z192.enum(["OAuth2", "PAT"]);
6155
+ var IntegrationCredentialsState = z192.enum(["Active", "Inactive"]);
6156
+ var IntegrationCredentialsProfile = z192.object({
6157
+ id: nullishToOptional(z192.string()),
6158
+ email: nullishToOptional(z192.string()),
6159
+ handle: nullishToOptional(z192.string()),
6160
+ type: nullishToOptional(z192.string()),
6161
+ avatarUrl: nullishToOptional(z192.string()),
6162
+ organization: nullishToOptional(z192.string()),
6163
+ collection: nullishToOptional(z192.string())
6164
+ });
6165
+ var IntegrationCredentials = z192.object({
6166
+ id: z192.string(),
6158
6167
  type: IntegrationCredentialsType,
6159
- integrationId: z191.string(),
6160
- accessToken: z191.string(),
6161
- userId: z191.string(),
6162
- createdAt: z191.coerce.date(),
6163
- refreshToken: z191.string().optional(),
6164
- tokenName: z191.string().optional(),
6165
- expiresAt: z191.coerce.date().optional(),
6166
- refreshedAt: z191.coerce.date().optional(),
6167
- username: z191.string().optional(),
6168
- appInstallationId: z191.string().optional(),
6168
+ integrationId: z192.string(),
6169
+ accessToken: z192.string(),
6170
+ userId: z192.string(),
6171
+ createdAt: z192.coerce.date(),
6172
+ refreshToken: z192.string().optional(),
6173
+ tokenName: z192.string().optional(),
6174
+ expiresAt: z192.coerce.date().optional(),
6175
+ refreshedAt: z192.coerce.date().optional(),
6176
+ username: z192.string().optional(),
6177
+ appInstallationId: z192.string().optional(),
6169
6178
  profile: IntegrationCredentialsProfile.optional(),
6170
- customUrl: z191.string().optional(),
6179
+ customUrl: z192.string().optional(),
6171
6180
  state: IntegrationCredentialsState,
6172
6181
  user: UserMinified.optional()
6173
6182
  });
6174
- var ExtendedIntegrationType = z191.enum([
6183
+ var ExtendedIntegrationType = z192.enum([
6175
6184
  "Figma",
6176
6185
  "Github",
6177
6186
  "Gitlab",
@@ -6182,26 +6191,26 @@ var ExtendedIntegrationType = z191.enum([
6182
6191
  ]);
6183
6192
  var IntegrationType = ExtendedIntegrationType.exclude(["TokenStudio", "FigmaVariablesPlugin"]);
6184
6193
  var GitIntegrationType = IntegrationType.exclude(["Figma"]);
6185
- var Integration = z191.object({
6186
- id: z191.string(),
6187
- workspaceId: z191.string(),
6194
+ var Integration = z192.object({
6195
+ id: z192.string(),
6196
+ workspaceId: z192.string(),
6188
6197
  type: IntegrationType,
6189
- createdAt: z191.coerce.date(),
6190
- integrationCredentials: z191.array(IntegrationCredentials).optional()
6191
- });
6192
- var IntegrationToken = z191.object({
6193
- access_token: z191.string(),
6194
- refresh_token: z191.string().optional(),
6195
- expires_in: z191.union([z191.number().optional(), z191.string().optional()]),
6196
- token_type: z191.string().optional(),
6197
- token_name: z191.string().optional(),
6198
- token_azure_organization_name: z191.string().optional(),
6198
+ createdAt: z192.coerce.date(),
6199
+ integrationCredentials: z192.array(IntegrationCredentials).optional()
6200
+ });
6201
+ var IntegrationToken = z192.object({
6202
+ access_token: z192.string(),
6203
+ refresh_token: z192.string().optional(),
6204
+ expires_in: z192.union([z192.number().optional(), z192.string().optional()]),
6205
+ token_type: z192.string().optional(),
6206
+ token_name: z192.string().optional(),
6207
+ token_azure_organization_name: z192.string().optional(),
6199
6208
  // Azure Cloud PAT only
6200
- token_azure_collection_name: z191.string().optional(),
6209
+ token_azure_collection_name: z192.string().optional(),
6201
6210
  // Azure Server PAT only
6202
- token_bitbucket_username: z191.string().optional(),
6211
+ token_bitbucket_username: z192.string().optional(),
6203
6212
  // Bitbucket only
6204
- custom_url: z191.string().optional().transform((value) => {
6213
+ custom_url: z192.string().optional().transform((value) => {
6205
6214
  if (!value?.trim()) return void 0;
6206
6215
  return formatCustomUrl(value);
6207
6216
  })
@@ -6238,7 +6247,7 @@ function formatCustomUrl(url) {
6238
6247
  }
6239
6248
 
6240
6249
  // src/data-dumps/workspace-dump.ts
6241
- var WorkspaceDump = z192.object({
6250
+ var WorkspaceDump = z193.object({
6242
6251
  workspace: Workspace,
6243
6252
  designSystems: DesignSystemDump.array(),
6244
6253
  codeIntegration: CodeIntegrationDump,
@@ -6246,148 +6255,148 @@ var WorkspaceDump = z192.object({
6246
6255
  });
6247
6256
 
6248
6257
  // src/data-dumps/user-data-dump.ts
6249
- var UserDump = z193.object({
6258
+ var UserDump = z194.object({
6250
6259
  user: User,
6251
6260
  workspaces: WorkspaceDump.array()
6252
6261
  });
6253
6262
 
6254
6263
  // src/docs-server/session.ts
6255
- import { z as z194 } from "zod";
6256
- var NpmProxyToken = z194.object({
6257
- access: z194.string(),
6258
- expiresAt: z194.number()
6264
+ import { z as z195 } from "zod";
6265
+ var NpmProxyToken = z195.object({
6266
+ access: z195.string(),
6267
+ expiresAt: z195.number()
6259
6268
  });
6260
- var SessionData = z194.object({
6261
- returnToUrl: z194.string().optional(),
6269
+ var SessionData = z195.object({
6270
+ returnToUrl: z195.string().optional(),
6262
6271
  npmProxyToken: NpmProxyToken.optional()
6263
6272
  });
6264
- var Session = z194.object({
6265
- id: z194.string(),
6266
- expiresAt: z194.coerce.date(),
6267
- userId: z194.string().nullable(),
6268
- anonymousId: z194.string().nullable(),
6273
+ var Session = z195.object({
6274
+ id: z195.string(),
6275
+ expiresAt: z195.coerce.date(),
6276
+ userId: z195.string().nullable(),
6277
+ anonymousId: z195.string().nullable(),
6269
6278
  data: SessionData
6270
6279
  });
6271
- var AuthTokens = z194.object({
6272
- access: z194.string(),
6273
- refresh: z194.string()
6280
+ var AuthTokens = z195.object({
6281
+ access: z195.string(),
6282
+ refresh: z195.string()
6274
6283
  });
6275
- var UserSession = z194.object({
6284
+ var UserSession = z195.object({
6276
6285
  session: Session,
6277
6286
  user: User.nullable()
6278
6287
  });
6279
6288
 
6280
6289
  // src/emails/design-system-invite.ts
6281
- import { z as z195 } from "zod";
6282
- var DesignSystemInviteEmailRecipient = z195.object({
6283
- email: z195.string(),
6290
+ import { z as z196 } from "zod";
6291
+ var DesignSystemInviteEmailRecipient = z196.object({
6292
+ email: z196.string(),
6284
6293
  role: WorkspaceRoleSchema
6285
6294
  });
6286
- var DesignSystemInviteEmailData = z195.object({
6295
+ var DesignSystemInviteEmailData = z196.object({
6287
6296
  workspace: Workspace,
6288
6297
  designSystem: DesignSystem,
6289
6298
  invitedBy: User,
6290
- documentationDomain: z195.string().optional()
6299
+ documentationDomain: z196.string().optional()
6291
6300
  });
6292
6301
 
6293
6302
  // src/emails/workspace-invite.ts
6294
- import { z as z196 } from "zod";
6295
- var WorkspaceInviteEmailRecipient = z196.object({
6296
- email: z196.string(),
6303
+ import { z as z197 } from "zod";
6304
+ var WorkspaceInviteEmailRecipient = z197.object({
6305
+ email: z197.string(),
6297
6306
  role: WorkspaceRoleSchema
6298
6307
  });
6299
- var WorkspaceInviteEmailData = z196.object({
6308
+ var WorkspaceInviteEmailData = z197.object({
6300
6309
  workspace: Workspace,
6301
6310
  invitedBy: User,
6302
- documentationDomain: z196.string().optional()
6311
+ documentationDomain: z197.string().optional()
6303
6312
  });
6304
6313
 
6305
6314
  // src/events/base.ts
6306
- import { z as z200 } from "zod";
6315
+ import { z as z201 } from "zod";
6307
6316
 
6308
6317
  // src/events/data-source-imported.ts
6309
- import { z as z197 } from "zod";
6310
- var EventDataSourceImported = z197.object({
6311
- type: z197.literal("DataSourceImported"),
6312
- workspaceId: z197.string(),
6313
- designSystemId: z197.string()
6314
- });
6315
-
6316
- // src/events/version-released.ts
6317
6318
  import { z as z198 } from "zod";
6318
- var EventVersionReleased = z198.object({
6319
- type: z198.literal("DesignSystemVersionReleased"),
6319
+ var EventDataSourceImported = z198.object({
6320
+ type: z198.literal("DataSourceImported"),
6320
6321
  workspaceId: z198.string(),
6321
- designSystemId: z198.string(),
6322
- versionId: z198.string()
6322
+ designSystemId: z198.string()
6323
6323
  });
6324
6324
 
6325
- // src/events/documentation-published.ts
6325
+ // src/events/version-released.ts
6326
6326
  import { z as z199 } from "zod";
6327
- var EventDocumentationPublished = z199.object({
6328
- type: z199.literal("DocumentationPublished"),
6327
+ var EventVersionReleased = z199.object({
6328
+ type: z199.literal("DesignSystemVersionReleased"),
6329
6329
  workspaceId: z199.string(),
6330
6330
  designSystemId: z199.string(),
6331
6331
  versionId: z199.string()
6332
6332
  });
6333
6333
 
6334
+ // src/events/documentation-published.ts
6335
+ import { z as z200 } from "zod";
6336
+ var EventDocumentationPublished = z200.object({
6337
+ type: z200.literal("DocumentationPublished"),
6338
+ workspaceId: z200.string(),
6339
+ designSystemId: z200.string(),
6340
+ versionId: z200.string()
6341
+ });
6342
+
6334
6343
  // src/events/base.ts
6335
- var Event = z200.discriminatedUnion("type", [
6344
+ var Event = z201.discriminatedUnion("type", [
6336
6345
  EventVersionReleased,
6337
6346
  EventDataSourceImported,
6338
6347
  EventDocumentationPublished
6339
6348
  ]);
6340
6349
 
6341
6350
  // src/export/export-runner/export-context.ts
6342
- import { z as z201 } from "zod";
6343
- var ExportJobDocumentationContext = z201.object({
6344
- isSingleVersionDocs: z201.boolean(),
6345
- versionSlug: z201.string(),
6351
+ import { z as z202 } from "zod";
6352
+ var ExportJobDocumentationContext = z202.object({
6353
+ isSingleVersionDocs: z202.boolean(),
6354
+ versionSlug: z202.string(),
6346
6355
  environment: PublishedDocEnvironment
6347
6356
  });
6348
- var ExportJobDebugContext = z201.object({
6349
- debugMode: z201.boolean().optional(),
6350
- concurrency: z201.number().optional(),
6351
- preloadData: z201.string().optional(),
6352
- concurrencyMode: z201.string().optional(),
6353
- cacheSdk: z201.string().optional(),
6354
- logSdkNetwork: z201.boolean().optional(),
6355
- profilerMode: z201.string().optional()
6356
- });
6357
- var ExportJobContext = z201.object({
6358
- apiUrl: z201.string(),
6359
- accessToken: z201.string(),
6360
- designSystemId: z201.string(),
6361
- designSystemName: z201.string(),
6362
- exporterId: z201.string(),
6363
- versionId: z201.string(),
6364
- brandId: z201.string().optional(),
6365
- themeId: z201.string().optional(),
6366
- themePersistentIds: z201.string().array().optional(),
6367
- previewMode: z201.boolean().optional(),
6368
- exporterName: z201.string(),
6357
+ var ExportJobDebugContext = z202.object({
6358
+ debugMode: z202.boolean().optional(),
6359
+ concurrency: z202.number().optional(),
6360
+ preloadData: z202.string().optional(),
6361
+ concurrencyMode: z202.string().optional(),
6362
+ cacheSdk: z202.string().optional(),
6363
+ logSdkNetwork: z202.boolean().optional(),
6364
+ profilerMode: z202.string().optional()
6365
+ });
6366
+ var ExportJobContext = z202.object({
6367
+ apiUrl: z202.string(),
6368
+ accessToken: z202.string(),
6369
+ designSystemId: z202.string(),
6370
+ designSystemName: z202.string(),
6371
+ exporterId: z202.string(),
6372
+ versionId: z202.string(),
6373
+ brandId: z202.string().optional(),
6374
+ themeId: z202.string().optional(),
6375
+ themePersistentIds: z202.string().array().optional(),
6376
+ previewMode: z202.boolean().optional(),
6377
+ exporterName: z202.string(),
6369
6378
  documentation: ExportJobDocumentationContext.optional(),
6370
6379
  debug: ExportJobDebugContext.optional()
6371
6380
  });
6372
- var ExportJobExporterConfiguration = z201.object({
6373
- exporterPackageUrl: z201.string(),
6381
+ var ExportJobExporterConfiguration = z202.object({
6382
+ exporterPackageUrl: z202.string(),
6374
6383
  exporterPropertyValues: ExporterConfigurationPropertyValue.array(),
6375
6384
  exporterPropertyValuesV2: ExporterPropertyValueMap.optional()
6376
6385
  });
6377
6386
 
6378
6387
  // src/export/export-runner/exporter-payload.ts
6379
- import { z as z202 } from "zod";
6380
- var ExporterFunctionPayload = z202.object({
6381
- exportJobId: z202.string(),
6382
- exportContextId: z202.string(),
6383
- designSystemId: z202.string(),
6384
- workspaceId: z202.string(),
6385
- exporterId: z202.string()
6388
+ import { z as z203 } from "zod";
6389
+ var ExporterFunctionPayload = z203.object({
6390
+ exportJobId: z203.string(),
6391
+ exportContextId: z203.string(),
6392
+ designSystemId: z203.string(),
6393
+ workspaceId: z203.string(),
6394
+ exporterId: z203.string()
6386
6395
  });
6387
6396
 
6388
6397
  // src/export/export-jobs.ts
6389
- import { z as z203 } from "zod";
6390
- var ExportJobDestinationType = z203.enum([
6398
+ import { z as z204 } from "zod";
6399
+ var ExportJobDestinationType = z204.enum([
6391
6400
  "s3",
6392
6401
  "webhookUrl",
6393
6402
  "github",
@@ -6396,31 +6405,31 @@ var ExportJobDestinationType = z203.enum([
6396
6405
  "gitlab",
6397
6406
  "bitbucket"
6398
6407
  ]);
6399
- var ExportJobStatus = z203.enum(["InProgress", "Success", "Failed", "Timeout"]);
6400
- var ExportJobLogEntryType = z203.enum(["success", "info", "warning", "error", "user"]);
6401
- var ExportJobLogEntry = z203.object({
6402
- id: z203.string().optional(),
6403
- time: z203.coerce.date(),
6408
+ var ExportJobStatus = z204.enum(["InProgress", "Success", "Failed", "Timeout"]);
6409
+ var ExportJobLogEntryType = z204.enum(["success", "info", "warning", "error", "user"]);
6410
+ var ExportJobLogEntry = z204.object({
6411
+ id: z204.string().optional(),
6412
+ time: z204.coerce.date(),
6404
6413
  type: ExportJobLogEntryType,
6405
- message: z203.string()
6414
+ message: z204.string()
6406
6415
  });
6407
- var ExportJobPullRequestDestinationResult = z203.object({
6408
- pullRequestUrl: z203.string(),
6409
- sparseCheckoutUsed: nullishToOptional(z203.boolean())
6416
+ var ExportJobPullRequestDestinationResult = z204.object({
6417
+ pullRequestUrl: z204.string(),
6418
+ sparseCheckoutUsed: nullishToOptional(z204.boolean())
6410
6419
  });
6411
- var ExportJobS3DestinationResult = z203.object({
6412
- bucket: z203.string(),
6413
- urlPrefix: z203.string().optional(),
6414
- path: z203.string(),
6415
- files: z203.array(z203.string()),
6416
- url: nullishToOptional(z203.string()),
6417
- urls: nullishToOptional(z203.string().array())
6420
+ var ExportJobS3DestinationResult = z204.object({
6421
+ bucket: z204.string(),
6422
+ urlPrefix: z204.string().optional(),
6423
+ path: z204.string(),
6424
+ files: z204.array(z204.string()),
6425
+ url: nullishToOptional(z204.string()),
6426
+ urls: nullishToOptional(z204.string().array())
6418
6427
  });
6419
- var ExportJobDocsDestinationResult = z203.object({
6420
- url: z203.string()
6428
+ var ExportJobDocsDestinationResult = z204.object({
6429
+ url: z204.string()
6421
6430
  });
6422
- var ExportJobResult = z203.object({
6423
- error: z203.string().optional(),
6431
+ var ExportJobResult = z204.object({
6432
+ error: z204.string().optional(),
6424
6433
  s3: nullishToOptional(ExportJobS3DestinationResult),
6425
6434
  github: nullishToOptional(ExportJobPullRequestDestinationResult),
6426
6435
  azure: nullishToOptional(ExportJobPullRequestDestinationResult),
@@ -6429,25 +6438,25 @@ var ExportJobResult = z203.object({
6429
6438
  sndocs: nullishToOptional(ExportJobDocsDestinationResult),
6430
6439
  logs: nullishToOptional(ExportJobLogEntry.array())
6431
6440
  });
6432
- var ExportJob = z203.object({
6433
- id: z203.string(),
6434
- createdAt: z203.coerce.date(),
6435
- finishedAt: z203.coerce.date().optional(),
6436
- designSystemId: z203.string(),
6437
- designSystemVersionId: z203.string(),
6438
- workspaceId: z203.string(),
6439
- scheduleId: z203.string().nullish(),
6440
- exporterId: z203.string(),
6441
- brandId: z203.string().optional(),
6442
- themeId: z203.string().optional(),
6443
- themePersistentIds: z203.string().array().optional(),
6444
- estimatedExecutionTime: z203.number().optional(),
6441
+ var ExportJob = z204.object({
6442
+ id: z204.string(),
6443
+ createdAt: z204.coerce.date(),
6444
+ finishedAt: z204.coerce.date().optional(),
6445
+ designSystemId: z204.string(),
6446
+ designSystemVersionId: z204.string(),
6447
+ workspaceId: z204.string(),
6448
+ scheduleId: z204.string().nullish(),
6449
+ exporterId: z204.string(),
6450
+ brandId: z204.string().optional(),
6451
+ themeId: z204.string().optional(),
6452
+ themePersistentIds: z204.string().array().optional(),
6453
+ estimatedExecutionTime: z204.number().optional(),
6445
6454
  status: ExportJobStatus,
6446
6455
  result: ExportJobResult.optional(),
6447
- createdByUserId: z203.string().optional(),
6456
+ createdByUserId: z204.string().optional(),
6448
6457
  exporterPropertyValues: ExporterPropertyValueMap.optional(),
6449
- previewMode: z203.boolean().optional(),
6450
- exportContextId: z203.string().optional().nullable(),
6458
+ previewMode: z204.boolean().optional(),
6459
+ exportContextId: z204.string().optional().nullable(),
6451
6460
  // Destinations
6452
6461
  ...ExportDestinationsMap.shape
6453
6462
  });
@@ -6461,37 +6470,37 @@ var ExportJobFindByFilter = ExportJob.pick({
6461
6470
  themeId: true,
6462
6471
  brandId: true
6463
6472
  }).extend({
6464
- destinations: z203.array(ExportJobDestinationType),
6473
+ destinations: z204.array(ExportJobDestinationType),
6465
6474
  docsEnvironment: PublishedDocEnvironment,
6466
- selectivePublishing: z203.boolean().optional()
6475
+ selectivePublishing: z204.boolean().optional()
6467
6476
  }).partial();
6468
6477
 
6469
6478
  // src/export/exporter-list-query.ts
6470
- import { z as z204 } from "zod";
6471
- var ExporterType2 = z204.enum(["documentation", "code"]);
6472
- var ListExporterQuery = z204.object({
6473
- limit: z204.number().optional(),
6474
- offset: z204.number().optional(),
6479
+ import { z as z205 } from "zod";
6480
+ var ExporterType2 = z205.enum(["documentation", "code"]);
6481
+ var ListExporterQuery = z205.object({
6482
+ limit: z205.number().optional(),
6483
+ offset: z205.number().optional(),
6475
6484
  type: ExporterType2.optional(),
6476
- search: z204.string().optional()
6485
+ search: z205.string().optional()
6477
6486
  });
6478
6487
 
6479
6488
  // src/export/exporter-workspace-membership-role.ts
6480
- import { z as z205 } from "zod";
6481
- var ExporterWorkspaceMembershipRole = z205.enum(["Owner", "OwnerArchived", "User"]);
6489
+ import { z as z206 } from "zod";
6490
+ var ExporterWorkspaceMembershipRole = z206.enum(["Owner", "OwnerArchived", "User"]);
6482
6491
 
6483
6492
  // src/export/exporter-workspace-membership.ts
6484
- import { z as z206 } from "zod";
6485
- var ExporterWorkspaceMembership = z206.object({
6486
- id: z206.string(),
6487
- workspaceId: z206.string(),
6488
- exporterId: z206.string(),
6493
+ import { z as z207 } from "zod";
6494
+ var ExporterWorkspaceMembership = z207.object({
6495
+ id: z207.string(),
6496
+ workspaceId: z207.string(),
6497
+ exporterId: z207.string(),
6489
6498
  role: ExporterWorkspaceMembershipRole
6490
6499
  });
6491
6500
 
6492
6501
  // src/feature-flags/feature-flags.ts
6493
- import { z as z207 } from "zod";
6494
- var FlaggedFeature = z207.enum([
6502
+ import { z as z208 } from "zod";
6503
+ var FlaggedFeature = z208.enum([
6495
6504
  "FigmaImporterV2",
6496
6505
  "DisableImporter",
6497
6506
  "VariablesOrder",
@@ -6514,21 +6523,21 @@ var FlaggedFeature = z207.enum([
6514
6523
  var FeatureFlagDefaults = {
6515
6524
  DocumentationIgnoreSnapshotsOnPublish: "route-bff+route-p3"
6516
6525
  };
6517
- var FeatureFlagMap = z207.record(FlaggedFeature, z207.boolean());
6518
- var FeatureFlag = z207.object({
6519
- id: z207.string(),
6526
+ var FeatureFlagMap = z208.record(FlaggedFeature, z208.boolean());
6527
+ var FeatureFlag = z208.object({
6528
+ id: z208.string(),
6520
6529
  feature: FlaggedFeature,
6521
- createdAt: z207.coerce.date(),
6522
- enabled: z207.boolean(),
6523
- designSystemId: z207.string().optional(),
6524
- data: z207.record(z207.any()).nullable().optional()
6530
+ createdAt: z208.coerce.date(),
6531
+ enabled: z208.boolean(),
6532
+ designSystemId: z208.string().optional(),
6533
+ data: z208.record(z208.any()).nullable().optional()
6525
6534
  });
6526
6535
 
6527
6536
  // src/integrations/external-oauth-request.ts
6528
- import { z as z209 } from "zod";
6537
+ import { z as z210 } from "zod";
6529
6538
 
6530
6539
  // src/integrations/oauth-providers.ts
6531
- import { z as z208 } from "zod";
6540
+ import { z as z209 } from "zod";
6532
6541
  var OAuthProviderNames = /* @__PURE__ */ ((OAuthProviderNames2) => {
6533
6542
  OAuthProviderNames2["Figma"] = "figma";
6534
6543
  OAuthProviderNames2["Azure"] = "azure";
@@ -6537,152 +6546,152 @@ var OAuthProviderNames = /* @__PURE__ */ ((OAuthProviderNames2) => {
6537
6546
  OAuthProviderNames2["Bitbucket"] = "bitbucket";
6538
6547
  return OAuthProviderNames2;
6539
6548
  })(OAuthProviderNames || {});
6540
- var OAuthProviderSchema = z208.nativeEnum(OAuthProviderNames);
6549
+ var OAuthProviderSchema = z209.nativeEnum(OAuthProviderNames);
6541
6550
  var OAuthProvider = OAuthProviderSchema.enum;
6542
6551
 
6543
6552
  // src/integrations/external-oauth-request.ts
6544
- var ExternalOAuthRequest = z209.object({
6545
- id: z209.string(),
6553
+ var ExternalOAuthRequest = z210.object({
6554
+ id: z210.string(),
6546
6555
  provider: OAuthProviderSchema,
6547
- userId: z209.string(),
6548
- state: z209.string(),
6549
- createdAt: z209.coerce.date()
6556
+ userId: z210.string(),
6557
+ state: z210.string(),
6558
+ createdAt: z210.coerce.date()
6550
6559
  });
6551
6560
 
6552
6561
  // src/integrations/git.ts
6553
- import { z as z210 } from "zod";
6554
- var GitObjectsQuery = z210.object({
6555
- organization: z210.string().optional(),
6562
+ import { z as z211 } from "zod";
6563
+ var GitObjectsQuery = z211.object({
6564
+ organization: z211.string().optional(),
6556
6565
  // Azure Organization | Bitbucket Workspace slug | Gitlab Group | Github Account (User or Organization)
6557
- project: z210.string().optional(),
6566
+ project: z211.string().optional(),
6558
6567
  // Only for Bitbucket and Azure
6559
- repository: z210.string().optional(),
6568
+ repository: z211.string().optional(),
6560
6569
  // For all providers. For Gitlab, it's called "project".
6561
- branch: z210.string().optional(),
6570
+ branch: z211.string().optional(),
6562
6571
  // For all providers.
6563
- user: z210.string().optional()
6572
+ user: z211.string().optional()
6564
6573
  // Gitlab user
6565
6574
  });
6566
- var GitOrganization = z210.object({
6567
- id: z210.string(),
6568
- name: z210.string(),
6569
- url: z210.string(),
6570
- slug: z210.string()
6575
+ var GitOrganization = z211.object({
6576
+ id: z211.string(),
6577
+ name: z211.string(),
6578
+ url: z211.string(),
6579
+ slug: z211.string()
6571
6580
  });
6572
- var GitProject = z210.object({
6573
- id: z210.string(),
6574
- name: z210.string(),
6575
- url: z210.string(),
6576
- slug: z210.string()
6581
+ var GitProject = z211.object({
6582
+ id: z211.string(),
6583
+ name: z211.string(),
6584
+ url: z211.string(),
6585
+ slug: z211.string()
6577
6586
  });
6578
- var GitRepository = z210.object({
6579
- id: z210.string(),
6580
- name: z210.string(),
6581
- url: z210.string(),
6582
- slug: z210.string(),
6587
+ var GitRepository = z211.object({
6588
+ id: z211.string(),
6589
+ name: z211.string(),
6590
+ url: z211.string(),
6591
+ slug: z211.string(),
6583
6592
  /**
6584
6593
  * Can be undefined when:
6585
6594
  * - there are no branches in the repository yet
6586
6595
  * - Git provider doesn't expose this information on a repository via their API
6587
6596
  */
6588
- defaultBranch: z210.string().optional()
6597
+ defaultBranch: z211.string().optional()
6589
6598
  });
6590
- var GitBranch = z210.object({
6591
- name: z210.string(),
6592
- lastCommitId: z210.string()
6599
+ var GitBranch = z211.object({
6600
+ name: z211.string(),
6601
+ lastCommitId: z211.string()
6593
6602
  });
6594
6603
 
6595
6604
  // src/integrations/oauth-token.ts
6596
- import { z as z211 } from "zod";
6597
- var IntegrationTokenSchemaOld = z211.object({
6598
- id: z211.string(),
6605
+ import { z as z212 } from "zod";
6606
+ var IntegrationTokenSchemaOld = z212.object({
6607
+ id: z212.string(),
6599
6608
  provider: OAuthProviderSchema,
6600
- scope: z211.string(),
6601
- userId: z211.string(),
6602
- accessToken: z211.string(),
6603
- refreshToken: z211.string(),
6604
- expiresAt: z211.coerce.date(),
6605
- externalUserId: z211.string().nullish()
6609
+ scope: z212.string(),
6610
+ userId: z212.string(),
6611
+ accessToken: z212.string(),
6612
+ refreshToken: z212.string(),
6613
+ expiresAt: z212.coerce.date(),
6614
+ externalUserId: z212.string().nullish()
6606
6615
  });
6607
6616
 
6608
6617
  // src/integrations/workspace-oauth-requests.ts
6609
- import { z as z212 } from "zod";
6610
- var WorkspaceOAuthRequestSchema = z212.object({
6611
- id: z212.string(),
6612
- workspaceId: z212.string(),
6618
+ import { z as z213 } from "zod";
6619
+ var WorkspaceOAuthRequestSchema = z213.object({
6620
+ id: z213.string(),
6621
+ workspaceId: z213.string(),
6613
6622
  provider: OAuthProviderSchema,
6614
- userId: z212.string(),
6615
- createdAt: z212.coerce.date()
6623
+ userId: z213.string(),
6624
+ createdAt: z213.coerce.date()
6616
6625
  });
6617
6626
 
6618
6627
  // src/npm/npm-package.ts
6619
- import { z as z213 } from "zod";
6620
- var AnyRecord = z213.record(z213.any());
6628
+ import { z as z214 } from "zod";
6629
+ var AnyRecord = z214.record(z214.any());
6621
6630
  var NpmPackageVersionDist = AnyRecord.and(
6622
- z213.object({
6623
- tarball: z213.string()
6631
+ z214.object({
6632
+ tarball: z214.string()
6624
6633
  })
6625
6634
  );
6626
6635
  var NpmPackageVersion = AnyRecord.and(
6627
- z213.object({
6636
+ z214.object({
6628
6637
  dist: NpmPackageVersionDist
6629
6638
  })
6630
6639
  );
6631
6640
  var NpmPackage = AnyRecord.and(
6632
- z213.object({
6633
- _id: z213.string(),
6634
- name: z213.string(),
6641
+ z214.object({
6642
+ _id: z214.string(),
6643
+ name: z214.string(),
6635
6644
  // e.g. "latest": "1.2.3"
6636
- "dist-tags": z213.record(z213.string(), z213.string()),
6645
+ "dist-tags": z214.record(z214.string(), z214.string()),
6637
6646
  // "1.2.3": {...}
6638
- versions: z213.record(NpmPackageVersion)
6647
+ versions: z214.record(NpmPackageVersion)
6639
6648
  })
6640
6649
  );
6641
6650
 
6642
6651
  // src/npm/npm-proxy-token-payload.ts
6643
- import { z as z214 } from "zod";
6644
- var NpmProxyTokenPayload = z214.object({
6645
- npmProxyRegistryConfigId: z214.string()
6652
+ import { z as z215 } from "zod";
6653
+ var NpmProxyTokenPayload = z215.object({
6654
+ npmProxyRegistryConfigId: z215.string()
6646
6655
  });
6647
6656
 
6648
6657
  // src/portal/portal-settings.ts
6649
- import { z as z215 } from "zod";
6658
+ import { z as z216 } from "zod";
6650
6659
  var PortalSettingsTheme = UserTheme;
6651
- var PortalSettingsSidebarLink = z215.object({
6652
- name: z215.string(),
6653
- url: z215.string(),
6654
- emoji: z215.string()
6655
- });
6656
- var PortalSettingsSidebarSection = z215.object({
6657
- sectionName: z215.string(),
6658
- links: z215.array(PortalSettingsSidebarLink)
6659
- });
6660
- var PortalSettingsSidebar = z215.array(PortalSettingsSidebarSection);
6661
- var PortalSettings = z215.object({
6662
- id: z215.string(),
6663
- workspaceId: z215.string(),
6664
- enabledDesignSystemIds: z215.array(z215.string()),
6665
- enabledBrandPersistentIds: z215.array(z215.string()),
6660
+ var PortalSettingsSidebarLink = z216.object({
6661
+ name: z216.string(),
6662
+ url: z216.string(),
6663
+ emoji: z216.string()
6664
+ });
6665
+ var PortalSettingsSidebarSection = z216.object({
6666
+ sectionName: z216.string(),
6667
+ links: z216.array(PortalSettingsSidebarLink)
6668
+ });
6669
+ var PortalSettingsSidebar = z216.array(PortalSettingsSidebarSection);
6670
+ var PortalSettings = z216.object({
6671
+ id: z216.string(),
6672
+ workspaceId: z216.string(),
6673
+ enabledDesignSystemIds: z216.array(z216.string()),
6674
+ enabledBrandPersistentIds: z216.array(z216.string()),
6666
6675
  theme: PortalSettingsTheme.nullish(),
6667
6676
  sidebar: PortalSettingsSidebar.nullish(),
6668
- createdAt: z215.coerce.date(),
6669
- updatedAt: z215.coerce.date()
6677
+ createdAt: z216.coerce.date(),
6678
+ updatedAt: z216.coerce.date()
6670
6679
  });
6671
6680
 
6672
6681
  // src/tokens/personal-access-token.ts
6673
- import { z as z216 } from "zod";
6674
- var PersonalAccessToken = z216.object({
6675
- id: z216.string(),
6676
- userId: z216.string(),
6677
- workspaceId: z216.string().optional(),
6678
- designSystemId: z216.string().optional(),
6682
+ import { z as z217 } from "zod";
6683
+ var PersonalAccessToken = z217.object({
6684
+ id: z217.string(),
6685
+ userId: z217.string(),
6686
+ workspaceId: z217.string().optional(),
6687
+ designSystemId: z217.string().optional(),
6679
6688
  workspaceRole: WorkspaceRoleSchema.optional(),
6680
- name: z216.string(),
6681
- hidden: z216.boolean(),
6682
- token: z216.string(),
6683
- scope: z216.string().optional(),
6684
- createdAt: z216.coerce.date(),
6685
- expireAt: z216.coerce.date().optional()
6689
+ name: z217.string(),
6690
+ hidden: z217.boolean(),
6691
+ token: z217.string(),
6692
+ scope: z217.string().optional(),
6693
+ createdAt: z217.coerce.date(),
6694
+ expireAt: z217.coerce.date().optional()
6686
6695
  });
6687
6696
  export {
6688
6697
  Address,
@@ -7002,6 +7011,7 @@ export {
7002
7011
  ForgeChatMessageSender,
7003
7012
  ForgeChatMessageSenderType,
7004
7013
  ForgeChatThread,
7014
+ ForgeFeatureRoom,
7005
7015
  ForgeFigmaArtifact,
7006
7016
  ForgeFileArtifact,
7007
7017
  ForgeIterationMessage,