mirror of
https://git.selfprivacy.org/kherel/selfprivacy.org.app.git
synced 2024-11-17 22:29:15 +00:00
NaiJi
10bdd4c800
Removing Hetzner type hardcode from server page and replacing it with generic String-based metadata container
22 lines
300 B
Dart
22 lines
300 B
Dart
enum MetadataType {
|
|
id,
|
|
status,
|
|
cpu,
|
|
ram,
|
|
cost,
|
|
location,
|
|
|
|
other,
|
|
}
|
|
|
|
class ServerMetadataEntity {
|
|
ServerMetadataEntity({
|
|
required this.name,
|
|
required this.value,
|
|
this.type = MetadataType.other,
|
|
});
|
|
final MetadataType type;
|
|
final String name;
|
|
final String value;
|
|
}
|