UPDATE: VERSION-20260315

This commit is contained in:
libertyspy
2026-03-15 16:36:07 +08:00
parent 22e71a24d3
commit 83a38c6db8
9 changed files with 493 additions and 38 deletions

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