site is changed

This commit is contained in:
병준 박 2022-08-10 02:28:41 +00:00
parent 06f6ab84c5
commit 06d9c52203
3 changed files with 20 additions and 15 deletions

View File

@ -26,11 +26,12 @@ 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;
string name = 2; optional string name = 2;
string path = 3; optional string path = 3;
bool show = 4; bool show = 4;
bool can_use = 5; bool can_use = 5;
uint64 expires_at = 6; optional string memo = 6;
optional uint64 expires_at = 7;
} }
message CreateSiteResponse { message CreateSiteResponse {
@ -45,11 +46,12 @@ message CreateSiteResponse {
message UpdateSiteRequest { message UpdateSiteRequest {
string id = 1; string id = 1;
string url = 2; string url = 2;
string name = 3; optional string name = 3;
string path = 4; optional string path = 4;
bool show = 5; bool show = 5;
bool can_use = 6; bool can_use = 6;
uint64 expires_at = 7; optional string memo = 7;
optional uint64 expires_at = 8;
} }
message UpdateSiteResponse { message UpdateSiteResponse {

View File

@ -9,7 +9,8 @@ message Site {
string path = 4; string path = 4;
bool show = 5; bool show = 5;
bool can_use = 6; bool can_use = 6;
uint64 expires_at = 7; string memo = 7;
uint64 created_at = 8; uint64 expires_at = 8;
uint64 updated_at = 9; uint64 created_at = 9;
uint64 updated_at = 10;
} }

View File

@ -29,11 +29,12 @@ 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;
string name = 3; optional string name = 3;
string path = 4; optional string path = 4;
bool show = 5; bool show = 5;
bool can_use = 6; bool can_use = 6;
uint64 expires_at = 7; optional string memo = 7;
optional uint64 expires_at = 8;
} }
message CreateSiteResponse { message CreateSiteResponse {
@ -49,11 +50,12 @@ 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;
string name = 4; optional string name = 4;
string path = 5; optional string path = 5;
bool show = 6; bool show = 6;
bool can_use = 7; bool can_use = 7;
uint64 expires_at = 8; optional string memo = 8;
optional uint64 expires_at = 9;
} }
message UpdateSiteResponse { message UpdateSiteResponse {