Skip to main content

anytype_rpc/gen/
anytype.storage.rs

1// This file is @generated by prost-build.
2// Generated on 2026-08-17 UTC from anytype-heart ref 0.50.10.
3#[derive(Clone, PartialEq, ::prost::Message)]
4pub struct Step {
5    #[prost(string, tag = "1")]
6    pub name: ::prost::alloc::string::String,
7    #[prost(message, optional, tag = "2")]
8    pub link: ::core::option::Option<Link>,
9}
10#[derive(Clone, PartialEq, ::prost::Message)]
11pub struct FileKeys {
12    #[prost(map = "string, string", tag = "1")]
13    pub keys_by_path:
14        ::std::collections::HashMap<::prost::alloc::string::String, ::prost::alloc::string::String>,
15}
16#[derive(Clone, PartialEq, ::prost::Message)]
17pub struct FileInfo {
18    /// for retrieving key
19    #[prost(string, tag = "16")]
20    pub path: ::prost::alloc::string::String,
21    #[prost(string, tag = "1")]
22    pub mill: ::prost::alloc::string::String,
23    #[prost(string, tag = "2")]
24    pub checksum: ::prost::alloc::string::String,
25    #[prost(string, tag = "3")]
26    pub source: ::prost::alloc::string::String,
27    #[prost(string, tag = "4")]
28    pub opts: ::prost::alloc::string::String,
29    #[prost(string, tag = "5")]
30    pub hash: ::prost::alloc::string::String,
31    #[prost(string, tag = "6")]
32    pub key: ::prost::alloc::string::String,
33    #[prost(string, tag = "7")]
34    pub media: ::prost::alloc::string::String,
35    #[prost(string, tag = "8")]
36    pub name: ::prost::alloc::string::String,
37    /// useless for variants, used only with original file
38    #[prost(int64, tag = "9")]
39    pub size: i64,
40    #[prost(int64, tag = "10")]
41    pub added: i64,
42    /// goes straight to details, but width is used in searching for resize variant
43    #[prost(message, optional, tag = "11")]
44    pub meta: ::core::option::Option<::prost_types::Struct>,
45    #[prost(string, tag = "14")]
46    pub meta_hash: ::prost::alloc::string::String,
47    #[prost(int64, tag = "15")]
48    pub last_modified_date: i64,
49}
50#[derive(Clone, PartialEq, ::prost::Message)]
51pub struct ImageResizeSchema {
52    #[prost(string, tag = "1")]
53    pub name: ::prost::alloc::string::String,
54    #[prost(string, tag = "4")]
55    pub mill: ::prost::alloc::string::String,
56    #[prost(map = "string, string", tag = "5")]
57    pub opts:
58        ::std::collections::HashMap<::prost::alloc::string::String, ::prost::alloc::string::String>,
59    #[prost(message, optional, tag = "6")]
60    pub json_schema: ::core::option::Option<::prost_types::Struct>,
61    #[prost(message, repeated, tag = "8")]
62    pub links: ::prost::alloc::vec::Vec<Link>,
63}
64#[derive(Clone, PartialEq, ::prost::Message)]
65pub struct Link {
66    #[prost(string, tag = "1")]
67    pub name: ::prost::alloc::string::String,
68    #[prost(string, tag = "4")]
69    pub mill: ::prost::alloc::string::String,
70    #[prost(map = "string, string", tag = "5")]
71    pub opts:
72        ::std::collections::HashMap<::prost::alloc::string::String, ::prost::alloc::string::String>,
73    #[prost(message, optional, tag = "6")]
74    pub json_schema: ::core::option::Option<::prost_types::Struct>,
75}