mirror of
https://github.com/spacedriveapp/spacedrive.git
synced 2026-03-12 11:36:32 -04:00
3 lines
786 B
TypeScript
3 lines
786 B
TypeScript
import type { EncryptionAlgorithm } from "./EncryptionAlgorithm";
|
|
|
|
export type ClientCommand = { key: "FileRead", params: { id: bigint, } } | { key: "FileEncrypt", params: { id: bigint, algorithm: EncryptionAlgorithm, } } | { key: "FileDelete", params: { id: bigint, } } | { key: "LibDelete", params: { id: bigint, } } | { key: "TagCreate", params: { name: string, color: string, } } | { key: "TagUpdate", params: { name: string, color: string, } } | { key: "TagAssign", params: { file_id: bigint, tag_id: bigint, } } | { key: "TagDelete", params: { id: bigint, } } | { key: "LocCreate", params: { id: bigint, } } | { key: "LocUpdate", params: { id: bigint, name: string | null, } } | { key: "LocDelete", params: { id: bigint, } } | { key: "SysVolumeUnmount", params: { id: bigint, } }; |