@supernova-studio/client 1.18.1 → 1.19.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.d.mts +18930 -18930
- package/dist/index.d.ts +18930 -18930
- package/dist/index.js +108 -104
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +193 -189
- package/dist/index.mjs.map +1 -1
- package/package.json +2 -2
package/dist/index.mjs
CHANGED
|
@@ -9056,7 +9056,7 @@ var DTOForgeArtifactGetResponse = z309.object({
|
|
|
9056
9056
|
artifact: DTOForgeArtifact.nullable()
|
|
9057
9057
|
});
|
|
9058
9058
|
|
|
9059
|
-
// src/api/dto/forge/iteration-message.ts
|
|
9059
|
+
// src/api/dto/forge/iteration-message-old.ts
|
|
9060
9060
|
import { z as z311 } from "zod";
|
|
9061
9061
|
|
|
9062
9062
|
// src/api/dto/forge/participant.ts
|
|
@@ -9087,7 +9087,7 @@ var DTOForgeParticipantGetResponse = z310.object({
|
|
|
9087
9087
|
participant: DTOForgeParticipant.nullable()
|
|
9088
9088
|
});
|
|
9089
9089
|
|
|
9090
|
-
// src/api/dto/forge/iteration-message.ts
|
|
9090
|
+
// src/api/dto/forge/iteration-message-old.ts
|
|
9091
9091
|
var DTOForgeIterationMessage = ForgeIterationMessage.omit({ participant: true }).extend({
|
|
9092
9092
|
participant: DTOForgeParticipant
|
|
9093
9093
|
});
|
|
@@ -9112,15 +9112,120 @@ var DTODeleteForgeIterationMessageResponse = z311.object({
|
|
|
9112
9112
|
ok: z311.literal(true)
|
|
9113
9113
|
});
|
|
9114
9114
|
|
|
9115
|
+
// src/api/dto/forge/project.ts
|
|
9116
|
+
import { z as z314 } from "zod";
|
|
9117
|
+
|
|
9118
|
+
// src/api/dto/forge/project-member.ts
|
|
9119
|
+
import { z as z313 } from "zod";
|
|
9120
|
+
|
|
9121
|
+
// src/api/dto/forge/project-invitation.ts
|
|
9122
|
+
import { z as z312 } from "zod";
|
|
9123
|
+
var DTOForgeProjectInvitation = ForgeProjectInvitation;
|
|
9124
|
+
var DTOCreateForgeProjectInvitation = DTOForgeProjectInvitation.pick({
|
|
9125
|
+
email: true,
|
|
9126
|
+
role: true
|
|
9127
|
+
}).extend({
|
|
9128
|
+
workspaceRole: WorkspaceRoleSchema
|
|
9129
|
+
});
|
|
9130
|
+
var DTOUpdateForgeProjectInvitation = DTOCreateForgeProjectInvitation.omit({
|
|
9131
|
+
email: true,
|
|
9132
|
+
workspaceRole: true
|
|
9133
|
+
});
|
|
9134
|
+
var DTORemoveForgeProjectInvitation = DTOCreateForgeProjectInvitation.pick({
|
|
9135
|
+
email: true
|
|
9136
|
+
});
|
|
9137
|
+
var DTOForgeProjectInvitationsListResponse = z312.object({
|
|
9138
|
+
invitations: z312.array(DTOForgeProjectInvitation)
|
|
9139
|
+
});
|
|
9140
|
+
var DTOForgeProjectInvitationGetResponse = z312.object({
|
|
9141
|
+
invitation: DTOForgeProjectInvitation
|
|
9142
|
+
});
|
|
9143
|
+
var DTOForgeProjectInvitationCreateResponse = z312.object({
|
|
9144
|
+
invitation: DTOForgeProjectInvitation
|
|
9145
|
+
});
|
|
9146
|
+
var DTOForgeProjectInvitationUpdateResponse = z312.object({
|
|
9147
|
+
invitation: DTOForgeProjectInvitation.nullable()
|
|
9148
|
+
});
|
|
9149
|
+
var DTOForgeProjectInvitationRemoveResponse = z312.object({
|
|
9150
|
+
ok: z312.literal(true)
|
|
9151
|
+
});
|
|
9152
|
+
|
|
9153
|
+
// src/api/dto/forge/project-member.ts
|
|
9154
|
+
var DTOForgeProjectMemberRole = ForgeProjectRole;
|
|
9155
|
+
var DTOForgeProjectMember = ForgeProjectMembership.extend({
|
|
9156
|
+
user: DTOUser,
|
|
9157
|
+
effectiveRole: DTOForgeProjectMemberRole
|
|
9158
|
+
});
|
|
9159
|
+
var DTOCreateForgeProjectMember = DTOForgeProjectMember.pick({
|
|
9160
|
+
userId: true,
|
|
9161
|
+
role: true
|
|
9162
|
+
});
|
|
9163
|
+
var DTOUpdateForgeProjectMember = DTOCreateForgeProjectMember.omit({ userId: true });
|
|
9164
|
+
var DTORemoveForgeProjectMember = DTOForgeProjectMember.pick({
|
|
9165
|
+
userId: true
|
|
9166
|
+
});
|
|
9167
|
+
var DTOForgeProjectMembersListResponse = z313.object({
|
|
9168
|
+
members: z313.array(DTOForgeProjectMember),
|
|
9169
|
+
invitations: z313.array(DTOForgeProjectInvitation)
|
|
9170
|
+
});
|
|
9171
|
+
var DTOForgeProjectMemberGetResponse = z313.object({
|
|
9172
|
+
member: DTOForgeProjectMember
|
|
9173
|
+
});
|
|
9174
|
+
var DTOForgeProjectMemberCreateResponse = z313.object({
|
|
9175
|
+
member: DTOForgeProjectMember
|
|
9176
|
+
});
|
|
9177
|
+
var DTOForgeProjectMemberUpdateResponse = z313.object({
|
|
9178
|
+
member: DTOForgeProjectMember.nullable()
|
|
9179
|
+
});
|
|
9180
|
+
var DTOForgeProjectMemberRemoveResponse = z313.object({
|
|
9181
|
+
ok: z313.literal(true)
|
|
9182
|
+
});
|
|
9183
|
+
var DTOAddMembersToForgeProject = z313.object({
|
|
9184
|
+
membersToInvite: DTOCreateForgeProjectInvitation.array().min(1)
|
|
9185
|
+
});
|
|
9186
|
+
|
|
9187
|
+
// src/api/dto/forge/project.ts
|
|
9188
|
+
var DTOForgeProject = ForgeProject.omit({ fpContextId: true }).extend({
|
|
9189
|
+
context: ForgeProjectContext,
|
|
9190
|
+
members: z314.array(DTOForgeProjectMember),
|
|
9191
|
+
invitations: z314.array(DTOForgeProjectInvitation)
|
|
9192
|
+
});
|
|
9193
|
+
var DTOCreateForgeProject = ForgeProject.pick({
|
|
9194
|
+
instruction: true,
|
|
9195
|
+
name: true,
|
|
9196
|
+
meta: true,
|
|
9197
|
+
tags: true,
|
|
9198
|
+
accessMode: true,
|
|
9199
|
+
fpContextId: true,
|
|
9200
|
+
isArchived: true,
|
|
9201
|
+
emoji: true
|
|
9202
|
+
}).extend({ membersToInvite: DTOCreateForgeProjectInvitation.array().min(1).optional() });
|
|
9203
|
+
var DTOUpdateForgeProject = DTOCreateForgeProject.omit({ membersToInvite: true }).partial().extend({
|
|
9204
|
+
id: z314.string(),
|
|
9205
|
+
membersToRetain: z314.string().array().min(1).optional()
|
|
9206
|
+
});
|
|
9207
|
+
var DTOForgeProjectGetResponse = z314.object({ project: DTOForgeProject.nullable() });
|
|
9208
|
+
var DTOForgeProjectsListResponse = z314.object({ projects: z314.array(DTOForgeProject) });
|
|
9209
|
+
var DTOCreateForgeProjectResponse = z314.object({
|
|
9210
|
+
project: DTOForgeProject
|
|
9211
|
+
});
|
|
9212
|
+
var DTOUpdateForgeProjectResponse = z314.object({
|
|
9213
|
+
project: DTOForgeProject
|
|
9214
|
+
});
|
|
9215
|
+
var DTOUGetForgeProjectResponse = z314.object({
|
|
9216
|
+
project: DTOForgeProject
|
|
9217
|
+
});
|
|
9218
|
+
var DTORemoveForgeProjectResponse = z314.object({ ok: z314.literal(true) });
|
|
9219
|
+
|
|
9115
9220
|
// src/api/dto/forge/project-action.ts
|
|
9116
|
-
import
|
|
9221
|
+
import z318 from "zod";
|
|
9117
9222
|
|
|
9118
9223
|
// src/api/dto/forge/project-artifact.ts
|
|
9119
|
-
import { z as
|
|
9224
|
+
import { z as z316 } from "zod";
|
|
9120
9225
|
|
|
9121
9226
|
// src/api/dto/forge/project-section.ts
|
|
9122
|
-
import
|
|
9123
|
-
var AfterSectionId =
|
|
9227
|
+
import z315 from "zod";
|
|
9228
|
+
var AfterSectionId = z315.string().uuid().nullish().optional();
|
|
9124
9229
|
var DTOForgeSection = ForgeSection;
|
|
9125
9230
|
var DTOForgeSectionCreateInput = DTOForgeSection.pick({
|
|
9126
9231
|
id: true,
|
|
@@ -9131,12 +9236,12 @@ var DTOForgeSectionCreateInput = DTOForgeSection.pick({
|
|
|
9131
9236
|
});
|
|
9132
9237
|
var DTOForgeSectionUpdateInput = DTOForgeSection.pick({ id: true, name: true });
|
|
9133
9238
|
var DTOForgeSectionDeleteInput = DTOForgeSection.pick({ id: true }).extend({
|
|
9134
|
-
deleteChildren:
|
|
9239
|
+
deleteChildren: z315.boolean().default(false)
|
|
9135
9240
|
});
|
|
9136
9241
|
var DTOForgeSectionMoveInput = DTOForgeSection.pick({ id: true }).extend({
|
|
9137
9242
|
afterSectionId: AfterSectionId
|
|
9138
9243
|
});
|
|
9139
|
-
var DTOForgeSectionItemMoveInput =
|
|
9244
|
+
var DTOForgeSectionItemMoveInput = z315.object({
|
|
9140
9245
|
id: Id,
|
|
9141
9246
|
sectionId: Id.nullish().optional(),
|
|
9142
9247
|
// undefined=stay, null=no section, string=move to section
|
|
@@ -9146,117 +9251,117 @@ var DTOForgeSectionItemMoveInput = z312.object({
|
|
|
9146
9251
|
|
|
9147
9252
|
// src/api/dto/forge/project-artifact.ts
|
|
9148
9253
|
var DTOForgeProjectArtifact = ForgeProjectArtifact;
|
|
9149
|
-
var DTOForgeProjectArtifactUpdateInput =
|
|
9150
|
-
id:
|
|
9151
|
-
title:
|
|
9254
|
+
var DTOForgeProjectArtifactUpdateInput = z316.object({
|
|
9255
|
+
id: z316.string(),
|
|
9256
|
+
title: z316.string().optional()
|
|
9152
9257
|
});
|
|
9153
|
-
var DTOForgeProjectArtifactCreateInput =
|
|
9154
|
-
id:
|
|
9155
|
-
title:
|
|
9156
|
-
sectionId:
|
|
9157
|
-
afterArtifactId:
|
|
9258
|
+
var DTOForgeProjectArtifactCreateInput = z316.object({
|
|
9259
|
+
id: z316.string(),
|
|
9260
|
+
title: z316.string(),
|
|
9261
|
+
sectionId: z316.string().optional(),
|
|
9262
|
+
afterArtifactId: z316.string().optional().nullable()
|
|
9158
9263
|
});
|
|
9159
|
-
var DTOForgeProjectArtifactDeleteInput =
|
|
9264
|
+
var DTOForgeProjectArtifactDeleteInput = z316.object({
|
|
9160
9265
|
id: Id
|
|
9161
9266
|
});
|
|
9162
9267
|
var DTOForgeProjectArtifactMoveInput = DTOForgeSectionItemMoveInput;
|
|
9163
|
-
var DTOForgeProjectArtifactGetResponse =
|
|
9268
|
+
var DTOForgeProjectArtifactGetResponse = z316.object({
|
|
9164
9269
|
artifact: DTOForgeProjectArtifact
|
|
9165
9270
|
});
|
|
9166
|
-
var DTOForgeProjectArtifactCreateResponse =
|
|
9271
|
+
var DTOForgeProjectArtifactCreateResponse = z316.object({
|
|
9167
9272
|
artifact: DTOForgeProjectArtifact
|
|
9168
9273
|
});
|
|
9169
|
-
var DTOForgeProjectArtifactUpdateResponse =
|
|
9274
|
+
var DTOForgeProjectArtifactUpdateResponse = z316.object({
|
|
9170
9275
|
artifact: DTOForgeProjectArtifact
|
|
9171
9276
|
});
|
|
9172
|
-
var DTOForgeProjectArtifactDeleteResponse =
|
|
9173
|
-
ok:
|
|
9277
|
+
var DTOForgeProjectArtifactDeleteResponse = z316.object({
|
|
9278
|
+
ok: z316.literal(true)
|
|
9174
9279
|
});
|
|
9175
|
-
var DTOForgeProjectArtifactMoveResponse =
|
|
9280
|
+
var DTOForgeProjectArtifactMoveResponse = z316.object({
|
|
9176
9281
|
artifact: DTOForgeProjectArtifact
|
|
9177
9282
|
});
|
|
9178
|
-
var DTOForgeProjectArtifactsListResponse =
|
|
9179
|
-
artifacts:
|
|
9283
|
+
var DTOForgeProjectArtifactsListResponse = z316.object({
|
|
9284
|
+
artifacts: z316.array(DTOForgeProjectArtifact)
|
|
9180
9285
|
});
|
|
9181
9286
|
|
|
9182
9287
|
// src/api/dto/forge/project-feature.ts
|
|
9183
|
-
import
|
|
9288
|
+
import z317 from "zod";
|
|
9184
9289
|
var DTOForgeProjectFeature = ProjectFeature;
|
|
9185
|
-
var DTOForgeProjectFeatureListResponse =
|
|
9290
|
+
var DTOForgeProjectFeatureListResponse = z317.object({
|
|
9186
9291
|
features: DTOForgeProjectFeature.array()
|
|
9187
9292
|
});
|
|
9188
|
-
var DTOForgeProjectFeatureGetResponse =
|
|
9293
|
+
var DTOForgeProjectFeatureGetResponse = z317.object({
|
|
9189
9294
|
feature: DTOForgeProjectFeature
|
|
9190
9295
|
});
|
|
9191
|
-
var DTOForgeProjectFeatureCreateInput =
|
|
9296
|
+
var DTOForgeProjectFeatureCreateInput = z317.object({
|
|
9192
9297
|
id: Id,
|
|
9193
|
-
name:
|
|
9194
|
-
description:
|
|
9298
|
+
name: z317.string(),
|
|
9299
|
+
description: z317.string(),
|
|
9195
9300
|
sectionId: Id.optional(),
|
|
9196
9301
|
afterFeatureId: Id.nullable().optional()
|
|
9197
9302
|
});
|
|
9198
|
-
var DTOForgeProjectFeatureUpdateInput =
|
|
9303
|
+
var DTOForgeProjectFeatureUpdateInput = z317.object({
|
|
9199
9304
|
id: Id,
|
|
9200
|
-
name:
|
|
9201
|
-
description:
|
|
9202
|
-
isArchived:
|
|
9305
|
+
name: z317.string().optional(),
|
|
9306
|
+
description: z317.string().optional(),
|
|
9307
|
+
isArchived: z317.boolean().optional(),
|
|
9203
9308
|
status: ProjectFeatureStatus.optional()
|
|
9204
9309
|
});
|
|
9205
|
-
var DTOForgeProjectFeatureDeleteInput =
|
|
9310
|
+
var DTOForgeProjectFeatureDeleteInput = z317.object({
|
|
9206
9311
|
id: Id
|
|
9207
9312
|
});
|
|
9208
9313
|
var DTOForgeProjectFeatureMoveInput = DTOForgeSectionItemMoveInput;
|
|
9209
9314
|
|
|
9210
9315
|
// src/api/dto/forge/project-action.ts
|
|
9211
|
-
var DTOForgeProjectActionFeatureCreate =
|
|
9212
|
-
type:
|
|
9316
|
+
var DTOForgeProjectActionFeatureCreate = z318.object({
|
|
9317
|
+
type: z318.literal("FeatureCreate"),
|
|
9213
9318
|
input: DTOForgeProjectFeatureCreateInput
|
|
9214
9319
|
});
|
|
9215
|
-
var DTOForgeProjectActionFeatureUpdate =
|
|
9216
|
-
type:
|
|
9320
|
+
var DTOForgeProjectActionFeatureUpdate = z318.object({
|
|
9321
|
+
type: z318.literal("FeatureUpdate"),
|
|
9217
9322
|
input: DTOForgeProjectFeatureUpdateInput
|
|
9218
9323
|
});
|
|
9219
|
-
var DTOForgeProjectActionFeatureMove =
|
|
9220
|
-
type:
|
|
9324
|
+
var DTOForgeProjectActionFeatureMove = z318.object({
|
|
9325
|
+
type: z318.literal("FeatureMove"),
|
|
9221
9326
|
input: DTOForgeProjectFeatureMoveInput
|
|
9222
9327
|
});
|
|
9223
|
-
var DTOForgeProjectActionFeatureDelete =
|
|
9224
|
-
type:
|
|
9328
|
+
var DTOForgeProjectActionFeatureDelete = z318.object({
|
|
9329
|
+
type: z318.literal("FeatureDelete"),
|
|
9225
9330
|
input: DTOForgeProjectFeatureDeleteInput
|
|
9226
9331
|
});
|
|
9227
|
-
var DTOForgeProjectActionArtifactCreate =
|
|
9228
|
-
type:
|
|
9332
|
+
var DTOForgeProjectActionArtifactCreate = z318.object({
|
|
9333
|
+
type: z318.literal("ArtifactCreate"),
|
|
9229
9334
|
input: DTOForgeProjectArtifactCreateInput
|
|
9230
9335
|
});
|
|
9231
|
-
var DTOForgeProjectActionArtifactUpdate =
|
|
9232
|
-
type:
|
|
9336
|
+
var DTOForgeProjectActionArtifactUpdate = z318.object({
|
|
9337
|
+
type: z318.literal("ArtifactUpdate"),
|
|
9233
9338
|
input: DTOForgeProjectArtifactUpdateInput
|
|
9234
9339
|
});
|
|
9235
|
-
var DTOForgeProjectActionArtifactDelete =
|
|
9236
|
-
type:
|
|
9340
|
+
var DTOForgeProjectActionArtifactDelete = z318.object({
|
|
9341
|
+
type: z318.literal("ArtifactDelete"),
|
|
9237
9342
|
input: DTOForgeProjectArtifactDeleteInput
|
|
9238
9343
|
});
|
|
9239
|
-
var DTOForgeProjectActionArtifactMove =
|
|
9240
|
-
type:
|
|
9344
|
+
var DTOForgeProjectActionArtifactMove = z318.object({
|
|
9345
|
+
type: z318.literal("ArtifactMove"),
|
|
9241
9346
|
input: DTOForgeProjectArtifactMoveInput
|
|
9242
9347
|
});
|
|
9243
|
-
var DTOForgeProjectActionSectionCreate =
|
|
9244
|
-
type:
|
|
9348
|
+
var DTOForgeProjectActionSectionCreate = z318.object({
|
|
9349
|
+
type: z318.literal("SectionCreate"),
|
|
9245
9350
|
input: DTOForgeSectionCreateInput
|
|
9246
9351
|
});
|
|
9247
|
-
var DTOForgeProjectActionSectionUpdate =
|
|
9248
|
-
type:
|
|
9352
|
+
var DTOForgeProjectActionSectionUpdate = z318.object({
|
|
9353
|
+
type: z318.literal("SectionUpdate"),
|
|
9249
9354
|
input: DTOForgeSectionUpdateInput
|
|
9250
9355
|
});
|
|
9251
|
-
var DTOForgeProjectActionSectionDelete =
|
|
9252
|
-
type:
|
|
9356
|
+
var DTOForgeProjectActionSectionDelete = z318.object({
|
|
9357
|
+
type: z318.literal("SectionDelete"),
|
|
9253
9358
|
input: DTOForgeSectionDeleteInput
|
|
9254
9359
|
});
|
|
9255
|
-
var DTOForgeProjectActionSectionMove =
|
|
9256
|
-
type:
|
|
9360
|
+
var DTOForgeProjectActionSectionMove = z318.object({
|
|
9361
|
+
type: z318.literal("SectionMove"),
|
|
9257
9362
|
input: DTOForgeSectionMoveInput
|
|
9258
9363
|
});
|
|
9259
|
-
var DTOForgeProjectAction =
|
|
9364
|
+
var DTOForgeProjectAction = z318.discriminatedUnion("type", [
|
|
9260
9365
|
//features
|
|
9261
9366
|
DTOForgeProjectActionFeatureCreate,
|
|
9262
9367
|
DTOForgeProjectActionFeatureUpdate,
|
|
@@ -9273,22 +9378,22 @@ var DTOForgeProjectAction = z315.discriminatedUnion("type", [
|
|
|
9273
9378
|
DTOForgeProjectActionSectionDelete,
|
|
9274
9379
|
DTOForgeProjectActionSectionMove
|
|
9275
9380
|
]).and(
|
|
9276
|
-
|
|
9277
|
-
tId:
|
|
9381
|
+
z318.object({
|
|
9382
|
+
tId: z318.string().optional()
|
|
9278
9383
|
})
|
|
9279
9384
|
);
|
|
9280
9385
|
|
|
9281
9386
|
// src/api/dto/forge/project-artifact-room.ts
|
|
9282
|
-
import { z as
|
|
9283
|
-
var DTOForgeProjectArtifactRoom =
|
|
9284
|
-
id:
|
|
9387
|
+
import { z as z319 } from "zod";
|
|
9388
|
+
var DTOForgeProjectArtifactRoom = z319.object({
|
|
9389
|
+
id: z319.string()
|
|
9285
9390
|
});
|
|
9286
|
-
var DTOForgeProjectArtifactRoomResponse =
|
|
9391
|
+
var DTOForgeProjectArtifactRoomResponse = z319.object({
|
|
9287
9392
|
room: DTOForgeProjectArtifactRoom
|
|
9288
9393
|
});
|
|
9289
9394
|
|
|
9290
9395
|
// src/api/dto/forge/project-context.ts
|
|
9291
|
-
import { z as
|
|
9396
|
+
import { z as z320 } from "zod";
|
|
9292
9397
|
var DTOForgeProjectContext = ForgeProjectContext;
|
|
9293
9398
|
var DTOCreateForgeProjectContext = DTOForgeProjectContext.pick({
|
|
9294
9399
|
definition: true,
|
|
@@ -9300,53 +9405,21 @@ var DTOCreateForgeProjectContext = DTOForgeProjectContext.pick({
|
|
|
9300
9405
|
tailwindConfig: true,
|
|
9301
9406
|
styling: true
|
|
9302
9407
|
}).extend({ npmProxySettings: DTONpmRegistryConfig });
|
|
9303
|
-
var DTOUpdateForgeProjectContext = DTOCreateForgeProjectContext.partial().extend({ id:
|
|
9304
|
-
var DTOForgeProjectContextGetResponse =
|
|
9305
|
-
var DTOForgeProjectContextListResponse =
|
|
9306
|
-
var DTOForgeProjectContextCreateResponse =
|
|
9307
|
-
var DTOForgeProjectContextUpdateResponse =
|
|
9308
|
-
var DTOForgeProjectContextRemoveResponse =
|
|
9309
|
-
ok:
|
|
9408
|
+
var DTOUpdateForgeProjectContext = DTOCreateForgeProjectContext.partial().extend({ id: z320.string() });
|
|
9409
|
+
var DTOForgeProjectContextGetResponse = z320.object({ context: DTOForgeProjectContext });
|
|
9410
|
+
var DTOForgeProjectContextListResponse = z320.object({ contexts: z320.array(DTOForgeProjectContext) });
|
|
9411
|
+
var DTOForgeProjectContextCreateResponse = z320.object({ context: DTOForgeProjectContext });
|
|
9412
|
+
var DTOForgeProjectContextUpdateResponse = z320.object({ context: DTOForgeProjectContext });
|
|
9413
|
+
var DTOForgeProjectContextRemoveResponse = z320.object({
|
|
9414
|
+
ok: z320.literal(true)
|
|
9310
9415
|
});
|
|
9311
9416
|
|
|
9312
9417
|
// src/api/dto/forge/project-figma-node.ts
|
|
9313
9418
|
var DTOForgeProjectFigmaNode = ForgeProjectFigmaNode;
|
|
9314
9419
|
var DTOForgeProjectFigmaNodeRenderInput = ForgeProjectFigmaNodeRenderInput;
|
|
9315
9420
|
|
|
9316
|
-
// src/api/dto/forge/project-
|
|
9317
|
-
import { z as
|
|
9318
|
-
var DTOForgeProjectInvitation = ForgeProjectInvitation;
|
|
9319
|
-
var DTOCreateForgeProjectInvitation = DTOForgeProjectInvitation.pick({
|
|
9320
|
-
email: true,
|
|
9321
|
-
role: true
|
|
9322
|
-
}).extend({
|
|
9323
|
-
workspaceRole: WorkspaceRoleSchema
|
|
9324
|
-
});
|
|
9325
|
-
var DTOUpdateForgeProjectInvitation = DTOCreateForgeProjectInvitation.omit({
|
|
9326
|
-
email: true,
|
|
9327
|
-
workspaceRole: true
|
|
9328
|
-
});
|
|
9329
|
-
var DTORemoveForgeProjectInvitation = DTOCreateForgeProjectInvitation.pick({
|
|
9330
|
-
email: true
|
|
9331
|
-
});
|
|
9332
|
-
var DTOForgeProjectInvitationsListResponse = z318.object({
|
|
9333
|
-
invitations: z318.array(DTOForgeProjectInvitation)
|
|
9334
|
-
});
|
|
9335
|
-
var DTOForgeProjectInvitationGetResponse = z318.object({
|
|
9336
|
-
invitation: DTOForgeProjectInvitation
|
|
9337
|
-
});
|
|
9338
|
-
var DTOForgeProjectInvitationCreateResponse = z318.object({
|
|
9339
|
-
invitation: DTOForgeProjectInvitation
|
|
9340
|
-
});
|
|
9341
|
-
var DTOForgeProjectInvitationUpdateResponse = z318.object({
|
|
9342
|
-
invitation: DTOForgeProjectInvitation.nullable()
|
|
9343
|
-
});
|
|
9344
|
-
var DTOForgeProjectInvitationRemoveResponse = z318.object({
|
|
9345
|
-
ok: z318.literal(true)
|
|
9346
|
-
});
|
|
9347
|
-
|
|
9348
|
-
// src/api/dto/forge/project-iteration.ts
|
|
9349
|
-
import { z as z319 } from "zod";
|
|
9421
|
+
// src/api/dto/forge/project-iteration-old.ts
|
|
9422
|
+
import { z as z321 } from "zod";
|
|
9350
9423
|
var DTOForgeProjectIterationMergeMeta = ForgeProjectIterationMergeMeta;
|
|
9351
9424
|
var DTOForgeProjectIteration = ForgeProjectIteration.omit({
|
|
9352
9425
|
artifacts: true,
|
|
@@ -9357,7 +9430,7 @@ var DTOForgeProjectIteration = ForgeProjectIteration.omit({
|
|
|
9357
9430
|
messages: DTOForgeIterationMessage.array(),
|
|
9358
9431
|
mergeMeta: DTOForgeProjectIterationMergeMeta.optional()
|
|
9359
9432
|
});
|
|
9360
|
-
var DTOGetForgeProjectIterationResponse =
|
|
9433
|
+
var DTOGetForgeProjectIterationResponse = z321.object({
|
|
9361
9434
|
iteration: DTOForgeProjectIteration.nullable()
|
|
9362
9435
|
});
|
|
9363
9436
|
var DTOCreateForgeProjectIteration = DTOForgeProjectIteration.omit({
|
|
@@ -9367,95 +9440,26 @@ var DTOCreateForgeProjectIteration = DTOForgeProjectIteration.omit({
|
|
|
9367
9440
|
mergeMeta: true,
|
|
9368
9441
|
createdAt: true
|
|
9369
9442
|
});
|
|
9370
|
-
var DTOUpdateForgeProjectIteration = DTOCreateForgeProjectIteration.extend({ id:
|
|
9371
|
-
var DTOCreateForgeProjectIterationResponse =
|
|
9443
|
+
var DTOUpdateForgeProjectIteration = DTOCreateForgeProjectIteration.extend({ id: z321.string() });
|
|
9444
|
+
var DTOCreateForgeProjectIterationResponse = z321.object({
|
|
9372
9445
|
iteration: DTOForgeProjectIteration
|
|
9373
9446
|
});
|
|
9374
|
-
var DTOUpdateForgeProjectIterationResponse =
|
|
9447
|
+
var DTOUpdateForgeProjectIterationResponse = z321.object({
|
|
9375
9448
|
iteration: DTOForgeProjectIteration.nullable()
|
|
9376
9449
|
});
|
|
9377
|
-
var DTODeleteForgeProjectIterationResponse =
|
|
9378
|
-
ok:
|
|
9379
|
-
});
|
|
9380
|
-
var DTOForgeProjectIterationListResponse = z319.object({ iterations: z319.array(DTOForgeProjectIteration) });
|
|
9381
|
-
|
|
9382
|
-
// src/api/dto/forge/project-member.ts
|
|
9383
|
-
import { z as z320 } from "zod";
|
|
9384
|
-
var DTOForgeProjectMemberRole = ForgeProjectRole;
|
|
9385
|
-
var DTOForgeProjectMember = ForgeProjectMembership.extend({
|
|
9386
|
-
user: DTOUser,
|
|
9387
|
-
effectiveRole: DTOForgeProjectMemberRole
|
|
9388
|
-
});
|
|
9389
|
-
var DTOCreateForgeProjectMember = DTOForgeProjectMember.pick({
|
|
9390
|
-
userId: true,
|
|
9391
|
-
role: true
|
|
9392
|
-
});
|
|
9393
|
-
var DTOUpdateForgeProjectMember = DTOCreateForgeProjectMember.omit({ userId: true });
|
|
9394
|
-
var DTORemoveForgeProjectMember = DTOForgeProjectMember.pick({
|
|
9395
|
-
userId: true
|
|
9396
|
-
});
|
|
9397
|
-
var DTOForgeProjectMembersListResponse = z320.object({
|
|
9398
|
-
members: z320.array(DTOForgeProjectMember),
|
|
9399
|
-
invitations: z320.array(DTOForgeProjectInvitation)
|
|
9400
|
-
});
|
|
9401
|
-
var DTOForgeProjectMemberGetResponse = z320.object({
|
|
9402
|
-
member: DTOForgeProjectMember
|
|
9403
|
-
});
|
|
9404
|
-
var DTOForgeProjectMemberCreateResponse = z320.object({
|
|
9405
|
-
member: DTOForgeProjectMember
|
|
9406
|
-
});
|
|
9407
|
-
var DTOForgeProjectMemberUpdateResponse = z320.object({
|
|
9408
|
-
member: DTOForgeProjectMember.nullable()
|
|
9409
|
-
});
|
|
9410
|
-
var DTOForgeProjectMemberRemoveResponse = z320.object({
|
|
9411
|
-
ok: z320.literal(true)
|
|
9412
|
-
});
|
|
9413
|
-
var DTOAddMembersToForgeProject = z320.object({
|
|
9414
|
-
membersToInvite: DTOCreateForgeProjectInvitation.array().min(1)
|
|
9450
|
+
var DTODeleteForgeProjectIterationResponse = z321.object({
|
|
9451
|
+
ok: z321.literal(true)
|
|
9415
9452
|
});
|
|
9453
|
+
var DTOForgeProjectIterationListResponse = z321.object({ iterations: z321.array(DTOForgeProjectIteration) });
|
|
9416
9454
|
|
|
9417
9455
|
// src/api/dto/forge/project-room.ts
|
|
9418
|
-
import { z as z321 } from "zod";
|
|
9419
|
-
var DTOForgeProjectRoom = z321.object({
|
|
9420
|
-
id: z321.string()
|
|
9421
|
-
});
|
|
9422
|
-
var DTOForgeProjectRoomResponse = z321.object({
|
|
9423
|
-
room: DTOForgeProjectRoom
|
|
9424
|
-
});
|
|
9425
|
-
|
|
9426
|
-
// src/api/dto/forge/project.ts
|
|
9427
9456
|
import { z as z322 } from "zod";
|
|
9428
|
-
var
|
|
9429
|
-
|
|
9430
|
-
members: z322.array(DTOForgeProjectMember),
|
|
9431
|
-
invitations: z322.array(DTOForgeProjectInvitation)
|
|
9432
|
-
});
|
|
9433
|
-
var DTOCreateForgeProject = ForgeProject.pick({
|
|
9434
|
-
instruction: true,
|
|
9435
|
-
name: true,
|
|
9436
|
-
meta: true,
|
|
9437
|
-
tags: true,
|
|
9438
|
-
accessMode: true,
|
|
9439
|
-
fpContextId: true,
|
|
9440
|
-
isArchived: true,
|
|
9441
|
-
emoji: true
|
|
9442
|
-
}).extend({ membersToInvite: DTOCreateForgeProjectInvitation.array().min(1).optional() });
|
|
9443
|
-
var DTOUpdateForgeProject = DTOCreateForgeProject.omit({ membersToInvite: true }).partial().extend({
|
|
9444
|
-
id: z322.string(),
|
|
9445
|
-
membersToRetain: z322.string().array().min(1).optional()
|
|
9446
|
-
});
|
|
9447
|
-
var DTOForgeProjectGetResponse = z322.object({ project: DTOForgeProject.nullable() });
|
|
9448
|
-
var DTOForgeProjectsListResponse = z322.object({ projects: z322.array(DTOForgeProject) });
|
|
9449
|
-
var DTOCreateForgeProjectResponse = z322.object({
|
|
9450
|
-
project: DTOForgeProject
|
|
9451
|
-
});
|
|
9452
|
-
var DTOUpdateForgeProjectResponse = z322.object({
|
|
9453
|
-
project: DTOForgeProject
|
|
9457
|
+
var DTOForgeProjectRoom = z322.object({
|
|
9458
|
+
id: z322.string()
|
|
9454
9459
|
});
|
|
9455
|
-
var
|
|
9456
|
-
|
|
9460
|
+
var DTOForgeProjectRoomResponse = z322.object({
|
|
9461
|
+
room: DTOForgeProjectRoom
|
|
9457
9462
|
});
|
|
9458
|
-
var DTORemoveForgeProjectResponse = z322.object({ ok: z322.literal(true) });
|
|
9459
9463
|
|
|
9460
9464
|
// src/api/dto/forge/threads.ts
|
|
9461
9465
|
import { z as z323 } from "zod";
|