@wacht/jsx 0.0.1-alpha.42 → 0.0.1-alpha.44
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.cjs.js +140 -140
- package/dist/index.cjs.js.map +1 -1
- package/dist/index.d.ts +2 -4
- package/dist/index.es.js +3044 -3065
- package/dist/index.es.js.map +1 -1
- package/package.json +1 -1
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,
|
|
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,12 +1402,11 @@ 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>;
|
|
1410
1408
|
getWorkspaceInvitations: (workspace: WorkspaceWithOrganization) => Promise<any[]>;
|
|
1411
|
-
createWorkspaceInvitation: (workspace: WorkspaceWithOrganization, email: string, workspaceRoleId
|
|
1409
|
+
createWorkspaceInvitation: (workspace: WorkspaceWithOrganization, email: string, workspaceRoleId?: string) => Promise<unknown>;
|
|
1412
1410
|
discardWorkspaceInvitation: (workspace: WorkspaceWithOrganization, invitationId: string) => Promise<unknown>;
|
|
1413
1411
|
resendWorkspaceInvitation: (workspace: WorkspaceWithOrganization, invitationId: string) => Promise<unknown>;
|
|
1414
1412
|
};
|