Skip to main content
Module

x/wmill/deps.ts>GroupService

Open-source developer platform to turn scripts into workflows and UIs. Open-source alternative to Airplane and Retool.
Go to Latest
class GroupService
import { GroupService } from "https://deno.land/x/wmill@v1.191.0/deps.ts";

Static Methods

addUserToGroup(unnamed 0: { workspace: string; name: string; requestBody: { username?: string; }; }): CancelablePromise<string>

add user to group

createGroup(unnamed 0: { workspace: string; requestBody: { name: string; summary?: string; }; }): CancelablePromise<string>

create group

deleteGroup(unnamed 0: { workspace: string; name: string; }): CancelablePromise<string>

delete group

getGroup(unnamed 0: { workspace: string; name: string; }): CancelablePromise<Group>

get group

getInstanceGroup(unnamed 0: { name: string; }): CancelablePromise<InstanceGroup>

get instance group

listGroupNames(unnamed 0: { workspace: string; onlyMemberOf?: boolean; }): CancelablePromise<Array<string>>

list group names

listGroups(unnamed 0: { workspace: string; page?: number; perPage?: number; }): CancelablePromise<Array<Group>>

list groups

list instance groups

removeUserToGroup(unnamed 0: { workspace: string; name: string; requestBody: { username?: string; }; }): CancelablePromise<string>

remove user to group

updateGroup(unnamed 0: { workspace: string; name: string; requestBody: { summary?: string; }; }): CancelablePromise<string>

update group