/** * One Screen an app offers other apps as a Plugin (libs/one CONTEXT.md * Plugin): the name a host asks for it by, and its inputs and outputs by name. * Authored into `mag_assets/remote/.yml` and carried into `app-wc.json` * untouched, which is where a host's editor reads it. */ export type PluginContract = { name: string; inputs: string[]; /** The inputs the Screen cannot render without. */ required?: string[]; outputs: string[]; }; export type WebComponentBaseConfig = { app: string; version: string; name?: string; description?: string; company?: string; componentPath?: string; selector: string; appId?: string; link?: string; appConfigPath?: string; icon?: string; logo?: string; theme?: string; plugins?: PluginContract[]; open?: boolean; pwa?: { desc?: string; color?: string; bgcolor?: string; }; }; export type WebComponentConfigWithSpecificComponent = WebComponentBaseConfig & { componentName: string; }; export type WebComponentConfig = WebComponentConfigWithSpecificComponent & { selector: string; className: string; componentFileName?: string; timestamp?: string; }; //# sourceMappingURL=type.d.ts.map