type PaginatedBackendResponse struct {
Backends []*entity.Backend `json:"backends"`
Total int `json:"total"`
CurrentPage int `json:"currentPage"`
PageSize int `json:"pageSize"`
}
type PaginatedModuleResponse struct {
Modules []*entity.Module `json:"modules"`
ModulesWithVersion []*entity.ModuleWithVersion `json:"modulesWithVersion"`
Total int `json:"total"`
CurrentPage int `json:"currentPage"`
PageSize int `json:"pageSize"`
}
type PaginatedOrganizationResponse struct {
Organizations []*entity.Organization `json:"organizations"`
Total int `json:"total"`
CurrentPage int `json:"currentPage"`
PageSize int `json:"pageSize"`
}
type PaginatedProjectResponse struct {
Projects []*entity.Project `json:"projects"`
Total int `json:"total"`
CurrentPage int `json:"currentPage"`
PageSize int `json:"pageSize"`
}
type PaginatedResourceResponse struct {
Resources []*entity.Resource `json:"resources"`
Total int `json:"total"`
CurrentPage int `json:"currentPage"`
PageSize int `json:"pageSize"`
}
type PaginatedRunResponse struct {
Runs []*entity.Run `json:"runs"`
Total int `json:"total"`
CurrentPage int `json:"currentPage"`
PageSize int `json:"pageSize"`
}
type PaginatedSourceResponse struct {
Sources []*entity.Source `json:"sources"`
Total int `json:"total"`
CurrentPage int `json:"currentPage"`
PageSize int `json:"pageSize"`
}
type PaginatedStackResponse struct {
Stacks []*entity.Stack `json:"stacks"`
Total int `json:"total"`
CurrentPage int `json:"currentPage"`
PageSize int `json:"pageSize"`
}
type PaginatedWorkspaceResponse struct {
Workspaces []*entity.Workspace `json:"workspaces"`
Total int `json:"total"`
CurrentPage int `json:"currentPage"`
PageSize int `json:"pageSize"`
}