JavaScript is disabled, refresh for a better experience. ambee/giterated

ambee/giterated

Git repository hosting, collaboration, and discovery for the Fediverse.

Unified stack refactor clean up

Clean up obsolete code and some warnings

Amber - ⁨2⁩ years ago

parent: tbd commit: ⁨356f714

⁨giterated-models/src/update/mod.rs⁩ - ⁨369⁩ bytes
Raw
1 use crate::value::AnyValue;
2
3 mod instance;
4 mod repository;
5 mod user;
6
7 pub struct ValueUpdate {
8 pub object: String,
9 pub value_name: String,
10 pub value: AnyValue<()>,
11 }
12
13 #[allow(unused)]
14 pub struct SettingUpdate {
15 object: String,
16 value_name: String,
17 value: AnyValue<()>,
18 }
19
20 pub enum GiteratedUpdateKind {
21 Instance,
22 Repository,
23 Value,
24 }
25