@grnsft/if
Version:
Impact Framework
11 lines (10 loc) • 530 B
TypeScript
import { Context } from '../../common/types/manifest';
import { PluginStorageInterface } from '../types/plugin-storage';
/**
* Registers all plugins from `manifest`.`initialize` property.
* 1. Initalizes plugin storage.
* 2. Iterates over plugin names array.
* 3. While iteration, initalizes current plugin, gathers it's parameters (input/output).
* Then stores the aggregation metrics for each parameter to override stub values.
*/
export declare const initialize: (context: Context) => Promise<PluginStorageInterface>;