todo,todo-backend: switch to and implement offset/limit pagination

Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
This commit is contained in:
Patrik Oldsberg
2021-03-10 00:37:48 +01:00
parent 2eeb884353
commit cf193329a4
7 changed files with 75 additions and 81 deletions
+2 -5
View File
@@ -55,11 +55,8 @@ const mockedApi = {
},
],
totalCount: 15,
cursors: {
prev: 'prev',
self: 'self',
next: 'next',
},
offset: 0,
limit: 10,
}),
};