mirror of
https://github.com/spacedriveapp/spacedrive.git
synced 2026-03-11 11:06:22 -04:00
11 lines
454 B
TypeScript
11 lines
454 B
TypeScript
import type { ClientQuery } from './ClientQuery';
|
|
import type { CoreResource } from './CoreResource';
|
|
|
|
export type CoreEvent =
|
|
| { key: 'InvalidateQuery'; data: ClientQuery }
|
|
| { key: 'InvalidateQueryDebounced'; data: ClientQuery }
|
|
| { key: 'InvalidateResource'; data: CoreResource }
|
|
| { key: 'NewThumbnail'; data: { cas_id: string } }
|
|
| { key: 'Log'; data: { message: string } }
|
|
| { key: 'DatabaseDisconnected'; data: { reason: string | null } };
|