Aller au contenu

NodeStorage

Ce contenu n’est pas encore disponible dans votre langue.

Classes

NodeStorage

Properties

data
data: object;
favorites
favorites: MacroBlock[];
paths
paths: string[][];
tags
tags: string[];
userBlocks
userBlocks: MacroBlock[];
Defined in

tmp/graph-editor/src/lib/graph-editor/storage/NodeStorage.svelte.ts:34

graphs
graphs: MacroBlock[];
Defined in

tmp/graph-editor/src/lib/graph-editor/storage/NodeStorage.svelte.ts:28

numGraphs
numGraphs: number;
Defined in

tmp/graph-editor/src/lib/graph-editor/storage/NodeStorage.svelte.ts:27

updateData
updateData: DebouncedFunc<() => void>;
Defined in

tmp/graph-editor/src/lib/graph-editor/storage/NodeStorage.svelte.ts:41

mainStorage
static mainStorage: Database;
Defined in

tmp/graph-editor/src/lib/graph-editor/storage/NodeStorage.svelte.ts:14

pullDataSourcesInterval
static pullDataSourcesInterval: number = 5000;
Defined in

tmp/graph-editor/src/lib/graph-editor/storage/NodeStorage.svelte.ts:13

sources
static sources: Datasource[];
Defined in

tmp/graph-editor/src/lib/graph-editor/storage/NodeStorage.svelte.ts:15

updateTimeout
static updateTimeout: undefined | Timeout;
Defined in

tmp/graph-editor/src/lib/graph-editor/storage/NodeStorage.svelte.ts:106

Accessors

data
get static data(): object
Returns

object

favorites
favorites: MacroBlock[];
paths
paths: string[][];
tags
tags: string[];
userBlocks
userBlocks: MacroBlock[];
Defined in

tmp/graph-editor/src/lib/graph-editor/storage/NodeStorage.svelte.ts:70

favorites
get static favorites(): MacroBlock[]
Returns

MacroBlock[]

Defined in

tmp/graph-editor/src/lib/graph-editor/storage/NodeStorage.svelte.ts:57

graphs
get static graphs(): MacroBlock[]
Returns

MacroBlock[]

Defined in

tmp/graph-editor/src/lib/graph-editor/storage/NodeStorage.svelte.ts:119

instance
get static instance(): NodeStorage
Returns

NodeStorage

Defined in

tmp/graph-editor/src/lib/graph-editor/storage/NodeStorage.svelte.ts:20

macroblocks
get static macroblocks(): MacroBlock[]
Returns

MacroBlock[]

Defined in

tmp/graph-editor/src/lib/graph-editor/storage/NodeStorage.svelte.ts:30

numGraphs
get static numGraphs(): number
Returns

number

Defined in

tmp/graph-editor/src/lib/graph-editor/storage/NodeStorage.svelte.ts:115

paths
get static paths(): string[][]
Returns

string[][]

Defined in

tmp/graph-editor/src/lib/graph-editor/storage/NodeStorage.svelte.ts:66

tags
get static tags(): string[]
Returns

string[]

Defined in

tmp/graph-editor/src/lib/graph-editor/storage/NodeStorage.svelte.ts:60

userBlocks
get static userBlocks(): MacroBlock[]
Returns

MacroBlock[]

Defined in

tmp/graph-editor/src/lib/graph-editor/storage/NodeStorage.svelte.ts:63

Methods

clearGraphs()
static clearGraphs(): Promise<void>
Returns

Promise<void>

Defined in

tmp/graph-editor/src/lib/graph-editor/storage/NodeStorage.svelte.ts:134

deleteMacro()
static deleteMacro(id): Promise<void>
Parameters

id: string

Returns

Promise<void>

Defined in

tmp/graph-editor/src/lib/graph-editor/storage/NodeStorage.svelte.ts:138

getGraph()
static getGraph(id): Promise<undefined | Graph>
Parameters

id: string

Returns

Promise<undefined | Graph>

Defined in

tmp/graph-editor/src/lib/graph-editor/storage/NodeStorage.svelte.ts:126

getGraphs()
static getGraphs(): Promise<Graph[]>
Returns

Promise<Graph[]>

Defined in

tmp/graph-editor/src/lib/graph-editor/storage/NodeStorage.svelte.ts:123

pullSources()
static pullSources(): Promise<void>
Returns

Promise<void>

Defined in

tmp/graph-editor/src/lib/graph-editor/storage/NodeStorage.svelte.ts:142

saveGraph()
static saveGraph(graph): Promise<string>
Parameters

graph: Graph

Returns

Promise<string>

Defined in

tmp/graph-editor/src/lib/graph-editor/storage/NodeStorage.svelte.ts:130

updateLoop()
static updateLoop(): Promise<void>
Returns

Promise<void>

Defined in

tmp/graph-editor/src/lib/graph-editor/storage/NodeStorage.svelte.ts:107

Variables

userStore

const userStore: Writable<string>;

Defined in

tmp/graph-editor/src/lib/graph-editor/storage/NodeStorage.svelte.ts:10