@supernova-studio/client 1.10.25 → 1.11.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
@@ -8981,17 +8981,65 @@ var DTODeleteForgeIterationMessageResponse = z304.object({
8981
8981
  ok: z304.literal(true)
8982
8982
  });
8983
8983
 
8984
- // src/api/dto/forge/project-artifact-room.ts
8985
- import { z as z305 } from "zod";
8986
- var DTOForgeProjectArtifactRoom = z305.object({
8984
+ // src/api/dto/forge/project-action.ts
8985
+ import z306 from "zod";
8986
+
8987
+ // src/api/dto/forge/project-feature.ts
8988
+ import z305 from "zod";
8989
+ var DTOForgeProjectFeature = z305.object({
8990
+ id: z305.string(),
8991
+ name: z305.string(),
8992
+ description: z305.string(),
8993
+ isArchived: z305.boolean()
8994
+ });
8995
+ var DTOForgeProjectFeatureListResponse = z305.object({
8996
+ features: DTOForgeProjectFeature.array()
8997
+ });
8998
+ var DTOForgeProjectFeatureCreateInput = z305.object({
8999
+ id: z305.string(),
9000
+ name: z305.string(),
9001
+ description: z305.string()
9002
+ });
9003
+ var DTOForgeProjectFeatureUpdateInput = z305.object({
9004
+ id: z305.string(),
9005
+ name: z305.string().optional(),
9006
+ description: z305.string().optional(),
9007
+ isArchived: z305.boolean().optional()
9008
+ });
9009
+ var DTOForgeProjectFeatureDeleteInput = z305.object({
8987
9010
  id: z305.string()
8988
9011
  });
8989
- var DTOForgeProjectArtifactRoomResponse = z305.object({
9012
+
9013
+ // src/api/dto/forge/project-action.ts
9014
+ var DTOForgeProjectActionFeatureCreate = z306.object({
9015
+ type: z306.literal("FeatureCreate"),
9016
+ input: DTOForgeProjectFeatureCreateInput
9017
+ });
9018
+ var DTOForgeProjectActionFeatureUpdate = z306.object({
9019
+ type: z306.literal("FeatureUpdate"),
9020
+ input: DTOForgeProjectFeatureCreateInput
9021
+ });
9022
+ var DTOForgeProjectActionFeatureDelete = z306.object({
9023
+ type: z306.literal("FeatureDelete"),
9024
+ input: DTOForgeProjectFeatureDeleteInput
9025
+ });
9026
+ var DTOForgeProjectAction = z306.discriminatedUnion("type", [
9027
+ DTOForgeProjectActionFeatureCreate,
9028
+ DTOForgeProjectActionFeatureUpdate,
9029
+ DTOForgeProjectActionFeatureDelete
9030
+ ]);
9031
+
9032
+ // src/api/dto/forge/project-artifact-room.ts
9033
+ import { z as z307 } from "zod";
9034
+ var DTOForgeProjectArtifactRoom = z307.object({
9035
+ id: z307.string()
9036
+ });
9037
+ var DTOForgeProjectArtifactRoomResponse = z307.object({
8990
9038
  room: DTOForgeProjectArtifactRoom
8991
9039
  });
8992
9040
 
8993
9041
  // src/api/dto/forge/project-artifact.ts
8994
- import { z as z306 } from "zod";
9042
+ import { z as z308 } from "zod";
8995
9043
  var omitProps = {
8996
9044
  id: true,
8997
9045
  projectId: true,
@@ -9005,24 +9053,24 @@ var DTOForgeProjectArtifactUpdate = DTOForgeProjectArtifact.omit({
9005
9053
  iterationId: true
9006
9054
  }).partial();
9007
9055
  var DTOForgeProjectArtifactCreate = DTOForgeProjectArtifact.omit(omitProps);
9008
- var DTOForgeProjectArtifactGetResponse = z306.object({
9056
+ var DTOForgeProjectArtifactGetResponse = z308.object({
9009
9057
  artifact: DTOForgeProjectArtifact
9010
9058
  });
9011
- var DTOForgeProjectArtifactCreateResponse = z306.object({
9059
+ var DTOForgeProjectArtifactCreateResponse = z308.object({
9012
9060
  artifact: DTOForgeProjectArtifact
9013
9061
  });
9014
- var DTOForgeProjectArtifactUpdateResponse = z306.object({
9062
+ var DTOForgeProjectArtifactUpdateResponse = z308.object({
9015
9063
  artifact: DTOForgeProjectArtifact
9016
9064
  });
9017
- var DTOForgeProjectArtifactDeleteResponse = z306.object({
9018
- ok: z306.literal(true)
9065
+ var DTOForgeProjectArtifactDeleteResponse = z308.object({
9066
+ ok: z308.literal(true)
9019
9067
  });
9020
- var DTOForgeProjectArtifactsListResponse = z306.object({
9021
- artifacts: z306.array(DTOForgeProjectArtifact)
9068
+ var DTOForgeProjectArtifactsListResponse = z308.object({
9069
+ artifacts: z308.array(DTOForgeProjectArtifact)
9022
9070
  });
9023
9071
 
9024
9072
  // src/api/dto/forge/project-context.ts
9025
- import { z as z307 } from "zod";
9073
+ import { z as z309 } from "zod";
9026
9074
  var DTOForgeProjectContext = ForgeProjectContext;
9027
9075
  var DTOCreateForgeProjectContext = DTOForgeProjectContext.pick({
9028
9076
  definition: true,
@@ -9034,17 +9082,17 @@ var DTOCreateForgeProjectContext = DTOForgeProjectContext.pick({
9034
9082
  tailwindConfig: true,
9035
9083
  styling: true
9036
9084
  }).extend({ npmProxySettings: DTONpmRegistryConfig });
9037
- var DTOUpdateForgeProjectContext = DTOForgeProjectContext.extend({ id: z307.string() });
9038
- var DTOForgeProjectContextGetResponse = z307.object({ context: DTOForgeProjectContext.nullable() });
9039
- var DTOForgeProjectContextListResponse = z307.object({ contexts: z307.array(DTOForgeProjectContext) });
9040
- var DTOForgeProjectContextCreateResponse = z307.object({ context: DTOForgeProjectContext });
9041
- var DTOForgeProjectContextUpdateResponse = z307.object({ context: DTOForgeProjectContext.nullable() });
9042
- var DTOForgeProjectContextRemoveResponse = z307.object({
9043
- ok: z307.literal(true)
9085
+ var DTOUpdateForgeProjectContext = DTOForgeProjectContext.extend({ id: z309.string() });
9086
+ var DTOForgeProjectContextGetResponse = z309.object({ context: DTOForgeProjectContext.nullable() });
9087
+ var DTOForgeProjectContextListResponse = z309.object({ contexts: z309.array(DTOForgeProjectContext) });
9088
+ var DTOForgeProjectContextCreateResponse = z309.object({ context: DTOForgeProjectContext });
9089
+ var DTOForgeProjectContextUpdateResponse = z309.object({ context: DTOForgeProjectContext.nullable() });
9090
+ var DTOForgeProjectContextRemoveResponse = z309.object({
9091
+ ok: z309.literal(true)
9044
9092
  });
9045
9093
 
9046
9094
  // src/api/dto/forge/project-invitation.ts
9047
- import { z as z308 } from "zod";
9095
+ import { z as z310 } from "zod";
9048
9096
  var DTOForgeProjectInvitation = ForgeProjectInvitation;
9049
9097
  var DTOCreateForgeProjectInvitation = DTOForgeProjectInvitation.pick({
9050
9098
  email: true,
@@ -9056,24 +9104,24 @@ var DTOUpdateForgeProjectInvitation = DTOCreateForgeProjectInvitation.omit({ ema
9056
9104
  var DTORemoveForgeProjectInvitation = DTOCreateForgeProjectInvitation.pick({
9057
9105
  email: true
9058
9106
  });
9059
- var DTOForgeProjectInvitationsListResponse = z308.object({
9060
- invitations: z308.array(DTOForgeProjectInvitation)
9107
+ var DTOForgeProjectInvitationsListResponse = z310.object({
9108
+ invitations: z310.array(DTOForgeProjectInvitation)
9061
9109
  });
9062
- var DTOForgeProjectInvitationGetResponse = z308.object({
9110
+ var DTOForgeProjectInvitationGetResponse = z310.object({
9063
9111
  invitation: DTOForgeProjectInvitation.nullable()
9064
9112
  });
9065
- var DTOForgeProjectInvitationCreateResponse = z308.object({
9113
+ var DTOForgeProjectInvitationCreateResponse = z310.object({
9066
9114
  invitation: DTOForgeProjectInvitation
9067
9115
  });
9068
- var DTOForgeProjectInvitationUpdateResponse = z308.object({
9116
+ var DTOForgeProjectInvitationUpdateResponse = z310.object({
9069
9117
  invitation: DTOForgeProjectInvitation.nullable()
9070
9118
  });
9071
- var DTOForgeProjectInvitationRemoveResponse = z308.object({
9072
- ok: z308.literal(true)
9119
+ var DTOForgeProjectInvitationRemoveResponse = z310.object({
9120
+ ok: z310.literal(true)
9073
9121
  });
9074
9122
 
9075
9123
  // src/api/dto/forge/project-iteration.ts
9076
- import { z as z309 } from "zod";
9124
+ import { z as z311 } from "zod";
9077
9125
  var DTOForgeProjectIterationMergeMeta = ForgeProjectIterationMergeMeta;
9078
9126
  var DTOForgeProjectIteration = ForgeProjectIteration.omit({
9079
9127
  artifacts: true,
@@ -9084,7 +9132,7 @@ var DTOForgeProjectIteration = ForgeProjectIteration.omit({
9084
9132
  messages: DTOForgeIterationMessage.array(),
9085
9133
  mergeMeta: DTOForgeProjectIterationMergeMeta.optional()
9086
9134
  });
9087
- var DTOGetForgeProjectIterationResponse = z309.object({
9135
+ var DTOGetForgeProjectIterationResponse = z311.object({
9088
9136
  iteration: DTOForgeProjectIteration.nullable()
9089
9137
  });
9090
9138
  var DTOCreateForgeProjectIteration = DTOForgeProjectIteration.omit({
@@ -9094,20 +9142,20 @@ var DTOCreateForgeProjectIteration = DTOForgeProjectIteration.omit({
9094
9142
  mergeMeta: true,
9095
9143
  createdAt: true
9096
9144
  });
9097
- var DTOUpdateForgeProjectIteration = DTOCreateForgeProjectIteration.extend({ id: z309.string() });
9098
- var DTOCreateForgeProjectIterationResponse = z309.object({
9145
+ var DTOUpdateForgeProjectIteration = DTOCreateForgeProjectIteration.extend({ id: z311.string() });
9146
+ var DTOCreateForgeProjectIterationResponse = z311.object({
9099
9147
  iteration: DTOForgeProjectIteration
9100
9148
  });
9101
- var DTOUpdateForgeProjectIterationResponse = z309.object({
9149
+ var DTOUpdateForgeProjectIterationResponse = z311.object({
9102
9150
  iteration: DTOForgeProjectIteration.nullable()
9103
9151
  });
9104
- var DTODeleteForgeProjectIterationResponse = z309.object({
9105
- ok: z309.literal(true)
9152
+ var DTODeleteForgeProjectIterationResponse = z311.object({
9153
+ ok: z311.literal(true)
9106
9154
  });
9107
- var DTOForgeProjectIterationListResponse = z309.object({ iterations: z309.array(DTOForgeProjectIteration) });
9155
+ var DTOForgeProjectIterationListResponse = z311.object({ iterations: z311.array(DTOForgeProjectIteration) });
9108
9156
 
9109
9157
  // src/api/dto/forge/project-member.ts
9110
- import { z as z310 } from "zod";
9158
+ import { z as z312 } from "zod";
9111
9159
  var DTOForgeProjectMemberRole = ForgeProjectRole;
9112
9160
  var DTOForgeProjectMember = ForgeProjectMembership.extend({
9113
9161
  user: DTOUser,
@@ -9121,36 +9169,36 @@ var DTOUpdateForgeProjectMember = DTOCreateForgeProjectMember.omit({ userId: tru
9121
9169
  var DTORemoveForgeProjectMember = DTOForgeProjectMember.pick({
9122
9170
  userId: true
9123
9171
  });
9124
- var DTOForgeProjectMembersListResponse = z310.object({
9125
- members: z310.array(DTOForgeProjectMember)
9172
+ var DTOForgeProjectMembersListResponse = z312.object({
9173
+ members: z312.array(DTOForgeProjectMember)
9126
9174
  });
9127
- var DTOForgeProjectMemberGetResponse = z310.object({
9175
+ var DTOForgeProjectMemberGetResponse = z312.object({
9128
9176
  member: DTOForgeProjectMember.nullable()
9129
9177
  });
9130
- var DTOForgeProjectMemberCreateResponse = z310.object({
9178
+ var DTOForgeProjectMemberCreateResponse = z312.object({
9131
9179
  member: DTOForgeProjectMember
9132
9180
  });
9133
- var DTOForgeProjectMemberUpdateResponse = z310.object({
9181
+ var DTOForgeProjectMemberUpdateResponse = z312.object({
9134
9182
  member: DTOForgeProjectMember.nullable()
9135
9183
  });
9136
- var DTOForgeProjectMemberRemoveResponse = z310.object({
9137
- ok: z310.literal(true)
9184
+ var DTOForgeProjectMemberRemoveResponse = z312.object({
9185
+ ok: z312.literal(true)
9138
9186
  });
9139
9187
 
9140
9188
  // src/api/dto/forge/project-room.ts
9141
- import { z as z311 } from "zod";
9142
- var DTOForgeProjectRoom = z311.object({
9143
- id: z311.string()
9189
+ import { z as z313 } from "zod";
9190
+ var DTOForgeProjectRoom = z313.object({
9191
+ id: z313.string()
9144
9192
  });
9145
- var DTOForgeProjectRoomResponse = z311.object({
9193
+ var DTOForgeProjectRoomResponse = z313.object({
9146
9194
  room: DTOForgeProjectRoom
9147
9195
  });
9148
9196
 
9149
9197
  // src/api/dto/forge/project.ts
9150
- import { z as z312 } from "zod";
9198
+ import { z as z314 } from "zod";
9151
9199
  var DTOForgeProject = ForgeProject.omit({ fpContextId: true }).extend({
9152
9200
  context: ForgeProjectContext,
9153
- members: z312.array(DTOForgeProjectMember)
9201
+ members: z314.array(DTOForgeProjectMember)
9154
9202
  });
9155
9203
  var DTOCreateForgeProject = ForgeProject.pick({
9156
9204
  instruction: true,
@@ -9162,156 +9210,156 @@ var DTOCreateForgeProject = ForgeProject.pick({
9162
9210
  isArchived: true
9163
9211
  });
9164
9212
  var DTOUpdateForgeProject = DTOCreateForgeProject.partial().extend({
9165
- id: z312.string(),
9166
- membersToRetain: z312.string().array().min(1).optional()
9213
+ id: z314.string(),
9214
+ membersToRetain: z314.string().array().min(1).optional()
9167
9215
  });
9168
- var DTOForgeProjectGetResponse = z312.object({ project: DTOForgeProject.nullable() });
9169
- var DTOForgeProjectsListResponse = z312.object({ projects: z312.array(DTOForgeProject) });
9170
- var DTOCreateForgeProjectResponse = z312.object({
9216
+ var DTOForgeProjectGetResponse = z314.object({ project: DTOForgeProject.nullable() });
9217
+ var DTOForgeProjectsListResponse = z314.object({ projects: z314.array(DTOForgeProject) });
9218
+ var DTOCreateForgeProjectResponse = z314.object({
9171
9219
  project: DTOForgeProject
9172
9220
  });
9173
- var DTOUpdateForgeProjectResponse = z312.object({
9221
+ var DTOUpdateForgeProjectResponse = z314.object({
9174
9222
  project: DTOForgeProject.nullable()
9175
9223
  });
9176
- var DTOUGetForgeProjectResponse = z312.object({
9224
+ var DTOUGetForgeProjectResponse = z314.object({
9177
9225
  project: DTOForgeProject
9178
9226
  });
9179
- var DTORemoveForgeProjectResponse = z312.object({ ok: z312.literal(true) });
9227
+ var DTORemoveForgeProjectResponse = z314.object({ ok: z314.literal(true) });
9180
9228
 
9181
9229
  // src/api/dto/forge/threads.ts
9182
- import { z as z313 } from "zod";
9230
+ import { z as z315 } from "zod";
9183
9231
  var DTOForgeChatMessage = ForgeChatMessage;
9184
9232
  var DTOForgeChatThread = ForgeChatThread;
9185
9233
  var DTOForgeChatMessageSenderType = ForgeChatMessageSenderType;
9186
9234
  var DTOForgeChatMessageSender = ForgeChatMessageSender;
9187
- var DTOForgeChatThreadCreateInput = z313.object({
9188
- title: z313.string().optional()
9235
+ var DTOForgeChatThreadCreateInput = z315.object({
9236
+ title: z315.string().optional()
9189
9237
  });
9190
- var DTOForgeChatThreadCreateResponse = z313.object({
9238
+ var DTOForgeChatThreadCreateResponse = z315.object({
9191
9239
  thread: DTOForgeChatThread
9192
9240
  });
9193
- var DTOForgeChatThreadUpdateInput = z313.object({
9194
- title: z313.string()
9241
+ var DTOForgeChatThreadUpdateInput = z315.object({
9242
+ title: z315.string()
9195
9243
  });
9196
- var DTOForgeChatThreadUpdateResponse = z313.object({
9244
+ var DTOForgeChatThreadUpdateResponse = z315.object({
9197
9245
  thread: DTOForgeChatThread
9198
9246
  });
9199
- var DTOForgeChatThreadDeleteResponse = z313.object({
9200
- success: z313.boolean()
9247
+ var DTOForgeChatThreadDeleteResponse = z315.object({
9248
+ success: z315.boolean()
9201
9249
  });
9202
- var DTOForgeChatThreadListQuery = z313.object({
9203
- limit: z313.number().optional(),
9204
- offset: z313.number().optional()
9250
+ var DTOForgeChatThreadListQuery = z315.object({
9251
+ limit: z315.number().optional(),
9252
+ offset: z315.number().optional()
9205
9253
  });
9206
- var DTOForgeChatThreadListResponse = z313.object({
9207
- threads: z313.array(DTOForgeChatThread),
9208
- pagination: z313.object({
9209
- offset: z313.number(),
9210
- limit: z313.number(),
9211
- total: z313.number()
9254
+ var DTOForgeChatThreadListResponse = z315.object({
9255
+ threads: z315.array(DTOForgeChatThread),
9256
+ pagination: z315.object({
9257
+ offset: z315.number(),
9258
+ limit: z315.number(),
9259
+ total: z315.number()
9212
9260
  })
9213
9261
  });
9214
- var DTOForgeChatMessageCreateInput = z313.object({
9215
- payload: z313.string(),
9262
+ var DTOForgeChatMessageCreateInput = z315.object({
9263
+ payload: z315.string(),
9216
9264
  sender: DTOForgeChatMessageSender.optional(),
9217
- opikTraceId: z313.string().optional()
9265
+ opikTraceId: z315.string().optional()
9218
9266
  });
9219
- var DTOForgeChatMessageCreateResponse = z313.object({
9267
+ var DTOForgeChatMessageCreateResponse = z315.object({
9220
9268
  message: DTOForgeChatMessage
9221
9269
  });
9222
- var DTOForgeChatMessageListQuery = z313.object({
9223
- limit: z313.string().optional().transform((val) => val ? parseInt(val, 10) : void 0),
9224
- offset: z313.string().optional().transform((val) => val ? parseInt(val, 10) : void 0)
9270
+ var DTOForgeChatMessageListQuery = z315.object({
9271
+ limit: z315.string().optional().transform((val) => val ? parseInt(val, 10) : void 0),
9272
+ offset: z315.string().optional().transform((val) => val ? parseInt(val, 10) : void 0)
9225
9273
  });
9226
- var DTOForgeChatMessageListResponse = z313.object({
9227
- messages: z313.array(DTOForgeChatMessage),
9228
- totalCount: z313.number(),
9229
- hasMore: z313.boolean()
9274
+ var DTOForgeChatMessageListResponse = z315.object({
9275
+ messages: z315.array(DTOForgeChatMessage),
9276
+ totalCount: z315.number(),
9277
+ hasMore: z315.boolean()
9230
9278
  });
9231
- var DTOForgeChatMessageScoreInput = z313.object({
9232
- messageId: z313.string(),
9233
- name: z313.string(),
9234
- value: z313.number(),
9235
- categoryName: z313.string().optional(),
9236
- reason: z313.string().optional()
9279
+ var DTOForgeChatMessageScoreInput = z315.object({
9280
+ messageId: z315.string(),
9281
+ name: z315.string(),
9282
+ value: z315.number(),
9283
+ categoryName: z315.string().optional(),
9284
+ reason: z315.string().optional()
9237
9285
  });
9238
- var DTOForgeChatMessageTagInput = z313.object({
9239
- messageId: z313.string(),
9240
- tags: z313.array(z313.string())
9286
+ var DTOForgeChatMessageTagInput = z315.object({
9287
+ messageId: z315.string(),
9288
+ tags: z315.array(z315.string())
9241
9289
  });
9242
- var DTOForgeChatMessageScoreRequest = z313.object({
9290
+ var DTOForgeChatMessageScoreRequest = z315.object({
9243
9291
  scores: DTOForgeChatMessageScoreInput.array(),
9244
9292
  tags: DTOForgeChatMessageTagInput.array().optional().default([])
9245
9293
  });
9246
9294
 
9247
9295
  // src/api/dto/liveblocks/auth-response.ts
9248
- import { z as z314 } from "zod";
9249
- var DTOLiveblocksAuthResponse = z314.object({
9250
- token: z314.string()
9296
+ import { z as z316 } from "zod";
9297
+ var DTOLiveblocksAuthResponse = z316.object({
9298
+ token: z316.string()
9251
9299
  });
9252
9300
 
9253
9301
  // src/api/dto/portal/portal-settings.ts
9254
- import { z as z315 } from "zod";
9302
+ import { z as z317 } from "zod";
9255
9303
  var DTOPortalSettingsTheme = PortalSettingsTheme;
9256
9304
  var DTOPortalSettingsSidebarLink = PortalSettingsSidebarLink;
9257
9305
  var DTOPortalSettingsSidebarSection = PortalSettingsSidebarSection;
9258
9306
  var DTOPortalSettingsSidebar = PortalSettingsSidebar;
9259
- var DTOPortalSettings = z315.object({
9260
- id: z315.string(),
9261
- workspaceId: z315.string(),
9262
- enabledDesignSystemIds: z315.array(z315.string()),
9263
- enabledBrandPersistentIds: z315.array(z315.string()),
9307
+ var DTOPortalSettings = z317.object({
9308
+ id: z317.string(),
9309
+ workspaceId: z317.string(),
9310
+ enabledDesignSystemIds: z317.array(z317.string()),
9311
+ enabledBrandPersistentIds: z317.array(z317.string()),
9264
9312
  theme: DTOPortalSettingsTheme.nullish(),
9265
9313
  sidebar: DTOPortalSettingsSidebar.nullish(),
9266
- createdAt: z315.coerce.date(),
9267
- updatedAt: z315.coerce.date()
9314
+ createdAt: z317.coerce.date(),
9315
+ updatedAt: z317.coerce.date()
9268
9316
  });
9269
- var DTOPortalSettingsGetResponse = z315.object({
9317
+ var DTOPortalSettingsGetResponse = z317.object({
9270
9318
  portalSettings: DTOPortalSettings
9271
9319
  });
9272
- var DTOPortalSettingsUpdatePayload = z315.object({
9273
- enabledDesignSystemIds: z315.array(z315.string()).optional(),
9274
- enabledBrandPersistentIds: z315.array(z315.string()).optional(),
9320
+ var DTOPortalSettingsUpdatePayload = z317.object({
9321
+ enabledDesignSystemIds: z317.array(z317.string()).optional(),
9322
+ enabledBrandPersistentIds: z317.array(z317.string()).optional(),
9275
9323
  theme: DTOPortalSettingsTheme.nullish(),
9276
9324
  sidebar: DTOPortalSettingsSidebar.nullish()
9277
9325
  });
9278
9326
 
9279
9327
  // src/api/dto/themes/override.ts
9280
- import { z as z316 } from "zod";
9328
+ import { z as z318 } from "zod";
9281
9329
  var DTOThemeOverride = DesignTokenTypedData.and(
9282
- z316.object({
9283
- tokenPersistentId: z316.string(),
9330
+ z318.object({
9331
+ tokenPersistentId: z318.string(),
9284
9332
  origin: ThemeOverrideOrigin.optional()
9285
9333
  })
9286
9334
  );
9287
9335
  var DTOThemeOverrideCreatePayload = DesignTokenTypedData.and(
9288
- z316.object({
9289
- tokenPersistentId: z316.string()
9336
+ z318.object({
9337
+ tokenPersistentId: z318.string()
9290
9338
  })
9291
9339
  );
9292
9340
 
9293
9341
  // src/api/dto/themes/theme.ts
9294
- import { z as z317 } from "zod";
9295
- var DTOTheme = z317.object({
9296
- id: z317.string(),
9297
- persistentId: z317.string(),
9298
- designSystemVersionId: z317.string(),
9299
- brandId: z317.string(),
9342
+ import { z as z319 } from "zod";
9343
+ var DTOTheme = z319.object({
9344
+ id: z319.string(),
9345
+ persistentId: z319.string(),
9346
+ designSystemVersionId: z319.string(),
9347
+ brandId: z319.string(),
9300
9348
  meta: ObjectMeta,
9301
- codeName: z317.string(),
9349
+ codeName: z319.string(),
9302
9350
  overrides: DTOThemeOverride.array()
9303
9351
  });
9304
- var DTOThemeResponse = z317.object({
9352
+ var DTOThemeResponse = z319.object({
9305
9353
  theme: DTOTheme
9306
9354
  });
9307
- var DTOThemeListResponse = z317.object({
9355
+ var DTOThemeListResponse = z319.object({
9308
9356
  themes: DTOTheme.array()
9309
9357
  });
9310
- var DTOThemeCreatePayload = z317.object({
9358
+ var DTOThemeCreatePayload = z319.object({
9311
9359
  meta: ObjectMeta,
9312
- persistentId: z317.string(),
9313
- brandId: z317.string(),
9314
- codeName: z317.string(),
9360
+ persistentId: z319.string(),
9361
+ brandId: z319.string(),
9362
+ codeName: z319.string(),
9315
9363
  overrides: DTOThemeOverride.array()
9316
9364
  });
9317
9365
 
@@ -9547,13 +9595,13 @@ var ExportersEndpoint = class {
9547
9595
  };
9548
9596
 
9549
9597
  // src/api/endpoints/codegen/jobs.ts
9550
- import { z as z318 } from "zod";
9598
+ import { z as z320 } from "zod";
9551
9599
  var ExporterJobsEndpoint = class {
9552
9600
  constructor(requestExecutor) {
9553
9601
  this.requestExecutor = requestExecutor;
9554
9602
  }
9555
9603
  list(workspaceId) {
9556
- return this.requestExecutor.json(`/codegen/workspaces/${workspaceId}/jobs`, z318.any());
9604
+ return this.requestExecutor.json(`/codegen/workspaces/${workspaceId}/jobs`, z320.any());
9557
9605
  }
9558
9606
  get(workspaceId, jobId) {
9559
9607
  return this.requestExecutor.json(`/codegen/workspaces/${workspaceId}/jobs/${jobId}`, DTOExportJobResponseLegacy);
@@ -9611,7 +9659,7 @@ var CodegenEndpoint = class {
9611
9659
  };
9612
9660
 
9613
9661
  // src/api/endpoints/design-system/versions/brands.ts
9614
- import { z as z319 } from "zod";
9662
+ import { z as z321 } from "zod";
9615
9663
  var BrandsEndpoint = class {
9616
9664
  constructor(requestExecutor) {
9617
9665
  this.requestExecutor = requestExecutor;
@@ -9645,7 +9693,7 @@ var BrandsEndpoint = class {
9645
9693
  });
9646
9694
  }
9647
9695
  delete(dsId, vId, brandId) {
9648
- return this.requestExecutor.json(`/design-systems/${dsId}/versions/${vId}/brands/${brandId}`, z319.any(), {
9696
+ return this.requestExecutor.json(`/design-systems/${dsId}/versions/${vId}/brands/${brandId}`, z321.any(), {
9649
9697
  method: "DELETE"
9650
9698
  });
9651
9699
  }
@@ -9912,7 +9960,7 @@ var ImportJobsEndpoint = class {
9912
9960
  };
9913
9961
 
9914
9962
  // src/api/endpoints/design-system/versions/overrides.ts
9915
- import { z as z320 } from "zod";
9963
+ import { z as z322 } from "zod";
9916
9964
  var OverridesEndpoint = class {
9917
9965
  constructor(requestExecutor) {
9918
9966
  this.requestExecutor = requestExecutor;
@@ -9920,7 +9968,7 @@ var OverridesEndpoint = class {
9920
9968
  create(dsId, versionId, themeId, body) {
9921
9969
  return this.requestExecutor.json(
9922
9970
  `/design-systems/${dsId}/versions/${versionId}/themes/${themeId}/overrides`,
9923
- z320.any(),
9971
+ z322.any(),
9924
9972
  {
9925
9973
  method: "POST",
9926
9974
  body
@@ -9930,7 +9978,7 @@ var OverridesEndpoint = class {
9930
9978
  };
9931
9979
 
9932
9980
  // src/api/endpoints/design-system/versions/property-definitions.ts
9933
- import { z as z321 } from "zod";
9981
+ import { z as z323 } from "zod";
9934
9982
  var ElementPropertyDefinitionsEndpoint = class {
9935
9983
  constructor(requestExecutor) {
9936
9984
  this.requestExecutor = requestExecutor;
@@ -9958,7 +10006,7 @@ var ElementPropertyDefinitionsEndpoint = class {
9958
10006
  delete(designSystemId, versionId, defId) {
9959
10007
  return this.requestExecutor.json(
9960
10008
  `/design-systems/${designSystemId}/versions/${versionId}/element-properties/definitions/${defId}`,
9961
- z321.any(),
10009
+ z323.any(),
9962
10010
  { method: "DELETE" }
9963
10011
  );
9964
10012
  }
@@ -9997,7 +10045,7 @@ var VersionStatsEndpoint = class {
9997
10045
  };
9998
10046
 
9999
10047
  // src/api/endpoints/design-system/versions/themes.ts
10000
- import { z as z322 } from "zod";
10048
+ import { z as z324 } from "zod";
10001
10049
  var ThemesEndpoint = class {
10002
10050
  constructor(requestExecutor) {
10003
10051
  this.requestExecutor = requestExecutor;
@@ -10020,7 +10068,7 @@ var ThemesEndpoint = class {
10020
10068
  });
10021
10069
  }
10022
10070
  delete(dsId, versionId, themeId) {
10023
- return this.requestExecutor.json(`/design-systems/${dsId}/versions/${versionId}/themes/${themeId}`, z322.any(), {
10071
+ return this.requestExecutor.json(`/design-systems/${dsId}/versions/${versionId}/themes/${themeId}`, z324.any(), {
10024
10072
  method: "DELETE"
10025
10073
  });
10026
10074
  }
@@ -10191,7 +10239,7 @@ var DesignSystemContactsEndpoint = class {
10191
10239
  };
10192
10240
 
10193
10241
  // src/api/endpoints/design-system/design-systems.ts
10194
- import { z as z326 } from "zod";
10242
+ import { z as z328 } from "zod";
10195
10243
 
10196
10244
  // src/api/endpoints/design-system/figma-node-structures.ts
10197
10245
  var FigmaNodeStructuresEndpoint = class {
@@ -10268,7 +10316,7 @@ var DesignSystemPageRedirectsEndpoint = class {
10268
10316
  };
10269
10317
 
10270
10318
  // src/api/endpoints/design-system/sources.ts
10271
- import { z as z323 } from "zod";
10319
+ import { z as z325 } from "zod";
10272
10320
  var DesignSystemSourcesEndpoint = class {
10273
10321
  constructor(requestExecutor) {
10274
10322
  this.requestExecutor = requestExecutor;
@@ -10286,7 +10334,7 @@ var DesignSystemSourcesEndpoint = class {
10286
10334
  return this.requestExecutor.json(`/design-systems/${dsId}/sources/${sourceId}`, DTODataSourceResponse);
10287
10335
  }
10288
10336
  delete(dsId, sourceId) {
10289
- return this.requestExecutor.json(`/design-systems/${dsId}/sources/${sourceId}`, z323.any(), { method: "DELETE" });
10337
+ return this.requestExecutor.json(`/design-systems/${dsId}/sources/${sourceId}`, z325.any(), { method: "DELETE" });
10290
10338
  }
10291
10339
  updateFigmaSource(dsId, sourceId, payload) {
10292
10340
  return this.requestExecutor.json(`/design-systems/${dsId}/sources/${sourceId}`, DTODataSourceResponse, {
@@ -10329,7 +10377,7 @@ var DesignSystemSourcesEndpoint = class {
10329
10377
  };
10330
10378
 
10331
10379
  // src/api/endpoints/design-system/storybook.ts
10332
- import { z as z324 } from "zod";
10380
+ import { z as z326 } from "zod";
10333
10381
  var StorybookEntriesEndpoint = class {
10334
10382
  constructor(requestExecutor) {
10335
10383
  this.requestExecutor = requestExecutor;
@@ -10345,14 +10393,14 @@ var StorybookEntriesEndpoint = class {
10345
10393
  );
10346
10394
  }
10347
10395
  delete(dsId, entryId) {
10348
- return this.requestExecutor.json(`/design-systems/${dsId}/versions/head/storybook/${entryId}`, z324.any(), {
10396
+ return this.requestExecutor.json(`/design-systems/${dsId}/versions/head/storybook/${entryId}`, z326.any(), {
10349
10397
  method: "DELETE"
10350
10398
  });
10351
10399
  }
10352
10400
  };
10353
10401
 
10354
10402
  // src/api/endpoints/design-system/storybook-hosting.ts
10355
- import { z as z325 } from "zod";
10403
+ import { z as z327 } from "zod";
10356
10404
  var StorybookHostingEndpoint = class {
10357
10405
  constructor(requestExecutor) {
10358
10406
  this.requestExecutor = requestExecutor;
@@ -10366,7 +10414,7 @@ var StorybookHostingEndpoint = class {
10366
10414
  delete(dsId, storybookUploadId) {
10367
10415
  return this.requestExecutor.json(
10368
10416
  `/design-systems/${dsId}/storybook/${storybookUploadId}`,
10369
- z325.object({ ok: z325.boolean() }),
10417
+ z327.object({ ok: z327.boolean() }),
10370
10418
  {
10371
10419
  method: "DELETE"
10372
10420
  }
@@ -10424,7 +10472,7 @@ var DesignSystemsEndpoint = class {
10424
10472
  return this.requestExecutor.json(`/design-systems/${dsId}`, DTODesignSystemResponse);
10425
10473
  }
10426
10474
  delete(dsId) {
10427
- return this.requestExecutor.json(`/design-systems/${dsId}`, z326.any(), { method: "DELETE" });
10475
+ return this.requestExecutor.json(`/design-systems/${dsId}`, z328.any(), { method: "DELETE" });
10428
10476
  }
10429
10477
  update(dsId, body) {
10430
10478
  return this.requestExecutor.json(`/design-systems/${dsId}`, DTODesignSystemResponse, {
@@ -10622,7 +10670,7 @@ var ForgeProjectContextsEndpoint = class {
10622
10670
  };
10623
10671
 
10624
10672
  // src/api/endpoints/forge/project-members.ts
10625
- import { z as z327 } from "zod";
10673
+ import { z as z329 } from "zod";
10626
10674
  var ForgeProjectMembersEndpoint = class {
10627
10675
  constructor(requestExecutor) {
10628
10676
  this.requestExecutor = requestExecutor;
@@ -10651,7 +10699,7 @@ var ForgeProjectMembersEndpoint = class {
10651
10699
  delete(projectId, userId) {
10652
10700
  return this.requestExecutor.json(
10653
10701
  `/forge/projects/${projectId}/members/${userId}`,
10654
- z327.object({ ok: z327.literal(true) }),
10702
+ z329.object({ ok: z329.literal(true) }),
10655
10703
  {
10656
10704
  method: "DELETE"
10657
10705
  }
@@ -10805,7 +10853,7 @@ var ForgeProjectIterationsEndpoint = class {
10805
10853
  };
10806
10854
 
10807
10855
  // src/api/endpoints/forge/project-invitations.ts
10808
- import { z as z328 } from "zod";
10856
+ import { z as z330 } from "zod";
10809
10857
  var ForgeProjectInvitationsEndpoint = class {
10810
10858
  constructor(requestExecutor) {
10811
10859
  this.requestExecutor = requestExecutor;
@@ -10842,7 +10890,7 @@ var ForgeProjectInvitationsEndpoint = class {
10842
10890
  delete(projectId, email) {
10843
10891
  return this.requestExecutor.json(
10844
10892
  `/forge/projects/${projectId}/invitations/${encodeURI(email)}`,
10845
- z328.object({ ok: z328.literal(true) }),
10893
+ z330.object({ ok: z330.literal(true) }),
10846
10894
  {
10847
10895
  method: "DELETE"
10848
10896
  }
@@ -10875,7 +10923,7 @@ var ForgesEndpoint = class {
10875
10923
  };
10876
10924
 
10877
10925
  // src/api/endpoints/workspaces/chat-threads.ts
10878
- import { z as z329 } from "zod";
10926
+ import { z as z331 } from "zod";
10879
10927
  var WorkspaceChatThreadsEndpoint = class {
10880
10928
  constructor(requestExecutor) {
10881
10929
  this.requestExecutor = requestExecutor;
@@ -10907,7 +10955,7 @@ var WorkspaceChatThreadsEndpoint = class {
10907
10955
  );
10908
10956
  }
10909
10957
  delete(workspaceId, threadId) {
10910
- return this.requestExecutor.json(`/workspaces/${workspaceId}/forge/threads/${threadId}`, z329.any(), {
10958
+ return this.requestExecutor.json(`/workspaces/${workspaceId}/forge/threads/${threadId}`, z331.any(), {
10911
10959
  method: "DELETE"
10912
10960
  });
10913
10961
  }
@@ -10939,7 +10987,7 @@ var ChatThreadMessagesEndpoint = class {
10939
10987
  );
10940
10988
  }
10941
10989
  score(workspaceId, threadId, body) {
10942
- return this.requestExecutor.json(`/workspaces/${workspaceId}/forge/threads/${threadId}/scores`, z329.any(), {
10990
+ return this.requestExecutor.json(`/workspaces/${workspaceId}/forge/threads/${threadId}/scores`, z331.any(), {
10943
10991
  method: "POST",
10944
10992
  body
10945
10993
  });
@@ -10947,7 +10995,7 @@ var ChatThreadMessagesEndpoint = class {
10947
10995
  };
10948
10996
 
10949
10997
  // src/api/endpoints/workspaces/integrations.ts
10950
- import { z as z330 } from "zod";
10998
+ import { z as z332 } from "zod";
10951
10999
  var WorkspaceIntegrationsEndpoint = class {
10952
11000
  constructor(requestExecutor) {
10953
11001
  this.requestExecutor = requestExecutor;
@@ -10956,7 +11004,7 @@ var WorkspaceIntegrationsEndpoint = class {
10956
11004
  return this.requestExecutor.json(`/workspaces/${wsId}/integrations`, DTOIntegrationsGetListResponse);
10957
11005
  }
10958
11006
  delete(wsId, iId) {
10959
- return this.requestExecutor.json(`/workspaces/${wsId}/integrations/${iId}`, z330.unknown(), { method: "DELETE" });
11007
+ return this.requestExecutor.json(`/workspaces/${wsId}/integrations/${iId}`, z332.unknown(), { method: "DELETE" });
10960
11008
  }
10961
11009
  };
10962
11010
 
@@ -10988,7 +11036,7 @@ var WorkspaceInvitationsEndpoint = class {
10988
11036
  };
10989
11037
 
10990
11038
  // src/api/endpoints/workspaces/members.ts
10991
- import { z as z331 } from "zod";
11039
+ import { z as z333 } from "zod";
10992
11040
  var WorkspaceMembersEndpoint = class {
10993
11041
  constructor(requestExecutor) {
10994
11042
  this.requestExecutor = requestExecutor;
@@ -11005,7 +11053,7 @@ var WorkspaceMembersEndpoint = class {
11005
11053
  });
11006
11054
  }
11007
11055
  invite(workspaceId, body) {
11008
- return this.requestExecutor.json(`/workspaces/${workspaceId}/members`, z331.any(), { method: "POST", body });
11056
+ return this.requestExecutor.json(`/workspaces/${workspaceId}/members`, z333.any(), { method: "POST", body });
11009
11057
  }
11010
11058
  delete(workspaceId, userId) {
11011
11059
  return this.requestExecutor.json(`/workspaces/${workspaceId}/members/${userId}`, DTOWorkspaceResponse, {
@@ -11034,7 +11082,7 @@ var WorkspaceNpmRegistryEndpoint = class {
11034
11082
  };
11035
11083
 
11036
11084
  // src/api/endpoints/workspaces/workspaces.ts
11037
- import { z as z332 } from "zod";
11085
+ import { z as z334 } from "zod";
11038
11086
  var WorkspacesEndpoint = class {
11039
11087
  constructor(requestExecutor) {
11040
11088
  this.requestExecutor = requestExecutor;
@@ -11066,10 +11114,10 @@ var WorkspacesEndpoint = class {
11066
11114
  return this.requestExecutor.json(`/workspaces/${workspaceId}`, DTOWorkspaceResponse, { method: "GET" });
11067
11115
  }
11068
11116
  delete(workspaceId) {
11069
- return this.requestExecutor.json(`/workspaces/${workspaceId}`, z332.any(), { method: "DELETE" });
11117
+ return this.requestExecutor.json(`/workspaces/${workspaceId}`, z334.any(), { method: "DELETE" });
11070
11118
  }
11071
11119
  subscription(workspaceId) {
11072
- return this.requestExecutor.json(`/workspaces/${workspaceId}/subscription`, z332.any(), { method: "GET" });
11120
+ return this.requestExecutor.json(`/workspaces/${workspaceId}/subscription`, z334.any(), { method: "GET" });
11073
11121
  }
11074
11122
  getPortalSettings(workspaceId) {
11075
11123
  return this.requestExecutor.json(`/workspaces/${workspaceId}/portal/settings`, DTOPortalSettingsGetResponse, {
@@ -11180,9 +11228,9 @@ ${bodyText}`,
11180
11228
 
11181
11229
  // src/api/transport/request-executor.ts
11182
11230
  import fetch from "node-fetch";
11183
- import { z as z333 } from "zod";
11184
- var ResponseWrapper = z333.object({
11185
- result: z333.record(z333.any())
11231
+ import { z as z335 } from "zod";
11232
+ var ResponseWrapper = z335.object({
11233
+ result: z335.record(z335.any())
11186
11234
  });
11187
11235
  var RequestExecutor = class {
11188
11236
  constructor(testServerConfig) {
@@ -11259,31 +11307,31 @@ var SupernovaApiClient = class {
11259
11307
  };
11260
11308
 
11261
11309
  // src/events/design-system.ts
11262
- import { z as z334 } from "zod";
11263
- var DTOEventFigmaNodesRendered = z334.object({
11264
- type: z334.literal("DesignSystem.FigmaNodesRendered"),
11265
- designSystemId: z334.string(),
11266
- versionId: z334.string(),
11267
- figmaNodePersistentIds: z334.string().array()
11268
- });
11269
- var DTOEventDataSourcesImported = z334.object({
11270
- type: z334.literal("DesignSystem.ImportJobFinished"),
11271
- designSystemId: z334.string(),
11272
- versionId: z334.string(),
11273
- importJobId: z334.string(),
11310
+ import { z as z336 } from "zod";
11311
+ var DTOEventFigmaNodesRendered = z336.object({
11312
+ type: z336.literal("DesignSystem.FigmaNodesRendered"),
11313
+ designSystemId: z336.string(),
11314
+ versionId: z336.string(),
11315
+ figmaNodePersistentIds: z336.string().array()
11316
+ });
11317
+ var DTOEventDataSourcesImported = z336.object({
11318
+ type: z336.literal("DesignSystem.ImportJobFinished"),
11319
+ designSystemId: z336.string(),
11320
+ versionId: z336.string(),
11321
+ importJobId: z336.string(),
11274
11322
  dataSourceType: DataSourceRemoteType,
11275
- dataSourceIds: z334.string().array()
11323
+ dataSourceIds: z336.string().array()
11276
11324
  });
11277
11325
 
11278
11326
  // src/events/event.ts
11279
- import { z as z335 } from "zod";
11280
- var DTOEvent = z335.discriminatedUnion("type", [DTOEventDataSourcesImported, DTOEventFigmaNodesRendered]);
11327
+ import { z as z337 } from "zod";
11328
+ var DTOEvent = z337.discriminatedUnion("type", [DTOEventDataSourcesImported, DTOEventFigmaNodesRendered]);
11281
11329
 
11282
11330
  // src/sync/docs-structure-repo.ts
11283
11331
  import PQueue from "p-queue";
11284
11332
 
11285
11333
  // src/yjs/design-system-content/documentation-hierarchy.ts
11286
- import { z as z336 } from "zod";
11334
+ import { z as z338 } from "zod";
11287
11335
 
11288
11336
  // src/yjs/version-room/base.ts
11289
11337
  var VersionRoomBaseYDoc = class {
@@ -11833,24 +11881,24 @@ var FrontendVersionRoomYDoc = class {
11833
11881
  };
11834
11882
 
11835
11883
  // src/yjs/design-system-content/documentation-hierarchy.ts
11836
- var DocumentationHierarchySettings = z336.object({
11837
- routingVersion: z336.string(),
11838
- isDraftFeatureAdopted: z336.boolean(),
11839
- isApprovalFeatureEnabled: z336.boolean(),
11840
- approvalRequiredForPublishing: z336.boolean()
11884
+ var DocumentationHierarchySettings = z338.object({
11885
+ routingVersion: z338.string(),
11886
+ isDraftFeatureAdopted: z338.boolean(),
11887
+ isApprovalFeatureEnabled: z338.boolean(),
11888
+ approvalRequiredForPublishing: z338.boolean()
11841
11889
  });
11842
11890
  function yjsToDocumentationHierarchy(doc) {
11843
11891
  return new FrontendVersionRoomYDoc(doc).getDocumentationHierarchy();
11844
11892
  }
11845
11893
 
11846
11894
  // src/yjs/design-system-content/item-configuration.ts
11847
- import { z as z337 } from "zod";
11848
- var DTODocumentationPageRoomHeaderData = z337.object({
11849
- title: z337.string(),
11895
+ import { z as z339 } from "zod";
11896
+ var DTODocumentationPageRoomHeaderData = z339.object({
11897
+ title: z339.string(),
11850
11898
  configuration: DTODocumentationItemConfigurationV2
11851
11899
  });
11852
- var DTODocumentationPageRoomHeaderDataUpdate = z337.object({
11853
- title: z337.string().optional(),
11900
+ var DTODocumentationPageRoomHeaderDataUpdate = z339.object({
11901
+ title: z339.string().optional(),
11854
11902
  configuration: DTODocumentationItemConfigurationV2.omit({ header: true }).extend({ header: DocumentationItemHeaderV2.partial() }).optional()
11855
11903
  });
11856
11904
  function itemConfigurationToYjs(yDoc, item) {
@@ -11885,9 +11933,9 @@ var PageBlockEditorModel = PageBlockEditorModelV2;
11885
11933
  var PageSectionEditorModel = PageSectionEditorModelV2;
11886
11934
 
11887
11935
  // src/yjs/docs-editor/model/page.ts
11888
- import { z as z338 } from "zod";
11889
- var DocumentationPageEditorModel = z338.object({
11890
- blocks: z338.array(DocumentationPageContentItem)
11936
+ import { z as z340 } from "zod";
11937
+ var DocumentationPageEditorModel = z340.object({
11938
+ blocks: z340.array(DocumentationPageContentItem)
11891
11939
  });
11892
11940
 
11893
11941
  // src/yjs/docs-editor/prosemirror/inner-editor-schema.ts
@@ -15564,7 +15612,7 @@ var blocks = [
15564
15612
 
15565
15613
  // src/yjs/docs-editor/prosemirror-to-blocks.ts
15566
15614
  import { yXmlFragmentToProsemirrorJSON } from "y-prosemirror";
15567
- import { z as z339 } from "zod";
15615
+ import { z as z341 } from "zod";
15568
15616
  function yDocToPage(yDoc, definitions) {
15569
15617
  return yXmlFragmentToPage(yDoc.getXmlFragment("default"), definitions);
15570
15618
  }
@@ -15640,7 +15688,7 @@ function prosemirrorNodeToSectionItem(prosemirrorNode, definitionsMap) {
15640
15688
  if (!id) return null;
15641
15689
  return {
15642
15690
  id,
15643
- title: getProsemirrorAttribute(prosemirrorNode, "title", z339.string()) ?? "",
15691
+ title: getProsemirrorAttribute(prosemirrorNode, "title", z341.string()) ?? "",
15644
15692
  columns: (prosemirrorNode.content ?? []).filter((c) => c.type === "sectionItemColumn").map((c) => prosemirrorNodeToSectionColumns(c, definitionsMap)).filter(nonNullFilter)
15645
15693
  };
15646
15694
  }
@@ -15674,7 +15722,7 @@ function internalProsemirrorNodesToBlocks(prosemirrorNodes, definitionsMap, dept
15674
15722
  });
15675
15723
  }
15676
15724
  function internalProsemirrorNodeToBlock(prosemirrorNode, definitionsMap, depth) {
15677
- const definitionId = getProsemirrorAttribute(prosemirrorNode, "definitionId", z339.string());
15725
+ const definitionId = getProsemirrorAttribute(prosemirrorNode, "definitionId", z341.string());
15678
15726
  if (!definitionId) {
15679
15727
  console.warn(`definitionId on ${prosemirrorNode.type} is required to be interpreted as a block, skipping node`);
15680
15728
  return [];
@@ -15715,7 +15763,7 @@ function parseAsRichText(prosemirrorNode, definition, property) {
15715
15763
  const id = getProsemirrorBlockId(prosemirrorNode);
15716
15764
  if (!id) return null;
15717
15765
  const variantId = getProsemirrorBlockVariantId(prosemirrorNode);
15718
- const calloutType = parseCalloutType(getProsemirrorAttribute(prosemirrorNode, "type", z339.string().optional()));
15766
+ const calloutType = parseCalloutType(getProsemirrorAttribute(prosemirrorNode, "type", z341.string().optional()));
15719
15767
  return {
15720
15768
  id,
15721
15769
  type: "Block",
@@ -15838,9 +15886,9 @@ function parseRichTextAttribute(mark) {
15838
15886
  return null;
15839
15887
  }
15840
15888
  function parseProsemirrorLink(mark) {
15841
- const href = getProsemirrorAttribute(mark, "href", z339.string().optional());
15889
+ const href = getProsemirrorAttribute(mark, "href", z341.string().optional());
15842
15890
  if (!href) return null;
15843
- const target = getProsemirrorAttribute(mark, "target", z339.string().optional());
15891
+ const target = getProsemirrorAttribute(mark, "target", z341.string().optional());
15844
15892
  const openInNewTab = target === "_blank";
15845
15893
  if (href.startsWith("@")) {
15846
15894
  return {
@@ -15859,9 +15907,9 @@ function parseProsemirrorLink(mark) {
15859
15907
  }
15860
15908
  }
15861
15909
  function parseProsemirrorCommentHighlight(mark) {
15862
- const highlightId = getProsemirrorAttribute(mark, "highlightId", z339.string().optional());
15910
+ const highlightId = getProsemirrorAttribute(mark, "highlightId", z341.string().optional());
15863
15911
  if (!highlightId) return null;
15864
- const isResolved = getProsemirrorAttribute(mark, "resolved", z339.boolean().optional()) ?? false;
15912
+ const isResolved = getProsemirrorAttribute(mark, "resolved", z341.boolean().optional()) ?? false;
15865
15913
  return {
15866
15914
  type: "Comment",
15867
15915
  commentHighlightId: highlightId,
@@ -15872,7 +15920,7 @@ function parseAsTable(prosemirrorNode, definition, property) {
15872
15920
  const id = getProsemirrorBlockId(prosemirrorNode);
15873
15921
  if (!id) return null;
15874
15922
  const variantId = getProsemirrorBlockVariantId(prosemirrorNode);
15875
- const hasBorder = getProsemirrorAttribute(prosemirrorNode, "hasBorder", z339.boolean().optional()) !== false;
15923
+ const hasBorder = getProsemirrorAttribute(prosemirrorNode, "hasBorder", z341.boolean().optional()) !== false;
15876
15924
  const tableChild = prosemirrorNode.content?.find((c) => c.type === "table");
15877
15925
  if (!tableChild) {
15878
15926
  return emptyTable(id, variantId, 0);
@@ -15918,9 +15966,9 @@ function parseAsTable(prosemirrorNode, definition, property) {
15918
15966
  function parseAsTableCell(prosemirrorNode) {
15919
15967
  const id = getProsemirrorBlockId(prosemirrorNode);
15920
15968
  if (!id) return null;
15921
- const textAlign = getProsemirrorAttribute(prosemirrorNode, "textAlign", z339.string().optional());
15969
+ const textAlign = getProsemirrorAttribute(prosemirrorNode, "textAlign", z341.string().optional());
15922
15970
  let columnWidth;
15923
- const columnWidthArray = getProsemirrorAttribute(prosemirrorNode, "colwidth", z339.array(z339.number()).nullish());
15971
+ const columnWidthArray = getProsemirrorAttribute(prosemirrorNode, "colwidth", z341.array(z341.number()).nullish());
15924
15972
  if (columnWidthArray) {
15925
15973
  columnWidth = roundDimension(columnWidthArray[0]);
15926
15974
  }
@@ -15956,7 +16004,7 @@ function parseAsTableNode(prosemirrorNode) {
15956
16004
  value: parseRichText(prosemirrorNode.content ?? [])
15957
16005
  };
15958
16006
  case "image":
15959
- const items = getProsemirrorAttribute(prosemirrorNode, "items", z339.string());
16007
+ const items = getProsemirrorAttribute(prosemirrorNode, "items", z341.string());
15960
16008
  if (!items) return null;
15961
16009
  const parsedItems = PageBlockItemV2.array().safeParse(JSON.parse(items));
15962
16010
  if (!parsedItems.success) return null;
@@ -16070,7 +16118,7 @@ function definitionExpectsPlaceholderItem(definition) {
16070
16118
  );
16071
16119
  }
16072
16120
  function parseBlockItems(prosemirrorNode, definition) {
16073
- const itemsString = getProsemirrorAttribute(prosemirrorNode, "items", z339.string());
16121
+ const itemsString = getProsemirrorAttribute(prosemirrorNode, "items", z341.string());
16074
16122
  if (!itemsString) return null;
16075
16123
  const itemsJson = JSON.parse(itemsString);
16076
16124
  if (!Array.isArray(itemsJson)) {
@@ -16081,18 +16129,18 @@ function parseBlockItems(prosemirrorNode, definition) {
16081
16129
  }
16082
16130
  function parseAppearance(prosemirrorNode) {
16083
16131
  let appearance = {};
16084
- const rawAppearanceString = getProsemirrorAttribute(prosemirrorNode, "appearance", z339.string().optional());
16132
+ const rawAppearanceString = getProsemirrorAttribute(prosemirrorNode, "appearance", z341.string().optional());
16085
16133
  if (rawAppearanceString) {
16086
16134
  const parsedAppearance = PageBlockAppearanceV2.safeParse(JSON.parse(rawAppearanceString));
16087
16135
  if (parsedAppearance.success) {
16088
16136
  appearance = parsedAppearance.data;
16089
16137
  }
16090
16138
  }
16091
- const columns = getProsemirrorAttribute(prosemirrorNode, "columns", z339.number().optional());
16139
+ const columns = getProsemirrorAttribute(prosemirrorNode, "columns", z341.number().optional());
16092
16140
  if (columns) {
16093
16141
  appearance.numberOfColumns = columns;
16094
16142
  }
16095
- const backgroundColor = getProsemirrorAttribute(prosemirrorNode, "backgroundColor", z339.string().optional());
16143
+ const backgroundColor = getProsemirrorAttribute(prosemirrorNode, "backgroundColor", z341.string().optional());
16096
16144
  if (backgroundColor) {
16097
16145
  const parsedColor = PageBlockColorV2.safeParse(JSON.parse(backgroundColor));
16098
16146
  if (parsedColor.success) {
@@ -16193,12 +16241,12 @@ function valueSchemaForPropertyType(type) {
16193
16241
  }
16194
16242
  }
16195
16243
  function getProsemirrorBlockId(prosemirrorNode) {
16196
- const id = getProsemirrorAttribute(prosemirrorNode, "id", z339.string());
16244
+ const id = getProsemirrorAttribute(prosemirrorNode, "id", z341.string());
16197
16245
  if (!id) console.warn(`Prosemirror attribute "id" on ${prosemirrorNode.type} is required`);
16198
16246
  return id;
16199
16247
  }
16200
16248
  function getProsemirrorBlockVariantId(prosemirrorNode) {
16201
- return getProsemirrorAttribute(prosemirrorNode, "variantId", nullishToOptional(z339.string()));
16249
+ return getProsemirrorAttribute(prosemirrorNode, "variantId", nullishToOptional(z341.string()));
16202
16250
  }
16203
16251
  function getProsemirrorAttribute(prosemirrorNode, attributeName, validationSchema) {
16204
16252
  const parsedAttr = validationSchema.safeParse(prosemirrorNode.attrs?.[attributeName]);
@@ -17066,6 +17114,10 @@ export {
17066
17114
  DTOForgeParticipantGetResponse,
17067
17115
  DTOForgeParticipantsListResponse,
17068
17116
  DTOForgeProject,
17117
+ DTOForgeProjectAction,
17118
+ DTOForgeProjectActionFeatureCreate,
17119
+ DTOForgeProjectActionFeatureDelete,
17120
+ DTOForgeProjectActionFeatureUpdate,
17069
17121
  DTOForgeProjectArtifact,
17070
17122
  DTOForgeProjectArtifactCreate,
17071
17123
  DTOForgeProjectArtifactCreateResponse,
@@ -17082,6 +17134,11 @@ export {
17082
17134
  DTOForgeProjectContextListResponse,
17083
17135
  DTOForgeProjectContextRemoveResponse,
17084
17136
  DTOForgeProjectContextUpdateResponse,
17137
+ DTOForgeProjectFeature,
17138
+ DTOForgeProjectFeatureCreateInput,
17139
+ DTOForgeProjectFeatureDeleteInput,
17140
+ DTOForgeProjectFeatureListResponse,
17141
+ DTOForgeProjectFeatureUpdateInput,
17085
17142
  DTOForgeProjectGetResponse,
17086
17143
  DTOForgeProjectInvitation,
17087
17144
  DTOForgeProjectInvitationCreateResponse,