Version: 5.0.0Accessors
- get accessToken(): string
- get authenticated(): boolean
- get tokenLifetime(): number
Methods
- clearLayout(layoutName: string): Promise<any>
Parameters
Returns Promise<any>
- clearPreferences(keys: string[]): Promise<any>
Parameters
Returns Promise<any>
- clearSnippet(snippetName: string): Promise<any>
Parameters
Returns Promise<any>
- clearWorkspace(workspaceName: string): Promise<any>
Parameters
Returns Promise<any>
- getLayouts(): Promise<{}>
- getPreferences(): Promise<any>
- getSharedWorkspaceKey(workspaceId: string): Promise<string>
Parameters
Returns Promise<string>
- getSnippets(): Promise<Map<string, Snippet>>
Returns Promise<Map<string, Snippet>>
- getWorkspace(name: string, isKey?: boolean): Promise<Workspace>
Parameters
name: string
isKey: boolean = false
- setLayout(layoutName: string, layout: any): Promise<boolean>
Parameters
layoutName: string
layout: any
Returns Promise<boolean>
- setPreference(key: string, value: any): Promise<any>
Parameters
Returns Promise<any>
- setPreferences(preferences: any): Promise<any>
Parameters
Returns Promise<any>
- setSnippet(snippetName: string, snippet: Snippet): Promise<any>
Parameters
Returns Promise<any>
- setToken(tokenString: string, tokenLifetime?: number): boolean
Parameters
tokenString: string
tokenLifetime: number = Number.MAX_VALUE
Returns boolean
- stopServer(): Promise<void>
- SetRuntimeConfig(data: any): void