@neuralinnovations/dataisland-sdk - v0.0.1-dev57 / Exports / Workspace
Workspace.
-
EventDispatcher
<WorkspaceEvent
,Workspace
>↳
Workspace
• new Workspace(): Workspace
• get
description(): string
Workspace description.
string
• get
files(): Files
Workspace files.
• get
id(): string
Workspace id.
string
• get
name(): string
Workspace name.
string
• get
organization(): Organization
Organization.
▸ change(name
, description
): Promise
<void
>
Change workspace name and description.
Name | Type |
---|---|
name |
string |
description |
string |
Promise
<void
>
▸ dispatch(input
): void
Name | Type |
---|---|
input |
Input <CHANGED , Workspace > |
void
▸ filesCount(): Promise
<number
>
Workspace files count.
Promise
<number
>
▸ subscribe(callback
, type?
): Disposable
Name | Type |
---|---|
callback |
(event : Event <CHANGED , Workspace >) => void |
type? |
CHANGED |