perf:change plugin version update position (#1493)

* perf:change plugin version update position

* use nodeversion
This commit is contained in:
heheer
2024-05-15 17:06:49 +08:00
committed by GitHub
parent 8386f707cd
commit d5073f98ab
10 changed files with 98 additions and 66 deletions

View File

@@ -23,6 +23,7 @@ export type PluginItemSchema = {
customHeaders?: string;
};
version?: 'v1' | 'v2';
nodeVersion?: string;
};
/* plugin template */
@@ -32,6 +33,7 @@ export type PluginTemplateType = PluginRuntimeType & {
source: `${PluginSourceEnum}`;
templateType: FlowNodeTemplateType['templateType'];
intro: string;
nodeVersion: string;
};
export type PluginRuntimeType = {