Files
auto-solution/modeler/src/views/decision/designer/template.ts
2026-03-15 16:36:07 +08:00

32 lines
771 B
TypeScript

/*
* 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[]> {
}