22 lines
500 B
Go
22 lines
500 B
Go
package domain
|
|
|
|
type GetSourceBySourceAndNameParamRequest struct {
|
|
Name string `query:"name"`
|
|
Source string `query:"source"`
|
|
}
|
|
|
|
type NewSourceParamRequest struct {
|
|
Name string `query:"name"`
|
|
Url string `query:"url"`
|
|
Tags string `query:"tags"`
|
|
}
|
|
|
|
type RefreshTokenRequest struct {
|
|
Username string `json:"username"`
|
|
RefreshToken string `json:"refreshToken"`
|
|
}
|
|
|
|
type UpdateScopesRequest struct {
|
|
Username string `json:"username"`
|
|
Scopes []string `json:"scopes" validate:"required"`
|
|
} |