File tree Expand file tree Collapse file tree 1 file changed +22
-1
lines changed
lib/content_management/bloc/archived_sources Expand file tree Collapse file tree 1 file changed +22
-1
lines changed Original file line number Diff line number Diff line change @@ -4,5 +4,26 @@ sealed class ArchivedSourcesEvent extends Equatable {
4
4
const ArchivedSourcesEvent ();
5
5
6
6
@override
7
- List <Object > get props => [];
7
+ List <Object ?> get props => [];
8
+ }
9
+
10
+ /// Event to request loading of archived sources.
11
+ final class LoadArchivedSourcesRequested extends ArchivedSourcesEvent {
12
+ const LoadArchivedSourcesRequested ({this .startAfterId, this .limit});
13
+
14
+ final String ? startAfterId;
15
+ final int ? limit;
16
+
17
+ @override
18
+ List <Object ?> get props => [startAfterId, limit];
19
+ }
20
+
21
+ /// Event to restore an archived source.
22
+ final class RestoreSourceRequested extends ArchivedSourcesEvent {
23
+ const RestoreSourceRequested (this .id);
24
+
25
+ final String id;
26
+
27
+ @override
28
+ List <Object ?> get props => [id];
8
29
}
You can’t perform that action at this time.
0 commit comments