@supernova-studio/model 1.10.11 → 1.10.13
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 +20 -6
- package/dist/index.d.ts +20 -6
- package/dist/index.js +11 -5
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +11 -5
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
package/dist/index.mjs
CHANGED
|
@@ -6338,16 +6338,19 @@ var ForgeProjectIteration = z195.object({
|
|
|
6338
6338
|
|
|
6339
6339
|
// src/forge/project-membership.ts
|
|
6340
6340
|
import { z as z196 } from "zod";
|
|
6341
|
-
var
|
|
6341
|
+
var ForgeProjectRole = z196.enum(["Viewer", "Editor", "Admin"]);
|
|
6342
|
+
var ForgeProjectMembership = z196.object({
|
|
6342
6343
|
userId: z196.string(),
|
|
6343
6344
|
fpId: z196.string(),
|
|
6344
|
-
|
|
6345
|
-
|
|
6345
|
+
workspaceMembershipId: z196.string(),
|
|
6346
|
+
workspaceRole: WorkspaceRoleSchema,
|
|
6347
|
+
role: ForgeProjectRole
|
|
6346
6348
|
});
|
|
6347
6349
|
|
|
6348
6350
|
// src/forge/project.ts
|
|
6349
6351
|
import { z as z197 } from "zod";
|
|
6350
6352
|
var ForgeProjectTag = z197.array(z197.string()).default([]);
|
|
6353
|
+
var ForgeProjectAccessMode = z197.enum(["InviteOnly", "Open"]);
|
|
6351
6354
|
var ForgeProject = z197.object({
|
|
6352
6355
|
createdAt: z197.coerce.date(),
|
|
6353
6356
|
createdByUserId: z197.string().optional(),
|
|
@@ -6358,7 +6361,8 @@ var ForgeProject = z197.object({
|
|
|
6358
6361
|
name: z197.string(),
|
|
6359
6362
|
tags: ForgeProjectTag,
|
|
6360
6363
|
updatedAt: z197.coerce.date().optional(),
|
|
6361
|
-
workspaceId: z197.string()
|
|
6364
|
+
workspaceId: z197.string(),
|
|
6365
|
+
accessMode: ForgeProjectAccessMode
|
|
6362
6366
|
});
|
|
6363
6367
|
|
|
6364
6368
|
// src/integrations/external-oauth-request.ts
|
|
@@ -6846,12 +6850,14 @@ export {
|
|
|
6846
6850
|
ForgeMeta,
|
|
6847
6851
|
ForgeParticipant,
|
|
6848
6852
|
ForgeProject,
|
|
6853
|
+
ForgeProjectAccessMode,
|
|
6849
6854
|
ForgeProjectContext,
|
|
6850
6855
|
ForgeProjectContextDependency,
|
|
6851
6856
|
ForgeProjectContextTailwindConfig,
|
|
6852
6857
|
ForgeProjectIteration,
|
|
6853
6858
|
ForgeProjectIterationMergeMeta,
|
|
6854
|
-
|
|
6859
|
+
ForgeProjectMembership,
|
|
6860
|
+
ForgeProjectRole,
|
|
6855
6861
|
ForgeProjectTag,
|
|
6856
6862
|
ForgeSpecArtifact,
|
|
6857
6863
|
GitBranch,
|