22 lines
559 B
TypeScript
22 lines
559 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 { NullableString } from '@/types';
|
||
|
|
|
||
|
|
export interface DraggableElement {
|
||
|
|
id: number | null,
|
||
|
|
key?: NullableString,
|
||
|
|
name: NullableString,
|
||
|
|
description: NullableString,
|
||
|
|
category: NullableString,
|
||
|
|
draggable: boolean,
|
||
|
|
parent?: DraggableElement,
|
||
|
|
children: DraggableElement[]
|
||
|
|
[key: string]: unknown;
|
||
|
|
}
|