@@ -38,14 +38,14 @@ final class LoadHeadlinesRequested extends ContentManagementEvent {
38
38
List <Object ?> get props => [startAfterId, limit];
39
39
}
40
40
41
- /// {@template delete_headline_requested }
42
- /// Event to request deletion of a headline.
41
+ /// {@template archive_headline_requested }
42
+ /// Event to request archiving of a headline.
43
43
/// {@endtemplate}
44
- final class DeleteHeadlineRequested extends ContentManagementEvent {
45
- /// {@macro delete_headline_requested }
46
- const DeleteHeadlineRequested (this .id);
44
+ final class ArchiveHeadlineRequested extends ContentManagementEvent {
45
+ /// {@macro archive_headline_requested }
46
+ const ArchiveHeadlineRequested (this .id);
47
47
48
- /// The ID of the headline to delete .
48
+ /// The ID of the headline to archive .
49
49
final String id;
50
50
51
51
@override
@@ -83,14 +83,14 @@ final class LoadTopicsRequested extends ContentManagementEvent {
83
83
List <Object ?> get props => [startAfterId, limit];
84
84
}
85
85
86
- /// {@template delete_topic_requested }
87
- /// Event to request deletion of a topic.
86
+ /// {@template archive_topic_requested }
87
+ /// Event to request archiving of a topic.
88
88
/// {@endtemplate}
89
- final class DeleteTopicRequested extends ContentManagementEvent {
90
- /// {@macro delete_topic_requested }
91
- const DeleteTopicRequested (this .id);
89
+ final class ArchiveTopicRequested extends ContentManagementEvent {
90
+ /// {@macro archive_topic_requested }
91
+ const ArchiveTopicRequested (this .id);
92
92
93
- /// The ID of the topic to delete .
93
+ /// The ID of the topic to archive .
94
94
final String id;
95
95
96
96
@override
@@ -128,14 +128,14 @@ final class LoadSourcesRequested extends ContentManagementEvent {
128
128
List <Object ?> get props => [startAfterId, limit];
129
129
}
130
130
131
- /// {@template delete_source_requested }
132
- /// Event to request deletion of a source.
131
+ /// {@template archive_source_requested }
132
+ /// Event to request archiving of a source.
133
133
/// {@endtemplate}
134
- final class DeleteSourceRequested extends ContentManagementEvent {
135
- /// {@macro delete_source_requested }
136
- const DeleteSourceRequested (this .id);
134
+ final class ArchiveSourceRequested extends ContentManagementEvent {
135
+ /// {@macro archive_source_requested }
136
+ const ArchiveSourceRequested (this .id);
137
137
138
- /// The ID of the source to delete .
138
+ /// The ID of the source to archive .
139
139
final String id;
140
140
141
141
@override
0 commit comments