Started to work on media upload and organization
This commit is contained in:
8
backend/api/core/paginated.go
Normal file
8
backend/api/core/paginated.go
Normal file
@@ -0,0 +1,8 @@
|
||||
package core
|
||||
|
||||
type Paginated[T any] struct {
|
||||
Page int `json:"page"`
|
||||
Limit int `json:"limit"`
|
||||
TotalPages int `json:"totalPages"`
|
||||
Items []T `json:"items"`
|
||||
}
|
||||
Reference in New Issue
Block a user