aboutsummaryrefslogtreecommitdiffhomepage
path: root/shared/models/common/result-list.model.ts
diff options
context:
space:
mode:
Diffstat (limited to 'shared/models/common/result-list.model.ts')
-rw-r--r--shared/models/common/result-list.model.ts8
1 files changed, 8 insertions, 0 deletions
diff --git a/shared/models/common/result-list.model.ts b/shared/models/common/result-list.model.ts
new file mode 100644
index 000000000..fcafcfb2f
--- /dev/null
+++ b/shared/models/common/result-list.model.ts
@@ -0,0 +1,8 @@
1export interface ResultList<T> {
2 total: number
3 data: T[]
4}
5
6export interface ThreadsResultList <T> extends ResultList <T> {
7 totalNotDeletedComments: number
8}