UPDATE: VERSION-20260315
This commit is contained in:
31
modeler/src/views/decision/designer/template.ts
Normal file
31
modeler/src/views/decision/designer/template.ts
Normal file
@@ -0,0 +1,31 @@
|
||||
/*
|
||||
* This file is part of the kernelstudio package.
|
||||
*
|
||||
* (c) 2014-2026 zlin <admin@kernelstudio.com>
|
||||
*
|
||||
* For the full copyright and license information, please view the LICENSE file
|
||||
* that was distributed with this source code.
|
||||
*/
|
||||
|
||||
import type { ApiDataResponse, NullableString } from '@/types';
|
||||
import type { ElementParameter } from '../graph';
|
||||
|
||||
export interface NodeTemplate {
|
||||
id: number;
|
||||
name: NullableString;
|
||||
type: NullableString;
|
||||
logicHandler: NullableString;
|
||||
description: NullableString;
|
||||
templateType: NullableString;
|
||||
englishName: NullableString;
|
||||
parameters: ElementParameter[],
|
||||
}
|
||||
|
||||
export interface NodeDragTemplate extends NodeTemplate {
|
||||
group: String
|
||||
}
|
||||
|
||||
export interface NodeTemplatesResponse extends ApiDataResponse<NodeTemplate[]> {
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user