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