@wacht/jsx 0.0.1-alpha.42 → 0.0.1-alpha.43

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.ts CHANGED
@@ -970,12 +970,11 @@ export declare const useActiveWorkspace: () => {
970
970
  getRoles: () => Promise<WorkspaceRole[]>;
971
971
  createRole: (name: string, permissions: string[]) => Promise<WorkspaceRole | undefined>;
972
972
  deleteRole: (role: WorkspaceRole) => Promise<unknown>;
973
- inviteMember: (email: string, roleId?: string) => Promise<unknown>;
973
+ inviteMember: (email: string, workspaceRoleId: string) => Promise<unknown>;
974
974
  removeMember: (memberId: string) => Promise<unknown>;
975
975
  addMemberRole: (membershipId: string, roleId: string) => Promise<unknown>;
976
976
  removeMemberRole: (membershipId: string, roleId: string) => Promise<unknown>;
977
977
  getInvitations: () => Promise<any[]>;
978
- createInvitation: (email: string, workspaceRoleId: string) => Promise<unknown>;
979
978
  discardInvitation: (invitationId: string) => Promise<unknown>;
980
979
  resendInvitation: (invitationId: string) => Promise<unknown>;
981
980
  };
@@ -1403,7 +1402,6 @@ export declare const useWorkspaceList: () => {
1403
1402
  getWorkspaceRoles: (workspace: Workspace) => Promise<WorkspaceRole[]>;
1404
1403
  createWorkspaceRole: (workspace: Workspace, name: string, permissions: string[]) => Promise<WorkspaceRole>;
1405
1404
  deleteWorkspaceRole: (workspace: Workspace, role: WorkspaceRole) => Promise<unknown>;
1406
- inviteWorkspaceMember: (workspace: Workspace, email: string, roleId?: string) => Promise<unknown>;
1407
1405
  removeWorkspaceMember: (workspace: Workspace, memberId: string) => Promise<unknown>;
1408
1406
  addWorkspaceMemberRole: (workspace: Workspace, membershipId: string, roleId: string) => Promise<unknown>;
1409
1407
  removeWorkspaceMemberRole: (workspace: Workspace, membershipId: string, roleId: string) => Promise<unknown>;