@supernova-studio/client 1.43.3 → 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 +1138 -58
- package/dist/index.d.ts +1138 -58
- package/dist/index.js +18 -14
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +18 -14
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
package/dist/index.mjs
CHANGED
|
@@ -9853,6 +9853,10 @@ var DTOForgeProjectArtifactMoveResponse = z317.object({
|
|
|
9853
9853
|
var DTOForgeProjectArtifactsListResponse = z317.object({
|
|
9854
9854
|
artifacts: z317.array(DTOForgeProjectArtifact)
|
|
9855
9855
|
});
|
|
9856
|
+
var DTOForgeProjectArtifactContentResponse = z317.object({
|
|
9857
|
+
artifactId: z317.string(),
|
|
9858
|
+
content: ForgeProjectArtifactContentData
|
|
9859
|
+
});
|
|
9856
9860
|
|
|
9857
9861
|
// src/api/dto/forge/project-feature.ts
|
|
9858
9862
|
import z318 from "zod";
|
|
@@ -9970,7 +9974,7 @@ var DTOForgeComponentSet = z321.object({
|
|
|
9970
9974
|
type: DTOForgeComponentSetTypeV2
|
|
9971
9975
|
});
|
|
9972
9976
|
var DTOForgeIconSetTypeV2 = z321.enum(["Phosphor", "Lucide", "Tabler"]);
|
|
9973
|
-
var
|
|
9977
|
+
var DTOForgeThemeKnownPreset = z321.enum(["Default", "Airbnb", "Spotify", "Windows98"]);
|
|
9974
9978
|
var DTOForgeIconSet = z321.object({
|
|
9975
9979
|
type: DTOForgeIconSetTypeV2,
|
|
9976
9980
|
variant: z321.string().optional()
|
|
@@ -10069,7 +10073,7 @@ var DTOForgeProjectContextV2 = z321.object({
|
|
|
10069
10073
|
productContext: z321.string().optional(),
|
|
10070
10074
|
additionalContext: z321.string().optional(),
|
|
10071
10075
|
isArchived: z321.boolean(),
|
|
10072
|
-
themePreset:
|
|
10076
|
+
themePreset: z321.string().optional(),
|
|
10073
10077
|
componentSet: DTOForgeComponentSet,
|
|
10074
10078
|
iconSet: DTOForgeIconSet,
|
|
10075
10079
|
theme: DTOForgeProjectTheme,
|
|
@@ -10082,9 +10086,17 @@ var DTOForgeProjectContextCreateV2 = DTOForgeProjectContextV2.omit({
|
|
|
10082
10086
|
updatedAt: true,
|
|
10083
10087
|
isArchived: true
|
|
10084
10088
|
});
|
|
10085
|
-
var DTOForgeProjectContextUpdateV2 = DTOForgeProjectContextV2.omit({
|
|
10089
|
+
var DTOForgeProjectContextUpdateV2 = DTOForgeProjectContextV2.omit({
|
|
10090
|
+
id: true,
|
|
10091
|
+
workspaceId: true,
|
|
10092
|
+
createdAt: true,
|
|
10093
|
+
updatedAt: true
|
|
10094
|
+
}).partial();
|
|
10086
10095
|
var DTOForgeProjectContextResponseV2 = z321.object({ context: DTOForgeProjectContextV2 });
|
|
10087
|
-
var DTOForgeProjectContextListQueryV2 = z321.object({
|
|
10096
|
+
var DTOForgeProjectContextListQueryV2 = z321.object({
|
|
10097
|
+
workspaceId: z321.string(),
|
|
10098
|
+
isArchived: z321.coerce.boolean().optional()
|
|
10099
|
+
});
|
|
10088
10100
|
var DTOForgeProjectContextListResponseV2 = z321.object({ contexts: z321.array(DTOForgeProjectContextV2) });
|
|
10089
10101
|
|
|
10090
10102
|
// src/api/dto/forge/project-context.ts
|
|
@@ -11993,15 +12005,6 @@ var ForgeProjectContextsEndpoint = class {
|
|
|
11993
12005
|
}
|
|
11994
12006
|
);
|
|
11995
12007
|
}
|
|
11996
|
-
delete(workspaceId, contextId) {
|
|
11997
|
-
return this.requestExecutor.json(
|
|
11998
|
-
`/workspaces/${workspaceId}/forge/project-contexts/${contextId}`,
|
|
11999
|
-
DTOForgeProjectContextRemoveResponse,
|
|
12000
|
-
{
|
|
12001
|
-
method: "DELETE"
|
|
12002
|
-
}
|
|
12003
|
-
);
|
|
12004
|
-
}
|
|
12005
12008
|
};
|
|
12006
12009
|
|
|
12007
12010
|
// src/api/endpoints/forge/project-files.ts
|
|
@@ -19463,6 +19466,7 @@ export {
|
|
|
19463
19466
|
DTOForgeProjectActionSectionMove,
|
|
19464
19467
|
DTOForgeProjectActionSectionUpdate,
|
|
19465
19468
|
DTOForgeProjectArtifact,
|
|
19469
|
+
DTOForgeProjectArtifactContentResponse,
|
|
19466
19470
|
DTOForgeProjectArtifactCreateInput,
|
|
19467
19471
|
DTOForgeProjectArtifactCreateResponse,
|
|
19468
19472
|
DTOForgeProjectArtifactDeleteInput,
|
|
@@ -19536,7 +19540,7 @@ export {
|
|
|
19536
19540
|
DTOForgeSectionMoveInput,
|
|
19537
19541
|
DTOForgeSectionUpdateInput,
|
|
19538
19542
|
DTOForgeSpecArtifact,
|
|
19539
|
-
|
|
19543
|
+
DTOForgeThemeKnownPreset,
|
|
19540
19544
|
DTOFrameNodeStructure,
|
|
19541
19545
|
DTOFrameNodeStructureListResponse,
|
|
19542
19546
|
DTOGetBlockDefinitionsOutput,
|