MSP-8974 remove unused structs
This commit is contained in:
1 parent
7bac2e403f
commit
ebc99c6ae4
2 files changed
-49
No files matched your search
@@ -1,20 +0,0 @@
|
||||
package domain
|
||||
|
||||
type AuditDownloadRequest struct {
|
||||
LimitOffsetParams
|
||||
|
||||
Order *OrderParams
|
||||
Query *AuditQuery
|
||||
}
|
||||
type SessionDownloadRequest struct {
|
||||
LimitOffsetParams
|
||||
|
||||
Order *OrderParams
|
||||
Query *SessionQuery
|
||||
}
|
||||
type UsersDownloadRequest struct {
|
||||
LimitOffsetParams
|
||||
|
||||
Order *OrderParams
|
||||
Query *UserQuery
|
||||
}
|
||||
@@ -1,7 +1,5 @@
|
||||
package entity
|
||||
|
||||
import "time"
|
||||
|
||||
const (
|
||||
SessionStatusAllowed = "ALLOWED"
|
||||
SessionStatusAllowedRus = "Активная"
|
||||
@@ -13,33 +11,6 @@ const (
|
||||
SessionStatusRevokedRus = "Отмененная"
|
||||
)
|
||||
|
||||
type AuditResponse struct {
|
||||
TotalCount int
|
||||
Items []Audit
|
||||
}
|
||||
|
||||
type Session struct {
|
||||
Id int
|
||||
UserId int
|
||||
Status string
|
||||
ExpiredAt time.Time
|
||||
CreatedAt time.Time
|
||||
}
|
||||
|
||||
type SessionResponse struct {
|
||||
TotalCount int
|
||||
Items []Session
|
||||
}
|
||||
|
||||
type UsersResponse struct {
|
||||
Items []User
|
||||
}
|
||||
|
||||
type Permission struct {
|
||||
Key string
|
||||
Name string
|
||||
}
|
||||
|
||||
func AuditColumnNames() []string {
|
||||
return []string{"Пользователь", "Время события", "Действие"}
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user