@supernova-studio/client 1.43.1 → 1.43.3
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 +96997 -96483
- package/dist/index.d.ts +96997 -96483
- package/dist/index.js +235 -212
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +337 -314
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
package/dist/index.mjs
CHANGED
|
@@ -5668,7 +5668,8 @@ var FlaggedFeature = z204.enum([
|
|
|
5668
5668
|
"PulsarConcurrencyMode",
|
|
5669
5669
|
"PulsarConcurrency",
|
|
5670
5670
|
"PulsarProfilerMode",
|
|
5671
|
-
"ForgeE2BTemplate"
|
|
5671
|
+
"ForgeE2BTemplate",
|
|
5672
|
+
"ForgeOnDemandIterations"
|
|
5672
5673
|
]);
|
|
5673
5674
|
var FeatureFlagMap = z204.record(FlaggedFeature, z204.boolean());
|
|
5674
5675
|
var FeatureFlag = z204.object({
|
|
@@ -9469,7 +9470,14 @@ var DTOFeatureIterationPromoteInput = z311.object({
|
|
|
9469
9470
|
id: Id
|
|
9470
9471
|
});
|
|
9471
9472
|
var DTOFeatureIterationSetLatestInput = z311.object({
|
|
9472
|
-
id: Id
|
|
9473
|
+
id: Id,
|
|
9474
|
+
/**
|
|
9475
|
+
* Optional message ID to determine the context for setting this iteration as latest.
|
|
9476
|
+
* When provided, uses this message's parent as the tag context.
|
|
9477
|
+
* When undefined, uses the iteration's original startedFromMessage.
|
|
9478
|
+
* When null, explicitly excludes message context from the tag.
|
|
9479
|
+
*/
|
|
9480
|
+
contextMessageId: Id.nullish()
|
|
9473
9481
|
});
|
|
9474
9482
|
var DTOFeatureIterationUpdateInput = z311.object({
|
|
9475
9483
|
id: Id,
|
|
@@ -9508,6 +9516,11 @@ var DTOFeatureIterationUpdateArtifactsInput = z311.object({
|
|
|
9508
9516
|
name: z311.string().optional(),
|
|
9509
9517
|
artifactDiff: DTOFeatureIterationArtifactDiff
|
|
9510
9518
|
});
|
|
9519
|
+
var DTOFeatureIterationUpdateArtifactsByMessageInput = z311.object({
|
|
9520
|
+
messageId: Id,
|
|
9521
|
+
name: z311.string().optional(),
|
|
9522
|
+
artifactDiff: DTOFeatureIterationArtifactDiff
|
|
9523
|
+
});
|
|
9511
9524
|
var DTOFeatureAgentWorkFinalizeInput = z311.object({
|
|
9512
9525
|
messageId: Id
|
|
9513
9526
|
});
|
|
@@ -9623,8 +9636,8 @@ var DTODeleteForgeIterationMessageResponse = z314.object({
|
|
|
9623
9636
|
ok: z314.literal(true)
|
|
9624
9637
|
});
|
|
9625
9638
|
|
|
9626
|
-
// src/api/dto/forge/project.ts
|
|
9627
|
-
import
|
|
9639
|
+
// src/api/dto/forge/project-action.ts
|
|
9640
|
+
import z319 from "zod";
|
|
9628
9641
|
|
|
9629
9642
|
// src/api/dto/forge/project-artifact.ts
|
|
9630
9643
|
import { z as z317 } from "zod";
|
|
@@ -9702,6 +9715,7 @@ var DTOThreadMessage = z315.object({
|
|
|
9702
9715
|
* If defined, this message is considered to be a reply to different message
|
|
9703
9716
|
*/
|
|
9704
9717
|
replyToMessageId: Id.optional(),
|
|
9718
|
+
promptMetadata: z315.record(z315.string(), z315.any()).optional(),
|
|
9705
9719
|
createdAt: z315.string(),
|
|
9706
9720
|
updatedAt: z315.string().optional()
|
|
9707
9721
|
});
|
|
@@ -9718,7 +9732,8 @@ var DTOThreadMessageCreateInput = DTOThreadMessage.pick({
|
|
|
9718
9732
|
body: true,
|
|
9719
9733
|
isPrompt: true,
|
|
9720
9734
|
startsNewThread: true,
|
|
9721
|
-
parentMessageId: true
|
|
9735
|
+
parentMessageId: true,
|
|
9736
|
+
promptMetadata: true
|
|
9722
9737
|
}).extend({
|
|
9723
9738
|
attachments: DTOThreadMessageAttachmentsCreateInput.optional()
|
|
9724
9739
|
});
|
|
@@ -9839,19 +9854,128 @@ var DTOForgeProjectArtifactsListResponse = z317.object({
|
|
|
9839
9854
|
artifacts: z317.array(DTOForgeProjectArtifact)
|
|
9840
9855
|
});
|
|
9841
9856
|
|
|
9857
|
+
// src/api/dto/forge/project-feature.ts
|
|
9858
|
+
import z318 from "zod";
|
|
9859
|
+
var DTOForgeProjectFeature = ProjectFeature;
|
|
9860
|
+
var DTOForgeProjectFeatureListResponse = z318.object({
|
|
9861
|
+
features: DTOForgeProjectFeature.array()
|
|
9862
|
+
});
|
|
9863
|
+
var DTOForgeProjectFeatureGetResponse = z318.object({
|
|
9864
|
+
feature: DTOForgeProjectFeature
|
|
9865
|
+
});
|
|
9866
|
+
var DTOForgeProjectFeatureCreateInput = z318.object({
|
|
9867
|
+
id: Id,
|
|
9868
|
+
name: z318.string().optional(),
|
|
9869
|
+
description: z318.string(),
|
|
9870
|
+
sectionId: Id.optional(),
|
|
9871
|
+
afterFeatureId: Id.nullable().optional(),
|
|
9872
|
+
initialMessage: DTOThreadMessageCreateInput
|
|
9873
|
+
});
|
|
9874
|
+
var DTOForgeProjectFeatureUpdateInput = z318.object({
|
|
9875
|
+
id: Id,
|
|
9876
|
+
name: z318.string().optional(),
|
|
9877
|
+
description: z318.string().optional(),
|
|
9878
|
+
isArchived: z318.boolean().optional(),
|
|
9879
|
+
status: ProjectFeatureStatus.optional()
|
|
9880
|
+
});
|
|
9881
|
+
var DTOForgeProjectFeatureDeleteInput = z318.object({
|
|
9882
|
+
id: Id
|
|
9883
|
+
});
|
|
9884
|
+
var DTOForgeProjectFeatureMoveInput = DTOForgeSectionItemMoveInput;
|
|
9885
|
+
|
|
9886
|
+
// src/api/dto/forge/project-action.ts
|
|
9887
|
+
var DTOForgeProjectActionFeatureCreate = z319.object({
|
|
9888
|
+
type: z319.literal("FeatureCreate"),
|
|
9889
|
+
input: DTOForgeProjectFeatureCreateInput
|
|
9890
|
+
});
|
|
9891
|
+
var DTOForgeProjectActionFeatureUpdate = z319.object({
|
|
9892
|
+
type: z319.literal("FeatureUpdate"),
|
|
9893
|
+
input: DTOForgeProjectFeatureUpdateInput
|
|
9894
|
+
});
|
|
9895
|
+
var DTOForgeProjectActionFeatureMove = z319.object({
|
|
9896
|
+
type: z319.literal("FeatureMove"),
|
|
9897
|
+
input: DTOForgeProjectFeatureMoveInput
|
|
9898
|
+
});
|
|
9899
|
+
var DTOForgeProjectActionFeatureDelete = z319.object({
|
|
9900
|
+
type: z319.literal("FeatureDelete"),
|
|
9901
|
+
input: DTOForgeProjectFeatureDeleteInput
|
|
9902
|
+
});
|
|
9903
|
+
var DTOForgeProjectActionArtifactCreate = z319.object({
|
|
9904
|
+
type: z319.literal("ArtifactCreate"),
|
|
9905
|
+
input: DTOForgeProjectArtifactCreateInput
|
|
9906
|
+
});
|
|
9907
|
+
var DTOForgeProjectActionArtifactUpdate = z319.object({
|
|
9908
|
+
type: z319.literal("ArtifactUpdate"),
|
|
9909
|
+
input: DTOForgeProjectArtifactUpdateInput
|
|
9910
|
+
});
|
|
9911
|
+
var DTOForgeProjectActionArtifactDelete = z319.object({
|
|
9912
|
+
type: z319.literal("ArtifactDelete"),
|
|
9913
|
+
input: DTOForgeProjectArtifactDeleteInput
|
|
9914
|
+
});
|
|
9915
|
+
var DTOForgeProjectActionArtifactMove = z319.object({
|
|
9916
|
+
type: z319.literal("ArtifactMove"),
|
|
9917
|
+
input: DTOForgeProjectArtifactMoveInput
|
|
9918
|
+
});
|
|
9919
|
+
var DTOForgeProjectActionSectionCreate = z319.object({
|
|
9920
|
+
type: z319.literal("SectionCreate"),
|
|
9921
|
+
input: DTOForgeSectionCreateInput
|
|
9922
|
+
});
|
|
9923
|
+
var DTOForgeProjectActionSectionUpdate = z319.object({
|
|
9924
|
+
type: z319.literal("SectionUpdate"),
|
|
9925
|
+
input: DTOForgeSectionUpdateInput
|
|
9926
|
+
});
|
|
9927
|
+
var DTOForgeProjectActionSectionDelete = z319.object({
|
|
9928
|
+
type: z319.literal("SectionDelete"),
|
|
9929
|
+
input: DTOForgeSectionDeleteInput
|
|
9930
|
+
});
|
|
9931
|
+
var DTOForgeProjectActionSectionMove = z319.object({
|
|
9932
|
+
type: z319.literal("SectionMove"),
|
|
9933
|
+
input: DTOForgeSectionMoveInput
|
|
9934
|
+
});
|
|
9935
|
+
var DTOForgeProjectAction = z319.discriminatedUnion("type", [
|
|
9936
|
+
//features
|
|
9937
|
+
DTOForgeProjectActionFeatureCreate,
|
|
9938
|
+
DTOForgeProjectActionFeatureUpdate,
|
|
9939
|
+
DTOForgeProjectActionFeatureDelete,
|
|
9940
|
+
DTOForgeProjectActionFeatureMove,
|
|
9941
|
+
//artifacts
|
|
9942
|
+
DTOForgeProjectActionArtifactCreate,
|
|
9943
|
+
DTOForgeProjectActionArtifactUpdate,
|
|
9944
|
+
DTOForgeProjectActionArtifactDelete,
|
|
9945
|
+
DTOForgeProjectActionArtifactMove,
|
|
9946
|
+
//section
|
|
9947
|
+
DTOForgeProjectActionSectionCreate,
|
|
9948
|
+
DTOForgeProjectActionSectionUpdate,
|
|
9949
|
+
DTOForgeProjectActionSectionDelete,
|
|
9950
|
+
DTOForgeProjectActionSectionMove
|
|
9951
|
+
]).and(
|
|
9952
|
+
z319.object({
|
|
9953
|
+
tId: z319.string().optional()
|
|
9954
|
+
})
|
|
9955
|
+
);
|
|
9956
|
+
|
|
9957
|
+
// src/api/dto/forge/project-artifact-room.ts
|
|
9958
|
+
import { z as z320 } from "zod";
|
|
9959
|
+
var DTOForgeProjectArtifactRoom = z320.object({
|
|
9960
|
+
id: z320.string()
|
|
9961
|
+
});
|
|
9962
|
+
var DTOForgeProjectArtifactRoomResponse = z320.object({
|
|
9963
|
+
room: DTOForgeProjectArtifactRoom
|
|
9964
|
+
});
|
|
9965
|
+
|
|
9842
9966
|
// src/api/dto/forge/project-context-v2.ts
|
|
9843
|
-
import { z as
|
|
9844
|
-
var DTOForgeComponentSetTypeV2 =
|
|
9845
|
-
var DTOForgeComponentSet =
|
|
9967
|
+
import { z as z321 } from "zod";
|
|
9968
|
+
var DTOForgeComponentSetTypeV2 = z321.enum(["Shadcn"]);
|
|
9969
|
+
var DTOForgeComponentSet = z321.object({
|
|
9846
9970
|
type: DTOForgeComponentSetTypeV2
|
|
9847
9971
|
});
|
|
9848
|
-
var DTOForgeIconSetTypeV2 =
|
|
9849
|
-
var DTOForgeThemePreset =
|
|
9850
|
-
var DTOForgeIconSet =
|
|
9972
|
+
var DTOForgeIconSetTypeV2 = z321.enum(["Phosphor", "Lucide", "Tabler"]);
|
|
9973
|
+
var DTOForgeThemePreset = z321.enum(["Default", "Airbnb", "Spotify", "Windows98"]);
|
|
9974
|
+
var DTOForgeIconSet = z321.object({
|
|
9851
9975
|
type: DTOForgeIconSetTypeV2,
|
|
9852
|
-
variant:
|
|
9976
|
+
variant: z321.string().optional()
|
|
9853
9977
|
});
|
|
9854
|
-
var DTOForgeProjectTheme =
|
|
9978
|
+
var DTOForgeProjectTheme = z321.object({
|
|
9855
9979
|
// Colors
|
|
9856
9980
|
background: ColorTokenData,
|
|
9857
9981
|
foreground: ColorTokenData,
|
|
@@ -9936,21 +10060,21 @@ var DTOForgeProjectTheme = z318.object({
|
|
|
9936
10060
|
shadowXl: ShadowTokenData,
|
|
9937
10061
|
shadow2xl: ShadowTokenData
|
|
9938
10062
|
});
|
|
9939
|
-
var DTOForgeProjectContextV2 =
|
|
9940
|
-
id:
|
|
9941
|
-
name:
|
|
9942
|
-
workspaceId:
|
|
9943
|
-
designSystemId:
|
|
9944
|
-
description:
|
|
9945
|
-
productContext:
|
|
9946
|
-
additionalContext:
|
|
9947
|
-
isArchived:
|
|
10063
|
+
var DTOForgeProjectContextV2 = z321.object({
|
|
10064
|
+
id: z321.string(),
|
|
10065
|
+
name: z321.string(),
|
|
10066
|
+
workspaceId: z321.string(),
|
|
10067
|
+
designSystemId: z321.string().optional(),
|
|
10068
|
+
description: z321.string().optional(),
|
|
10069
|
+
productContext: z321.string().optional(),
|
|
10070
|
+
additionalContext: z321.string().optional(),
|
|
10071
|
+
isArchived: z321.boolean(),
|
|
9948
10072
|
themePreset: DTOForgeThemePreset.optional(),
|
|
9949
10073
|
componentSet: DTOForgeComponentSet,
|
|
9950
10074
|
iconSet: DTOForgeIconSet,
|
|
9951
10075
|
theme: DTOForgeProjectTheme,
|
|
9952
|
-
createdAt:
|
|
9953
|
-
updatedAt:
|
|
10076
|
+
createdAt: z321.coerce.date(),
|
|
10077
|
+
updatedAt: z321.coerce.date()
|
|
9954
10078
|
});
|
|
9955
10079
|
var DTOForgeProjectContextCreateV2 = DTOForgeProjectContextV2.omit({
|
|
9956
10080
|
id: true,
|
|
@@ -9959,244 +10083,38 @@ var DTOForgeProjectContextCreateV2 = DTOForgeProjectContextV2.omit({
|
|
|
9959
10083
|
isArchived: true
|
|
9960
10084
|
});
|
|
9961
10085
|
var DTOForgeProjectContextUpdateV2 = DTOForgeProjectContextV2.omit({ id: true, workspaceId: true }).partial();
|
|
9962
|
-
var DTOForgeProjectContextResponseV2 =
|
|
9963
|
-
var DTOForgeProjectContextListQueryV2 =
|
|
9964
|
-
var DTOForgeProjectContextListResponseV2 =
|
|
9965
|
-
|
|
9966
|
-
// src/api/dto/forge/project-feature.ts
|
|
9967
|
-
import z319 from "zod";
|
|
9968
|
-
var DTOForgeProjectFeature = ProjectFeature;
|
|
9969
|
-
var DTOForgeProjectFeatureListResponse = z319.object({
|
|
9970
|
-
features: DTOForgeProjectFeature.array()
|
|
9971
|
-
});
|
|
9972
|
-
var DTOForgeProjectFeatureGetResponse = z319.object({
|
|
9973
|
-
feature: DTOForgeProjectFeature
|
|
9974
|
-
});
|
|
9975
|
-
var DTOForgeProjectFeatureCreateInput = z319.object({
|
|
9976
|
-
id: Id,
|
|
9977
|
-
name: z319.string().optional(),
|
|
9978
|
-
description: z319.string(),
|
|
9979
|
-
sectionId: Id.optional(),
|
|
9980
|
-
afterFeatureId: Id.nullable().optional(),
|
|
9981
|
-
initialMessage: DTOThreadMessageCreateInput
|
|
9982
|
-
});
|
|
9983
|
-
var DTOForgeProjectFeatureUpdateInput = z319.object({
|
|
9984
|
-
id: Id,
|
|
9985
|
-
name: z319.string().optional(),
|
|
9986
|
-
description: z319.string().optional(),
|
|
9987
|
-
isArchived: z319.boolean().optional(),
|
|
9988
|
-
status: ProjectFeatureStatus.optional()
|
|
9989
|
-
});
|
|
9990
|
-
var DTOForgeProjectFeatureDeleteInput = z319.object({
|
|
9991
|
-
id: Id
|
|
9992
|
-
});
|
|
9993
|
-
var DTOForgeProjectFeatureMoveInput = DTOForgeSectionItemMoveInput;
|
|
9994
|
-
|
|
9995
|
-
// src/api/dto/forge/project-invitation.ts
|
|
9996
|
-
import { z as z320 } from "zod";
|
|
9997
|
-
var DTOForgeProjectInvitation = ForgeProjectInvitation;
|
|
9998
|
-
var DTOCreateForgeProjectInvitation = DTOForgeProjectInvitation.pick({
|
|
9999
|
-
email: true,
|
|
10000
|
-
role: true
|
|
10001
|
-
}).extend({
|
|
10002
|
-
workspaceRole: WorkspaceRoleSchema
|
|
10003
|
-
});
|
|
10004
|
-
var DTOUpdateForgeProjectInvitation = DTOCreateForgeProjectInvitation.omit({
|
|
10005
|
-
workspaceRole: true
|
|
10006
|
-
});
|
|
10007
|
-
var DTORemoveForgeProjectInvitation = DTOCreateForgeProjectInvitation.pick({
|
|
10008
|
-
email: true
|
|
10009
|
-
});
|
|
10010
|
-
var DTOForgeProjectInvitationsListResponse = z320.object({
|
|
10011
|
-
invitations: z320.array(DTOForgeProjectInvitation)
|
|
10012
|
-
});
|
|
10013
|
-
var DTOForgeProjectInvitationGetResponse = z320.object({
|
|
10014
|
-
invitation: DTOForgeProjectInvitation
|
|
10015
|
-
});
|
|
10016
|
-
var DTOForgeProjectInvitationCreateResponse = z320.object({
|
|
10017
|
-
invitation: DTOForgeProjectInvitation
|
|
10018
|
-
});
|
|
10019
|
-
var DTOForgeProjectInvitationUpdateResponse = z320.object({
|
|
10020
|
-
invitation: DTOForgeProjectInvitation.nullable()
|
|
10021
|
-
});
|
|
10022
|
-
var DTOForgeProjectInvitationRemoveResponse = z320.object({
|
|
10023
|
-
ok: z320.literal(true)
|
|
10024
|
-
});
|
|
10025
|
-
|
|
10026
|
-
// src/api/dto/forge/project.ts
|
|
10027
|
-
var DTOForgeProjectRole = z321.enum(["Viewer", "Builder", "Admin"]);
|
|
10028
|
-
var DTOForgeProjectAccessMode = z321.enum(["InviteOnly", "Open", "Unlisted"]);
|
|
10029
|
-
var DTOForgeProjectDefaultRole = DTOForgeProjectRole.exclude(["Admin"]);
|
|
10030
|
-
var DTOForgeProject = z321.object({
|
|
10031
|
-
id: z321.string(),
|
|
10032
|
-
workspaceId: z321.string(),
|
|
10033
|
-
projectContextId: z321.string(),
|
|
10034
|
-
name: z321.string(),
|
|
10035
|
-
description: z321.string().optional(),
|
|
10036
|
-
instruction: z321.string().nullable(),
|
|
10037
|
-
tags: z321.array(z321.string()).default([]),
|
|
10038
|
-
accessMode: DTOForgeProjectAccessMode,
|
|
10039
|
-
defaultRole: DTOForgeProjectDefaultRole.default("Viewer"),
|
|
10040
|
-
isArchived: z321.boolean().optional(),
|
|
10041
|
-
emoji: z321.string().optional(),
|
|
10042
|
-
createdAt: z321.coerce.date(),
|
|
10043
|
-
createdByUserId: z321.string().optional(),
|
|
10044
|
-
updatedAt: z321.coerce.date(),
|
|
10045
|
-
/** @deprecated use `projectContextId` */
|
|
10046
|
-
fpContextId: z321.string(),
|
|
10047
|
-
/** @deprecated use `name` and `description` properties on project */
|
|
10048
|
-
meta: z321.object({
|
|
10049
|
-
name: z321.string(),
|
|
10050
|
-
description: z321.string().optional()
|
|
10051
|
-
}),
|
|
10052
|
-
/** @deprecated prefer fetching from project contexts endpoint separately */
|
|
10053
|
-
context: DTOForgeProjectContextV2,
|
|
10054
|
-
numberOfFeatures: z321.number().int().nonnegative()
|
|
10055
|
-
});
|
|
10056
|
-
var DTOForgeProjectCreate = DTOForgeProject.pick({
|
|
10057
|
-
name: true,
|
|
10058
|
-
description: true,
|
|
10059
|
-
instruction: true,
|
|
10060
|
-
tags: true,
|
|
10061
|
-
accessMode: true,
|
|
10062
|
-
defaultRole: true,
|
|
10063
|
-
emoji: true
|
|
10064
|
-
}).extend({
|
|
10065
|
-
/** @deprecated use `name` and `description` properties on project */
|
|
10066
|
-
meta: DTOForgeProject.shape.meta.optional(),
|
|
10067
|
-
/** @deprecated use `projectContextId` */
|
|
10068
|
-
fpContextId: z321.string().optional(),
|
|
10069
|
-
projectContextId: z321.string().optional(),
|
|
10070
|
-
membersToInvite: DTOCreateForgeProjectInvitation.array().min(1).optional(),
|
|
10071
|
-
initialFeature: DTOForgeProjectFeatureCreateInput.optional(),
|
|
10072
|
-
initialArtifact: DTOForgeProjectArtifactCreateInput.optional()
|
|
10073
|
-
});
|
|
10074
|
-
var DTOForgeProjectUpdate = DTOForgeProjectCreate.omit({ membersToInvite: true }).partial().extend({
|
|
10075
|
-
id: z321.string(),
|
|
10076
|
-
isArchived: z321.boolean().optional()
|
|
10077
|
-
});
|
|
10078
|
-
var DTOForgeProjectListResponse = z321.object({
|
|
10079
|
-
projects: z321.array(
|
|
10080
|
-
DTOForgeProject.extend({
|
|
10081
|
-
effectiveRole: DTOForgeProjectRole
|
|
10082
|
-
})
|
|
10083
|
-
)
|
|
10084
|
-
});
|
|
10085
|
-
var DTOForgeProjectResponse = z321.object({
|
|
10086
|
-
project: DTOForgeProject.extend({
|
|
10087
|
-
effectiveRole: DTOForgeProjectRole
|
|
10088
|
-
})
|
|
10089
|
-
});
|
|
10090
|
-
|
|
10091
|
-
// src/api/dto/forge/project-action.ts
|
|
10092
|
-
import z322 from "zod";
|
|
10093
|
-
var DTOForgeProjectActionFeatureCreate = z322.object({
|
|
10094
|
-
type: z322.literal("FeatureCreate"),
|
|
10095
|
-
input: DTOForgeProjectFeatureCreateInput
|
|
10096
|
-
});
|
|
10097
|
-
var DTOForgeProjectActionFeatureUpdate = z322.object({
|
|
10098
|
-
type: z322.literal("FeatureUpdate"),
|
|
10099
|
-
input: DTOForgeProjectFeatureUpdateInput
|
|
10100
|
-
});
|
|
10101
|
-
var DTOForgeProjectActionFeatureMove = z322.object({
|
|
10102
|
-
type: z322.literal("FeatureMove"),
|
|
10103
|
-
input: DTOForgeProjectFeatureMoveInput
|
|
10104
|
-
});
|
|
10105
|
-
var DTOForgeProjectActionFeatureDelete = z322.object({
|
|
10106
|
-
type: z322.literal("FeatureDelete"),
|
|
10107
|
-
input: DTOForgeProjectFeatureDeleteInput
|
|
10108
|
-
});
|
|
10109
|
-
var DTOForgeProjectActionArtifactCreate = z322.object({
|
|
10110
|
-
type: z322.literal("ArtifactCreate"),
|
|
10111
|
-
input: DTOForgeProjectArtifactCreateInput
|
|
10112
|
-
});
|
|
10113
|
-
var DTOForgeProjectActionArtifactUpdate = z322.object({
|
|
10114
|
-
type: z322.literal("ArtifactUpdate"),
|
|
10115
|
-
input: DTOForgeProjectArtifactUpdateInput
|
|
10116
|
-
});
|
|
10117
|
-
var DTOForgeProjectActionArtifactDelete = z322.object({
|
|
10118
|
-
type: z322.literal("ArtifactDelete"),
|
|
10119
|
-
input: DTOForgeProjectArtifactDeleteInput
|
|
10120
|
-
});
|
|
10121
|
-
var DTOForgeProjectActionArtifactMove = z322.object({
|
|
10122
|
-
type: z322.literal("ArtifactMove"),
|
|
10123
|
-
input: DTOForgeProjectArtifactMoveInput
|
|
10124
|
-
});
|
|
10125
|
-
var DTOForgeProjectActionSectionCreate = z322.object({
|
|
10126
|
-
type: z322.literal("SectionCreate"),
|
|
10127
|
-
input: DTOForgeSectionCreateInput
|
|
10128
|
-
});
|
|
10129
|
-
var DTOForgeProjectActionSectionUpdate = z322.object({
|
|
10130
|
-
type: z322.literal("SectionUpdate"),
|
|
10131
|
-
input: DTOForgeSectionUpdateInput
|
|
10132
|
-
});
|
|
10133
|
-
var DTOForgeProjectActionSectionDelete = z322.object({
|
|
10134
|
-
type: z322.literal("SectionDelete"),
|
|
10135
|
-
input: DTOForgeSectionDeleteInput
|
|
10136
|
-
});
|
|
10137
|
-
var DTOForgeProjectActionSectionMove = z322.object({
|
|
10138
|
-
type: z322.literal("SectionMove"),
|
|
10139
|
-
input: DTOForgeSectionMoveInput
|
|
10140
|
-
});
|
|
10141
|
-
var DTOForgeProjectAction = z322.discriminatedUnion("type", [
|
|
10142
|
-
//features
|
|
10143
|
-
DTOForgeProjectActionFeatureCreate,
|
|
10144
|
-
DTOForgeProjectActionFeatureUpdate,
|
|
10145
|
-
DTOForgeProjectActionFeatureDelete,
|
|
10146
|
-
DTOForgeProjectActionFeatureMove,
|
|
10147
|
-
//artifacts
|
|
10148
|
-
DTOForgeProjectActionArtifactCreate,
|
|
10149
|
-
DTOForgeProjectActionArtifactUpdate,
|
|
10150
|
-
DTOForgeProjectActionArtifactDelete,
|
|
10151
|
-
DTOForgeProjectActionArtifactMove,
|
|
10152
|
-
//section
|
|
10153
|
-
DTOForgeProjectActionSectionCreate,
|
|
10154
|
-
DTOForgeProjectActionSectionUpdate,
|
|
10155
|
-
DTOForgeProjectActionSectionDelete,
|
|
10156
|
-
DTOForgeProjectActionSectionMove
|
|
10157
|
-
]).and(
|
|
10158
|
-
z322.object({
|
|
10159
|
-
tId: z322.string().optional()
|
|
10160
|
-
})
|
|
10161
|
-
);
|
|
10162
|
-
|
|
10163
|
-
// src/api/dto/forge/project-artifact-room.ts
|
|
10164
|
-
import { z as z323 } from "zod";
|
|
10165
|
-
var DTOForgeProjectArtifactRoom = z323.object({
|
|
10166
|
-
id: z323.string()
|
|
10167
|
-
});
|
|
10168
|
-
var DTOForgeProjectArtifactRoomResponse = z323.object({
|
|
10169
|
-
room: DTOForgeProjectArtifactRoom
|
|
10170
|
-
});
|
|
10086
|
+
var DTOForgeProjectContextResponseV2 = z321.object({ context: DTOForgeProjectContextV2 });
|
|
10087
|
+
var DTOForgeProjectContextListQueryV2 = z321.object({ workspaceId: z321.string() });
|
|
10088
|
+
var DTOForgeProjectContextListResponseV2 = z321.object({ contexts: z321.array(DTOForgeProjectContextV2) });
|
|
10171
10089
|
|
|
10172
10090
|
// src/api/dto/forge/project-context.ts
|
|
10173
|
-
import { z as
|
|
10174
|
-
var DTOForgeProjectContext =
|
|
10175
|
-
definition:
|
|
10176
|
-
dependencies:
|
|
10177
|
-
|
|
10178
|
-
packageName:
|
|
10179
|
-
type:
|
|
10180
|
-
version:
|
|
10091
|
+
import { z as z322 } from "zod";
|
|
10092
|
+
var DTOForgeProjectContext = z322.object({
|
|
10093
|
+
definition: z322.string(),
|
|
10094
|
+
dependencies: z322.array(
|
|
10095
|
+
z322.object({
|
|
10096
|
+
packageName: z322.string(),
|
|
10097
|
+
type: z322.literal("npm"),
|
|
10098
|
+
version: z322.string().default("latest")
|
|
10181
10099
|
})
|
|
10182
10100
|
),
|
|
10183
|
-
designSystemId:
|
|
10184
|
-
id:
|
|
10185
|
-
meta:
|
|
10186
|
-
name:
|
|
10187
|
-
description:
|
|
10101
|
+
designSystemId: z322.string(),
|
|
10102
|
+
id: z322.string(),
|
|
10103
|
+
meta: z322.object({
|
|
10104
|
+
name: z322.string(),
|
|
10105
|
+
description: z322.string().optional()
|
|
10188
10106
|
}),
|
|
10189
|
-
name:
|
|
10107
|
+
name: z322.string(),
|
|
10190
10108
|
npmProxySettings: DTONpmRegistryConfig.optional(),
|
|
10191
|
-
platform:
|
|
10192
|
-
styling:
|
|
10193
|
-
tailwindConfig:
|
|
10194
|
-
content:
|
|
10195
|
-
version:
|
|
10109
|
+
platform: z322.enum(["React", "Vue", "Angular"]),
|
|
10110
|
+
styling: z322.enum(["CSS", "Tailwind"]),
|
|
10111
|
+
tailwindConfig: z322.object({
|
|
10112
|
+
content: z322.string(),
|
|
10113
|
+
version: z322.string()
|
|
10196
10114
|
}).optional(),
|
|
10197
|
-
createdAt:
|
|
10198
|
-
updatedAt:
|
|
10199
|
-
workspaceId:
|
|
10115
|
+
createdAt: z322.coerce.date(),
|
|
10116
|
+
updatedAt: z322.coerce.date(),
|
|
10117
|
+
workspaceId: z322.string()
|
|
10200
10118
|
});
|
|
10201
10119
|
var DTOCreateForgeProjectContext = DTOForgeProjectContext.pick({
|
|
10202
10120
|
definition: true,
|
|
@@ -10208,13 +10126,13 @@ var DTOCreateForgeProjectContext = DTOForgeProjectContext.pick({
|
|
|
10208
10126
|
tailwindConfig: true,
|
|
10209
10127
|
styling: true
|
|
10210
10128
|
}).extend({ npmProxySettings: DTONpmRegistryConfig });
|
|
10211
|
-
var DTOUpdateForgeProjectContext = DTOCreateForgeProjectContext.partial().extend({ id:
|
|
10212
|
-
var DTOForgeProjectContextGetResponse =
|
|
10213
|
-
var DTOForgeProjectContextListResponse =
|
|
10214
|
-
var DTOForgeProjectContextCreateResponse =
|
|
10215
|
-
var DTOForgeProjectContextUpdateResponse =
|
|
10216
|
-
var DTOForgeProjectContextRemoveResponse =
|
|
10217
|
-
ok:
|
|
10129
|
+
var DTOUpdateForgeProjectContext = DTOCreateForgeProjectContext.partial().extend({ id: z322.string() });
|
|
10130
|
+
var DTOForgeProjectContextGetResponse = z322.object({ context: DTOForgeProjectContext });
|
|
10131
|
+
var DTOForgeProjectContextListResponse = z322.object({ contexts: z322.array(DTOForgeProjectContext) });
|
|
10132
|
+
var DTOForgeProjectContextCreateResponse = z322.object({ context: DTOForgeProjectContext });
|
|
10133
|
+
var DTOForgeProjectContextUpdateResponse = z322.object({ context: DTOForgeProjectContext });
|
|
10134
|
+
var DTOForgeProjectContextRemoveResponse = z322.object({
|
|
10135
|
+
ok: z322.literal(true)
|
|
10218
10136
|
});
|
|
10219
10137
|
|
|
10220
10138
|
// src/api/dto/forge/project-figma-node.ts
|
|
@@ -10222,42 +10140,73 @@ var DTOForgeProjectFigmaNode = ForgeProjectFigmaNode;
|
|
|
10222
10140
|
var DTOForgeProjectFigmaNodeRenderInput = ForgeProjectFigmaNodeRenderInput;
|
|
10223
10141
|
|
|
10224
10142
|
// src/api/dto/forge/project-file.ts
|
|
10225
|
-
import { z as
|
|
10226
|
-
var DTOForgeProjectFile =
|
|
10227
|
-
id:
|
|
10228
|
-
name:
|
|
10229
|
-
checksum:
|
|
10230
|
-
pendingUpload:
|
|
10231
|
-
url:
|
|
10232
|
-
size:
|
|
10233
|
-
});
|
|
10234
|
-
var DTOForgeProjectFileListResponse =
|
|
10235
|
-
files:
|
|
10236
|
-
});
|
|
10237
|
-
var DTOForgeProjectFileUploadPayloadItem =
|
|
10238
|
-
size:
|
|
10239
|
-
name:
|
|
10240
|
-
checksum:
|
|
10241
|
-
});
|
|
10242
|
-
var DTOForgeProjectFileUploadPayload =
|
|
10243
|
-
files:
|
|
10244
|
-
});
|
|
10245
|
-
var DTOForgeProjectFileUploadResponse =
|
|
10246
|
-
files:
|
|
10247
|
-
uploadUrls:
|
|
10248
|
-
|
|
10249
|
-
fileId:
|
|
10250
|
-
uploadUrl:
|
|
10143
|
+
import { z as z323 } from "zod";
|
|
10144
|
+
var DTOForgeProjectFile = z323.object({
|
|
10145
|
+
id: z323.string(),
|
|
10146
|
+
name: z323.string(),
|
|
10147
|
+
checksum: z323.string(),
|
|
10148
|
+
pendingUpload: z323.boolean().optional(),
|
|
10149
|
+
url: z323.string(),
|
|
10150
|
+
size: z323.number()
|
|
10151
|
+
});
|
|
10152
|
+
var DTOForgeProjectFileListResponse = z323.object({
|
|
10153
|
+
files: z323.array(DTOForgeProjectFile)
|
|
10154
|
+
});
|
|
10155
|
+
var DTOForgeProjectFileUploadPayloadItem = z323.object({
|
|
10156
|
+
size: z323.number(),
|
|
10157
|
+
name: z323.string(),
|
|
10158
|
+
checksum: z323.string()
|
|
10159
|
+
});
|
|
10160
|
+
var DTOForgeProjectFileUploadPayload = z323.object({
|
|
10161
|
+
files: z323.array(DTOForgeProjectFileUploadPayloadItem)
|
|
10162
|
+
});
|
|
10163
|
+
var DTOForgeProjectFileUploadResponse = z323.object({
|
|
10164
|
+
files: z323.array(DTOForgeProjectFile),
|
|
10165
|
+
uploadUrls: z323.array(
|
|
10166
|
+
z323.object({
|
|
10167
|
+
fileId: z323.string(),
|
|
10168
|
+
uploadUrl: z323.string()
|
|
10251
10169
|
})
|
|
10252
10170
|
)
|
|
10253
10171
|
});
|
|
10254
|
-
var DTOForgeProjectFileUploadFinalizePayload =
|
|
10255
|
-
fileIds:
|
|
10172
|
+
var DTOForgeProjectFileUploadFinalizePayload = z323.object({
|
|
10173
|
+
fileIds: z323.array(z323.string())
|
|
10174
|
+
});
|
|
10175
|
+
var DTOForgeProjectFileUploadFinalizeResponse = z323.object({ ok: z323.literal(true) });
|
|
10176
|
+
|
|
10177
|
+
// src/api/dto/forge/project-invitation.ts
|
|
10178
|
+
import { z as z324 } from "zod";
|
|
10179
|
+
var DTOForgeProjectInvitation = ForgeProjectInvitation;
|
|
10180
|
+
var DTOCreateForgeProjectInvitation = DTOForgeProjectInvitation.pick({
|
|
10181
|
+
email: true,
|
|
10182
|
+
role: true
|
|
10183
|
+
}).extend({
|
|
10184
|
+
workspaceRole: WorkspaceRoleSchema
|
|
10185
|
+
});
|
|
10186
|
+
var DTOUpdateForgeProjectInvitation = DTOCreateForgeProjectInvitation.omit({
|
|
10187
|
+
workspaceRole: true
|
|
10188
|
+
});
|
|
10189
|
+
var DTORemoveForgeProjectInvitation = DTOCreateForgeProjectInvitation.pick({
|
|
10190
|
+
email: true
|
|
10191
|
+
});
|
|
10192
|
+
var DTOForgeProjectInvitationsListResponse = z324.object({
|
|
10193
|
+
invitations: z324.array(DTOForgeProjectInvitation)
|
|
10194
|
+
});
|
|
10195
|
+
var DTOForgeProjectInvitationGetResponse = z324.object({
|
|
10196
|
+
invitation: DTOForgeProjectInvitation
|
|
10197
|
+
});
|
|
10198
|
+
var DTOForgeProjectInvitationCreateResponse = z324.object({
|
|
10199
|
+
invitation: DTOForgeProjectInvitation
|
|
10200
|
+
});
|
|
10201
|
+
var DTOForgeProjectInvitationUpdateResponse = z324.object({
|
|
10202
|
+
invitation: DTOForgeProjectInvitation.nullable()
|
|
10203
|
+
});
|
|
10204
|
+
var DTOForgeProjectInvitationRemoveResponse = z324.object({
|
|
10205
|
+
ok: z324.literal(true)
|
|
10256
10206
|
});
|
|
10257
|
-
var DTOForgeProjectFileUploadFinalizeResponse = z325.object({ ok: z325.literal(true) });
|
|
10258
10207
|
|
|
10259
10208
|
// src/api/dto/forge/project-iteration-old.ts
|
|
10260
|
-
import { z as
|
|
10209
|
+
import { z as z325 } from "zod";
|
|
10261
10210
|
var DTOForgeProjectIterationMergeMeta = ForgeProjectIterationMergeMeta;
|
|
10262
10211
|
var DTOForgeProjectIteration = ForgeProjectIteration.omit({
|
|
10263
10212
|
artifacts: true,
|
|
@@ -10268,7 +10217,7 @@ var DTOForgeProjectIteration = ForgeProjectIteration.omit({
|
|
|
10268
10217
|
messages: DTOForgeIterationMessage.array(),
|
|
10269
10218
|
mergeMeta: DTOForgeProjectIterationMergeMeta.optional()
|
|
10270
10219
|
});
|
|
10271
|
-
var DTOGetForgeProjectIterationResponse =
|
|
10220
|
+
var DTOGetForgeProjectIterationResponse = z325.object({
|
|
10272
10221
|
iteration: DTOForgeProjectIteration.nullable()
|
|
10273
10222
|
});
|
|
10274
10223
|
var DTOCreateForgeProjectIteration = DTOForgeProjectIteration.omit({
|
|
@@ -10278,20 +10227,20 @@ var DTOCreateForgeProjectIteration = DTOForgeProjectIteration.omit({
|
|
|
10278
10227
|
mergeMeta: true,
|
|
10279
10228
|
createdAt: true
|
|
10280
10229
|
});
|
|
10281
|
-
var DTOUpdateForgeProjectIteration = DTOCreateForgeProjectIteration.extend({ id:
|
|
10282
|
-
var DTOCreateForgeProjectIterationResponse =
|
|
10230
|
+
var DTOUpdateForgeProjectIteration = DTOCreateForgeProjectIteration.extend({ id: z325.string() });
|
|
10231
|
+
var DTOCreateForgeProjectIterationResponse = z325.object({
|
|
10283
10232
|
iteration: DTOForgeProjectIteration
|
|
10284
10233
|
});
|
|
10285
|
-
var DTOUpdateForgeProjectIterationResponse =
|
|
10234
|
+
var DTOUpdateForgeProjectIterationResponse = z325.object({
|
|
10286
10235
|
iteration: DTOForgeProjectIteration.nullable()
|
|
10287
10236
|
});
|
|
10288
|
-
var DTODeleteForgeProjectIterationResponse =
|
|
10289
|
-
ok:
|
|
10237
|
+
var DTODeleteForgeProjectIterationResponse = z325.object({
|
|
10238
|
+
ok: z325.literal(true)
|
|
10290
10239
|
});
|
|
10291
|
-
var DTOForgeProjectIterationListResponse =
|
|
10240
|
+
var DTOForgeProjectIterationListResponse = z325.object({ iterations: z325.array(DTOForgeProjectIteration) });
|
|
10292
10241
|
|
|
10293
10242
|
// src/api/dto/forge/project-member.ts
|
|
10294
|
-
import { z as
|
|
10243
|
+
import { z as z326 } from "zod";
|
|
10295
10244
|
var DTOForgeProjectMemberRole = ForgeProjectRole;
|
|
10296
10245
|
var DTOForgeProjectMember = ForgeProjectMembership.extend({
|
|
10297
10246
|
user: DTOUser,
|
|
@@ -10305,35 +10254,101 @@ var DTOUpdateForgeProjectMember = DTOCreateForgeProjectMember;
|
|
|
10305
10254
|
var DTORemoveForgeProjectMember = DTOForgeProjectMember.pick({
|
|
10306
10255
|
userId: true
|
|
10307
10256
|
});
|
|
10308
|
-
var DTOForgeProjectMembersListResponse =
|
|
10309
|
-
members:
|
|
10310
|
-
invitations:
|
|
10257
|
+
var DTOForgeProjectMembersListResponse = z326.object({
|
|
10258
|
+
members: z326.array(DTOForgeProjectMember),
|
|
10259
|
+
invitations: z326.array(DTOForgeProjectInvitation)
|
|
10311
10260
|
});
|
|
10312
|
-
var DTOForgeProjectMemberGetResponse =
|
|
10261
|
+
var DTOForgeProjectMemberGetResponse = z326.object({
|
|
10313
10262
|
member: DTOForgeProjectMember
|
|
10314
10263
|
});
|
|
10315
|
-
var DTOForgeProjectMemberCreateResponse =
|
|
10264
|
+
var DTOForgeProjectMemberCreateResponse = z326.object({
|
|
10316
10265
|
member: DTOForgeProjectMember
|
|
10317
10266
|
});
|
|
10318
|
-
var DTOForgeProjectMemberUpdateResponse =
|
|
10267
|
+
var DTOForgeProjectMemberUpdateResponse = z326.object({
|
|
10319
10268
|
member: DTOForgeProjectMember.nullable()
|
|
10320
10269
|
});
|
|
10321
|
-
var DTOForgeProjectMemberRemoveResponse =
|
|
10322
|
-
ok:
|
|
10270
|
+
var DTOForgeProjectMemberRemoveResponse = z326.object({
|
|
10271
|
+
ok: z326.literal(true)
|
|
10323
10272
|
});
|
|
10324
|
-
var DTOAddMembersToForgeProject =
|
|
10273
|
+
var DTOAddMembersToForgeProject = z326.object({
|
|
10325
10274
|
membersToInvite: DTOCreateForgeProjectInvitation.array().min(1)
|
|
10326
10275
|
});
|
|
10327
10276
|
|
|
10328
10277
|
// src/api/dto/forge/project-room.ts
|
|
10329
|
-
import { z as
|
|
10330
|
-
var DTOForgeProjectRoom =
|
|
10331
|
-
id:
|
|
10278
|
+
import { z as z327 } from "zod";
|
|
10279
|
+
var DTOForgeProjectRoom = z327.object({
|
|
10280
|
+
id: z327.string()
|
|
10332
10281
|
});
|
|
10333
|
-
var DTOForgeProjectRoomResponse =
|
|
10282
|
+
var DTOForgeProjectRoomResponse = z327.object({
|
|
10334
10283
|
room: DTOForgeProjectRoom
|
|
10335
10284
|
});
|
|
10336
10285
|
|
|
10286
|
+
// src/api/dto/forge/project.ts
|
|
10287
|
+
import { z as z328 } from "zod";
|
|
10288
|
+
var DTOForgeProjectRole = z328.enum(["Viewer", "Builder", "Admin"]);
|
|
10289
|
+
var DTOForgeProjectAccessMode = z328.enum(["InviteOnly", "Open", "Unlisted"]);
|
|
10290
|
+
var DTOForgeProjectDefaultRole = DTOForgeProjectRole.exclude(["Admin"]);
|
|
10291
|
+
var DTOForgeProject = z328.object({
|
|
10292
|
+
id: z328.string(),
|
|
10293
|
+
workspaceId: z328.string(),
|
|
10294
|
+
projectContextId: z328.string(),
|
|
10295
|
+
name: z328.string(),
|
|
10296
|
+
description: z328.string().optional(),
|
|
10297
|
+
instruction: z328.string().nullable(),
|
|
10298
|
+
tags: z328.array(z328.string()).default([]),
|
|
10299
|
+
accessMode: DTOForgeProjectAccessMode,
|
|
10300
|
+
defaultRole: DTOForgeProjectDefaultRole.default("Viewer"),
|
|
10301
|
+
isArchived: z328.boolean().optional(),
|
|
10302
|
+
emoji: z328.string().optional(),
|
|
10303
|
+
createdAt: z328.coerce.date(),
|
|
10304
|
+
createdByUserId: z328.string().optional(),
|
|
10305
|
+
updatedAt: z328.coerce.date(),
|
|
10306
|
+
/** @deprecated use `projectContextId` */
|
|
10307
|
+
fpContextId: z328.string(),
|
|
10308
|
+
/** @deprecated use `name` and `description` properties on project */
|
|
10309
|
+
meta: z328.object({
|
|
10310
|
+
name: z328.string(),
|
|
10311
|
+
description: z328.string().optional()
|
|
10312
|
+
}),
|
|
10313
|
+
/** @deprecated prefer fetching from project contexts endpoint separately */
|
|
10314
|
+
context: DTOForgeProjectContextV2,
|
|
10315
|
+
numberOfFeatures: z328.number().int().nonnegative()
|
|
10316
|
+
});
|
|
10317
|
+
var DTOForgeProjectCreate = DTOForgeProject.pick({
|
|
10318
|
+
name: true,
|
|
10319
|
+
description: true,
|
|
10320
|
+
instruction: true,
|
|
10321
|
+
tags: true,
|
|
10322
|
+
accessMode: true,
|
|
10323
|
+
defaultRole: true,
|
|
10324
|
+
emoji: true
|
|
10325
|
+
}).extend({
|
|
10326
|
+
/** @deprecated use `name` and `description` properties on project */
|
|
10327
|
+
meta: DTOForgeProject.shape.meta.optional(),
|
|
10328
|
+
/** @deprecated use `projectContextId` */
|
|
10329
|
+
fpContextId: z328.string().optional(),
|
|
10330
|
+
projectContextId: z328.string().optional(),
|
|
10331
|
+
membersToInvite: DTOCreateForgeProjectInvitation.array().min(1).optional(),
|
|
10332
|
+
initialFeature: DTOForgeProjectFeatureCreateInput.optional(),
|
|
10333
|
+
initialArtifact: DTOForgeProjectArtifactCreateInput.optional()
|
|
10334
|
+
});
|
|
10335
|
+
var DTOForgeProjectUpdate = DTOForgeProjectCreate.omit({ membersToInvite: true }).partial().extend({
|
|
10336
|
+
id: z328.string(),
|
|
10337
|
+
isArchived: z328.boolean().optional()
|
|
10338
|
+
});
|
|
10339
|
+
var DTOForgeProjectListResponse = z328.object({
|
|
10340
|
+
projects: z328.array(
|
|
10341
|
+
DTOForgeProject.extend({
|
|
10342
|
+
effectiveRole: DTOForgeProjectRole
|
|
10343
|
+
})
|
|
10344
|
+
)
|
|
10345
|
+
});
|
|
10346
|
+
var DTOForgeProjectResponse = z328.object({
|
|
10347
|
+
project: DTOForgeProject.extend({
|
|
10348
|
+
effectiveRole: DTOForgeProjectRole
|
|
10349
|
+
})
|
|
10350
|
+
});
|
|
10351
|
+
|
|
10337
10352
|
// src/api/dto/forge/relation.ts
|
|
10338
10353
|
import z329 from "zod";
|
|
10339
10354
|
var DTOForgeRelation = z329.object({
|
|
@@ -10570,11 +10585,17 @@ var DTOTrailEventPayload = z335.discriminatedUnion("type", [
|
|
|
10570
10585
|
z335.object({ type: z335.literal("ProjectContextArchived"), payload: DTOTrailEventProjectContextArchivedPayload })
|
|
10571
10586
|
]);
|
|
10572
10587
|
var DTOTrailEvent = DTOTrailEventPayload.and(DTOTrailEventBase);
|
|
10588
|
+
var DTOTrailEventWithDetails = DTOTrailEvent.and(
|
|
10589
|
+
z335.object({
|
|
10590
|
+
projectName: z335.string().optional(),
|
|
10591
|
+
userName: z335.string().optional()
|
|
10592
|
+
})
|
|
10593
|
+
);
|
|
10573
10594
|
var DTOTrailEventListInput = z335.object({
|
|
10574
10595
|
projectId: z335.string()
|
|
10575
10596
|
});
|
|
10576
10597
|
var DTOTrailEventListResponse = z335.object({
|
|
10577
|
-
events: z335.array(
|
|
10598
|
+
events: z335.array(DTOTrailEventWithDetails)
|
|
10578
10599
|
});
|
|
10579
10600
|
var DTOTrailEventCreate = DTOTrailEventPayload.and(
|
|
10580
10601
|
DTOTrailEventBase.omit({ id: true, createdAt: true, updatedAt: true })
|
|
@@ -19321,6 +19342,7 @@ export {
|
|
|
19321
19342
|
DTOFeatureIterationTagCreateInput,
|
|
19322
19343
|
DTOFeatureIterationTagListResponse,
|
|
19323
19344
|
DTOFeatureIterationTagResponse,
|
|
19345
|
+
DTOFeatureIterationUpdateArtifactsByMessageInput,
|
|
19324
19346
|
DTOFeatureIterationUpdateArtifactsInput,
|
|
19325
19347
|
DTOFeatureIterationUpdateInput,
|
|
19326
19348
|
DTOFeatureMessage,
|
|
@@ -19640,6 +19662,7 @@ export {
|
|
|
19640
19662
|
DTOTrailEventListInput,
|
|
19641
19663
|
DTOTrailEventListResponse,
|
|
19642
19664
|
DTOTrailEventType,
|
|
19665
|
+
DTOTrailEventWithDetails,
|
|
19643
19666
|
DTOTransferOwnershipPayload,
|
|
19644
19667
|
DTOUGetForgeAgentResponse,
|
|
19645
19668
|
DTOUpdateDocumentationGroupInput,
|