//
// SPDX-License-Identifier: AGPL-3.0
-import { contextMenuActions, ContextMenuAction } from "./context-menu-actions";
+import { contextMenuActions, ContextMenuAction, ContextMenuResource } from "./context-menu-actions";
export interface ContextMenuState {
open: boolean;
y: number;
}
-export interface ContextMenuResource {
- uuid: string;
- kind: string;
- name: string;
-}
-
const initialState = {
open: false,
position: { x: 0, y: 0 }