@supernova-studio/model 0.55.21 → 0.55.23
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 +65 -1
- package/dist/index.d.ts +65 -1
- package/dist/index.js +16 -1
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +15 -0
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
- package/src/dsm/membership/design-system-membership.ts +18 -0
package/dist/index.mjs
CHANGED
|
@@ -4065,10 +4065,23 @@ var DesignSystemInvite = z115.object({
|
|
|
4065
4065
|
*/
|
|
4066
4066
|
designSystemRole: DesignSystemRole.optional()
|
|
4067
4067
|
});
|
|
4068
|
+
var DesignSystemMemberUpdate = z115.object({
|
|
4069
|
+
userId: z115.string(),
|
|
4070
|
+
designSystemRole: DesignSystemRole.nullable()
|
|
4071
|
+
});
|
|
4072
|
+
var DesignSystemInviteUpdate = z115.object({
|
|
4073
|
+
/**
|
|
4074
|
+
* Workspace invitation id
|
|
4075
|
+
*/
|
|
4076
|
+
inviteId: z115.string(),
|
|
4077
|
+
designSystemRole: DesignSystemRole.nullable()
|
|
4078
|
+
});
|
|
4068
4079
|
var DesignSystemMembershipUpdates = z115.object({
|
|
4069
4080
|
usersToInvite: DesignSystemUserInvitation.array().optional(),
|
|
4070
4081
|
invitesToInvite: DesignSystemPendingMemberInvitation.array().optional(),
|
|
4071
4082
|
emailsToInvite: DesignSystemInvite.array().optional(),
|
|
4083
|
+
usersToUpdate: DesignSystemMemberUpdate.array().optional(),
|
|
4084
|
+
invitesToUpdate: DesignSystemInviteUpdate.array().optional(),
|
|
4072
4085
|
removeUserIds: z115.string().array().optional(),
|
|
4073
4086
|
deleteInvitationIds: z115.string().array().optional()
|
|
4074
4087
|
});
|
|
@@ -5338,6 +5351,8 @@ export {
|
|
|
5338
5351
|
DesignSystemInvite,
|
|
5339
5352
|
DesignSystemInviteEmailData,
|
|
5340
5353
|
DesignSystemInviteEmailRecipient,
|
|
5354
|
+
DesignSystemInviteUpdate,
|
|
5355
|
+
DesignSystemMemberUpdate,
|
|
5341
5356
|
DesignSystemMembers,
|
|
5342
5357
|
DesignSystemMembership,
|
|
5343
5358
|
DesignSystemMembershipUpdates,
|