@supernova-studio/client 1.40.1 → 1.40.2
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 +278 -2
- package/dist/index.d.ts +278 -2
- package/dist/index.js +23 -7
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +22 -6
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
package/dist/index.mjs
CHANGED
|
@@ -249,8 +249,7 @@ var AuthV2Request = z3.object({
|
|
|
249
249
|
codeChallenge: z3.string(),
|
|
250
250
|
codeChallengeMethod: z3.string(),
|
|
251
251
|
redirectUri: z3.string(),
|
|
252
|
-
sessionId: z3.string()
|
|
253
|
-
clientApp: z3.string().optional()
|
|
252
|
+
sessionId: z3.string()
|
|
254
253
|
});
|
|
255
254
|
var AuthV2Session = z4.object({
|
|
256
255
|
id: z4.string(),
|
|
@@ -5233,6 +5232,8 @@ var ProjectFeature = z178.object({
|
|
|
5233
5232
|
name: z178.string(),
|
|
5234
5233
|
projectId: z178.string(),
|
|
5235
5234
|
sectionId: Id.optional(),
|
|
5235
|
+
e2bTemplateId: z178.string().nullish(),
|
|
5236
|
+
e2bIterationId: z178.string().nullish(),
|
|
5236
5237
|
sortOrder: SortOrder.default(0),
|
|
5237
5238
|
status: ProjectFeatureStatus.default("Draft"),
|
|
5238
5239
|
updatedAt: z178.coerce.date().optional(),
|
|
@@ -5713,7 +5714,8 @@ var FlaggedFeature = z207.enum([
|
|
|
5713
5714
|
"PulsarPreloadData",
|
|
5714
5715
|
"PulsarConcurrencyMode",
|
|
5715
5716
|
"PulsarConcurrency",
|
|
5716
|
-
"PulsarProfilerMode"
|
|
5717
|
+
"PulsarProfilerMode",
|
|
5718
|
+
"ForgeE2BTemplate"
|
|
5717
5719
|
]);
|
|
5718
5720
|
var FeatureFlagMap = z207.record(FlaggedFeature, z207.boolean());
|
|
5719
5721
|
var FeatureFlag = z207.object({
|
|
@@ -7070,7 +7072,8 @@ var DTOStorybookEntryQuery = z238.object({
|
|
|
7070
7072
|
/**
|
|
7071
7073
|
* Unique ID across versions (non-persistent ID)
|
|
7072
7074
|
*/
|
|
7073
|
-
brandId: z238.string().optional()
|
|
7075
|
+
brandId: z238.string().optional(),
|
|
7076
|
+
excludeDocs: z238.coerce.boolean().optional()
|
|
7074
7077
|
});
|
|
7075
7078
|
var DTOStorybookEntryListResponse = z238.object({ entries: z238.array(DTOStorybookEntry) });
|
|
7076
7079
|
var DTOStorybookEntryResponse = z238.object({ entry: DTOStorybookEntry });
|
|
@@ -10107,6 +10110,9 @@ var DTOThreadMessageCreateInput = DTOThreadMessage.pick({
|
|
|
10107
10110
|
parentMessageId: true,
|
|
10108
10111
|
attachments: true
|
|
10109
10112
|
});
|
|
10113
|
+
var DTOThreadMessageFinalizeInput = z333.object({
|
|
10114
|
+
messageId: Id
|
|
10115
|
+
});
|
|
10110
10116
|
var DTOThreadMessageUpdateInput = DTOThreadMessage.pick({
|
|
10111
10117
|
id: true
|
|
10112
10118
|
}).merge(
|
|
@@ -11188,9 +11194,9 @@ var StorybookEntriesEndpoint = class {
|
|
|
11188
11194
|
constructor(requestExecutor) {
|
|
11189
11195
|
this.requestExecutor = requestExecutor;
|
|
11190
11196
|
}
|
|
11191
|
-
list(dsId,
|
|
11197
|
+
list(dsId, query = {}) {
|
|
11192
11198
|
return this.requestExecutor.json(`/design-systems/${dsId}/versions/head/storybook`, DTOStorybookEntryListResponse, {
|
|
11193
|
-
query: new URLSearchParams(pickDefined(
|
|
11199
|
+
query: new URLSearchParams(pickDefined(query))
|
|
11194
11200
|
});
|
|
11195
11201
|
}
|
|
11196
11202
|
replace(dsId, entryId) {
|
|
@@ -17888,6 +17894,15 @@ var BackendVersionRoomYDoc = class {
|
|
|
17888
17894
|
__publicField(this, "yDoc");
|
|
17889
17895
|
this.yDoc = yDoc;
|
|
17890
17896
|
}
|
|
17897
|
+
getDocumentationHierarchy() {
|
|
17898
|
+
const yDoc = new VersionRoomBaseYDoc(this.yDoc);
|
|
17899
|
+
return {
|
|
17900
|
+
pages: yDoc.getPages(),
|
|
17901
|
+
pageSnapshots: yDoc.getPageSnapshots(),
|
|
17902
|
+
groups: yDoc.getGroups(),
|
|
17903
|
+
groupSnapshots: yDoc.getGroupSnapshots()
|
|
17904
|
+
};
|
|
17905
|
+
}
|
|
17891
17906
|
updateDocumentationHierarchy(transaction) {
|
|
17892
17907
|
this.yDoc.transact((trx) => {
|
|
17893
17908
|
const yDoc = new VersionRoomBaseYDoc(trx.doc);
|
|
@@ -19121,6 +19136,7 @@ export {
|
|
|
19121
19136
|
DTOThreadMessageAgentSender,
|
|
19122
19137
|
DTOThreadMessageAttachments,
|
|
19123
19138
|
DTOThreadMessageCreateInput,
|
|
19139
|
+
DTOThreadMessageFinalizeInput,
|
|
19124
19140
|
DTOThreadMessageListResponse,
|
|
19125
19141
|
DTOThreadMessageResponse,
|
|
19126
19142
|
DTOThreadMessageSender,
|