diff --git a/core/bindings/ClientCommand.ts b/core/bindings/ClientCommand.ts index 30f671ffc..0f5b2ced0 100644 --- a/core/bindings/ClientCommand.ts +++ b/core/bindings/ClientCommand.ts @@ -1,2 +1,3 @@ +// This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually. -export type ClientCommand = { key: "FileRead", params: { id: number, } } | { key: "FileDelete", params: { id: number, } } | { key: "LibDelete", params: { id: number, } } | { key: "TagCreate", params: { name: string, color: string, } } | { key: "TagUpdate", params: { name: string, color: string, } } | { key: "TagAssign", params: { file_id: number, tag_id: number, } } | { key: "TagDelete", params: { id: number, } } | { key: "LocCreate", params: { path: string, } } | { key: "LocUpdate", params: { id: number, name: string | null, } } | { key: "LocDelete", params: { id: number, } } | { key: "SysVolumeUnmount", params: { id: number, } } | { key: "GenerateThumbsForLocation", params: { id: number, path: string, } } | { key: "IdentifyUniqueFiles", params: { id: number, path: string, } }; \ No newline at end of file +export type ClientCommand = { key: "FileReadMetaData", params: { id: number, } } | { key: "FileDelete", params: { id: number, } } | { key: "LibDelete", params: { id: number, } } | { key: "TagCreate", params: { name: string, color: string, } } | { key: "TagUpdate", params: { name: string, color: string, } } | { key: "TagAssign", params: { file_id: number, tag_id: number, } } | { key: "TagDelete", params: { id: number, } } | { key: "LocCreate", params: { path: string, } } | { key: "LocUpdate", params: { id: number, name: string | null, } } | { key: "LocDelete", params: { id: number, } } | { key: "SysVolumeUnmount", params: { id: number, } } | { key: "GenerateThumbsForLocation", params: { id: number, path: string, } } | { key: "IdentifyUniqueFiles", params: { id: number, path: string, } }; \ No newline at end of file diff --git a/core/bindings/ClientQuery.ts b/core/bindings/ClientQuery.ts index b953771a8..9d4792a66 100644 --- a/core/bindings/ClientQuery.ts +++ b/core/bindings/ClientQuery.ts @@ -1,2 +1,3 @@ +// This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually. export type ClientQuery = { key: "NodeGetState" } | { key: "SysGetVolumes" } | { key: "LibGetTags" } | { key: "JobGetRunning" } | { key: "JobGetHistory" } | { key: "SysGetLocations" } | { key: "SysGetLocation", params: { id: number, } } | { key: "LibGetExplorerDir", params: { location_id: number, path: string, limit: number, } } | { key: "GetLibraryStatistics" } | { key: "GetNodes" }; \ No newline at end of file diff --git a/core/bindings/CoreEvent.ts b/core/bindings/CoreEvent.ts index 043bfa562..91a556227 100644 --- a/core/bindings/CoreEvent.ts +++ b/core/bindings/CoreEvent.ts @@ -1,3 +1,4 @@ +// This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually. import type { ClientQuery } from "./ClientQuery"; import type { CoreResource } from "./CoreResource"; diff --git a/core/bindings/CoreResource.ts b/core/bindings/CoreResource.ts index 3c2f70c91..4ed7811b5 100644 --- a/core/bindings/CoreResource.ts +++ b/core/bindings/CoreResource.ts @@ -1,3 +1,4 @@ +// This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually. import type { File } from "./File"; import type { JobReport } from "./JobReport"; import type { LocationResource } from "./LocationResource"; diff --git a/core/bindings/CoreResponse.ts b/core/bindings/CoreResponse.ts index 1d0197dc8..94dc0568c 100644 --- a/core/bindings/CoreResponse.ts +++ b/core/bindings/CoreResponse.ts @@ -1,3 +1,4 @@ +// This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually. import type { DirectoryWithContents } from "./DirectoryWithContents"; import type { JobReport } from "./JobReport"; import type { LocationResource } from "./LocationResource"; diff --git a/core/bindings/DirectoryWithContents.ts b/core/bindings/DirectoryWithContents.ts index 89c0fb64f..c41944db8 100644 --- a/core/bindings/DirectoryWithContents.ts +++ b/core/bindings/DirectoryWithContents.ts @@ -1,3 +1,4 @@ +// This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually. import type { FilePath } from "./FilePath"; export interface DirectoryWithContents { directory: FilePath, contents: Array, } \ No newline at end of file diff --git a/core/bindings/File.ts b/core/bindings/File.ts index 3b2068a2a..a77aa779f 100644 --- a/core/bindings/File.ts +++ b/core/bindings/File.ts @@ -1,3 +1,4 @@ +// This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually. import type { FileKind } from "./FileKind"; import type { FilePath } from "./FilePath"; diff --git a/core/bindings/FileKind.ts b/core/bindings/FileKind.ts index 1e0ec7b6c..2b4f51fc7 100644 --- a/core/bindings/FileKind.ts +++ b/core/bindings/FileKind.ts @@ -1,2 +1,3 @@ +// This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually. export type FileKind = "Unknown" | "Directory" | "Package" | "Archive" | "Image" | "Video" | "Audio" | "Plaintext" | "Alias"; \ No newline at end of file diff --git a/core/bindings/FilePath.ts b/core/bindings/FilePath.ts index c492c893d..6d45b049e 100644 --- a/core/bindings/FilePath.ts +++ b/core/bindings/FilePath.ts @@ -1,3 +1,4 @@ +// This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually. import type { File } from "./File"; export interface FilePath { id: number, is_dir: boolean, location_id: number, materialized_path: string, name: string, extension: string | null, file_id: number | null, parent_id: number | null, date_created: string, date_modified: string, date_indexed: string, file: File | null, } \ No newline at end of file diff --git a/core/bindings/JobReport.ts b/core/bindings/JobReport.ts index 0d0846fab..bb1142c93 100644 --- a/core/bindings/JobReport.ts +++ b/core/bindings/JobReport.ts @@ -1,3 +1,4 @@ +// This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually. import type { JobStatus } from "./JobStatus"; export interface JobReport { id: string, name: string, date_created: string, date_modified: string, status: JobStatus, task_count: number, completed_task_count: number, message: string, seconds_elapsed: string, } \ No newline at end of file diff --git a/core/bindings/JobStatus.ts b/core/bindings/JobStatus.ts index 8fc11c5dc..58c3a06b3 100644 --- a/core/bindings/JobStatus.ts +++ b/core/bindings/JobStatus.ts @@ -1,2 +1,3 @@ +// This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually. export type JobStatus = "Queued" | "Running" | "Completed" | "Canceled" | "Failed"; \ No newline at end of file diff --git a/core/bindings/LibraryNode.ts b/core/bindings/LibraryNode.ts index 806ea116a..a3994802e 100644 --- a/core/bindings/LibraryNode.ts +++ b/core/bindings/LibraryNode.ts @@ -1,3 +1,4 @@ +// This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually. import type { Platform } from "./Platform"; export interface LibraryNode { uuid: string, name: string, platform: Platform, tcp_address: string, last_seen: string, last_synchronized: string, } \ No newline at end of file diff --git a/core/bindings/LibraryState.ts b/core/bindings/LibraryState.ts index 17acd81a2..9e77b1d4e 100644 --- a/core/bindings/LibraryState.ts +++ b/core/bindings/LibraryState.ts @@ -1,2 +1,3 @@ +// This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually. export interface LibraryState { library_uuid: string, library_id: number, library_path: string, offline: boolean, } \ No newline at end of file diff --git a/core/bindings/LocationResource.ts b/core/bindings/LocationResource.ts index 70bd1e15a..d64b3d097 100644 --- a/core/bindings/LocationResource.ts +++ b/core/bindings/LocationResource.ts @@ -1,2 +1,3 @@ +// This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually. export interface LocationResource { id: number, name: string | null, path: string | null, total_capacity: number | null, available_capacity: number | null, is_removable: boolean | null, is_online: boolean, date_created: string, } \ No newline at end of file diff --git a/core/bindings/NodeState.ts b/core/bindings/NodeState.ts index 9227caf24..6fc2d5c22 100644 --- a/core/bindings/NodeState.ts +++ b/core/bindings/NodeState.ts @@ -1,3 +1,4 @@ +// This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually. import type { LibraryState } from "./LibraryState"; export interface NodeState { node_pub_id: string, node_id: number, node_name: string, data_path: string, tcp_port: number, libraries: Array, current_library_uuid: string, } \ No newline at end of file diff --git a/core/bindings/Platform.ts b/core/bindings/Platform.ts index a25022b64..30f10773a 100644 --- a/core/bindings/Platform.ts +++ b/core/bindings/Platform.ts @@ -1,2 +1,3 @@ +// This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually. export type Platform = "Unknown" | "Windows" | "MacOS" | "Linux" | "IOS" | "Android"; \ No newline at end of file diff --git a/core/bindings/Statistics.ts b/core/bindings/Statistics.ts index d3af91139..503cd208c 100644 --- a/core/bindings/Statistics.ts +++ b/core/bindings/Statistics.ts @@ -1,2 +1,3 @@ +// This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually. export interface Statistics { total_file_count: number, total_bytes_used: string, total_bytes_capacity: string, total_bytes_free: string, total_unique_bytes: string, preview_media_bytes: string, library_db_size: string, } \ No newline at end of file diff --git a/core/bindings/Volume.ts b/core/bindings/Volume.ts index 4b59fefd3..e40b28748 100644 --- a/core/bindings/Volume.ts +++ b/core/bindings/Volume.ts @@ -1,2 +1,3 @@ +// This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually. export interface Volume { name: string, mount_point: string, total_capacity: bigint, available_capacity: bigint, is_removable: boolean, disk_type: string | null, file_system: string | null, is_root_filesystem: boolean, } \ No newline at end of file