32 lines
771 B
TypeScript
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[]> {
|
|
|
|
}
|
|
|