@modyo/cli
Version:
Modyo CLI Command line to expose local development tools
9 lines (8 loc) • 398 B
TypeScript
import { WidgetResources } from './update-widget-from-resources';
export type WidgetUpdateConfig = {
readonly version: string;
readonly accountUrl: string;
readonly siteId: string;
readonly token: string;
};
export default function updateWidget(name: string, widgetId: string, resources: WidgetResources, { version, accountUrl, siteId, token, }: WidgetUpdateConfig): Promise<void>;