site is modified

This commit is contained in:
병준 박 2022-08-10 01:50:01 +00:00
parent 3fe0a644be
commit 06f6ab84c5
3 changed files with 27 additions and 13 deletions

View File

@ -26,8 +26,11 @@ message ListSitesResponse {
// subject = bet.beteran.c2se.backend.site.CreateSite // subject = bet.beteran.c2se.backend.site.CreateSite
message CreateSiteRequest { message CreateSiteRequest {
string url = 1; string url = 1;
bool show = 2; string name = 2;
bool can_use = 3; string path = 3;
bool show = 4;
bool can_use = 5;
uint64 expires_at = 6;
} }
message CreateSiteResponse { message CreateSiteResponse {
@ -42,8 +45,11 @@ message CreateSiteResponse {
message UpdateSiteRequest { message UpdateSiteRequest {
string id = 1; string id = 1;
string url = 2; string url = 2;
bool show = 3; string name = 3;
bool can_use = 4; string path = 4;
bool show = 5;
bool can_use = 6;
uint64 expires_at = 7;
} }
message UpdateSiteResponse { message UpdateSiteResponse {

View File

@ -5,9 +5,11 @@ package bet.beteran.domain;
message Site { message Site {
string id = 1; string id = 1;
string url = 2; string url = 2;
bool show = 3; string name = 3;
bool can_use = 4; string path = 4;
uint64 created_at = 5; bool show = 5;
uint64 updated_at = 6; bool can_use = 6;
optional uint64 deleted_at = 7; uint64 expires_at = 7;
uint64 created_at = 8;
uint64 updated_at = 9;
} }

View File

@ -29,8 +29,11 @@ message ListSitesResponse {
message CreateSiteRequest { message CreateSiteRequest {
bet.beteran.core.network.Client client = 1; bet.beteran.core.network.Client client = 1;
string url = 2; string url = 2;
bool show = 3; string name = 3;
bool can_use = 4; string path = 4;
bool show = 5;
bool can_use = 6;
uint64 expires_at = 7;
} }
message CreateSiteResponse { message CreateSiteResponse {
@ -46,8 +49,11 @@ message UpdateSiteRequest {
bet.beteran.core.network.Client client = 1; bet.beteran.core.network.Client client = 1;
string id = 2; string id = 2;
string url = 3; string url = 3;
bool show = 4; string name = 4;
bool can_use = 5; string path = 5;
bool show = 6;
bool can_use = 7;
uint64 expires_at = 8;
} }
message UpdateSiteResponse { message UpdateSiteResponse {