forked from Henry-Hiles/nexus
working login page
This commit is contained in:
parent
cd0d10555b
commit
47a758a33b
12 changed files with 133 additions and 245 deletions
|
|
@ -5,7 +5,7 @@ part "sync_status.g.dart";
|
|||
@freezed
|
||||
abstract class SyncStatus with _$SyncStatus {
|
||||
const factory SyncStatus({
|
||||
required Type type,
|
||||
required SyncStatusType type,
|
||||
required int errorCount,
|
||||
required int lastSync,
|
||||
}) = _SyncStatus;
|
||||
|
|
@ -15,4 +15,4 @@ abstract class SyncStatus with _$SyncStatus {
|
|||
}
|
||||
|
||||
@JsonEnum(fieldRename: FieldRename.snake)
|
||||
enum Type { ok, waiting, erroring, permanentlyFailed }
|
||||
enum SyncStatusType { ok, waiting, erroring, permanentlyFailed }
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue