@supernova-studio/client 1.43.4 → 1.43.5
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 -58
- package/dist/index.d.ts +52 -58
- package/dist/index.js +13 -14
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +13 -14
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
package/dist/index.mjs
CHANGED
|
@@ -9974,7 +9974,7 @@ var DTOForgeComponentSet = z321.object({
|
|
|
9974
9974
|
type: DTOForgeComponentSetTypeV2
|
|
9975
9975
|
});
|
|
9976
9976
|
var DTOForgeIconSetTypeV2 = z321.enum(["Phosphor", "Lucide", "Tabler"]);
|
|
9977
|
-
var
|
|
9977
|
+
var DTOForgeThemeKnownPreset = z321.enum(["Default", "Airbnb", "Spotify", "Windows98"]);
|
|
9978
9978
|
var DTOForgeIconSet = z321.object({
|
|
9979
9979
|
type: DTOForgeIconSetTypeV2,
|
|
9980
9980
|
variant: z321.string().optional()
|
|
@@ -10073,7 +10073,7 @@ var DTOForgeProjectContextV2 = z321.object({
|
|
|
10073
10073
|
productContext: z321.string().optional(),
|
|
10074
10074
|
additionalContext: z321.string().optional(),
|
|
10075
10075
|
isArchived: z321.boolean(),
|
|
10076
|
-
themePreset:
|
|
10076
|
+
themePreset: z321.string().optional(),
|
|
10077
10077
|
componentSet: DTOForgeComponentSet,
|
|
10078
10078
|
iconSet: DTOForgeIconSet,
|
|
10079
10079
|
theme: DTOForgeProjectTheme,
|
|
@@ -10086,9 +10086,17 @@ var DTOForgeProjectContextCreateV2 = DTOForgeProjectContextV2.omit({
|
|
|
10086
10086
|
updatedAt: true,
|
|
10087
10087
|
isArchived: true
|
|
10088
10088
|
});
|
|
10089
|
-
var DTOForgeProjectContextUpdateV2 = DTOForgeProjectContextV2.omit({
|
|
10089
|
+
var DTOForgeProjectContextUpdateV2 = DTOForgeProjectContextV2.omit({
|
|
10090
|
+
id: true,
|
|
10091
|
+
workspaceId: true,
|
|
10092
|
+
createdAt: true,
|
|
10093
|
+
updatedAt: true
|
|
10094
|
+
}).partial();
|
|
10090
10095
|
var DTOForgeProjectContextResponseV2 = z321.object({ context: DTOForgeProjectContextV2 });
|
|
10091
|
-
var DTOForgeProjectContextListQueryV2 = z321.object({
|
|
10096
|
+
var DTOForgeProjectContextListQueryV2 = z321.object({
|
|
10097
|
+
workspaceId: z321.string(),
|
|
10098
|
+
isArchived: z321.coerce.boolean().optional()
|
|
10099
|
+
});
|
|
10092
10100
|
var DTOForgeProjectContextListResponseV2 = z321.object({ contexts: z321.array(DTOForgeProjectContextV2) });
|
|
10093
10101
|
|
|
10094
10102
|
// src/api/dto/forge/project-context.ts
|
|
@@ -11997,15 +12005,6 @@ var ForgeProjectContextsEndpoint = class {
|
|
|
11997
12005
|
}
|
|
11998
12006
|
);
|
|
11999
12007
|
}
|
|
12000
|
-
delete(workspaceId, contextId) {
|
|
12001
|
-
return this.requestExecutor.json(
|
|
12002
|
-
`/workspaces/${workspaceId}/forge/project-contexts/${contextId}`,
|
|
12003
|
-
DTOForgeProjectContextRemoveResponse,
|
|
12004
|
-
{
|
|
12005
|
-
method: "DELETE"
|
|
12006
|
-
}
|
|
12007
|
-
);
|
|
12008
|
-
}
|
|
12009
12008
|
};
|
|
12010
12009
|
|
|
12011
12010
|
// src/api/endpoints/forge/project-files.ts
|
|
@@ -19541,7 +19540,7 @@ export {
|
|
|
19541
19540
|
DTOForgeSectionMoveInput,
|
|
19542
19541
|
DTOForgeSectionUpdateInput,
|
|
19543
19542
|
DTOForgeSpecArtifact,
|
|
19544
|
-
|
|
19543
|
+
DTOForgeThemeKnownPreset,
|
|
19545
19544
|
DTOFrameNodeStructure,
|
|
19546
19545
|
DTOFrameNodeStructureListResponse,
|
|
19547
19546
|
DTOGetBlockDefinitionsOutput,
|