Props

interface IProps {
    organizations: Pick<
        IFrontOrganizationsItem,
        "id"
        | "name"
        | "owners"
        | "users"
        | "groups",
    >[];
    page: string;
    swr: {
        delOneWorkspace: (
            workspace: IFrontMutateWorkspacesItem,
        ) => Promise<void>;
        mutateOneWorkspace: (
            workspace: IFrontMutateWorkspacesItem,
        ) => Promise<void>;
    };
    user: Pick<IFrontUser, "id">;
    workspace: Pick<
        IFrontWorkspacesItem,
        "id"
        | "name"
        | "projects"
        | "owners"
        | "users"
        | "groups",
    >;
}

Properties

organizations: Pick<
    IFrontOrganizationsItem,
    "id"
    | "name"
    | "owners"
    | "users"
    | "groups",
>[]
page: string
swr: {
    delOneWorkspace: (
        workspace: IFrontMutateWorkspacesItem,
    ) => Promise<void>;
    mutateOneWorkspace: (
        workspace: IFrontMutateWorkspacesItem,
    ) => Promise<void>;
}
user: Pick<IFrontUser, "id">
workspace: Pick<
    IFrontWorkspacesItem,
    "id"
    | "name"
    | "projects"
    | "owners"
    | "users"
    | "groups",
>