@supernova-studio/client 1.73.0 → 1.74.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.d.mts +52 -62
- package/dist/index.d.ts +52 -62
- package/dist/index.js +12 -102
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +12 -102
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
package/dist/index.mjs
CHANGED
|
@@ -4179,6 +4179,13 @@ var FigmaExporterProcessedStylesSchema = z125.object({
|
|
|
4179
4179
|
z125.literal("center"),
|
|
4180
4180
|
z125.literal("baseline")
|
|
4181
4181
|
]).optional(),
|
|
4182
|
+
justifySelf: z125.union([
|
|
4183
|
+
z125.literal("auto"),
|
|
4184
|
+
z125.literal("stretch"),
|
|
4185
|
+
z125.literal("flex-start"),
|
|
4186
|
+
z125.literal("flex-end"),
|
|
4187
|
+
z125.literal("center")
|
|
4188
|
+
]).optional(),
|
|
4182
4189
|
flexGrow: z125.number().optional(),
|
|
4183
4190
|
flexShrink: z125.number().optional(),
|
|
4184
4191
|
flexBasis: z125.string().optional(),
|
|
@@ -9715,12 +9722,11 @@ var DTOFeatureSandbox = z315.object({
|
|
|
9715
9722
|
url: z315.string(),
|
|
9716
9723
|
parentMessageId: Id.optional(),
|
|
9717
9724
|
currentIterationId: Id,
|
|
9718
|
-
|
|
9719
|
-
featureId: Id.optional(),
|
|
9725
|
+
featureId: Id,
|
|
9720
9726
|
expiresAt: z315.string().optional(),
|
|
9721
9727
|
error: DTOSandboxError.optional()
|
|
9722
9728
|
});
|
|
9723
|
-
var DTOCreateFeatureSandbox = DTOFeatureSandbox
|
|
9729
|
+
var DTOCreateFeatureSandbox = DTOFeatureSandbox;
|
|
9724
9730
|
var DTOUpdateFeatureSandbox = DTOCreateFeatureSandbox.partial().extend({
|
|
9725
9731
|
id: z315.string(),
|
|
9726
9732
|
parentMessageId: Id.nullish(),
|
|
@@ -10933,6 +10939,7 @@ var DTOForgeProjectFeaturePreview = z334.object({
|
|
|
10933
10939
|
name: z334.string(),
|
|
10934
10940
|
thumbnail: DTOFileReference.optional(),
|
|
10935
10941
|
isPublished: z334.boolean().optional(),
|
|
10942
|
+
isArchived: z334.boolean().optional(),
|
|
10936
10943
|
createdAt: z334.string(),
|
|
10937
10944
|
updatedAt: z334.string()
|
|
10938
10945
|
});
|
|
@@ -11222,7 +11229,7 @@ var DTOFigmaExportNodePayload = z340.object({
|
|
|
11222
11229
|
var DTOFigmaExportNodeResponse = z340.object({
|
|
11223
11230
|
file: DTOFile,
|
|
11224
11231
|
// TODO (jovanblazek): Remove sceneNodes from response when done with development
|
|
11225
|
-
|
|
11232
|
+
scene: z340.any().optional()
|
|
11226
11233
|
});
|
|
11227
11234
|
|
|
11228
11235
|
// src/api/dto/liveblocks/auth-response.ts
|
|
@@ -18954,69 +18961,16 @@ var FeatureRoomBaseYDoc = class {
|
|
|
18954
18961
|
this.yDoc = yDoc;
|
|
18955
18962
|
}
|
|
18956
18963
|
getState() {
|
|
18957
|
-
const iterations = this.getIterations();
|
|
18958
|
-
const artifacts = this.getArtifacts();
|
|
18959
|
-
const iterationTags = this.getIterationTags();
|
|
18960
18964
|
const agentResponseTrackers = this.getAgentResponseTrackers();
|
|
18961
18965
|
const executedTransactionIds = this.getExecutedTransactionIds();
|
|
18962
|
-
const sandboxes = this.getSandboxes();
|
|
18963
18966
|
const isLoaded = true;
|
|
18964
18967
|
return {
|
|
18965
18968
|
isLoaded,
|
|
18966
|
-
iterations,
|
|
18967
|
-
artifacts,
|
|
18968
|
-
iterationTags,
|
|
18969
18969
|
agentResponseTrackers,
|
|
18970
|
-
executedTransactionIds
|
|
18971
|
-
sandboxes
|
|
18970
|
+
executedTransactionIds
|
|
18972
18971
|
};
|
|
18973
18972
|
}
|
|
18974
18973
|
//
|
|
18975
|
-
// Feature Iterations
|
|
18976
|
-
//
|
|
18977
|
-
getIterations() {
|
|
18978
|
-
return this.getObjects(this.iterationsYMap, DTOFeatureIteration);
|
|
18979
|
-
}
|
|
18980
|
-
updateIterations(iterations) {
|
|
18981
|
-
this.setObjects(this.iterationsYMap, iterations);
|
|
18982
|
-
}
|
|
18983
|
-
deleteIterations(ids) {
|
|
18984
|
-
this.deleteObjects(this.iterationsYMap, ids);
|
|
18985
|
-
}
|
|
18986
|
-
get iterationsYMap() {
|
|
18987
|
-
return this.yDoc.getMap("forgeFeatureIterations");
|
|
18988
|
-
}
|
|
18989
|
-
//
|
|
18990
|
-
// Feature Artifacts
|
|
18991
|
-
//
|
|
18992
|
-
getArtifacts() {
|
|
18993
|
-
return this.getObjects(this.artifactsYMap, DTOFeatureArtifact);
|
|
18994
|
-
}
|
|
18995
|
-
updateArtifacts(artifacts) {
|
|
18996
|
-
this.setObjects(this.artifactsYMap, artifacts);
|
|
18997
|
-
}
|
|
18998
|
-
deleteArtifacts(ids) {
|
|
18999
|
-
this.deleteObjects(this.artifactsYMap, ids);
|
|
19000
|
-
}
|
|
19001
|
-
get artifactsYMap() {
|
|
19002
|
-
return this.yDoc.getMap("forgeFeatureArtifacts");
|
|
19003
|
-
}
|
|
19004
|
-
//
|
|
19005
|
-
// Iteration Tags
|
|
19006
|
-
//
|
|
19007
|
-
getIterationTags() {
|
|
19008
|
-
return this.getObjects(this.iterationTagsYMap, DTOFeatureIterationTag);
|
|
19009
|
-
}
|
|
19010
|
-
updateIterationTags(iterationTags) {
|
|
19011
|
-
this.setObjects(this.iterationTagsYMap, iterationTags);
|
|
19012
|
-
}
|
|
19013
|
-
deleteIterationTags(ids) {
|
|
19014
|
-
this.deleteObjects(this.iterationTagsYMap, ids);
|
|
19015
|
-
}
|
|
19016
|
-
get iterationTagsYMap() {
|
|
19017
|
-
return this.yDoc.getMap("forgeFeatureIterationTags");
|
|
19018
|
-
}
|
|
19019
|
-
//
|
|
19020
18974
|
// Agent Response Trackers
|
|
19021
18975
|
//
|
|
19022
18976
|
getAgentResponseTrackers() {
|
|
@@ -19053,21 +19007,6 @@ var FeatureRoomBaseYDoc = class {
|
|
|
19053
19007
|
return this.yDoc.getArray("executedTransactionIds");
|
|
19054
19008
|
}
|
|
19055
19009
|
//
|
|
19056
|
-
// Sandboxes
|
|
19057
|
-
//
|
|
19058
|
-
getSandboxes() {
|
|
19059
|
-
return this.getObjects(this.sandboxesYMap, DTOFeatureSandbox);
|
|
19060
|
-
}
|
|
19061
|
-
updateSandboxes(sandboxes) {
|
|
19062
|
-
this.setObjects(this.sandboxesYMap, sandboxes);
|
|
19063
|
-
}
|
|
19064
|
-
deleteSandboxes(ids) {
|
|
19065
|
-
this.deleteObjects(this.sandboxesYMap, ids);
|
|
19066
|
-
}
|
|
19067
|
-
get sandboxesYMap() {
|
|
19068
|
-
return this.yDoc.getMap("sandboxes");
|
|
19069
|
-
}
|
|
19070
|
-
//
|
|
19071
19010
|
// Utility methods
|
|
19072
19011
|
//
|
|
19073
19012
|
getObjects(map, schema) {
|
|
@@ -19092,16 +19031,8 @@ var BackendFeatureRoomYDoc = class {
|
|
|
19092
19031
|
updateFeatureRoom(transaction) {
|
|
19093
19032
|
this.yDoc.transact((trx) => {
|
|
19094
19033
|
const yDoc = new FeatureRoomBaseYDoc(trx.doc);
|
|
19095
|
-
transaction.iterationIdsToDelete && yDoc.deleteIterations(transaction.iterationIdsToDelete);
|
|
19096
|
-
transaction.iterations && yDoc.updateIterations(transaction.iterations);
|
|
19097
|
-
transaction.artifactIdsToDelete && yDoc.deleteArtifacts(transaction.artifactIdsToDelete);
|
|
19098
|
-
transaction.artifacts && yDoc.updateArtifacts(transaction.artifacts);
|
|
19099
|
-
transaction.iterationTagIdsToDelete && yDoc.deleteIterationTags(transaction.iterationTagIdsToDelete);
|
|
19100
|
-
transaction.iterationTags && yDoc.updateIterationTags(transaction.iterationTags);
|
|
19101
19034
|
transaction.agentResponseTrackerIdsToDelete && yDoc.deleteAgentResponseTrackers(transaction.agentResponseTrackerIdsToDelete);
|
|
19102
19035
|
transaction.agentResponseTrackers && yDoc.updateAgentResponseTrackers(transaction.agentResponseTrackers);
|
|
19103
|
-
transaction.sandboxIdsToDelete && yDoc.deleteSandboxes(transaction.sandboxIdsToDelete);
|
|
19104
|
-
transaction.sandboxes && yDoc.updateSandboxes(transaction.sandboxes);
|
|
19105
19036
|
transaction.executedTransactionIds && yDoc.updateExecutedTransactionIds(transaction.executedTransactionIds);
|
|
19106
19037
|
});
|
|
19107
19038
|
}
|
|
@@ -19126,27 +19057,6 @@ var FrontendFeatureRoomYDoc = class {
|
|
|
19126
19057
|
return doc.getState();
|
|
19127
19058
|
}
|
|
19128
19059
|
//
|
|
19129
|
-
// Feature Iterations
|
|
19130
|
-
//
|
|
19131
|
-
getIterations() {
|
|
19132
|
-
const doc = new FeatureRoomBaseYDoc(this.yDoc);
|
|
19133
|
-
return doc.getIterations();
|
|
19134
|
-
}
|
|
19135
|
-
//
|
|
19136
|
-
// Feature Artifacts
|
|
19137
|
-
//
|
|
19138
|
-
getArtifacts() {
|
|
19139
|
-
const doc = new FeatureRoomBaseYDoc(this.yDoc);
|
|
19140
|
-
return doc.getArtifacts();
|
|
19141
|
-
}
|
|
19142
|
-
//
|
|
19143
|
-
// Iteration Tags
|
|
19144
|
-
//
|
|
19145
|
-
getIterationTags() {
|
|
19146
|
-
const doc = new FeatureRoomBaseYDoc(this.yDoc);
|
|
19147
|
-
return doc.getIterationTags();
|
|
19148
|
-
}
|
|
19149
|
-
//
|
|
19150
19060
|
// Agent Response Trackers
|
|
19151
19061
|
//
|
|
19152
19062
|
getAgentResponseTrackers() {
|