@supernova-studio/model 1.15.0 → 1.16.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.mjs CHANGED
@@ -5649,10 +5649,10 @@ var CodeIntegrationDump = z164.object({
5649
5649
  });
5650
5650
 
5651
5651
  // src/data-dumps/design-system-dump.ts
5652
- import { z as 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,157 @@ 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()
5984
6000
  });
5985
6001
 
5986
6002
  // src/liveblocks/rooms/room-type.ts
5987
- import { z as z183 } from "zod";
6003
+ import { z as z184 } from "zod";
5988
6004
  var RoomTypeEnum = /* @__PURE__ */ ((RoomTypeEnum2) => {
5989
6005
  RoomTypeEnum2["DocumentationPageOld"] = "documentation-page";
5990
6006
  RoomTypeEnum2["DocumentationPage"] = "doc-page";
@@ -5994,36 +6010,36 @@ var RoomTypeEnum = /* @__PURE__ */ ((RoomTypeEnum2) => {
5994
6010
  RoomTypeEnum2["ForgeProjectArtifact"] = "forge-project-artifact";
5995
6011
  return RoomTypeEnum2;
5996
6012
  })(RoomTypeEnum || {});
5997
- var RoomTypeSchema = z183.nativeEnum(RoomTypeEnum);
6013
+ var RoomTypeSchema = z184.nativeEnum(RoomTypeEnum);
5998
6014
  var RoomType = RoomTypeSchema.enum;
5999
6015
 
6000
6016
  // src/liveblocks/rooms/workspace-room.ts
6001
- import { z as z184 } from "zod";
6017
+ import { z as z185 } from "zod";
6002
6018
  var WorkspaceRoom = Entity.extend({
6003
- workspaceId: z184.string(),
6004
- liveblocksId: z184.string()
6019
+ workspaceId: z185.string(),
6020
+ liveblocksId: z185.string()
6005
6021
  });
6006
6022
 
6007
6023
  // src/data-dumps/published-docs-dump.ts
6008
- import { z as z185 } from "zod";
6009
- var PublishedDocsDump = z185.object({
6024
+ import { z as z186 } from "zod";
6025
+ var PublishedDocsDump = z186.object({
6010
6026
  documentation: PublishedDoc,
6011
6027
  pages: PublishedDocPage.array()
6012
6028
  });
6013
6029
 
6014
6030
  // src/data-dumps/design-system-version-dump.ts
6015
- var DocumentationThreadDump = z186.object({
6031
+ var DocumentationThreadDump = z187.object({
6016
6032
  thread: DocumentationCommentThread,
6017
6033
  comments: DocumentationComment.array()
6018
6034
  });
6019
- var DocumentationPageRoomDump = z186.object({
6035
+ var DocumentationPageRoomDump = z187.object({
6020
6036
  room: DocumentationPageRoom,
6021
6037
  threads: DocumentationThreadDump.array()
6022
6038
  });
6023
- var DesignSystemVersionMultiplayerDump = z186.object({
6039
+ var DesignSystemVersionMultiplayerDump = z187.object({
6024
6040
  documentationPages: DocumentationPageRoomDump.array()
6025
6041
  });
6026
- var DesignSystemVersionDump = z186.object({
6042
+ var DesignSystemVersionDump = z187.object({
6027
6043
  version: DesignSystemVersion,
6028
6044
  brands: Brand.array(),
6029
6045
  elements: DesignElement.array(),
@@ -6038,7 +6054,7 @@ var DesignSystemVersionDump = z186.object({
6038
6054
  });
6039
6055
 
6040
6056
  // src/data-dumps/design-system-dump.ts
6041
- var DesignSystemDump = z187.object({
6057
+ var DesignSystemDump = z188.object({
6042
6058
  designSystem: DesignSystem,
6043
6059
  dataSources: DataSource.array(),
6044
6060
  versions: DesignSystemVersionDump.array(),
@@ -6047,50 +6063,50 @@ var DesignSystemDump = z187.object({
6047
6063
  });
6048
6064
 
6049
6065
  // src/data-dumps/user-data-dump.ts
6050
- import { z as z190 } from "zod";
6066
+ import { z as z191 } from "zod";
6051
6067
 
6052
6068
  // src/data-dumps/workspace-dump.ts
6053
- import { z as z189 } from "zod";
6069
+ import { z as z190 } from "zod";
6054
6070
 
6055
6071
  // 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(),
6072
+ import { z as z189 } from "zod";
6073
+ var IntegrationDesignSystem = z189.object({
6074
+ designSystemId: z189.string(),
6075
+ brandId: z189.string(),
6076
+ title: z189.string().optional(),
6077
+ userId: z189.string().optional(),
6078
+ date: z189.coerce.date().optional()
6079
+ });
6080
+ var IntegrationCredentialsType = z189.enum(["OAuth2", "PAT"]);
6081
+ var IntegrationCredentialsState = z189.enum(["Active", "Inactive"]);
6082
+ var IntegrationCredentialsProfile = z189.object({
6083
+ id: nullishToOptional(z189.string()),
6084
+ email: nullishToOptional(z189.string()),
6085
+ handle: nullishToOptional(z189.string()),
6086
+ type: nullishToOptional(z189.string()),
6087
+ avatarUrl: nullishToOptional(z189.string()),
6088
+ organization: nullishToOptional(z189.string()),
6089
+ collection: nullishToOptional(z189.string())
6090
+ });
6091
+ var IntegrationCredentials = z189.object({
6092
+ id: z189.string(),
6077
6093
  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(),
6094
+ integrationId: z189.string(),
6095
+ accessToken: z189.string(),
6096
+ userId: z189.string(),
6097
+ createdAt: z189.coerce.date(),
6098
+ refreshToken: z189.string().optional(),
6099
+ tokenName: z189.string().optional(),
6100
+ expiresAt: z189.coerce.date().optional(),
6101
+ refreshedAt: z189.coerce.date().optional(),
6102
+ username: z189.string().optional(),
6103
+ appInstallationId: z189.string().optional(),
6088
6104
  profile: IntegrationCredentialsProfile.optional(),
6089
- customUrl: z188.string().optional(),
6105
+ customUrl: z189.string().optional(),
6090
6106
  state: IntegrationCredentialsState,
6091
6107
  user: UserMinified.optional()
6092
6108
  });
6093
- var ExtendedIntegrationType = z188.enum([
6109
+ var ExtendedIntegrationType = z189.enum([
6094
6110
  "Figma",
6095
6111
  "Github",
6096
6112
  "Gitlab",
@@ -6101,26 +6117,26 @@ var ExtendedIntegrationType = z188.enum([
6101
6117
  ]);
6102
6118
  var IntegrationType = ExtendedIntegrationType.exclude(["TokenStudio", "FigmaVariablesPlugin"]);
6103
6119
  var GitIntegrationType = IntegrationType.exclude(["Figma"]);
6104
- var Integration = z188.object({
6105
- id: z188.string(),
6106
- workspaceId: z188.string(),
6120
+ var Integration = z189.object({
6121
+ id: z189.string(),
6122
+ workspaceId: z189.string(),
6107
6123
  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(),
6124
+ createdAt: z189.coerce.date(),
6125
+ integrationCredentials: z189.array(IntegrationCredentials).optional()
6126
+ });
6127
+ var IntegrationToken = z189.object({
6128
+ access_token: z189.string(),
6129
+ refresh_token: z189.string().optional(),
6130
+ expires_in: z189.union([z189.number().optional(), z189.string().optional()]),
6131
+ token_type: z189.string().optional(),
6132
+ token_name: z189.string().optional(),
6133
+ token_azure_organization_name: z189.string().optional(),
6118
6134
  // Azure Cloud PAT only
6119
- token_azure_collection_name: z188.string().optional(),
6135
+ token_azure_collection_name: z189.string().optional(),
6120
6136
  // Azure Server PAT only
6121
- token_bitbucket_username: z188.string().optional(),
6137
+ token_bitbucket_username: z189.string().optional(),
6122
6138
  // Bitbucket only
6123
- custom_url: z188.string().optional().transform((value) => {
6139
+ custom_url: z189.string().optional().transform((value) => {
6124
6140
  if (!value?.trim()) return void 0;
6125
6141
  return formatCustomUrl(value);
6126
6142
  })
@@ -6157,7 +6173,7 @@ function formatCustomUrl(url) {
6157
6173
  }
6158
6174
 
6159
6175
  // src/data-dumps/workspace-dump.ts
6160
- var WorkspaceDump = z189.object({
6176
+ var WorkspaceDump = z190.object({
6161
6177
  workspace: Workspace,
6162
6178
  designSystems: DesignSystemDump.array(),
6163
6179
  codeIntegration: CodeIntegrationDump,
@@ -6165,148 +6181,148 @@ var WorkspaceDump = z189.object({
6165
6181
  });
6166
6182
 
6167
6183
  // src/data-dumps/user-data-dump.ts
6168
- var UserDump = z190.object({
6184
+ var UserDump = z191.object({
6169
6185
  user: User,
6170
6186
  workspaces: WorkspaceDump.array()
6171
6187
  });
6172
6188
 
6173
6189
  // 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()
6190
+ import { z as z192 } from "zod";
6191
+ var NpmProxyToken = z192.object({
6192
+ access: z192.string(),
6193
+ expiresAt: z192.number()
6178
6194
  });
6179
- var SessionData = z191.object({
6180
- returnToUrl: z191.string().optional(),
6195
+ var SessionData = z192.object({
6196
+ returnToUrl: z192.string().optional(),
6181
6197
  npmProxyToken: NpmProxyToken.optional()
6182
6198
  });
6183
- var Session = z191.object({
6184
- id: z191.string(),
6185
- expiresAt: z191.coerce.date(),
6186
- userId: z191.string().nullable(),
6187
- anonymousId: z191.string().nullable(),
6199
+ var Session = z192.object({
6200
+ id: z192.string(),
6201
+ expiresAt: z192.coerce.date(),
6202
+ userId: z192.string().nullable(),
6203
+ anonymousId: z192.string().nullable(),
6188
6204
  data: SessionData
6189
6205
  });
6190
- var AuthTokens = z191.object({
6191
- access: z191.string(),
6192
- refresh: z191.string()
6206
+ var AuthTokens = z192.object({
6207
+ access: z192.string(),
6208
+ refresh: z192.string()
6193
6209
  });
6194
- var UserSession = z191.object({
6210
+ var UserSession = z192.object({
6195
6211
  session: Session,
6196
6212
  user: User.nullable()
6197
6213
  });
6198
6214
 
6199
6215
  // src/emails/design-system-invite.ts
6200
- import { z as z192 } from "zod";
6201
- var DesignSystemInviteEmailRecipient = z192.object({
6202
- email: z192.string(),
6216
+ import { z as z193 } from "zod";
6217
+ var DesignSystemInviteEmailRecipient = z193.object({
6218
+ email: z193.string(),
6203
6219
  role: WorkspaceRoleSchema
6204
6220
  });
6205
- var DesignSystemInviteEmailData = z192.object({
6221
+ var DesignSystemInviteEmailData = z193.object({
6206
6222
  workspace: Workspace,
6207
6223
  designSystem: DesignSystem,
6208
6224
  invitedBy: User,
6209
- documentationDomain: z192.string().optional()
6225
+ documentationDomain: z193.string().optional()
6210
6226
  });
6211
6227
 
6212
6228
  // src/emails/workspace-invite.ts
6213
- import { z as z193 } from "zod";
6214
- var WorkspaceInviteEmailRecipient = z193.object({
6215
- email: z193.string(),
6229
+ import { z as z194 } from "zod";
6230
+ var WorkspaceInviteEmailRecipient = z194.object({
6231
+ email: z194.string(),
6216
6232
  role: WorkspaceRoleSchema
6217
6233
  });
6218
- var WorkspaceInviteEmailData = z193.object({
6234
+ var WorkspaceInviteEmailData = z194.object({
6219
6235
  workspace: Workspace,
6220
6236
  invitedBy: User,
6221
- documentationDomain: z193.string().optional()
6237
+ documentationDomain: z194.string().optional()
6222
6238
  });
6223
6239
 
6224
6240
  // src/events/base.ts
6225
- import { z as z197 } from "zod";
6241
+ import { z as z198 } from "zod";
6226
6242
 
6227
6243
  // 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
6244
  import { z as z195 } from "zod";
6237
- var EventVersionReleased = z195.object({
6238
- type: z195.literal("DesignSystemVersionReleased"),
6245
+ var EventDataSourceImported = z195.object({
6246
+ type: z195.literal("DataSourceImported"),
6239
6247
  workspaceId: z195.string(),
6240
- designSystemId: z195.string(),
6241
- versionId: z195.string()
6248
+ designSystemId: z195.string()
6242
6249
  });
6243
6250
 
6244
- // src/events/documentation-published.ts
6251
+ // src/events/version-released.ts
6245
6252
  import { z as z196 } from "zod";
6246
- var EventDocumentationPublished = z196.object({
6247
- type: z196.literal("DocumentationPublished"),
6253
+ var EventVersionReleased = z196.object({
6254
+ type: z196.literal("DesignSystemVersionReleased"),
6248
6255
  workspaceId: z196.string(),
6249
6256
  designSystemId: z196.string(),
6250
6257
  versionId: z196.string()
6251
6258
  });
6252
6259
 
6260
+ // src/events/documentation-published.ts
6261
+ import { z as z197 } from "zod";
6262
+ var EventDocumentationPublished = z197.object({
6263
+ type: z197.literal("DocumentationPublished"),
6264
+ workspaceId: z197.string(),
6265
+ designSystemId: z197.string(),
6266
+ versionId: z197.string()
6267
+ });
6268
+
6253
6269
  // src/events/base.ts
6254
- var Event = z197.discriminatedUnion("type", [
6270
+ var Event = z198.discriminatedUnion("type", [
6255
6271
  EventVersionReleased,
6256
6272
  EventDataSourceImported,
6257
6273
  EventDocumentationPublished
6258
6274
  ]);
6259
6275
 
6260
6276
  // 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(),
6277
+ import { z as z199 } from "zod";
6278
+ var ExportJobDocumentationContext = z199.object({
6279
+ isSingleVersionDocs: z199.boolean(),
6280
+ versionSlug: z199.string(),
6265
6281
  environment: PublishedDocEnvironment
6266
6282
  });
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(),
6283
+ var ExportJobDebugContext = z199.object({
6284
+ debugMode: z199.boolean().optional(),
6285
+ concurrency: z199.number().optional(),
6286
+ preloadData: z199.string().optional(),
6287
+ concurrencyMode: z199.string().optional(),
6288
+ cacheSdk: z199.string().optional(),
6289
+ logSdkNetwork: z199.boolean().optional(),
6290
+ profilerMode: z199.string().optional()
6291
+ });
6292
+ var ExportJobContext = z199.object({
6293
+ apiUrl: z199.string(),
6294
+ accessToken: z199.string(),
6295
+ designSystemId: z199.string(),
6296
+ designSystemName: z199.string(),
6297
+ exporterId: z199.string(),
6298
+ versionId: z199.string(),
6299
+ brandId: z199.string().optional(),
6300
+ themeId: z199.string().optional(),
6301
+ themePersistentIds: z199.string().array().optional(),
6302
+ previewMode: z199.boolean().optional(),
6303
+ exporterName: z199.string(),
6288
6304
  documentation: ExportJobDocumentationContext.optional(),
6289
6305
  debug: ExportJobDebugContext.optional()
6290
6306
  });
6291
- var ExportJobExporterConfiguration = z198.object({
6292
- exporterPackageUrl: z198.string(),
6307
+ var ExportJobExporterConfiguration = z199.object({
6308
+ exporterPackageUrl: z199.string(),
6293
6309
  exporterPropertyValues: ExporterConfigurationPropertyValue.array(),
6294
6310
  exporterPropertyValuesV2: ExporterPropertyValueMap.optional()
6295
6311
  });
6296
6312
 
6297
6313
  // 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()
6314
+ import { z as z200 } from "zod";
6315
+ var ExporterFunctionPayload = z200.object({
6316
+ exportJobId: z200.string(),
6317
+ exportContextId: z200.string(),
6318
+ designSystemId: z200.string(),
6319
+ workspaceId: z200.string(),
6320
+ exporterId: z200.string()
6305
6321
  });
6306
6322
 
6307
6323
  // src/export/export-jobs.ts
6308
- import { z as z200 } from "zod";
6309
- var ExportJobDestinationType = z200.enum([
6324
+ import { z as z201 } from "zod";
6325
+ var ExportJobDestinationType = z201.enum([
6310
6326
  "s3",
6311
6327
  "webhookUrl",
6312
6328
  "github",
@@ -6315,31 +6331,31 @@ var ExportJobDestinationType = z200.enum([
6315
6331
  "gitlab",
6316
6332
  "bitbucket"
6317
6333
  ]);
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(),
6334
+ var ExportJobStatus = z201.enum(["InProgress", "Success", "Failed", "Timeout"]);
6335
+ var ExportJobLogEntryType = z201.enum(["success", "info", "warning", "error", "user"]);
6336
+ var ExportJobLogEntry = z201.object({
6337
+ id: z201.string().optional(),
6338
+ time: z201.coerce.date(),
6323
6339
  type: ExportJobLogEntryType,
6324
- message: z200.string()
6340
+ message: z201.string()
6325
6341
  });
6326
- var ExportJobPullRequestDestinationResult = z200.object({
6327
- pullRequestUrl: z200.string(),
6328
- sparseCheckoutUsed: nullishToOptional(z200.boolean())
6342
+ var ExportJobPullRequestDestinationResult = z201.object({
6343
+ pullRequestUrl: z201.string(),
6344
+ sparseCheckoutUsed: nullishToOptional(z201.boolean())
6329
6345
  });
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())
6346
+ var ExportJobS3DestinationResult = z201.object({
6347
+ bucket: z201.string(),
6348
+ urlPrefix: z201.string().optional(),
6349
+ path: z201.string(),
6350
+ files: z201.array(z201.string()),
6351
+ url: nullishToOptional(z201.string()),
6352
+ urls: nullishToOptional(z201.string().array())
6337
6353
  });
6338
- var ExportJobDocsDestinationResult = z200.object({
6339
- url: z200.string()
6354
+ var ExportJobDocsDestinationResult = z201.object({
6355
+ url: z201.string()
6340
6356
  });
6341
- var ExportJobResult = z200.object({
6342
- error: z200.string().optional(),
6357
+ var ExportJobResult = z201.object({
6358
+ error: z201.string().optional(),
6343
6359
  s3: nullishToOptional(ExportJobS3DestinationResult),
6344
6360
  github: nullishToOptional(ExportJobPullRequestDestinationResult),
6345
6361
  azure: nullishToOptional(ExportJobPullRequestDestinationResult),
@@ -6348,25 +6364,25 @@ var ExportJobResult = z200.object({
6348
6364
  sndocs: nullishToOptional(ExportJobDocsDestinationResult),
6349
6365
  logs: nullishToOptional(ExportJobLogEntry.array())
6350
6366
  });
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(),
6367
+ var ExportJob = z201.object({
6368
+ id: z201.string(),
6369
+ createdAt: z201.coerce.date(),
6370
+ finishedAt: z201.coerce.date().optional(),
6371
+ designSystemId: z201.string(),
6372
+ designSystemVersionId: z201.string(),
6373
+ workspaceId: z201.string(),
6374
+ scheduleId: z201.string().nullish(),
6375
+ exporterId: z201.string(),
6376
+ brandId: z201.string().optional(),
6377
+ themeId: z201.string().optional(),
6378
+ themePersistentIds: z201.string().array().optional(),
6379
+ estimatedExecutionTime: z201.number().optional(),
6364
6380
  status: ExportJobStatus,
6365
6381
  result: ExportJobResult.optional(),
6366
- createdByUserId: z200.string().optional(),
6382
+ createdByUserId: z201.string().optional(),
6367
6383
  exporterPropertyValues: ExporterPropertyValueMap.optional(),
6368
- previewMode: z200.boolean().optional(),
6369
- exportContextId: z200.string().optional().nullable(),
6384
+ previewMode: z201.boolean().optional(),
6385
+ exportContextId: z201.string().optional().nullable(),
6370
6386
  // Destinations
6371
6387
  ...ExportDestinationsMap.shape
6372
6388
  });
@@ -6380,37 +6396,37 @@ var ExportJobFindByFilter = ExportJob.pick({
6380
6396
  themeId: true,
6381
6397
  brandId: true
6382
6398
  }).extend({
6383
- destinations: z200.array(ExportJobDestinationType),
6399
+ destinations: z201.array(ExportJobDestinationType),
6384
6400
  docsEnvironment: PublishedDocEnvironment,
6385
- selectivePublishing: z200.boolean().optional()
6401
+ selectivePublishing: z201.boolean().optional()
6386
6402
  }).partial();
6387
6403
 
6388
6404
  // 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(),
6405
+ import { z as z202 } from "zod";
6406
+ var ExporterType2 = z202.enum(["documentation", "code"]);
6407
+ var ListExporterQuery = z202.object({
6408
+ limit: z202.number().optional(),
6409
+ offset: z202.number().optional(),
6394
6410
  type: ExporterType2.optional(),
6395
- search: z201.string().optional()
6411
+ search: z202.string().optional()
6396
6412
  });
6397
6413
 
6398
6414
  // src/export/exporter-workspace-membership-role.ts
6399
- import { z as z202 } from "zod";
6400
- var ExporterWorkspaceMembershipRole = z202.enum(["Owner", "OwnerArchived", "User"]);
6415
+ import { z as z203 } from "zod";
6416
+ var ExporterWorkspaceMembershipRole = z203.enum(["Owner", "OwnerArchived", "User"]);
6401
6417
 
6402
6418
  // 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(),
6419
+ import { z as z204 } from "zod";
6420
+ var ExporterWorkspaceMembership = z204.object({
6421
+ id: z204.string(),
6422
+ workspaceId: z204.string(),
6423
+ exporterId: z204.string(),
6408
6424
  role: ExporterWorkspaceMembershipRole
6409
6425
  });
6410
6426
 
6411
6427
  // src/feature-flags/feature-flags.ts
6412
- import { z as z204 } from "zod";
6413
- var FlaggedFeature = z204.enum([
6428
+ import { z as z205 } from "zod";
6429
+ var FlaggedFeature = z205.enum([
6414
6430
  "FigmaImporterV2",
6415
6431
  "DisableImporter",
6416
6432
  "VariablesOrder",
@@ -6433,21 +6449,21 @@ var FlaggedFeature = z204.enum([
6433
6449
  var FeatureFlagDefaults = {
6434
6450
  DocumentationIgnoreSnapshotsOnPublish: "route-bff+route-p3"
6435
6451
  };
6436
- var FeatureFlagMap = z204.record(FlaggedFeature, z204.boolean());
6437
- var FeatureFlag = z204.object({
6438
- id: z204.string(),
6452
+ var FeatureFlagMap = z205.record(FlaggedFeature, z205.boolean());
6453
+ var FeatureFlag = z205.object({
6454
+ id: z205.string(),
6439
6455
  feature: FlaggedFeature,
6440
- createdAt: z204.coerce.date(),
6441
- enabled: z204.boolean(),
6442
- designSystemId: z204.string().optional(),
6443
- data: z204.record(z204.any()).nullable().optional()
6456
+ createdAt: z205.coerce.date(),
6457
+ enabled: z205.boolean(),
6458
+ designSystemId: z205.string().optional(),
6459
+ data: z205.record(z205.any()).nullable().optional()
6444
6460
  });
6445
6461
 
6446
6462
  // src/integrations/external-oauth-request.ts
6447
- import { z as z206 } from "zod";
6463
+ import { z as z207 } from "zod";
6448
6464
 
6449
6465
  // src/integrations/oauth-providers.ts
6450
- import { z as z205 } from "zod";
6466
+ import { z as z206 } from "zod";
6451
6467
  var OAuthProviderNames = /* @__PURE__ */ ((OAuthProviderNames2) => {
6452
6468
  OAuthProviderNames2["Figma"] = "figma";
6453
6469
  OAuthProviderNames2["Azure"] = "azure";
@@ -6456,152 +6472,152 @@ var OAuthProviderNames = /* @__PURE__ */ ((OAuthProviderNames2) => {
6456
6472
  OAuthProviderNames2["Bitbucket"] = "bitbucket";
6457
6473
  return OAuthProviderNames2;
6458
6474
  })(OAuthProviderNames || {});
6459
- var OAuthProviderSchema = z205.nativeEnum(OAuthProviderNames);
6475
+ var OAuthProviderSchema = z206.nativeEnum(OAuthProviderNames);
6460
6476
  var OAuthProvider = OAuthProviderSchema.enum;
6461
6477
 
6462
6478
  // src/integrations/external-oauth-request.ts
6463
- var ExternalOAuthRequest = z206.object({
6464
- id: z206.string(),
6479
+ var ExternalOAuthRequest = z207.object({
6480
+ id: z207.string(),
6465
6481
  provider: OAuthProviderSchema,
6466
- userId: z206.string(),
6467
- state: z206.string(),
6468
- createdAt: z206.coerce.date()
6482
+ userId: z207.string(),
6483
+ state: z207.string(),
6484
+ createdAt: z207.coerce.date()
6469
6485
  });
6470
6486
 
6471
6487
  // src/integrations/git.ts
6472
- import { z as z207 } from "zod";
6473
- var GitObjectsQuery = z207.object({
6474
- organization: z207.string().optional(),
6488
+ import { z as z208 } from "zod";
6489
+ var GitObjectsQuery = z208.object({
6490
+ organization: z208.string().optional(),
6475
6491
  // Azure Organization | Bitbucket Workspace slug | Gitlab Group | Github Account (User or Organization)
6476
- project: z207.string().optional(),
6492
+ project: z208.string().optional(),
6477
6493
  // Only for Bitbucket and Azure
6478
- repository: z207.string().optional(),
6494
+ repository: z208.string().optional(),
6479
6495
  // For all providers. For Gitlab, it's called "project".
6480
- branch: z207.string().optional(),
6496
+ branch: z208.string().optional(),
6481
6497
  // For all providers.
6482
- user: z207.string().optional()
6498
+ user: z208.string().optional()
6483
6499
  // Gitlab user
6484
6500
  });
6485
- var GitOrganization = z207.object({
6486
- id: z207.string(),
6487
- name: z207.string(),
6488
- url: z207.string(),
6489
- slug: z207.string()
6501
+ var GitOrganization = z208.object({
6502
+ id: z208.string(),
6503
+ name: z208.string(),
6504
+ url: z208.string(),
6505
+ slug: z208.string()
6490
6506
  });
6491
- var GitProject = z207.object({
6492
- id: z207.string(),
6493
- name: z207.string(),
6494
- url: z207.string(),
6495
- slug: z207.string()
6507
+ var GitProject = z208.object({
6508
+ id: z208.string(),
6509
+ name: z208.string(),
6510
+ url: z208.string(),
6511
+ slug: z208.string()
6496
6512
  });
6497
- var GitRepository = z207.object({
6498
- id: z207.string(),
6499
- name: z207.string(),
6500
- url: z207.string(),
6501
- slug: z207.string(),
6513
+ var GitRepository = z208.object({
6514
+ id: z208.string(),
6515
+ name: z208.string(),
6516
+ url: z208.string(),
6517
+ slug: z208.string(),
6502
6518
  /**
6503
6519
  * Can be undefined when:
6504
6520
  * - there are no branches in the repository yet
6505
6521
  * - Git provider doesn't expose this information on a repository via their API
6506
6522
  */
6507
- defaultBranch: z207.string().optional()
6523
+ defaultBranch: z208.string().optional()
6508
6524
  });
6509
- var GitBranch = z207.object({
6510
- name: z207.string(),
6511
- lastCommitId: z207.string()
6525
+ var GitBranch = z208.object({
6526
+ name: z208.string(),
6527
+ lastCommitId: z208.string()
6512
6528
  });
6513
6529
 
6514
6530
  // src/integrations/oauth-token.ts
6515
- import { z as z208 } from "zod";
6516
- var IntegrationTokenSchemaOld = z208.object({
6517
- id: z208.string(),
6531
+ import { z as z209 } from "zod";
6532
+ var IntegrationTokenSchemaOld = z209.object({
6533
+ id: z209.string(),
6518
6534
  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()
6535
+ scope: z209.string(),
6536
+ userId: z209.string(),
6537
+ accessToken: z209.string(),
6538
+ refreshToken: z209.string(),
6539
+ expiresAt: z209.coerce.date(),
6540
+ externalUserId: z209.string().nullish()
6525
6541
  });
6526
6542
 
6527
6543
  // 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(),
6544
+ import { z as z210 } from "zod";
6545
+ var WorkspaceOAuthRequestSchema = z210.object({
6546
+ id: z210.string(),
6547
+ workspaceId: z210.string(),
6532
6548
  provider: OAuthProviderSchema,
6533
- userId: z209.string(),
6534
- createdAt: z209.coerce.date()
6549
+ userId: z210.string(),
6550
+ createdAt: z210.coerce.date()
6535
6551
  });
6536
6552
 
6537
6553
  // src/npm/npm-package.ts
6538
- import { z as z210 } from "zod";
6539
- var AnyRecord = z210.record(z210.any());
6554
+ import { z as z211 } from "zod";
6555
+ var AnyRecord = z211.record(z211.any());
6540
6556
  var NpmPackageVersionDist = AnyRecord.and(
6541
- z210.object({
6542
- tarball: z210.string()
6557
+ z211.object({
6558
+ tarball: z211.string()
6543
6559
  })
6544
6560
  );
6545
6561
  var NpmPackageVersion = AnyRecord.and(
6546
- z210.object({
6562
+ z211.object({
6547
6563
  dist: NpmPackageVersionDist
6548
6564
  })
6549
6565
  );
6550
6566
  var NpmPackage = AnyRecord.and(
6551
- z210.object({
6552
- _id: z210.string(),
6553
- name: z210.string(),
6567
+ z211.object({
6568
+ _id: z211.string(),
6569
+ name: z211.string(),
6554
6570
  // e.g. "latest": "1.2.3"
6555
- "dist-tags": z210.record(z210.string(), z210.string()),
6571
+ "dist-tags": z211.record(z211.string(), z211.string()),
6556
6572
  // "1.2.3": {...}
6557
- versions: z210.record(NpmPackageVersion)
6573
+ versions: z211.record(NpmPackageVersion)
6558
6574
  })
6559
6575
  );
6560
6576
 
6561
6577
  // src/npm/npm-proxy-token-payload.ts
6562
- import { z as z211 } from "zod";
6563
- var NpmProxyTokenPayload = z211.object({
6564
- npmProxyRegistryConfigId: z211.string()
6578
+ import { z as z212 } from "zod";
6579
+ var NpmProxyTokenPayload = z212.object({
6580
+ npmProxyRegistryConfigId: z212.string()
6565
6581
  });
6566
6582
 
6567
6583
  // src/portal/portal-settings.ts
6568
- import { z as z212 } from "zod";
6584
+ import { z as z213 } from "zod";
6569
6585
  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()),
6586
+ var PortalSettingsSidebarLink = z213.object({
6587
+ name: z213.string(),
6588
+ url: z213.string(),
6589
+ emoji: z213.string()
6590
+ });
6591
+ var PortalSettingsSidebarSection = z213.object({
6592
+ sectionName: z213.string(),
6593
+ links: z213.array(PortalSettingsSidebarLink)
6594
+ });
6595
+ var PortalSettingsSidebar = z213.array(PortalSettingsSidebarSection);
6596
+ var PortalSettings = z213.object({
6597
+ id: z213.string(),
6598
+ workspaceId: z213.string(),
6599
+ enabledDesignSystemIds: z213.array(z213.string()),
6600
+ enabledBrandPersistentIds: z213.array(z213.string()),
6585
6601
  theme: PortalSettingsTheme.nullish(),
6586
6602
  sidebar: PortalSettingsSidebar.nullish(),
6587
- createdAt: z212.coerce.date(),
6588
- updatedAt: z212.coerce.date()
6603
+ createdAt: z213.coerce.date(),
6604
+ updatedAt: z213.coerce.date()
6589
6605
  });
6590
6606
 
6591
6607
  // 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(),
6608
+ import { z as z214 } from "zod";
6609
+ var PersonalAccessToken = z214.object({
6610
+ id: z214.string(),
6611
+ userId: z214.string(),
6612
+ workspaceId: z214.string().optional(),
6613
+ designSystemId: z214.string().optional(),
6598
6614
  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()
6615
+ name: z214.string(),
6616
+ hidden: z214.boolean(),
6617
+ token: z214.string(),
6618
+ scope: z214.string().optional(),
6619
+ createdAt: z214.coerce.date(),
6620
+ expireAt: z214.coerce.date().optional()
6605
6621
  });
6606
6622
  export {
6607
6623
  Address,
@@ -6944,7 +6960,9 @@ export {
6944
6960
  ForgeProjectRoom,
6945
6961
  ForgeProjectRoomInitialState,
6946
6962
  ForgeProjectRoomUpdate,
6963
+ ForgeProjectSectionChildType,
6947
6964
  ForgeProjectTag,
6965
+ ForgeSection,
6948
6966
  ForgeSpecArtifact,
6949
6967
  GitBranch,
6950
6968
  GitCommonDestinationOptions,
@@ -7237,6 +7255,7 @@ export {
7237
7255
  SizeTokenData,
7238
7256
  SizeUnit,
7239
7257
  SizeValue,
7258
+ SortOrder,
7240
7259
  SourceImportComponentSummary,
7241
7260
  SourceImportFrameSummary,
7242
7261
  SourceImportStorybookSummary,