From 06f6ab84c535c446a822995d1c2ca399cd55b07f Mon Sep 17 00:00:00 2001 From: PARK BYUNG JUN Date: Wed, 10 Aug 2022 01:50:01 +0000 Subject: [PATCH] site is modified --- proto/c2se/backend/site.proto | 14 ++++++++++---- proto/models/domain/site.proto | 12 +++++++----- proto/ss/domain/site.proto | 14 ++++++++++---- 3 files changed, 27 insertions(+), 13 deletions(-) diff --git a/proto/c2se/backend/site.proto b/proto/c2se/backend/site.proto index adf0a97..0229a64 100644 --- a/proto/c2se/backend/site.proto +++ b/proto/c2se/backend/site.proto @@ -26,8 +26,11 @@ message ListSitesResponse { // subject = bet.beteran.c2se.backend.site.CreateSite message CreateSiteRequest { string url = 1; - bool show = 2; - bool can_use = 3; + string name = 2; + string path = 3; + bool show = 4; + bool can_use = 5; + uint64 expires_at = 6; } message CreateSiteResponse { @@ -42,8 +45,11 @@ message CreateSiteResponse { message UpdateSiteRequest { string id = 1; string url = 2; - bool show = 3; - bool can_use = 4; + string name = 3; + string path = 4; + bool show = 5; + bool can_use = 6; + uint64 expires_at = 7; } message UpdateSiteResponse { diff --git a/proto/models/domain/site.proto b/proto/models/domain/site.proto index 24bf858..9b18e16 100644 --- a/proto/models/domain/site.proto +++ b/proto/models/domain/site.proto @@ -5,9 +5,11 @@ package bet.beteran.domain; message Site { string id = 1; string url = 2; - bool show = 3; - bool can_use = 4; - uint64 created_at = 5; - uint64 updated_at = 6; - optional uint64 deleted_at = 7; + string name = 3; + string path = 4; + bool show = 5; + bool can_use = 6; + uint64 expires_at = 7; + uint64 created_at = 8; + uint64 updated_at = 9; } diff --git a/proto/ss/domain/site.proto b/proto/ss/domain/site.proto index 6fb5559..e015633 100644 --- a/proto/ss/domain/site.proto +++ b/proto/ss/domain/site.proto @@ -29,8 +29,11 @@ message ListSitesResponse { message CreateSiteRequest { bet.beteran.core.network.Client client = 1; string url = 2; - bool show = 3; - bool can_use = 4; + string name = 3; + string path = 4; + bool show = 5; + bool can_use = 6; + uint64 expires_at = 7; } message CreateSiteResponse { @@ -46,8 +49,11 @@ message UpdateSiteRequest { bet.beteran.core.network.Client client = 1; string id = 2; string url = 3; - bool show = 4; - bool can_use = 5; + string name = 4; + string path = 5; + bool show = 6; + bool can_use = 7; + uint64 expires_at = 8; } message UpdateSiteResponse {