Files
auto-solution/modeler/src/views/decision/designer/template.ts

32 lines
771 B
TypeScript
Raw Normal View History

2026-02-08 15:59:14 +08:00
/*
* 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.
*/
2026-02-08 17:57:40 +08:00
import type { ApiDataResponse, NullableString } from '@/types';
2026-03-15 16:36:07 +08:00
import type { ElementParameter } from '../graph';
2026-02-08 20:14:07 +08:00
2026-02-08 15:59:14 +08:00
export interface NodeTemplate {
id: number;
name: NullableString;
type: NullableString;
2026-02-08 16:44:50 +08:00
logicHandler: NullableString;
2026-02-08 15:59:14 +08:00
description: NullableString;
2026-02-09 14:53:05 +08:00
templateType: NullableString;
2026-02-08 16:44:50 +08:00
englishName: NullableString;
2026-02-08 20:27:40 +08:00
parameters: ElementParameter[],
2026-02-08 15:59:14 +08:00
}
2026-03-13 17:05:08 +08:00
export interface NodeDragTemplate extends NodeTemplate {
group: String
}
2026-02-08 16:44:50 +08:00
export interface NodeTemplatesResponse extends ApiDataResponse<NodeTemplate[]> {
2026-02-08 15:59:14 +08:00
}