mirror of
https://github.com/antebudimir/feishin.git
synced 2026-01-01 10:23:33 +00:00
Move LibraryItem type
This commit is contained in:
parent
3070586104
commit
d1dfbaedaa
27 changed files with 68 additions and 56 deletions
|
|
@ -2,6 +2,7 @@ import { Divider, Group, Stack } from '@mantine/core';
|
|||
import { useClickOutside, useResizeObserver, useSetState, useViewportSize } from '@mantine/hooks';
|
||||
import { closeAllModals, openModal } from '@mantine/modals';
|
||||
import { createContext, Fragment, useState } from 'react';
|
||||
import { LibraryItem } from '/@/renderer/api/types';
|
||||
import { ConfirmModal, ContextMenu, ContextMenuButton, Text, toast } from '/@/renderer/components';
|
||||
import {
|
||||
OpenContextMenuProps,
|
||||
|
|
@ -10,7 +11,7 @@ import {
|
|||
} from '/@/renderer/features/context-menu/events';
|
||||
import { usePlayQueueAdd } from '/@/renderer/features/player';
|
||||
import { useDeletePlaylist } from '/@/renderer/features/playlists';
|
||||
import { LibraryItem, Play } from '/@/renderer/types';
|
||||
import { Play } from '/@/renderer/types';
|
||||
|
||||
type ContextMenuContextProps = {
|
||||
closeContextMenu: () => void;
|
||||
|
|
|
|||
|
|
@ -1,5 +1,5 @@
|
|||
import { createUseExternalEvents } from '@mantine/utils';
|
||||
import { LibraryItem } from '/@/renderer/types';
|
||||
import { LibraryItem } from '/@/renderer/api/types';
|
||||
|
||||
export type OpenContextMenuProps = {
|
||||
data: any[];
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue