@supernova-studio/model 0.6.0 → 0.7.1
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 +90 -45
- package/dist/index.d.ts +90 -45
- package/dist/index.js +12 -2
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +11 -1
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
- package/src/billing/subscription.ts +1 -1
- package/src/dsm/elements/data/documentation-block-v2.ts +2 -1
- package/src/workspace/workspace-membership.ts +10 -0
package/dist/index.mjs
CHANGED
|
@@ -875,7 +875,8 @@ var PageBlockImageType = z33.enum(["Upload", "Asset", "FigmaFrame"]);
|
|
|
875
875
|
var PageBlockImageAlignment = z33.enum(["Left", "Center", "Stretch"]);
|
|
876
876
|
var PageBlockTableCellAlignment = z33.enum(["Left", "Center", "Right"]);
|
|
877
877
|
var PageBlockAppearanceV2 = z33.object({
|
|
878
|
-
itemBackgroundColor: ColorValue
|
|
878
|
+
itemBackgroundColor: ColorValue.optional(),
|
|
879
|
+
numberOfColumns: z33.number().optional()
|
|
879
880
|
});
|
|
880
881
|
var PageBlockItemUntypedValue = z33.object({
|
|
881
882
|
value: z33.any()
|
|
@@ -2350,6 +2351,14 @@ var WorkspaceMembership = z96.object({
|
|
|
2350
2351
|
workspaceId: z96.string(),
|
|
2351
2352
|
workspaceRole: z96.nativeEnum(WorkspaceRole)
|
|
2352
2353
|
});
|
|
2354
|
+
var UpdateMembershipRolesInput = z96.object({
|
|
2355
|
+
members: z96.array(
|
|
2356
|
+
z96.object({
|
|
2357
|
+
userId: z96.string(),
|
|
2358
|
+
role: z96.nativeEnum(WorkspaceRole)
|
|
2359
|
+
})
|
|
2360
|
+
)
|
|
2361
|
+
});
|
|
2353
2362
|
|
|
2354
2363
|
// src/workspace/workspace.ts
|
|
2355
2364
|
import { z as z97 } from "zod";
|
|
@@ -3265,6 +3274,7 @@ export {
|
|
|
3265
3274
|
TokenDataAliasSchema,
|
|
3266
3275
|
TypographyTokenData,
|
|
3267
3276
|
TypographyValue,
|
|
3277
|
+
UpdateMembershipRolesInput,
|
|
3268
3278
|
UrlImageImportModel,
|
|
3269
3279
|
User,
|
|
3270
3280
|
UserIdentity,
|