@supernova-studio/model 1.10.12 → 1.10.14
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 +7 -1
- package/dist/index.d.ts +7 -1
- package/dist/index.js +6 -5
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +5 -4
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
package/dist/index.mjs
CHANGED
|
@@ -1079,9 +1079,7 @@ function applyShallowObjectUpdate(object, update) {
|
|
|
1079
1079
|
return objectShallowCopy;
|
|
1080
1080
|
}
|
|
1081
1081
|
function pickDefined(obj) {
|
|
1082
|
-
return Object.fromEntries(
|
|
1083
|
-
Object.entries(obj).filter(([_, v]) => v !== void 0)
|
|
1084
|
-
);
|
|
1082
|
+
return Object.fromEntries(Object.entries(obj).filter(([_, v]) => v !== void 0));
|
|
1085
1083
|
}
|
|
1086
1084
|
|
|
1087
1085
|
// src/utils/content-loader-instruction.ts
|
|
@@ -6350,6 +6348,7 @@ var ForgeProjectMembership = z196.object({
|
|
|
6350
6348
|
// src/forge/project.ts
|
|
6351
6349
|
import { z as z197 } from "zod";
|
|
6352
6350
|
var ForgeProjectTag = z197.array(z197.string()).default([]);
|
|
6351
|
+
var ForgeProjectAccessMode = z197.enum(["InviteOnly", "Open"]);
|
|
6353
6352
|
var ForgeProject = z197.object({
|
|
6354
6353
|
createdAt: z197.coerce.date(),
|
|
6355
6354
|
createdByUserId: z197.string().optional(),
|
|
@@ -6360,7 +6359,8 @@ var ForgeProject = z197.object({
|
|
|
6360
6359
|
name: z197.string(),
|
|
6361
6360
|
tags: ForgeProjectTag,
|
|
6362
6361
|
updatedAt: z197.coerce.date().optional(),
|
|
6363
|
-
workspaceId: z197.string()
|
|
6362
|
+
workspaceId: z197.string(),
|
|
6363
|
+
accessMode: ForgeProjectAccessMode
|
|
6364
6364
|
});
|
|
6365
6365
|
|
|
6366
6366
|
// src/integrations/external-oauth-request.ts
|
|
@@ -6848,6 +6848,7 @@ export {
|
|
|
6848
6848
|
ForgeMeta,
|
|
6849
6849
|
ForgeParticipant,
|
|
6850
6850
|
ForgeProject,
|
|
6851
|
+
ForgeProjectAccessMode,
|
|
6851
6852
|
ForgeProjectContext,
|
|
6852
6853
|
ForgeProjectContextDependency,
|
|
6853
6854
|
ForgeProjectContextTailwindConfig,
|