@supernova-studio/client 1.50.1 → 1.50.3
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 +435 -0
- package/dist/index.d.ts +435 -0
- package/dist/index.js +9 -4
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +9 -4
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
package/dist/index.mjs
CHANGED
|
@@ -4426,14 +4426,14 @@ var WorkspaceUntypedData = z130.object({
|
|
|
4426
4426
|
var WorkspaceRoleSchema = z131.enum(["Owner", "Admin", "Creator", "Viewer", "Billing", "Guest", "Contributor"]);
|
|
4427
4427
|
var WorkspaceRole = WorkspaceRoleSchema.enum;
|
|
4428
4428
|
var WorkspaceSeatType = z131.enum(["Full", "Builder", "None"]);
|
|
4429
|
-
var
|
|
4429
|
+
var FULL_SEAT_ROLES = /* @__PURE__ */ new Set([
|
|
4430
4430
|
WorkspaceRole.Owner,
|
|
4431
4431
|
WorkspaceRole.Admin,
|
|
4432
4432
|
WorkspaceRole.Creator,
|
|
4433
4433
|
WorkspaceRole.Contributor
|
|
4434
4434
|
]);
|
|
4435
|
-
var
|
|
4436
|
-
var
|
|
4435
|
+
var BUILDER_SEAT_ROLES = /* @__PURE__ */ new Set([WorkspaceRole.Owner, WorkspaceRole.Admin, WorkspaceRole.Creator]);
|
|
4436
|
+
var NONE_SEAT_ROLES = /* @__PURE__ */ new Set([WorkspaceRole.Viewer, WorkspaceRole.Billing]);
|
|
4437
4437
|
var MAX_MEMBERS_COUNT = 100;
|
|
4438
4438
|
var UserInvite = z132.object({
|
|
4439
4439
|
email: z132.string().email().trim().transform((value) => value.toLowerCase()),
|
|
@@ -7534,6 +7534,7 @@ var DTOSubscription = z250.object({
|
|
|
7534
7534
|
internalStatus: InternalStatusSchema.optional(),
|
|
7535
7535
|
product: ProductCodeSchema,
|
|
7536
7536
|
featuresSummary: FeaturesSummary.optional(),
|
|
7537
|
+
allowedRoles: DTOWorkspaceRole.array(),
|
|
7537
7538
|
/**
|
|
7538
7539
|
* @deprecated get available-products for this information
|
|
7539
7540
|
*/
|
|
@@ -10364,7 +10365,11 @@ var DTOForgeProjectContextV2 = z326.object({
|
|
|
10364
10365
|
theme: DTOForgeProjectTheme,
|
|
10365
10366
|
createdAt: z326.coerce.date(),
|
|
10366
10367
|
updatedAt: z326.coerce.date(),
|
|
10367
|
-
thumbnail: DTOFileReference.optional()
|
|
10368
|
+
thumbnail: DTOFileReference.optional(),
|
|
10369
|
+
sandboxTemplate: z326.object({
|
|
10370
|
+
id: z326.string(),
|
|
10371
|
+
version: z326.string()
|
|
10372
|
+
}).optional()
|
|
10368
10373
|
});
|
|
10369
10374
|
var DTOForgeProjectContextCreateV2 = DTOForgeProjectContextV2.omit({
|
|
10370
10375
|
id: true,
|