- _onShare(
workspace:
| undefined
| Pick<IFrontWorkspacesItem, "id" | "users" | "groups">,
project: undefined | Pick<IFrontProjectsItem, "id" | "users" | "groups">,
userModel:
| undefined
| Pick<IFrontUserModel, "id" | "users" | "groups" | "model">,
groupsSelected: string[],
usersSelected: string[],
swr: {
mutateOneProject?: (project: IFrontMutateProjectsItem) => Promise<void>;
mutateOneWorkspace?: (
workspace: IFrontMutateWorkspacesItem,
) => Promise<void>;
mutateUser?: (user: IFrontMutateUser) => Promise<void>;
},
): Promise<void> Returns Promise<void>
On share