@supernova-studio/client 1.42.6 → 1.42.7
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 +10 -0
- package/dist/index.d.ts +10 -0
- package/dist/index.js +12 -10
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +23 -21
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
package/dist/index.d.mts
CHANGED
|
@@ -182618,6 +182618,8 @@ declare const DTOForgeProjectResponse: z$1.ZodObject<{
|
|
|
182618
182618
|
additionalContext?: string | undefined;
|
|
182619
182619
|
themePreset?: "Default" | "Airbnb" | "Spotify" | "Windows98" | undefined;
|
|
182620
182620
|
}>;
|
|
182621
|
+
} & {
|
|
182622
|
+
effectiveRole: z$1.ZodEnum<["Viewer", "Builder", "Admin"]>;
|
|
182621
182623
|
}, "strip", z$1.ZodTypeAny, {
|
|
182622
182624
|
id: string;
|
|
182623
182625
|
createdAt: Date;
|
|
@@ -182630,6 +182632,7 @@ declare const DTOForgeProjectResponse: z$1.ZodObject<{
|
|
|
182630
182632
|
updatedAt: Date;
|
|
182631
182633
|
workspaceId: string;
|
|
182632
182634
|
accessMode: "Open" | "InviteOnly" | "Unlisted";
|
|
182635
|
+
effectiveRole: "Admin" | "Viewer" | "Builder";
|
|
182633
182636
|
context: {
|
|
182634
182637
|
id: string;
|
|
182635
182638
|
createdAt: Date;
|
|
@@ -183617,6 +183620,7 @@ declare const DTOForgeProjectResponse: z$1.ZodObject<{
|
|
|
183617
183620
|
updatedAt: Date;
|
|
183618
183621
|
workspaceId: string;
|
|
183619
183622
|
accessMode: "Open" | "InviteOnly" | "Unlisted";
|
|
183623
|
+
effectiveRole: "Admin" | "Viewer" | "Builder";
|
|
183620
183624
|
context: {
|
|
183621
183625
|
id: string;
|
|
183622
183626
|
createdAt: Date;
|
|
@@ -184608,6 +184612,7 @@ declare const DTOForgeProjectResponse: z$1.ZodObject<{
|
|
|
184608
184612
|
updatedAt: Date;
|
|
184609
184613
|
workspaceId: string;
|
|
184610
184614
|
accessMode: "Open" | "InviteOnly" | "Unlisted";
|
|
184615
|
+
effectiveRole: "Admin" | "Viewer" | "Builder";
|
|
184611
184616
|
context: {
|
|
184612
184617
|
id: string;
|
|
184613
184618
|
createdAt: Date;
|
|
@@ -185597,6 +185602,7 @@ declare const DTOForgeProjectResponse: z$1.ZodObject<{
|
|
|
185597
185602
|
updatedAt: Date;
|
|
185598
185603
|
workspaceId: string;
|
|
185599
185604
|
accessMode: "Open" | "InviteOnly" | "Unlisted";
|
|
185605
|
+
effectiveRole: "Admin" | "Viewer" | "Builder";
|
|
185600
185606
|
context: {
|
|
185601
185607
|
id: string;
|
|
185602
185608
|
createdAt: Date;
|
|
@@ -244792,6 +244798,7 @@ declare class ForgeProjectsEndpoint {
|
|
|
244792
244798
|
updatedAt: Date;
|
|
244793
244799
|
workspaceId: string;
|
|
244794
244800
|
accessMode: "Open" | "InviteOnly" | "Unlisted";
|
|
244801
|
+
effectiveRole: "Admin" | "Viewer" | "Builder";
|
|
244795
244802
|
context: {
|
|
244796
244803
|
id: string;
|
|
244797
244804
|
createdAt: Date;
|
|
@@ -245783,6 +245790,7 @@ declare class ForgeProjectsEndpoint {
|
|
|
245783
245790
|
updatedAt: Date;
|
|
245784
245791
|
workspaceId: string;
|
|
245785
245792
|
accessMode: "Open" | "InviteOnly" | "Unlisted";
|
|
245793
|
+
effectiveRole: "Admin" | "Viewer" | "Builder";
|
|
245786
245794
|
context: {
|
|
245787
245795
|
id: string;
|
|
245788
245796
|
createdAt: Date;
|
|
@@ -246774,6 +246782,7 @@ declare class ForgeProjectsEndpoint {
|
|
|
246774
246782
|
updatedAt: Date;
|
|
246775
246783
|
workspaceId: string;
|
|
246776
246784
|
accessMode: "Open" | "InviteOnly" | "Unlisted";
|
|
246785
|
+
effectiveRole: "Admin" | "Viewer" | "Builder";
|
|
246777
246786
|
context: {
|
|
246778
246787
|
id: string;
|
|
246779
246788
|
createdAt: Date;
|
|
@@ -247765,6 +247774,7 @@ declare class ForgeProjectsEndpoint {
|
|
|
247765
247774
|
updatedAt: Date;
|
|
247766
247775
|
workspaceId: string;
|
|
247767
247776
|
accessMode: "Open" | "InviteOnly" | "Unlisted";
|
|
247777
|
+
effectiveRole: "Admin" | "Viewer" | "Builder";
|
|
247768
247778
|
context: {
|
|
247769
247779
|
id: string;
|
|
247770
247780
|
createdAt: Date;
|
package/dist/index.d.ts
CHANGED
|
@@ -182618,6 +182618,8 @@ declare const DTOForgeProjectResponse: z$1.ZodObject<{
|
|
|
182618
182618
|
additionalContext?: string | undefined;
|
|
182619
182619
|
themePreset?: "Default" | "Airbnb" | "Spotify" | "Windows98" | undefined;
|
|
182620
182620
|
}>;
|
|
182621
|
+
} & {
|
|
182622
|
+
effectiveRole: z$1.ZodEnum<["Viewer", "Builder", "Admin"]>;
|
|
182621
182623
|
}, "strip", z$1.ZodTypeAny, {
|
|
182622
182624
|
id: string;
|
|
182623
182625
|
createdAt: Date;
|
|
@@ -182630,6 +182632,7 @@ declare const DTOForgeProjectResponse: z$1.ZodObject<{
|
|
|
182630
182632
|
updatedAt: Date;
|
|
182631
182633
|
workspaceId: string;
|
|
182632
182634
|
accessMode: "Open" | "InviteOnly" | "Unlisted";
|
|
182635
|
+
effectiveRole: "Admin" | "Viewer" | "Builder";
|
|
182633
182636
|
context: {
|
|
182634
182637
|
id: string;
|
|
182635
182638
|
createdAt: Date;
|
|
@@ -183617,6 +183620,7 @@ declare const DTOForgeProjectResponse: z$1.ZodObject<{
|
|
|
183617
183620
|
updatedAt: Date;
|
|
183618
183621
|
workspaceId: string;
|
|
183619
183622
|
accessMode: "Open" | "InviteOnly" | "Unlisted";
|
|
183623
|
+
effectiveRole: "Admin" | "Viewer" | "Builder";
|
|
183620
183624
|
context: {
|
|
183621
183625
|
id: string;
|
|
183622
183626
|
createdAt: Date;
|
|
@@ -184608,6 +184612,7 @@ declare const DTOForgeProjectResponse: z$1.ZodObject<{
|
|
|
184608
184612
|
updatedAt: Date;
|
|
184609
184613
|
workspaceId: string;
|
|
184610
184614
|
accessMode: "Open" | "InviteOnly" | "Unlisted";
|
|
184615
|
+
effectiveRole: "Admin" | "Viewer" | "Builder";
|
|
184611
184616
|
context: {
|
|
184612
184617
|
id: string;
|
|
184613
184618
|
createdAt: Date;
|
|
@@ -185597,6 +185602,7 @@ declare const DTOForgeProjectResponse: z$1.ZodObject<{
|
|
|
185597
185602
|
updatedAt: Date;
|
|
185598
185603
|
workspaceId: string;
|
|
185599
185604
|
accessMode: "Open" | "InviteOnly" | "Unlisted";
|
|
185605
|
+
effectiveRole: "Admin" | "Viewer" | "Builder";
|
|
185600
185606
|
context: {
|
|
185601
185607
|
id: string;
|
|
185602
185608
|
createdAt: Date;
|
|
@@ -244792,6 +244798,7 @@ declare class ForgeProjectsEndpoint {
|
|
|
244792
244798
|
updatedAt: Date;
|
|
244793
244799
|
workspaceId: string;
|
|
244794
244800
|
accessMode: "Open" | "InviteOnly" | "Unlisted";
|
|
244801
|
+
effectiveRole: "Admin" | "Viewer" | "Builder";
|
|
244795
244802
|
context: {
|
|
244796
244803
|
id: string;
|
|
244797
244804
|
createdAt: Date;
|
|
@@ -245783,6 +245790,7 @@ declare class ForgeProjectsEndpoint {
|
|
|
245783
245790
|
updatedAt: Date;
|
|
245784
245791
|
workspaceId: string;
|
|
245785
245792
|
accessMode: "Open" | "InviteOnly" | "Unlisted";
|
|
245793
|
+
effectiveRole: "Admin" | "Viewer" | "Builder";
|
|
245786
245794
|
context: {
|
|
245787
245795
|
id: string;
|
|
245788
245796
|
createdAt: Date;
|
|
@@ -246774,6 +246782,7 @@ declare class ForgeProjectsEndpoint {
|
|
|
246774
246782
|
updatedAt: Date;
|
|
246775
246783
|
workspaceId: string;
|
|
246776
246784
|
accessMode: "Open" | "InviteOnly" | "Unlisted";
|
|
246785
|
+
effectiveRole: "Admin" | "Viewer" | "Builder";
|
|
246777
246786
|
context: {
|
|
246778
246787
|
id: string;
|
|
246779
246788
|
createdAt: Date;
|
|
@@ -247765,6 +247774,7 @@ declare class ForgeProjectsEndpoint {
|
|
|
247765
247774
|
updatedAt: Date;
|
|
247766
247775
|
workspaceId: string;
|
|
247767
247776
|
accessMode: "Open" | "InviteOnly" | "Unlisted";
|
|
247777
|
+
effectiveRole: "Admin" | "Viewer" | "Builder";
|
|
247768
247778
|
context: {
|
|
247769
247779
|
id: string;
|
|
247770
247780
|
createdAt: Date;
|
package/dist/index.js
CHANGED
|
@@ -5161,6 +5161,15 @@ var ForgeIterationMessage = _zod.z.object({
|
|
|
5161
5161
|
type: _zod.z.enum(["Note", "Action", "Steps"]),
|
|
5162
5162
|
text: _zod.z.string()
|
|
5163
5163
|
});
|
|
5164
|
+
var ForgeProjectArtifactContentData = DocumentationPageContentData;
|
|
5165
|
+
var ForgeProjectArtifactContent = _zod.z.object({
|
|
5166
|
+
id: _zod.z.string(),
|
|
5167
|
+
artifactId: _zod.z.string(),
|
|
5168
|
+
projectId: _zod.z.string(),
|
|
5169
|
+
createdAt: _zod.z.coerce.date(),
|
|
5170
|
+
updatedAt: _zod.z.coerce.date(),
|
|
5171
|
+
data: ForgeProjectArtifactContentData
|
|
5172
|
+
});
|
|
5164
5173
|
var ForgeProjectSectionChildType = _zod.z.enum(["Artifact", "Feature"]);
|
|
5165
5174
|
var SortOrder = _zod.z.number().int();
|
|
5166
5175
|
var ForgeSection = _zod.z.object({
|
|
@@ -5185,15 +5194,6 @@ var ForgeProjectArtifact = _zod.z.object({
|
|
|
5185
5194
|
sectionId: Id.optional(),
|
|
5186
5195
|
threadId: _zod.z.string().optional()
|
|
5187
5196
|
});
|
|
5188
|
-
var ForgeProjectArtifactContentData = DocumentationPageContentData;
|
|
5189
|
-
var ForgeProjectArtifactContent = _zod.z.object({
|
|
5190
|
-
id: _zod.z.string(),
|
|
5191
|
-
artifactId: _zod.z.string(),
|
|
5192
|
-
projectId: _zod.z.string(),
|
|
5193
|
-
createdAt: _zod.z.coerce.date(),
|
|
5194
|
-
updatedAt: _zod.z.coerce.date(),
|
|
5195
|
-
data: ForgeProjectArtifactContentData
|
|
5196
|
-
});
|
|
5197
5197
|
var ProjectFeatureStatus = _zod.z.enum(["Draft", "ReadyForDevelopment"]);
|
|
5198
5198
|
var ProjectFeature = _zod.z.object({
|
|
5199
5199
|
createdAt: _zod.z.coerce.date(),
|
|
@@ -10295,7 +10295,9 @@ var DTOForgeProjectListResponse = _zod.z.object({
|
|
|
10295
10295
|
)
|
|
10296
10296
|
});
|
|
10297
10297
|
var DTOForgeProjectResponse = _zod.z.object({
|
|
10298
|
-
project: DTOForgeProject
|
|
10298
|
+
project: DTOForgeProject.extend({
|
|
10299
|
+
effectiveRole: DTOForgeProjectRole
|
|
10300
|
+
})
|
|
10299
10301
|
});
|
|
10300
10302
|
|
|
10301
10303
|
// src/api/dto/forge/threads.ts
|