Skip to content

Commit

Permalink
📝 add documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
mckenziearts committed Oct 18, 2022
1 parent 68177e5 commit 7cb7974
Showing 1 changed file with 10 additions and 9 deletions.
19 changes: 10 additions & 9 deletions src/app/shared/interfaces/values.interface.ts
Original file line number Diff line number Diff line change
@@ -1,19 +1,20 @@
/**
* This pagination Object is the default structure of
* Laravel Eloquent Pagination Response
* @see https://laravel.com/docs/eloquent/pagination
* a Custom Laravel Eloquent Pagination Response
*
* @see https://laravel.com/docs/eloquent-resources#pagination
*/
export const pagination = {
total: 0,
per_page: 0,
current_page: 0,
next_page: null,
prev_page: null,
first_page: null,
last_page: null,
perPage: 0,
currentPage: 0,
nextPage: null,
prevPage: null,
firstPage: null,
lastPage: null,
from: 0,
to: 0,
total_pages: 0,
totalPages: 0,
};

export const status = {
Expand Down

0 comments on commit 7cb7974

Please sign in to comment.