interface
Source: index.ts ↗
IWorkspacesQueryFactory
Factory providing creating queries used to get available workspaces.
export interface IWorkspacesQueryFactory
Methods
Method | Description |
|---|---|
Creates a query for workspaces available to the user currently logged in. | |
Creates a query for workspaces available to the specified user. |
Method details
IWorkspacesQueryFactory.forCurrentUser()method
Creates a query for workspaces available to the user currently logged in.
forCurrentUser(): IWorkspacesQuery;
Returns
IWorkspacesQueryFactory.forUser()method
Creates a query for workspaces available to the specified user.
forUser(userId: string): IWorkspacesQuery;
Parameters
Parameter | Type | Description |
|---|---|---|
userId | string | id of the user to retrieve workspaces for |
Returns