mirror of
https://github.com/APIParkLab/APIPark.git
synced 2026-06-04 10:13:53 +08:00
51 lines
1.2 KiB
Go
51 lines
1.2 KiB
Go
package service_dto
|
|
|
|
type CreateService struct {
|
|
Id string `json:"id"`
|
|
Name string `json:"name"`
|
|
Prefix string `json:"prefix"`
|
|
Description string `json:"description"`
|
|
ServiceType string `json:"service_type"`
|
|
Logo string `json:"logo"`
|
|
Tags []string `json:"tags"`
|
|
Catalogue string `json:"catalogue"`
|
|
AsApp *bool `json:"as_app"`
|
|
AsServer *bool `json:"as_server"`
|
|
}
|
|
|
|
type EditService struct {
|
|
Name *string `json:"name"`
|
|
Description *string `json:"description"`
|
|
ServiceType *string `json:"service_type"`
|
|
Catalogue *string `json:"catalogue"`
|
|
Logo *string `json:"logo"`
|
|
Tags *[]string `json:"tags"`
|
|
}
|
|
|
|
type CreateApp struct {
|
|
Id string `json:"id"`
|
|
Name string `json:"name"`
|
|
Description string `json:"description"`
|
|
}
|
|
|
|
type UpdateApp struct {
|
|
Name *string `json:"name"`
|
|
Description *string `json:"description"`
|
|
}
|
|
|
|
type EditMemberRole struct {
|
|
Roles []string `json:"roles"`
|
|
}
|
|
|
|
type Users struct {
|
|
Users []string `json:"users" aocheck:"user"`
|
|
}
|
|
|
|
type EditProjectMember struct {
|
|
Roles []string `json:"roles" aocheck:"role"`
|
|
}
|
|
|
|
type SaveServiceDoc struct {
|
|
Doc string `json:"doc"`
|
|
}
|