Some checks failed
Build & Deploy / 🔍 Prepare (push) Successful in 20s
Build & Deploy / 🧪 QA (push) Failing after 34s
Build & Deploy / 🏗️ Build (push) Has started running
Build & Deploy / 🚀 Deploy (push) Has been cancelled
Build & Deploy / 🧪 Smoke Test (push) Has been cancelled
Build & Deploy / ⚡ Lighthouse (push) Has been cancelled
Build & Deploy / 🔔 Notify (push) Has been cancelled
37 lines
1017 B
Plaintext
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;
|
|
};
|