@supernova-studio/model 1.46.5 → 1.47.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 +49 -13
- package/dist/index.d.ts +49 -13
- package/dist/index.js +21 -17
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +38 -34
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -158,7 +158,8 @@ var FeaturesSummary = _zod.z.object({
|
|
|
158
158
|
forgeProjectFileSize: featureLimitedSchema,
|
|
159
159
|
forgeActiveFeaturesPerProject: featureLimitedSchema,
|
|
160
160
|
forgeActiveDocumentsPerProject: featureLimitedSchema,
|
|
161
|
-
forgePrivateProjects: featureToggleSchema
|
|
161
|
+
forgePrivateProjects: featureToggleSchema,
|
|
162
|
+
forgeActiveProjectContexts: featureLimitedSchema
|
|
162
163
|
});
|
|
163
164
|
|
|
164
165
|
// src/billing/invoice.ts
|
|
@@ -5904,20 +5905,6 @@ var ForgeProjectArtifactContent = _zod.z.object({
|
|
|
5904
5905
|
// src/forge/project-artifact.ts
|
|
5905
5906
|
|
|
5906
5907
|
|
|
5907
|
-
// src/forge/project-section.ts
|
|
5908
|
-
|
|
5909
|
-
var ForgeProjectSectionChildType = _zod.z.enum(["Artifact", "Feature"]);
|
|
5910
|
-
var SortOrder = _zod.z.number().int();
|
|
5911
|
-
var ForgeSection = _zod.z.object({
|
|
5912
|
-
id: Id,
|
|
5913
|
-
projectId: _zod.z.string(),
|
|
5914
|
-
name: _zod.z.string(),
|
|
5915
|
-
sortOrder: SortOrder.default(0),
|
|
5916
|
-
createdAt: _zod.z.coerce.date(),
|
|
5917
|
-
updatedAt: _zod.z.coerce.date(),
|
|
5918
|
-
childType: ForgeProjectSectionChildType
|
|
5919
|
-
});
|
|
5920
|
-
|
|
5921
5908
|
// src/files/files.ts
|
|
5922
5909
|
|
|
5923
5910
|
var FileFigmaRenderMode = _zod2.default.enum(["Image", "HTML", "JSON"]);
|
|
@@ -5952,6 +5939,20 @@ var FileReference = File.pick({
|
|
|
5952
5939
|
name: File.shape.name.optional()
|
|
5953
5940
|
});
|
|
5954
5941
|
|
|
5942
|
+
// src/forge/project-section.ts
|
|
5943
|
+
|
|
5944
|
+
var ForgeProjectSectionChildType = _zod.z.enum(["Artifact", "Feature"]);
|
|
5945
|
+
var SortOrder = _zod.z.number().int();
|
|
5946
|
+
var ForgeSection = _zod.z.object({
|
|
5947
|
+
id: Id,
|
|
5948
|
+
projectId: _zod.z.string(),
|
|
5949
|
+
name: _zod.z.string(),
|
|
5950
|
+
sortOrder: SortOrder.default(0),
|
|
5951
|
+
createdAt: _zod.z.coerce.date(),
|
|
5952
|
+
updatedAt: _zod.z.coerce.date(),
|
|
5953
|
+
childType: ForgeProjectSectionChildType
|
|
5954
|
+
});
|
|
5955
|
+
|
|
5955
5956
|
// src/forge/project-artifact.ts
|
|
5956
5957
|
var ForgeProjectArtifact = _zod.z.object({
|
|
5957
5958
|
id: Id,
|
|
@@ -5965,7 +5966,10 @@ var ForgeProjectArtifact = _zod.z.object({
|
|
|
5965
5966
|
createdByUserId: _zod.z.string(),
|
|
5966
5967
|
sectionId: Id.optional(),
|
|
5967
5968
|
threadId: _zod.z.string().optional(),
|
|
5968
|
-
thumbnail: FileReference.optional()
|
|
5969
|
+
thumbnail: FileReference.optional(),
|
|
5970
|
+
// Default value here is important for backward compatibility for parsing artifacts
|
|
5971
|
+
// from project rooms!
|
|
5972
|
+
isArchived: _zod.z.boolean().default(false)
|
|
5969
5973
|
});
|
|
5970
5974
|
|
|
5971
5975
|
// src/forge/project-feature.ts
|
|
@@ -5976,7 +5980,7 @@ var ProjectFeature = _zod.z.object({
|
|
|
5976
5980
|
createdByUserId: _zod.z.string(),
|
|
5977
5981
|
description: _zod.z.string(),
|
|
5978
5982
|
id: Id,
|
|
5979
|
-
isArchived: _zod.z.boolean()
|
|
5983
|
+
isArchived: _zod.z.boolean(),
|
|
5980
5984
|
name: _zod.z.string(),
|
|
5981
5985
|
projectId: _zod.z.string(),
|
|
5982
5986
|
sectionId: Id.optional(),
|