mirror of
https://github.com/labring/FastGPT.git
synced 2025-12-26 04:32:50 +00:00
12 lines
275 B
TypeScript
12 lines
275 B
TypeScript
import type { ModuleDispatchProps } from '@fastgpt/global/core/module/type.d';
|
|
|
|
export type PluginInputProps = ModuleDispatchProps<{
|
|
[key: string]: any;
|
|
}>;
|
|
|
|
export const dispatchPluginInput = (props: PluginInputProps) => {
|
|
const { inputs } = props;
|
|
|
|
return inputs;
|
|
};
|