MSP-8974 fix tests
This commit is contained in:
1 parent
71498785ea
commit
fa8bc6c1b7
50 files changed
+392
-2975
No files matched your search
+1
-1
@@ -17,7 +17,7 @@ type AuditResponse struct {
|
||||
}
|
||||
|
||||
type AuditPageRequest struct {
|
||||
LimitOffestParams
|
||||
LimitOffsetParams
|
||||
|
||||
Order *OrderParams // Параметры сортировки
|
||||
Query *AuditQuery // Параметры выборки
|
||||
|
||||
+3
-3
@@ -1,19 +1,19 @@
|
||||
package domain
|
||||
|
||||
type AuditDownloadRequest struct {
|
||||
LimitOffestParams
|
||||
LimitOffsetParams
|
||||
|
||||
Order *OrderParams
|
||||
Query *AuditQuery
|
||||
}
|
||||
type SessionDownloadRequest struct {
|
||||
LimitOffestParams
|
||||
LimitOffsetParams
|
||||
|
||||
Order *OrderParams
|
||||
Query *SessionQuery
|
||||
}
|
||||
type UsersDownloadRequest struct {
|
||||
LimitOffestParams
|
||||
LimitOffsetParams
|
||||
|
||||
Order *OrderParams
|
||||
Query *UserQuery
|
||||
|
||||
+1
-1
@@ -7,7 +7,7 @@ const (
|
||||
DefaultOrderType = "desc"
|
||||
)
|
||||
|
||||
type LimitOffestParams struct {
|
||||
type LimitOffsetParams struct {
|
||||
Limit uint64 `validate:"required"` // Максимальное количество записей
|
||||
Offset uint64 // Отступ для выборки
|
||||
}
|
||||
|
||||
+1
-1
@@ -13,7 +13,7 @@ type Session struct {
|
||||
}
|
||||
|
||||
type SessionPageRequest struct {
|
||||
LimitOffestParams
|
||||
LimitOffsetParams
|
||||
|
||||
Order *OrderParams // Параметры сортировки
|
||||
Query *SessionQuery // Параметры выборки
|
||||
|
||||
+1
-1
@@ -32,7 +32,7 @@ type UserQuery struct {
|
||||
}
|
||||
|
||||
type UsersPageRequest struct {
|
||||
LimitOffestParams
|
||||
LimitOffsetParams
|
||||
|
||||
Order *OrderParams // Параметры сортировки
|
||||
Query *UserQuery // Параметры выборки
|
||||
|
||||
Reference in new issue
Block a user