Access via:
io.appManager.inMemoryInMemoryStoreinterface
API for handling app definitions at runtime. The API methods operate only on in-memory app definitions.
4 Methods
export()⚓︎
() => Promise<Definition[]>
Exports all available app definitions from the in-memory store.
import()⚓︎
(definitions: Definition[], mode?: "replace" | "merge") => Promise<ImportResult>
Imports the provided collection of app definitions.
Parameters (2)
| Name | Type | Required | Description |
|---|---|---|---|
| definitions⚓︎ | Definition[] | A collection of app definition objects to be imported. |
|
| mode⚓︎ | "replace" | "merge" | x | Mode for importing app definitions. Use |