feat: Further migrations to go_router, add onclick to document previews

This commit is contained in:
Anton Stubenbord
2023-07-31 02:51:00 +02:00
parent f1398e6d4c
commit f3e660e91d
33 changed files with 868 additions and 845 deletions

View File

@@ -8,6 +8,13 @@ import 'package:paperless_api/src/models/labels/matching_algorithm.dart';
part 'label_model.g.dart';
enum LabelType {
correspondent,
documentType,
tag,
storagePath,
}
sealed class Label extends Equatable implements Comparable {
static const idKey = "id";
static const nameKey = "name";