import { Plugin, PluginResponseType, PluginType } from '../../types/index.js';
import { PUBLIC_INTEGRATIONS_LOGO_URL } from './constants.js';

export const WorkflowPlugin: Plugin = {
  id: 'workflow',
  name: 'Workflow',
  moduleName: 'WorkflowPlugin',
  modulePath: 'plugins/superblocks/workflow/WorkflowPlugin',
  iconLocation: `${PUBLIC_INTEGRATIONS_LOGO_URL}/logo.png`,
  type: PluginType.API,
  responseType: PluginResponseType.JSON,
  hasRawRequest: false,
  datasourceTemplate: {
    sections: []
  },
  actionTemplate: {
    sections: [
      /* Dynamically filled out by resolverContext */
    ]
  }
};
