Skip to content

Latest commit

 

History

History
178 lines (97 loc) · 2.74 KB

Workspace.md

File metadata and controls

178 lines (97 loc) · 2.74 KB

@neuralinnovations/dataisland-sdk - v0.0.1-dev57 / Exports / Workspace

Class: Workspace

Workspace.

Hierarchy

Table of contents

Constructors

Accessors

Methods

Constructors

constructor

new Workspace(): Workspace

Returns

Workspace

Inherited from

EventDispatcher.constructor

Accessors

description

get description(): string

Workspace description.

Returns

string


files

get files(): Files

Workspace files.

Returns

Files


id

get id(): string

Workspace id.

Returns

string


name

get name(): string

Workspace name.

Returns

string


organization

get organization(): Organization

Organization.

Returns

Organization

Methods

change

change(name, description): Promise<void>

Change workspace name and description.

Parameters

Name Type
name string
description string

Returns

Promise<void>


dispatch

dispatch(input): void

Parameters

Name Type
input Input<CHANGED, Workspace>

Returns

void

Inherited from

EventDispatcher.dispatch


filesCount

filesCount(): Promise<number>

Workspace files count.

Returns

Promise<number>


subscribe

subscribe(callback, type?): Disposable

Parameters

Name Type
callback (event: Event<CHANGED, Workspace>) => void
type? CHANGED

Returns

Disposable

Inherited from

EventDispatcher.subscribe