1#[derive(Clone, PartialEq, ::prost::Message)]
4pub struct BorderConfig {
5 #[prost(message, optional, tag = "1")]
7 pub color: ::core::option::Option<super::super::common::ColorConfig>,
8 #[prost(double, tag = "2")]
10 pub border_width: f64,
11 #[prost(double, tag = "3")]
13 pub ratio: f64,
14}
15#[derive(Clone, PartialEq, ::prost::Message)]
17pub struct CommentDoubleClickConfig {
18 #[prost(message, optional, tag = "1")]
20 pub interaction: ::core::option::Option<Interaction>,
21 #[prost(double, tag = "2")]
23 pub animation_scale: f64,
24}
25#[derive(Clone, PartialEq, ::prost::Message)]
27pub struct FollowActionConfig {
28 #[prost(bool, tag = "1")]
30 pub has_follow: bool,
31 #[prost(message, optional, tag = "2")]
33 pub icon_res: ::core::option::Option<super::super::common::ResourceSource>,
34 #[prost(double, tag = "3")]
36 pub border_width: f64,
37 #[prost(message, optional, tag = "4")]
39 pub border_color: ::core::option::Option<super::super::common::ColorConfig>,
40 #[prost(int64, tag = "5")]
42 pub mid: i64,
43 #[prost(double, tag = "6")]
45 pub icon_width_ratio: f64,
46 #[prost(double, tag = "7")]
48 pub icon_size_offset: f64,
49}
50#[derive(Clone, PartialEq, ::prost::Message)]
52pub struct FollowIconConfig {
53 #[prost(bool, tag = "1")]
55 pub has_follow: bool,
56 #[prost(message, optional, tag = "2")]
58 pub icon_res: ::core::option::Option<super::super::common::ResourceSource>,
59 #[prost(double, tag = "3")]
61 pub border_width: f64,
62 #[prost(message, optional, tag = "4")]
64 pub border_color: ::core::option::Option<super::super::common::ColorConfig>,
65 #[prost(int64, tag = "5")]
67 pub mid: i64,
68}
69#[derive(Clone, PartialEq, ::prost::Message)]
71pub struct GyroConfig {
72 #[prost(message, optional, tag = "1")]
74 pub gyroscope: ::core::option::Option<NftImageV2>,
75}
76#[derive(Clone, PartialEq, ::prost::Message)]
78pub struct GyroscopeContentV2 {
79 #[prost(string, tag = "1")]
81 pub file_url: ::prost::alloc::string::String,
82 #[prost(float, tag = "2")]
84 pub scale: f32,
85 #[prost(message, repeated, tag = "3")]
87 pub physical_orientation: ::prost::alloc::vec::Vec<PhysicalOrientationV2>,
88}
89#[derive(Clone, PartialEq, ::prost::Message)]
91pub struct GyroscopeEntityV2 {
92 #[prost(string, tag = "1")]
94 pub display_type: ::prost::alloc::string::String,
95 #[prost(message, repeated, tag = "2")]
97 pub contents: ::prost::alloc::vec::Vec<GyroscopeContentV2>,
98}
99#[derive(Clone, PartialEq, ::prost::Message)]
101pub struct Interaction {
102 #[prost(string, tag = "1")]
104 pub nft_id: ::prost::alloc::string::String,
105 #[prost(bool, tag = "2")]
107 pub enabled: bool,
108 #[prost(string, tag = "3")]
110 pub itype: ::prost::alloc::string::String,
111 #[prost(string, tag = "4")]
113 pub metadata_url: ::prost::alloc::string::String,
114}
115#[derive(Clone, PartialEq, ::prost::Message)]
117pub struct LiveAnimeConfig {
118 #[prost(bool, tag = "1")]
120 pub is_live: bool,
121 #[prost(message, optional, tag = "2")]
123 pub config: ::core::option::Option<LiveTextConfig>,
124 #[prost(message, repeated, tag = "3")]
126 pub items: ::prost::alloc::vec::Vec<LiveAnimeItem>,
127 #[prost(message, repeated, tag = "4")]
129 pub border_config: ::prost::alloc::vec::Vec<BorderConfig>,
130}
131#[derive(Clone, PartialEq, ::prost::Message)]
133pub struct LiveAnimeItem {
134 #[prost(message, optional, tag = "1")]
136 pub color: ::core::option::Option<super::super::common::ColorConfig>,
137 #[prost(double, tag = "2")]
139 pub start_ratio: f64,
140 #[prost(double, tag = "3")]
142 pub end_ratio: f64,
143 #[prost(double, tag = "4")]
145 pub start_stroke: f64,
146 #[prost(double, tag = "5")]
148 pub start_opacity: f64,
149 #[prost(int64, tag = "6")]
151 pub phase: i64,
152}
153#[derive(Clone, PartialEq, ::prost::Message)]
155pub struct LiveTextConfig {
156 #[prost(double, tag = "1")]
158 pub width: f64,
159 #[prost(double, tag = "2")]
161 pub height: f64,
162 #[prost(double, tag = "3")]
164 pub offset_y: f64,
165 #[prost(double, tag = "4")]
167 pub border_width: f64,
168 #[prost(double, tag = "5")]
170 pub text_size: f64,
171 #[prost(message, optional, tag = "7")]
173 pub border_color: ::core::option::Option<super::super::common::ColorConfig>,
174 #[prost(message, optional, tag = "8")]
176 pub background: ::core::option::Option<super::super::common::ColorConfig>,
177}
178#[derive(Clone, PartialEq, ::prost::Message)]
180pub struct NftImageV2 {
181 #[prost(message, repeated, tag = "1")]
183 pub gyroscope: ::prost::alloc::vec::Vec<GyroscopeEntityV2>,
184}
185#[derive(Clone, PartialEq, ::prost::Message)]
187pub struct PhysicalOrientationAnimation {
188 #[prost(string, tag = "1")]
190 pub r#type: ::prost::alloc::string::String,
191 #[prost(float, repeated, tag = "2")]
193 pub value: ::prost::alloc::vec::Vec<f32>,
194 #[prost(string, tag = "3")]
196 pub bezier: ::prost::alloc::string::String,
197}
198#[derive(Clone, PartialEq, ::prost::Message)]
200pub struct PhysicalOrientationV2 {
201 #[prost(string, tag = "1")]
203 pub r#type: ::prost::alloc::string::String,
204 #[prost(float, repeated, tag = "2")]
206 pub angle: ::prost::alloc::vec::Vec<f32>,
207 #[prost(message, repeated, tag = "3")]
209 pub animations: ::prost::alloc::vec::Vec<PhysicalOrientationAnimation>,
210}
211#[derive(Clone, Copy, PartialEq, ::prost::Message)]
213pub struct WebLiveAnimeConfig {
214 #[prost(double, tag = "1")]
216 pub circle_gap_width: f64,
217 #[prost(double, tag = "2")]
219 pub pink_circle_width: f64,
220 #[prost(double, tag = "3")]
222 pub live_label_width: f64,
223 #[prost(double, tag = "4")]
225 pub live_label_height: f64,
226 #[prost(double, tag = "5")]
228 pub live_label_offset_y: f64,
229 #[prost(double, tag = "6")]
231 pub live_label_border_width: f64,
232}