db
Ce contenu n’est pas encore disponible dans votre langue.
Classes
IndexedDBSource
Implements
Constructors
new IndexedDBSource()
Returns
Properties
graphs
Implementation of
Defined in
tmp/graph-editor/src/lib/graph-editor/storage/db.svelte.ts:56
numGraphs
Implementation of
Defined in
tmp/graph-editor/src/lib/graph-editor/storage/db.svelte.ts:51
Accessors
macroblocks
Returns
Observable
<Graph
[]>
Implementation of
Defined in
tmp/graph-editor/src/lib/graph-editor/storage/db.svelte.ts:58
numMacroBlocks
Returns
Observable
<number
>
Implementation of
Defined in
tmp/graph-editor/src/lib/graph-editor/storage/db.svelte.ts:52
Methods
clearGraphs()
Returns
Promise
<void
>
Implementation of
Defined in
tmp/graph-editor/src/lib/graph-editor/storage/db.svelte.ts:18
clearMacroBlocks()
Returns
Promise
<void
>
Implementation of
Defined in
tmp/graph-editor/src/lib/graph-editor/storage/db.svelte.ts:21
deleteMacro()
Parameters
• id: string
Returns
Promise
<void
>
Implementation of
Defined in
tmp/graph-editor/src/lib/graph-editor/storage/db.svelte.ts:15
getGraph()
Parameters
• id: string
Returns
Implementation of
Defined in
tmp/graph-editor/src/lib/graph-editor/storage/db.svelte.ts:35
getGraphs()
Returns
Implementation of
Defined in
tmp/graph-editor/src/lib/graph-editor/storage/db.svelte.ts:24
getMacroBlock()
Parameters
• id: string
Returns
Promise
<undefined
| MacroBlock
>
Implementation of
Defined in
tmp/graph-editor/src/lib/graph-editor/storage/db.svelte.ts:31
getMacroBlocks()
Returns
Defined in
tmp/graph-editor/src/lib/graph-editor/storage/db.svelte.ts:27
saveGraph()
Parameters
• graph: Graph
Returns
Promise
<string
>
Implementation of
Defined in
tmp/graph-editor/src/lib/graph-editor/storage/db.svelte.ts:41
saveGraphs()
Parameters
• graphs: Graph
[]
Returns
Promise
<string
>
Implementation of
Defined in
tmp/graph-editor/src/lib/graph-editor/storage/db.svelte.ts:47
saveMacroBlock()
Parameters
• graph: MacroBlock
Returns
Promise
<string
>
Implementation of
Defined in
tmp/graph-editor/src/lib/graph-editor/storage/db.svelte.ts:38
saveMacroBlocks()
Parameters
• graphs: MacroBlock
[]
Returns
Promise
<string
>
Implementation of
Defined in
tmp/graph-editor/src/lib/graph-editor/storage/db.svelte.ts:44
Variables
db
Database instance to work with IndexedDB.
Type declaration
graphs
Defined in
tmp/graph-editor/src/lib/graph-editor/storage/db.svelte.ts:5