refactor: remove paging types from apps endpoint

- remove `PagingRequest`, `PagingOption`, and `Page` struct from
`apps.go`
- remove unused `strconv` import
This commit is contained in:
Stevan Freeborn
2026-01-15 16:46:37 -06:00
parent 1f6218416c
commit bfa1b06a83
3 changed files with 26 additions and 23 deletions
+9
View File
@@ -0,0 +1,9 @@
package onspring
type Page[T any] struct {
PageNumber int `json:"pageNumber"`
PageSize int `json:"pageSize"`
TotalPages int `json:"totalPages"`
TotalRecords int `json:"totalRecords"`
Items []T `json:"items"`
}