@supernova-studio/client 1.96.5 → 1.96.6
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 +304 -1
- package/dist/index.d.ts +304 -1
- package/dist/index.js +88 -1
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +945 -858
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
package/dist/index.mjs
CHANGED
|
@@ -10293,7 +10293,7 @@ var DTOElementsGetOutputV2 = z322.object({
|
|
|
10293
10293
|
});
|
|
10294
10294
|
|
|
10295
10295
|
// src/api/dto/events/forge-project.ts
|
|
10296
|
-
import
|
|
10296
|
+
import z351 from "zod";
|
|
10297
10297
|
|
|
10298
10298
|
// src/api/dto/forge/agent.ts
|
|
10299
10299
|
import { z as z323 } from "zod";
|
|
@@ -10946,104 +10946,150 @@ var DTODeleteForgeIterationMessageResponse = z330.object({
|
|
|
10946
10946
|
ok: z330.literal(true)
|
|
10947
10947
|
});
|
|
10948
10948
|
|
|
10949
|
-
// src/api/dto/forge/
|
|
10950
|
-
import z331 from "zod";
|
|
10951
|
-
var
|
|
10952
|
-
|
|
10953
|
-
|
|
10954
|
-
|
|
10955
|
-
|
|
10949
|
+
// src/api/dto/forge/knowledge-item.ts
|
|
10950
|
+
import { z as z331 } from "zod";
|
|
10951
|
+
var DTOKnowledgeItemType = z331.enum(["File", "Skill"]);
|
|
10952
|
+
var DTOKnowledgeItemWritableFields = z331.object({
|
|
10953
|
+
path: z331.string(),
|
|
10954
|
+
description: z331.string().max(200),
|
|
10955
|
+
type: DTOKnowledgeItemType,
|
|
10956
|
+
fileId: z331.string(),
|
|
10957
|
+
parentItemId: z331.string().nullable().optional()
|
|
10958
|
+
});
|
|
10959
|
+
var DTOKnowledgeItem = z331.object({
|
|
10960
|
+
id: z331.string(),
|
|
10961
|
+
workspaceId: z331.string(),
|
|
10962
|
+
createdByUserId: z331.string(),
|
|
10956
10963
|
createdAt: z331.string(),
|
|
10957
10964
|
updatedAt: z331.string(),
|
|
10958
|
-
|
|
10965
|
+
path: z331.string(),
|
|
10966
|
+
description: z331.string().max(200),
|
|
10967
|
+
type: DTOKnowledgeItemType,
|
|
10968
|
+
fileSize: z331.number(),
|
|
10969
|
+
fileId: z331.string(),
|
|
10970
|
+
fileUrl: z331.string(),
|
|
10971
|
+
parentItemId: z331.string().nullable()
|
|
10972
|
+
});
|
|
10973
|
+
var DTOKnowledgeItemCreatePayload = DTOKnowledgeItemWritableFields.extend({
|
|
10974
|
+
childrenItems: z331.lazy(() => z331.array(DTOKnowledgeItemCreatePayload)).optional()
|
|
10975
|
+
});
|
|
10976
|
+
var DTOKnowledgeItemUpdatePayload = DTOKnowledgeItem.pick({
|
|
10977
|
+
path: true,
|
|
10978
|
+
description: true,
|
|
10979
|
+
fileId: true,
|
|
10980
|
+
parentItemId: true
|
|
10981
|
+
}).partial();
|
|
10982
|
+
var DTOKnowledgeItemDeletePayload = z331.object({
|
|
10983
|
+
id: z331.union([z331.string(), z331.array(z331.string())])
|
|
10984
|
+
});
|
|
10985
|
+
var DTOKnowledgeItemListResponse = z331.object({
|
|
10986
|
+
items: z331.array(DTOKnowledgeItem)
|
|
10987
|
+
});
|
|
10988
|
+
var DTOKnowledgeItemResponse = z331.object({
|
|
10989
|
+
item: DTOKnowledgeItem
|
|
10959
10990
|
});
|
|
10960
|
-
var
|
|
10961
|
-
|
|
10962
|
-
|
|
10963
|
-
|
|
10964
|
-
|
|
10991
|
+
var DTOKnowledgeItemDeleteResponse = z331.object({
|
|
10992
|
+
deletedIds: z331.array(z331.string())
|
|
10993
|
+
});
|
|
10994
|
+
|
|
10995
|
+
// src/api/dto/forge/memory.ts
|
|
10996
|
+
import z332 from "zod";
|
|
10997
|
+
var DTOForgeMemoryEntry = z332.object({
|
|
10998
|
+
id: z332.string().uuid(),
|
|
10999
|
+
projectId: z332.string(),
|
|
11000
|
+
text: z332.string(),
|
|
11001
|
+
category: z332.string(),
|
|
11002
|
+
createdAt: z332.string(),
|
|
11003
|
+
updatedAt: z332.string(),
|
|
11004
|
+
metadata: z332.record(z332.string()).optional()
|
|
10965
11005
|
});
|
|
10966
|
-
var
|
|
10967
|
-
|
|
10968
|
-
text:
|
|
10969
|
-
category:
|
|
10970
|
-
metadata:
|
|
11006
|
+
var DTOForgeMemoryCreateInput = z332.object({
|
|
11007
|
+
projectId: z332.string(),
|
|
11008
|
+
text: z332.string(),
|
|
11009
|
+
category: z332.string(),
|
|
11010
|
+
metadata: z332.record(z332.string()).optional()
|
|
10971
11011
|
});
|
|
10972
|
-
var
|
|
10973
|
-
id:
|
|
11012
|
+
var DTOForgeMemoryUpdateInput = z332.object({
|
|
11013
|
+
id: z332.string().uuid(),
|
|
11014
|
+
text: z332.string().optional(),
|
|
11015
|
+
category: z332.string(),
|
|
11016
|
+
metadata: z332.record(z332.string()).nullish()
|
|
10974
11017
|
});
|
|
10975
|
-
var
|
|
11018
|
+
var DTOForgeMemoryDeleteInput = z332.object({
|
|
11019
|
+
id: z332.string().uuid()
|
|
11020
|
+
});
|
|
11021
|
+
var DTOForgeMemoryEntryListResponse = z332.object({
|
|
10976
11022
|
memoryEntries: DTOForgeMemoryEntry.array()
|
|
10977
11023
|
});
|
|
10978
|
-
var DTOForgeMemoryEntryResponse =
|
|
11024
|
+
var DTOForgeMemoryEntryResponse = z332.object({
|
|
10979
11025
|
memoryEntry: DTOForgeMemoryEntry
|
|
10980
11026
|
});
|
|
10981
|
-
var DTOForgeMemoryEntryListQuery =
|
|
10982
|
-
projectId:
|
|
11027
|
+
var DTOForgeMemoryEntryListQuery = z332.object({
|
|
11028
|
+
projectId: z332.string()
|
|
10983
11029
|
});
|
|
10984
11030
|
|
|
10985
11031
|
// src/api/dto/forge/project-action.ts
|
|
10986
|
-
import
|
|
11032
|
+
import z337 from "zod";
|
|
10987
11033
|
|
|
10988
11034
|
// src/api/dto/forge/project-artifact.ts
|
|
10989
|
-
import { z as
|
|
11035
|
+
import { z as z335 } from "zod";
|
|
10990
11036
|
|
|
10991
11037
|
// src/api/dto/threads/threads.ts
|
|
10992
|
-
import
|
|
10993
|
-
var DTOThreadSubjectType =
|
|
10994
|
-
var DTOThreadAgentType =
|
|
10995
|
-
var DTOThreadPromptState =
|
|
10996
|
-
var DTOThread =
|
|
10997
|
-
id:
|
|
10998
|
-
liveblocksRoomId:
|
|
11038
|
+
import z333 from "zod";
|
|
11039
|
+
var DTOThreadSubjectType = z333.enum(["ForgeDocument", "ForgeFeature"]);
|
|
11040
|
+
var DTOThreadAgentType = z333.enum(["Ask", "Document", "Prototype", "ReleaseNotes"]);
|
|
11041
|
+
var DTOThreadPromptState = z333.enum(["Success", "Timeout", "Error"]);
|
|
11042
|
+
var DTOThread = z333.object({
|
|
11043
|
+
id: z333.string(),
|
|
11044
|
+
liveblocksRoomId: z333.string(),
|
|
10999
11045
|
defaultAgentType: DTOThreadAgentType,
|
|
11000
|
-
subjectId:
|
|
11046
|
+
subjectId: z333.string(),
|
|
11001
11047
|
subjectType: DTOThreadSubjectType,
|
|
11002
|
-
createdAt:
|
|
11003
|
-
updatedAt:
|
|
11048
|
+
createdAt: z333.string(),
|
|
11049
|
+
updatedAt: z333.string()
|
|
11004
11050
|
});
|
|
11005
|
-
var DTOThreadMessageUserSender =
|
|
11006
|
-
type:
|
|
11007
|
-
userId:
|
|
11051
|
+
var DTOThreadMessageUserSender = z333.object({
|
|
11052
|
+
type: z333.literal("User"),
|
|
11053
|
+
userId: z333.string()
|
|
11008
11054
|
});
|
|
11009
|
-
var DTOThreadMessageAgentSender =
|
|
11010
|
-
type:
|
|
11055
|
+
var DTOThreadMessageAgentSender = z333.object({
|
|
11056
|
+
type: z333.literal("Agent"),
|
|
11011
11057
|
agentType: DTOThreadAgentType
|
|
11012
11058
|
});
|
|
11013
|
-
var DTOThreadMessageSystemSender =
|
|
11014
|
-
type:
|
|
11015
|
-
onBehalfOfUserId:
|
|
11059
|
+
var DTOThreadMessageSystemSender = z333.object({
|
|
11060
|
+
type: z333.literal("System"),
|
|
11061
|
+
onBehalfOfUserId: z333.string()
|
|
11016
11062
|
});
|
|
11017
|
-
var DTOThreadMessageSender =
|
|
11063
|
+
var DTOThreadMessageSender = z333.discriminatedUnion("type", [
|
|
11018
11064
|
DTOThreadMessageUserSender,
|
|
11019
11065
|
DTOThreadMessageAgentSender,
|
|
11020
11066
|
DTOThreadMessageSystemSender
|
|
11021
11067
|
]);
|
|
11022
|
-
var DTOThreadReaction =
|
|
11068
|
+
var DTOThreadReaction = z333.object({
|
|
11023
11069
|
messageId: Id,
|
|
11024
|
-
userId:
|
|
11025
|
-
emoji:
|
|
11026
|
-
createdAt:
|
|
11070
|
+
userId: z333.string(),
|
|
11071
|
+
emoji: z333.string(),
|
|
11072
|
+
createdAt: z333.string()
|
|
11027
11073
|
});
|
|
11028
|
-
var DTOThreadMessageAttachments =
|
|
11074
|
+
var DTOThreadMessageAttachments = z333.object({
|
|
11029
11075
|
iterationId: Id.optional(),
|
|
11030
11076
|
files: DTOFileReference.array().optional(),
|
|
11031
|
-
templateId:
|
|
11077
|
+
templateId: z333.string().optional(),
|
|
11032
11078
|
figmaNodes: DTOForgeFigmaNode.array().optional()
|
|
11033
11079
|
});
|
|
11034
|
-
var DTOThreadMessageAnnotation =
|
|
11035
|
-
prompt:
|
|
11036
|
-
elements:
|
|
11037
|
-
|
|
11038
|
-
xpath:
|
|
11039
|
-
line:
|
|
11080
|
+
var DTOThreadMessageAnnotation = z333.object({
|
|
11081
|
+
prompt: z333.string(),
|
|
11082
|
+
elements: z333.array(
|
|
11083
|
+
z333.object({
|
|
11084
|
+
xpath: z333.string(),
|
|
11085
|
+
line: z333.string()
|
|
11040
11086
|
})
|
|
11041
11087
|
)
|
|
11042
11088
|
});
|
|
11043
|
-
var DTOThreadMessageAnnotations =
|
|
11044
|
-
var DTOThreadMessage =
|
|
11089
|
+
var DTOThreadMessageAnnotations = z333.array(DTOThreadMessageAnnotation);
|
|
11090
|
+
var DTOThreadMessage = z333.object({
|
|
11045
11091
|
id: Id,
|
|
11046
|
-
threadId:
|
|
11092
|
+
threadId: z333.string(),
|
|
11047
11093
|
/**
|
|
11048
11094
|
* Describes where the message came from
|
|
11049
11095
|
*/
|
|
@@ -11051,20 +11097,20 @@ var DTOThreadMessage = z332.object({
|
|
|
11051
11097
|
/**
|
|
11052
11098
|
* Content of the message
|
|
11053
11099
|
*/
|
|
11054
|
-
body:
|
|
11100
|
+
body: z333.string(),
|
|
11055
11101
|
/**
|
|
11056
11102
|
* Indicates if the message was sent in the agentic mode, if so this message will cause an
|
|
11057
11103
|
* AI agent to generate a response and perform an action within the feature
|
|
11058
11104
|
*/
|
|
11059
|
-
isPrompt:
|
|
11105
|
+
isPrompt: z333.boolean().optional(),
|
|
11060
11106
|
/**
|
|
11061
11107
|
* Indicates if the message is an attempt to retry agent message. Only available for agent messages.
|
|
11062
11108
|
*/
|
|
11063
|
-
isRetry:
|
|
11109
|
+
isRetry: z333.boolean().optional(),
|
|
11064
11110
|
/**
|
|
11065
11111
|
* Indicates if the sender requested agent to reply in a thread
|
|
11066
11112
|
*/
|
|
11067
|
-
startsNewThread:
|
|
11113
|
+
startsNewThread: z333.boolean().optional(),
|
|
11068
11114
|
/**
|
|
11069
11115
|
* If defined, this message is considered to be a reply in a thread under parent message id
|
|
11070
11116
|
*/
|
|
@@ -11079,19 +11125,19 @@ var DTOThreadMessage = z332.object({
|
|
|
11079
11125
|
* If defined, this message is considered to be a reply to different message
|
|
11080
11126
|
*/
|
|
11081
11127
|
replyToMessageId: Id.optional(),
|
|
11082
|
-
promptMetadata:
|
|
11083
|
-
createdAt:
|
|
11084
|
-
updatedAt:
|
|
11128
|
+
promptMetadata: z333.record(z333.string(), z333.any()).optional(),
|
|
11129
|
+
createdAt: z333.string(),
|
|
11130
|
+
updatedAt: z333.string().optional()
|
|
11085
11131
|
});
|
|
11086
|
-
var DTOThreadAgentResponseTracker =
|
|
11132
|
+
var DTOThreadAgentResponseTracker = z333.object({
|
|
11087
11133
|
id: Id,
|
|
11088
|
-
currentBody:
|
|
11134
|
+
currentBody: z333.string().default("")
|
|
11089
11135
|
});
|
|
11090
|
-
var DTOThreadMessageAttachmentsCreateInput =
|
|
11136
|
+
var DTOThreadMessageAttachmentsCreateInput = z333.object({
|
|
11091
11137
|
iterationId: Id.optional(),
|
|
11092
|
-
fileIds:
|
|
11093
|
-
figmaNodeIds:
|
|
11094
|
-
templateId:
|
|
11138
|
+
fileIds: z333.string().array().optional(),
|
|
11139
|
+
figmaNodeIds: z333.string().array().optional(),
|
|
11140
|
+
templateId: z333.string().optional()
|
|
11095
11141
|
});
|
|
11096
11142
|
var DTOThreadMessageCreateInput = DTOThreadMessage.pick({
|
|
11097
11143
|
id: true,
|
|
@@ -11104,67 +11150,67 @@ var DTOThreadMessageCreateInput = DTOThreadMessage.pick({
|
|
|
11104
11150
|
}).extend({
|
|
11105
11151
|
attachments: DTOThreadMessageAttachmentsCreateInput.optional()
|
|
11106
11152
|
});
|
|
11107
|
-
var DTOThreadMessageFinalizeInput =
|
|
11153
|
+
var DTOThreadMessageFinalizeInput = z333.object({
|
|
11108
11154
|
messageId: Id,
|
|
11109
|
-
agentMessageBody:
|
|
11155
|
+
agentMessageBody: z333.string().optional(),
|
|
11110
11156
|
promptState: DTOThreadPromptState.optional(),
|
|
11111
11157
|
billingUsageSummary: DTOBillingUsageSummary.optional()
|
|
11112
11158
|
});
|
|
11113
|
-
var DTOThreadMessageRetryInput =
|
|
11159
|
+
var DTOThreadMessageRetryInput = z333.object({
|
|
11114
11160
|
agentMessageId: Id,
|
|
11115
|
-
runtimeError:
|
|
11161
|
+
runtimeError: z333.string().optional(),
|
|
11116
11162
|
/**
|
|
11117
11163
|
* When `true`, the retry message will be sent to a thread started by the user's message
|
|
11118
11164
|
* Useful when user retries a message created in the main thread, but expects the retry to be sent as a thread reply
|
|
11119
11165
|
*/
|
|
11120
|
-
shouldReplyInThread:
|
|
11166
|
+
shouldReplyInThread: z333.boolean().optional(),
|
|
11121
11167
|
message: DTOThreadMessage.pick({ id: true, body: true }).optional()
|
|
11122
11168
|
});
|
|
11123
11169
|
var DTOThreadMessageUpdateInput = DTOThreadMessage.pick({
|
|
11124
11170
|
id: true
|
|
11125
11171
|
}).merge(
|
|
11126
|
-
|
|
11172
|
+
z333.object({
|
|
11127
11173
|
body: DTOThreadMessage.shape.body,
|
|
11128
11174
|
attachments: DTOThreadMessage.shape.attachments,
|
|
11129
11175
|
agentResponseTrackerId: DTOThreadMessage.shape.agentResponseTrackerId.nullable()
|
|
11130
11176
|
}).partial()
|
|
11131
11177
|
);
|
|
11132
|
-
var DTOThreadReactionCreateInput =
|
|
11178
|
+
var DTOThreadReactionCreateInput = z333.object({
|
|
11133
11179
|
messageId: Id,
|
|
11134
|
-
emoji:
|
|
11180
|
+
emoji: z333.string()
|
|
11135
11181
|
});
|
|
11136
|
-
var DTOThreadReactionDeleteInput =
|
|
11182
|
+
var DTOThreadReactionDeleteInput = z333.object({
|
|
11137
11183
|
messageId: Id,
|
|
11138
|
-
emoji:
|
|
11184
|
+
emoji: z333.string()
|
|
11139
11185
|
});
|
|
11140
|
-
var DTOThreadMessageResponse =
|
|
11186
|
+
var DTOThreadMessageResponse = z333.object({
|
|
11141
11187
|
message: DTOThreadMessage
|
|
11142
11188
|
});
|
|
11143
|
-
var DTOThreadReactionResponse =
|
|
11189
|
+
var DTOThreadReactionResponse = z333.object({
|
|
11144
11190
|
reaction: DTOThreadReaction
|
|
11145
11191
|
});
|
|
11146
|
-
var DTOThreadMessageListResponse =
|
|
11192
|
+
var DTOThreadMessageListResponse = z333.object({
|
|
11147
11193
|
messages: DTOThreadMessage.array(),
|
|
11148
11194
|
reactions: DTOThreadReaction.array(),
|
|
11149
|
-
lastSeenMessageId:
|
|
11195
|
+
lastSeenMessageId: z333.string().optional()
|
|
11150
11196
|
});
|
|
11151
|
-
var DTOThreadEventMessagesSent =
|
|
11152
|
-
type:
|
|
11197
|
+
var DTOThreadEventMessagesSent = z333.object({
|
|
11198
|
+
type: z333.literal("MessagesSent"),
|
|
11153
11199
|
data: DTOThreadMessage.array()
|
|
11154
11200
|
});
|
|
11155
|
-
var DTOThreadEventMessagesUpdated =
|
|
11156
|
-
type:
|
|
11201
|
+
var DTOThreadEventMessagesUpdated = z333.object({
|
|
11202
|
+
type: z333.literal("MessagesUpdated"),
|
|
11157
11203
|
data: DTOThreadMessage.array()
|
|
11158
11204
|
});
|
|
11159
|
-
var DTOThreadEventReactionsSent =
|
|
11160
|
-
type:
|
|
11205
|
+
var DTOThreadEventReactionsSent = z333.object({
|
|
11206
|
+
type: z333.literal("ReactionsSent"),
|
|
11161
11207
|
data: DTOThreadReaction.array()
|
|
11162
11208
|
});
|
|
11163
|
-
var DTOThreadEventReactionsDeleted =
|
|
11164
|
-
type:
|
|
11209
|
+
var DTOThreadEventReactionsDeleted = z333.object({
|
|
11210
|
+
type: z333.literal("ReactionsDeleted"),
|
|
11165
11211
|
data: DTOThreadReaction.array()
|
|
11166
11212
|
});
|
|
11167
|
-
var DTOThreadEvent =
|
|
11213
|
+
var DTOThreadEvent = z333.discriminatedUnion("type", [
|
|
11168
11214
|
DTOThreadEventMessagesSent,
|
|
11169
11215
|
DTOThreadEventMessagesUpdated,
|
|
11170
11216
|
DTOThreadEventReactionsSent,
|
|
@@ -11172,8 +11218,8 @@ var DTOThreadEvent = z332.discriminatedUnion("type", [
|
|
|
11172
11218
|
]);
|
|
11173
11219
|
|
|
11174
11220
|
// src/api/dto/forge/project-section.ts
|
|
11175
|
-
import
|
|
11176
|
-
var AfterSectionId =
|
|
11221
|
+
import z334 from "zod";
|
|
11222
|
+
var AfterSectionId = z334.string().uuid().nullish().optional();
|
|
11177
11223
|
var DTOForgeSection = ForgeSection;
|
|
11178
11224
|
var DTOForgeSectionCreateInput = DTOForgeSection.pick({
|
|
11179
11225
|
id: true,
|
|
@@ -11184,12 +11230,12 @@ var DTOForgeSectionCreateInput = DTOForgeSection.pick({
|
|
|
11184
11230
|
});
|
|
11185
11231
|
var DTOForgeSectionUpdateInput = DTOForgeSection.pick({ id: true, name: true });
|
|
11186
11232
|
var DTOForgeSectionDeleteInput = DTOForgeSection.pick({ id: true }).extend({
|
|
11187
|
-
deleteChildren:
|
|
11233
|
+
deleteChildren: z334.boolean().default(false)
|
|
11188
11234
|
});
|
|
11189
11235
|
var DTOForgeSectionMoveInput = DTOForgeSection.pick({ id: true }).extend({
|
|
11190
11236
|
afterSectionId: AfterSectionId
|
|
11191
11237
|
});
|
|
11192
|
-
var DTOForgeSectionItemMoveInput =
|
|
11238
|
+
var DTOForgeSectionItemMoveInput = z334.object({
|
|
11193
11239
|
id: Id,
|
|
11194
11240
|
sectionId: Id.nullish().optional(),
|
|
11195
11241
|
// undefined=stay, null=no section, string=move to section
|
|
@@ -11199,160 +11245,160 @@ var DTOForgeSectionItemMoveInput = z333.object({
|
|
|
11199
11245
|
|
|
11200
11246
|
// src/api/dto/forge/project-artifact.ts
|
|
11201
11247
|
var DTOForgeProjectArtifact = ForgeProjectArtifact;
|
|
11202
|
-
var DTOForgeProjectArtifactUpdateInput =
|
|
11203
|
-
id:
|
|
11204
|
-
title:
|
|
11205
|
-
isArchived:
|
|
11206
|
-
});
|
|
11207
|
-
var DTOForgeProjectArtifactCreateInput =
|
|
11208
|
-
id:
|
|
11209
|
-
title:
|
|
11210
|
-
sectionId:
|
|
11211
|
-
afterArtifactId:
|
|
11248
|
+
var DTOForgeProjectArtifactUpdateInput = z335.object({
|
|
11249
|
+
id: z335.string(),
|
|
11250
|
+
title: z335.string().optional(),
|
|
11251
|
+
isArchived: z335.boolean().optional()
|
|
11252
|
+
});
|
|
11253
|
+
var DTOForgeProjectArtifactCreateInput = z335.object({
|
|
11254
|
+
id: z335.string(),
|
|
11255
|
+
title: z335.string(),
|
|
11256
|
+
sectionId: z335.string().optional(),
|
|
11257
|
+
afterArtifactId: z335.string().optional().nullable(),
|
|
11212
11258
|
initialMessage: DTOThreadMessageCreateInput.optional()
|
|
11213
11259
|
});
|
|
11214
|
-
var DTOForgeProjectArtifactDeleteInput =
|
|
11260
|
+
var DTOForgeProjectArtifactDeleteInput = z335.object({
|
|
11215
11261
|
id: Id
|
|
11216
11262
|
});
|
|
11217
11263
|
var DTOForgeProjectArtifactMoveInput = DTOForgeSectionItemMoveInput;
|
|
11218
|
-
var DTOForgeDocumentGetByIdParam =
|
|
11264
|
+
var DTOForgeDocumentGetByIdParam = z335.object({
|
|
11219
11265
|
id: Id
|
|
11220
11266
|
});
|
|
11221
|
-
var DTOForgeProjectArtifactGetResponse =
|
|
11267
|
+
var DTOForgeProjectArtifactGetResponse = z335.object({
|
|
11222
11268
|
artifact: DTOForgeProjectArtifact
|
|
11223
11269
|
});
|
|
11224
|
-
var DTOForgeDocumentGetResponse =
|
|
11270
|
+
var DTOForgeDocumentGetResponse = z335.object({
|
|
11225
11271
|
document: DTOForgeProjectArtifact
|
|
11226
11272
|
});
|
|
11227
|
-
var DTOForgeProjectArtifactCreateResponse =
|
|
11273
|
+
var DTOForgeProjectArtifactCreateResponse = z335.object({
|
|
11228
11274
|
artifact: DTOForgeProjectArtifact
|
|
11229
11275
|
});
|
|
11230
|
-
var DTOForgeProjectArtifactUpdateResponse =
|
|
11276
|
+
var DTOForgeProjectArtifactUpdateResponse = z335.object({
|
|
11231
11277
|
artifact: DTOForgeProjectArtifact
|
|
11232
11278
|
});
|
|
11233
|
-
var DTOForgeProjectArtifactDeleteResponse =
|
|
11234
|
-
ok:
|
|
11279
|
+
var DTOForgeProjectArtifactDeleteResponse = z335.object({
|
|
11280
|
+
ok: z335.literal(true)
|
|
11235
11281
|
});
|
|
11236
|
-
var DTOForgeProjectArtifactMoveResponse =
|
|
11282
|
+
var DTOForgeProjectArtifactMoveResponse = z335.object({
|
|
11237
11283
|
artifact: DTOForgeProjectArtifact
|
|
11238
11284
|
});
|
|
11239
|
-
var DTOForgeProjectArtifactsListResponse =
|
|
11240
|
-
artifacts:
|
|
11285
|
+
var DTOForgeProjectArtifactsListResponse = z335.object({
|
|
11286
|
+
artifacts: z335.array(DTOForgeProjectArtifact)
|
|
11241
11287
|
});
|
|
11242
|
-
var DTOForgeProjectArtifactContentResponse =
|
|
11243
|
-
artifactId:
|
|
11288
|
+
var DTOForgeProjectArtifactContentResponse = z335.object({
|
|
11289
|
+
artifactId: z335.string(),
|
|
11244
11290
|
content: ForgeProjectArtifactContentData
|
|
11245
11291
|
});
|
|
11246
11292
|
|
|
11247
11293
|
// src/api/dto/forge/project-feature.ts
|
|
11248
|
-
import
|
|
11294
|
+
import z336 from "zod";
|
|
11249
11295
|
var DTOFeaturePublishedStateUpdateInput = FeaturePublishedState.pick({
|
|
11250
11296
|
iterationId: true,
|
|
11251
11297
|
hideSupernovaUI: true,
|
|
11252
11298
|
visibility: true
|
|
11253
11299
|
});
|
|
11254
11300
|
var DTOForgeProjectFeature = ProjectFeature;
|
|
11255
|
-
var DTOForgeProjectPublishedFeature =
|
|
11256
|
-
featureName:
|
|
11257
|
-
iterationName:
|
|
11258
|
-
hideSupernovaUI:
|
|
11259
|
-
thumbnailUrl:
|
|
11260
|
-
staticPreviewUrl:
|
|
11301
|
+
var DTOForgeProjectPublishedFeature = z336.object({
|
|
11302
|
+
featureName: z336.string(),
|
|
11303
|
+
iterationName: z336.string(),
|
|
11304
|
+
hideSupernovaUI: z336.boolean(),
|
|
11305
|
+
thumbnailUrl: z336.string().optional(),
|
|
11306
|
+
staticPreviewUrl: z336.string().optional(),
|
|
11261
11307
|
// These are only included when authenticated user has access to the project (for both public & private published features)
|
|
11262
|
-
projectId:
|
|
11263
|
-
projectName:
|
|
11264
|
-
workspaceId:
|
|
11308
|
+
projectId: z336.string().optional(),
|
|
11309
|
+
projectName: z336.string().optional(),
|
|
11310
|
+
workspaceId: z336.string().optional()
|
|
11265
11311
|
});
|
|
11266
|
-
var DTOForgeProjectPublishedFeatureGetResponse =
|
|
11312
|
+
var DTOForgeProjectPublishedFeatureGetResponse = z336.object({
|
|
11267
11313
|
publishedFeature: DTOForgeProjectPublishedFeature
|
|
11268
11314
|
});
|
|
11269
|
-
var DTOForgeProjectFeatureListResponse =
|
|
11315
|
+
var DTOForgeProjectFeatureListResponse = z336.object({
|
|
11270
11316
|
features: DTOForgeProjectFeature.array()
|
|
11271
11317
|
});
|
|
11272
|
-
var DTOForgeProjectFeatureGetResponse =
|
|
11318
|
+
var DTOForgeProjectFeatureGetResponse = z336.object({
|
|
11273
11319
|
feature: DTOForgeProjectFeature
|
|
11274
11320
|
});
|
|
11275
|
-
var DTOForgeProjectFeatureCreateInput =
|
|
11321
|
+
var DTOForgeProjectFeatureCreateInput = z336.object({
|
|
11276
11322
|
id: Id,
|
|
11277
|
-
name:
|
|
11278
|
-
description:
|
|
11323
|
+
name: z336.string().optional(),
|
|
11324
|
+
description: z336.string(),
|
|
11279
11325
|
sectionId: Id.optional(),
|
|
11280
11326
|
afterFeatureId: Id.nullable().optional(),
|
|
11281
11327
|
initialMessage: DTOThreadMessageCreateInput
|
|
11282
11328
|
});
|
|
11283
|
-
var DTOForgeProjectFeatureUpdateInput =
|
|
11329
|
+
var DTOForgeProjectFeatureUpdateInput = z336.object({
|
|
11284
11330
|
id: Id,
|
|
11285
|
-
name:
|
|
11286
|
-
description:
|
|
11287
|
-
isArchived:
|
|
11331
|
+
name: z336.string().optional(),
|
|
11332
|
+
description: z336.string().optional(),
|
|
11333
|
+
isArchived: z336.boolean().optional(),
|
|
11288
11334
|
status: ProjectFeatureStatus.optional(),
|
|
11289
11335
|
/**
|
|
11290
11336
|
* Sending null will result in feature unpublish
|
|
11291
11337
|
*/
|
|
11292
11338
|
publishedState: DTOFeaturePublishedStateUpdateInput.nullish()
|
|
11293
11339
|
});
|
|
11294
|
-
var DTOForgeProjectFeatureDeleteInput =
|
|
11340
|
+
var DTOForgeProjectFeatureDeleteInput = z336.object({
|
|
11295
11341
|
id: Id
|
|
11296
11342
|
});
|
|
11297
|
-
var DTOForgeProjectFeatureGetByIdParam =
|
|
11343
|
+
var DTOForgeProjectFeatureGetByIdParam = z336.object({
|
|
11298
11344
|
id: Id
|
|
11299
11345
|
});
|
|
11300
|
-
var DTOFeatureArtifactListQuery =
|
|
11301
|
-
messageId:
|
|
11302
|
-
iterationId:
|
|
11346
|
+
var DTOFeatureArtifactListQuery = z336.object({
|
|
11347
|
+
messageId: z336.string().optional(),
|
|
11348
|
+
iterationId: z336.string().optional()
|
|
11303
11349
|
});
|
|
11304
11350
|
var DTOForgeProjectFeatureMoveInput = DTOForgeSectionItemMoveInput;
|
|
11305
11351
|
|
|
11306
11352
|
// src/api/dto/forge/project-action.ts
|
|
11307
|
-
var DTOForgeProjectActionFeatureCreate =
|
|
11308
|
-
type:
|
|
11353
|
+
var DTOForgeProjectActionFeatureCreate = z337.object({
|
|
11354
|
+
type: z337.literal("FeatureCreate"),
|
|
11309
11355
|
input: DTOForgeProjectFeatureCreateInput
|
|
11310
11356
|
});
|
|
11311
|
-
var DTOForgeProjectActionFeatureUpdate =
|
|
11312
|
-
type:
|
|
11357
|
+
var DTOForgeProjectActionFeatureUpdate = z337.object({
|
|
11358
|
+
type: z337.literal("FeatureUpdate"),
|
|
11313
11359
|
input: DTOForgeProjectFeatureUpdateInput
|
|
11314
11360
|
});
|
|
11315
|
-
var DTOForgeProjectActionFeatureMove =
|
|
11316
|
-
type:
|
|
11361
|
+
var DTOForgeProjectActionFeatureMove = z337.object({
|
|
11362
|
+
type: z337.literal("FeatureMove"),
|
|
11317
11363
|
input: DTOForgeProjectFeatureMoveInput
|
|
11318
11364
|
});
|
|
11319
|
-
var DTOForgeProjectActionFeatureDelete =
|
|
11320
|
-
type:
|
|
11365
|
+
var DTOForgeProjectActionFeatureDelete = z337.object({
|
|
11366
|
+
type: z337.literal("FeatureDelete"),
|
|
11321
11367
|
input: DTOForgeProjectFeatureDeleteInput
|
|
11322
11368
|
});
|
|
11323
|
-
var DTOForgeProjectActionArtifactCreate =
|
|
11324
|
-
type:
|
|
11369
|
+
var DTOForgeProjectActionArtifactCreate = z337.object({
|
|
11370
|
+
type: z337.literal("ArtifactCreate"),
|
|
11325
11371
|
input: DTOForgeProjectArtifactCreateInput
|
|
11326
11372
|
});
|
|
11327
|
-
var DTOForgeProjectActionArtifactUpdate =
|
|
11328
|
-
type:
|
|
11373
|
+
var DTOForgeProjectActionArtifactUpdate = z337.object({
|
|
11374
|
+
type: z337.literal("ArtifactUpdate"),
|
|
11329
11375
|
input: DTOForgeProjectArtifactUpdateInput
|
|
11330
11376
|
});
|
|
11331
|
-
var DTOForgeProjectActionArtifactDelete =
|
|
11332
|
-
type:
|
|
11377
|
+
var DTOForgeProjectActionArtifactDelete = z337.object({
|
|
11378
|
+
type: z337.literal("ArtifactDelete"),
|
|
11333
11379
|
input: DTOForgeProjectArtifactDeleteInput
|
|
11334
11380
|
});
|
|
11335
|
-
var DTOForgeProjectActionArtifactMove =
|
|
11336
|
-
type:
|
|
11381
|
+
var DTOForgeProjectActionArtifactMove = z337.object({
|
|
11382
|
+
type: z337.literal("ArtifactMove"),
|
|
11337
11383
|
input: DTOForgeProjectArtifactMoveInput
|
|
11338
11384
|
});
|
|
11339
|
-
var DTOForgeProjectActionSectionCreate =
|
|
11340
|
-
type:
|
|
11385
|
+
var DTOForgeProjectActionSectionCreate = z337.object({
|
|
11386
|
+
type: z337.literal("SectionCreate"),
|
|
11341
11387
|
input: DTOForgeSectionCreateInput
|
|
11342
11388
|
});
|
|
11343
|
-
var DTOForgeProjectActionSectionUpdate =
|
|
11344
|
-
type:
|
|
11389
|
+
var DTOForgeProjectActionSectionUpdate = z337.object({
|
|
11390
|
+
type: z337.literal("SectionUpdate"),
|
|
11345
11391
|
input: DTOForgeSectionUpdateInput
|
|
11346
11392
|
});
|
|
11347
|
-
var DTOForgeProjectActionSectionDelete =
|
|
11348
|
-
type:
|
|
11393
|
+
var DTOForgeProjectActionSectionDelete = z337.object({
|
|
11394
|
+
type: z337.literal("SectionDelete"),
|
|
11349
11395
|
input: DTOForgeSectionDeleteInput
|
|
11350
11396
|
});
|
|
11351
|
-
var DTOForgeProjectActionSectionMove =
|
|
11352
|
-
type:
|
|
11397
|
+
var DTOForgeProjectActionSectionMove = z337.object({
|
|
11398
|
+
type: z337.literal("SectionMove"),
|
|
11353
11399
|
input: DTOForgeSectionMoveInput
|
|
11354
11400
|
});
|
|
11355
|
-
var DTOForgeProjectAction =
|
|
11401
|
+
var DTOForgeProjectAction = z337.discriminatedUnion("type", [
|
|
11356
11402
|
//features
|
|
11357
11403
|
DTOForgeProjectActionFeatureCreate,
|
|
11358
11404
|
DTOForgeProjectActionFeatureUpdate,
|
|
@@ -11369,36 +11415,36 @@ var DTOForgeProjectAction = z336.discriminatedUnion("type", [
|
|
|
11369
11415
|
DTOForgeProjectActionSectionDelete,
|
|
11370
11416
|
DTOForgeProjectActionSectionMove
|
|
11371
11417
|
]).and(
|
|
11372
|
-
|
|
11373
|
-
tId:
|
|
11418
|
+
z337.object({
|
|
11419
|
+
tId: z337.string().optional()
|
|
11374
11420
|
})
|
|
11375
11421
|
);
|
|
11376
11422
|
|
|
11377
11423
|
// src/api/dto/forge/project-artifact-room.ts
|
|
11378
|
-
import { z as
|
|
11379
|
-
var DTOForgeProjectArtifactRoom =
|
|
11380
|
-
id:
|
|
11424
|
+
import { z as z338 } from "zod";
|
|
11425
|
+
var DTOForgeProjectArtifactRoom = z338.object({
|
|
11426
|
+
id: z338.string()
|
|
11381
11427
|
});
|
|
11382
|
-
var DTOForgeProjectArtifactRoomResponse =
|
|
11428
|
+
var DTOForgeProjectArtifactRoomResponse = z338.object({
|
|
11383
11429
|
room: DTOForgeProjectArtifactRoom
|
|
11384
11430
|
});
|
|
11385
11431
|
|
|
11386
11432
|
// src/api/dto/forge/project-context-feedback.ts
|
|
11387
|
-
import { z as
|
|
11388
|
-
var DTOForgeProjectContextFeedbackSentiment =
|
|
11389
|
-
var DTOForgeProjectContextFeedback =
|
|
11390
|
-
id:
|
|
11391
|
-
contextId:
|
|
11392
|
-
createdByUserId:
|
|
11393
|
-
createdAt:
|
|
11394
|
-
message:
|
|
11395
|
-
conversation:
|
|
11433
|
+
import { z as z339 } from "zod";
|
|
11434
|
+
var DTOForgeProjectContextFeedbackSentiment = z339.enum(["Positive", "Neutral", "Negative", "Aggressive"]);
|
|
11435
|
+
var DTOForgeProjectContextFeedback = z339.object({
|
|
11436
|
+
id: z339.string().uuid(),
|
|
11437
|
+
contextId: z339.string(),
|
|
11438
|
+
createdByUserId: z339.string(),
|
|
11439
|
+
createdAt: z339.coerce.date(),
|
|
11440
|
+
message: z339.string().describe("A concise human-readable summary of the feedback being collected."),
|
|
11441
|
+
conversation: z339.array(z339.string()).describe("Ordered conversation excerpts that provide context for the feedback. Each item should be one message."),
|
|
11396
11442
|
sentiment: DTOForgeProjectContextFeedbackSentiment.describe(
|
|
11397
11443
|
"Overall sentiment of the feedback. Use Positive, Neutral, Negative, or Aggressive."
|
|
11398
11444
|
),
|
|
11399
|
-
llm:
|
|
11400
|
-
model:
|
|
11401
|
-
provider:
|
|
11445
|
+
llm: z339.object({
|
|
11446
|
+
model: z339.string().describe("The LLM model name that generated or participated in the conversation."),
|
|
11447
|
+
provider: z339.string().describe("The LLM provider name.")
|
|
11402
11448
|
}).describe("Information about the LLM associated with this feedback."),
|
|
11403
11449
|
metadata: DTOObjectMetadata.optional()
|
|
11404
11450
|
});
|
|
@@ -11409,40 +11455,40 @@ var DTOForgeProjectContextFeedbackCreatePayload = DTOForgeProjectContextFeedback
|
|
|
11409
11455
|
metadata: true,
|
|
11410
11456
|
llm: true
|
|
11411
11457
|
});
|
|
11412
|
-
var DTOForgeProjectContextFeedbackDeletePayload =
|
|
11413
|
-
id:
|
|
11458
|
+
var DTOForgeProjectContextFeedbackDeletePayload = z339.object({
|
|
11459
|
+
id: z339.union([z339.string(), z339.array(z339.string())])
|
|
11414
11460
|
});
|
|
11415
|
-
var DTOForgeProjectContextFeedbackResponse =
|
|
11461
|
+
var DTOForgeProjectContextFeedbackResponse = z339.object({
|
|
11416
11462
|
feedback: DTOForgeProjectContextFeedback
|
|
11417
11463
|
});
|
|
11418
|
-
var DTOForgeProjectContextFeedbackListResponse =
|
|
11419
|
-
feedback:
|
|
11464
|
+
var DTOForgeProjectContextFeedbackListResponse = z339.object({
|
|
11465
|
+
feedback: z339.array(DTOForgeProjectContextFeedback)
|
|
11420
11466
|
});
|
|
11421
|
-
var DTOForgeProjectContextFeedbackDeleteResponse =
|
|
11422
|
-
ok:
|
|
11467
|
+
var DTOForgeProjectContextFeedbackDeleteResponse = z339.object({
|
|
11468
|
+
ok: z339.literal(true)
|
|
11423
11469
|
});
|
|
11424
11470
|
|
|
11425
11471
|
// src/api/dto/forge/project-context-override.ts
|
|
11426
|
-
import
|
|
11472
|
+
import z341 from "zod";
|
|
11427
11473
|
|
|
11428
11474
|
// src/api/dto/forge/project-context-v2.ts
|
|
11429
|
-
import { z as
|
|
11430
|
-
var DTOForgeComponentSetTypeV2 =
|
|
11431
|
-
var DTOForgeComponentSet =
|
|
11475
|
+
import { z as z340 } from "zod";
|
|
11476
|
+
var DTOForgeComponentSetTypeV2 = z340.enum(["Shadcn"]);
|
|
11477
|
+
var DTOForgeComponentSet = z340.object({
|
|
11432
11478
|
type: DTOForgeComponentSetTypeV2
|
|
11433
11479
|
});
|
|
11434
|
-
var DTOForgeIconSetTypeV2 =
|
|
11435
|
-
var DTOForgeThemeKnownPreset =
|
|
11436
|
-
var DTOForgeIconSet =
|
|
11480
|
+
var DTOForgeIconSetTypeV2 = z340.enum(["Phosphor", "Lucide", "Tabler"]);
|
|
11481
|
+
var DTOForgeThemeKnownPreset = z340.enum(["Default", "Airbnb", "Spotify", "Windows98"]);
|
|
11482
|
+
var DTOForgeIconSet = z340.object({
|
|
11437
11483
|
type: DTOForgeIconSetTypeV2,
|
|
11438
|
-
variant:
|
|
11484
|
+
variant: z340.string().optional()
|
|
11439
11485
|
});
|
|
11440
|
-
var DTOForgeTokenThemeSet =
|
|
11441
|
-
id:
|
|
11442
|
-
name:
|
|
11443
|
-
tokenThemeIds:
|
|
11486
|
+
var DTOForgeTokenThemeSet = z340.object({
|
|
11487
|
+
id: z340.string(),
|
|
11488
|
+
name: z340.string(),
|
|
11489
|
+
tokenThemeIds: z340.array(z340.string())
|
|
11444
11490
|
});
|
|
11445
|
-
var DTOForgeProjectTheme =
|
|
11491
|
+
var DTOForgeProjectTheme = z340.object({
|
|
11446
11492
|
// Colors
|
|
11447
11493
|
background: ColorTokenData,
|
|
11448
11494
|
foreground: ColorTokenData,
|
|
@@ -11527,29 +11573,29 @@ var DTOForgeProjectTheme = z339.object({
|
|
|
11527
11573
|
shadowXl: ShadowTokenData,
|
|
11528
11574
|
shadow2xl: ShadowTokenData
|
|
11529
11575
|
});
|
|
11530
|
-
var DTOForgeProjectContextV2 =
|
|
11531
|
-
id:
|
|
11532
|
-
name:
|
|
11533
|
-
workspaceId:
|
|
11534
|
-
designSystemId:
|
|
11535
|
-
brandId:
|
|
11536
|
-
defaultTokenThemeSetId:
|
|
11537
|
-
description:
|
|
11538
|
-
productContext:
|
|
11539
|
-
additionalContext:
|
|
11540
|
-
isArchived:
|
|
11541
|
-
themePreset:
|
|
11542
|
-
tokenThemeSets:
|
|
11576
|
+
var DTOForgeProjectContextV2 = z340.object({
|
|
11577
|
+
id: z340.string(),
|
|
11578
|
+
name: z340.string(),
|
|
11579
|
+
workspaceId: z340.string(),
|
|
11580
|
+
designSystemId: z340.string().optional(),
|
|
11581
|
+
brandId: z340.string().optional(),
|
|
11582
|
+
defaultTokenThemeSetId: z340.string().optional(),
|
|
11583
|
+
description: z340.string().optional(),
|
|
11584
|
+
productContext: z340.string().optional(),
|
|
11585
|
+
additionalContext: z340.string().optional(),
|
|
11586
|
+
isArchived: z340.boolean(),
|
|
11587
|
+
themePreset: z340.string().optional(),
|
|
11588
|
+
tokenThemeSets: z340.array(DTOForgeTokenThemeSet).optional(),
|
|
11543
11589
|
metadata: DTOObjectMetadata.optional(),
|
|
11544
11590
|
componentSet: DTOForgeComponentSet,
|
|
11545
11591
|
iconSet: DTOForgeIconSet,
|
|
11546
11592
|
theme: DTOForgeProjectTheme,
|
|
11547
|
-
createdAt:
|
|
11548
|
-
updatedAt:
|
|
11593
|
+
createdAt: z340.coerce.date(),
|
|
11594
|
+
updatedAt: z340.coerce.date(),
|
|
11549
11595
|
thumbnail: DTOFileReference.optional(),
|
|
11550
|
-
sandboxTemplate:
|
|
11551
|
-
id:
|
|
11552
|
-
version:
|
|
11596
|
+
sandboxTemplate: z340.object({
|
|
11597
|
+
id: z340.string(),
|
|
11598
|
+
version: z340.string()
|
|
11553
11599
|
}).optional()
|
|
11554
11600
|
});
|
|
11555
11601
|
var DTOForgeProjectContextCreateV2 = DTOForgeProjectContextV2.omit({
|
|
@@ -11559,7 +11605,7 @@ var DTOForgeProjectContextCreateV2 = DTOForgeProjectContextV2.omit({
|
|
|
11559
11605
|
isArchived: true,
|
|
11560
11606
|
thumbnail: true
|
|
11561
11607
|
}).extend({
|
|
11562
|
-
thumbnailFileId:
|
|
11608
|
+
thumbnailFileId: z340.string().optional(),
|
|
11563
11609
|
theme: DTOForgeProjectTheme.optional(),
|
|
11564
11610
|
iconSet: DTOForgeIconSet.optional(),
|
|
11565
11611
|
componentSet: DTOForgeComponentSet.optional()
|
|
@@ -11568,7 +11614,7 @@ var DTOForgeProjectContextCreateV2 = DTOForgeProjectContextV2.omit({
|
|
|
11568
11614
|
const hasCustomTemplateFields = input.sandboxTemplate;
|
|
11569
11615
|
if (hasDefaultTemplateFields || hasCustomTemplateFields) return;
|
|
11570
11616
|
ctx.addIssue({
|
|
11571
|
-
code:
|
|
11617
|
+
code: z340.ZodIssueCode.custom,
|
|
11572
11618
|
message: "Either the setup fields for default template (theme, iconSet, componentSet) or a sandbox template field (sandboxTemplate) must be provided.",
|
|
11573
11619
|
path: ["theme", "iconSet", "componentSet", "sandboxTemplate"]
|
|
11574
11620
|
});
|
|
@@ -11580,60 +11626,60 @@ var DTOForgeProjectContextUpdateV2 = DTOForgeProjectContextV2.omit({
|
|
|
11580
11626
|
updatedAt: true,
|
|
11581
11627
|
thumbnail: true
|
|
11582
11628
|
}).partial().extend({
|
|
11583
|
-
thumbnailFileId:
|
|
11629
|
+
thumbnailFileId: z340.string().nullish()
|
|
11584
11630
|
});
|
|
11585
|
-
var DTOForgeProjectContextResponseV2 =
|
|
11586
|
-
var DTOForgeProjectContextListQueryV2 =
|
|
11587
|
-
workspaceId:
|
|
11631
|
+
var DTOForgeProjectContextResponseV2 = z340.object({ context: DTOForgeProjectContextV2 });
|
|
11632
|
+
var DTOForgeProjectContextListQueryV2 = z340.object({
|
|
11633
|
+
workspaceId: z340.string(),
|
|
11588
11634
|
isArchived: zodQueryBoolean()
|
|
11589
11635
|
});
|
|
11590
|
-
var DTOForgeProjectContextListResponseV2 =
|
|
11636
|
+
var DTOForgeProjectContextListResponseV2 = z340.object({ contexts: z340.array(DTOForgeProjectContextV2) });
|
|
11591
11637
|
|
|
11592
11638
|
// src/api/dto/forge/project-context-override.ts
|
|
11593
|
-
var DTOProjectContextOverride =
|
|
11594
|
-
projectId:
|
|
11639
|
+
var DTOProjectContextOverride = z341.object({
|
|
11640
|
+
projectId: z341.string(),
|
|
11595
11641
|
theme: DTOForgeProjectTheme.partial(),
|
|
11596
|
-
themePreset:
|
|
11642
|
+
themePreset: z341.string().optional()
|
|
11597
11643
|
});
|
|
11598
|
-
var DTOProjectContextOverrideInput =
|
|
11599
|
-
updateSharedContext:
|
|
11644
|
+
var DTOProjectContextOverrideInput = z341.object({
|
|
11645
|
+
updateSharedContext: z341.boolean().optional(),
|
|
11600
11646
|
theme: DTOForgeProjectTheme.partial(),
|
|
11601
|
-
themePreset:
|
|
11647
|
+
themePreset: z341.string().optional()
|
|
11602
11648
|
});
|
|
11603
|
-
var DTOProjectContextOverrideResponse =
|
|
11649
|
+
var DTOProjectContextOverrideResponse = z341.object({
|
|
11604
11650
|
override: DTOProjectContextOverride,
|
|
11605
11651
|
originalContext: DTOForgeProjectContextV2,
|
|
11606
11652
|
resolvedContext: DTOForgeProjectContextV2
|
|
11607
11653
|
});
|
|
11608
11654
|
|
|
11609
11655
|
// src/api/dto/forge/project-context.ts
|
|
11610
|
-
import { z as
|
|
11611
|
-
var DTOForgeProjectContext =
|
|
11612
|
-
definition:
|
|
11613
|
-
dependencies:
|
|
11614
|
-
|
|
11615
|
-
packageName:
|
|
11616
|
-
type:
|
|
11617
|
-
version:
|
|
11656
|
+
import { z as z342 } from "zod";
|
|
11657
|
+
var DTOForgeProjectContext = z342.object({
|
|
11658
|
+
definition: z342.string(),
|
|
11659
|
+
dependencies: z342.array(
|
|
11660
|
+
z342.object({
|
|
11661
|
+
packageName: z342.string(),
|
|
11662
|
+
type: z342.literal("npm"),
|
|
11663
|
+
version: z342.string().default("latest")
|
|
11618
11664
|
})
|
|
11619
11665
|
),
|
|
11620
|
-
designSystemId:
|
|
11621
|
-
id:
|
|
11622
|
-
meta:
|
|
11623
|
-
name:
|
|
11624
|
-
description:
|
|
11666
|
+
designSystemId: z342.string(),
|
|
11667
|
+
id: z342.string(),
|
|
11668
|
+
meta: z342.object({
|
|
11669
|
+
name: z342.string(),
|
|
11670
|
+
description: z342.string().optional()
|
|
11625
11671
|
}),
|
|
11626
|
-
name:
|
|
11672
|
+
name: z342.string(),
|
|
11627
11673
|
npmProxySettings: DTONpmRegistryConfig.optional(),
|
|
11628
|
-
platform:
|
|
11629
|
-
styling:
|
|
11630
|
-
tailwindConfig:
|
|
11631
|
-
content:
|
|
11632
|
-
version:
|
|
11674
|
+
platform: z342.enum(["React", "Vue", "Angular"]),
|
|
11675
|
+
styling: z342.enum(["CSS", "Tailwind"]),
|
|
11676
|
+
tailwindConfig: z342.object({
|
|
11677
|
+
content: z342.string(),
|
|
11678
|
+
version: z342.string()
|
|
11633
11679
|
}).optional(),
|
|
11634
|
-
createdAt:
|
|
11635
|
-
updatedAt:
|
|
11636
|
-
workspaceId:
|
|
11680
|
+
createdAt: z342.coerce.date(),
|
|
11681
|
+
updatedAt: z342.coerce.date(),
|
|
11682
|
+
workspaceId: z342.string()
|
|
11637
11683
|
});
|
|
11638
11684
|
var DTOCreateForgeProjectContext = DTOForgeProjectContext.pick({
|
|
11639
11685
|
definition: true,
|
|
@@ -11645,13 +11691,13 @@ var DTOCreateForgeProjectContext = DTOForgeProjectContext.pick({
|
|
|
11645
11691
|
tailwindConfig: true,
|
|
11646
11692
|
styling: true
|
|
11647
11693
|
}).extend({ npmProxySettings: DTONpmRegistryConfig });
|
|
11648
|
-
var DTOUpdateForgeProjectContext = DTOCreateForgeProjectContext.partial().extend({ id:
|
|
11649
|
-
var DTOForgeProjectContextGetResponse =
|
|
11650
|
-
var DTOForgeProjectContextListResponse =
|
|
11651
|
-
var DTOForgeProjectContextCreateResponse =
|
|
11652
|
-
var DTOForgeProjectContextUpdateResponse =
|
|
11653
|
-
var DTOForgeProjectContextRemoveResponse =
|
|
11654
|
-
ok:
|
|
11694
|
+
var DTOUpdateForgeProjectContext = DTOCreateForgeProjectContext.partial().extend({ id: z342.string() });
|
|
11695
|
+
var DTOForgeProjectContextGetResponse = z342.object({ context: DTOForgeProjectContext });
|
|
11696
|
+
var DTOForgeProjectContextListResponse = z342.object({ contexts: z342.array(DTOForgeProjectContext) });
|
|
11697
|
+
var DTOForgeProjectContextCreateResponse = z342.object({ context: DTOForgeProjectContext });
|
|
11698
|
+
var DTOForgeProjectContextUpdateResponse = z342.object({ context: DTOForgeProjectContext });
|
|
11699
|
+
var DTOForgeProjectContextRemoveResponse = z342.object({
|
|
11700
|
+
ok: z342.literal(true)
|
|
11655
11701
|
});
|
|
11656
11702
|
|
|
11657
11703
|
// src/api/dto/forge/project-figma-node.ts
|
|
@@ -11659,42 +11705,42 @@ var DTOForgeProjectFigmaNode = ForgeProjectFigmaNode;
|
|
|
11659
11705
|
var DTOForgeProjectFigmaNodeRenderInput = ForgeProjectFigmaNodeRenderInput;
|
|
11660
11706
|
|
|
11661
11707
|
// src/api/dto/forge/project-file.ts
|
|
11662
|
-
import { z as
|
|
11663
|
-
var DTOForgeProjectFile =
|
|
11664
|
-
id:
|
|
11665
|
-
name:
|
|
11666
|
-
checksum:
|
|
11667
|
-
pendingUpload:
|
|
11668
|
-
url:
|
|
11669
|
-
size:
|
|
11670
|
-
});
|
|
11671
|
-
var DTOForgeProjectFileListResponse =
|
|
11672
|
-
files:
|
|
11673
|
-
});
|
|
11674
|
-
var DTOForgeProjectFileUploadPayloadItem =
|
|
11675
|
-
size:
|
|
11676
|
-
name:
|
|
11677
|
-
checksum:
|
|
11678
|
-
});
|
|
11679
|
-
var DTOForgeProjectFileUploadPayload =
|
|
11680
|
-
files:
|
|
11681
|
-
});
|
|
11682
|
-
var DTOForgeProjectFileUploadResponse =
|
|
11683
|
-
files:
|
|
11684
|
-
uploadUrls:
|
|
11685
|
-
|
|
11686
|
-
fileId:
|
|
11687
|
-
uploadUrl:
|
|
11708
|
+
import { z as z343 } from "zod";
|
|
11709
|
+
var DTOForgeProjectFile = z343.object({
|
|
11710
|
+
id: z343.string(),
|
|
11711
|
+
name: z343.string(),
|
|
11712
|
+
checksum: z343.string(),
|
|
11713
|
+
pendingUpload: z343.boolean().optional(),
|
|
11714
|
+
url: z343.string(),
|
|
11715
|
+
size: z343.number()
|
|
11716
|
+
});
|
|
11717
|
+
var DTOForgeProjectFileListResponse = z343.object({
|
|
11718
|
+
files: z343.array(DTOForgeProjectFile)
|
|
11719
|
+
});
|
|
11720
|
+
var DTOForgeProjectFileUploadPayloadItem = z343.object({
|
|
11721
|
+
size: z343.number(),
|
|
11722
|
+
name: z343.string(),
|
|
11723
|
+
checksum: z343.string()
|
|
11724
|
+
});
|
|
11725
|
+
var DTOForgeProjectFileUploadPayload = z343.object({
|
|
11726
|
+
files: z343.array(DTOForgeProjectFileUploadPayloadItem)
|
|
11727
|
+
});
|
|
11728
|
+
var DTOForgeProjectFileUploadResponse = z343.object({
|
|
11729
|
+
files: z343.array(DTOForgeProjectFile),
|
|
11730
|
+
uploadUrls: z343.array(
|
|
11731
|
+
z343.object({
|
|
11732
|
+
fileId: z343.string(),
|
|
11733
|
+
uploadUrl: z343.string()
|
|
11688
11734
|
})
|
|
11689
11735
|
)
|
|
11690
11736
|
});
|
|
11691
|
-
var DTOForgeProjectFileUploadFinalizePayload =
|
|
11692
|
-
fileIds:
|
|
11737
|
+
var DTOForgeProjectFileUploadFinalizePayload = z343.object({
|
|
11738
|
+
fileIds: z343.array(z343.string())
|
|
11693
11739
|
});
|
|
11694
|
-
var DTOForgeProjectFileUploadFinalizeResponse =
|
|
11740
|
+
var DTOForgeProjectFileUploadFinalizeResponse = z343.object({ ok: z343.literal(true) });
|
|
11695
11741
|
|
|
11696
11742
|
// src/api/dto/forge/project-invitation.ts
|
|
11697
|
-
import { z as
|
|
11743
|
+
import { z as z344 } from "zod";
|
|
11698
11744
|
var DTOForgeProjectInvitation = ForgeProjectInvitation;
|
|
11699
11745
|
var DTOCreateForgeProjectInvitation = DTOForgeProjectInvitation.pick({
|
|
11700
11746
|
email: true,
|
|
@@ -11704,24 +11750,24 @@ var DTOUpdateForgeProjectInvitation = DTOCreateForgeProjectInvitation;
|
|
|
11704
11750
|
var DTORemoveForgeProjectInvitation = DTOCreateForgeProjectInvitation.pick({
|
|
11705
11751
|
email: true
|
|
11706
11752
|
});
|
|
11707
|
-
var DTOForgeProjectInvitationsListResponse =
|
|
11708
|
-
invitations:
|
|
11753
|
+
var DTOForgeProjectInvitationsListResponse = z344.object({
|
|
11754
|
+
invitations: z344.array(DTOForgeProjectInvitation)
|
|
11709
11755
|
});
|
|
11710
|
-
var DTOForgeProjectInvitationGetResponse =
|
|
11756
|
+
var DTOForgeProjectInvitationGetResponse = z344.object({
|
|
11711
11757
|
invitation: DTOForgeProjectInvitation
|
|
11712
11758
|
});
|
|
11713
|
-
var DTOForgeProjectInvitationCreateResponse =
|
|
11759
|
+
var DTOForgeProjectInvitationCreateResponse = z344.object({
|
|
11714
11760
|
invitation: DTOForgeProjectInvitation
|
|
11715
11761
|
});
|
|
11716
|
-
var DTOForgeProjectInvitationUpdateResponse =
|
|
11762
|
+
var DTOForgeProjectInvitationUpdateResponse = z344.object({
|
|
11717
11763
|
invitation: DTOForgeProjectInvitation.nullable()
|
|
11718
11764
|
});
|
|
11719
|
-
var DTOForgeProjectInvitationRemoveResponse =
|
|
11720
|
-
ok:
|
|
11765
|
+
var DTOForgeProjectInvitationRemoveResponse = z344.object({
|
|
11766
|
+
ok: z344.literal(true)
|
|
11721
11767
|
});
|
|
11722
11768
|
|
|
11723
11769
|
// src/api/dto/forge/project-iteration-old.ts
|
|
11724
|
-
import { z as
|
|
11770
|
+
import { z as z345 } from "zod";
|
|
11725
11771
|
var DTOForgeProjectIterationMergeMeta = ForgeProjectIterationMergeMeta;
|
|
11726
11772
|
var DTOForgeProjectIteration = ForgeProjectIteration.omit({
|
|
11727
11773
|
artifacts: true,
|
|
@@ -11732,7 +11778,7 @@ var DTOForgeProjectIteration = ForgeProjectIteration.omit({
|
|
|
11732
11778
|
messages: DTOForgeIterationMessage.array(),
|
|
11733
11779
|
mergeMeta: DTOForgeProjectIterationMergeMeta.optional()
|
|
11734
11780
|
});
|
|
11735
|
-
var DTOGetForgeProjectIterationResponse =
|
|
11781
|
+
var DTOGetForgeProjectIterationResponse = z345.object({
|
|
11736
11782
|
iteration: DTOForgeProjectIteration.nullable()
|
|
11737
11783
|
});
|
|
11738
11784
|
var DTOCreateForgeProjectIteration = DTOForgeProjectIteration.omit({
|
|
@@ -11742,20 +11788,20 @@ var DTOCreateForgeProjectIteration = DTOForgeProjectIteration.omit({
|
|
|
11742
11788
|
mergeMeta: true,
|
|
11743
11789
|
createdAt: true
|
|
11744
11790
|
});
|
|
11745
|
-
var DTOUpdateForgeProjectIteration = DTOCreateForgeProjectIteration.extend({ id:
|
|
11746
|
-
var DTOCreateForgeProjectIterationResponse =
|
|
11791
|
+
var DTOUpdateForgeProjectIteration = DTOCreateForgeProjectIteration.extend({ id: z345.string() });
|
|
11792
|
+
var DTOCreateForgeProjectIterationResponse = z345.object({
|
|
11747
11793
|
iteration: DTOForgeProjectIteration
|
|
11748
11794
|
});
|
|
11749
|
-
var DTOUpdateForgeProjectIterationResponse =
|
|
11795
|
+
var DTOUpdateForgeProjectIterationResponse = z345.object({
|
|
11750
11796
|
iteration: DTOForgeProjectIteration.nullable()
|
|
11751
11797
|
});
|
|
11752
|
-
var DTODeleteForgeProjectIterationResponse =
|
|
11753
|
-
ok:
|
|
11798
|
+
var DTODeleteForgeProjectIterationResponse = z345.object({
|
|
11799
|
+
ok: z345.literal(true)
|
|
11754
11800
|
});
|
|
11755
|
-
var DTOForgeProjectIterationListResponse =
|
|
11801
|
+
var DTOForgeProjectIterationListResponse = z345.object({ iterations: z345.array(DTOForgeProjectIteration) });
|
|
11756
11802
|
|
|
11757
11803
|
// src/api/dto/forge/project-member.ts
|
|
11758
|
-
import { z as
|
|
11804
|
+
import { z as z346 } from "zod";
|
|
11759
11805
|
|
|
11760
11806
|
// src/utils/figma.ts
|
|
11761
11807
|
var figmaFileIdRegex = /^[0-9a-zA-Z]{22,128}$/;
|
|
@@ -11938,7 +11984,7 @@ var DTOForgeProjectMemberRole = ForgeProjectRole;
|
|
|
11938
11984
|
var DTOForgeProjectMember = ForgeProjectMembership.extend({
|
|
11939
11985
|
user: DTOUser,
|
|
11940
11986
|
effectiveRole: DTOForgeProjectMemberRole,
|
|
11941
|
-
isDeactivated:
|
|
11987
|
+
isDeactivated: z346.boolean()
|
|
11942
11988
|
});
|
|
11943
11989
|
var DTOCreateForgeProjectMember = DTOForgeProjectMember.pick({
|
|
11944
11990
|
userId: true,
|
|
@@ -11948,80 +11994,80 @@ var DTOUpdateForgeProjectMember = DTOCreateForgeProjectMember;
|
|
|
11948
11994
|
var DTORemoveForgeProjectMember = DTOForgeProjectMember.pick({
|
|
11949
11995
|
userId: true
|
|
11950
11996
|
});
|
|
11951
|
-
var DTOForgeProjectMemberListQuery =
|
|
11997
|
+
var DTOForgeProjectMemberListQuery = z346.object({
|
|
11952
11998
|
includeImplicitMembers: zodQueryBoolean().optional()
|
|
11953
11999
|
});
|
|
11954
|
-
var DTOForgeProjectMembersListResponse =
|
|
11955
|
-
members:
|
|
11956
|
-
invitations:
|
|
12000
|
+
var DTOForgeProjectMembersListResponse = z346.object({
|
|
12001
|
+
members: z346.array(DTOForgeProjectMember),
|
|
12002
|
+
invitations: z346.array(DTOForgeProjectInvitation)
|
|
11957
12003
|
});
|
|
11958
|
-
var DTOForgeProjectMemberGetResponse =
|
|
12004
|
+
var DTOForgeProjectMemberGetResponse = z346.object({
|
|
11959
12005
|
member: DTOForgeProjectMember
|
|
11960
12006
|
});
|
|
11961
|
-
var DTOForgeProjectMemberCreateResponse =
|
|
12007
|
+
var DTOForgeProjectMemberCreateResponse = z346.object({
|
|
11962
12008
|
member: DTOForgeProjectMember
|
|
11963
12009
|
});
|
|
11964
|
-
var DTOForgeProjectMemberUpdateResponse =
|
|
12010
|
+
var DTOForgeProjectMemberUpdateResponse = z346.object({
|
|
11965
12011
|
member: DTOForgeProjectMember.nullable()
|
|
11966
12012
|
});
|
|
11967
|
-
var DTOForgeProjectMemberRemoveResponse =
|
|
11968
|
-
ok:
|
|
12013
|
+
var DTOForgeProjectMemberRemoveResponse = z346.object({
|
|
12014
|
+
ok: z346.literal(true)
|
|
11969
12015
|
});
|
|
11970
|
-
var DTOAddMembersToForgeProject =
|
|
12016
|
+
var DTOAddMembersToForgeProject = z346.object({
|
|
11971
12017
|
membersToInvite: DTOCreateForgeProjectInvitation.array().min(1),
|
|
11972
|
-
featureId:
|
|
12018
|
+
featureId: z346.string().optional()
|
|
11973
12019
|
});
|
|
11974
12020
|
|
|
11975
12021
|
// src/api/dto/forge/project-room.ts
|
|
11976
|
-
import { z as
|
|
11977
|
-
var DTOForgeProjectRoom =
|
|
11978
|
-
id:
|
|
12022
|
+
import { z as z347 } from "zod";
|
|
12023
|
+
var DTOForgeProjectRoom = z347.object({
|
|
12024
|
+
id: z347.string()
|
|
11979
12025
|
});
|
|
11980
|
-
var DTOForgeProjectRoomResponse =
|
|
12026
|
+
var DTOForgeProjectRoomResponse = z347.object({
|
|
11981
12027
|
room: DTOForgeProjectRoom
|
|
11982
12028
|
});
|
|
11983
12029
|
|
|
11984
12030
|
// src/api/dto/forge/project.ts
|
|
11985
|
-
import { z as
|
|
12031
|
+
import { z as z348 } from "zod";
|
|
11986
12032
|
var DTOForgeProjectRole = ForgeProjectRole;
|
|
11987
12033
|
var DTOForgeProjectAccessMode = ForgeProjectAccessMode;
|
|
11988
12034
|
var DTOForgeProjectDefaultRole = ForgeDefaultProjectRole;
|
|
11989
|
-
var DTOForgeProjectDocumentPreview =
|
|
11990
|
-
id:
|
|
11991
|
-
title:
|
|
12035
|
+
var DTOForgeProjectDocumentPreview = z348.object({
|
|
12036
|
+
id: z348.string(),
|
|
12037
|
+
title: z348.string(),
|
|
11992
12038
|
thumbnail: DTOFileReference.optional(),
|
|
11993
|
-
createdAt:
|
|
11994
|
-
updatedAt:
|
|
12039
|
+
createdAt: z348.string(),
|
|
12040
|
+
updatedAt: z348.string()
|
|
11995
12041
|
});
|
|
11996
|
-
var DTOForgeProjectFeaturePreview =
|
|
11997
|
-
id:
|
|
11998
|
-
name:
|
|
12042
|
+
var DTOForgeProjectFeaturePreview = z348.object({
|
|
12043
|
+
id: z348.string(),
|
|
12044
|
+
name: z348.string(),
|
|
11999
12045
|
thumbnail: DTOFileReference.optional(),
|
|
12000
|
-
isPublished:
|
|
12001
|
-
isArchived:
|
|
12002
|
-
createdAt:
|
|
12003
|
-
updatedAt:
|
|
12004
|
-
});
|
|
12005
|
-
var DTOForgeProject =
|
|
12006
|
-
id:
|
|
12007
|
-
workspaceId:
|
|
12008
|
-
projectContextId:
|
|
12009
|
-
name:
|
|
12010
|
-
description:
|
|
12011
|
-
instruction:
|
|
12012
|
-
tags:
|
|
12046
|
+
isPublished: z348.boolean().optional(),
|
|
12047
|
+
isArchived: z348.boolean().optional(),
|
|
12048
|
+
createdAt: z348.string(),
|
|
12049
|
+
updatedAt: z348.string()
|
|
12050
|
+
});
|
|
12051
|
+
var DTOForgeProject = z348.object({
|
|
12052
|
+
id: z348.string(),
|
|
12053
|
+
workspaceId: z348.string(),
|
|
12054
|
+
projectContextId: z348.string(),
|
|
12055
|
+
name: z348.string(),
|
|
12056
|
+
description: z348.string().optional(),
|
|
12057
|
+
instruction: z348.string().nullable(),
|
|
12058
|
+
tags: z348.array(z348.string()).default([]),
|
|
12013
12059
|
accessMode: DTOForgeProjectAccessMode,
|
|
12014
12060
|
defaultRole: DTOForgeProjectDefaultRole,
|
|
12015
|
-
isArchived:
|
|
12016
|
-
emoji:
|
|
12017
|
-
tokenThemeSetId:
|
|
12018
|
-
createdAt:
|
|
12019
|
-
createdByUserId:
|
|
12020
|
-
lastUserActivityAt:
|
|
12021
|
-
updatedAt:
|
|
12061
|
+
isArchived: z348.boolean(),
|
|
12062
|
+
emoji: z348.string().optional(),
|
|
12063
|
+
tokenThemeSetId: z348.string().optional(),
|
|
12064
|
+
createdAt: z348.coerce.date(),
|
|
12065
|
+
createdByUserId: z348.string().optional(),
|
|
12066
|
+
lastUserActivityAt: z348.coerce.date().optional(),
|
|
12067
|
+
updatedAt: z348.coerce.date(),
|
|
12022
12068
|
documents: DTOForgeProjectDocumentPreview.array(),
|
|
12023
12069
|
features: DTOForgeProjectFeaturePreview.array(),
|
|
12024
|
-
liveblocksRoomId:
|
|
12070
|
+
liveblocksRoomId: z348.string().optional()
|
|
12025
12071
|
});
|
|
12026
12072
|
var DTOForgeProjectCreate = DTOForgeProject.pick({
|
|
12027
12073
|
name: true,
|
|
@@ -12031,7 +12077,7 @@ var DTOForgeProjectCreate = DTOForgeProject.pick({
|
|
|
12031
12077
|
emoji: true,
|
|
12032
12078
|
tokenThemeSetId: true
|
|
12033
12079
|
}).extend({
|
|
12034
|
-
projectContextId:
|
|
12080
|
+
projectContextId: z348.string().optional(),
|
|
12035
12081
|
membersToInvite: DTOCreateForgeProjectInvitation.array().min(1).optional(),
|
|
12036
12082
|
initialFeature: DTOForgeProjectFeatureCreateInput.optional(),
|
|
12037
12083
|
initialArtifact: DTOForgeProjectArtifactCreateInput.optional(),
|
|
@@ -12039,136 +12085,136 @@ var DTOForgeProjectCreate = DTOForgeProject.pick({
|
|
|
12039
12085
|
defaultRole: DTOForgeProjectDefaultRole.optional()
|
|
12040
12086
|
});
|
|
12041
12087
|
var DTOForgeProjectUpdate = DTOForgeProjectCreate.omit({ membersToInvite: true }).partial().extend({
|
|
12042
|
-
id:
|
|
12043
|
-
isArchived:
|
|
12088
|
+
id: z348.string(),
|
|
12089
|
+
isArchived: z348.boolean().optional()
|
|
12044
12090
|
});
|
|
12045
|
-
var DTOForgeProjectListResponse =
|
|
12046
|
-
projects:
|
|
12091
|
+
var DTOForgeProjectListResponse = z348.object({
|
|
12092
|
+
projects: z348.array(
|
|
12047
12093
|
DTOForgeProject.extend({
|
|
12048
12094
|
effectiveRole: DTOForgeProjectRole
|
|
12049
12095
|
})
|
|
12050
12096
|
)
|
|
12051
12097
|
});
|
|
12052
|
-
var DTOForgeProjectResponse =
|
|
12098
|
+
var DTOForgeProjectResponse = z348.object({
|
|
12053
12099
|
project: DTOForgeProject.extend({
|
|
12054
12100
|
effectiveRole: DTOForgeProjectRole
|
|
12055
12101
|
})
|
|
12056
12102
|
});
|
|
12057
12103
|
|
|
12058
12104
|
// src/api/dto/forge/relation.ts
|
|
12059
|
-
import
|
|
12105
|
+
import z349 from "zod";
|
|
12060
12106
|
var DTOForgeRelationType = ForgeRelationType;
|
|
12061
12107
|
var DTOForgeRelation = ForgeRelation;
|
|
12062
12108
|
var DTOForgeRelationCreate = DTOForgeRelation.omit({ id: true, createdAt: true });
|
|
12063
|
-
var DTOForgeRelationDelete =
|
|
12064
|
-
sourceItemId:
|
|
12065
|
-
targetItemId:
|
|
12109
|
+
var DTOForgeRelationDelete = z349.object({
|
|
12110
|
+
sourceItemId: z349.string().uuid(),
|
|
12111
|
+
targetItemId: z349.string().uuid()
|
|
12066
12112
|
});
|
|
12067
|
-
var DTOForgeRelationListInput =
|
|
12068
|
-
projectId:
|
|
12113
|
+
var DTOForgeRelationListInput = z349.object({
|
|
12114
|
+
projectId: z349.string()
|
|
12069
12115
|
});
|
|
12070
|
-
var DTOForgeRelationListResponse =
|
|
12071
|
-
relations:
|
|
12116
|
+
var DTOForgeRelationListResponse = z349.object({
|
|
12117
|
+
relations: z349.array(DTOForgeRelation)
|
|
12072
12118
|
});
|
|
12073
|
-
var DTOForgeEntity =
|
|
12074
|
-
id:
|
|
12119
|
+
var DTOForgeEntity = z349.object({
|
|
12120
|
+
id: z349.string().uuid(),
|
|
12075
12121
|
type: DTOForgeRelationType
|
|
12076
12122
|
});
|
|
12077
12123
|
|
|
12078
12124
|
// src/api/dto/forge/threads.ts
|
|
12079
|
-
import { z as
|
|
12125
|
+
import { z as z350 } from "zod";
|
|
12080
12126
|
var DTOForgeChatMessage = ForgeChatMessage;
|
|
12081
12127
|
var DTOForgeChatThread = ForgeChatThread;
|
|
12082
12128
|
var DTOForgeChatMessageSenderType = ForgeChatMessageSenderType;
|
|
12083
12129
|
var DTOForgeChatMessageSender = ForgeChatMessageSender;
|
|
12084
|
-
var DTOForgeChatThreadCreateInput =
|
|
12085
|
-
title:
|
|
12130
|
+
var DTOForgeChatThreadCreateInput = z350.object({
|
|
12131
|
+
title: z350.string().optional()
|
|
12086
12132
|
});
|
|
12087
|
-
var DTOForgeChatThreadCreateResponse =
|
|
12133
|
+
var DTOForgeChatThreadCreateResponse = z350.object({
|
|
12088
12134
|
thread: DTOForgeChatThread
|
|
12089
12135
|
});
|
|
12090
|
-
var DTOForgeChatThreadUpdateInput =
|
|
12091
|
-
title:
|
|
12136
|
+
var DTOForgeChatThreadUpdateInput = z350.object({
|
|
12137
|
+
title: z350.string()
|
|
12092
12138
|
});
|
|
12093
|
-
var DTOForgeChatThreadUpdateResponse =
|
|
12139
|
+
var DTOForgeChatThreadUpdateResponse = z350.object({
|
|
12094
12140
|
thread: DTOForgeChatThread
|
|
12095
12141
|
});
|
|
12096
|
-
var DTOForgeChatThreadDeleteResponse =
|
|
12097
|
-
success:
|
|
12142
|
+
var DTOForgeChatThreadDeleteResponse = z350.object({
|
|
12143
|
+
success: z350.boolean()
|
|
12098
12144
|
});
|
|
12099
|
-
var DTOForgeChatThreadListQuery =
|
|
12100
|
-
limit:
|
|
12101
|
-
offset:
|
|
12145
|
+
var DTOForgeChatThreadListQuery = z350.object({
|
|
12146
|
+
limit: z350.number().optional(),
|
|
12147
|
+
offset: z350.number().optional()
|
|
12102
12148
|
});
|
|
12103
|
-
var DTOForgeChatThreadListResponse =
|
|
12104
|
-
threads:
|
|
12105
|
-
pagination:
|
|
12106
|
-
offset:
|
|
12107
|
-
limit:
|
|
12108
|
-
total:
|
|
12149
|
+
var DTOForgeChatThreadListResponse = z350.object({
|
|
12150
|
+
threads: z350.array(DTOForgeChatThread),
|
|
12151
|
+
pagination: z350.object({
|
|
12152
|
+
offset: z350.number(),
|
|
12153
|
+
limit: z350.number(),
|
|
12154
|
+
total: z350.number()
|
|
12109
12155
|
})
|
|
12110
12156
|
});
|
|
12111
|
-
var DTOForgeChatMessageCreateInput =
|
|
12112
|
-
payload:
|
|
12157
|
+
var DTOForgeChatMessageCreateInput = z350.object({
|
|
12158
|
+
payload: z350.string(),
|
|
12113
12159
|
sender: DTOForgeChatMessageSender.optional()
|
|
12114
12160
|
});
|
|
12115
|
-
var DTOForgeChatMessageCreateResponse =
|
|
12161
|
+
var DTOForgeChatMessageCreateResponse = z350.object({
|
|
12116
12162
|
message: DTOForgeChatMessage
|
|
12117
12163
|
});
|
|
12118
|
-
var DTOForgeChatMessageListQuery =
|
|
12119
|
-
limit:
|
|
12120
|
-
offset:
|
|
12164
|
+
var DTOForgeChatMessageListQuery = z350.object({
|
|
12165
|
+
limit: z350.string().optional().transform((val) => val ? parseInt(val, 10) : void 0),
|
|
12166
|
+
offset: z350.string().optional().transform((val) => val ? parseInt(val, 10) : void 0)
|
|
12121
12167
|
});
|
|
12122
|
-
var DTOForgeChatMessageListResponse =
|
|
12123
|
-
messages:
|
|
12124
|
-
totalCount:
|
|
12125
|
-
hasMore:
|
|
12168
|
+
var DTOForgeChatMessageListResponse = z350.object({
|
|
12169
|
+
messages: z350.array(DTOForgeChatMessage),
|
|
12170
|
+
totalCount: z350.number(),
|
|
12171
|
+
hasMore: z350.boolean()
|
|
12126
12172
|
});
|
|
12127
|
-
var DTOForgeChatExportResponse =
|
|
12128
|
-
csvDownloadUrl:
|
|
12173
|
+
var DTOForgeChatExportResponse = z350.object({
|
|
12174
|
+
csvDownloadUrl: z350.string().nullable()
|
|
12129
12175
|
});
|
|
12130
|
-
var DTOForgeChatMessageScoreInput =
|
|
12131
|
-
messageId:
|
|
12132
|
-
name:
|
|
12133
|
-
value:
|
|
12134
|
-
categoryName:
|
|
12135
|
-
reason:
|
|
12176
|
+
var DTOForgeChatMessageScoreInput = z350.object({
|
|
12177
|
+
messageId: z350.string(),
|
|
12178
|
+
name: z350.string(),
|
|
12179
|
+
value: z350.number(),
|
|
12180
|
+
categoryName: z350.string().optional(),
|
|
12181
|
+
reason: z350.string().optional()
|
|
12136
12182
|
});
|
|
12137
|
-
var DTOForgeChatMessageTagInput =
|
|
12138
|
-
messageId:
|
|
12139
|
-
tags:
|
|
12183
|
+
var DTOForgeChatMessageTagInput = z350.object({
|
|
12184
|
+
messageId: z350.string(),
|
|
12185
|
+
tags: z350.array(z350.string())
|
|
12140
12186
|
});
|
|
12141
|
-
var DTOForgeChatMessageScoreRequest =
|
|
12187
|
+
var DTOForgeChatMessageScoreRequest = z350.object({
|
|
12142
12188
|
scores: DTOForgeChatMessageScoreInput.array(),
|
|
12143
12189
|
tags: DTOForgeChatMessageTagInput.array().optional().default([])
|
|
12144
12190
|
});
|
|
12145
12191
|
|
|
12146
12192
|
// src/api/dto/events/forge-project.ts
|
|
12147
|
-
var DTOForgeProjectMembersCreated =
|
|
12148
|
-
type:
|
|
12149
|
-
data:
|
|
12193
|
+
var DTOForgeProjectMembersCreated = z351.object({
|
|
12194
|
+
type: z351.literal("ProjectMembersCreated"),
|
|
12195
|
+
data: z351.array(DTOForgeProjectMember)
|
|
12150
12196
|
});
|
|
12151
|
-
var DTOForgeProjectMemberUpdated =
|
|
12152
|
-
type:
|
|
12197
|
+
var DTOForgeProjectMemberUpdated = z351.object({
|
|
12198
|
+
type: z351.literal("ProjectMemberUpdated"),
|
|
12153
12199
|
data: DTOForgeProjectMember
|
|
12154
12200
|
});
|
|
12155
|
-
var DTOForgeProjectMemberDeleted =
|
|
12156
|
-
type:
|
|
12201
|
+
var DTOForgeProjectMemberDeleted = z351.object({
|
|
12202
|
+
type: z351.literal("ProjectMemberDeleted"),
|
|
12157
12203
|
data: DTOForgeProjectMember.pick({ userId: true })
|
|
12158
12204
|
});
|
|
12159
|
-
var DTOForgeProjectIterationTagSet =
|
|
12160
|
-
type:
|
|
12205
|
+
var DTOForgeProjectIterationTagSet = z351.object({
|
|
12206
|
+
type: z351.literal("ProjectIterationTagSet"),
|
|
12161
12207
|
data: DTOFeatureIterationTag
|
|
12162
12208
|
});
|
|
12163
|
-
var DTOForgeProjectFeatureSandboxUpdated =
|
|
12164
|
-
type:
|
|
12209
|
+
var DTOForgeProjectFeatureSandboxUpdated = z351.object({
|
|
12210
|
+
type: z351.literal("ProjectFeatureSandboxUpdated"),
|
|
12165
12211
|
data: DTOFeatureSandbox
|
|
12166
12212
|
});
|
|
12167
|
-
var DTOForgeProjectIterationUpdated =
|
|
12168
|
-
type:
|
|
12213
|
+
var DTOForgeProjectIterationUpdated = z351.object({
|
|
12214
|
+
type: z351.literal("ProjectIterationUpdated"),
|
|
12169
12215
|
data: DTOFeatureIteration.extend({ featureId: Id })
|
|
12170
12216
|
});
|
|
12171
|
-
var DTOForgeProjectRoomEvent =
|
|
12217
|
+
var DTOForgeProjectRoomEvent = z351.discriminatedUnion("type", [
|
|
12172
12218
|
DTOForgeProjectMembersCreated,
|
|
12173
12219
|
DTOForgeProjectMemberUpdated,
|
|
12174
12220
|
DTOForgeProjectMemberDeleted,
|
|
@@ -12178,54 +12224,54 @@ var DTOForgeProjectRoomEvent = z350.discriminatedUnion("type", [
|
|
|
12178
12224
|
]);
|
|
12179
12225
|
|
|
12180
12226
|
// src/api/dto/events/workspace.ts
|
|
12181
|
-
import
|
|
12182
|
-
var DTOForgeProjectCreated =
|
|
12183
|
-
type:
|
|
12184
|
-
data:
|
|
12227
|
+
import z352 from "zod";
|
|
12228
|
+
var DTOForgeProjectCreated = z352.object({
|
|
12229
|
+
type: z352.literal("ProjectCreated"),
|
|
12230
|
+
data: z352.object({ id: z352.string() })
|
|
12185
12231
|
});
|
|
12186
|
-
var DTOForgeProjectUpdated =
|
|
12187
|
-
type:
|
|
12188
|
-
data:
|
|
12232
|
+
var DTOForgeProjectUpdated = z352.object({
|
|
12233
|
+
type: z352.literal("ProjectUpdated"),
|
|
12234
|
+
data: z352.object({ id: z352.string() })
|
|
12189
12235
|
});
|
|
12190
|
-
var DTOForgeProjectContextCreated =
|
|
12191
|
-
type:
|
|
12236
|
+
var DTOForgeProjectContextCreated = z352.object({
|
|
12237
|
+
type: z352.literal("ProjectContextCreated"),
|
|
12192
12238
|
data: DTOForgeProjectContextV2
|
|
12193
12239
|
});
|
|
12194
|
-
var DTOForgeProjectContextUpdated =
|
|
12195
|
-
type:
|
|
12240
|
+
var DTOForgeProjectContextUpdated = z352.object({
|
|
12241
|
+
type: z352.literal("ProjectContextUpdated"),
|
|
12196
12242
|
data: DTOForgeProjectContextV2
|
|
12197
12243
|
});
|
|
12198
|
-
var DTOForgeProjectContextDeleted =
|
|
12199
|
-
type:
|
|
12244
|
+
var DTOForgeProjectContextDeleted = z352.object({
|
|
12245
|
+
type: z352.literal("ProjectContextDeleted"),
|
|
12200
12246
|
data: DTOForgeProjectContextV2.pick({ id: true })
|
|
12201
12247
|
});
|
|
12202
|
-
var DTOSandboxTemplateVersionCreated =
|
|
12203
|
-
type:
|
|
12204
|
-
data:
|
|
12205
|
-
templateId:
|
|
12206
|
-
version:
|
|
12207
|
-
designSystemId:
|
|
12248
|
+
var DTOSandboxTemplateVersionCreated = z352.object({
|
|
12249
|
+
type: z352.literal("SandboxTemplateVersionCreated"),
|
|
12250
|
+
data: z352.object({
|
|
12251
|
+
templateId: z352.string(),
|
|
12252
|
+
version: z352.string(),
|
|
12253
|
+
designSystemId: z352.string()
|
|
12208
12254
|
})
|
|
12209
12255
|
});
|
|
12210
|
-
var DTOSandboxTemplateBuildCreated =
|
|
12211
|
-
type:
|
|
12212
|
-
data:
|
|
12213
|
-
buildId:
|
|
12214
|
-
templateId:
|
|
12256
|
+
var DTOSandboxTemplateBuildCreated = z352.object({
|
|
12257
|
+
type: z352.literal("SandboxTemplateBuildCreated"),
|
|
12258
|
+
data: z352.object({
|
|
12259
|
+
buildId: z352.string(),
|
|
12260
|
+
templateId: z352.string().optional()
|
|
12215
12261
|
})
|
|
12216
12262
|
});
|
|
12217
|
-
var DTOSandboxTemplateBuildFinished =
|
|
12218
|
-
type:
|
|
12219
|
-
data:
|
|
12220
|
-
buildId:
|
|
12221
|
-
templateId:
|
|
12263
|
+
var DTOSandboxTemplateBuildFinished = z352.object({
|
|
12264
|
+
type: z352.literal("SandboxTemplateBuildFinished"),
|
|
12265
|
+
data: z352.object({
|
|
12266
|
+
buildId: z352.string(),
|
|
12267
|
+
templateId: z352.string().optional()
|
|
12222
12268
|
})
|
|
12223
12269
|
});
|
|
12224
|
-
var DTOCodeScanFinished =
|
|
12225
|
-
type:
|
|
12270
|
+
var DTOCodeScanFinished = z352.object({
|
|
12271
|
+
type: z352.literal("CodeScanFinished"),
|
|
12226
12272
|
data: DTOCodeScanListItem
|
|
12227
12273
|
});
|
|
12228
|
-
var DTOWorkspaceRoomEvent =
|
|
12274
|
+
var DTOWorkspaceRoomEvent = z352.discriminatedUnion("type", [
|
|
12229
12275
|
DTOForgeProjectUpdated,
|
|
12230
12276
|
DTOForgeProjectCreated,
|
|
12231
12277
|
DTOForgeProjectContextCreated,
|
|
@@ -12238,313 +12284,313 @@ var DTOWorkspaceRoomEvent = z351.discriminatedUnion("type", [
|
|
|
12238
12284
|
]);
|
|
12239
12285
|
|
|
12240
12286
|
// src/api/dto/figma-components/assets/download.ts
|
|
12241
|
-
import { z as
|
|
12242
|
-
var DTOAssetRenderConfiguration =
|
|
12243
|
-
prefix:
|
|
12244
|
-
suffix:
|
|
12245
|
-
scale:
|
|
12246
|
-
format:
|
|
12247
|
-
});
|
|
12248
|
-
var DTORenderedAssetFile =
|
|
12249
|
-
assetId:
|
|
12250
|
-
fileName:
|
|
12251
|
-
sourceUrl:
|
|
12287
|
+
import { z as z353 } from "zod";
|
|
12288
|
+
var DTOAssetRenderConfiguration = z353.object({
|
|
12289
|
+
prefix: z353.string().optional(),
|
|
12290
|
+
suffix: z353.string().optional(),
|
|
12291
|
+
scale: z353.enum(["x1", "x2", "x3", "x4"]),
|
|
12292
|
+
format: z353.enum(["png", "pdf", "svg"])
|
|
12293
|
+
});
|
|
12294
|
+
var DTORenderedAssetFile = z353.object({
|
|
12295
|
+
assetId: z353.string(),
|
|
12296
|
+
fileName: z353.string(),
|
|
12297
|
+
sourceUrl: z353.string(),
|
|
12252
12298
|
settings: DTOAssetRenderConfiguration,
|
|
12253
|
-
originalName:
|
|
12299
|
+
originalName: z353.string()
|
|
12254
12300
|
});
|
|
12255
|
-
var DTODownloadAssetsRequest =
|
|
12256
|
-
persistentIds:
|
|
12301
|
+
var DTODownloadAssetsRequest = z353.object({
|
|
12302
|
+
persistentIds: z353.array(z353.string().uuid()).optional(),
|
|
12257
12303
|
settings: DTOAssetRenderConfiguration.array()
|
|
12258
12304
|
});
|
|
12259
|
-
var DTODownloadAssetsResponse =
|
|
12305
|
+
var DTODownloadAssetsResponse = z353.object({
|
|
12260
12306
|
items: DTORenderedAssetFile.array()
|
|
12261
12307
|
});
|
|
12262
12308
|
|
|
12263
12309
|
// src/api/dto/figma-exporter/figma-node.ts
|
|
12264
|
-
import { z as
|
|
12265
|
-
var DTOFigmaExportNodeFormat =
|
|
12266
|
-
var DTOFigmaExportNodeConfiguration =
|
|
12310
|
+
import { z as z354 } from "zod";
|
|
12311
|
+
var DTOFigmaExportNodeFormat = z354.enum(["HTML", "JSON"]);
|
|
12312
|
+
var DTOFigmaExportNodeConfiguration = z354.object({
|
|
12267
12313
|
format: DTOFigmaExportNodeFormat,
|
|
12268
|
-
minifyOutput:
|
|
12269
|
-
customFontUrls:
|
|
12314
|
+
minifyOutput: z354.boolean().optional(),
|
|
12315
|
+
customFontUrls: z354.string().array().optional()
|
|
12270
12316
|
});
|
|
12271
12317
|
|
|
12272
12318
|
// src/api/dto/liveblocks/auth-response.ts
|
|
12273
|
-
import { z as
|
|
12274
|
-
var DTOLiveblocksAuthResponse =
|
|
12275
|
-
token:
|
|
12319
|
+
import { z as z355 } from "zod";
|
|
12320
|
+
var DTOLiveblocksAuthResponse = z355.object({
|
|
12321
|
+
token: z355.string()
|
|
12276
12322
|
});
|
|
12277
12323
|
|
|
12278
12324
|
// src/api/dto/mcp/stream.ts
|
|
12279
|
-
import
|
|
12280
|
-
var DTOMCPStream =
|
|
12281
|
-
id:
|
|
12282
|
-
projectFeatureId:
|
|
12283
|
-
projectDocumentId:
|
|
12325
|
+
import z356 from "zod";
|
|
12326
|
+
var DTOMCPStream = z356.object({
|
|
12327
|
+
id: z356.string().uuid(),
|
|
12328
|
+
projectFeatureId: z356.string().uuid().optional(),
|
|
12329
|
+
projectDocumentId: z356.string().uuid().optional()
|
|
12284
12330
|
});
|
|
12285
12331
|
var DTOMCPStreamUpdateInput = DTOMCPStream.omit({ id: true });
|
|
12286
|
-
var DTOMCPStreamResponse =
|
|
12332
|
+
var DTOMCPStreamResponse = z356.object({
|
|
12287
12333
|
stream: DTOMCPStream
|
|
12288
12334
|
});
|
|
12289
12335
|
|
|
12290
12336
|
// src/api/dto/notifications/notifications.ts
|
|
12291
|
-
import { z as
|
|
12292
|
-
var DTONotificationChatMentionPayload =
|
|
12293
|
-
messageAuthorId:
|
|
12294
|
-
messageText:
|
|
12295
|
-
messageId:
|
|
12296
|
-
parentMessageId:
|
|
12297
|
-
workspaceId:
|
|
12298
|
-
projectId:
|
|
12299
|
-
subjectType:
|
|
12300
|
-
threadSubjectId:
|
|
12301
|
-
subjectName:
|
|
12302
|
-
});
|
|
12303
|
-
var DTONotificationProjectInvitationPayload =
|
|
12304
|
-
workspaceId:
|
|
12305
|
-
projectId:
|
|
12306
|
-
projectTitle:
|
|
12307
|
-
invitedByUserId:
|
|
12308
|
-
invitationRole:
|
|
12309
|
-
featureId:
|
|
12310
|
-
});
|
|
12311
|
-
var DTONotificationProjectDocumentCommentPayload =
|
|
12312
|
-
documentId:
|
|
12313
|
-
entityTitle:
|
|
12314
|
-
projectId:
|
|
12315
|
-
workspaceId:
|
|
12316
|
-
threadId:
|
|
12317
|
-
commentId:
|
|
12318
|
-
commentCreatedAt:
|
|
12319
|
-
commentAuthorId:
|
|
12320
|
-
commentBody:
|
|
12321
|
-
});
|
|
12322
|
-
var DTONotificationBase =
|
|
12323
|
-
userId:
|
|
12324
|
-
subjectId:
|
|
12325
|
-
roomId:
|
|
12326
|
-
workspaceId:
|
|
12327
|
-
});
|
|
12328
|
-
var DTONotificationCreateInput =
|
|
12329
|
-
|
|
12330
|
-
type:
|
|
12337
|
+
import { z as z357 } from "zod";
|
|
12338
|
+
var DTONotificationChatMentionPayload = z357.object({
|
|
12339
|
+
messageAuthorId: z357.string(),
|
|
12340
|
+
messageText: z357.string(),
|
|
12341
|
+
messageId: z357.string(),
|
|
12342
|
+
parentMessageId: z357.string().optional(),
|
|
12343
|
+
workspaceId: z357.string(),
|
|
12344
|
+
projectId: z357.string(),
|
|
12345
|
+
subjectType: z357.string(),
|
|
12346
|
+
threadSubjectId: z357.string(),
|
|
12347
|
+
subjectName: z357.string()
|
|
12348
|
+
});
|
|
12349
|
+
var DTONotificationProjectInvitationPayload = z357.object({
|
|
12350
|
+
workspaceId: z357.string(),
|
|
12351
|
+
projectId: z357.string(),
|
|
12352
|
+
projectTitle: z357.string(),
|
|
12353
|
+
invitedByUserId: z357.string(),
|
|
12354
|
+
invitationRole: z357.string(),
|
|
12355
|
+
featureId: z357.string().optional()
|
|
12356
|
+
});
|
|
12357
|
+
var DTONotificationProjectDocumentCommentPayload = z357.object({
|
|
12358
|
+
documentId: z357.string(),
|
|
12359
|
+
entityTitle: z357.string(),
|
|
12360
|
+
projectId: z357.string(),
|
|
12361
|
+
workspaceId: z357.string(),
|
|
12362
|
+
threadId: z357.string(),
|
|
12363
|
+
commentId: z357.string(),
|
|
12364
|
+
commentCreatedAt: z357.string(),
|
|
12365
|
+
commentAuthorId: z357.string(),
|
|
12366
|
+
commentBody: z357.string()
|
|
12367
|
+
});
|
|
12368
|
+
var DTONotificationBase = z357.object({
|
|
12369
|
+
userId: z357.string(),
|
|
12370
|
+
subjectId: z357.string(),
|
|
12371
|
+
roomId: z357.string().optional(),
|
|
12372
|
+
workspaceId: z357.string()
|
|
12373
|
+
});
|
|
12374
|
+
var DTONotificationCreateInput = z357.discriminatedUnion("type", [
|
|
12375
|
+
z357.object({
|
|
12376
|
+
type: z357.literal(DTONotificationType.enum.ChatMention),
|
|
12331
12377
|
activityData: DTONotificationChatMentionPayload
|
|
12332
12378
|
}),
|
|
12333
|
-
|
|
12334
|
-
type:
|
|
12379
|
+
z357.object({
|
|
12380
|
+
type: z357.literal(DTONotificationType.enum.ProjectInvitation),
|
|
12335
12381
|
activityData: DTONotificationProjectInvitationPayload
|
|
12336
12382
|
}),
|
|
12337
|
-
|
|
12338
|
-
type:
|
|
12383
|
+
z357.object({
|
|
12384
|
+
type: z357.literal(DTONotificationType.enum.ProjectDocumentComment),
|
|
12339
12385
|
activityData: DTONotificationProjectDocumentCommentPayload
|
|
12340
12386
|
})
|
|
12341
12387
|
]).and(DTONotificationBase);
|
|
12342
12388
|
|
|
12343
12389
|
// src/api/dto/portal/portal-settings.ts
|
|
12344
|
-
import { z as
|
|
12390
|
+
import { z as z358 } from "zod";
|
|
12345
12391
|
var DTOPortalSettingsTheme = PortalSettingsTheme;
|
|
12346
12392
|
var DTOPortalSettingsSidebarLink = PortalSettingsSidebarLink;
|
|
12347
12393
|
var DTOPortalSettingsSidebarSection = PortalSettingsSidebarSection;
|
|
12348
12394
|
var DTOPortalSettingsSidebar = PortalSettingsSidebar;
|
|
12349
|
-
var DTOPortalSettings =
|
|
12350
|
-
id:
|
|
12351
|
-
workspaceId:
|
|
12352
|
-
enabledDesignSystemIds:
|
|
12353
|
-
enabledBrandPersistentIds:
|
|
12395
|
+
var DTOPortalSettings = z358.object({
|
|
12396
|
+
id: z358.string(),
|
|
12397
|
+
workspaceId: z358.string(),
|
|
12398
|
+
enabledDesignSystemIds: z358.array(z358.string()),
|
|
12399
|
+
enabledBrandPersistentIds: z358.array(z358.string()),
|
|
12354
12400
|
theme: DTOPortalSettingsTheme.nullish(),
|
|
12355
12401
|
sidebar: DTOPortalSettingsSidebar.nullish(),
|
|
12356
|
-
createdAt:
|
|
12357
|
-
updatedAt:
|
|
12402
|
+
createdAt: z358.coerce.date(),
|
|
12403
|
+
updatedAt: z358.coerce.date()
|
|
12358
12404
|
});
|
|
12359
|
-
var DTOPortalSettingsGetResponse =
|
|
12405
|
+
var DTOPortalSettingsGetResponse = z358.object({
|
|
12360
12406
|
portalSettings: DTOPortalSettings
|
|
12361
12407
|
});
|
|
12362
|
-
var DTOPortalSettingsUpdatePayload =
|
|
12363
|
-
enabledDesignSystemIds:
|
|
12364
|
-
enabledBrandPersistentIds:
|
|
12408
|
+
var DTOPortalSettingsUpdatePayload = z358.object({
|
|
12409
|
+
enabledDesignSystemIds: z358.array(z358.string()).optional(),
|
|
12410
|
+
enabledBrandPersistentIds: z358.array(z358.string()).optional(),
|
|
12365
12411
|
theme: DTOPortalSettingsTheme.nullish(),
|
|
12366
12412
|
sidebar: DTOPortalSettingsSidebar.nullish()
|
|
12367
12413
|
});
|
|
12368
12414
|
|
|
12369
12415
|
// src/api/dto/sandboxes/template.ts
|
|
12370
|
-
import
|
|
12371
|
-
var DTOSandboxTemplatePreset =
|
|
12372
|
-
id:
|
|
12373
|
-
name:
|
|
12374
|
-
description:
|
|
12375
|
-
thumbnailUrl:
|
|
12376
|
-
files:
|
|
12377
|
-
});
|
|
12378
|
-
var DTOSandboxTemplateVersion =
|
|
12379
|
-
name:
|
|
12380
|
-
createdAt:
|
|
12381
|
-
createdByUserId:
|
|
12382
|
-
e2bTemplateId:
|
|
12416
|
+
import z359 from "zod";
|
|
12417
|
+
var DTOSandboxTemplatePreset = z359.object({
|
|
12418
|
+
id: z359.string(),
|
|
12419
|
+
name: z359.string(),
|
|
12420
|
+
description: z359.string(),
|
|
12421
|
+
thumbnailUrl: z359.string().optional(),
|
|
12422
|
+
files: z359.string().array()
|
|
12423
|
+
});
|
|
12424
|
+
var DTOSandboxTemplateVersion = z359.object({
|
|
12425
|
+
name: z359.string(),
|
|
12426
|
+
createdAt: z359.string(),
|
|
12427
|
+
createdByUserId: z359.string(),
|
|
12428
|
+
e2bTemplateId: z359.string(),
|
|
12383
12429
|
templates: DTOSandboxTemplatePreset.array().optional(),
|
|
12384
|
-
hasDesignModePlugin:
|
|
12430
|
+
hasDesignModePlugin: z359.boolean().optional()
|
|
12385
12431
|
});
|
|
12386
|
-
var DTOSandboxTemplate =
|
|
12387
|
-
id:
|
|
12388
|
-
name:
|
|
12389
|
-
workspaceId:
|
|
12390
|
-
designSystemId:
|
|
12391
|
-
createdAt:
|
|
12432
|
+
var DTOSandboxTemplate = z359.object({
|
|
12433
|
+
id: z359.string(),
|
|
12434
|
+
name: z359.string(),
|
|
12435
|
+
workspaceId: z359.string(),
|
|
12436
|
+
designSystemId: z359.string(),
|
|
12437
|
+
createdAt: z359.string(),
|
|
12392
12438
|
versions: DTOSandboxTemplateVersion.array()
|
|
12393
12439
|
});
|
|
12394
|
-
var DTOSandboxTemplateBuild =
|
|
12395
|
-
id:
|
|
12396
|
-
workspaceId:
|
|
12397
|
-
designSystemId:
|
|
12398
|
-
name:
|
|
12399
|
-
version:
|
|
12400
|
-
createdAt:
|
|
12401
|
-
finishedAt:
|
|
12402
|
-
createdByUserId:
|
|
12440
|
+
var DTOSandboxTemplateBuild = z359.object({
|
|
12441
|
+
id: z359.string(),
|
|
12442
|
+
workspaceId: z359.string(),
|
|
12443
|
+
designSystemId: z359.string(),
|
|
12444
|
+
name: z359.string(),
|
|
12445
|
+
version: z359.string(),
|
|
12446
|
+
createdAt: z359.string(),
|
|
12447
|
+
finishedAt: z359.string().optional(),
|
|
12448
|
+
createdByUserId: z359.string(),
|
|
12403
12449
|
/** @deprecated use `dockerImageUri` instead */
|
|
12404
|
-
dockerImagePath:
|
|
12405
|
-
dockerImageUri:
|
|
12406
|
-
error:
|
|
12407
|
-
state:
|
|
12408
|
-
});
|
|
12409
|
-
var DTOSandboxTemplateFile =
|
|
12410
|
-
key:
|
|
12411
|
-
fileId:
|
|
12412
|
-
filePath:
|
|
12413
|
-
url:
|
|
12414
|
-
});
|
|
12415
|
-
var DTOSandboxTemplateVersionDetail =
|
|
12450
|
+
dockerImagePath: z359.string().optional(),
|
|
12451
|
+
dockerImageUri: z359.string(),
|
|
12452
|
+
error: z359.string().optional(),
|
|
12453
|
+
state: z359.enum(["PendingUpload", "Building", "Success", "Failure", "Timeout"])
|
|
12454
|
+
});
|
|
12455
|
+
var DTOSandboxTemplateFile = z359.object({
|
|
12456
|
+
key: z359.string(),
|
|
12457
|
+
fileId: z359.string(),
|
|
12458
|
+
filePath: z359.string(),
|
|
12459
|
+
url: z359.string()
|
|
12460
|
+
});
|
|
12461
|
+
var DTOSandboxTemplateVersionDetail = z359.object({
|
|
12416
12462
|
version: DTOSandboxTemplateVersion,
|
|
12417
12463
|
files: DTOSandboxTemplateFile.array()
|
|
12418
12464
|
});
|
|
12419
|
-
var DTOSandboxTemplateQuery =
|
|
12420
|
-
workspaceId:
|
|
12421
|
-
designSystemId:
|
|
12465
|
+
var DTOSandboxTemplateQuery = z359.object({
|
|
12466
|
+
workspaceId: z359.string(),
|
|
12467
|
+
designSystemId: z359.string().optional()
|
|
12422
12468
|
});
|
|
12423
|
-
var DTOSandboxTemplateListResponse =
|
|
12469
|
+
var DTOSandboxTemplateListResponse = z359.object({
|
|
12424
12470
|
templates: DTOSandboxTemplate.array()
|
|
12425
12471
|
});
|
|
12426
|
-
var DTOSandboxTemplateResponse =
|
|
12472
|
+
var DTOSandboxTemplateResponse = z359.object({
|
|
12427
12473
|
template: DTOSandboxTemplate
|
|
12428
12474
|
});
|
|
12429
|
-
var DTOSandboxTemplateBuildResponse =
|
|
12475
|
+
var DTOSandboxTemplateBuildResponse = z359.object({
|
|
12430
12476
|
build: DTOSandboxTemplateBuild
|
|
12431
12477
|
});
|
|
12432
|
-
var DTOSandboxTemplateBuildCreateInput =
|
|
12433
|
-
workspaceId:
|
|
12434
|
-
designSystemId:
|
|
12435
|
-
name:
|
|
12436
|
-
version:
|
|
12437
|
-
isExistingVersionUpdateAllowed:
|
|
12438
|
-
hasDesignModePlugin:
|
|
12439
|
-
dockerImageUri:
|
|
12440
|
-
customAuth:
|
|
12441
|
-
templates:
|
|
12442
|
-
id:
|
|
12443
|
-
name:
|
|
12444
|
-
description:
|
|
12445
|
-
thumbnailUrl:
|
|
12446
|
-
files:
|
|
12478
|
+
var DTOSandboxTemplateBuildCreateInput = z359.object({
|
|
12479
|
+
workspaceId: z359.string(),
|
|
12480
|
+
designSystemId: z359.string(),
|
|
12481
|
+
name: z359.string(),
|
|
12482
|
+
version: z359.string(),
|
|
12483
|
+
isExistingVersionUpdateAllowed: z359.boolean(),
|
|
12484
|
+
hasDesignModePlugin: z359.boolean().optional(),
|
|
12485
|
+
dockerImageUri: z359.string().optional(),
|
|
12486
|
+
customAuth: z359.object({ username: z359.string(), password: z359.string() }).optional(),
|
|
12487
|
+
templates: z359.object({
|
|
12488
|
+
id: z359.string(),
|
|
12489
|
+
name: z359.string(),
|
|
12490
|
+
description: z359.string(),
|
|
12491
|
+
thumbnailUrl: z359.string().optional(),
|
|
12492
|
+
files: z359.string().array()
|
|
12447
12493
|
}).array().optional()
|
|
12448
12494
|
});
|
|
12449
|
-
var DTOSandboxTemplateBuildTriggerInput =
|
|
12450
|
-
imageFileId:
|
|
12495
|
+
var DTOSandboxTemplateBuildTriggerInput = z359.object({
|
|
12496
|
+
imageFileId: z359.string().optional()
|
|
12451
12497
|
});
|
|
12452
|
-
var DTOSandboxTemplateBuildCreateResponse =
|
|
12498
|
+
var DTOSandboxTemplateBuildCreateResponse = z359.object({
|
|
12453
12499
|
/** @deprecated use build.dockerImageUri */
|
|
12454
|
-
dockerUrl:
|
|
12500
|
+
dockerUrl: z359.string().optional(),
|
|
12455
12501
|
/** @deprecated use build.dockerImageUri */
|
|
12456
|
-
dockerRegistryDomain:
|
|
12502
|
+
dockerRegistryDomain: z359.string().optional(),
|
|
12457
12503
|
/** @deprecated use docker-login endpoint */
|
|
12458
|
-
dockerAccessToken:
|
|
12504
|
+
dockerAccessToken: z359.string().optional(),
|
|
12459
12505
|
build: DTOSandboxTemplateBuild
|
|
12460
12506
|
});
|
|
12461
|
-
var DTOSandboxTemplateBuildFinalizeResponse =
|
|
12462
|
-
ok:
|
|
12507
|
+
var DTOSandboxTemplateBuildFinalizeResponse = z359.object({
|
|
12508
|
+
ok: z359.boolean()
|
|
12463
12509
|
});
|
|
12464
12510
|
|
|
12465
12511
|
// src/api/dto/storybook-sites/storybook-sites.ts
|
|
12466
|
-
import { z as
|
|
12467
|
-
var DTOStorybookUploadStatus =
|
|
12468
|
-
var DTOStorybookSiteVersion =
|
|
12469
|
-
id:
|
|
12470
|
-
isPublic:
|
|
12471
|
-
createdAt:
|
|
12512
|
+
import { z as z360 } from "zod";
|
|
12513
|
+
var DTOStorybookUploadStatus = z360.enum(["PendingUpload", "Failed", "InProgress", "Completed", "Timeout"]);
|
|
12514
|
+
var DTOStorybookSiteVersion = z360.object({
|
|
12515
|
+
id: z360.string(),
|
|
12516
|
+
isPublic: z360.boolean(),
|
|
12517
|
+
createdAt: z360.string(),
|
|
12472
12518
|
uploadStatus: DTOStorybookUploadStatus
|
|
12473
12519
|
});
|
|
12474
|
-
var DTOStorybookSite =
|
|
12475
|
-
id:
|
|
12476
|
-
designSystemId:
|
|
12477
|
-
name:
|
|
12478
|
-
indexPageUrl:
|
|
12479
|
-
createdAt:
|
|
12520
|
+
var DTOStorybookSite = z360.object({
|
|
12521
|
+
id: z360.string(),
|
|
12522
|
+
designSystemId: z360.string(),
|
|
12523
|
+
name: z360.string(),
|
|
12524
|
+
indexPageUrl: z360.string(),
|
|
12525
|
+
createdAt: z360.string(),
|
|
12480
12526
|
currentVersion: DTOStorybookSiteVersion
|
|
12481
12527
|
});
|
|
12482
|
-
var DTOStorybookSiteListQuery =
|
|
12483
|
-
designSystemId:
|
|
12528
|
+
var DTOStorybookSiteListQuery = z360.object({
|
|
12529
|
+
designSystemId: z360.string()
|
|
12484
12530
|
});
|
|
12485
|
-
var DTOStorybookSiteListResponse =
|
|
12531
|
+
var DTOStorybookSiteListResponse = z360.object({
|
|
12486
12532
|
sites: DTOStorybookSite.array()
|
|
12487
12533
|
});
|
|
12488
|
-
var DTOStorybookSiteUploadPayload =
|
|
12489
|
-
designSystemId:
|
|
12490
|
-
isPublic:
|
|
12491
|
-
name:
|
|
12534
|
+
var DTOStorybookSiteUploadPayload = z360.object({
|
|
12535
|
+
designSystemId: z360.string(),
|
|
12536
|
+
isPublic: z360.boolean(),
|
|
12537
|
+
name: z360.string()
|
|
12492
12538
|
});
|
|
12493
|
-
var DTOStorybookSiteUploadResponse =
|
|
12539
|
+
var DTOStorybookSiteUploadResponse = z360.object({
|
|
12494
12540
|
storybookSiteVersion: DTOStorybookSiteVersion,
|
|
12495
|
-
uploadUrl:
|
|
12541
|
+
uploadUrl: z360.string()
|
|
12496
12542
|
});
|
|
12497
|
-
var DTOStorybookSiteVersionResponse =
|
|
12543
|
+
var DTOStorybookSiteVersionResponse = z360.object({
|
|
12498
12544
|
storybookSiteVersion: DTOStorybookSiteVersion
|
|
12499
12545
|
});
|
|
12500
12546
|
|
|
12501
12547
|
// src/api/dto/themes/override.ts
|
|
12502
|
-
import { z as
|
|
12548
|
+
import { z as z361 } from "zod";
|
|
12503
12549
|
var DTOThemeOverride = DesignTokenTypedData.and(
|
|
12504
|
-
|
|
12505
|
-
tokenPersistentId:
|
|
12550
|
+
z361.object({
|
|
12551
|
+
tokenPersistentId: z361.string(),
|
|
12506
12552
|
origin: ThemeOverrideOrigin.optional()
|
|
12507
12553
|
})
|
|
12508
12554
|
);
|
|
12509
12555
|
var DTOThemeOverrideCreatePayload = DesignTokenTypedData.and(
|
|
12510
|
-
|
|
12511
|
-
tokenPersistentId:
|
|
12556
|
+
z361.object({
|
|
12557
|
+
tokenPersistentId: z361.string()
|
|
12512
12558
|
})
|
|
12513
12559
|
);
|
|
12514
12560
|
|
|
12515
12561
|
// src/api/dto/themes/theme.ts
|
|
12516
|
-
import { z as
|
|
12517
|
-
var DTOThemesListQuery =
|
|
12518
|
-
brandId:
|
|
12519
|
-
});
|
|
12520
|
-
var DTOTheme =
|
|
12521
|
-
id:
|
|
12522
|
-
persistentId:
|
|
12523
|
-
designSystemVersionId:
|
|
12524
|
-
brandId:
|
|
12562
|
+
import { z as z362 } from "zod";
|
|
12563
|
+
var DTOThemesListQuery = z362.object({
|
|
12564
|
+
brandId: z362.string().optional()
|
|
12565
|
+
});
|
|
12566
|
+
var DTOTheme = z362.object({
|
|
12567
|
+
id: z362.string(),
|
|
12568
|
+
persistentId: z362.string(),
|
|
12569
|
+
designSystemVersionId: z362.string(),
|
|
12570
|
+
brandId: z362.string(),
|
|
12525
12571
|
meta: ObjectMeta,
|
|
12526
|
-
codeName:
|
|
12527
|
-
parentPersistentId:
|
|
12528
|
-
collectionPersistentIds:
|
|
12572
|
+
codeName: z362.string(),
|
|
12573
|
+
parentPersistentId: z362.string().optional(),
|
|
12574
|
+
collectionPersistentIds: z362.string().array(),
|
|
12529
12575
|
overrides: DTOThemeOverride.array()
|
|
12530
12576
|
});
|
|
12531
|
-
var DTOThemeResponse =
|
|
12577
|
+
var DTOThemeResponse = z362.object({
|
|
12532
12578
|
theme: DTOTheme
|
|
12533
12579
|
});
|
|
12534
|
-
var DTOThemeListResponse =
|
|
12580
|
+
var DTOThemeListResponse = z362.object({
|
|
12535
12581
|
themes: DTOTheme.array()
|
|
12536
12582
|
});
|
|
12537
|
-
var DTOThemeCreatePayload =
|
|
12583
|
+
var DTOThemeCreatePayload = z362.object({
|
|
12538
12584
|
meta: ObjectMeta,
|
|
12539
|
-
persistentId:
|
|
12540
|
-
brandId:
|
|
12541
|
-
codeName:
|
|
12585
|
+
persistentId: z362.string(),
|
|
12586
|
+
brandId: z362.string(),
|
|
12587
|
+
codeName: z362.string(),
|
|
12542
12588
|
overrides: DTOThemeOverride.array()
|
|
12543
12589
|
});
|
|
12544
12590
|
|
|
12545
12591
|
// src/api/dto/trail-events/trail-events.ts
|
|
12546
|
-
import { z as
|
|
12547
|
-
var DTOTrailEventType =
|
|
12592
|
+
import { z as z363 } from "zod";
|
|
12593
|
+
var DTOTrailEventType = z363.enum([
|
|
12548
12594
|
"IterationCreated",
|
|
12549
12595
|
"IterationBookmarked",
|
|
12550
12596
|
"FeatureCreated",
|
|
@@ -12562,124 +12608,124 @@ var DTOTrailEventType = z362.enum([
|
|
|
12562
12608
|
"FeaturePublished",
|
|
12563
12609
|
"FeatureUnpublished"
|
|
12564
12610
|
]);
|
|
12565
|
-
var DTOTrailEventBase =
|
|
12566
|
-
id:
|
|
12567
|
-
projectId:
|
|
12568
|
-
userId:
|
|
12569
|
-
createdAt:
|
|
12570
|
-
updatedAt:
|
|
12571
|
-
});
|
|
12572
|
-
var DTOTrailEventIterationCreatedPayload =
|
|
12573
|
-
iterationName:
|
|
12574
|
-
iterationId:
|
|
12575
|
-
featureId:
|
|
12576
|
-
});
|
|
12577
|
-
var DTOTrailEventIterationBookmarkedPayload =
|
|
12578
|
-
iterationId:
|
|
12579
|
-
featureId:
|
|
12580
|
-
iterationName:
|
|
12581
|
-
});
|
|
12582
|
-
var DTOTrailEventIterationPromotedPayload =
|
|
12583
|
-
iterationId:
|
|
12584
|
-
featureId:
|
|
12585
|
-
iterationName:
|
|
12586
|
-
});
|
|
12587
|
-
var DTOTrailEventFeatureCreatedPayload =
|
|
12588
|
-
featureId:
|
|
12589
|
-
name:
|
|
12590
|
-
description:
|
|
12591
|
-
});
|
|
12592
|
-
var DTOTrailEventFeatureDeletedPayload =
|
|
12593
|
-
featureId:
|
|
12594
|
-
name:
|
|
12595
|
-
});
|
|
12596
|
-
var DTOTrailEventFeatureArchivedPayload =
|
|
12597
|
-
featureId:
|
|
12598
|
-
name:
|
|
12599
|
-
});
|
|
12600
|
-
var DTOTrailEventDocumentCreatedPayload =
|
|
12601
|
-
documentId:
|
|
12602
|
-
title:
|
|
12603
|
-
sectionId:
|
|
12604
|
-
});
|
|
12605
|
-
var DTOTrailEventDocumentDeletedPayload =
|
|
12606
|
-
documentId:
|
|
12607
|
-
title:
|
|
12608
|
-
});
|
|
12609
|
-
var DTOTrailEventDocumentUpdatedPayload =
|
|
12610
|
-
documentId:
|
|
12611
|
-
title:
|
|
12612
|
-
sectionId:
|
|
12613
|
-
});
|
|
12614
|
-
var DTOTrailEventDocumentCommentSentPayload =
|
|
12615
|
-
documentId:
|
|
12616
|
-
title:
|
|
12617
|
-
sectionId:
|
|
12618
|
-
});
|
|
12619
|
-
var DTOTrailEventProjectCreatedPayload =
|
|
12620
|
-
name:
|
|
12621
|
-
description:
|
|
12622
|
-
});
|
|
12623
|
-
var DTOTrailEventFeaturePublishedPayload =
|
|
12624
|
-
featureId:
|
|
12625
|
-
featureName:
|
|
12626
|
-
iterationId:
|
|
12627
|
-
iterationName:
|
|
12628
|
-
});
|
|
12629
|
-
var DTOTrailEventFeatureUnpublishedPayload =
|
|
12630
|
-
featureId:
|
|
12631
|
-
featureName:
|
|
12632
|
-
iterationId:
|
|
12633
|
-
iterationName:
|
|
12634
|
-
});
|
|
12635
|
-
var DTOTrailEventProjectArchivedPayload =
|
|
12636
|
-
name:
|
|
12637
|
-
});
|
|
12638
|
-
var DTOTrailEventProjectContextCreatedPayload =
|
|
12639
|
-
contextId:
|
|
12640
|
-
name:
|
|
12641
|
-
description:
|
|
12642
|
-
});
|
|
12643
|
-
var DTOTrailEventProjectContextArchivedPayload =
|
|
12644
|
-
contextId:
|
|
12645
|
-
});
|
|
12646
|
-
var DTOTrailEventPayload =
|
|
12647
|
-
|
|
12648
|
-
|
|
12649
|
-
|
|
12650
|
-
|
|
12651
|
-
|
|
12652
|
-
|
|
12653
|
-
|
|
12654
|
-
|
|
12655
|
-
|
|
12656
|
-
|
|
12657
|
-
|
|
12658
|
-
|
|
12659
|
-
|
|
12660
|
-
|
|
12661
|
-
|
|
12662
|
-
|
|
12611
|
+
var DTOTrailEventBase = z363.object({
|
|
12612
|
+
id: z363.string(),
|
|
12613
|
+
projectId: z363.string(),
|
|
12614
|
+
userId: z363.string(),
|
|
12615
|
+
createdAt: z363.coerce.date(),
|
|
12616
|
+
updatedAt: z363.coerce.date()
|
|
12617
|
+
});
|
|
12618
|
+
var DTOTrailEventIterationCreatedPayload = z363.object({
|
|
12619
|
+
iterationName: z363.string(),
|
|
12620
|
+
iterationId: z363.string().uuid(),
|
|
12621
|
+
featureId: z363.string().uuid()
|
|
12622
|
+
});
|
|
12623
|
+
var DTOTrailEventIterationBookmarkedPayload = z363.object({
|
|
12624
|
+
iterationId: z363.string().uuid(),
|
|
12625
|
+
featureId: z363.string().uuid(),
|
|
12626
|
+
iterationName: z363.string()
|
|
12627
|
+
});
|
|
12628
|
+
var DTOTrailEventIterationPromotedPayload = z363.object({
|
|
12629
|
+
iterationId: z363.string().uuid(),
|
|
12630
|
+
featureId: z363.string().uuid(),
|
|
12631
|
+
iterationName: z363.string()
|
|
12632
|
+
});
|
|
12633
|
+
var DTOTrailEventFeatureCreatedPayload = z363.object({
|
|
12634
|
+
featureId: z363.string().uuid(),
|
|
12635
|
+
name: z363.string(),
|
|
12636
|
+
description: z363.string().optional()
|
|
12637
|
+
});
|
|
12638
|
+
var DTOTrailEventFeatureDeletedPayload = z363.object({
|
|
12639
|
+
featureId: z363.string().uuid(),
|
|
12640
|
+
name: z363.string()
|
|
12641
|
+
});
|
|
12642
|
+
var DTOTrailEventFeatureArchivedPayload = z363.object({
|
|
12643
|
+
featureId: z363.string().uuid(),
|
|
12644
|
+
name: z363.string()
|
|
12645
|
+
});
|
|
12646
|
+
var DTOTrailEventDocumentCreatedPayload = z363.object({
|
|
12647
|
+
documentId: z363.string().uuid(),
|
|
12648
|
+
title: z363.string(),
|
|
12649
|
+
sectionId: z363.string().uuid().optional()
|
|
12650
|
+
});
|
|
12651
|
+
var DTOTrailEventDocumentDeletedPayload = z363.object({
|
|
12652
|
+
documentId: z363.string().uuid(),
|
|
12653
|
+
title: z363.string()
|
|
12654
|
+
});
|
|
12655
|
+
var DTOTrailEventDocumentUpdatedPayload = z363.object({
|
|
12656
|
+
documentId: z363.string().uuid(),
|
|
12657
|
+
title: z363.string(),
|
|
12658
|
+
sectionId: z363.string().uuid().optional()
|
|
12659
|
+
});
|
|
12660
|
+
var DTOTrailEventDocumentCommentSentPayload = z363.object({
|
|
12661
|
+
documentId: z363.string().uuid(),
|
|
12662
|
+
title: z363.string(),
|
|
12663
|
+
sectionId: z363.string().uuid().optional()
|
|
12664
|
+
});
|
|
12665
|
+
var DTOTrailEventProjectCreatedPayload = z363.object({
|
|
12666
|
+
name: z363.string(),
|
|
12667
|
+
description: z363.string().optional()
|
|
12668
|
+
});
|
|
12669
|
+
var DTOTrailEventFeaturePublishedPayload = z363.object({
|
|
12670
|
+
featureId: z363.string().uuid(),
|
|
12671
|
+
featureName: z363.string(),
|
|
12672
|
+
iterationId: z363.string().uuid().nullish(),
|
|
12673
|
+
iterationName: z363.string().nullish()
|
|
12674
|
+
});
|
|
12675
|
+
var DTOTrailEventFeatureUnpublishedPayload = z363.object({
|
|
12676
|
+
featureId: z363.string().uuid(),
|
|
12677
|
+
featureName: z363.string(),
|
|
12678
|
+
iterationId: z363.string().uuid().nullish(),
|
|
12679
|
+
iterationName: z363.string().nullish()
|
|
12680
|
+
});
|
|
12681
|
+
var DTOTrailEventProjectArchivedPayload = z363.object({
|
|
12682
|
+
name: z363.string()
|
|
12683
|
+
});
|
|
12684
|
+
var DTOTrailEventProjectContextCreatedPayload = z363.object({
|
|
12685
|
+
contextId: z363.number(),
|
|
12686
|
+
name: z363.string(),
|
|
12687
|
+
description: z363.string().optional()
|
|
12688
|
+
});
|
|
12689
|
+
var DTOTrailEventProjectContextArchivedPayload = z363.object({
|
|
12690
|
+
contextId: z363.number()
|
|
12691
|
+
});
|
|
12692
|
+
var DTOTrailEventPayload = z363.discriminatedUnion("type", [
|
|
12693
|
+
z363.object({ type: z363.literal("IterationCreated"), payload: DTOTrailEventIterationCreatedPayload }),
|
|
12694
|
+
z363.object({ type: z363.literal("IterationBookmarked"), payload: DTOTrailEventIterationBookmarkedPayload }),
|
|
12695
|
+
z363.object({ type: z363.literal("FeatureCreated"), payload: DTOTrailEventFeatureCreatedPayload }),
|
|
12696
|
+
z363.object({ type: z363.literal("FeatureDeleted"), payload: DTOTrailEventFeatureDeletedPayload }),
|
|
12697
|
+
z363.object({ type: z363.literal("FeatureArchived"), payload: DTOTrailEventFeatureArchivedPayload }),
|
|
12698
|
+
z363.object({ type: z363.literal("DocumentCreated"), payload: DTOTrailEventDocumentCreatedPayload }),
|
|
12699
|
+
z363.object({ type: z363.literal("DocumentDeleted"), payload: DTOTrailEventDocumentDeletedPayload }),
|
|
12700
|
+
z363.object({ type: z363.literal("DocumentUpdated"), payload: DTOTrailEventDocumentUpdatedPayload }),
|
|
12701
|
+
z363.object({ type: z363.literal("DocumentCommentSent"), payload: DTOTrailEventDocumentCommentSentPayload }),
|
|
12702
|
+
z363.object({ type: z363.literal("ProjectCreated"), payload: DTOTrailEventProjectCreatedPayload }),
|
|
12703
|
+
z363.object({ type: z363.literal("ProjectArchived"), payload: DTOTrailEventProjectArchivedPayload }),
|
|
12704
|
+
z363.object({ type: z363.literal("IterationPromoted"), payload: DTOTrailEventIterationPromotedPayload }),
|
|
12705
|
+
z363.object({ type: z363.literal("ProjectContextCreated"), payload: DTOTrailEventProjectContextCreatedPayload }),
|
|
12706
|
+
z363.object({ type: z363.literal("ProjectContextArchived"), payload: DTOTrailEventProjectContextArchivedPayload }),
|
|
12707
|
+
z363.object({ type: z363.literal("FeaturePublished"), payload: DTOTrailEventFeaturePublishedPayload }),
|
|
12708
|
+
z363.object({ type: z363.literal("FeatureUnpublished"), payload: DTOTrailEventFeatureUnpublishedPayload })
|
|
12663
12709
|
]);
|
|
12664
12710
|
var DTOTrailEvent = DTOTrailEventPayload.and(DTOTrailEventBase);
|
|
12665
12711
|
var DTOTrailEventWithDetails = DTOTrailEvent.and(
|
|
12666
|
-
|
|
12667
|
-
projectName:
|
|
12668
|
-
userName:
|
|
12712
|
+
z363.object({
|
|
12713
|
+
projectName: z363.string().optional(),
|
|
12714
|
+
userName: z363.string().optional()
|
|
12669
12715
|
})
|
|
12670
12716
|
);
|
|
12671
|
-
var DTOTrailEventListInput =
|
|
12672
|
-
projectId:
|
|
12717
|
+
var DTOTrailEventListInput = z363.object({
|
|
12718
|
+
projectId: z363.string()
|
|
12673
12719
|
});
|
|
12674
|
-
var DTOTrailEventListResponse =
|
|
12675
|
-
events:
|
|
12720
|
+
var DTOTrailEventListResponse = z363.object({
|
|
12721
|
+
events: z363.array(DTOTrailEventWithDetails)
|
|
12676
12722
|
});
|
|
12677
12723
|
var DTOTrailEventCreate = DTOTrailEventPayload.and(
|
|
12678
12724
|
DTOTrailEventBase.omit({ id: true, createdAt: true, updatedAt: true })
|
|
12679
12725
|
);
|
|
12680
|
-
var DTOTrailEventClientCreate =
|
|
12681
|
-
|
|
12682
|
-
|
|
12726
|
+
var DTOTrailEventClientCreate = z363.discriminatedUnion("type", [
|
|
12727
|
+
z363.object({ type: z363.literal("DocumentUpdated"), payload: DTOTrailEventDocumentUpdatedPayload }),
|
|
12728
|
+
z363.object({ type: z363.literal("DocumentCommentSent"), payload: DTOTrailEventDocumentCommentSentPayload })
|
|
12683
12729
|
]).and(DTOTrailEventBase.omit({ id: true, createdAt: true, updatedAt: true }));
|
|
12684
12730
|
|
|
12685
12731
|
// src/api/endpoints/codegen/exporters.ts
|
|
@@ -12724,13 +12770,13 @@ var ExportersEndpoint = class {
|
|
|
12724
12770
|
};
|
|
12725
12771
|
|
|
12726
12772
|
// src/api/endpoints/codegen/jobs.ts
|
|
12727
|
-
import { z as
|
|
12773
|
+
import { z as z364 } from "zod";
|
|
12728
12774
|
var ExporterJobsEndpoint = class {
|
|
12729
12775
|
constructor(requestExecutor) {
|
|
12730
12776
|
this.requestExecutor = requestExecutor;
|
|
12731
12777
|
}
|
|
12732
12778
|
list(workspaceId) {
|
|
12733
|
-
return this.requestExecutor.json(`/codegen/workspaces/${workspaceId}/jobs`,
|
|
12779
|
+
return this.requestExecutor.json(`/codegen/workspaces/${workspaceId}/jobs`, z364.any());
|
|
12734
12780
|
}
|
|
12735
12781
|
get(workspaceId, jobId) {
|
|
12736
12782
|
return this.requestExecutor.json(`/codegen/workspaces/${workspaceId}/jobs/${jobId}`, DTOExportJobResponseLegacy);
|
|
@@ -12822,7 +12868,7 @@ var DesignSystemPipelinesEndpoint = class {
|
|
|
12822
12868
|
};
|
|
12823
12869
|
|
|
12824
12870
|
// src/api/endpoints/design-system/versions/brands.ts
|
|
12825
|
-
import { z as
|
|
12871
|
+
import { z as z365 } from "zod";
|
|
12826
12872
|
var BrandsEndpoint = class {
|
|
12827
12873
|
constructor(requestExecutor) {
|
|
12828
12874
|
this.requestExecutor = requestExecutor;
|
|
@@ -12856,7 +12902,7 @@ var BrandsEndpoint = class {
|
|
|
12856
12902
|
});
|
|
12857
12903
|
}
|
|
12858
12904
|
delete(dsId, vId, brandId) {
|
|
12859
|
-
return this.requestExecutor.json(`/design-systems/${dsId}/versions/${vId}/brands/${brandId}`,
|
|
12905
|
+
return this.requestExecutor.json(`/design-systems/${dsId}/versions/${vId}/brands/${brandId}`, z365.any(), {
|
|
12860
12906
|
method: "DELETE"
|
|
12861
12907
|
});
|
|
12862
12908
|
}
|
|
@@ -13109,7 +13155,7 @@ var ImportJobsEndpoint = class {
|
|
|
13109
13155
|
};
|
|
13110
13156
|
|
|
13111
13157
|
// src/api/endpoints/design-system/versions/overrides.ts
|
|
13112
|
-
import { z as
|
|
13158
|
+
import { z as z366 } from "zod";
|
|
13113
13159
|
var OverridesEndpoint = class {
|
|
13114
13160
|
constructor(requestExecutor) {
|
|
13115
13161
|
this.requestExecutor = requestExecutor;
|
|
@@ -13117,7 +13163,7 @@ var OverridesEndpoint = class {
|
|
|
13117
13163
|
create(dsId, versionId, themeId, body) {
|
|
13118
13164
|
return this.requestExecutor.json(
|
|
13119
13165
|
`/design-systems/${dsId}/versions/${versionId}/themes/${themeId}/overrides`,
|
|
13120
|
-
|
|
13166
|
+
z366.any(),
|
|
13121
13167
|
{
|
|
13122
13168
|
method: "POST",
|
|
13123
13169
|
body
|
|
@@ -13127,7 +13173,7 @@ var OverridesEndpoint = class {
|
|
|
13127
13173
|
};
|
|
13128
13174
|
|
|
13129
13175
|
// src/api/endpoints/design-system/versions/property-definitions.ts
|
|
13130
|
-
import { z as
|
|
13176
|
+
import { z as z367 } from "zod";
|
|
13131
13177
|
var ElementPropertyDefinitionsEndpoint = class {
|
|
13132
13178
|
constructor(requestExecutor) {
|
|
13133
13179
|
this.requestExecutor = requestExecutor;
|
|
@@ -13155,7 +13201,7 @@ var ElementPropertyDefinitionsEndpoint = class {
|
|
|
13155
13201
|
delete(designSystemId, versionId, defId) {
|
|
13156
13202
|
return this.requestExecutor.json(
|
|
13157
13203
|
`/design-systems/${designSystemId}/versions/${versionId}/element-properties/definitions/${defId}`,
|
|
13158
|
-
|
|
13204
|
+
z367.any(),
|
|
13159
13205
|
{ method: "DELETE" }
|
|
13160
13206
|
);
|
|
13161
13207
|
}
|
|
@@ -13194,7 +13240,7 @@ var VersionStatsEndpoint = class {
|
|
|
13194
13240
|
};
|
|
13195
13241
|
|
|
13196
13242
|
// src/api/endpoints/design-system/versions/themes.ts
|
|
13197
|
-
import { z as
|
|
13243
|
+
import { z as z368 } from "zod";
|
|
13198
13244
|
var ThemesEndpoint = class {
|
|
13199
13245
|
constructor(requestExecutor) {
|
|
13200
13246
|
this.requestExecutor = requestExecutor;
|
|
@@ -13217,7 +13263,7 @@ var ThemesEndpoint = class {
|
|
|
13217
13263
|
});
|
|
13218
13264
|
}
|
|
13219
13265
|
delete(dsId, versionId, themeId) {
|
|
13220
|
-
return this.requestExecutor.json(`/design-systems/${dsId}/versions/${versionId}/themes/${themeId}`,
|
|
13266
|
+
return this.requestExecutor.json(`/design-systems/${dsId}/versions/${versionId}/themes/${themeId}`, z368.any(), {
|
|
13221
13267
|
method: "DELETE"
|
|
13222
13268
|
});
|
|
13223
13269
|
}
|
|
@@ -13422,7 +13468,7 @@ var DesignSystemContactsEndpoint = class {
|
|
|
13422
13468
|
};
|
|
13423
13469
|
|
|
13424
13470
|
// src/api/endpoints/design-system/design-systems.ts
|
|
13425
|
-
import { z as
|
|
13471
|
+
import { z as z371 } from "zod";
|
|
13426
13472
|
|
|
13427
13473
|
// src/api/endpoints/design-system/figma-node-structures.ts
|
|
13428
13474
|
var FigmaNodeStructuresEndpoint = class {
|
|
@@ -13499,7 +13545,7 @@ var DesignSystemPageRedirectsEndpoint = class {
|
|
|
13499
13545
|
};
|
|
13500
13546
|
|
|
13501
13547
|
// src/api/endpoints/design-system/sources.ts
|
|
13502
|
-
import { z as
|
|
13548
|
+
import { z as z369 } from "zod";
|
|
13503
13549
|
var DesignSystemSourcesEndpoint = class {
|
|
13504
13550
|
constructor(requestExecutor) {
|
|
13505
13551
|
this.requestExecutor = requestExecutor;
|
|
@@ -13517,7 +13563,7 @@ var DesignSystemSourcesEndpoint = class {
|
|
|
13517
13563
|
return this.requestExecutor.json(`/design-systems/${dsId}/sources/${sourceId}`, DTODataSourceResponse);
|
|
13518
13564
|
}
|
|
13519
13565
|
delete(dsId, sourceId) {
|
|
13520
|
-
return this.requestExecutor.json(`/design-systems/${dsId}/sources/${sourceId}`,
|
|
13566
|
+
return this.requestExecutor.json(`/design-systems/${dsId}/sources/${sourceId}`, z369.any(), { method: "DELETE" });
|
|
13521
13567
|
}
|
|
13522
13568
|
updateFigmaSource(dsId, sourceId, payload) {
|
|
13523
13569
|
return this.requestExecutor.json(`/design-systems/${dsId}/sources/${sourceId}`, DTODataSourceResponse, {
|
|
@@ -13560,7 +13606,7 @@ var DesignSystemSourcesEndpoint = class {
|
|
|
13560
13606
|
};
|
|
13561
13607
|
|
|
13562
13608
|
// src/api/endpoints/design-system/storybook.ts
|
|
13563
|
-
import { z as
|
|
13609
|
+
import { z as z370 } from "zod";
|
|
13564
13610
|
var StorybookEntriesEndpoint = class {
|
|
13565
13611
|
constructor(requestExecutor) {
|
|
13566
13612
|
this.requestExecutor = requestExecutor;
|
|
@@ -13578,7 +13624,7 @@ var StorybookEntriesEndpoint = class {
|
|
|
13578
13624
|
);
|
|
13579
13625
|
}
|
|
13580
13626
|
delete(dsId, entryId) {
|
|
13581
|
-
return this.requestExecutor.json(`/design-systems/${dsId}/versions/head/storybook/${entryId}`,
|
|
13627
|
+
return this.requestExecutor.json(`/design-systems/${dsId}/versions/head/storybook/${entryId}`, z370.any(), {
|
|
13582
13628
|
method: "DELETE"
|
|
13583
13629
|
});
|
|
13584
13630
|
}
|
|
@@ -13622,7 +13668,7 @@ var DesignSystemsEndpoint = class {
|
|
|
13622
13668
|
return this.requestExecutor.json(`/design-systems/${dsId}`, DTODesignSystemResponse);
|
|
13623
13669
|
}
|
|
13624
13670
|
delete(dsId) {
|
|
13625
|
-
return this.requestExecutor.json(`/design-systems/${dsId}`,
|
|
13671
|
+
return this.requestExecutor.json(`/design-systems/${dsId}`, z371.any(), { method: "DELETE" });
|
|
13626
13672
|
}
|
|
13627
13673
|
update(dsId, body) {
|
|
13628
13674
|
return this.requestExecutor.json(`/design-systems/${dsId}`, DTODesignSystemResponse, {
|
|
@@ -14125,7 +14171,7 @@ var ForgeProjectMembersEndpoint = class {
|
|
|
14125
14171
|
};
|
|
14126
14172
|
|
|
14127
14173
|
// src/api/endpoints/forge/projects.ts
|
|
14128
|
-
import
|
|
14174
|
+
import z372 from "zod";
|
|
14129
14175
|
var ForgeProjectsEndpoint = class {
|
|
14130
14176
|
constructor(requestExecutor) {
|
|
14131
14177
|
this.requestExecutor = requestExecutor;
|
|
@@ -14162,7 +14208,7 @@ var ForgeProjectsEndpoint = class {
|
|
|
14162
14208
|
);
|
|
14163
14209
|
}
|
|
14164
14210
|
action(workspaceId, projectId, body) {
|
|
14165
|
-
return this.requestExecutor.json(`/workspaces/${workspaceId}/forge/projects/${projectId}/action`,
|
|
14211
|
+
return this.requestExecutor.json(`/workspaces/${workspaceId}/forge/projects/${projectId}/action`, z372.any(), {
|
|
14166
14212
|
body,
|
|
14167
14213
|
method: "POST"
|
|
14168
14214
|
});
|
|
@@ -14335,7 +14381,7 @@ var WorkspaceBillingEndpoint = class {
|
|
|
14335
14381
|
};
|
|
14336
14382
|
|
|
14337
14383
|
// src/api/endpoints/workspaces/chat-threads.ts
|
|
14338
|
-
import { z as
|
|
14384
|
+
import { z as z373 } from "zod";
|
|
14339
14385
|
var WorkspaceChatThreadsEndpoint = class {
|
|
14340
14386
|
constructor(requestExecutor) {
|
|
14341
14387
|
this.requestExecutor = requestExecutor;
|
|
@@ -14367,7 +14413,7 @@ var WorkspaceChatThreadsEndpoint = class {
|
|
|
14367
14413
|
);
|
|
14368
14414
|
}
|
|
14369
14415
|
delete(workspaceId, threadId) {
|
|
14370
|
-
return this.requestExecutor.json(`/workspaces/${workspaceId}/forge/threads/${threadId}`,
|
|
14416
|
+
return this.requestExecutor.json(`/workspaces/${workspaceId}/forge/threads/${threadId}`, z373.any(), {
|
|
14371
14417
|
method: "DELETE"
|
|
14372
14418
|
});
|
|
14373
14419
|
}
|
|
@@ -14399,7 +14445,7 @@ var ChatThreadMessagesEndpoint = class {
|
|
|
14399
14445
|
);
|
|
14400
14446
|
}
|
|
14401
14447
|
score(workspaceId, threadId, body) {
|
|
14402
|
-
return this.requestExecutor.json(`/workspaces/${workspaceId}/forge/threads/${threadId}/scores`,
|
|
14448
|
+
return this.requestExecutor.json(`/workspaces/${workspaceId}/forge/threads/${threadId}/scores`, z373.any(), {
|
|
14403
14449
|
method: "POST",
|
|
14404
14450
|
body
|
|
14405
14451
|
});
|
|
@@ -14407,7 +14453,7 @@ var ChatThreadMessagesEndpoint = class {
|
|
|
14407
14453
|
};
|
|
14408
14454
|
|
|
14409
14455
|
// src/api/endpoints/workspaces/integrations.ts
|
|
14410
|
-
import { z as
|
|
14456
|
+
import { z as z374 } from "zod";
|
|
14411
14457
|
var WorkspaceIntegrationsEndpoint = class {
|
|
14412
14458
|
constructor(requestExecutor) {
|
|
14413
14459
|
this.requestExecutor = requestExecutor;
|
|
@@ -14416,7 +14462,7 @@ var WorkspaceIntegrationsEndpoint = class {
|
|
|
14416
14462
|
return this.requestExecutor.json(`/workspaces/${wsId}/integrations`, DTOIntegrationsGetListResponse);
|
|
14417
14463
|
}
|
|
14418
14464
|
delete(wsId, iId) {
|
|
14419
|
-
return this.requestExecutor.json(`/workspaces/${wsId}/integrations/${iId}`,
|
|
14465
|
+
return this.requestExecutor.json(`/workspaces/${wsId}/integrations/${iId}`, z374.unknown(), { method: "DELETE" });
|
|
14420
14466
|
}
|
|
14421
14467
|
};
|
|
14422
14468
|
|
|
@@ -14447,8 +14493,38 @@ var WorkspaceInvitationsEndpoint = class {
|
|
|
14447
14493
|
}
|
|
14448
14494
|
};
|
|
14449
14495
|
|
|
14496
|
+
// src/api/endpoints/workspaces/knowledge-items.ts
|
|
14497
|
+
var WorkspaceKnowledgeItemsEndpoint = class {
|
|
14498
|
+
constructor(requestExecutor) {
|
|
14499
|
+
this.requestExecutor = requestExecutor;
|
|
14500
|
+
}
|
|
14501
|
+
list(workspaceId) {
|
|
14502
|
+
return this.requestExecutor.json(`/workspaces/${workspaceId}/knowledge-items`, DTOKnowledgeItemListResponse, {
|
|
14503
|
+
method: "GET"
|
|
14504
|
+
});
|
|
14505
|
+
}
|
|
14506
|
+
create(workspaceId, body) {
|
|
14507
|
+
return this.requestExecutor.json(`/workspaces/${workspaceId}/knowledge-items`, DTOKnowledgeItemResponse, {
|
|
14508
|
+
method: "POST",
|
|
14509
|
+
body
|
|
14510
|
+
});
|
|
14511
|
+
}
|
|
14512
|
+
update(workspaceId, itemId, body) {
|
|
14513
|
+
return this.requestExecutor.json(`/workspaces/${workspaceId}/knowledge-items/${itemId}`, DTOKnowledgeItemResponse, {
|
|
14514
|
+
method: "PUT",
|
|
14515
|
+
body
|
|
14516
|
+
});
|
|
14517
|
+
}
|
|
14518
|
+
delete(workspaceId, body) {
|
|
14519
|
+
return this.requestExecutor.json(`/workspaces/${workspaceId}/knowledge-items`, DTOKnowledgeItemDeleteResponse, {
|
|
14520
|
+
method: "DELETE",
|
|
14521
|
+
body
|
|
14522
|
+
});
|
|
14523
|
+
}
|
|
14524
|
+
};
|
|
14525
|
+
|
|
14450
14526
|
// src/api/endpoints/workspaces/members.ts
|
|
14451
|
-
import { z as
|
|
14527
|
+
import { z as z375 } from "zod";
|
|
14452
14528
|
var WorkspaceMembersEndpoint = class {
|
|
14453
14529
|
constructor(requestExecutor) {
|
|
14454
14530
|
this.requestExecutor = requestExecutor;
|
|
@@ -14465,7 +14541,7 @@ var WorkspaceMembersEndpoint = class {
|
|
|
14465
14541
|
});
|
|
14466
14542
|
}
|
|
14467
14543
|
invite(workspaceId, body) {
|
|
14468
|
-
return this.requestExecutor.json(`/workspaces/${workspaceId}/members`,
|
|
14544
|
+
return this.requestExecutor.json(`/workspaces/${workspaceId}/members`, z375.any(), { method: "POST", body });
|
|
14469
14545
|
}
|
|
14470
14546
|
delete(workspaceId, userId) {
|
|
14471
14547
|
return this.requestExecutor.json(`/workspaces/${workspaceId}/members/${userId}`, DTOWorkspaceResponse, {
|
|
@@ -14494,7 +14570,7 @@ var WorkspaceNpmRegistryEndpoint = class {
|
|
|
14494
14570
|
};
|
|
14495
14571
|
|
|
14496
14572
|
// src/api/endpoints/workspaces/subscription.ts
|
|
14497
|
-
import { z as
|
|
14573
|
+
import { z as z376 } from "zod";
|
|
14498
14574
|
var WorkspaceSubscriptionEndpoint = class {
|
|
14499
14575
|
constructor(requestExecutor) {
|
|
14500
14576
|
this.requestExecutor = requestExecutor;
|
|
@@ -14505,7 +14581,7 @@ var WorkspaceSubscriptionEndpoint = class {
|
|
|
14505
14581
|
});
|
|
14506
14582
|
}
|
|
14507
14583
|
update(workspaceId, body) {
|
|
14508
|
-
return this.requestExecutor.json(`/workspaces/${workspaceId}/subscription`,
|
|
14584
|
+
return this.requestExecutor.json(`/workspaces/${workspaceId}/subscription`, z376.any(), {
|
|
14509
14585
|
method: "PUT",
|
|
14510
14586
|
body
|
|
14511
14587
|
});
|
|
@@ -14523,7 +14599,7 @@ var WorkspaceSubscriptionEndpoint = class {
|
|
|
14523
14599
|
};
|
|
14524
14600
|
|
|
14525
14601
|
// src/api/endpoints/workspaces/workspaces.ts
|
|
14526
|
-
import { z as
|
|
14602
|
+
import { z as z377 } from "zod";
|
|
14527
14603
|
var WorkspacesEndpoint = class {
|
|
14528
14604
|
constructor(requestExecutor) {
|
|
14529
14605
|
this.requestExecutor = requestExecutor;
|
|
@@ -14532,11 +14608,13 @@ var WorkspacesEndpoint = class {
|
|
|
14532
14608
|
__publicField(this, "npmRegistry");
|
|
14533
14609
|
__publicField(this, "chatThreads");
|
|
14534
14610
|
__publicField(this, "integrations");
|
|
14611
|
+
__publicField(this, "knowledgeItems");
|
|
14535
14612
|
__publicField(this, "subscription");
|
|
14536
14613
|
__publicField(this, "billing");
|
|
14537
14614
|
this.members = new WorkspaceMembersEndpoint(requestExecutor);
|
|
14538
14615
|
this.invitations = new WorkspaceInvitationsEndpoint(requestExecutor);
|
|
14539
14616
|
this.integrations = new WorkspaceIntegrationsEndpoint(requestExecutor);
|
|
14617
|
+
this.knowledgeItems = new WorkspaceKnowledgeItemsEndpoint(requestExecutor);
|
|
14540
14618
|
this.npmRegistry = new WorkspaceNpmRegistryEndpoint(requestExecutor);
|
|
14541
14619
|
this.chatThreads = new WorkspaceChatThreadsEndpoint(requestExecutor);
|
|
14542
14620
|
this.subscription = new WorkspaceSubscriptionEndpoint(requestExecutor);
|
|
@@ -14559,7 +14637,7 @@ var WorkspacesEndpoint = class {
|
|
|
14559
14637
|
return this.requestExecutor.json(`/workspaces/${workspaceId}`, DTOWorkspaceResponse, { method: "GET" });
|
|
14560
14638
|
}
|
|
14561
14639
|
delete(workspaceId) {
|
|
14562
|
-
return this.requestExecutor.json(`/workspaces/${workspaceId}`,
|
|
14640
|
+
return this.requestExecutor.json(`/workspaces/${workspaceId}`, z377.any(), { method: "DELETE" });
|
|
14563
14641
|
}
|
|
14564
14642
|
getPortalSettings(workspaceId) {
|
|
14565
14643
|
return this.requestExecutor.json(`/workspaces/${workspaceId}/portal/settings`, DTOPortalSettingsGetResponse, {
|
|
@@ -14634,7 +14712,7 @@ var LiveblocksEndpoint = class {
|
|
|
14634
14712
|
};
|
|
14635
14713
|
|
|
14636
14714
|
// src/api/endpoints/storybook-sites.ts
|
|
14637
|
-
import
|
|
14715
|
+
import z378 from "zod";
|
|
14638
14716
|
var StorybookSitesEndpoint = class {
|
|
14639
14717
|
constructor(requestExecutor) {
|
|
14640
14718
|
this.requestExecutor = requestExecutor;
|
|
@@ -14645,7 +14723,7 @@ var StorybookSitesEndpoint = class {
|
|
|
14645
14723
|
});
|
|
14646
14724
|
}
|
|
14647
14725
|
deleteSite(siteId) {
|
|
14648
|
-
return this.requestExecutor.json(`/storybook/sites/${siteId}`,
|
|
14726
|
+
return this.requestExecutor.json(`/storybook/sites/${siteId}`, z378.unknown(), {
|
|
14649
14727
|
method: "DELETE"
|
|
14650
14728
|
});
|
|
14651
14729
|
}
|
|
@@ -14763,9 +14841,9 @@ ${bodyText}`,
|
|
|
14763
14841
|
|
|
14764
14842
|
// src/api/transport/request-executor.ts
|
|
14765
14843
|
import fetch from "node-fetch";
|
|
14766
|
-
import { z as
|
|
14767
|
-
var ResponseWrapper =
|
|
14768
|
-
result:
|
|
14844
|
+
import { z as z379 } from "zod";
|
|
14845
|
+
var ResponseWrapper = z379.object({
|
|
14846
|
+
result: z379.record(z379.any())
|
|
14769
14847
|
});
|
|
14770
14848
|
var RequestExecutor = class {
|
|
14771
14849
|
constructor(testServerConfig) {
|
|
@@ -14860,25 +14938,25 @@ var SupernovaApiClient = class {
|
|
|
14860
14938
|
};
|
|
14861
14939
|
|
|
14862
14940
|
// src/events/design-system.ts
|
|
14863
|
-
import { z as
|
|
14864
|
-
var DTOEventFigmaNodesRendered =
|
|
14865
|
-
type:
|
|
14866
|
-
designSystemId:
|
|
14867
|
-
versionId:
|
|
14868
|
-
figmaNodePersistentIds:
|
|
14869
|
-
});
|
|
14870
|
-
var DTOEventDataSourcesImported =
|
|
14871
|
-
type:
|
|
14872
|
-
designSystemId:
|
|
14873
|
-
versionId:
|
|
14874
|
-
importJobId:
|
|
14941
|
+
import { z as z380 } from "zod";
|
|
14942
|
+
var DTOEventFigmaNodesRendered = z380.object({
|
|
14943
|
+
type: z380.literal("DesignSystem.FigmaNodesRendered"),
|
|
14944
|
+
designSystemId: z380.string(),
|
|
14945
|
+
versionId: z380.string(),
|
|
14946
|
+
figmaNodePersistentIds: z380.string().array()
|
|
14947
|
+
});
|
|
14948
|
+
var DTOEventDataSourcesImported = z380.object({
|
|
14949
|
+
type: z380.literal("DesignSystem.ImportJobFinished"),
|
|
14950
|
+
designSystemId: z380.string(),
|
|
14951
|
+
versionId: z380.string(),
|
|
14952
|
+
importJobId: z380.string(),
|
|
14875
14953
|
dataSourceType: DataSourceRemoteType,
|
|
14876
|
-
dataSourceIds:
|
|
14954
|
+
dataSourceIds: z380.string().array()
|
|
14877
14955
|
});
|
|
14878
14956
|
|
|
14879
14957
|
// src/events/event.ts
|
|
14880
|
-
import { z as
|
|
14881
|
-
var DTOEvent =
|
|
14958
|
+
import { z as z381 } from "zod";
|
|
14959
|
+
var DTOEvent = z381.discriminatedUnion("type", [DTOEventDataSourcesImported, DTOEventFigmaNodesRendered]);
|
|
14882
14960
|
|
|
14883
14961
|
// src/sync/docs-local-action-executor.ts
|
|
14884
14962
|
function applyActionsLocally(input) {
|
|
@@ -15173,7 +15251,7 @@ var LocalDocsElementActionExecutor = class {
|
|
|
15173
15251
|
import PQueue from "p-queue";
|
|
15174
15252
|
|
|
15175
15253
|
// src/yjs/design-system-content/documentation-hierarchy.ts
|
|
15176
|
-
import { z as
|
|
15254
|
+
import { z as z382 } from "zod";
|
|
15177
15255
|
|
|
15178
15256
|
// src/yjs/utils/key-value-storage.ts
|
|
15179
15257
|
import { YKeyValue } from "y-utility/y-keyvalue";
|
|
@@ -15790,24 +15868,24 @@ var FrontendVersionRoomYDoc = class {
|
|
|
15790
15868
|
};
|
|
15791
15869
|
|
|
15792
15870
|
// src/yjs/design-system-content/documentation-hierarchy.ts
|
|
15793
|
-
var DocumentationHierarchySettings =
|
|
15794
|
-
routingVersion:
|
|
15795
|
-
isDraftFeatureAdopted:
|
|
15796
|
-
isApprovalFeatureEnabled:
|
|
15797
|
-
approvalRequiredForPublishing:
|
|
15871
|
+
var DocumentationHierarchySettings = z382.object({
|
|
15872
|
+
routingVersion: z382.string(),
|
|
15873
|
+
isDraftFeatureAdopted: z382.boolean(),
|
|
15874
|
+
isApprovalFeatureEnabled: z382.boolean(),
|
|
15875
|
+
approvalRequiredForPublishing: z382.boolean()
|
|
15798
15876
|
});
|
|
15799
15877
|
function yjsToDocumentationHierarchy(doc) {
|
|
15800
15878
|
return new FrontendVersionRoomYDoc(doc).getDocumentationHierarchy();
|
|
15801
15879
|
}
|
|
15802
15880
|
|
|
15803
15881
|
// src/yjs/design-system-content/item-configuration.ts
|
|
15804
|
-
import { z as
|
|
15805
|
-
var DTODocumentationPageRoomHeaderData =
|
|
15806
|
-
title:
|
|
15882
|
+
import { z as z383 } from "zod";
|
|
15883
|
+
var DTODocumentationPageRoomHeaderData = z383.object({
|
|
15884
|
+
title: z383.string(),
|
|
15807
15885
|
configuration: DTODocumentationItemConfigurationV2
|
|
15808
15886
|
});
|
|
15809
|
-
var DTODocumentationPageRoomHeaderDataUpdate =
|
|
15810
|
-
title:
|
|
15887
|
+
var DTODocumentationPageRoomHeaderDataUpdate = z383.object({
|
|
15888
|
+
title: z383.string().optional(),
|
|
15811
15889
|
configuration: DTODocumentationItemConfigurationV2.omit({ header: true }).extend({ header: DocumentationItemHeaderV2.partial() }).optional()
|
|
15812
15890
|
});
|
|
15813
15891
|
function itemConfigurationToYjs(yDoc, item) {
|
|
@@ -15842,9 +15920,9 @@ var PageBlockEditorModel = PageBlockEditorModelV2;
|
|
|
15842
15920
|
var PageSectionEditorModel = PageSectionEditorModelV2;
|
|
15843
15921
|
|
|
15844
15922
|
// src/yjs/docs-editor/model/page.ts
|
|
15845
|
-
import { z as
|
|
15846
|
-
var DocumentationPageEditorModel =
|
|
15847
|
-
blocks:
|
|
15923
|
+
import { z as z384 } from "zod";
|
|
15924
|
+
var DocumentationPageEditorModel = z384.object({
|
|
15925
|
+
blocks: z384.array(DocumentationPageContentItem)
|
|
15848
15926
|
});
|
|
15849
15927
|
|
|
15850
15928
|
// src/yjs/docs-editor/prosemirror/inner-editor-schema.ts
|
|
@@ -19521,7 +19599,7 @@ var blocks = [
|
|
|
19521
19599
|
|
|
19522
19600
|
// src/yjs/docs-editor/prosemirror-to-blocks.ts
|
|
19523
19601
|
import { yXmlFragmentToProsemirrorJSON } from "y-prosemirror";
|
|
19524
|
-
import { z as
|
|
19602
|
+
import { z as z385 } from "zod";
|
|
19525
19603
|
function yDocToPage(yDoc, definitions) {
|
|
19526
19604
|
return yXmlFragmentToPage(yDoc.getXmlFragment("default"), definitions);
|
|
19527
19605
|
}
|
|
@@ -19597,7 +19675,7 @@ function prosemirrorNodeToSectionItem(prosemirrorNode, definitionsMap) {
|
|
|
19597
19675
|
if (!id) return null;
|
|
19598
19676
|
return {
|
|
19599
19677
|
id,
|
|
19600
|
-
title: getProsemirrorAttribute(prosemirrorNode, "title",
|
|
19678
|
+
title: getProsemirrorAttribute(prosemirrorNode, "title", z385.string()) ?? "",
|
|
19601
19679
|
columns: (prosemirrorNode.content ?? []).filter((c) => c.type === "sectionItemColumn").map((c) => prosemirrorNodeToSectionColumns(c, definitionsMap)).filter(nonNullFilter)
|
|
19602
19680
|
};
|
|
19603
19681
|
}
|
|
@@ -19631,7 +19709,7 @@ function internalProsemirrorNodesToBlocks(prosemirrorNodes, definitionsMap, dept
|
|
|
19631
19709
|
});
|
|
19632
19710
|
}
|
|
19633
19711
|
function internalProsemirrorNodeToBlock(prosemirrorNode, definitionsMap, depth) {
|
|
19634
|
-
const definitionId = getProsemirrorAttribute(prosemirrorNode, "definitionId",
|
|
19712
|
+
const definitionId = getProsemirrorAttribute(prosemirrorNode, "definitionId", z385.string());
|
|
19635
19713
|
if (!definitionId) {
|
|
19636
19714
|
console.warn(`definitionId on ${prosemirrorNode.type} is required to be interpreted as a block, skipping node`);
|
|
19637
19715
|
return [];
|
|
@@ -19672,7 +19750,7 @@ function parseAsRichText(prosemirrorNode, definition, property) {
|
|
|
19672
19750
|
const id = getProsemirrorBlockId(prosemirrorNode);
|
|
19673
19751
|
if (!id) return null;
|
|
19674
19752
|
const variantId = getProsemirrorBlockVariantId(prosemirrorNode);
|
|
19675
|
-
const calloutType = parseCalloutType(getProsemirrorAttribute(prosemirrorNode, "type",
|
|
19753
|
+
const calloutType = parseCalloutType(getProsemirrorAttribute(prosemirrorNode, "type", z385.string().optional()));
|
|
19676
19754
|
return {
|
|
19677
19755
|
id,
|
|
19678
19756
|
type: "Block",
|
|
@@ -19795,9 +19873,9 @@ function parseRichTextAttribute(mark) {
|
|
|
19795
19873
|
return null;
|
|
19796
19874
|
}
|
|
19797
19875
|
function parseProsemirrorLink(mark) {
|
|
19798
|
-
const href = getProsemirrorAttribute(mark, "href",
|
|
19876
|
+
const href = getProsemirrorAttribute(mark, "href", z385.string().optional());
|
|
19799
19877
|
if (!href) return null;
|
|
19800
|
-
const target = getProsemirrorAttribute(mark, "target",
|
|
19878
|
+
const target = getProsemirrorAttribute(mark, "target", z385.string().optional());
|
|
19801
19879
|
const openInNewTab = target === "_blank";
|
|
19802
19880
|
if (href.startsWith("@")) {
|
|
19803
19881
|
return {
|
|
@@ -19816,9 +19894,9 @@ function parseProsemirrorLink(mark) {
|
|
|
19816
19894
|
}
|
|
19817
19895
|
}
|
|
19818
19896
|
function parseProsemirrorCommentHighlight(mark) {
|
|
19819
|
-
const highlightId = getProsemirrorAttribute(mark, "highlightId",
|
|
19897
|
+
const highlightId = getProsemirrorAttribute(mark, "highlightId", z385.string().optional());
|
|
19820
19898
|
if (!highlightId) return null;
|
|
19821
|
-
const isResolved = getProsemirrorAttribute(mark, "resolved",
|
|
19899
|
+
const isResolved = getProsemirrorAttribute(mark, "resolved", z385.boolean().optional()) ?? false;
|
|
19822
19900
|
return {
|
|
19823
19901
|
type: "Comment",
|
|
19824
19902
|
commentHighlightId: highlightId,
|
|
@@ -19829,7 +19907,7 @@ function parseAsTable(prosemirrorNode, definition, property) {
|
|
|
19829
19907
|
const id = getProsemirrorBlockId(prosemirrorNode);
|
|
19830
19908
|
if (!id) return null;
|
|
19831
19909
|
const variantId = getProsemirrorBlockVariantId(prosemirrorNode);
|
|
19832
|
-
const hasBorder = getProsemirrorAttribute(prosemirrorNode, "hasBorder",
|
|
19910
|
+
const hasBorder = getProsemirrorAttribute(prosemirrorNode, "hasBorder", z385.boolean().optional()) !== false;
|
|
19833
19911
|
const tableChild = prosemirrorNode.content?.find((c) => c.type === "table");
|
|
19834
19912
|
if (!tableChild) {
|
|
19835
19913
|
return emptyTable(id, variantId, 0);
|
|
@@ -19875,9 +19953,9 @@ function parseAsTable(prosemirrorNode, definition, property) {
|
|
|
19875
19953
|
function parseAsTableCell(prosemirrorNode) {
|
|
19876
19954
|
const id = getProsemirrorBlockId(prosemirrorNode);
|
|
19877
19955
|
if (!id) return null;
|
|
19878
|
-
const textAlign = getProsemirrorAttribute(prosemirrorNode, "textAlign",
|
|
19956
|
+
const textAlign = getProsemirrorAttribute(prosemirrorNode, "textAlign", z385.string().optional());
|
|
19879
19957
|
let columnWidth;
|
|
19880
|
-
const columnWidthArray = getProsemirrorAttribute(prosemirrorNode, "colwidth",
|
|
19958
|
+
const columnWidthArray = getProsemirrorAttribute(prosemirrorNode, "colwidth", z385.array(z385.number()).nullish());
|
|
19881
19959
|
if (columnWidthArray) {
|
|
19882
19960
|
columnWidth = roundDimension(columnWidthArray[0]);
|
|
19883
19961
|
}
|
|
@@ -19913,7 +19991,7 @@ function parseAsTableNode(prosemirrorNode) {
|
|
|
19913
19991
|
value: parseRichText(prosemirrorNode.content ?? [])
|
|
19914
19992
|
};
|
|
19915
19993
|
case "image":
|
|
19916
|
-
const items = getProsemirrorAttribute(prosemirrorNode, "items",
|
|
19994
|
+
const items = getProsemirrorAttribute(prosemirrorNode, "items", z385.string());
|
|
19917
19995
|
if (!items) return null;
|
|
19918
19996
|
const parsedItems = PageBlockItemV2.array().safeParse(JSON.parse(items));
|
|
19919
19997
|
if (!parsedItems.success) return null;
|
|
@@ -20027,7 +20105,7 @@ function definitionExpectsPlaceholderItem(definition) {
|
|
|
20027
20105
|
);
|
|
20028
20106
|
}
|
|
20029
20107
|
function parseBlockItems(prosemirrorNode, definition) {
|
|
20030
|
-
const itemsString = getProsemirrorAttribute(prosemirrorNode, "items",
|
|
20108
|
+
const itemsString = getProsemirrorAttribute(prosemirrorNode, "items", z385.string());
|
|
20031
20109
|
if (!itemsString) return null;
|
|
20032
20110
|
const itemsJson = JSON.parse(itemsString);
|
|
20033
20111
|
if (!Array.isArray(itemsJson)) {
|
|
@@ -20038,18 +20116,18 @@ function parseBlockItems(prosemirrorNode, definition) {
|
|
|
20038
20116
|
}
|
|
20039
20117
|
function parseAppearance(prosemirrorNode) {
|
|
20040
20118
|
let appearance = {};
|
|
20041
|
-
const rawAppearanceString = getProsemirrorAttribute(prosemirrorNode, "appearance",
|
|
20119
|
+
const rawAppearanceString = getProsemirrorAttribute(prosemirrorNode, "appearance", z385.string().optional());
|
|
20042
20120
|
if (rawAppearanceString) {
|
|
20043
20121
|
const parsedAppearance = PageBlockAppearanceV2.safeParse(JSON.parse(rawAppearanceString));
|
|
20044
20122
|
if (parsedAppearance.success) {
|
|
20045
20123
|
appearance = parsedAppearance.data;
|
|
20046
20124
|
}
|
|
20047
20125
|
}
|
|
20048
|
-
const columns = getProsemirrorAttribute(prosemirrorNode, "columns",
|
|
20126
|
+
const columns = getProsemirrorAttribute(prosemirrorNode, "columns", z385.number().optional());
|
|
20049
20127
|
if (columns) {
|
|
20050
20128
|
appearance.numberOfColumns = columns;
|
|
20051
20129
|
}
|
|
20052
|
-
const backgroundColor = getProsemirrorAttribute(prosemirrorNode, "backgroundColor",
|
|
20130
|
+
const backgroundColor = getProsemirrorAttribute(prosemirrorNode, "backgroundColor", z385.string().optional());
|
|
20053
20131
|
if (backgroundColor) {
|
|
20054
20132
|
const parsedColor = PageBlockColorV2.safeParse(JSON.parse(backgroundColor));
|
|
20055
20133
|
if (parsedColor.success) {
|
|
@@ -20150,12 +20228,12 @@ function valueSchemaForPropertyType(type) {
|
|
|
20150
20228
|
}
|
|
20151
20229
|
}
|
|
20152
20230
|
function getProsemirrorBlockId(prosemirrorNode) {
|
|
20153
|
-
const id = getProsemirrorAttribute(prosemirrorNode, "id",
|
|
20231
|
+
const id = getProsemirrorAttribute(prosemirrorNode, "id", z385.string());
|
|
20154
20232
|
if (!id) console.warn(`Prosemirror attribute "id" on ${prosemirrorNode.type} is required`);
|
|
20155
20233
|
return id;
|
|
20156
20234
|
}
|
|
20157
20235
|
function getProsemirrorBlockVariantId(prosemirrorNode) {
|
|
20158
|
-
return getProsemirrorAttribute(prosemirrorNode, "variantId", nullishToOptional(
|
|
20236
|
+
return getProsemirrorAttribute(prosemirrorNode, "variantId", nullishToOptional(z385.string()));
|
|
20159
20237
|
}
|
|
20160
20238
|
function getProsemirrorAttribute(prosemirrorNode, attributeName, validationSchema) {
|
|
20161
20239
|
const parsedAttr = validationSchema.safeParse(prosemirrorNode.attrs?.[attributeName]);
|
|
@@ -21854,6 +21932,14 @@ export {
|
|
|
21854
21932
|
DTOIntegrationPostResponse,
|
|
21855
21933
|
DTOIntegrationsGetListResponse,
|
|
21856
21934
|
DTOKeepAliveFeatureSandboxResponse,
|
|
21935
|
+
DTOKnowledgeItem,
|
|
21936
|
+
DTOKnowledgeItemCreatePayload,
|
|
21937
|
+
DTOKnowledgeItemDeletePayload,
|
|
21938
|
+
DTOKnowledgeItemDeleteResponse,
|
|
21939
|
+
DTOKnowledgeItemListResponse,
|
|
21940
|
+
DTOKnowledgeItemResponse,
|
|
21941
|
+
DTOKnowledgeItemType,
|
|
21942
|
+
DTOKnowledgeItemUpdatePayload,
|
|
21857
21943
|
DTOLiveblocksAuthRequest,
|
|
21858
21944
|
DTOLiveblocksAuthResponse,
|
|
21859
21945
|
DTOLoginScreenSettings,
|
|
@@ -22189,6 +22275,7 @@ export {
|
|
|
22189
22275
|
WorkspaceConfigurationPayload,
|
|
22190
22276
|
WorkspaceIntegrationsEndpoint,
|
|
22191
22277
|
WorkspaceInvitationsEndpoint,
|
|
22278
|
+
WorkspaceKnowledgeItemsEndpoint,
|
|
22192
22279
|
WorkspaceMembersEndpoint,
|
|
22193
22280
|
WorkspaceNpmRegistryEndpoint,
|
|
22194
22281
|
WorkspaceSubscriptionEndpoint,
|