Files
spacedrive/core/bindings/CoreEvent.ts
2022-04-25 22:45:48 -07:00

4 lines
448 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, } };