@supernova-studio/client 1.73.1 → 1.74.1
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 +49 -59
- package/dist/index.d.ts +49 -59
- package/dist/index.js +8 -102
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +8 -102
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
package/dist/index.mjs
CHANGED
|
@@ -4240,6 +4240,8 @@ var FigmaExporterProcessedStylesSchema = z125.object({
|
|
|
4240
4240
|
backgroundSize: z125.string().optional(),
|
|
4241
4241
|
backgroundPosition: z125.string().optional(),
|
|
4242
4242
|
backgroundRepeat: z125.string().optional(),
|
|
4243
|
+
// Typed as string to support multiple background blend modes
|
|
4244
|
+
backgroundBlendMode: z125.string().optional(),
|
|
4243
4245
|
backgroundClip: z125.union([z125.literal("border-box"), z125.literal("padding-box"), z125.literal("content-box"), z125.literal("text")]).optional(),
|
|
4244
4246
|
backgroundOrigin: z125.union([z125.literal("border-box"), z125.literal("padding-box"), z125.literal("content-box")]).optional(),
|
|
4245
4247
|
opacity: z125.number().optional(),
|
|
@@ -4315,6 +4317,8 @@ var FigmaExporterProcessedStylesSchema = z125.object({
|
|
|
4315
4317
|
]).optional(),
|
|
4316
4318
|
wordBreak: z125.union([z125.literal("normal"), z125.literal("break-all"), z125.literal("keep-all"), z125.literal("break-word")]).optional(),
|
|
4317
4319
|
textOverflow: z125.union([z125.literal("clip"), z125.literal("ellipsis")]).optional(),
|
|
4320
|
+
WebkitBackgroundClip: z125.literal("text").optional(),
|
|
4321
|
+
WebkitTextFillColor: z125.string().optional(),
|
|
4318
4322
|
WebkitLineClamp: z125.number().optional(),
|
|
4319
4323
|
WebkitBoxOrient: z125.literal("vertical").optional(),
|
|
4320
4324
|
fontFeatureSettings: z125.string().optional(),
|
|
@@ -5838,7 +5842,6 @@ var FlaggedFeature = z208.enum([
|
|
|
5838
5842
|
"ForgeE2BTemplate",
|
|
5839
5843
|
"ForgeOnDemandIterations",
|
|
5840
5844
|
"ForgeAutoRetryOnErrors",
|
|
5841
|
-
"ForgeAiBackendMigrated",
|
|
5842
5845
|
"CustomForgeTemplate",
|
|
5843
5846
|
"ForgeRestartPlaywright"
|
|
5844
5847
|
]);
|
|
@@ -9722,12 +9725,11 @@ var DTOFeatureSandbox = z315.object({
|
|
|
9722
9725
|
url: z315.string(),
|
|
9723
9726
|
parentMessageId: Id.optional(),
|
|
9724
9727
|
currentIterationId: Id,
|
|
9725
|
-
|
|
9726
|
-
featureId: Id.optional(),
|
|
9728
|
+
featureId: Id,
|
|
9727
9729
|
expiresAt: z315.string().optional(),
|
|
9728
9730
|
error: DTOSandboxError.optional()
|
|
9729
9731
|
});
|
|
9730
|
-
var DTOCreateFeatureSandbox = DTOFeatureSandbox
|
|
9732
|
+
var DTOCreateFeatureSandbox = DTOFeatureSandbox;
|
|
9731
9733
|
var DTOUpdateFeatureSandbox = DTOCreateFeatureSandbox.partial().extend({
|
|
9732
9734
|
id: z315.string(),
|
|
9733
9735
|
parentMessageId: Id.nullish(),
|
|
@@ -10940,6 +10942,7 @@ var DTOForgeProjectFeaturePreview = z334.object({
|
|
|
10940
10942
|
name: z334.string(),
|
|
10941
10943
|
thumbnail: DTOFileReference.optional(),
|
|
10942
10944
|
isPublished: z334.boolean().optional(),
|
|
10945
|
+
isArchived: z334.boolean().optional(),
|
|
10943
10946
|
createdAt: z334.string(),
|
|
10944
10947
|
updatedAt: z334.string()
|
|
10945
10948
|
});
|
|
@@ -18961,69 +18964,16 @@ var FeatureRoomBaseYDoc = class {
|
|
|
18961
18964
|
this.yDoc = yDoc;
|
|
18962
18965
|
}
|
|
18963
18966
|
getState() {
|
|
18964
|
-
const iterations = this.getIterations();
|
|
18965
|
-
const artifacts = this.getArtifacts();
|
|
18966
|
-
const iterationTags = this.getIterationTags();
|
|
18967
18967
|
const agentResponseTrackers = this.getAgentResponseTrackers();
|
|
18968
18968
|
const executedTransactionIds = this.getExecutedTransactionIds();
|
|
18969
|
-
const sandboxes = this.getSandboxes();
|
|
18970
18969
|
const isLoaded = true;
|
|
18971
18970
|
return {
|
|
18972
18971
|
isLoaded,
|
|
18973
|
-
iterations,
|
|
18974
|
-
artifacts,
|
|
18975
|
-
iterationTags,
|
|
18976
18972
|
agentResponseTrackers,
|
|
18977
|
-
executedTransactionIds
|
|
18978
|
-
sandboxes
|
|
18973
|
+
executedTransactionIds
|
|
18979
18974
|
};
|
|
18980
18975
|
}
|
|
18981
18976
|
//
|
|
18982
|
-
// Feature Iterations
|
|
18983
|
-
//
|
|
18984
|
-
getIterations() {
|
|
18985
|
-
return this.getObjects(this.iterationsYMap, DTOFeatureIteration);
|
|
18986
|
-
}
|
|
18987
|
-
updateIterations(iterations) {
|
|
18988
|
-
this.setObjects(this.iterationsYMap, iterations);
|
|
18989
|
-
}
|
|
18990
|
-
deleteIterations(ids) {
|
|
18991
|
-
this.deleteObjects(this.iterationsYMap, ids);
|
|
18992
|
-
}
|
|
18993
|
-
get iterationsYMap() {
|
|
18994
|
-
return this.yDoc.getMap("forgeFeatureIterations");
|
|
18995
|
-
}
|
|
18996
|
-
//
|
|
18997
|
-
// Feature Artifacts
|
|
18998
|
-
//
|
|
18999
|
-
getArtifacts() {
|
|
19000
|
-
return this.getObjects(this.artifactsYMap, DTOFeatureArtifact);
|
|
19001
|
-
}
|
|
19002
|
-
updateArtifacts(artifacts) {
|
|
19003
|
-
this.setObjects(this.artifactsYMap, artifacts);
|
|
19004
|
-
}
|
|
19005
|
-
deleteArtifacts(ids) {
|
|
19006
|
-
this.deleteObjects(this.artifactsYMap, ids);
|
|
19007
|
-
}
|
|
19008
|
-
get artifactsYMap() {
|
|
19009
|
-
return this.yDoc.getMap("forgeFeatureArtifacts");
|
|
19010
|
-
}
|
|
19011
|
-
//
|
|
19012
|
-
// Iteration Tags
|
|
19013
|
-
//
|
|
19014
|
-
getIterationTags() {
|
|
19015
|
-
return this.getObjects(this.iterationTagsYMap, DTOFeatureIterationTag);
|
|
19016
|
-
}
|
|
19017
|
-
updateIterationTags(iterationTags) {
|
|
19018
|
-
this.setObjects(this.iterationTagsYMap, iterationTags);
|
|
19019
|
-
}
|
|
19020
|
-
deleteIterationTags(ids) {
|
|
19021
|
-
this.deleteObjects(this.iterationTagsYMap, ids);
|
|
19022
|
-
}
|
|
19023
|
-
get iterationTagsYMap() {
|
|
19024
|
-
return this.yDoc.getMap("forgeFeatureIterationTags");
|
|
19025
|
-
}
|
|
19026
|
-
//
|
|
19027
18977
|
// Agent Response Trackers
|
|
19028
18978
|
//
|
|
19029
18979
|
getAgentResponseTrackers() {
|
|
@@ -19060,21 +19010,6 @@ var FeatureRoomBaseYDoc = class {
|
|
|
19060
19010
|
return this.yDoc.getArray("executedTransactionIds");
|
|
19061
19011
|
}
|
|
19062
19012
|
//
|
|
19063
|
-
// Sandboxes
|
|
19064
|
-
//
|
|
19065
|
-
getSandboxes() {
|
|
19066
|
-
return this.getObjects(this.sandboxesYMap, DTOFeatureSandbox);
|
|
19067
|
-
}
|
|
19068
|
-
updateSandboxes(sandboxes) {
|
|
19069
|
-
this.setObjects(this.sandboxesYMap, sandboxes);
|
|
19070
|
-
}
|
|
19071
|
-
deleteSandboxes(ids) {
|
|
19072
|
-
this.deleteObjects(this.sandboxesYMap, ids);
|
|
19073
|
-
}
|
|
19074
|
-
get sandboxesYMap() {
|
|
19075
|
-
return this.yDoc.getMap("sandboxes");
|
|
19076
|
-
}
|
|
19077
|
-
//
|
|
19078
19013
|
// Utility methods
|
|
19079
19014
|
//
|
|
19080
19015
|
getObjects(map, schema) {
|
|
@@ -19099,16 +19034,8 @@ var BackendFeatureRoomYDoc = class {
|
|
|
19099
19034
|
updateFeatureRoom(transaction) {
|
|
19100
19035
|
this.yDoc.transact((trx) => {
|
|
19101
19036
|
const yDoc = new FeatureRoomBaseYDoc(trx.doc);
|
|
19102
|
-
transaction.iterationIdsToDelete && yDoc.deleteIterations(transaction.iterationIdsToDelete);
|
|
19103
|
-
transaction.iterations && yDoc.updateIterations(transaction.iterations);
|
|
19104
|
-
transaction.artifactIdsToDelete && yDoc.deleteArtifacts(transaction.artifactIdsToDelete);
|
|
19105
|
-
transaction.artifacts && yDoc.updateArtifacts(transaction.artifacts);
|
|
19106
|
-
transaction.iterationTagIdsToDelete && yDoc.deleteIterationTags(transaction.iterationTagIdsToDelete);
|
|
19107
|
-
transaction.iterationTags && yDoc.updateIterationTags(transaction.iterationTags);
|
|
19108
19037
|
transaction.agentResponseTrackerIdsToDelete && yDoc.deleteAgentResponseTrackers(transaction.agentResponseTrackerIdsToDelete);
|
|
19109
19038
|
transaction.agentResponseTrackers && yDoc.updateAgentResponseTrackers(transaction.agentResponseTrackers);
|
|
19110
|
-
transaction.sandboxIdsToDelete && yDoc.deleteSandboxes(transaction.sandboxIdsToDelete);
|
|
19111
|
-
transaction.sandboxes && yDoc.updateSandboxes(transaction.sandboxes);
|
|
19112
19039
|
transaction.executedTransactionIds && yDoc.updateExecutedTransactionIds(transaction.executedTransactionIds);
|
|
19113
19040
|
});
|
|
19114
19041
|
}
|
|
@@ -19133,27 +19060,6 @@ var FrontendFeatureRoomYDoc = class {
|
|
|
19133
19060
|
return doc.getState();
|
|
19134
19061
|
}
|
|
19135
19062
|
//
|
|
19136
|
-
// Feature Iterations
|
|
19137
|
-
//
|
|
19138
|
-
getIterations() {
|
|
19139
|
-
const doc = new FeatureRoomBaseYDoc(this.yDoc);
|
|
19140
|
-
return doc.getIterations();
|
|
19141
|
-
}
|
|
19142
|
-
//
|
|
19143
|
-
// Feature Artifacts
|
|
19144
|
-
//
|
|
19145
|
-
getArtifacts() {
|
|
19146
|
-
const doc = new FeatureRoomBaseYDoc(this.yDoc);
|
|
19147
|
-
return doc.getArtifacts();
|
|
19148
|
-
}
|
|
19149
|
-
//
|
|
19150
|
-
// Iteration Tags
|
|
19151
|
-
//
|
|
19152
|
-
getIterationTags() {
|
|
19153
|
-
const doc = new FeatureRoomBaseYDoc(this.yDoc);
|
|
19154
|
-
return doc.getIterationTags();
|
|
19155
|
-
}
|
|
19156
|
-
//
|
|
19157
19063
|
// Agent Response Trackers
|
|
19158
19064
|
//
|
|
19159
19065
|
getAgentResponseTrackers() {
|