@supernova-studio/client 1.48.8 → 1.48.10
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 +191 -194
- package/dist/index.d.ts +191 -194
- package/dist/index.js +38 -39
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +404 -405
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
package/dist/index.mjs
CHANGED
|
@@ -163,9 +163,9 @@ import { z as z148 } from "zod";
|
|
|
163
163
|
import { z as z150 } from "zod";
|
|
164
164
|
import { z as z151 } from "zod";
|
|
165
165
|
import { z as z152 } from "zod";
|
|
166
|
+
import { z as z154 } from "zod";
|
|
166
167
|
import { z as z153 } from "zod";
|
|
167
168
|
import { z as z155 } from "zod";
|
|
168
|
-
import { z as z154 } from "zod";
|
|
169
169
|
import { z as z156 } from "zod";
|
|
170
170
|
import { z as z157 } from "zod";
|
|
171
171
|
import { z as z160 } from "zod";
|
|
@@ -4751,38 +4751,38 @@ var ForgeProjectFile = z152.object({
|
|
|
4751
4751
|
size: z152.number().int().positive().optional(),
|
|
4752
4752
|
checksum: z152.string()
|
|
4753
4753
|
});
|
|
4754
|
-
var
|
|
4755
|
-
var ForgeProjectRole = z154.enum(["Viewer", "Builder", "Admin"]);
|
|
4754
|
+
var ForgeProjectRole = z153.enum(["Viewer", "Builder", "Admin"]);
|
|
4756
4755
|
var ForgeDefaultProjectRole = ForgeProjectRole.exclude(["Admin"]);
|
|
4757
|
-
var ForgeProjectMembership =
|
|
4758
|
-
userId:
|
|
4759
|
-
forgeProjectId:
|
|
4760
|
-
workspaceMembershipId:
|
|
4756
|
+
var ForgeProjectMembership = z153.object({
|
|
4757
|
+
userId: z153.string(),
|
|
4758
|
+
forgeProjectId: z153.string(),
|
|
4759
|
+
workspaceMembershipId: z153.string(),
|
|
4761
4760
|
workspaceRole: WorkspaceRoleSchema,
|
|
4762
4761
|
role: ForgeProjectRole
|
|
4763
4762
|
});
|
|
4764
|
-
var ForgeProjectInvitation =
|
|
4765
|
-
email:
|
|
4766
|
-
forgeProjectId:
|
|
4767
|
-
workspaceInvitationId:
|
|
4763
|
+
var ForgeProjectInvitation = z154.object({
|
|
4764
|
+
email: z154.string().email(),
|
|
4765
|
+
forgeProjectId: z154.string(),
|
|
4766
|
+
workspaceInvitationId: z154.string(),
|
|
4768
4767
|
role: ForgeProjectRole,
|
|
4768
|
+
createdAt: z154.coerce.date(),
|
|
4769
|
+
updatedAt: z154.coerce.date(),
|
|
4770
|
+
createdById: z154.string()
|
|
4771
|
+
});
|
|
4772
|
+
var ForgeProjectIterationMergeMeta = z155.object({ mergeByUserId: z155.string(), mergeAt: z155.date() });
|
|
4773
|
+
var ForgeProjectIteration = z155.object({
|
|
4774
|
+
branchId: z155.string().optional(),
|
|
4775
|
+
buildArtifactId: z155.string(),
|
|
4769
4776
|
createdAt: z155.coerce.date(),
|
|
4770
|
-
|
|
4771
|
-
|
|
4772
|
-
|
|
4773
|
-
|
|
4774
|
-
|
|
4775
|
-
|
|
4776
|
-
buildArtifactId: z156.string(),
|
|
4777
|
-
createdAt: z156.coerce.date(),
|
|
4778
|
-
forgeProjectId: z156.string(),
|
|
4779
|
-
id: z156.string(),
|
|
4780
|
-
locked: z156.boolean(),
|
|
4781
|
-
messages: z156.array(ForgeIterationMessage),
|
|
4782
|
-
artifacts: z156.array(ForgeArtifact),
|
|
4783
|
-
previousIterationId: z156.string().optional(),
|
|
4777
|
+
forgeProjectId: z155.string(),
|
|
4778
|
+
id: z155.string(),
|
|
4779
|
+
locked: z155.boolean(),
|
|
4780
|
+
messages: z155.array(ForgeIterationMessage),
|
|
4781
|
+
artifacts: z155.array(ForgeArtifact),
|
|
4782
|
+
previousIterationId: z155.string().optional(),
|
|
4784
4783
|
mergeMeta: ForgeProjectIterationMergeMeta.optional()
|
|
4785
4784
|
});
|
|
4785
|
+
var ForgeProjectAccessMode = z156.enum(["InviteOnly", "Open", "Unlisted"]);
|
|
4786
4786
|
var ForgeRelationType = z157.enum(["Feature", "Document"]);
|
|
4787
4787
|
var ForgeRelation = z157.object({
|
|
4788
4788
|
id: z157.string(),
|
|
@@ -9842,56 +9842,92 @@ var DTODeleteForgeIterationMessageResponse = z318.object({
|
|
|
9842
9842
|
ok: z318.literal(true)
|
|
9843
9843
|
});
|
|
9844
9844
|
|
|
9845
|
+
// src/api/dto/forge/memory.ts
|
|
9846
|
+
import z319 from "zod";
|
|
9847
|
+
var DTOForgeMemoryEntry = z319.object({
|
|
9848
|
+
id: z319.string().uuid(),
|
|
9849
|
+
projectId: z319.string(),
|
|
9850
|
+
text: z319.string(),
|
|
9851
|
+
category: z319.string(),
|
|
9852
|
+
createdAt: z319.string(),
|
|
9853
|
+
updatedAt: z319.string(),
|
|
9854
|
+
metadata: z319.record(z319.string()).optional()
|
|
9855
|
+
});
|
|
9856
|
+
var DTOForgeMemoryCreateInput = z319.object({
|
|
9857
|
+
projectId: z319.string(),
|
|
9858
|
+
text: z319.string(),
|
|
9859
|
+
category: z319.string(),
|
|
9860
|
+
metadata: z319.record(z319.string()).optional()
|
|
9861
|
+
});
|
|
9862
|
+
var DTOForgeMemoryUpdateInput = z319.object({
|
|
9863
|
+
id: z319.string().uuid(),
|
|
9864
|
+
text: z319.string().optional(),
|
|
9865
|
+
category: z319.string(),
|
|
9866
|
+
metadata: z319.record(z319.string()).nullish()
|
|
9867
|
+
});
|
|
9868
|
+
var DTOForgeMemoryDeleteInput = z319.object({
|
|
9869
|
+
id: z319.string().uuid()
|
|
9870
|
+
});
|
|
9871
|
+
var DTOForgeMemoryEntryListResponse = z319.object({
|
|
9872
|
+
memoryEntries: DTOForgeMemoryEntry.array()
|
|
9873
|
+
});
|
|
9874
|
+
var DTOForgeMemoryEntryResponse = z319.object({
|
|
9875
|
+
memoryEntry: DTOForgeMemoryEntry
|
|
9876
|
+
});
|
|
9877
|
+
var DTOForgeMemoryEntryListQuery = z319.object({
|
|
9878
|
+
projectId: z319.string()
|
|
9879
|
+
});
|
|
9880
|
+
|
|
9845
9881
|
// src/api/dto/forge/project-action.ts
|
|
9846
|
-
import
|
|
9882
|
+
import z324 from "zod";
|
|
9847
9883
|
|
|
9848
9884
|
// src/api/dto/forge/project-artifact.ts
|
|
9849
|
-
import { z as
|
|
9885
|
+
import { z as z322 } from "zod";
|
|
9850
9886
|
|
|
9851
9887
|
// src/api/dto/threads/threads.ts
|
|
9852
|
-
import
|
|
9853
|
-
var DTOThreadSubjectType =
|
|
9854
|
-
var DTOThreadAgentType =
|
|
9855
|
-
var DTOThreadPromptState =
|
|
9856
|
-
var DTOThread =
|
|
9857
|
-
id:
|
|
9858
|
-
liveblocksRoomId:
|
|
9888
|
+
import z320 from "zod";
|
|
9889
|
+
var DTOThreadSubjectType = z320.enum(["ForgeDocument", "ForgeFeature"]);
|
|
9890
|
+
var DTOThreadAgentType = z320.enum(["Ask", "Document", "Prototype", "ReleaseNotes"]);
|
|
9891
|
+
var DTOThreadPromptState = z320.enum(["Success", "Timeout", "Error"]);
|
|
9892
|
+
var DTOThread = z320.object({
|
|
9893
|
+
id: z320.string(),
|
|
9894
|
+
liveblocksRoomId: z320.string(),
|
|
9859
9895
|
defaultAgentType: DTOThreadAgentType,
|
|
9860
|
-
subjectId:
|
|
9896
|
+
subjectId: z320.string(),
|
|
9861
9897
|
subjectType: DTOThreadSubjectType,
|
|
9862
|
-
createdAt:
|
|
9863
|
-
updatedAt:
|
|
9898
|
+
createdAt: z320.string(),
|
|
9899
|
+
updatedAt: z320.string()
|
|
9864
9900
|
});
|
|
9865
|
-
var DTOThreadMessageUserSender =
|
|
9866
|
-
type:
|
|
9867
|
-
userId:
|
|
9901
|
+
var DTOThreadMessageUserSender = z320.object({
|
|
9902
|
+
type: z320.literal("User"),
|
|
9903
|
+
userId: z320.string()
|
|
9868
9904
|
});
|
|
9869
|
-
var DTOThreadMessageAgentSender =
|
|
9870
|
-
type:
|
|
9905
|
+
var DTOThreadMessageAgentSender = z320.object({
|
|
9906
|
+
type: z320.literal("Agent"),
|
|
9871
9907
|
agentType: DTOThreadAgentType
|
|
9872
9908
|
});
|
|
9873
|
-
var DTOThreadMessageSystemSender =
|
|
9874
|
-
type:
|
|
9875
|
-
onBehalfOfUserId:
|
|
9909
|
+
var DTOThreadMessageSystemSender = z320.object({
|
|
9910
|
+
type: z320.literal("System"),
|
|
9911
|
+
onBehalfOfUserId: z320.string()
|
|
9876
9912
|
});
|
|
9877
|
-
var DTOThreadMessageSender =
|
|
9913
|
+
var DTOThreadMessageSender = z320.discriminatedUnion("type", [
|
|
9878
9914
|
DTOThreadMessageUserSender,
|
|
9879
9915
|
DTOThreadMessageAgentSender,
|
|
9880
9916
|
DTOThreadMessageSystemSender
|
|
9881
9917
|
]);
|
|
9882
|
-
var DTOThreadReaction =
|
|
9918
|
+
var DTOThreadReaction = z320.object({
|
|
9883
9919
|
messageId: Id,
|
|
9884
|
-
userId:
|
|
9885
|
-
emoji:
|
|
9886
|
-
createdAt:
|
|
9920
|
+
userId: z320.string(),
|
|
9921
|
+
emoji: z320.string(),
|
|
9922
|
+
createdAt: z320.string()
|
|
9887
9923
|
});
|
|
9888
|
-
var DTOThreadMessageAttachments =
|
|
9924
|
+
var DTOThreadMessageAttachments = z320.object({
|
|
9889
9925
|
iterationId: Id.optional(),
|
|
9890
9926
|
files: DTOFileReference.array().optional()
|
|
9891
9927
|
});
|
|
9892
|
-
var DTOThreadMessage =
|
|
9928
|
+
var DTOThreadMessage = z320.object({
|
|
9893
9929
|
id: Id,
|
|
9894
|
-
threadId:
|
|
9930
|
+
threadId: z320.string(),
|
|
9895
9931
|
/**
|
|
9896
9932
|
* Describes where the message came from
|
|
9897
9933
|
*/
|
|
@@ -9899,20 +9935,20 @@ var DTOThreadMessage = z319.object({
|
|
|
9899
9935
|
/**
|
|
9900
9936
|
* Content of the message
|
|
9901
9937
|
*/
|
|
9902
|
-
body:
|
|
9938
|
+
body: z320.string(),
|
|
9903
9939
|
/**
|
|
9904
9940
|
* Indicates if the message was sent in the agentic mode, if so this message will cause an
|
|
9905
9941
|
* AI agent to generate a response and perform an action within the feature
|
|
9906
9942
|
*/
|
|
9907
|
-
isPrompt:
|
|
9943
|
+
isPrompt: z320.boolean().optional(),
|
|
9908
9944
|
/**
|
|
9909
9945
|
* Indicates if the message is an attempt to retry agent message. Only available for agent messages.
|
|
9910
9946
|
*/
|
|
9911
|
-
isRetry:
|
|
9947
|
+
isRetry: z320.boolean().optional(),
|
|
9912
9948
|
/**
|
|
9913
9949
|
* Indicates if the sender requested agent to reply in a thread
|
|
9914
9950
|
*/
|
|
9915
|
-
startsNewThread:
|
|
9951
|
+
startsNewThread: z320.boolean().optional(),
|
|
9916
9952
|
/**
|
|
9917
9953
|
* If defined, this message is considered to be a reply in a thread under parent message id
|
|
9918
9954
|
*/
|
|
@@ -9926,17 +9962,17 @@ var DTOThreadMessage = z319.object({
|
|
|
9926
9962
|
* If defined, this message is considered to be a reply to different message
|
|
9927
9963
|
*/
|
|
9928
9964
|
replyToMessageId: Id.optional(),
|
|
9929
|
-
promptMetadata:
|
|
9930
|
-
createdAt:
|
|
9931
|
-
updatedAt:
|
|
9965
|
+
promptMetadata: z320.record(z320.string(), z320.any()).optional(),
|
|
9966
|
+
createdAt: z320.string(),
|
|
9967
|
+
updatedAt: z320.string().optional()
|
|
9932
9968
|
});
|
|
9933
|
-
var DTOThreadAgentResponseTracker =
|
|
9969
|
+
var DTOThreadAgentResponseTracker = z320.object({
|
|
9934
9970
|
id: Id,
|
|
9935
|
-
currentBody:
|
|
9971
|
+
currentBody: z320.string().default("")
|
|
9936
9972
|
});
|
|
9937
|
-
var DTOThreadMessageAttachmentsCreateInput =
|
|
9973
|
+
var DTOThreadMessageAttachmentsCreateInput = z320.object({
|
|
9938
9974
|
iterationId: Id.optional(),
|
|
9939
|
-
fileIds:
|
|
9975
|
+
fileIds: z320.string().array().optional()
|
|
9940
9976
|
});
|
|
9941
9977
|
var DTOThreadMessageCreateInput = DTOThreadMessage.pick({
|
|
9942
9978
|
id: true,
|
|
@@ -9948,60 +9984,60 @@ var DTOThreadMessageCreateInput = DTOThreadMessage.pick({
|
|
|
9948
9984
|
}).extend({
|
|
9949
9985
|
attachments: DTOThreadMessageAttachmentsCreateInput.optional()
|
|
9950
9986
|
});
|
|
9951
|
-
var DTOThreadMessageFinalizeInput =
|
|
9987
|
+
var DTOThreadMessageFinalizeInput = z320.object({
|
|
9952
9988
|
messageId: Id,
|
|
9953
|
-
agentMessageBody:
|
|
9989
|
+
agentMessageBody: z320.string().optional(),
|
|
9954
9990
|
promptState: DTOThreadPromptState.optional(),
|
|
9955
9991
|
creditsSpend: DTOBillingCreditsSpendInput.optional()
|
|
9956
9992
|
});
|
|
9957
|
-
var DTOThreadMessageRetryInput =
|
|
9993
|
+
var DTOThreadMessageRetryInput = z320.object({
|
|
9958
9994
|
agentMessageId: Id
|
|
9959
9995
|
});
|
|
9960
9996
|
var DTOThreadMessageUpdateInput = DTOThreadMessage.pick({
|
|
9961
9997
|
id: true
|
|
9962
9998
|
}).merge(
|
|
9963
|
-
|
|
9999
|
+
z320.object({
|
|
9964
10000
|
body: DTOThreadMessage.shape.body,
|
|
9965
10001
|
attachments: DTOThreadMessage.shape.attachments,
|
|
9966
10002
|
agentResponseTrackerId: DTOThreadMessage.shape.agentResponseTrackerId.nullable()
|
|
9967
10003
|
}).partial()
|
|
9968
10004
|
);
|
|
9969
|
-
var DTOThreadReactionCreateInput =
|
|
10005
|
+
var DTOThreadReactionCreateInput = z320.object({
|
|
9970
10006
|
messageId: Id,
|
|
9971
|
-
emoji:
|
|
10007
|
+
emoji: z320.string()
|
|
9972
10008
|
});
|
|
9973
|
-
var DTOThreadReactionDeleteInput =
|
|
10009
|
+
var DTOThreadReactionDeleteInput = z320.object({
|
|
9974
10010
|
messageId: Id,
|
|
9975
|
-
emoji:
|
|
10011
|
+
emoji: z320.string()
|
|
9976
10012
|
});
|
|
9977
|
-
var DTOThreadMessageResponse =
|
|
10013
|
+
var DTOThreadMessageResponse = z320.object({
|
|
9978
10014
|
message: DTOThreadMessage
|
|
9979
10015
|
});
|
|
9980
|
-
var DTOThreadReactionResponse =
|
|
10016
|
+
var DTOThreadReactionResponse = z320.object({
|
|
9981
10017
|
reaction: DTOThreadReaction
|
|
9982
10018
|
});
|
|
9983
|
-
var DTOThreadMessageListResponse =
|
|
10019
|
+
var DTOThreadMessageListResponse = z320.object({
|
|
9984
10020
|
messages: DTOThreadMessage.array(),
|
|
9985
10021
|
reactions: DTOThreadReaction.array(),
|
|
9986
|
-
lastSeenMessageId:
|
|
10022
|
+
lastSeenMessageId: z320.string().optional()
|
|
9987
10023
|
});
|
|
9988
|
-
var DTOThreadEventMessagesSent =
|
|
9989
|
-
type:
|
|
10024
|
+
var DTOThreadEventMessagesSent = z320.object({
|
|
10025
|
+
type: z320.literal("MessagesSent"),
|
|
9990
10026
|
data: DTOThreadMessage.array()
|
|
9991
10027
|
});
|
|
9992
|
-
var DTOThreadEventMessagesUpdated =
|
|
9993
|
-
type:
|
|
10028
|
+
var DTOThreadEventMessagesUpdated = z320.object({
|
|
10029
|
+
type: z320.literal("MessagesUpdated"),
|
|
9994
10030
|
data: DTOThreadMessage.array()
|
|
9995
10031
|
});
|
|
9996
|
-
var DTOThreadEventReactionsSent =
|
|
9997
|
-
type:
|
|
10032
|
+
var DTOThreadEventReactionsSent = z320.object({
|
|
10033
|
+
type: z320.literal("ReactionsSent"),
|
|
9998
10034
|
data: DTOThreadReaction.array()
|
|
9999
10035
|
});
|
|
10000
|
-
var DTOThreadEventReactionsDeleted =
|
|
10001
|
-
type:
|
|
10036
|
+
var DTOThreadEventReactionsDeleted = z320.object({
|
|
10037
|
+
type: z320.literal("ReactionsDeleted"),
|
|
10002
10038
|
data: DTOThreadReaction.array()
|
|
10003
10039
|
});
|
|
10004
|
-
var DTOThreadEvent =
|
|
10040
|
+
var DTOThreadEvent = z320.discriminatedUnion("type", [
|
|
10005
10041
|
DTOThreadEventMessagesSent,
|
|
10006
10042
|
DTOThreadEventMessagesUpdated,
|
|
10007
10043
|
DTOThreadEventReactionsSent,
|
|
@@ -10009,8 +10045,8 @@ var DTOThreadEvent = z319.discriminatedUnion("type", [
|
|
|
10009
10045
|
]);
|
|
10010
10046
|
|
|
10011
10047
|
// src/api/dto/forge/project-section.ts
|
|
10012
|
-
import
|
|
10013
|
-
var AfterSectionId =
|
|
10048
|
+
import z321 from "zod";
|
|
10049
|
+
var AfterSectionId = z321.string().uuid().nullish().optional();
|
|
10014
10050
|
var DTOForgeSection = ForgeSection;
|
|
10015
10051
|
var DTOForgeSectionCreateInput = DTOForgeSection.pick({
|
|
10016
10052
|
id: true,
|
|
@@ -10021,12 +10057,12 @@ var DTOForgeSectionCreateInput = DTOForgeSection.pick({
|
|
|
10021
10057
|
});
|
|
10022
10058
|
var DTOForgeSectionUpdateInput = DTOForgeSection.pick({ id: true, name: true });
|
|
10023
10059
|
var DTOForgeSectionDeleteInput = DTOForgeSection.pick({ id: true }).extend({
|
|
10024
|
-
deleteChildren:
|
|
10060
|
+
deleteChildren: z321.boolean().default(false)
|
|
10025
10061
|
});
|
|
10026
10062
|
var DTOForgeSectionMoveInput = DTOForgeSection.pick({ id: true }).extend({
|
|
10027
10063
|
afterSectionId: AfterSectionId
|
|
10028
10064
|
});
|
|
10029
|
-
var DTOForgeSectionItemMoveInput =
|
|
10065
|
+
var DTOForgeSectionItemMoveInput = z321.object({
|
|
10030
10066
|
id: Id,
|
|
10031
10067
|
sectionId: Id.nullish().optional(),
|
|
10032
10068
|
// undefined=stay, null=no section, string=move to section
|
|
@@ -10036,133 +10072,133 @@ var DTOForgeSectionItemMoveInput = z320.object({
|
|
|
10036
10072
|
|
|
10037
10073
|
// src/api/dto/forge/project-artifact.ts
|
|
10038
10074
|
var DTOForgeProjectArtifact = ForgeProjectArtifact;
|
|
10039
|
-
var DTOForgeProjectArtifactUpdateInput =
|
|
10040
|
-
id:
|
|
10041
|
-
title:
|
|
10042
|
-
isArchived:
|
|
10043
|
-
});
|
|
10044
|
-
var DTOForgeProjectArtifactCreateInput =
|
|
10045
|
-
id:
|
|
10046
|
-
title:
|
|
10047
|
-
sectionId:
|
|
10048
|
-
afterArtifactId:
|
|
10075
|
+
var DTOForgeProjectArtifactUpdateInput = z322.object({
|
|
10076
|
+
id: z322.string(),
|
|
10077
|
+
title: z322.string().optional(),
|
|
10078
|
+
isArchived: z322.boolean().optional()
|
|
10079
|
+
});
|
|
10080
|
+
var DTOForgeProjectArtifactCreateInput = z322.object({
|
|
10081
|
+
id: z322.string(),
|
|
10082
|
+
title: z322.string(),
|
|
10083
|
+
sectionId: z322.string().optional(),
|
|
10084
|
+
afterArtifactId: z322.string().optional().nullable(),
|
|
10049
10085
|
initialMessage: DTOThreadMessageCreateInput.optional()
|
|
10050
10086
|
});
|
|
10051
|
-
var DTOForgeProjectArtifactDeleteInput =
|
|
10087
|
+
var DTOForgeProjectArtifactDeleteInput = z322.object({
|
|
10052
10088
|
id: Id
|
|
10053
10089
|
});
|
|
10054
10090
|
var DTOForgeProjectArtifactMoveInput = DTOForgeSectionItemMoveInput;
|
|
10055
|
-
var DTOForgeDocumentGetByIdParam =
|
|
10091
|
+
var DTOForgeDocumentGetByIdParam = z322.object({
|
|
10056
10092
|
id: Id
|
|
10057
10093
|
});
|
|
10058
|
-
var DTOForgeProjectArtifactGetResponse =
|
|
10094
|
+
var DTOForgeProjectArtifactGetResponse = z322.object({
|
|
10059
10095
|
artifact: DTOForgeProjectArtifact
|
|
10060
10096
|
});
|
|
10061
|
-
var DTOForgeDocumentGetResponse =
|
|
10097
|
+
var DTOForgeDocumentGetResponse = z322.object({
|
|
10062
10098
|
document: DTOForgeProjectArtifact
|
|
10063
10099
|
});
|
|
10064
|
-
var DTOForgeProjectArtifactCreateResponse =
|
|
10100
|
+
var DTOForgeProjectArtifactCreateResponse = z322.object({
|
|
10065
10101
|
artifact: DTOForgeProjectArtifact
|
|
10066
10102
|
});
|
|
10067
|
-
var DTOForgeProjectArtifactUpdateResponse =
|
|
10103
|
+
var DTOForgeProjectArtifactUpdateResponse = z322.object({
|
|
10068
10104
|
artifact: DTOForgeProjectArtifact
|
|
10069
10105
|
});
|
|
10070
|
-
var DTOForgeProjectArtifactDeleteResponse =
|
|
10071
|
-
ok:
|
|
10106
|
+
var DTOForgeProjectArtifactDeleteResponse = z322.object({
|
|
10107
|
+
ok: z322.literal(true)
|
|
10072
10108
|
});
|
|
10073
|
-
var DTOForgeProjectArtifactMoveResponse =
|
|
10109
|
+
var DTOForgeProjectArtifactMoveResponse = z322.object({
|
|
10074
10110
|
artifact: DTOForgeProjectArtifact
|
|
10075
10111
|
});
|
|
10076
|
-
var DTOForgeProjectArtifactsListResponse =
|
|
10077
|
-
artifacts:
|
|
10112
|
+
var DTOForgeProjectArtifactsListResponse = z322.object({
|
|
10113
|
+
artifacts: z322.array(DTOForgeProjectArtifact)
|
|
10078
10114
|
});
|
|
10079
|
-
var DTOForgeProjectArtifactContentResponse =
|
|
10080
|
-
artifactId:
|
|
10115
|
+
var DTOForgeProjectArtifactContentResponse = z322.object({
|
|
10116
|
+
artifactId: z322.string(),
|
|
10081
10117
|
content: ForgeProjectArtifactContentData
|
|
10082
10118
|
});
|
|
10083
10119
|
|
|
10084
10120
|
// src/api/dto/forge/project-feature.ts
|
|
10085
|
-
import
|
|
10121
|
+
import z323 from "zod";
|
|
10086
10122
|
var DTOForgeProjectFeature = ProjectFeature;
|
|
10087
|
-
var DTOForgeProjectFeatureListResponse =
|
|
10123
|
+
var DTOForgeProjectFeatureListResponse = z323.object({
|
|
10088
10124
|
features: DTOForgeProjectFeature.array()
|
|
10089
10125
|
});
|
|
10090
|
-
var DTOForgeProjectFeatureGetResponse =
|
|
10126
|
+
var DTOForgeProjectFeatureGetResponse = z323.object({
|
|
10091
10127
|
feature: DTOForgeProjectFeature
|
|
10092
10128
|
});
|
|
10093
|
-
var DTOForgeProjectFeatureCreateInput =
|
|
10129
|
+
var DTOForgeProjectFeatureCreateInput = z323.object({
|
|
10094
10130
|
id: Id,
|
|
10095
|
-
name:
|
|
10096
|
-
description:
|
|
10131
|
+
name: z323.string().optional(),
|
|
10132
|
+
description: z323.string(),
|
|
10097
10133
|
sectionId: Id.optional(),
|
|
10098
10134
|
afterFeatureId: Id.nullable().optional(),
|
|
10099
10135
|
initialMessage: DTOThreadMessageCreateInput
|
|
10100
10136
|
});
|
|
10101
|
-
var DTOForgeProjectFeatureUpdateInput =
|
|
10137
|
+
var DTOForgeProjectFeatureUpdateInput = z323.object({
|
|
10102
10138
|
id: Id,
|
|
10103
|
-
name:
|
|
10104
|
-
description:
|
|
10105
|
-
isArchived:
|
|
10139
|
+
name: z323.string().optional(),
|
|
10140
|
+
description: z323.string().optional(),
|
|
10141
|
+
isArchived: z323.boolean().optional(),
|
|
10106
10142
|
status: ProjectFeatureStatus.optional()
|
|
10107
10143
|
});
|
|
10108
|
-
var DTOForgeProjectFeatureDeleteInput =
|
|
10144
|
+
var DTOForgeProjectFeatureDeleteInput = z323.object({
|
|
10109
10145
|
id: Id
|
|
10110
10146
|
});
|
|
10111
|
-
var DTOForgeProjectFeatureGetByIdParam =
|
|
10147
|
+
var DTOForgeProjectFeatureGetByIdParam = z323.object({
|
|
10112
10148
|
id: Id
|
|
10113
10149
|
});
|
|
10114
10150
|
var DTOForgeProjectFeatureMoveInput = DTOForgeSectionItemMoveInput;
|
|
10115
10151
|
|
|
10116
10152
|
// src/api/dto/forge/project-action.ts
|
|
10117
|
-
var DTOForgeProjectActionFeatureCreate =
|
|
10118
|
-
type:
|
|
10153
|
+
var DTOForgeProjectActionFeatureCreate = z324.object({
|
|
10154
|
+
type: z324.literal("FeatureCreate"),
|
|
10119
10155
|
input: DTOForgeProjectFeatureCreateInput
|
|
10120
10156
|
});
|
|
10121
|
-
var DTOForgeProjectActionFeatureUpdate =
|
|
10122
|
-
type:
|
|
10157
|
+
var DTOForgeProjectActionFeatureUpdate = z324.object({
|
|
10158
|
+
type: z324.literal("FeatureUpdate"),
|
|
10123
10159
|
input: DTOForgeProjectFeatureUpdateInput
|
|
10124
10160
|
});
|
|
10125
|
-
var DTOForgeProjectActionFeatureMove =
|
|
10126
|
-
type:
|
|
10161
|
+
var DTOForgeProjectActionFeatureMove = z324.object({
|
|
10162
|
+
type: z324.literal("FeatureMove"),
|
|
10127
10163
|
input: DTOForgeProjectFeatureMoveInput
|
|
10128
10164
|
});
|
|
10129
|
-
var DTOForgeProjectActionFeatureDelete =
|
|
10130
|
-
type:
|
|
10165
|
+
var DTOForgeProjectActionFeatureDelete = z324.object({
|
|
10166
|
+
type: z324.literal("FeatureDelete"),
|
|
10131
10167
|
input: DTOForgeProjectFeatureDeleteInput
|
|
10132
10168
|
});
|
|
10133
|
-
var DTOForgeProjectActionArtifactCreate =
|
|
10134
|
-
type:
|
|
10169
|
+
var DTOForgeProjectActionArtifactCreate = z324.object({
|
|
10170
|
+
type: z324.literal("ArtifactCreate"),
|
|
10135
10171
|
input: DTOForgeProjectArtifactCreateInput
|
|
10136
10172
|
});
|
|
10137
|
-
var DTOForgeProjectActionArtifactUpdate =
|
|
10138
|
-
type:
|
|
10173
|
+
var DTOForgeProjectActionArtifactUpdate = z324.object({
|
|
10174
|
+
type: z324.literal("ArtifactUpdate"),
|
|
10139
10175
|
input: DTOForgeProjectArtifactUpdateInput
|
|
10140
10176
|
});
|
|
10141
|
-
var DTOForgeProjectActionArtifactDelete =
|
|
10142
|
-
type:
|
|
10177
|
+
var DTOForgeProjectActionArtifactDelete = z324.object({
|
|
10178
|
+
type: z324.literal("ArtifactDelete"),
|
|
10143
10179
|
input: DTOForgeProjectArtifactDeleteInput
|
|
10144
10180
|
});
|
|
10145
|
-
var DTOForgeProjectActionArtifactMove =
|
|
10146
|
-
type:
|
|
10181
|
+
var DTOForgeProjectActionArtifactMove = z324.object({
|
|
10182
|
+
type: z324.literal("ArtifactMove"),
|
|
10147
10183
|
input: DTOForgeProjectArtifactMoveInput
|
|
10148
10184
|
});
|
|
10149
|
-
var DTOForgeProjectActionSectionCreate =
|
|
10150
|
-
type:
|
|
10185
|
+
var DTOForgeProjectActionSectionCreate = z324.object({
|
|
10186
|
+
type: z324.literal("SectionCreate"),
|
|
10151
10187
|
input: DTOForgeSectionCreateInput
|
|
10152
10188
|
});
|
|
10153
|
-
var DTOForgeProjectActionSectionUpdate =
|
|
10154
|
-
type:
|
|
10189
|
+
var DTOForgeProjectActionSectionUpdate = z324.object({
|
|
10190
|
+
type: z324.literal("SectionUpdate"),
|
|
10155
10191
|
input: DTOForgeSectionUpdateInput
|
|
10156
10192
|
});
|
|
10157
|
-
var DTOForgeProjectActionSectionDelete =
|
|
10158
|
-
type:
|
|
10193
|
+
var DTOForgeProjectActionSectionDelete = z324.object({
|
|
10194
|
+
type: z324.literal("SectionDelete"),
|
|
10159
10195
|
input: DTOForgeSectionDeleteInput
|
|
10160
10196
|
});
|
|
10161
|
-
var DTOForgeProjectActionSectionMove =
|
|
10162
|
-
type:
|
|
10197
|
+
var DTOForgeProjectActionSectionMove = z324.object({
|
|
10198
|
+
type: z324.literal("SectionMove"),
|
|
10163
10199
|
input: DTOForgeSectionMoveInput
|
|
10164
10200
|
});
|
|
10165
|
-
var DTOForgeProjectAction =
|
|
10201
|
+
var DTOForgeProjectAction = z324.discriminatedUnion("type", [
|
|
10166
10202
|
//features
|
|
10167
10203
|
DTOForgeProjectActionFeatureCreate,
|
|
10168
10204
|
DTOForgeProjectActionFeatureUpdate,
|
|
@@ -10179,38 +10215,38 @@ var DTOForgeProjectAction = z323.discriminatedUnion("type", [
|
|
|
10179
10215
|
DTOForgeProjectActionSectionDelete,
|
|
10180
10216
|
DTOForgeProjectActionSectionMove
|
|
10181
10217
|
]).and(
|
|
10182
|
-
|
|
10183
|
-
tId:
|
|
10218
|
+
z324.object({
|
|
10219
|
+
tId: z324.string().optional()
|
|
10184
10220
|
})
|
|
10185
10221
|
);
|
|
10186
10222
|
|
|
10187
10223
|
// src/api/dto/forge/project-artifact-room.ts
|
|
10188
|
-
import { z as
|
|
10189
|
-
var DTOForgeProjectArtifactRoom =
|
|
10190
|
-
id:
|
|
10224
|
+
import { z as z325 } from "zod";
|
|
10225
|
+
var DTOForgeProjectArtifactRoom = z325.object({
|
|
10226
|
+
id: z325.string()
|
|
10191
10227
|
});
|
|
10192
|
-
var DTOForgeProjectArtifactRoomResponse =
|
|
10228
|
+
var DTOForgeProjectArtifactRoomResponse = z325.object({
|
|
10193
10229
|
room: DTOForgeProjectArtifactRoom
|
|
10194
10230
|
});
|
|
10195
10231
|
|
|
10196
10232
|
// src/api/dto/forge/project-context-v2.ts
|
|
10197
|
-
import { z as
|
|
10198
|
-
var DTOForgeComponentSetTypeV2 =
|
|
10199
|
-
var DTOForgeComponentSet =
|
|
10233
|
+
import { z as z326 } from "zod";
|
|
10234
|
+
var DTOForgeComponentSetTypeV2 = z326.enum(["Shadcn"]);
|
|
10235
|
+
var DTOForgeComponentSet = z326.object({
|
|
10200
10236
|
type: DTOForgeComponentSetTypeV2
|
|
10201
10237
|
});
|
|
10202
|
-
var DTOForgeIconSetTypeV2 =
|
|
10203
|
-
var DTOForgeThemeKnownPreset =
|
|
10204
|
-
var DTOForgeIconSet =
|
|
10238
|
+
var DTOForgeIconSetTypeV2 = z326.enum(["Phosphor", "Lucide", "Tabler"]);
|
|
10239
|
+
var DTOForgeThemeKnownPreset = z326.enum(["Default", "Airbnb", "Spotify", "Windows98"]);
|
|
10240
|
+
var DTOForgeIconSet = z326.object({
|
|
10205
10241
|
type: DTOForgeIconSetTypeV2,
|
|
10206
|
-
variant:
|
|
10242
|
+
variant: z326.string().optional()
|
|
10207
10243
|
});
|
|
10208
|
-
var DTOForgeTokenThemeSet =
|
|
10209
|
-
id:
|
|
10210
|
-
name:
|
|
10211
|
-
tokenThemeIds:
|
|
10244
|
+
var DTOForgeTokenThemeSet = z326.object({
|
|
10245
|
+
id: z326.string(),
|
|
10246
|
+
name: z326.string(),
|
|
10247
|
+
tokenThemeIds: z326.array(z326.string())
|
|
10212
10248
|
});
|
|
10213
|
-
var DTOForgeProjectTheme =
|
|
10249
|
+
var DTOForgeProjectTheme = z326.object({
|
|
10214
10250
|
// Colors
|
|
10215
10251
|
background: ColorTokenData,
|
|
10216
10252
|
foreground: ColorTokenData,
|
|
@@ -10295,24 +10331,24 @@ var DTOForgeProjectTheme = z325.object({
|
|
|
10295
10331
|
shadowXl: ShadowTokenData,
|
|
10296
10332
|
shadow2xl: ShadowTokenData
|
|
10297
10333
|
});
|
|
10298
|
-
var DTOForgeProjectContextV2 =
|
|
10299
|
-
id:
|
|
10300
|
-
name:
|
|
10301
|
-
workspaceId:
|
|
10302
|
-
designSystemId:
|
|
10303
|
-
brandId:
|
|
10304
|
-
defaultTokenThemeSetId:
|
|
10305
|
-
description:
|
|
10306
|
-
productContext:
|
|
10307
|
-
additionalContext:
|
|
10308
|
-
isArchived:
|
|
10309
|
-
themePreset:
|
|
10310
|
-
tokenThemeSets:
|
|
10334
|
+
var DTOForgeProjectContextV2 = z326.object({
|
|
10335
|
+
id: z326.string(),
|
|
10336
|
+
name: z326.string(),
|
|
10337
|
+
workspaceId: z326.string(),
|
|
10338
|
+
designSystemId: z326.string().optional(),
|
|
10339
|
+
brandId: z326.string().optional(),
|
|
10340
|
+
defaultTokenThemeSetId: z326.string().optional(),
|
|
10341
|
+
description: z326.string().optional(),
|
|
10342
|
+
productContext: z326.string().optional(),
|
|
10343
|
+
additionalContext: z326.string().optional(),
|
|
10344
|
+
isArchived: z326.boolean(),
|
|
10345
|
+
themePreset: z326.string().optional(),
|
|
10346
|
+
tokenThemeSets: z326.array(DTOForgeTokenThemeSet).optional(),
|
|
10311
10347
|
componentSet: DTOForgeComponentSet,
|
|
10312
10348
|
iconSet: DTOForgeIconSet,
|
|
10313
10349
|
theme: DTOForgeProjectTheme,
|
|
10314
|
-
createdAt:
|
|
10315
|
-
updatedAt:
|
|
10350
|
+
createdAt: z326.coerce.date(),
|
|
10351
|
+
updatedAt: z326.coerce.date(),
|
|
10316
10352
|
thumbnail: DTOFileReference.optional()
|
|
10317
10353
|
});
|
|
10318
10354
|
var DTOForgeProjectContextCreateV2 = DTOForgeProjectContextV2.omit({
|
|
@@ -10322,7 +10358,7 @@ var DTOForgeProjectContextCreateV2 = DTOForgeProjectContextV2.omit({
|
|
|
10322
10358
|
isArchived: true,
|
|
10323
10359
|
thumbnail: true
|
|
10324
10360
|
}).extend({
|
|
10325
|
-
thumbnailFileId:
|
|
10361
|
+
thumbnailFileId: z326.string().optional()
|
|
10326
10362
|
});
|
|
10327
10363
|
var DTOForgeProjectContextUpdateV2 = DTOForgeProjectContextV2.omit({
|
|
10328
10364
|
id: true,
|
|
@@ -10331,43 +10367,43 @@ var DTOForgeProjectContextUpdateV2 = DTOForgeProjectContextV2.omit({
|
|
|
10331
10367
|
updatedAt: true,
|
|
10332
10368
|
thumbnail: true
|
|
10333
10369
|
}).partial().extend({
|
|
10334
|
-
thumbnailFileId:
|
|
10370
|
+
thumbnailFileId: z326.string().optional()
|
|
10335
10371
|
});
|
|
10336
|
-
var DTOForgeProjectContextResponseV2 =
|
|
10337
|
-
var DTOForgeProjectContextListQueryV2 =
|
|
10338
|
-
workspaceId:
|
|
10372
|
+
var DTOForgeProjectContextResponseV2 = z326.object({ context: DTOForgeProjectContextV2 });
|
|
10373
|
+
var DTOForgeProjectContextListQueryV2 = z326.object({
|
|
10374
|
+
workspaceId: z326.string(),
|
|
10339
10375
|
isArchived: zodQueryBoolean()
|
|
10340
10376
|
});
|
|
10341
|
-
var DTOForgeProjectContextListResponseV2 =
|
|
10377
|
+
var DTOForgeProjectContextListResponseV2 = z326.object({ contexts: z326.array(DTOForgeProjectContextV2) });
|
|
10342
10378
|
|
|
10343
10379
|
// src/api/dto/forge/project-context.ts
|
|
10344
|
-
import { z as
|
|
10345
|
-
var DTOForgeProjectContext =
|
|
10346
|
-
definition:
|
|
10347
|
-
dependencies:
|
|
10348
|
-
|
|
10349
|
-
packageName:
|
|
10350
|
-
type:
|
|
10351
|
-
version:
|
|
10380
|
+
import { z as z327 } from "zod";
|
|
10381
|
+
var DTOForgeProjectContext = z327.object({
|
|
10382
|
+
definition: z327.string(),
|
|
10383
|
+
dependencies: z327.array(
|
|
10384
|
+
z327.object({
|
|
10385
|
+
packageName: z327.string(),
|
|
10386
|
+
type: z327.literal("npm"),
|
|
10387
|
+
version: z327.string().default("latest")
|
|
10352
10388
|
})
|
|
10353
10389
|
),
|
|
10354
|
-
designSystemId:
|
|
10355
|
-
id:
|
|
10356
|
-
meta:
|
|
10357
|
-
name:
|
|
10358
|
-
description:
|
|
10390
|
+
designSystemId: z327.string(),
|
|
10391
|
+
id: z327.string(),
|
|
10392
|
+
meta: z327.object({
|
|
10393
|
+
name: z327.string(),
|
|
10394
|
+
description: z327.string().optional()
|
|
10359
10395
|
}),
|
|
10360
|
-
name:
|
|
10396
|
+
name: z327.string(),
|
|
10361
10397
|
npmProxySettings: DTONpmRegistryConfig.optional(),
|
|
10362
|
-
platform:
|
|
10363
|
-
styling:
|
|
10364
|
-
tailwindConfig:
|
|
10365
|
-
content:
|
|
10366
|
-
version:
|
|
10398
|
+
platform: z327.enum(["React", "Vue", "Angular"]),
|
|
10399
|
+
styling: z327.enum(["CSS", "Tailwind"]),
|
|
10400
|
+
tailwindConfig: z327.object({
|
|
10401
|
+
content: z327.string(),
|
|
10402
|
+
version: z327.string()
|
|
10367
10403
|
}).optional(),
|
|
10368
|
-
createdAt:
|
|
10369
|
-
updatedAt:
|
|
10370
|
-
workspaceId:
|
|
10404
|
+
createdAt: z327.coerce.date(),
|
|
10405
|
+
updatedAt: z327.coerce.date(),
|
|
10406
|
+
workspaceId: z327.string()
|
|
10371
10407
|
});
|
|
10372
10408
|
var DTOCreateForgeProjectContext = DTOForgeProjectContext.pick({
|
|
10373
10409
|
definition: true,
|
|
@@ -10379,13 +10415,13 @@ var DTOCreateForgeProjectContext = DTOForgeProjectContext.pick({
|
|
|
10379
10415
|
tailwindConfig: true,
|
|
10380
10416
|
styling: true
|
|
10381
10417
|
}).extend({ npmProxySettings: DTONpmRegistryConfig });
|
|
10382
|
-
var DTOUpdateForgeProjectContext = DTOCreateForgeProjectContext.partial().extend({ id:
|
|
10383
|
-
var DTOForgeProjectContextGetResponse =
|
|
10384
|
-
var DTOForgeProjectContextListResponse =
|
|
10385
|
-
var DTOForgeProjectContextCreateResponse =
|
|
10386
|
-
var DTOForgeProjectContextUpdateResponse =
|
|
10387
|
-
var DTOForgeProjectContextRemoveResponse =
|
|
10388
|
-
ok:
|
|
10418
|
+
var DTOUpdateForgeProjectContext = DTOCreateForgeProjectContext.partial().extend({ id: z327.string() });
|
|
10419
|
+
var DTOForgeProjectContextGetResponse = z327.object({ context: DTOForgeProjectContext });
|
|
10420
|
+
var DTOForgeProjectContextListResponse = z327.object({ contexts: z327.array(DTOForgeProjectContext) });
|
|
10421
|
+
var DTOForgeProjectContextCreateResponse = z327.object({ context: DTOForgeProjectContext });
|
|
10422
|
+
var DTOForgeProjectContextUpdateResponse = z327.object({ context: DTOForgeProjectContext });
|
|
10423
|
+
var DTOForgeProjectContextRemoveResponse = z327.object({
|
|
10424
|
+
ok: z327.literal(true)
|
|
10389
10425
|
});
|
|
10390
10426
|
|
|
10391
10427
|
// src/api/dto/forge/project-figma-node.ts
|
|
@@ -10393,42 +10429,42 @@ var DTOForgeProjectFigmaNode = ForgeProjectFigmaNode;
|
|
|
10393
10429
|
var DTOForgeProjectFigmaNodeRenderInput = ForgeProjectFigmaNodeRenderInput;
|
|
10394
10430
|
|
|
10395
10431
|
// src/api/dto/forge/project-file.ts
|
|
10396
|
-
import { z as
|
|
10397
|
-
var DTOForgeProjectFile =
|
|
10398
|
-
id:
|
|
10399
|
-
name:
|
|
10400
|
-
checksum:
|
|
10401
|
-
pendingUpload:
|
|
10402
|
-
url:
|
|
10403
|
-
size:
|
|
10404
|
-
});
|
|
10405
|
-
var DTOForgeProjectFileListResponse =
|
|
10406
|
-
files:
|
|
10407
|
-
});
|
|
10408
|
-
var DTOForgeProjectFileUploadPayloadItem =
|
|
10409
|
-
size:
|
|
10410
|
-
name:
|
|
10411
|
-
checksum:
|
|
10412
|
-
});
|
|
10413
|
-
var DTOForgeProjectFileUploadPayload =
|
|
10414
|
-
files:
|
|
10415
|
-
});
|
|
10416
|
-
var DTOForgeProjectFileUploadResponse =
|
|
10417
|
-
files:
|
|
10418
|
-
uploadUrls:
|
|
10419
|
-
|
|
10420
|
-
fileId:
|
|
10421
|
-
uploadUrl:
|
|
10432
|
+
import { z as z328 } from "zod";
|
|
10433
|
+
var DTOForgeProjectFile = z328.object({
|
|
10434
|
+
id: z328.string(),
|
|
10435
|
+
name: z328.string(),
|
|
10436
|
+
checksum: z328.string(),
|
|
10437
|
+
pendingUpload: z328.boolean().optional(),
|
|
10438
|
+
url: z328.string(),
|
|
10439
|
+
size: z328.number()
|
|
10440
|
+
});
|
|
10441
|
+
var DTOForgeProjectFileListResponse = z328.object({
|
|
10442
|
+
files: z328.array(DTOForgeProjectFile)
|
|
10443
|
+
});
|
|
10444
|
+
var DTOForgeProjectFileUploadPayloadItem = z328.object({
|
|
10445
|
+
size: z328.number(),
|
|
10446
|
+
name: z328.string(),
|
|
10447
|
+
checksum: z328.string()
|
|
10448
|
+
});
|
|
10449
|
+
var DTOForgeProjectFileUploadPayload = z328.object({
|
|
10450
|
+
files: z328.array(DTOForgeProjectFileUploadPayloadItem)
|
|
10451
|
+
});
|
|
10452
|
+
var DTOForgeProjectFileUploadResponse = z328.object({
|
|
10453
|
+
files: z328.array(DTOForgeProjectFile),
|
|
10454
|
+
uploadUrls: z328.array(
|
|
10455
|
+
z328.object({
|
|
10456
|
+
fileId: z328.string(),
|
|
10457
|
+
uploadUrl: z328.string()
|
|
10422
10458
|
})
|
|
10423
10459
|
)
|
|
10424
10460
|
});
|
|
10425
|
-
var DTOForgeProjectFileUploadFinalizePayload =
|
|
10426
|
-
fileIds:
|
|
10461
|
+
var DTOForgeProjectFileUploadFinalizePayload = z328.object({
|
|
10462
|
+
fileIds: z328.array(z328.string())
|
|
10427
10463
|
});
|
|
10428
|
-
var DTOForgeProjectFileUploadFinalizeResponse =
|
|
10464
|
+
var DTOForgeProjectFileUploadFinalizeResponse = z328.object({ ok: z328.literal(true) });
|
|
10429
10465
|
|
|
10430
10466
|
// src/api/dto/forge/project-invitation.ts
|
|
10431
|
-
import { z as
|
|
10467
|
+
import { z as z329 } from "zod";
|
|
10432
10468
|
var DTOForgeProjectInvitation = ForgeProjectInvitation;
|
|
10433
10469
|
var DTOCreateForgeProjectInvitation = DTOForgeProjectInvitation.pick({
|
|
10434
10470
|
email: true,
|
|
@@ -10438,24 +10474,24 @@ var DTOUpdateForgeProjectInvitation = DTOCreateForgeProjectInvitation;
|
|
|
10438
10474
|
var DTORemoveForgeProjectInvitation = DTOCreateForgeProjectInvitation.pick({
|
|
10439
10475
|
email: true
|
|
10440
10476
|
});
|
|
10441
|
-
var DTOForgeProjectInvitationsListResponse =
|
|
10442
|
-
invitations:
|
|
10477
|
+
var DTOForgeProjectInvitationsListResponse = z329.object({
|
|
10478
|
+
invitations: z329.array(DTOForgeProjectInvitation)
|
|
10443
10479
|
});
|
|
10444
|
-
var DTOForgeProjectInvitationGetResponse =
|
|
10480
|
+
var DTOForgeProjectInvitationGetResponse = z329.object({
|
|
10445
10481
|
invitation: DTOForgeProjectInvitation
|
|
10446
10482
|
});
|
|
10447
|
-
var DTOForgeProjectInvitationCreateResponse =
|
|
10483
|
+
var DTOForgeProjectInvitationCreateResponse = z329.object({
|
|
10448
10484
|
invitation: DTOForgeProjectInvitation
|
|
10449
10485
|
});
|
|
10450
|
-
var DTOForgeProjectInvitationUpdateResponse =
|
|
10486
|
+
var DTOForgeProjectInvitationUpdateResponse = z329.object({
|
|
10451
10487
|
invitation: DTOForgeProjectInvitation.nullable()
|
|
10452
10488
|
});
|
|
10453
|
-
var DTOForgeProjectInvitationRemoveResponse =
|
|
10454
|
-
ok:
|
|
10489
|
+
var DTOForgeProjectInvitationRemoveResponse = z329.object({
|
|
10490
|
+
ok: z329.literal(true)
|
|
10455
10491
|
});
|
|
10456
10492
|
|
|
10457
10493
|
// src/api/dto/forge/project-iteration-old.ts
|
|
10458
|
-
import { z as
|
|
10494
|
+
import { z as z330 } from "zod";
|
|
10459
10495
|
var DTOForgeProjectIterationMergeMeta = ForgeProjectIterationMergeMeta;
|
|
10460
10496
|
var DTOForgeProjectIteration = ForgeProjectIteration.omit({
|
|
10461
10497
|
artifacts: true,
|
|
@@ -10466,7 +10502,7 @@ var DTOForgeProjectIteration = ForgeProjectIteration.omit({
|
|
|
10466
10502
|
messages: DTOForgeIterationMessage.array(),
|
|
10467
10503
|
mergeMeta: DTOForgeProjectIterationMergeMeta.optional()
|
|
10468
10504
|
});
|
|
10469
|
-
var DTOGetForgeProjectIterationResponse =
|
|
10505
|
+
var DTOGetForgeProjectIterationResponse = z330.object({
|
|
10470
10506
|
iteration: DTOForgeProjectIteration.nullable()
|
|
10471
10507
|
});
|
|
10472
10508
|
var DTOCreateForgeProjectIteration = DTOForgeProjectIteration.omit({
|
|
@@ -10476,20 +10512,20 @@ var DTOCreateForgeProjectIteration = DTOForgeProjectIteration.omit({
|
|
|
10476
10512
|
mergeMeta: true,
|
|
10477
10513
|
createdAt: true
|
|
10478
10514
|
});
|
|
10479
|
-
var DTOUpdateForgeProjectIteration = DTOCreateForgeProjectIteration.extend({ id:
|
|
10480
|
-
var DTOCreateForgeProjectIterationResponse =
|
|
10515
|
+
var DTOUpdateForgeProjectIteration = DTOCreateForgeProjectIteration.extend({ id: z330.string() });
|
|
10516
|
+
var DTOCreateForgeProjectIterationResponse = z330.object({
|
|
10481
10517
|
iteration: DTOForgeProjectIteration
|
|
10482
10518
|
});
|
|
10483
|
-
var DTOUpdateForgeProjectIterationResponse =
|
|
10519
|
+
var DTOUpdateForgeProjectIterationResponse = z330.object({
|
|
10484
10520
|
iteration: DTOForgeProjectIteration.nullable()
|
|
10485
10521
|
});
|
|
10486
|
-
var DTODeleteForgeProjectIterationResponse =
|
|
10487
|
-
ok:
|
|
10522
|
+
var DTODeleteForgeProjectIterationResponse = z330.object({
|
|
10523
|
+
ok: z330.literal(true)
|
|
10488
10524
|
});
|
|
10489
|
-
var DTOForgeProjectIterationListResponse =
|
|
10525
|
+
var DTOForgeProjectIterationListResponse = z330.object({ iterations: z330.array(DTOForgeProjectIteration) });
|
|
10490
10526
|
|
|
10491
10527
|
// src/api/dto/forge/project-member.ts
|
|
10492
|
-
import { z as
|
|
10528
|
+
import { z as z331 } from "zod";
|
|
10493
10529
|
var DTOForgeProjectMemberRole = ForgeProjectRole;
|
|
10494
10530
|
var DTOForgeProjectMember = ForgeProjectMembership.extend({
|
|
10495
10531
|
user: DTOUser,
|
|
@@ -10503,87 +10539,87 @@ var DTOUpdateForgeProjectMember = DTOCreateForgeProjectMember;
|
|
|
10503
10539
|
var DTORemoveForgeProjectMember = DTOForgeProjectMember.pick({
|
|
10504
10540
|
userId: true
|
|
10505
10541
|
});
|
|
10506
|
-
var DTOForgeProjectMembersListResponse =
|
|
10507
|
-
members:
|
|
10508
|
-
invitations:
|
|
10542
|
+
var DTOForgeProjectMembersListResponse = z331.object({
|
|
10543
|
+
members: z331.array(DTOForgeProjectMember),
|
|
10544
|
+
invitations: z331.array(DTOForgeProjectInvitation)
|
|
10509
10545
|
});
|
|
10510
|
-
var DTOForgeProjectMemberGetResponse =
|
|
10546
|
+
var DTOForgeProjectMemberGetResponse = z331.object({
|
|
10511
10547
|
member: DTOForgeProjectMember
|
|
10512
10548
|
});
|
|
10513
|
-
var DTOForgeProjectMemberCreateResponse =
|
|
10549
|
+
var DTOForgeProjectMemberCreateResponse = z331.object({
|
|
10514
10550
|
member: DTOForgeProjectMember
|
|
10515
10551
|
});
|
|
10516
|
-
var DTOForgeProjectMemberUpdateResponse =
|
|
10552
|
+
var DTOForgeProjectMemberUpdateResponse = z331.object({
|
|
10517
10553
|
member: DTOForgeProjectMember.nullable()
|
|
10518
10554
|
});
|
|
10519
|
-
var DTOForgeProjectMemberRemoveResponse =
|
|
10520
|
-
ok:
|
|
10555
|
+
var DTOForgeProjectMemberRemoveResponse = z331.object({
|
|
10556
|
+
ok: z331.literal(true)
|
|
10521
10557
|
});
|
|
10522
|
-
var DTOAddMembersToForgeProject =
|
|
10558
|
+
var DTOAddMembersToForgeProject = z331.object({
|
|
10523
10559
|
membersToInvite: DTOCreateForgeProjectInvitation.array().min(1)
|
|
10524
10560
|
});
|
|
10525
10561
|
|
|
10526
10562
|
// src/api/dto/forge/project-room.ts
|
|
10527
|
-
import { z as
|
|
10528
|
-
var DTOForgeProjectRoom =
|
|
10529
|
-
id:
|
|
10563
|
+
import { z as z332 } from "zod";
|
|
10564
|
+
var DTOForgeProjectRoom = z332.object({
|
|
10565
|
+
id: z332.string()
|
|
10530
10566
|
});
|
|
10531
|
-
var DTOForgeProjectRoomResponse =
|
|
10567
|
+
var DTOForgeProjectRoomResponse = z332.object({
|
|
10532
10568
|
room: DTOForgeProjectRoom
|
|
10533
10569
|
});
|
|
10534
10570
|
|
|
10535
10571
|
// src/api/dto/forge/project.ts
|
|
10536
|
-
import { z as
|
|
10572
|
+
import { z as z333 } from "zod";
|
|
10537
10573
|
var DTOForgeProjectRole = ForgeProjectRole;
|
|
10538
10574
|
var DTOForgeProjectAccessMode = ForgeProjectAccessMode;
|
|
10539
10575
|
var DTOForgeProjectDefaultRole = ForgeDefaultProjectRole;
|
|
10540
|
-
var DTOForgeProjectDocumentPreview =
|
|
10541
|
-
id:
|
|
10542
|
-
title:
|
|
10576
|
+
var DTOForgeProjectDocumentPreview = z333.object({
|
|
10577
|
+
id: z333.string(),
|
|
10578
|
+
title: z333.string(),
|
|
10543
10579
|
thumbnail: DTOFileReference.optional(),
|
|
10544
|
-
createdAt:
|
|
10545
|
-
updatedAt:
|
|
10580
|
+
createdAt: z333.string(),
|
|
10581
|
+
updatedAt: z333.string()
|
|
10546
10582
|
});
|
|
10547
|
-
var DTOForgeProjectFeaturePreview =
|
|
10548
|
-
id:
|
|
10549
|
-
name:
|
|
10583
|
+
var DTOForgeProjectFeaturePreview = z333.object({
|
|
10584
|
+
id: z333.string(),
|
|
10585
|
+
name: z333.string(),
|
|
10550
10586
|
thumbnail: DTOFileReference.optional(),
|
|
10551
|
-
createdAt:
|
|
10552
|
-
updatedAt:
|
|
10553
|
-
});
|
|
10554
|
-
var DTOForgeProject =
|
|
10555
|
-
id:
|
|
10556
|
-
workspaceId:
|
|
10557
|
-
projectContextId:
|
|
10558
|
-
name:
|
|
10559
|
-
description:
|
|
10560
|
-
instruction:
|
|
10561
|
-
tags:
|
|
10587
|
+
createdAt: z333.string(),
|
|
10588
|
+
updatedAt: z333.string()
|
|
10589
|
+
});
|
|
10590
|
+
var DTOForgeProject = z333.object({
|
|
10591
|
+
id: z333.string(),
|
|
10592
|
+
workspaceId: z333.string(),
|
|
10593
|
+
projectContextId: z333.string(),
|
|
10594
|
+
name: z333.string(),
|
|
10595
|
+
description: z333.string().optional(),
|
|
10596
|
+
instruction: z333.string().nullable(),
|
|
10597
|
+
tags: z333.array(z333.string()).default([]),
|
|
10562
10598
|
accessMode: DTOForgeProjectAccessMode,
|
|
10563
10599
|
defaultRole: DTOForgeProjectDefaultRole,
|
|
10564
|
-
isArchived:
|
|
10565
|
-
emoji:
|
|
10566
|
-
tokenThemeSetId:
|
|
10567
|
-
createdAt:
|
|
10568
|
-
createdByUserId:
|
|
10569
|
-
lastUserActivityAt:
|
|
10570
|
-
updatedAt:
|
|
10600
|
+
isArchived: z333.boolean(),
|
|
10601
|
+
emoji: z333.string().optional(),
|
|
10602
|
+
tokenThemeSetId: z333.string().optional(),
|
|
10603
|
+
createdAt: z333.coerce.date(),
|
|
10604
|
+
createdByUserId: z333.string().optional(),
|
|
10605
|
+
lastUserActivityAt: z333.coerce.date().optional(),
|
|
10606
|
+
updatedAt: z333.coerce.date(),
|
|
10571
10607
|
documents: DTOForgeProjectDocumentPreview.array(),
|
|
10572
10608
|
features: DTOForgeProjectFeaturePreview.array(),
|
|
10573
10609
|
/** @deprecated use `projectContextId` */
|
|
10574
|
-
fpContextId:
|
|
10610
|
+
fpContextId: z333.string(),
|
|
10575
10611
|
/** @deprecated use `name` and `description` properties on project */
|
|
10576
|
-
meta:
|
|
10577
|
-
name:
|
|
10578
|
-
description:
|
|
10612
|
+
meta: z333.object({
|
|
10613
|
+
name: z333.string(),
|
|
10614
|
+
description: z333.string().optional()
|
|
10579
10615
|
}),
|
|
10580
10616
|
/** @deprecated use features.length */
|
|
10581
|
-
numberOfFeatures:
|
|
10617
|
+
numberOfFeatures: z333.number().int().nonnegative(),
|
|
10582
10618
|
/** @deprecated use documents.length */
|
|
10583
|
-
numberOfDocuments:
|
|
10619
|
+
numberOfDocuments: z333.number().int().nonnegative().optional(),
|
|
10584
10620
|
/** @deprecated prefer fetching from project contexts endpoint separately */
|
|
10585
10621
|
context: DTOForgeProjectContextV2.optional(),
|
|
10586
|
-
liveblocksRoomId:
|
|
10622
|
+
liveblocksRoomId: z333.string().optional()
|
|
10587
10623
|
});
|
|
10588
10624
|
var DTOForgeProjectCreate = DTOForgeProject.pick({
|
|
10589
10625
|
name: true,
|
|
@@ -10596,8 +10632,8 @@ var DTOForgeProjectCreate = DTOForgeProject.pick({
|
|
|
10596
10632
|
/** @deprecated use `name` and `description` properties on project */
|
|
10597
10633
|
meta: DTOForgeProject.shape.meta.optional(),
|
|
10598
10634
|
/** @deprecated use `projectContextId` */
|
|
10599
|
-
fpContextId:
|
|
10600
|
-
projectContextId:
|
|
10635
|
+
fpContextId: z333.string().optional(),
|
|
10636
|
+
projectContextId: z333.string().optional(),
|
|
10601
10637
|
membersToInvite: DTOCreateForgeProjectInvitation.array().min(1).optional(),
|
|
10602
10638
|
initialFeature: DTOForgeProjectFeatureCreateInput.optional(),
|
|
10603
10639
|
initialArtifact: DTOForgeProjectArtifactCreateInput.optional(),
|
|
@@ -10605,147 +10641,110 @@ var DTOForgeProjectCreate = DTOForgeProject.pick({
|
|
|
10605
10641
|
defaultRole: DTOForgeProjectDefaultRole.optional()
|
|
10606
10642
|
});
|
|
10607
10643
|
var DTOForgeProjectUpdate = DTOForgeProjectCreate.omit({ membersToInvite: true }).partial().extend({
|
|
10608
|
-
id:
|
|
10609
|
-
isArchived:
|
|
10644
|
+
id: z333.string(),
|
|
10645
|
+
isArchived: z333.boolean().optional()
|
|
10610
10646
|
});
|
|
10611
|
-
var DTOForgeProjectListResponse =
|
|
10612
|
-
projects:
|
|
10647
|
+
var DTOForgeProjectListResponse = z333.object({
|
|
10648
|
+
projects: z333.array(
|
|
10613
10649
|
DTOForgeProject.extend({
|
|
10614
10650
|
effectiveRole: DTOForgeProjectRole
|
|
10615
10651
|
})
|
|
10616
10652
|
)
|
|
10617
10653
|
});
|
|
10618
|
-
var DTOForgeProjectResponse =
|
|
10654
|
+
var DTOForgeProjectResponse = z333.object({
|
|
10619
10655
|
project: DTOForgeProject.extend({
|
|
10620
10656
|
effectiveRole: DTOForgeProjectRole
|
|
10621
10657
|
})
|
|
10622
10658
|
});
|
|
10623
10659
|
|
|
10624
10660
|
// src/api/dto/forge/relation.ts
|
|
10625
|
-
import
|
|
10661
|
+
import z334 from "zod";
|
|
10626
10662
|
var DTOForgeRelationType = ForgeRelationType;
|
|
10627
10663
|
var DTOForgeRelation = ForgeRelation;
|
|
10628
10664
|
var DTOForgeRelationCreate = DTOForgeRelation.omit({ id: true, createdAt: true });
|
|
10629
|
-
var DTOForgeRelationDelete =
|
|
10630
|
-
sourceItemId:
|
|
10631
|
-
targetItemId:
|
|
10665
|
+
var DTOForgeRelationDelete = z334.object({
|
|
10666
|
+
sourceItemId: z334.string().uuid(),
|
|
10667
|
+
targetItemId: z334.string().uuid()
|
|
10632
10668
|
});
|
|
10633
|
-
var DTOForgeRelationListInput =
|
|
10634
|
-
projectId:
|
|
10669
|
+
var DTOForgeRelationListInput = z334.object({
|
|
10670
|
+
projectId: z334.string()
|
|
10635
10671
|
});
|
|
10636
|
-
var DTOForgeRelationListResponse =
|
|
10637
|
-
relations:
|
|
10672
|
+
var DTOForgeRelationListResponse = z334.object({
|
|
10673
|
+
relations: z334.array(DTOForgeRelation)
|
|
10638
10674
|
});
|
|
10639
|
-
var DTOForgeEntity =
|
|
10640
|
-
id:
|
|
10675
|
+
var DTOForgeEntity = z334.object({
|
|
10676
|
+
id: z334.string().uuid(),
|
|
10641
10677
|
type: DTOForgeRelationType
|
|
10642
10678
|
});
|
|
10643
10679
|
|
|
10644
10680
|
// src/api/dto/forge/threads.ts
|
|
10645
|
-
import { z as
|
|
10681
|
+
import { z as z335 } from "zod";
|
|
10646
10682
|
var DTOForgeChatMessage = ForgeChatMessage;
|
|
10647
10683
|
var DTOForgeChatThread = ForgeChatThread;
|
|
10648
10684
|
var DTOForgeChatMessageSenderType = ForgeChatMessageSenderType;
|
|
10649
10685
|
var DTOForgeChatMessageSender = ForgeChatMessageSender;
|
|
10650
|
-
var DTOForgeChatThreadCreateInput =
|
|
10651
|
-
title:
|
|
10686
|
+
var DTOForgeChatThreadCreateInput = z335.object({
|
|
10687
|
+
title: z335.string().optional()
|
|
10652
10688
|
});
|
|
10653
|
-
var DTOForgeChatThreadCreateResponse =
|
|
10689
|
+
var DTOForgeChatThreadCreateResponse = z335.object({
|
|
10654
10690
|
thread: DTOForgeChatThread
|
|
10655
10691
|
});
|
|
10656
|
-
var DTOForgeChatThreadUpdateInput =
|
|
10657
|
-
title:
|
|
10692
|
+
var DTOForgeChatThreadUpdateInput = z335.object({
|
|
10693
|
+
title: z335.string()
|
|
10658
10694
|
});
|
|
10659
|
-
var DTOForgeChatThreadUpdateResponse =
|
|
10695
|
+
var DTOForgeChatThreadUpdateResponse = z335.object({
|
|
10660
10696
|
thread: DTOForgeChatThread
|
|
10661
10697
|
});
|
|
10662
|
-
var DTOForgeChatThreadDeleteResponse =
|
|
10663
|
-
success:
|
|
10698
|
+
var DTOForgeChatThreadDeleteResponse = z335.object({
|
|
10699
|
+
success: z335.boolean()
|
|
10664
10700
|
});
|
|
10665
|
-
var DTOForgeChatThreadListQuery =
|
|
10666
|
-
limit:
|
|
10667
|
-
offset:
|
|
10701
|
+
var DTOForgeChatThreadListQuery = z335.object({
|
|
10702
|
+
limit: z335.number().optional(),
|
|
10703
|
+
offset: z335.number().optional()
|
|
10668
10704
|
});
|
|
10669
|
-
var DTOForgeChatThreadListResponse =
|
|
10670
|
-
threads:
|
|
10671
|
-
pagination:
|
|
10672
|
-
offset:
|
|
10673
|
-
limit:
|
|
10674
|
-
total:
|
|
10705
|
+
var DTOForgeChatThreadListResponse = z335.object({
|
|
10706
|
+
threads: z335.array(DTOForgeChatThread),
|
|
10707
|
+
pagination: z335.object({
|
|
10708
|
+
offset: z335.number(),
|
|
10709
|
+
limit: z335.number(),
|
|
10710
|
+
total: z335.number()
|
|
10675
10711
|
})
|
|
10676
10712
|
});
|
|
10677
|
-
var DTOForgeChatMessageCreateInput =
|
|
10678
|
-
payload:
|
|
10679
|
-
sender: DTOForgeChatMessageSender.optional()
|
|
10680
|
-
opikTraceId: z334.string().optional()
|
|
10713
|
+
var DTOForgeChatMessageCreateInput = z335.object({
|
|
10714
|
+
payload: z335.string(),
|
|
10715
|
+
sender: DTOForgeChatMessageSender.optional()
|
|
10681
10716
|
});
|
|
10682
|
-
var DTOForgeChatMessageCreateResponse =
|
|
10717
|
+
var DTOForgeChatMessageCreateResponse = z335.object({
|
|
10683
10718
|
message: DTOForgeChatMessage
|
|
10684
10719
|
});
|
|
10685
|
-
var DTOForgeChatMessageListQuery =
|
|
10686
|
-
limit:
|
|
10687
|
-
offset:
|
|
10720
|
+
var DTOForgeChatMessageListQuery = z335.object({
|
|
10721
|
+
limit: z335.string().optional().transform((val) => val ? parseInt(val, 10) : void 0),
|
|
10722
|
+
offset: z335.string().optional().transform((val) => val ? parseInt(val, 10) : void 0)
|
|
10688
10723
|
});
|
|
10689
|
-
var DTOForgeChatMessageListResponse =
|
|
10690
|
-
messages:
|
|
10691
|
-
totalCount:
|
|
10692
|
-
hasMore:
|
|
10724
|
+
var DTOForgeChatMessageListResponse = z335.object({
|
|
10725
|
+
messages: z335.array(DTOForgeChatMessage),
|
|
10726
|
+
totalCount: z335.number(),
|
|
10727
|
+
hasMore: z335.boolean()
|
|
10693
10728
|
});
|
|
10694
|
-
var DTOForgeChatExportResponse =
|
|
10695
|
-
csvDownloadUrl:
|
|
10729
|
+
var DTOForgeChatExportResponse = z335.object({
|
|
10730
|
+
csvDownloadUrl: z335.string().nullable()
|
|
10696
10731
|
});
|
|
10697
|
-
var DTOForgeChatMessageScoreInput =
|
|
10698
|
-
messageId:
|
|
10699
|
-
name:
|
|
10700
|
-
value:
|
|
10701
|
-
categoryName:
|
|
10702
|
-
reason:
|
|
10732
|
+
var DTOForgeChatMessageScoreInput = z335.object({
|
|
10733
|
+
messageId: z335.string(),
|
|
10734
|
+
name: z335.string(),
|
|
10735
|
+
value: z335.number(),
|
|
10736
|
+
categoryName: z335.string().optional(),
|
|
10737
|
+
reason: z335.string().optional()
|
|
10703
10738
|
});
|
|
10704
|
-
var DTOForgeChatMessageTagInput =
|
|
10705
|
-
messageId:
|
|
10706
|
-
tags:
|
|
10739
|
+
var DTOForgeChatMessageTagInput = z335.object({
|
|
10740
|
+
messageId: z335.string(),
|
|
10741
|
+
tags: z335.array(z335.string())
|
|
10707
10742
|
});
|
|
10708
|
-
var DTOForgeChatMessageScoreRequest =
|
|
10743
|
+
var DTOForgeChatMessageScoreRequest = z335.object({
|
|
10709
10744
|
scores: DTOForgeChatMessageScoreInput.array(),
|
|
10710
10745
|
tags: DTOForgeChatMessageTagInput.array().optional().default([])
|
|
10711
10746
|
});
|
|
10712
10747
|
|
|
10713
|
-
// src/api/dto/forge/memory.ts
|
|
10714
|
-
import z335 from "zod";
|
|
10715
|
-
var DTOForgeMemoryEntry = z335.object({
|
|
10716
|
-
id: z335.string().uuid(),
|
|
10717
|
-
projectId: z335.string(),
|
|
10718
|
-
text: z335.string(),
|
|
10719
|
-
category: z335.string(),
|
|
10720
|
-
createdAt: z335.string(),
|
|
10721
|
-
updatedAt: z335.string(),
|
|
10722
|
-
metadata: z335.record(z335.string()).optional()
|
|
10723
|
-
});
|
|
10724
|
-
var DTOForgeMemoryCreateInput = z335.object({
|
|
10725
|
-
projectId: z335.string(),
|
|
10726
|
-
text: z335.string(),
|
|
10727
|
-
category: z335.string(),
|
|
10728
|
-
metadata: z335.record(z335.string()).optional()
|
|
10729
|
-
});
|
|
10730
|
-
var DTOForgeMemoryUpdateInput = z335.object({
|
|
10731
|
-
id: z335.string().uuid(),
|
|
10732
|
-
text: z335.string().optional(),
|
|
10733
|
-
category: z335.string(),
|
|
10734
|
-
metadata: z335.record(z335.string()).nullish()
|
|
10735
|
-
});
|
|
10736
|
-
var DTOForgeMemoryDeleteInput = z335.object({
|
|
10737
|
-
id: z335.string().uuid()
|
|
10738
|
-
});
|
|
10739
|
-
var DTOForgeMemoryEntryListResponse = z335.object({
|
|
10740
|
-
memoryEntries: DTOForgeMemoryEntry.array()
|
|
10741
|
-
});
|
|
10742
|
-
var DTOForgeMemoryEntryResponse = z335.object({
|
|
10743
|
-
memoryEntry: DTOForgeMemoryEntry
|
|
10744
|
-
});
|
|
10745
|
-
var DTOForgeMemoryEntryListQuery = z335.object({
|
|
10746
|
-
projectId: z335.string()
|
|
10747
|
-
});
|
|
10748
|
-
|
|
10749
10748
|
// src/api/dto/liveblocks/auth-response.ts
|
|
10750
10749
|
import { z as z336 } from "zod";
|
|
10751
10750
|
var DTOLiveblocksAuthResponse = z336.object({
|