Files
NapCatQQ/.pnpm-store/v3/files/1e/53ecf5e790896d6e9d2536e69b15bafe8da1e4fc6199b79e2db3b5a0b50eef3bb455561659d4a78440a0983668e44bb1c8b78d58d0b38d0b69a326e1dfb9c1
T
TanTan e311ca3275
Build NapCat Artifacts / Type Check & Test (push) Waiting to run
docs: 仓库链接指向本镜像仓库
2026-11-13 09:25:58 +08:00

37 lines
1017 B
Plaintext

import type { Coordinates, UniqueIdentifier } from '../types';
import type { DroppableContainer } from './types';
export declare enum Action {
DragStart = "dragStart",
DragMove = "dragMove",
DragEnd = "dragEnd",
DragCancel = "dragCancel",
DragOver = "dragOver",
RegisterDroppable = "registerDroppable",
SetDroppableDisabled = "setDroppableDisabled",
UnregisterDroppable = "unregisterDroppable"
}
export declare type Actions = {
type: Action.DragStart;
active: UniqueIdentifier;
initialCoordinates: Coordinates;
} | {
type: Action.DragMove;
coordinates: Coordinates;
} | {
type: Action.DragEnd;
} | {
type: Action.DragCancel;
} | {
type: Action.RegisterDroppable;
element: DroppableContainer;
} | {
type: Action.SetDroppableDisabled;
id: UniqueIdentifier;
key: UniqueIdentifier;
disabled: boolean;
} | {
type: Action.UnregisterDroppable;
id: UniqueIdentifier;
key: UniqueIdentifier;
};