@supernova-studio/model 1.15.0 → 1.16.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
@@ -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 z187 } from "zod";
5652
+ import { z as z188 } from "zod";
5653
5653
 
5654
5654
  // src/data-dumps/design-system-version-dump.ts
5655
- import { z as z186 } from "zod";
5655
+ import { z as z187 } from "zod";
5656
5656
 
5657
5657
  // src/liveblocks/rooms/design-system-version-room.ts
5658
5658
  import { z as z165 } from "zod";
@@ -5730,7 +5730,7 @@ var ForgeProjectArtifactRoom = Entity.extend({
5730
5730
  });
5731
5731
 
5732
5732
  // src/liveblocks/rooms/forge-project-room.ts
5733
- import { z as z182 } from "zod";
5733
+ import { z as z183 } from "zod";
5734
5734
 
5735
5735
  // src/forge/agent.ts
5736
5736
  import { z as z168 } from "zod";
@@ -5850,141 +5850,158 @@ var ForgeProjectArtifactContent = z174.object({
5850
5850
  });
5851
5851
 
5852
5852
  // src/forge/project-artifact.ts
5853
+ import { z as z176 } from "zod";
5854
+
5855
+ // src/forge/project-section.ts
5853
5856
  import { z as z175 } from "zod";
5854
- var ForgeProjectArtifact = z175.object({
5855
- id: z175.string(),
5857
+ var ForgeProjectSectionChildType = z175.enum(["Artifact", "Feature"]);
5858
+ var SortOrder = z175.number().int().min(0);
5859
+ var ForgeSection = z175.object({
5860
+ id: Id,
5856
5861
  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
+ name: z175.string(),
5863
+ sortOrder: SortOrder.default(0),
5862
5864
  createdAt: z175.coerce.date(),
5863
5865
  updatedAt: z175.coerce.date(),
5864
- createdByUserId: z175.string()
5866
+ childType: ForgeProjectSectionChildType
5867
+ });
5868
+
5869
+ // src/forge/project-artifact.ts
5870
+ var ForgeProjectArtifact = z176.object({
5871
+ id: Id,
5872
+ projectId: z176.string(),
5873
+ iterationId: z176.string().nullish(),
5874
+ title: z176.string(),
5875
+ previewUrl: z176.string().nullish(),
5876
+ sortOrder: SortOrder.default(0),
5877
+ createdAt: z176.coerce.date(),
5878
+ updatedAt: z176.coerce.date(),
5879
+ createdByUserId: z176.string(),
5880
+ sectionId: Id.optional()
5865
5881
  });
5866
5882
 
5867
5883
  // 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")
5884
+ import { z as z177 } from "zod";
5885
+ var ForgeProjectContextDependency = z177.object({
5886
+ packageName: z177.string(),
5887
+ type: z177.literal("npm"),
5888
+ version: z177.string().default("latest")
5873
5889
  });
5874
- var ForgeProjectContextTailwindConfig = z176.object({
5875
- content: z176.string(),
5876
- version: z176.string()
5890
+ var ForgeProjectContextTailwindConfig = z177.object({
5891
+ content: z177.string(),
5892
+ version: z177.string()
5877
5893
  });
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(),
5894
+ var ForgeProjectContext = z177.object({
5895
+ createdAt: z177.coerce.date(),
5896
+ definition: z177.string(),
5897
+ dependencies: z177.array(ForgeProjectContextDependency),
5898
+ designSystemId: z177.string(),
5899
+ id: z177.string(),
5884
5900
  meta: ForgeMeta,
5885
- name: z176.string(),
5901
+ name: z177.string(),
5886
5902
  npmProxySettings: NpmRegistryConfig,
5887
- platform: z176.enum(["React", "Vue", "Angular"]),
5888
- styling: z176.enum(["CSS", "Tailwind"]),
5903
+ platform: z177.enum(["React", "Vue", "Angular"]),
5904
+ styling: z177.enum(["CSS", "Tailwind"]),
5889
5905
  tailwindConfig: ForgeProjectContextTailwindConfig.optional(),
5890
- updatedAt: z176.coerce.date(),
5891
- workspaceId: z176.string()
5906
+ updatedAt: z177.coerce.date(),
5907
+ workspaceId: z177.string()
5892
5908
  });
5893
5909
 
5894
5910
  // 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(),
5911
+ import { z as z178 } from "zod";
5912
+ var ProjectFeature = z178.object({
5913
+ createdAt: z178.coerce.date(),
5914
+ createdByUserId: z178.string(),
5915
+ description: z178.string(),
5900
5916
  id: Id,
5901
- isArchived: z177.boolean().optional(),
5902
- name: Id,
5903
- projectId: z177.string(),
5917
+ isArchived: z178.boolean().optional(),
5918
+ name: z178.string(),
5919
+ projectId: z178.string(),
5904
5920
  sectionId: Id.optional(),
5905
- sortOrder: z177.number().int().min(0),
5906
- updatedAt: z177.coerce.date().optional()
5921
+ sortOrder: SortOrder.default(0),
5922
+ updatedAt: z178.coerce.date().optional()
5907
5923
  });
5908
5924
 
5909
5925
  // src/forge/project-invitation.ts
5910
- import { z as z179 } from "zod";
5926
+ import { z as z180 } from "zod";
5911
5927
 
5912
5928
  // 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(),
5929
+ import { z as z179 } from "zod";
5930
+ var ForgeProjectRole = z179.enum(["Viewer", "Editor", "Admin"]);
5931
+ var ForgeProjectMembership = z179.object({
5932
+ userId: z179.string(),
5933
+ forgeProjectId: z179.string(),
5934
+ workspaceMembershipId: z179.string(),
5919
5935
  workspaceRole: WorkspaceRoleSchema,
5920
5936
  role: ForgeProjectRole
5921
5937
  });
5922
5938
 
5923
5939
  // src/forge/project-invitation.ts
5924
- var ForgeProjectInvitation = z179.object({
5925
- email: z179.string().email(),
5926
- forgeProjectId: z179.string(),
5927
- workspaceInvitationId: z179.string(),
5940
+ var ForgeProjectInvitation = z180.object({
5941
+ email: z180.string().email(),
5942
+ forgeProjectId: z180.string(),
5943
+ workspaceInvitationId: z180.string(),
5928
5944
  role: ForgeProjectRole,
5929
- createdAt: z179.coerce.date(),
5930
- updatedAt: z179.coerce.date(),
5931
- createdById: z179.string()
5945
+ createdAt: z180.coerce.date(),
5946
+ updatedAt: z180.coerce.date(),
5947
+ createdById: z180.string()
5932
5948
  });
5933
5949
 
5934
5950
  // 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(),
5951
+ import { z as z181 } from "zod";
5952
+ var ForgeProjectIterationMergeMeta = z181.object({ mergeByUserId: z181.string(), mergeAt: z181.date() });
5953
+ var ForgeProjectIteration = z181.object({
5954
+ branchId: z181.string().optional(),
5955
+ buildArtifactId: z181.string(),
5956
+ createdAt: z181.coerce.date(),
5957
+ forgeProjectId: z181.string(),
5958
+ id: z181.string(),
5959
+ locked: z181.boolean(),
5960
+ messages: z181.array(ForgeIterationMessage),
5961
+ artifacts: z181.array(ForgeArtifact),
5962
+ previousIterationId: z181.string().optional(),
5947
5963
  mergeMeta: ForgeProjectIterationMergeMeta.optional()
5948
5964
  });
5949
5965
 
5950
5966
  // 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(),
5967
+ import { z as z182 } from "zod";
5968
+ var ForgeProjectTag = z182.array(z182.string()).default([]);
5969
+ var ForgeProjectAccessMode = z182.enum(["InviteOnly", "Open"]);
5970
+ var ForgeProject = z182.object({
5971
+ createdAt: z182.coerce.date(),
5972
+ createdByUserId: z182.string().optional(),
5973
+ fpContextId: z182.string(),
5974
+ id: z182.string(),
5975
+ instruction: z182.string().nullable(),
5960
5976
  meta: ForgeMeta,
5961
- name: z181.string(),
5977
+ name: z182.string(),
5962
5978
  tags: ForgeProjectTag,
5963
- updatedAt: z181.coerce.date().optional(),
5964
- workspaceId: z181.string(),
5979
+ updatedAt: z182.coerce.date().optional(),
5980
+ workspaceId: z182.string(),
5965
5981
  accessMode: ForgeProjectAccessMode,
5966
- isArchived: z181.boolean().optional(),
5967
- emoji: z181.string().optional()
5982
+ isArchived: z182.boolean().optional(),
5983
+ emoji: z182.string().optional()
5968
5984
  });
5969
5985
 
5970
5986
  // src/liveblocks/rooms/forge-project-room.ts
5971
5987
  var ForgeProjectRoom = Entity.extend({
5972
- projectId: z182.string(),
5973
- liveblocksId: z182.string()
5988
+ projectId: z183.string(),
5989
+ liveblocksId: z183.string()
5974
5990
  });
5975
- var ForgeProjectRoomInitialState = z182.object({
5976
- artifacts: z182.array(ForgeProjectArtifact),
5977
- features: z182.array(ProjectFeature)
5991
+ var ForgeProjectRoomInitialState = z183.object({
5992
+ artifacts: z183.array(ForgeProjectArtifact),
5993
+ features: z183.array(ProjectFeature)
5978
5994
  });
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()
5995
+ var ForgeProjectRoomUpdate = z183.object({
5996
+ artifacts: z183.array(ForgeProjectArtifact).optional(),
5997
+ artifactIdsToDelete: z183.array(z183.string()).optional(),
5998
+ features: z183.array(ProjectFeature).optional(),
5999
+ featureIdsToDelete: z183.array(z183.string()).optional(),
6000
+ executedTransactionIds: z183.string().array().optional()
5984
6001
  });
5985
6002
 
5986
6003
  // src/liveblocks/rooms/room-type.ts
5987
- import { z as z183 } from "zod";
6004
+ import { z as z184 } from "zod";
5988
6005
  var RoomTypeEnum = /* @__PURE__ */ ((RoomTypeEnum2) => {
5989
6006
  RoomTypeEnum2["DocumentationPageOld"] = "documentation-page";
5990
6007
  RoomTypeEnum2["DocumentationPage"] = "doc-page";
@@ -5994,36 +6011,36 @@ var RoomTypeEnum = /* @__PURE__ */ ((RoomTypeEnum2) => {
5994
6011
  RoomTypeEnum2["ForgeProjectArtifact"] = "forge-project-artifact";
5995
6012
  return RoomTypeEnum2;
5996
6013
  })(RoomTypeEnum || {});
5997
- var RoomTypeSchema = z183.nativeEnum(RoomTypeEnum);
6014
+ var RoomTypeSchema = z184.nativeEnum(RoomTypeEnum);
5998
6015
  var RoomType = RoomTypeSchema.enum;
5999
6016
 
6000
6017
  // src/liveblocks/rooms/workspace-room.ts
6001
- import { z as z184 } from "zod";
6018
+ import { z as z185 } from "zod";
6002
6019
  var WorkspaceRoom = Entity.extend({
6003
- workspaceId: z184.string(),
6004
- liveblocksId: z184.string()
6020
+ workspaceId: z185.string(),
6021
+ liveblocksId: z185.string()
6005
6022
  });
6006
6023
 
6007
6024
  // src/data-dumps/published-docs-dump.ts
6008
- import { z as z185 } from "zod";
6009
- var PublishedDocsDump = z185.object({
6025
+ import { z as z186 } from "zod";
6026
+ var PublishedDocsDump = z186.object({
6010
6027
  documentation: PublishedDoc,
6011
6028
  pages: PublishedDocPage.array()
6012
6029
  });
6013
6030
 
6014
6031
  // src/data-dumps/design-system-version-dump.ts
6015
- var DocumentationThreadDump = z186.object({
6032
+ var DocumentationThreadDump = z187.object({
6016
6033
  thread: DocumentationCommentThread,
6017
6034
  comments: DocumentationComment.array()
6018
6035
  });
6019
- var DocumentationPageRoomDump = z186.object({
6036
+ var DocumentationPageRoomDump = z187.object({
6020
6037
  room: DocumentationPageRoom,
6021
6038
  threads: DocumentationThreadDump.array()
6022
6039
  });
6023
- var DesignSystemVersionMultiplayerDump = z186.object({
6040
+ var DesignSystemVersionMultiplayerDump = z187.object({
6024
6041
  documentationPages: DocumentationPageRoomDump.array()
6025
6042
  });
6026
- var DesignSystemVersionDump = z186.object({
6043
+ var DesignSystemVersionDump = z187.object({
6027
6044
  version: DesignSystemVersion,
6028
6045
  brands: Brand.array(),
6029
6046
  elements: DesignElement.array(),
@@ -6038,7 +6055,7 @@ var DesignSystemVersionDump = z186.object({
6038
6055
  });
6039
6056
 
6040
6057
  // src/data-dumps/design-system-dump.ts
6041
- var DesignSystemDump = z187.object({
6058
+ var DesignSystemDump = z188.object({
6042
6059
  designSystem: DesignSystem,
6043
6060
  dataSources: DataSource.array(),
6044
6061
  versions: DesignSystemVersionDump.array(),
@@ -6047,50 +6064,50 @@ var DesignSystemDump = z187.object({
6047
6064
  });
6048
6065
 
6049
6066
  // src/data-dumps/user-data-dump.ts
6050
- import { z as z190 } from "zod";
6067
+ import { z as z191 } from "zod";
6051
6068
 
6052
6069
  // src/data-dumps/workspace-dump.ts
6053
- import { z as z189 } from "zod";
6070
+ import { z as z190 } from "zod";
6054
6071
 
6055
6072
  // src/integrations/integration.ts
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(),
6073
+ import { z as z189 } from "zod";
6074
+ var IntegrationDesignSystem = z189.object({
6075
+ designSystemId: z189.string(),
6076
+ brandId: z189.string(),
6077
+ title: z189.string().optional(),
6078
+ userId: z189.string().optional(),
6079
+ date: z189.coerce.date().optional()
6080
+ });
6081
+ var IntegrationCredentialsType = z189.enum(["OAuth2", "PAT"]);
6082
+ var IntegrationCredentialsState = z189.enum(["Active", "Inactive"]);
6083
+ var IntegrationCredentialsProfile = z189.object({
6084
+ id: nullishToOptional(z189.string()),
6085
+ email: nullishToOptional(z189.string()),
6086
+ handle: nullishToOptional(z189.string()),
6087
+ type: nullishToOptional(z189.string()),
6088
+ avatarUrl: nullishToOptional(z189.string()),
6089
+ organization: nullishToOptional(z189.string()),
6090
+ collection: nullishToOptional(z189.string())
6091
+ });
6092
+ var IntegrationCredentials = z189.object({
6093
+ id: z189.string(),
6077
6094
  type: IntegrationCredentialsType,
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(),
6095
+ integrationId: z189.string(),
6096
+ accessToken: z189.string(),
6097
+ userId: z189.string(),
6098
+ createdAt: z189.coerce.date(),
6099
+ refreshToken: z189.string().optional(),
6100
+ tokenName: z189.string().optional(),
6101
+ expiresAt: z189.coerce.date().optional(),
6102
+ refreshedAt: z189.coerce.date().optional(),
6103
+ username: z189.string().optional(),
6104
+ appInstallationId: z189.string().optional(),
6088
6105
  profile: IntegrationCredentialsProfile.optional(),
6089
- customUrl: z188.string().optional(),
6106
+ customUrl: z189.string().optional(),
6090
6107
  state: IntegrationCredentialsState,
6091
6108
  user: UserMinified.optional()
6092
6109
  });
6093
- var ExtendedIntegrationType = z188.enum([
6110
+ var ExtendedIntegrationType = z189.enum([
6094
6111
  "Figma",
6095
6112
  "Github",
6096
6113
  "Gitlab",
@@ -6101,26 +6118,26 @@ var ExtendedIntegrationType = z188.enum([
6101
6118
  ]);
6102
6119
  var IntegrationType = ExtendedIntegrationType.exclude(["TokenStudio", "FigmaVariablesPlugin"]);
6103
6120
  var GitIntegrationType = IntegrationType.exclude(["Figma"]);
6104
- var Integration = z188.object({
6105
- id: z188.string(),
6106
- workspaceId: z188.string(),
6121
+ var Integration = z189.object({
6122
+ id: z189.string(),
6123
+ workspaceId: z189.string(),
6107
6124
  type: IntegrationType,
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(),
6125
+ createdAt: z189.coerce.date(),
6126
+ integrationCredentials: z189.array(IntegrationCredentials).optional()
6127
+ });
6128
+ var IntegrationToken = z189.object({
6129
+ access_token: z189.string(),
6130
+ refresh_token: z189.string().optional(),
6131
+ expires_in: z189.union([z189.number().optional(), z189.string().optional()]),
6132
+ token_type: z189.string().optional(),
6133
+ token_name: z189.string().optional(),
6134
+ token_azure_organization_name: z189.string().optional(),
6118
6135
  // Azure Cloud PAT only
6119
- token_azure_collection_name: z188.string().optional(),
6136
+ token_azure_collection_name: z189.string().optional(),
6120
6137
  // Azure Server PAT only
6121
- token_bitbucket_username: z188.string().optional(),
6138
+ token_bitbucket_username: z189.string().optional(),
6122
6139
  // Bitbucket only
6123
- custom_url: z188.string().optional().transform((value) => {
6140
+ custom_url: z189.string().optional().transform((value) => {
6124
6141
  if (!value?.trim()) return void 0;
6125
6142
  return formatCustomUrl(value);
6126
6143
  })
@@ -6157,7 +6174,7 @@ function formatCustomUrl(url) {
6157
6174
  }
6158
6175
 
6159
6176
  // src/data-dumps/workspace-dump.ts
6160
- var WorkspaceDump = z189.object({
6177
+ var WorkspaceDump = z190.object({
6161
6178
  workspace: Workspace,
6162
6179
  designSystems: DesignSystemDump.array(),
6163
6180
  codeIntegration: CodeIntegrationDump,
@@ -6165,148 +6182,148 @@ var WorkspaceDump = z189.object({
6165
6182
  });
6166
6183
 
6167
6184
  // src/data-dumps/user-data-dump.ts
6168
- var UserDump = z190.object({
6185
+ var UserDump = z191.object({
6169
6186
  user: User,
6170
6187
  workspaces: WorkspaceDump.array()
6171
6188
  });
6172
6189
 
6173
6190
  // src/docs-server/session.ts
6174
- import { z as z191 } from "zod";
6175
- var NpmProxyToken = z191.object({
6176
- access: z191.string(),
6177
- expiresAt: z191.number()
6191
+ import { z as z192 } from "zod";
6192
+ var NpmProxyToken = z192.object({
6193
+ access: z192.string(),
6194
+ expiresAt: z192.number()
6178
6195
  });
6179
- var SessionData = z191.object({
6180
- returnToUrl: z191.string().optional(),
6196
+ var SessionData = z192.object({
6197
+ returnToUrl: z192.string().optional(),
6181
6198
  npmProxyToken: NpmProxyToken.optional()
6182
6199
  });
6183
- var Session = z191.object({
6184
- id: z191.string(),
6185
- expiresAt: z191.coerce.date(),
6186
- userId: z191.string().nullable(),
6187
- anonymousId: z191.string().nullable(),
6200
+ var Session = z192.object({
6201
+ id: z192.string(),
6202
+ expiresAt: z192.coerce.date(),
6203
+ userId: z192.string().nullable(),
6204
+ anonymousId: z192.string().nullable(),
6188
6205
  data: SessionData
6189
6206
  });
6190
- var AuthTokens = z191.object({
6191
- access: z191.string(),
6192
- refresh: z191.string()
6207
+ var AuthTokens = z192.object({
6208
+ access: z192.string(),
6209
+ refresh: z192.string()
6193
6210
  });
6194
- var UserSession = z191.object({
6211
+ var UserSession = z192.object({
6195
6212
  session: Session,
6196
6213
  user: User.nullable()
6197
6214
  });
6198
6215
 
6199
6216
  // src/emails/design-system-invite.ts
6200
- import { z as z192 } from "zod";
6201
- var DesignSystemInviteEmailRecipient = z192.object({
6202
- email: z192.string(),
6217
+ import { z as z193 } from "zod";
6218
+ var DesignSystemInviteEmailRecipient = z193.object({
6219
+ email: z193.string(),
6203
6220
  role: WorkspaceRoleSchema
6204
6221
  });
6205
- var DesignSystemInviteEmailData = z192.object({
6222
+ var DesignSystemInviteEmailData = z193.object({
6206
6223
  workspace: Workspace,
6207
6224
  designSystem: DesignSystem,
6208
6225
  invitedBy: User,
6209
- documentationDomain: z192.string().optional()
6226
+ documentationDomain: z193.string().optional()
6210
6227
  });
6211
6228
 
6212
6229
  // src/emails/workspace-invite.ts
6213
- import { z as z193 } from "zod";
6214
- var WorkspaceInviteEmailRecipient = z193.object({
6215
- email: z193.string(),
6230
+ import { z as z194 } from "zod";
6231
+ var WorkspaceInviteEmailRecipient = z194.object({
6232
+ email: z194.string(),
6216
6233
  role: WorkspaceRoleSchema
6217
6234
  });
6218
- var WorkspaceInviteEmailData = z193.object({
6235
+ var WorkspaceInviteEmailData = z194.object({
6219
6236
  workspace: Workspace,
6220
6237
  invitedBy: User,
6221
- documentationDomain: z193.string().optional()
6238
+ documentationDomain: z194.string().optional()
6222
6239
  });
6223
6240
 
6224
6241
  // src/events/base.ts
6225
- import { z as z197 } from "zod";
6242
+ import { z as z198 } from "zod";
6226
6243
 
6227
6244
  // src/events/data-source-imported.ts
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()
6233
- });
6234
-
6235
- // src/events/version-released.ts
6236
6245
  import { z as z195 } from "zod";
6237
- var EventVersionReleased = z195.object({
6238
- type: z195.literal("DesignSystemVersionReleased"),
6246
+ var EventDataSourceImported = z195.object({
6247
+ type: z195.literal("DataSourceImported"),
6239
6248
  workspaceId: z195.string(),
6240
- designSystemId: z195.string(),
6241
- versionId: z195.string()
6249
+ designSystemId: z195.string()
6242
6250
  });
6243
6251
 
6244
- // src/events/documentation-published.ts
6252
+ // src/events/version-released.ts
6245
6253
  import { z as z196 } from "zod";
6246
- var EventDocumentationPublished = z196.object({
6247
- type: z196.literal("DocumentationPublished"),
6254
+ var EventVersionReleased = z196.object({
6255
+ type: z196.literal("DesignSystemVersionReleased"),
6248
6256
  workspaceId: z196.string(),
6249
6257
  designSystemId: z196.string(),
6250
6258
  versionId: z196.string()
6251
6259
  });
6252
6260
 
6261
+ // src/events/documentation-published.ts
6262
+ import { z as z197 } from "zod";
6263
+ var EventDocumentationPublished = z197.object({
6264
+ type: z197.literal("DocumentationPublished"),
6265
+ workspaceId: z197.string(),
6266
+ designSystemId: z197.string(),
6267
+ versionId: z197.string()
6268
+ });
6269
+
6253
6270
  // src/events/base.ts
6254
- var Event = z197.discriminatedUnion("type", [
6271
+ var Event = z198.discriminatedUnion("type", [
6255
6272
  EventVersionReleased,
6256
6273
  EventDataSourceImported,
6257
6274
  EventDocumentationPublished
6258
6275
  ]);
6259
6276
 
6260
6277
  // src/export/export-runner/export-context.ts
6261
- import { z as z198 } from "zod";
6262
- var ExportJobDocumentationContext = z198.object({
6263
- isSingleVersionDocs: z198.boolean(),
6264
- versionSlug: z198.string(),
6278
+ import { z as z199 } from "zod";
6279
+ var ExportJobDocumentationContext = z199.object({
6280
+ isSingleVersionDocs: z199.boolean(),
6281
+ versionSlug: z199.string(),
6265
6282
  environment: PublishedDocEnvironment
6266
6283
  });
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(),
6284
+ var ExportJobDebugContext = z199.object({
6285
+ debugMode: z199.boolean().optional(),
6286
+ concurrency: z199.number().optional(),
6287
+ preloadData: z199.string().optional(),
6288
+ concurrencyMode: z199.string().optional(),
6289
+ cacheSdk: z199.string().optional(),
6290
+ logSdkNetwork: z199.boolean().optional(),
6291
+ profilerMode: z199.string().optional()
6292
+ });
6293
+ var ExportJobContext = z199.object({
6294
+ apiUrl: z199.string(),
6295
+ accessToken: z199.string(),
6296
+ designSystemId: z199.string(),
6297
+ designSystemName: z199.string(),
6298
+ exporterId: z199.string(),
6299
+ versionId: z199.string(),
6300
+ brandId: z199.string().optional(),
6301
+ themeId: z199.string().optional(),
6302
+ themePersistentIds: z199.string().array().optional(),
6303
+ previewMode: z199.boolean().optional(),
6304
+ exporterName: z199.string(),
6288
6305
  documentation: ExportJobDocumentationContext.optional(),
6289
6306
  debug: ExportJobDebugContext.optional()
6290
6307
  });
6291
- var ExportJobExporterConfiguration = z198.object({
6292
- exporterPackageUrl: z198.string(),
6308
+ var ExportJobExporterConfiguration = z199.object({
6309
+ exporterPackageUrl: z199.string(),
6293
6310
  exporterPropertyValues: ExporterConfigurationPropertyValue.array(),
6294
6311
  exporterPropertyValuesV2: ExporterPropertyValueMap.optional()
6295
6312
  });
6296
6313
 
6297
6314
  // src/export/export-runner/exporter-payload.ts
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()
6315
+ import { z as z200 } from "zod";
6316
+ var ExporterFunctionPayload = z200.object({
6317
+ exportJobId: z200.string(),
6318
+ exportContextId: z200.string(),
6319
+ designSystemId: z200.string(),
6320
+ workspaceId: z200.string(),
6321
+ exporterId: z200.string()
6305
6322
  });
6306
6323
 
6307
6324
  // src/export/export-jobs.ts
6308
- import { z as z200 } from "zod";
6309
- var ExportJobDestinationType = z200.enum([
6325
+ import { z as z201 } from "zod";
6326
+ var ExportJobDestinationType = z201.enum([
6310
6327
  "s3",
6311
6328
  "webhookUrl",
6312
6329
  "github",
@@ -6315,31 +6332,31 @@ var ExportJobDestinationType = z200.enum([
6315
6332
  "gitlab",
6316
6333
  "bitbucket"
6317
6334
  ]);
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(),
6335
+ var ExportJobStatus = z201.enum(["InProgress", "Success", "Failed", "Timeout"]);
6336
+ var ExportJobLogEntryType = z201.enum(["success", "info", "warning", "error", "user"]);
6337
+ var ExportJobLogEntry = z201.object({
6338
+ id: z201.string().optional(),
6339
+ time: z201.coerce.date(),
6323
6340
  type: ExportJobLogEntryType,
6324
- message: z200.string()
6341
+ message: z201.string()
6325
6342
  });
6326
- var ExportJobPullRequestDestinationResult = z200.object({
6327
- pullRequestUrl: z200.string(),
6328
- sparseCheckoutUsed: nullishToOptional(z200.boolean())
6343
+ var ExportJobPullRequestDestinationResult = z201.object({
6344
+ pullRequestUrl: z201.string(),
6345
+ sparseCheckoutUsed: nullishToOptional(z201.boolean())
6329
6346
  });
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())
6347
+ var ExportJobS3DestinationResult = z201.object({
6348
+ bucket: z201.string(),
6349
+ urlPrefix: z201.string().optional(),
6350
+ path: z201.string(),
6351
+ files: z201.array(z201.string()),
6352
+ url: nullishToOptional(z201.string()),
6353
+ urls: nullishToOptional(z201.string().array())
6337
6354
  });
6338
- var ExportJobDocsDestinationResult = z200.object({
6339
- url: z200.string()
6355
+ var ExportJobDocsDestinationResult = z201.object({
6356
+ url: z201.string()
6340
6357
  });
6341
- var ExportJobResult = z200.object({
6342
- error: z200.string().optional(),
6358
+ var ExportJobResult = z201.object({
6359
+ error: z201.string().optional(),
6343
6360
  s3: nullishToOptional(ExportJobS3DestinationResult),
6344
6361
  github: nullishToOptional(ExportJobPullRequestDestinationResult),
6345
6362
  azure: nullishToOptional(ExportJobPullRequestDestinationResult),
@@ -6348,25 +6365,25 @@ var ExportJobResult = z200.object({
6348
6365
  sndocs: nullishToOptional(ExportJobDocsDestinationResult),
6349
6366
  logs: nullishToOptional(ExportJobLogEntry.array())
6350
6367
  });
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(),
6368
+ var ExportJob = z201.object({
6369
+ id: z201.string(),
6370
+ createdAt: z201.coerce.date(),
6371
+ finishedAt: z201.coerce.date().optional(),
6372
+ designSystemId: z201.string(),
6373
+ designSystemVersionId: z201.string(),
6374
+ workspaceId: z201.string(),
6375
+ scheduleId: z201.string().nullish(),
6376
+ exporterId: z201.string(),
6377
+ brandId: z201.string().optional(),
6378
+ themeId: z201.string().optional(),
6379
+ themePersistentIds: z201.string().array().optional(),
6380
+ estimatedExecutionTime: z201.number().optional(),
6364
6381
  status: ExportJobStatus,
6365
6382
  result: ExportJobResult.optional(),
6366
- createdByUserId: z200.string().optional(),
6383
+ createdByUserId: z201.string().optional(),
6367
6384
  exporterPropertyValues: ExporterPropertyValueMap.optional(),
6368
- previewMode: z200.boolean().optional(),
6369
- exportContextId: z200.string().optional().nullable(),
6385
+ previewMode: z201.boolean().optional(),
6386
+ exportContextId: z201.string().optional().nullable(),
6370
6387
  // Destinations
6371
6388
  ...ExportDestinationsMap.shape
6372
6389
  });
@@ -6380,37 +6397,37 @@ var ExportJobFindByFilter = ExportJob.pick({
6380
6397
  themeId: true,
6381
6398
  brandId: true
6382
6399
  }).extend({
6383
- destinations: z200.array(ExportJobDestinationType),
6400
+ destinations: z201.array(ExportJobDestinationType),
6384
6401
  docsEnvironment: PublishedDocEnvironment,
6385
- selectivePublishing: z200.boolean().optional()
6402
+ selectivePublishing: z201.boolean().optional()
6386
6403
  }).partial();
6387
6404
 
6388
6405
  // src/export/exporter-list-query.ts
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(),
6406
+ import { z as z202 } from "zod";
6407
+ var ExporterType2 = z202.enum(["documentation", "code"]);
6408
+ var ListExporterQuery = z202.object({
6409
+ limit: z202.number().optional(),
6410
+ offset: z202.number().optional(),
6394
6411
  type: ExporterType2.optional(),
6395
- search: z201.string().optional()
6412
+ search: z202.string().optional()
6396
6413
  });
6397
6414
 
6398
6415
  // src/export/exporter-workspace-membership-role.ts
6399
- import { z as z202 } from "zod";
6400
- var ExporterWorkspaceMembershipRole = z202.enum(["Owner", "OwnerArchived", "User"]);
6416
+ import { z as z203 } from "zod";
6417
+ var ExporterWorkspaceMembershipRole = z203.enum(["Owner", "OwnerArchived", "User"]);
6401
6418
 
6402
6419
  // src/export/exporter-workspace-membership.ts
6403
- import { z as z203 } from "zod";
6404
- var ExporterWorkspaceMembership = z203.object({
6405
- id: z203.string(),
6406
- workspaceId: z203.string(),
6407
- exporterId: z203.string(),
6420
+ import { z as z204 } from "zod";
6421
+ var ExporterWorkspaceMembership = z204.object({
6422
+ id: z204.string(),
6423
+ workspaceId: z204.string(),
6424
+ exporterId: z204.string(),
6408
6425
  role: ExporterWorkspaceMembershipRole
6409
6426
  });
6410
6427
 
6411
6428
  // src/feature-flags/feature-flags.ts
6412
- import { z as z204 } from "zod";
6413
- var FlaggedFeature = z204.enum([
6429
+ import { z as z205 } from "zod";
6430
+ var FlaggedFeature = z205.enum([
6414
6431
  "FigmaImporterV2",
6415
6432
  "DisableImporter",
6416
6433
  "VariablesOrder",
@@ -6433,21 +6450,21 @@ var FlaggedFeature = z204.enum([
6433
6450
  var FeatureFlagDefaults = {
6434
6451
  DocumentationIgnoreSnapshotsOnPublish: "route-bff+route-p3"
6435
6452
  };
6436
- var FeatureFlagMap = z204.record(FlaggedFeature, z204.boolean());
6437
- var FeatureFlag = z204.object({
6438
- id: z204.string(),
6453
+ var FeatureFlagMap = z205.record(FlaggedFeature, z205.boolean());
6454
+ var FeatureFlag = z205.object({
6455
+ id: z205.string(),
6439
6456
  feature: FlaggedFeature,
6440
- createdAt: z204.coerce.date(),
6441
- enabled: z204.boolean(),
6442
- designSystemId: z204.string().optional(),
6443
- data: z204.record(z204.any()).nullable().optional()
6457
+ createdAt: z205.coerce.date(),
6458
+ enabled: z205.boolean(),
6459
+ designSystemId: z205.string().optional(),
6460
+ data: z205.record(z205.any()).nullable().optional()
6444
6461
  });
6445
6462
 
6446
6463
  // src/integrations/external-oauth-request.ts
6447
- import { z as z206 } from "zod";
6464
+ import { z as z207 } from "zod";
6448
6465
 
6449
6466
  // src/integrations/oauth-providers.ts
6450
- import { z as z205 } from "zod";
6467
+ import { z as z206 } from "zod";
6451
6468
  var OAuthProviderNames = /* @__PURE__ */ ((OAuthProviderNames2) => {
6452
6469
  OAuthProviderNames2["Figma"] = "figma";
6453
6470
  OAuthProviderNames2["Azure"] = "azure";
@@ -6456,152 +6473,152 @@ var OAuthProviderNames = /* @__PURE__ */ ((OAuthProviderNames2) => {
6456
6473
  OAuthProviderNames2["Bitbucket"] = "bitbucket";
6457
6474
  return OAuthProviderNames2;
6458
6475
  })(OAuthProviderNames || {});
6459
- var OAuthProviderSchema = z205.nativeEnum(OAuthProviderNames);
6476
+ var OAuthProviderSchema = z206.nativeEnum(OAuthProviderNames);
6460
6477
  var OAuthProvider = OAuthProviderSchema.enum;
6461
6478
 
6462
6479
  // src/integrations/external-oauth-request.ts
6463
- var ExternalOAuthRequest = z206.object({
6464
- id: z206.string(),
6480
+ var ExternalOAuthRequest = z207.object({
6481
+ id: z207.string(),
6465
6482
  provider: OAuthProviderSchema,
6466
- userId: z206.string(),
6467
- state: z206.string(),
6468
- createdAt: z206.coerce.date()
6483
+ userId: z207.string(),
6484
+ state: z207.string(),
6485
+ createdAt: z207.coerce.date()
6469
6486
  });
6470
6487
 
6471
6488
  // src/integrations/git.ts
6472
- import { z as z207 } from "zod";
6473
- var GitObjectsQuery = z207.object({
6474
- organization: z207.string().optional(),
6489
+ import { z as z208 } from "zod";
6490
+ var GitObjectsQuery = z208.object({
6491
+ organization: z208.string().optional(),
6475
6492
  // Azure Organization | Bitbucket Workspace slug | Gitlab Group | Github Account (User or Organization)
6476
- project: z207.string().optional(),
6493
+ project: z208.string().optional(),
6477
6494
  // Only for Bitbucket and Azure
6478
- repository: z207.string().optional(),
6495
+ repository: z208.string().optional(),
6479
6496
  // For all providers. For Gitlab, it's called "project".
6480
- branch: z207.string().optional(),
6497
+ branch: z208.string().optional(),
6481
6498
  // For all providers.
6482
- user: z207.string().optional()
6499
+ user: z208.string().optional()
6483
6500
  // Gitlab user
6484
6501
  });
6485
- var GitOrganization = z207.object({
6486
- id: z207.string(),
6487
- name: z207.string(),
6488
- url: z207.string(),
6489
- slug: z207.string()
6502
+ var GitOrganization = z208.object({
6503
+ id: z208.string(),
6504
+ name: z208.string(),
6505
+ url: z208.string(),
6506
+ slug: z208.string()
6490
6507
  });
6491
- var GitProject = z207.object({
6492
- id: z207.string(),
6493
- name: z207.string(),
6494
- url: z207.string(),
6495
- slug: z207.string()
6508
+ var GitProject = z208.object({
6509
+ id: z208.string(),
6510
+ name: z208.string(),
6511
+ url: z208.string(),
6512
+ slug: z208.string()
6496
6513
  });
6497
- var GitRepository = z207.object({
6498
- id: z207.string(),
6499
- name: z207.string(),
6500
- url: z207.string(),
6501
- slug: z207.string(),
6514
+ var GitRepository = z208.object({
6515
+ id: z208.string(),
6516
+ name: z208.string(),
6517
+ url: z208.string(),
6518
+ slug: z208.string(),
6502
6519
  /**
6503
6520
  * Can be undefined when:
6504
6521
  * - there are no branches in the repository yet
6505
6522
  * - Git provider doesn't expose this information on a repository via their API
6506
6523
  */
6507
- defaultBranch: z207.string().optional()
6524
+ defaultBranch: z208.string().optional()
6508
6525
  });
6509
- var GitBranch = z207.object({
6510
- name: z207.string(),
6511
- lastCommitId: z207.string()
6526
+ var GitBranch = z208.object({
6527
+ name: z208.string(),
6528
+ lastCommitId: z208.string()
6512
6529
  });
6513
6530
 
6514
6531
  // src/integrations/oauth-token.ts
6515
- import { z as z208 } from "zod";
6516
- var IntegrationTokenSchemaOld = z208.object({
6517
- id: z208.string(),
6532
+ import { z as z209 } from "zod";
6533
+ var IntegrationTokenSchemaOld = z209.object({
6534
+ id: z209.string(),
6518
6535
  provider: OAuthProviderSchema,
6519
- scope: z208.string(),
6520
- userId: z208.string(),
6521
- accessToken: z208.string(),
6522
- refreshToken: z208.string(),
6523
- expiresAt: z208.coerce.date(),
6524
- externalUserId: z208.string().nullish()
6536
+ scope: z209.string(),
6537
+ userId: z209.string(),
6538
+ accessToken: z209.string(),
6539
+ refreshToken: z209.string(),
6540
+ expiresAt: z209.coerce.date(),
6541
+ externalUserId: z209.string().nullish()
6525
6542
  });
6526
6543
 
6527
6544
  // src/integrations/workspace-oauth-requests.ts
6528
- import { z as z209 } from "zod";
6529
- var WorkspaceOAuthRequestSchema = z209.object({
6530
- id: z209.string(),
6531
- workspaceId: z209.string(),
6545
+ import { z as z210 } from "zod";
6546
+ var WorkspaceOAuthRequestSchema = z210.object({
6547
+ id: z210.string(),
6548
+ workspaceId: z210.string(),
6532
6549
  provider: OAuthProviderSchema,
6533
- userId: z209.string(),
6534
- createdAt: z209.coerce.date()
6550
+ userId: z210.string(),
6551
+ createdAt: z210.coerce.date()
6535
6552
  });
6536
6553
 
6537
6554
  // src/npm/npm-package.ts
6538
- import { z as z210 } from "zod";
6539
- var AnyRecord = z210.record(z210.any());
6555
+ import { z as z211 } from "zod";
6556
+ var AnyRecord = z211.record(z211.any());
6540
6557
  var NpmPackageVersionDist = AnyRecord.and(
6541
- z210.object({
6542
- tarball: z210.string()
6558
+ z211.object({
6559
+ tarball: z211.string()
6543
6560
  })
6544
6561
  );
6545
6562
  var NpmPackageVersion = AnyRecord.and(
6546
- z210.object({
6563
+ z211.object({
6547
6564
  dist: NpmPackageVersionDist
6548
6565
  })
6549
6566
  );
6550
6567
  var NpmPackage = AnyRecord.and(
6551
- z210.object({
6552
- _id: z210.string(),
6553
- name: z210.string(),
6568
+ z211.object({
6569
+ _id: z211.string(),
6570
+ name: z211.string(),
6554
6571
  // e.g. "latest": "1.2.3"
6555
- "dist-tags": z210.record(z210.string(), z210.string()),
6572
+ "dist-tags": z211.record(z211.string(), z211.string()),
6556
6573
  // "1.2.3": {...}
6557
- versions: z210.record(NpmPackageVersion)
6574
+ versions: z211.record(NpmPackageVersion)
6558
6575
  })
6559
6576
  );
6560
6577
 
6561
6578
  // src/npm/npm-proxy-token-payload.ts
6562
- import { z as z211 } from "zod";
6563
- var NpmProxyTokenPayload = z211.object({
6564
- npmProxyRegistryConfigId: z211.string()
6579
+ import { z as z212 } from "zod";
6580
+ var NpmProxyTokenPayload = z212.object({
6581
+ npmProxyRegistryConfigId: z212.string()
6565
6582
  });
6566
6583
 
6567
6584
  // src/portal/portal-settings.ts
6568
- import { z as z212 } from "zod";
6585
+ import { z as z213 } from "zod";
6569
6586
  var PortalSettingsTheme = UserTheme;
6570
- var PortalSettingsSidebarLink = z212.object({
6571
- name: z212.string(),
6572
- url: z212.string(),
6573
- emoji: z212.string()
6574
- });
6575
- var PortalSettingsSidebarSection = z212.object({
6576
- sectionName: z212.string(),
6577
- links: z212.array(PortalSettingsSidebarLink)
6578
- });
6579
- var PortalSettingsSidebar = z212.array(PortalSettingsSidebarSection);
6580
- var PortalSettings = z212.object({
6581
- id: z212.string(),
6582
- workspaceId: z212.string(),
6583
- enabledDesignSystemIds: z212.array(z212.string()),
6584
- enabledBrandPersistentIds: z212.array(z212.string()),
6587
+ var PortalSettingsSidebarLink = z213.object({
6588
+ name: z213.string(),
6589
+ url: z213.string(),
6590
+ emoji: z213.string()
6591
+ });
6592
+ var PortalSettingsSidebarSection = z213.object({
6593
+ sectionName: z213.string(),
6594
+ links: z213.array(PortalSettingsSidebarLink)
6595
+ });
6596
+ var PortalSettingsSidebar = z213.array(PortalSettingsSidebarSection);
6597
+ var PortalSettings = z213.object({
6598
+ id: z213.string(),
6599
+ workspaceId: z213.string(),
6600
+ enabledDesignSystemIds: z213.array(z213.string()),
6601
+ enabledBrandPersistentIds: z213.array(z213.string()),
6585
6602
  theme: PortalSettingsTheme.nullish(),
6586
6603
  sidebar: PortalSettingsSidebar.nullish(),
6587
- createdAt: z212.coerce.date(),
6588
- updatedAt: z212.coerce.date()
6604
+ createdAt: z213.coerce.date(),
6605
+ updatedAt: z213.coerce.date()
6589
6606
  });
6590
6607
 
6591
6608
  // src/tokens/personal-access-token.ts
6592
- import { z as z213 } from "zod";
6593
- var PersonalAccessToken = z213.object({
6594
- id: z213.string(),
6595
- userId: z213.string(),
6596
- workspaceId: z213.string().optional(),
6597
- designSystemId: z213.string().optional(),
6609
+ import { z as z214 } from "zod";
6610
+ var PersonalAccessToken = z214.object({
6611
+ id: z214.string(),
6612
+ userId: z214.string(),
6613
+ workspaceId: z214.string().optional(),
6614
+ designSystemId: z214.string().optional(),
6598
6615
  workspaceRole: WorkspaceRoleSchema.optional(),
6599
- name: z213.string(),
6600
- hidden: z213.boolean(),
6601
- token: z213.string(),
6602
- scope: z213.string().optional(),
6603
- createdAt: z213.coerce.date(),
6604
- expireAt: z213.coerce.date().optional()
6616
+ name: z214.string(),
6617
+ hidden: z214.boolean(),
6618
+ token: z214.string(),
6619
+ scope: z214.string().optional(),
6620
+ createdAt: z214.coerce.date(),
6621
+ expireAt: z214.coerce.date().optional()
6605
6622
  });
6606
6623
  export {
6607
6624
  Address,
@@ -6944,7 +6961,9 @@ export {
6944
6961
  ForgeProjectRoom,
6945
6962
  ForgeProjectRoomInitialState,
6946
6963
  ForgeProjectRoomUpdate,
6964
+ ForgeProjectSectionChildType,
6947
6965
  ForgeProjectTag,
6966
+ ForgeSection,
6948
6967
  ForgeSpecArtifact,
6949
6968
  GitBranch,
6950
6969
  GitCommonDestinationOptions,
@@ -7237,6 +7256,7 @@ export {
7237
7256
  SizeTokenData,
7238
7257
  SizeUnit,
7239
7258
  SizeValue,
7259
+ SortOrder,
7240
7260
  SourceImportComponentSummary,
7241
7261
  SourceImportFrameSummary,
7242
7262
  SourceImportStorybookSummary,