diff --git a/api/converter/converter_test.go b/api/converter/converter_test.go
index ab23bb7c1..1d58d5340 100644
--- a/api/converter/converter_test.go
+++ b/api/converter/converter_test.go
@@ -281,9 +281,14 @@ func TestConverter(t *testing.T) {
})
assert.Equal(t, "12
34
", root.GetTree("t").ToXML())
root.GetTree("t").EditByPath([]int{0, 1}, []int{1, 1}, nil, 0)
+
+ root.GetTree("t").Style(0, 1, map[string]string{"b": "t", "i": "t"})
+ assert.Equal(t, `14
`, root.GetTree("t").ToXML())
+
+ root.GetTree("t").RemoveStyle(0, 1, []string{"i"})
return nil
}))
- assert.Equal(t, "14
", doc.Root().GetTree("t").ToXML())
+ assert.Equal(t, `14
`, doc.Root().GetTree("t").ToXML())
bytes, err := converter.ObjectToBytes(doc.RootObject())
assert.NoError(t, err)
@@ -292,5 +297,6 @@ func TestConverter(t *testing.T) {
assert.Equal(t, obj.Get("t").(*crdt.Tree).NodeLen(), doc.Root().GetTree("t").NodeLen())
assert.Equal(t, obj.Get("t").(*crdt.Tree).Root().Len(), doc.Root().GetTree("t").Len())
+ assert.Equal(t, obj.Get("t").(*crdt.Tree).ToXML(), doc.Root().GetTree("t").ToXML())
})
}
diff --git a/api/converter/from_pb.go b/api/converter/from_pb.go
index 276f5ffdd..7bb740049 100644
--- a/api/converter/from_pb.go
+++ b/api/converter/from_pb.go
@@ -625,19 +625,27 @@ func FromTreeNodesWhenEdit(pbNodes []*api.TreeNodes) ([]*crdt.TreeNode, error) {
return treeNodes, nil
}
+func fromRHT(pbRHT map[string]*api.NodeAttr) (*crdt.RHT, error) {
+ rht := crdt.NewRHT()
+ for k, pbAttr := range pbRHT {
+ updatedAt, err := fromTimeTicket(pbAttr.UpdatedAt)
+ if err != nil {
+ return nil, err
+ }
+ rht.SetInternal(k, pbAttr.Value, updatedAt, pbAttr.IsRemoved)
+ }
+ return rht, nil
+}
+
func fromTreeNode(pbNode *api.TreeNode) (*crdt.TreeNode, error) {
id, err := fromTreeNodeID(pbNode.Id)
if err != nil {
return nil, err
}
- attrs := crdt.NewRHT()
- for k, pbAttr := range pbNode.Attributes {
- updatedAt, err := fromTimeTicket(pbAttr.UpdatedAt)
- if err != nil {
- return nil, err
- }
- attrs.Set(k, pbAttr.Value, updatedAt)
+ attrs, err := fromRHT(pbNode.Attributes)
+ if err != nil {
+ return nil, err
}
node := crdt.NewTreeNode(
diff --git a/api/converter/to_bytes.go b/api/converter/to_bytes.go
index e8abc381a..053b3b03e 100644
--- a/api/converter/to_bytes.go
+++ b/api/converter/to_bytes.go
@@ -297,25 +297,30 @@ func ToTreeNodesWhenEdit(treeNodes []*crdt.TreeNode) []*api.TreeNodes {
return pbTreeNodes
}
-func toTreeNode(treeNode *crdt.TreeNode, depth int) *api.TreeNode {
- var attrs map[string]*api.NodeAttr
- if treeNode.Attrs != nil {
- attrs = make(map[string]*api.NodeAttr)
- for _, node := range treeNode.Attrs.Nodes() {
- attrs[node.Key()] = &api.NodeAttr{
+func toRHT(rht *crdt.RHT) map[string]*api.NodeAttr {
+ var pbAttrs map[string]*api.NodeAttr
+ if rht != nil {
+ pbAttrs = make(map[string]*api.NodeAttr)
+ for _, node := range rht.Nodes() {
+ pbAttrs[node.Key()] = &api.NodeAttr{
Value: node.Value(),
UpdatedAt: ToTimeTicket(node.UpdatedAt()),
+ IsRemoved: node.IsRemoved(),
}
}
}
+ return pbAttrs
+}
+
+func toTreeNode(treeNode *crdt.TreeNode, depth int) *api.TreeNode {
pbNode := &api.TreeNode{
Id: toTreeNodeID(treeNode.ID()),
Type: treeNode.Type(),
Value: treeNode.Value,
RemovedAt: ToTimeTicket(treeNode.RemovedAt()),
Depth: int32(depth),
- Attributes: attrs,
+ Attributes: toRHT(treeNode.Attrs),
}
if treeNode.InsPrevID != nil {
diff --git a/api/docs/yorkie/v1/admin.openapi.yaml b/api/docs/yorkie/v1/admin.openapi.yaml
index de0402612..87940bef0 100644
--- a/api/docs/yorkie/v1/admin.openapi.yaml
+++ b/api/docs/yorkie/v1/admin.openapi.yaml
@@ -1,412 +1,411 @@
openapi: 3.1.0
info:
- description:
- Yorkie is an open source document store for building collaborative
+ description: Yorkie is an open source document store for building collaborative
editing applications.
title: Yorkie
version: v0.4.21
servers:
- - description: Production server
- url: https://api.yorkie.dev
- - description: Local server
- url: http://localhost:8080
+- description: Production server
+ url: https://api.yorkie.dev
+- description: Local server
+ url: http://localhost:8080
paths:
/yorkie.v1.AdminService/CreateProject:
post:
description: ""
requestBody:
- $ref: "#/components/requestBodies/yorkie.v1.AdminService.CreateProject.yorkie.v1.CreateProjectRequest"
+ $ref: '#/components/requestBodies/yorkie.v1.AdminService.CreateProject.yorkie.v1.CreateProjectRequest'
responses:
"200":
- $ref: "#/components/responses/yorkie.v1.AdminService.CreateProject.yorkie.v1.CreateProjectResponse"
+ $ref: '#/components/responses/yorkie.v1.AdminService.CreateProject.yorkie.v1.CreateProjectResponse'
default:
- $ref: "#/components/responses/connect.error"
+ $ref: '#/components/responses/connect.error'
tags:
- - yorkie.v1.AdminService
+ - yorkie.v1.AdminService
/yorkie.v1.AdminService/GetDocument:
post:
description: ""
requestBody:
- $ref: "#/components/requestBodies/yorkie.v1.AdminService.GetDocument.yorkie.v1.GetDocumentRequest"
+ $ref: '#/components/requestBodies/yorkie.v1.AdminService.GetDocument.yorkie.v1.GetDocumentRequest'
responses:
"200":
- $ref: "#/components/responses/yorkie.v1.AdminService.GetDocument.yorkie.v1.GetDocumentResponse"
+ $ref: '#/components/responses/yorkie.v1.AdminService.GetDocument.yorkie.v1.GetDocumentResponse'
default:
- $ref: "#/components/responses/connect.error"
+ $ref: '#/components/responses/connect.error'
tags:
- - yorkie.v1.AdminService
+ - yorkie.v1.AdminService
/yorkie.v1.AdminService/GetProject:
post:
description: ""
requestBody:
- $ref: "#/components/requestBodies/yorkie.v1.AdminService.GetProject.yorkie.v1.GetProjectRequest"
+ $ref: '#/components/requestBodies/yorkie.v1.AdminService.GetProject.yorkie.v1.GetProjectRequest'
responses:
"200":
- $ref: "#/components/responses/yorkie.v1.AdminService.GetProject.yorkie.v1.GetProjectResponse"
+ $ref: '#/components/responses/yorkie.v1.AdminService.GetProject.yorkie.v1.GetProjectResponse'
default:
- $ref: "#/components/responses/connect.error"
+ $ref: '#/components/responses/connect.error'
tags:
- - yorkie.v1.AdminService
+ - yorkie.v1.AdminService
/yorkie.v1.AdminService/GetSnapshotMeta:
post:
description: ""
requestBody:
- $ref: "#/components/requestBodies/yorkie.v1.AdminService.GetSnapshotMeta.yorkie.v1.GetSnapshotMetaRequest"
+ $ref: '#/components/requestBodies/yorkie.v1.AdminService.GetSnapshotMeta.yorkie.v1.GetSnapshotMetaRequest'
responses:
"200":
- $ref: "#/components/responses/yorkie.v1.AdminService.GetSnapshotMeta.yorkie.v1.GetSnapshotMetaResponse"
+ $ref: '#/components/responses/yorkie.v1.AdminService.GetSnapshotMeta.yorkie.v1.GetSnapshotMetaResponse'
default:
- $ref: "#/components/responses/connect.error"
+ $ref: '#/components/responses/connect.error'
tags:
- - yorkie.v1.AdminService
+ - yorkie.v1.AdminService
/yorkie.v1.AdminService/ListChanges:
post:
description: ""
requestBody:
- $ref: "#/components/requestBodies/yorkie.v1.AdminService.ListChanges.yorkie.v1.ListChangesRequest"
+ $ref: '#/components/requestBodies/yorkie.v1.AdminService.ListChanges.yorkie.v1.ListChangesRequest'
responses:
"200":
- $ref: "#/components/responses/yorkie.v1.AdminService.ListChanges.yorkie.v1.ListChangesResponse"
+ $ref: '#/components/responses/yorkie.v1.AdminService.ListChanges.yorkie.v1.ListChangesResponse'
default:
- $ref: "#/components/responses/connect.error"
+ $ref: '#/components/responses/connect.error'
tags:
- - yorkie.v1.AdminService
+ - yorkie.v1.AdminService
/yorkie.v1.AdminService/ListDocuments:
post:
description: ""
requestBody:
- $ref: "#/components/requestBodies/yorkie.v1.AdminService.ListDocuments.yorkie.v1.ListDocumentsRequest"
+ $ref: '#/components/requestBodies/yorkie.v1.AdminService.ListDocuments.yorkie.v1.ListDocumentsRequest'
responses:
"200":
- $ref: "#/components/responses/yorkie.v1.AdminService.ListDocuments.yorkie.v1.ListDocumentsResponse"
+ $ref: '#/components/responses/yorkie.v1.AdminService.ListDocuments.yorkie.v1.ListDocumentsResponse'
default:
- $ref: "#/components/responses/connect.error"
+ $ref: '#/components/responses/connect.error'
tags:
- - yorkie.v1.AdminService
+ - yorkie.v1.AdminService
/yorkie.v1.AdminService/ListProjects:
post:
description: ""
requestBody:
- $ref: "#/components/requestBodies/yorkie.v1.AdminService.ListProjects.yorkie.v1.ListProjectsRequest"
+ $ref: '#/components/requestBodies/yorkie.v1.AdminService.ListProjects.yorkie.v1.ListProjectsRequest'
responses:
"200":
- $ref: "#/components/responses/yorkie.v1.AdminService.ListProjects.yorkie.v1.ListProjectsResponse"
+ $ref: '#/components/responses/yorkie.v1.AdminService.ListProjects.yorkie.v1.ListProjectsResponse'
default:
- $ref: "#/components/responses/connect.error"
+ $ref: '#/components/responses/connect.error'
tags:
- - yorkie.v1.AdminService
+ - yorkie.v1.AdminService
/yorkie.v1.AdminService/LogIn:
post:
description: ""
requestBody:
- $ref: "#/components/requestBodies/yorkie.v1.AdminService.LogIn.yorkie.v1.LogInRequest"
+ $ref: '#/components/requestBodies/yorkie.v1.AdminService.LogIn.yorkie.v1.LogInRequest'
responses:
"200":
- $ref: "#/components/responses/yorkie.v1.AdminService.LogIn.yorkie.v1.LogInResponse"
+ $ref: '#/components/responses/yorkie.v1.AdminService.LogIn.yorkie.v1.LogInResponse'
default:
- $ref: "#/components/responses/connect.error"
+ $ref: '#/components/responses/connect.error'
tags:
- - yorkie.v1.AdminService
+ - yorkie.v1.AdminService
/yorkie.v1.AdminService/RemoveDocumentByAdmin:
post:
description: ""
requestBody:
- $ref: "#/components/requestBodies/yorkie.v1.AdminService.RemoveDocumentByAdmin.yorkie.v1.RemoveDocumentByAdminRequest"
+ $ref: '#/components/requestBodies/yorkie.v1.AdminService.RemoveDocumentByAdmin.yorkie.v1.RemoveDocumentByAdminRequest'
responses:
"200":
- $ref: "#/components/responses/yorkie.v1.AdminService.RemoveDocumentByAdmin.yorkie.v1.RemoveDocumentByAdminResponse"
+ $ref: '#/components/responses/yorkie.v1.AdminService.RemoveDocumentByAdmin.yorkie.v1.RemoveDocumentByAdminResponse'
default:
- $ref: "#/components/responses/connect.error"
+ $ref: '#/components/responses/connect.error'
tags:
- - yorkie.v1.AdminService
+ - yorkie.v1.AdminService
/yorkie.v1.AdminService/SearchDocuments:
post:
description: ""
requestBody:
- $ref: "#/components/requestBodies/yorkie.v1.AdminService.SearchDocuments.yorkie.v1.SearchDocumentsRequest"
+ $ref: '#/components/requestBodies/yorkie.v1.AdminService.SearchDocuments.yorkie.v1.SearchDocumentsRequest'
responses:
"200":
- $ref: "#/components/responses/yorkie.v1.AdminService.SearchDocuments.yorkie.v1.SearchDocumentsResponse"
+ $ref: '#/components/responses/yorkie.v1.AdminService.SearchDocuments.yorkie.v1.SearchDocumentsResponse'
default:
- $ref: "#/components/responses/connect.error"
+ $ref: '#/components/responses/connect.error'
tags:
- - yorkie.v1.AdminService
+ - yorkie.v1.AdminService
/yorkie.v1.AdminService/SignUp:
post:
description: ""
requestBody:
- $ref: "#/components/requestBodies/yorkie.v1.AdminService.SignUp.yorkie.v1.SignUpRequest"
+ $ref: '#/components/requestBodies/yorkie.v1.AdminService.SignUp.yorkie.v1.SignUpRequest'
responses:
"200":
- $ref: "#/components/responses/yorkie.v1.AdminService.SignUp.yorkie.v1.SignUpResponse"
+ $ref: '#/components/responses/yorkie.v1.AdminService.SignUp.yorkie.v1.SignUpResponse'
default:
- $ref: "#/components/responses/connect.error"
+ $ref: '#/components/responses/connect.error'
tags:
- - yorkie.v1.AdminService
+ - yorkie.v1.AdminService
/yorkie.v1.AdminService/UpdateProject:
post:
description: ""
requestBody:
- $ref: "#/components/requestBodies/yorkie.v1.AdminService.UpdateProject.yorkie.v1.UpdateProjectRequest"
+ $ref: '#/components/requestBodies/yorkie.v1.AdminService.UpdateProject.yorkie.v1.UpdateProjectRequest'
responses:
"200":
- $ref: "#/components/responses/yorkie.v1.AdminService.UpdateProject.yorkie.v1.UpdateProjectResponse"
+ $ref: '#/components/responses/yorkie.v1.AdminService.UpdateProject.yorkie.v1.UpdateProjectResponse'
default:
- $ref: "#/components/responses/connect.error"
+ $ref: '#/components/responses/connect.error'
tags:
- - yorkie.v1.AdminService
+ - yorkie.v1.AdminService
components:
requestBodies:
yorkie.v1.AdminService.CreateProject.yorkie.v1.CreateProjectRequest:
content:
application/json:
schema:
- $ref: "#/components/schemas/yorkie.v1.CreateProjectRequest"
+ $ref: '#/components/schemas/yorkie.v1.CreateProjectRequest'
application/proto:
schema:
- $ref: "#/components/schemas/yorkie.v1.CreateProjectRequest"
+ $ref: '#/components/schemas/yorkie.v1.CreateProjectRequest'
required: true
yorkie.v1.AdminService.GetDocument.yorkie.v1.GetDocumentRequest:
content:
application/json:
schema:
- $ref: "#/components/schemas/yorkie.v1.GetDocumentRequest"
+ $ref: '#/components/schemas/yorkie.v1.GetDocumentRequest'
application/proto:
schema:
- $ref: "#/components/schemas/yorkie.v1.GetDocumentRequest"
+ $ref: '#/components/schemas/yorkie.v1.GetDocumentRequest'
required: true
yorkie.v1.AdminService.GetProject.yorkie.v1.GetProjectRequest:
content:
application/json:
schema:
- $ref: "#/components/schemas/yorkie.v1.GetProjectRequest"
+ $ref: '#/components/schemas/yorkie.v1.GetProjectRequest'
application/proto:
schema:
- $ref: "#/components/schemas/yorkie.v1.GetProjectRequest"
+ $ref: '#/components/schemas/yorkie.v1.GetProjectRequest'
required: true
yorkie.v1.AdminService.GetSnapshotMeta.yorkie.v1.GetSnapshotMetaRequest:
content:
application/json:
schema:
- $ref: "#/components/schemas/yorkie.v1.GetSnapshotMetaRequest"
+ $ref: '#/components/schemas/yorkie.v1.GetSnapshotMetaRequest'
application/proto:
schema:
- $ref: "#/components/schemas/yorkie.v1.GetSnapshotMetaRequest"
+ $ref: '#/components/schemas/yorkie.v1.GetSnapshotMetaRequest'
required: true
yorkie.v1.AdminService.ListChanges.yorkie.v1.ListChangesRequest:
content:
application/json:
schema:
- $ref: "#/components/schemas/yorkie.v1.ListChangesRequest"
+ $ref: '#/components/schemas/yorkie.v1.ListChangesRequest'
application/proto:
schema:
- $ref: "#/components/schemas/yorkie.v1.ListChangesRequest"
+ $ref: '#/components/schemas/yorkie.v1.ListChangesRequest'
required: true
yorkie.v1.AdminService.ListDocuments.yorkie.v1.ListDocumentsRequest:
content:
application/json:
schema:
- $ref: "#/components/schemas/yorkie.v1.ListDocumentsRequest"
+ $ref: '#/components/schemas/yorkie.v1.ListDocumentsRequest'
application/proto:
schema:
- $ref: "#/components/schemas/yorkie.v1.ListDocumentsRequest"
+ $ref: '#/components/schemas/yorkie.v1.ListDocumentsRequest'
required: true
yorkie.v1.AdminService.ListProjects.yorkie.v1.ListProjectsRequest:
content:
application/json:
schema:
- $ref: "#/components/schemas/yorkie.v1.ListProjectsRequest"
+ $ref: '#/components/schemas/yorkie.v1.ListProjectsRequest'
application/proto:
schema:
- $ref: "#/components/schemas/yorkie.v1.ListProjectsRequest"
+ $ref: '#/components/schemas/yorkie.v1.ListProjectsRequest'
required: true
yorkie.v1.AdminService.LogIn.yorkie.v1.LogInRequest:
content:
application/json:
schema:
- $ref: "#/components/schemas/yorkie.v1.LogInRequest"
+ $ref: '#/components/schemas/yorkie.v1.LogInRequest'
application/proto:
schema:
- $ref: "#/components/schemas/yorkie.v1.LogInRequest"
+ $ref: '#/components/schemas/yorkie.v1.LogInRequest'
required: true
yorkie.v1.AdminService.RemoveDocumentByAdmin.yorkie.v1.RemoveDocumentByAdminRequest:
content:
application/json:
schema:
- $ref: "#/components/schemas/yorkie.v1.RemoveDocumentByAdminRequest"
+ $ref: '#/components/schemas/yorkie.v1.RemoveDocumentByAdminRequest'
application/proto:
schema:
- $ref: "#/components/schemas/yorkie.v1.RemoveDocumentByAdminRequest"
+ $ref: '#/components/schemas/yorkie.v1.RemoveDocumentByAdminRequest'
required: true
yorkie.v1.AdminService.SearchDocuments.yorkie.v1.SearchDocumentsRequest:
content:
application/json:
schema:
- $ref: "#/components/schemas/yorkie.v1.SearchDocumentsRequest"
+ $ref: '#/components/schemas/yorkie.v1.SearchDocumentsRequest'
application/proto:
schema:
- $ref: "#/components/schemas/yorkie.v1.SearchDocumentsRequest"
+ $ref: '#/components/schemas/yorkie.v1.SearchDocumentsRequest'
required: true
yorkie.v1.AdminService.SignUp.yorkie.v1.SignUpRequest:
content:
application/json:
schema:
- $ref: "#/components/schemas/yorkie.v1.SignUpRequest"
+ $ref: '#/components/schemas/yorkie.v1.SignUpRequest'
application/proto:
schema:
- $ref: "#/components/schemas/yorkie.v1.SignUpRequest"
+ $ref: '#/components/schemas/yorkie.v1.SignUpRequest'
required: true
yorkie.v1.AdminService.UpdateProject.yorkie.v1.UpdateProjectRequest:
content:
application/json:
schema:
- $ref: "#/components/schemas/yorkie.v1.UpdateProjectRequest"
+ $ref: '#/components/schemas/yorkie.v1.UpdateProjectRequest'
application/proto:
schema:
- $ref: "#/components/schemas/yorkie.v1.UpdateProjectRequest"
+ $ref: '#/components/schemas/yorkie.v1.UpdateProjectRequest'
required: true
responses:
connect.error:
content:
application/json:
schema:
- $ref: "#/components/schemas/connect.error"
+ $ref: '#/components/schemas/connect.error'
application/proto:
schema:
- $ref: "#/components/schemas/connect.error"
+ $ref: '#/components/schemas/connect.error'
description: ""
yorkie.v1.AdminService.CreateProject.yorkie.v1.CreateProjectResponse:
content:
application/json:
schema:
- $ref: "#/components/schemas/yorkie.v1.CreateProjectResponse"
+ $ref: '#/components/schemas/yorkie.v1.CreateProjectResponse'
application/proto:
schema:
- $ref: "#/components/schemas/yorkie.v1.CreateProjectResponse"
+ $ref: '#/components/schemas/yorkie.v1.CreateProjectResponse'
description: ""
yorkie.v1.AdminService.GetDocument.yorkie.v1.GetDocumentResponse:
content:
application/json:
schema:
- $ref: "#/components/schemas/yorkie.v1.GetDocumentResponse"
+ $ref: '#/components/schemas/yorkie.v1.GetDocumentResponse'
application/proto:
schema:
- $ref: "#/components/schemas/yorkie.v1.GetDocumentResponse"
+ $ref: '#/components/schemas/yorkie.v1.GetDocumentResponse'
description: ""
yorkie.v1.AdminService.GetProject.yorkie.v1.GetProjectResponse:
content:
application/json:
schema:
- $ref: "#/components/schemas/yorkie.v1.GetProjectResponse"
+ $ref: '#/components/schemas/yorkie.v1.GetProjectResponse'
application/proto:
schema:
- $ref: "#/components/schemas/yorkie.v1.GetProjectResponse"
+ $ref: '#/components/schemas/yorkie.v1.GetProjectResponse'
description: ""
yorkie.v1.AdminService.GetSnapshotMeta.yorkie.v1.GetSnapshotMetaResponse:
content:
application/json:
schema:
- $ref: "#/components/schemas/yorkie.v1.GetSnapshotMetaResponse"
+ $ref: '#/components/schemas/yorkie.v1.GetSnapshotMetaResponse'
application/proto:
schema:
- $ref: "#/components/schemas/yorkie.v1.GetSnapshotMetaResponse"
+ $ref: '#/components/schemas/yorkie.v1.GetSnapshotMetaResponse'
description: ""
yorkie.v1.AdminService.ListChanges.yorkie.v1.ListChangesResponse:
content:
application/json:
schema:
- $ref: "#/components/schemas/yorkie.v1.ListChangesResponse"
+ $ref: '#/components/schemas/yorkie.v1.ListChangesResponse'
application/proto:
schema:
- $ref: "#/components/schemas/yorkie.v1.ListChangesResponse"
+ $ref: '#/components/schemas/yorkie.v1.ListChangesResponse'
description: ""
yorkie.v1.AdminService.ListDocuments.yorkie.v1.ListDocumentsResponse:
content:
application/json:
schema:
- $ref: "#/components/schemas/yorkie.v1.ListDocumentsResponse"
+ $ref: '#/components/schemas/yorkie.v1.ListDocumentsResponse'
application/proto:
schema:
- $ref: "#/components/schemas/yorkie.v1.ListDocumentsResponse"
+ $ref: '#/components/schemas/yorkie.v1.ListDocumentsResponse'
description: ""
yorkie.v1.AdminService.ListProjects.yorkie.v1.ListProjectsResponse:
content:
application/json:
schema:
- $ref: "#/components/schemas/yorkie.v1.ListProjectsResponse"
+ $ref: '#/components/schemas/yorkie.v1.ListProjectsResponse'
application/proto:
schema:
- $ref: "#/components/schemas/yorkie.v1.ListProjectsResponse"
+ $ref: '#/components/schemas/yorkie.v1.ListProjectsResponse'
description: ""
yorkie.v1.AdminService.LogIn.yorkie.v1.LogInResponse:
content:
application/json:
schema:
- $ref: "#/components/schemas/yorkie.v1.LogInResponse"
+ $ref: '#/components/schemas/yorkie.v1.LogInResponse'
application/proto:
schema:
- $ref: "#/components/schemas/yorkie.v1.LogInResponse"
+ $ref: '#/components/schemas/yorkie.v1.LogInResponse'
description: ""
yorkie.v1.AdminService.RemoveDocumentByAdmin.yorkie.v1.RemoveDocumentByAdminResponse:
content:
application/json:
schema:
- $ref: "#/components/schemas/yorkie.v1.RemoveDocumentByAdminResponse"
+ $ref: '#/components/schemas/yorkie.v1.RemoveDocumentByAdminResponse'
application/proto:
schema:
- $ref: "#/components/schemas/yorkie.v1.RemoveDocumentByAdminResponse"
+ $ref: '#/components/schemas/yorkie.v1.RemoveDocumentByAdminResponse'
description: ""
yorkie.v1.AdminService.SearchDocuments.yorkie.v1.SearchDocumentsResponse:
content:
application/json:
schema:
- $ref: "#/components/schemas/yorkie.v1.SearchDocumentsResponse"
+ $ref: '#/components/schemas/yorkie.v1.SearchDocumentsResponse'
application/proto:
schema:
- $ref: "#/components/schemas/yorkie.v1.SearchDocumentsResponse"
+ $ref: '#/components/schemas/yorkie.v1.SearchDocumentsResponse'
description: ""
yorkie.v1.AdminService.SignUp.yorkie.v1.SignUpResponse:
content:
application/json:
schema:
- $ref: "#/components/schemas/yorkie.v1.SignUpResponse"
+ $ref: '#/components/schemas/yorkie.v1.SignUpResponse'
application/proto:
schema:
- $ref: "#/components/schemas/yorkie.v1.SignUpResponse"
+ $ref: '#/components/schemas/yorkie.v1.SignUpResponse'
description: ""
yorkie.v1.AdminService.UpdateProject.yorkie.v1.UpdateProjectResponse:
content:
application/json:
schema:
- $ref: "#/components/schemas/yorkie.v1.UpdateProjectResponse"
+ $ref: '#/components/schemas/yorkie.v1.UpdateProjectResponse'
application/proto:
schema:
- $ref: "#/components/schemas/yorkie.v1.UpdateProjectResponse"
+ $ref: '#/components/schemas/yorkie.v1.UpdateProjectResponse'
description: ""
schemas:
connect.error:
additionalProperties: false
- description: "Error type returned by Connect: https://connectrpc.com/docs/go/errors/#http-representation"
+ description: 'Error type returned by Connect: https://connectrpc.com/docs/go/errors/#http-representation'
properties:
code:
enum:
- - CodeCanceled
- - CodeUnknown
- - CodeInvalidArgument
- - CodeDeadlineExceeded
- - CodeNotFound
- - CodeAlreadyExists
- - CodePermissionDenied
- - CodeResourceExhausted
- - CodeFailedPrecondition
- - CodeAborted
- - CodeOutOfRange
- - CodeInternal
- - CodeUnavailable
- - CodeDataLoss
- - CodeUnauthenticated
+ - CodeCanceled
+ - CodeUnknown
+ - CodeInvalidArgument
+ - CodeDeadlineExceeded
+ - CodeNotFound
+ - CodeAlreadyExists
+ - CodePermissionDenied
+ - CodeResourceExhausted
+ - CodeFailedPrecondition
+ - CodeAborted
+ - CodeOutOfRange
+ - CodeInternal
+ - CodeUnavailable
+ - CodeDataLoss
+ - CodeUnauthenticated
examples:
- - CodeNotFound
+ - CodeNotFound
type: string
message:
type: string
@@ -525,7 +524,7 @@ components:
description: ""
properties:
id:
- $ref: "#/components/schemas/yorkie.v1.ChangeID"
+ $ref: '#/components/schemas/yorkie.v1.ChangeID'
additionalProperties: false
description: ""
title: id
@@ -539,12 +538,12 @@ components:
additionalProperties: false
description: ""
items:
- $ref: "#/components/schemas/yorkie.v1.Operation"
+ $ref: '#/components/schemas/yorkie.v1.Operation'
type: object
title: operations
type: array
presenceChange:
- $ref: "#/components/schemas/yorkie.v1.PresenceChange"
+ $ref: '#/components/schemas/yorkie.v1.PresenceChange'
additionalProperties: false
description: ""
title: presence_change
@@ -570,15 +569,15 @@ components:
additionalProperties: false
description: ""
oneOf:
- - type: string
- - type: number
+ - type: string
+ - type: number
title: lamport
serverSeq:
additionalProperties: false
description: ""
oneOf:
- - type: string
- - type: number
+ - type: string
+ - type: number
title: server_seq
title: ChangeID
type: object
@@ -598,7 +597,7 @@ components:
description: ""
properties:
project:
- $ref: "#/components/schemas/yorkie.v1.Project"
+ $ref: '#/components/schemas/yorkie.v1.Project'
additionalProperties: false
description: ""
title: project
@@ -610,13 +609,13 @@ components:
description: ""
properties:
accessedAt:
- $ref: "#/components/schemas/google.protobuf.Timestamp"
+ $ref: '#/components/schemas/google.protobuf.Timestamp'
additionalProperties: false
description: ""
title: accessed_at
type: object
createdAt:
- $ref: "#/components/schemas/google.protobuf.Timestamp"
+ $ref: '#/components/schemas/google.protobuf.Timestamp'
additionalProperties: false
description: ""
title: created_at
@@ -637,7 +636,7 @@ components:
title: snapshot
type: string
updatedAt:
- $ref: "#/components/schemas/google.protobuf.Timestamp"
+ $ref: '#/components/schemas/google.protobuf.Timestamp'
additionalProperties: false
description: ""
title: updated_at
@@ -665,7 +664,7 @@ components:
description: ""
properties:
document:
- $ref: "#/components/schemas/yorkie.v1.DocumentSummary"
+ $ref: '#/components/schemas/yorkie.v1.DocumentSummary'
additionalProperties: false
description: ""
title: document
@@ -688,7 +687,7 @@ components:
description: ""
properties:
project:
- $ref: "#/components/schemas/yorkie.v1.Project"
+ $ref: '#/components/schemas/yorkie.v1.Project'
additionalProperties: false
description: ""
title: project
@@ -713,8 +712,8 @@ components:
additionalProperties: false
description: ""
oneOf:
- - type: string
- - type: number
+ - type: string
+ - type: number
title: server_seq
title: GetSnapshotMetaRequest
type: object
@@ -726,8 +725,8 @@ components:
additionalProperties: false
description: ""
oneOf:
- - type: string
- - type: number
+ - type: string
+ - type: number
title: lamport
snapshot:
additionalProperties: false
@@ -742,25 +741,25 @@ components:
description: ""
properties:
createdAt:
- $ref: "#/components/schemas/yorkie.v1.TimeTicket"
+ $ref: '#/components/schemas/yorkie.v1.TimeTicket'
additionalProperties: false
description: ""
title: created_at
type: object
movedAt:
- $ref: "#/components/schemas/yorkie.v1.TimeTicket"
+ $ref: '#/components/schemas/yorkie.v1.TimeTicket'
additionalProperties: false
description: ""
title: moved_at
type: object
removedAt:
- $ref: "#/components/schemas/yorkie.v1.TimeTicket"
+ $ref: '#/components/schemas/yorkie.v1.TimeTicket'
additionalProperties: false
description: ""
title: removed_at
type: object
type:
- $ref: "#/components/schemas/yorkie.v1.ValueType"
+ $ref: '#/components/schemas/yorkie.v1.ValueType'
additionalProperties: false
description: ""
title: type
@@ -795,8 +794,8 @@ components:
additionalProperties: false
description: ""
oneOf:
- - type: string
- - type: number
+ - type: string
+ - type: number
title: previous_seq
projectName:
additionalProperties: false
@@ -813,7 +812,7 @@ components:
additionalProperties: false
description: ""
items:
- $ref: "#/components/schemas/yorkie.v1.Change"
+ $ref: '#/components/schemas/yorkie.v1.Change'
type: object
title: changes
type: array
@@ -858,7 +857,7 @@ components:
additionalProperties: false
description: ""
items:
- $ref: "#/components/schemas/yorkie.v1.DocumentSummary"
+ $ref: '#/components/schemas/yorkie.v1.DocumentSummary'
type: object
title: documents
type: array
@@ -877,7 +876,7 @@ components:
additionalProperties: false
description: ""
items:
- $ref: "#/components/schemas/yorkie.v1.Project"
+ $ref: '#/components/schemas/yorkie.v1.Project'
type: object
title: projects
type: array
@@ -914,8 +913,13 @@ components:
additionalProperties: false
description: ""
properties:
+ isRemoved:
+ additionalProperties: false
+ description: ""
+ title: is_removed
+ type: boolean
updatedAt:
- $ref: "#/components/schemas/yorkie.v1.TimeTicket"
+ $ref: '#/components/schemas/yorkie.v1.TimeTicket'
additionalProperties: false
description: ""
title: updated_at
@@ -932,61 +936,61 @@ components:
description: ""
properties:
add:
- $ref: "#/components/schemas/yorkie.v1.Operation.Add"
+ $ref: '#/components/schemas/yorkie.v1.Operation.Add'
additionalProperties: false
description: ""
title: add
type: object
edit:
- $ref: "#/components/schemas/yorkie.v1.Operation.Edit"
+ $ref: '#/components/schemas/yorkie.v1.Operation.Edit'
additionalProperties: false
description: ""
title: edit
type: object
increase:
- $ref: "#/components/schemas/yorkie.v1.Operation.Increase"
+ $ref: '#/components/schemas/yorkie.v1.Operation.Increase'
additionalProperties: false
description: ""
title: increase
type: object
move:
- $ref: "#/components/schemas/yorkie.v1.Operation.Move"
+ $ref: '#/components/schemas/yorkie.v1.Operation.Move'
additionalProperties: false
description: ""
title: move
type: object
remove:
- $ref: "#/components/schemas/yorkie.v1.Operation.Remove"
+ $ref: '#/components/schemas/yorkie.v1.Operation.Remove'
additionalProperties: false
description: ""
title: remove
type: object
select:
- $ref: "#/components/schemas/yorkie.v1.Operation.Select"
+ $ref: '#/components/schemas/yorkie.v1.Operation.Select'
additionalProperties: false
description: ""
title: select
type: object
set:
- $ref: "#/components/schemas/yorkie.v1.Operation.Set"
+ $ref: '#/components/schemas/yorkie.v1.Operation.Set'
additionalProperties: false
description: ""
title: set
type: object
style:
- $ref: "#/components/schemas/yorkie.v1.Operation.Style"
+ $ref: '#/components/schemas/yorkie.v1.Operation.Style'
additionalProperties: false
description: ""
title: style
type: object
treeEdit:
- $ref: "#/components/schemas/yorkie.v1.Operation.TreeEdit"
+ $ref: '#/components/schemas/yorkie.v1.Operation.TreeEdit'
additionalProperties: false
description: ""
title: tree_edit
type: object
treeStyle:
- $ref: "#/components/schemas/yorkie.v1.Operation.TreeStyle"
+ $ref: '#/components/schemas/yorkie.v1.Operation.TreeStyle'
additionalProperties: false
description: ""
title: tree_style
@@ -998,25 +1002,25 @@ components:
description: ""
properties:
executedAt:
- $ref: "#/components/schemas/yorkie.v1.TimeTicket"
+ $ref: '#/components/schemas/yorkie.v1.TimeTicket'
additionalProperties: false
description: ""
title: executed_at
type: object
parentCreatedAt:
- $ref: "#/components/schemas/yorkie.v1.TimeTicket"
+ $ref: '#/components/schemas/yorkie.v1.TimeTicket'
additionalProperties: false
description: ""
title: parent_created_at
type: object
prevCreatedAt:
- $ref: "#/components/schemas/yorkie.v1.TimeTicket"
+ $ref: '#/components/schemas/yorkie.v1.TimeTicket'
additionalProperties: false
description: ""
title: prev_created_at
type: object
value:
- $ref: "#/components/schemas/yorkie.v1.JSONElementSimple"
+ $ref: '#/components/schemas/yorkie.v1.JSONElementSimple'
additionalProperties: false
description: ""
title: value
@@ -1043,25 +1047,25 @@ components:
title: created_at_map_by_actor
type: object
executedAt:
- $ref: "#/components/schemas/yorkie.v1.TimeTicket"
+ $ref: '#/components/schemas/yorkie.v1.TimeTicket'
additionalProperties: false
description: ""
title: executed_at
type: object
from:
- $ref: "#/components/schemas/yorkie.v1.TextNodePos"
+ $ref: '#/components/schemas/yorkie.v1.TextNodePos'
additionalProperties: false
description: ""
title: from
type: object
parentCreatedAt:
- $ref: "#/components/schemas/yorkie.v1.TimeTicket"
+ $ref: '#/components/schemas/yorkie.v1.TimeTicket'
additionalProperties: false
description: ""
title: parent_created_at
type: object
to:
- $ref: "#/components/schemas/yorkie.v1.TextNodePos"
+ $ref: '#/components/schemas/yorkie.v1.TextNodePos'
additionalProperties: false
description: ""
title: to
@@ -1094,7 +1098,7 @@ components:
title: key
type: string
value:
- $ref: "#/components/schemas/yorkie.v1.TimeTicket"
+ $ref: '#/components/schemas/yorkie.v1.TimeTicket'
additionalProperties: false
description: ""
title: value
@@ -1106,19 +1110,19 @@ components:
description: ""
properties:
executedAt:
- $ref: "#/components/schemas/yorkie.v1.TimeTicket"
+ $ref: '#/components/schemas/yorkie.v1.TimeTicket'
additionalProperties: false
description: ""
title: executed_at
type: object
parentCreatedAt:
- $ref: "#/components/schemas/yorkie.v1.TimeTicket"
+ $ref: '#/components/schemas/yorkie.v1.TimeTicket'
additionalProperties: false
description: ""
title: parent_created_at
type: object
value:
- $ref: "#/components/schemas/yorkie.v1.JSONElementSimple"
+ $ref: '#/components/schemas/yorkie.v1.JSONElementSimple'
additionalProperties: false
description: ""
title: value
@@ -1130,25 +1134,25 @@ components:
description: ""
properties:
createdAt:
- $ref: "#/components/schemas/yorkie.v1.TimeTicket"
+ $ref: '#/components/schemas/yorkie.v1.TimeTicket'
additionalProperties: false
description: ""
title: created_at
type: object
executedAt:
- $ref: "#/components/schemas/yorkie.v1.TimeTicket"
+ $ref: '#/components/schemas/yorkie.v1.TimeTicket'
additionalProperties: false
description: ""
title: executed_at
type: object
parentCreatedAt:
- $ref: "#/components/schemas/yorkie.v1.TimeTicket"
+ $ref: '#/components/schemas/yorkie.v1.TimeTicket'
additionalProperties: false
description: ""
title: parent_created_at
type: object
prevCreatedAt:
- $ref: "#/components/schemas/yorkie.v1.TimeTicket"
+ $ref: '#/components/schemas/yorkie.v1.TimeTicket'
additionalProperties: false
description: ""
title: prev_created_at
@@ -1160,19 +1164,19 @@ components:
description: ""
properties:
createdAt:
- $ref: "#/components/schemas/yorkie.v1.TimeTicket"
+ $ref: '#/components/schemas/yorkie.v1.TimeTicket'
additionalProperties: false
description: ""
title: created_at
type: object
executedAt:
- $ref: "#/components/schemas/yorkie.v1.TimeTicket"
+ $ref: '#/components/schemas/yorkie.v1.TimeTicket'
additionalProperties: false
description: ""
title: executed_at
type: object
parentCreatedAt:
- $ref: "#/components/schemas/yorkie.v1.TimeTicket"
+ $ref: '#/components/schemas/yorkie.v1.TimeTicket'
additionalProperties: false
description: ""
title: parent_created_at
@@ -1188,25 +1192,25 @@ components:
compatibility purposes.
properties:
executedAt:
- $ref: "#/components/schemas/yorkie.v1.TimeTicket"
+ $ref: '#/components/schemas/yorkie.v1.TimeTicket'
additionalProperties: false
description: ""
title: executed_at
type: object
from:
- $ref: "#/components/schemas/yorkie.v1.TextNodePos"
+ $ref: '#/components/schemas/yorkie.v1.TextNodePos'
additionalProperties: false
description: ""
title: from
type: object
parentCreatedAt:
- $ref: "#/components/schemas/yorkie.v1.TimeTicket"
+ $ref: '#/components/schemas/yorkie.v1.TimeTicket'
additionalProperties: false
description: ""
title: parent_created_at
type: object
to:
- $ref: "#/components/schemas/yorkie.v1.TextNodePos"
+ $ref: '#/components/schemas/yorkie.v1.TextNodePos'
additionalProperties: false
description: ""
title: to
@@ -1218,7 +1222,7 @@ components:
description: ""
properties:
executedAt:
- $ref: "#/components/schemas/yorkie.v1.TimeTicket"
+ $ref: '#/components/schemas/yorkie.v1.TimeTicket'
additionalProperties: false
description: ""
title: executed_at
@@ -1229,13 +1233,13 @@ components:
title: key
type: string
parentCreatedAt:
- $ref: "#/components/schemas/yorkie.v1.TimeTicket"
+ $ref: '#/components/schemas/yorkie.v1.TimeTicket'
additionalProperties: false
description: ""
title: parent_created_at
type: object
value:
- $ref: "#/components/schemas/yorkie.v1.JSONElementSimple"
+ $ref: '#/components/schemas/yorkie.v1.JSONElementSimple'
additionalProperties: false
description: ""
title: value
@@ -1257,25 +1261,25 @@ components:
title: created_at_map_by_actor
type: object
executedAt:
- $ref: "#/components/schemas/yorkie.v1.TimeTicket"
+ $ref: '#/components/schemas/yorkie.v1.TimeTicket'
additionalProperties: false
description: ""
title: executed_at
type: object
from:
- $ref: "#/components/schemas/yorkie.v1.TextNodePos"
+ $ref: '#/components/schemas/yorkie.v1.TextNodePos'
additionalProperties: false
description: ""
title: from
type: object
parentCreatedAt:
- $ref: "#/components/schemas/yorkie.v1.TimeTicket"
+ $ref: '#/components/schemas/yorkie.v1.TimeTicket'
additionalProperties: false
description: ""
title: parent_created_at
type: object
to:
- $ref: "#/components/schemas/yorkie.v1.TextNodePos"
+ $ref: '#/components/schemas/yorkie.v1.TextNodePos'
additionalProperties: false
description: ""
title: to
@@ -1308,7 +1312,7 @@ components:
title: key
type: string
value:
- $ref: "#/components/schemas/yorkie.v1.TimeTicket"
+ $ref: '#/components/schemas/yorkie.v1.TimeTicket'
additionalProperties: false
description: ""
title: value
@@ -1323,7 +1327,7 @@ components:
additionalProperties: false
description: ""
items:
- $ref: "#/components/schemas/yorkie.v1.TreeNodes"
+ $ref: '#/components/schemas/yorkie.v1.TreeNodes'
type: object
title: contents
type: array
@@ -1333,19 +1337,19 @@ components:
title: created_at_map_by_actor
type: object
executedAt:
- $ref: "#/components/schemas/yorkie.v1.TimeTicket"
+ $ref: '#/components/schemas/yorkie.v1.TimeTicket'
additionalProperties: false
description: ""
title: executed_at
type: object
from:
- $ref: "#/components/schemas/yorkie.v1.TreePos"
+ $ref: '#/components/schemas/yorkie.v1.TreePos'
additionalProperties: false
description: ""
title: from
type: object
parentCreatedAt:
- $ref: "#/components/schemas/yorkie.v1.TimeTicket"
+ $ref: '#/components/schemas/yorkie.v1.TimeTicket'
additionalProperties: false
description: ""
title: parent_created_at
@@ -1356,7 +1360,7 @@ components:
title: split_level
type: integer
to:
- $ref: "#/components/schemas/yorkie.v1.TreePos"
+ $ref: '#/components/schemas/yorkie.v1.TreePos'
additionalProperties: false
description: ""
title: to
@@ -1373,7 +1377,7 @@ components:
title: key
type: string
value:
- $ref: "#/components/schemas/yorkie.v1.TimeTicket"
+ $ref: '#/components/schemas/yorkie.v1.TimeTicket'
additionalProperties: false
description: ""
title: value
@@ -1402,25 +1406,25 @@ components:
title: created_at_map_by_actor
type: object
executedAt:
- $ref: "#/components/schemas/yorkie.v1.TimeTicket"
+ $ref: '#/components/schemas/yorkie.v1.TimeTicket'
additionalProperties: false
description: ""
title: executed_at
type: object
from:
- $ref: "#/components/schemas/yorkie.v1.TreePos"
+ $ref: '#/components/schemas/yorkie.v1.TreePos'
additionalProperties: false
description: ""
title: from
type: object
parentCreatedAt:
- $ref: "#/components/schemas/yorkie.v1.TimeTicket"
+ $ref: '#/components/schemas/yorkie.v1.TimeTicket'
additionalProperties: false
description: ""
title: parent_created_at
type: object
to:
- $ref: "#/components/schemas/yorkie.v1.TreePos"
+ $ref: '#/components/schemas/yorkie.v1.TreePos'
additionalProperties: false
description: ""
title: to
@@ -1453,7 +1457,7 @@ components:
title: key
type: string
value:
- $ref: "#/components/schemas/yorkie.v1.TimeTicket"
+ $ref: '#/components/schemas/yorkie.v1.TimeTicket'
additionalProperties: false
description: ""
title: value
@@ -1492,13 +1496,13 @@ components:
description: ""
properties:
presence:
- $ref: "#/components/schemas/yorkie.v1.Presence"
+ $ref: '#/components/schemas/yorkie.v1.Presence'
additionalProperties: false
description: ""
title: presence
type: object
type:
- $ref: "#/components/schemas/yorkie.v1.PresenceChange.ChangeType"
+ $ref: '#/components/schemas/yorkie.v1.PresenceChange.ChangeType'
additionalProperties: false
description: ""
title: type
@@ -1507,14 +1511,14 @@ components:
yorkie.v1.PresenceChange.ChangeType:
description: ""
enum:
- - - CHANGE_TYPE_UNSPECIFIED
- - 0
- - CHANGE_TYPE_PUT
- - 1
- - CHANGE_TYPE_DELETE
- - 2
- - CHANGE_TYPE_CLEAR
- - 3
+ - - CHANGE_TYPE_UNSPECIFIED
+ - 0
+ - CHANGE_TYPE_PUT
+ - 1
+ - CHANGE_TYPE_DELETE
+ - 2
+ - CHANGE_TYPE_CLEAR
+ - 3
title: ChangeType
type: string
yorkie.v1.Project:
@@ -1539,7 +1543,7 @@ components:
title: client_deactivate_threshold
type: string
createdAt:
- $ref: "#/components/schemas/google.protobuf.Timestamp"
+ $ref: '#/components/schemas/google.protobuf.Timestamp'
additionalProperties: false
description: ""
title: created_at
@@ -1565,7 +1569,7 @@ components:
title: secret_key
type: string
updatedAt:
- $ref: "#/components/schemas/google.protobuf.Timestamp"
+ $ref: '#/components/schemas/google.protobuf.Timestamp'
additionalProperties: false
description: ""
title: updated_at
@@ -1627,7 +1631,7 @@ components:
additionalProperties: false
description: ""
items:
- $ref: "#/components/schemas/yorkie.v1.DocumentSummary"
+ $ref: '#/components/schemas/yorkie.v1.DocumentSummary'
type: object
title: documents
type: array
@@ -1659,7 +1663,7 @@ components:
description: ""
properties:
user:
- $ref: "#/components/schemas/yorkie.v1.User"
+ $ref: '#/components/schemas/yorkie.v1.User'
additionalProperties: false
description: ""
title: user
@@ -1671,7 +1675,7 @@ components:
description: ""
properties:
createdAt:
- $ref: "#/components/schemas/yorkie.v1.TimeTicket"
+ $ref: '#/components/schemas/yorkie.v1.TimeTicket'
additionalProperties: false
description: ""
title: created_at
@@ -1707,8 +1711,8 @@ components:
additionalProperties: false
description: ""
oneOf:
- - type: string
- - type: number
+ - type: string
+ - type: number
title: lamport
title: TimeTicket
type: object
@@ -1727,25 +1731,25 @@ components:
title: depth
type: integer
id:
- $ref: "#/components/schemas/yorkie.v1.TreeNodeID"
+ $ref: '#/components/schemas/yorkie.v1.TreeNodeID'
additionalProperties: false
description: ""
title: id
type: object
insNextId:
- $ref: "#/components/schemas/yorkie.v1.TreeNodeID"
+ $ref: '#/components/schemas/yorkie.v1.TreeNodeID'
additionalProperties: false
description: ""
title: ins_next_id
type: object
insPrevId:
- $ref: "#/components/schemas/yorkie.v1.TreeNodeID"
+ $ref: '#/components/schemas/yorkie.v1.TreeNodeID'
additionalProperties: false
description: ""
title: ins_prev_id
type: object
removedAt:
- $ref: "#/components/schemas/yorkie.v1.TimeTicket"
+ $ref: '#/components/schemas/yorkie.v1.TimeTicket'
additionalProperties: false
description: ""
title: removed_at
@@ -1772,7 +1776,7 @@ components:
title: key
type: string
value:
- $ref: "#/components/schemas/yorkie.v1.NodeAttr"
+ $ref: '#/components/schemas/yorkie.v1.NodeAttr'
additionalProperties: false
description: ""
title: value
@@ -1784,7 +1788,7 @@ components:
description: ""
properties:
createdAt:
- $ref: "#/components/schemas/yorkie.v1.TimeTicket"
+ $ref: '#/components/schemas/yorkie.v1.TimeTicket'
additionalProperties: false
description: ""
title: created_at
@@ -1804,7 +1808,7 @@ components:
additionalProperties: false
description: ""
items:
- $ref: "#/components/schemas/yorkie.v1.TreeNode"
+ $ref: '#/components/schemas/yorkie.v1.TreeNode'
type: object
title: content
type: array
@@ -1815,13 +1819,13 @@ components:
description: ""
properties:
leftSiblingId:
- $ref: "#/components/schemas/yorkie.v1.TreeNodeID"
+ $ref: '#/components/schemas/yorkie.v1.TreeNodeID'
additionalProperties: false
description: ""
title: left_sibling_id
type: object
parentId:
- $ref: "#/components/schemas/yorkie.v1.TreeNodeID"
+ $ref: '#/components/schemas/yorkie.v1.TreeNodeID'
additionalProperties: false
description: ""
title: parent_id
@@ -1833,25 +1837,25 @@ components:
description: ""
properties:
authWebhookMethods:
- $ref: "#/components/schemas/yorkie.v1.UpdatableProjectFields.AuthWebhookMethods"
+ $ref: '#/components/schemas/yorkie.v1.UpdatableProjectFields.AuthWebhookMethods'
additionalProperties: false
description: ""
title: auth_webhook_methods
type: object
authWebhookUrl:
- $ref: "#/components/schemas/google.protobuf.StringValue"
+ $ref: '#/components/schemas/google.protobuf.StringValue'
additionalProperties: false
description: ""
title: auth_webhook_url
type: object
clientDeactivateThreshold:
- $ref: "#/components/schemas/google.protobuf.StringValue"
+ $ref: '#/components/schemas/google.protobuf.StringValue'
additionalProperties: false
description: ""
title: client_deactivate_threshold
type: object
name:
- $ref: "#/components/schemas/google.protobuf.StringValue"
+ $ref: '#/components/schemas/google.protobuf.StringValue'
additionalProperties: false
description: ""
title: name
@@ -1876,7 +1880,7 @@ components:
description: ""
properties:
fields:
- $ref: "#/components/schemas/yorkie.v1.UpdatableProjectFields"
+ $ref: '#/components/schemas/yorkie.v1.UpdatableProjectFields'
additionalProperties: false
description: ""
title: fields
@@ -1893,7 +1897,7 @@ components:
description: ""
properties:
project:
- $ref: "#/components/schemas/yorkie.v1.Project"
+ $ref: '#/components/schemas/yorkie.v1.Project'
additionalProperties: false
description: ""
title: project
@@ -1905,7 +1909,7 @@ components:
description: ""
properties:
createdAt:
- $ref: "#/components/schemas/google.protobuf.Timestamp"
+ $ref: '#/components/schemas/google.protobuf.Timestamp'
additionalProperties: false
description: ""
title: created_at
@@ -1925,34 +1929,34 @@ components:
yorkie.v1.ValueType:
description: ""
enum:
- - - VALUE_TYPE_NULL
- - 0
- - VALUE_TYPE_BOOLEAN
- - 1
- - VALUE_TYPE_INTEGER
- - 2
- - VALUE_TYPE_LONG
- - 3
- - VALUE_TYPE_DOUBLE
- - 4
- - VALUE_TYPE_STRING
- - 5
- - VALUE_TYPE_BYTES
- - 6
- - VALUE_TYPE_DATE
- - 7
- - VALUE_TYPE_JSON_OBJECT
- - 8
- - VALUE_TYPE_JSON_ARRAY
- - 9
- - VALUE_TYPE_TEXT
- - 10
- - VALUE_TYPE_INTEGER_CNT
- - 11
- - VALUE_TYPE_LONG_CNT
- - 12
- - VALUE_TYPE_TREE
- - 13
+ - - VALUE_TYPE_NULL
+ - 0
+ - VALUE_TYPE_BOOLEAN
+ - 1
+ - VALUE_TYPE_INTEGER
+ - 2
+ - VALUE_TYPE_LONG
+ - 3
+ - VALUE_TYPE_DOUBLE
+ - 4
+ - VALUE_TYPE_STRING
+ - 5
+ - VALUE_TYPE_BYTES
+ - 6
+ - VALUE_TYPE_DATE
+ - 7
+ - VALUE_TYPE_JSON_OBJECT
+ - 8
+ - VALUE_TYPE_JSON_ARRAY
+ - 9
+ - VALUE_TYPE_TEXT
+ - 10
+ - VALUE_TYPE_INTEGER_CNT
+ - 11
+ - VALUE_TYPE_LONG_CNT
+ - 12
+ - VALUE_TYPE_TREE
+ - 13
title: ValueType
type: string
securitySchemes:
@@ -1961,7 +1965,7 @@ components:
name: Authorization
type: apiKey
security:
- - ApiKeyAuth: []
+- ApiKeyAuth: []
tags:
- - description: Admin is a service that provides a API for Admin.
- name: yorkie.v1.AdminService
+- description: Admin is a service that provides a API for Admin.
+ name: yorkie.v1.AdminService
diff --git a/api/docs/yorkie/v1/resources.openapi.yaml b/api/docs/yorkie/v1/resources.openapi.yaml
index 84a1f79ab..55d8322f8 100644
--- a/api/docs/yorkie/v1/resources.openapi.yaml
+++ b/api/docs/yorkie/v1/resources.openapi.yaml
@@ -1,15 +1,14 @@
openapi: 3.1.0
info:
- description:
- Yorkie is an open source document store for building collaborative
+ description: Yorkie is an open source document store for building collaborative
editing applications.
title: Yorkie
version: v0.4.21
servers:
- - description: Production server
- url: https://api.yorkie.dev
- - description: Local server
- url: http://localhost:8080
+- description: Production server
+ url: https://api.yorkie.dev
+- description: Local server
+ url: http://localhost:8080
paths: {}
components:
responses:
@@ -17,35 +16,35 @@ components:
content:
application/json:
schema:
- $ref: "#/components/schemas/connect.error"
+ $ref: '#/components/schemas/connect.error'
application/proto:
schema:
- $ref: "#/components/schemas/connect.error"
+ $ref: '#/components/schemas/connect.error'
description: ""
schemas:
connect.error:
additionalProperties: false
- description: "Error type returned by Connect: https://connectrpc.com/docs/go/errors/#http-representation"
+ description: 'Error type returned by Connect: https://connectrpc.com/docs/go/errors/#http-representation'
properties:
code:
enum:
- - CodeCanceled
- - CodeUnknown
- - CodeInvalidArgument
- - CodeDeadlineExceeded
- - CodeNotFound
- - CodeAlreadyExists
- - CodePermissionDenied
- - CodeResourceExhausted
- - CodeFailedPrecondition
- - CodeAborted
- - CodeOutOfRange
- - CodeInternal
- - CodeUnavailable
- - CodeDataLoss
- - CodeUnauthenticated
+ - CodeCanceled
+ - CodeUnknown
+ - CodeInvalidArgument
+ - CodeDeadlineExceeded
+ - CodeNotFound
+ - CodeAlreadyExists
+ - CodePermissionDenied
+ - CodeResourceExhausted
+ - CodeFailedPrecondition
+ - CodeAborted
+ - CodeOutOfRange
+ - CodeInternal
+ - CodeUnavailable
+ - CodeDataLoss
+ - CodeUnauthenticated
examples:
- - CodeNotFound
+ - CodeNotFound
type: string
message:
type: string
@@ -164,7 +163,7 @@ components:
description: ""
properties:
id:
- $ref: "#/components/schemas/yorkie.v1.ChangeID"
+ $ref: '#/components/schemas/yorkie.v1.ChangeID'
additionalProperties: false
description: ""
title: id
@@ -178,12 +177,12 @@ components:
additionalProperties: false
description: ""
items:
- $ref: "#/components/schemas/yorkie.v1.Operation"
+ $ref: '#/components/schemas/yorkie.v1.Operation'
type: object
title: operations
type: array
presenceChange:
- $ref: "#/components/schemas/yorkie.v1.PresenceChange"
+ $ref: '#/components/schemas/yorkie.v1.PresenceChange'
additionalProperties: false
description: ""
title: presence_change
@@ -209,15 +208,15 @@ components:
additionalProperties: false
description: ""
oneOf:
- - type: string
- - type: number
+ - type: string
+ - type: number
title: lamport
serverSeq:
additionalProperties: false
description: ""
oneOf:
- - type: string
- - type: number
+ - type: string
+ - type: number
title: server_seq
title: ChangeID
type: object
@@ -231,12 +230,12 @@ components:
additionalProperties: false
description: ""
items:
- $ref: "#/components/schemas/yorkie.v1.Change"
+ $ref: '#/components/schemas/yorkie.v1.Change'
type: object
title: changes
type: array
checkpoint:
- $ref: "#/components/schemas/yorkie.v1.Checkpoint"
+ $ref: '#/components/schemas/yorkie.v1.Checkpoint'
additionalProperties: false
description: ""
title: checkpoint
@@ -252,7 +251,7 @@ components:
title: is_removed
type: boolean
minSyncedTicket:
- $ref: "#/components/schemas/yorkie.v1.TimeTicket"
+ $ref: '#/components/schemas/yorkie.v1.TimeTicket'
additionalProperties: false
description: ""
title: min_synced_ticket
@@ -278,8 +277,8 @@ components:
additionalProperties: false
description: ""
oneOf:
- - type: string
- - type: number
+ - type: string
+ - type: number
title: server_seq
title: Checkpoint
type: object
@@ -288,7 +287,7 @@ components:
description: ""
properties:
body:
- $ref: "#/components/schemas/yorkie.v1.DocEventBody"
+ $ref: '#/components/schemas/yorkie.v1.DocEventBody'
additionalProperties: false
description: ""
title: body
@@ -299,7 +298,7 @@ components:
title: publisher
type: string
type:
- $ref: "#/components/schemas/yorkie.v1.DocEventType"
+ $ref: '#/components/schemas/yorkie.v1.DocEventType'
additionalProperties: false
description: ""
title: type
@@ -325,14 +324,14 @@ components:
yorkie.v1.DocEventType:
description: ""
enum:
- - - DOC_EVENT_TYPE_DOCUMENT_CHANGED
- - 0
- - DOC_EVENT_TYPE_DOCUMENT_WATCHED
- - 1
- - DOC_EVENT_TYPE_DOCUMENT_UNWATCHED
- - 2
- - DOC_EVENT_TYPE_DOCUMENT_BROADCAST
- - 3
+ - - DOC_EVENT_TYPE_DOCUMENT_CHANGED
+ - 0
+ - DOC_EVENT_TYPE_DOCUMENT_WATCHED
+ - 1
+ - DOC_EVENT_TYPE_DOCUMENT_UNWATCHED
+ - 2
+ - DOC_EVENT_TYPE_DOCUMENT_BROADCAST
+ - 3
title: DocEventType
type: string
yorkie.v1.DocumentSummary:
@@ -340,13 +339,13 @@ components:
description: ""
properties:
accessedAt:
- $ref: "#/components/schemas/google.protobuf.Timestamp"
+ $ref: '#/components/schemas/google.protobuf.Timestamp'
additionalProperties: false
description: ""
title: accessed_at
type: object
createdAt:
- $ref: "#/components/schemas/google.protobuf.Timestamp"
+ $ref: '#/components/schemas/google.protobuf.Timestamp'
additionalProperties: false
description: ""
title: created_at
@@ -367,7 +366,7 @@ components:
title: snapshot
type: string
updatedAt:
- $ref: "#/components/schemas/google.protobuf.Timestamp"
+ $ref: '#/components/schemas/google.protobuf.Timestamp'
additionalProperties: false
description: ""
title: updated_at
@@ -379,37 +378,37 @@ components:
description: ""
properties:
counter:
- $ref: "#/components/schemas/yorkie.v1.JSONElement.Counter"
+ $ref: '#/components/schemas/yorkie.v1.JSONElement.Counter'
additionalProperties: false
description: ""
title: counter
type: object
jsonArray:
- $ref: "#/components/schemas/yorkie.v1.JSONElement.JSONArray"
+ $ref: '#/components/schemas/yorkie.v1.JSONElement.JSONArray'
additionalProperties: false
description: ""
title: json_array
type: object
jsonObject:
- $ref: "#/components/schemas/yorkie.v1.JSONElement.JSONObject"
+ $ref: '#/components/schemas/yorkie.v1.JSONElement.JSONObject'
additionalProperties: false
description: ""
title: json_object
type: object
primitive:
- $ref: "#/components/schemas/yorkie.v1.JSONElement.Primitive"
+ $ref: '#/components/schemas/yorkie.v1.JSONElement.Primitive'
additionalProperties: false
description: ""
title: primitive
type: object
text:
- $ref: "#/components/schemas/yorkie.v1.JSONElement.Text"
+ $ref: '#/components/schemas/yorkie.v1.JSONElement.Text'
additionalProperties: false
description: ""
title: text
type: object
tree:
- $ref: "#/components/schemas/yorkie.v1.JSONElement.Tree"
+ $ref: '#/components/schemas/yorkie.v1.JSONElement.Tree'
additionalProperties: false
description: ""
title: tree
@@ -421,25 +420,25 @@ components:
description: ""
properties:
createdAt:
- $ref: "#/components/schemas/yorkie.v1.TimeTicket"
+ $ref: '#/components/schemas/yorkie.v1.TimeTicket'
additionalProperties: false
description: ""
title: created_at
type: object
movedAt:
- $ref: "#/components/schemas/yorkie.v1.TimeTicket"
+ $ref: '#/components/schemas/yorkie.v1.TimeTicket'
additionalProperties: false
description: ""
title: moved_at
type: object
removedAt:
- $ref: "#/components/schemas/yorkie.v1.TimeTicket"
+ $ref: '#/components/schemas/yorkie.v1.TimeTicket'
additionalProperties: false
description: ""
title: removed_at
type: object
type:
- $ref: "#/components/schemas/yorkie.v1.ValueType"
+ $ref: '#/components/schemas/yorkie.v1.ValueType'
additionalProperties: false
description: ""
title: type
@@ -456,13 +455,13 @@ components:
description: ""
properties:
createdAt:
- $ref: "#/components/schemas/yorkie.v1.TimeTicket"
+ $ref: '#/components/schemas/yorkie.v1.TimeTicket'
additionalProperties: false
description: ""
title: created_at
type: object
movedAt:
- $ref: "#/components/schemas/yorkie.v1.TimeTicket"
+ $ref: '#/components/schemas/yorkie.v1.TimeTicket'
additionalProperties: false
description: ""
title: moved_at
@@ -471,12 +470,12 @@ components:
additionalProperties: false
description: ""
items:
- $ref: "#/components/schemas/yorkie.v1.RGANode"
+ $ref: '#/components/schemas/yorkie.v1.RGANode'
type: object
title: nodes
type: array
removedAt:
- $ref: "#/components/schemas/yorkie.v1.TimeTicket"
+ $ref: '#/components/schemas/yorkie.v1.TimeTicket'
additionalProperties: false
description: ""
title: removed_at
@@ -488,13 +487,13 @@ components:
description: ""
properties:
createdAt:
- $ref: "#/components/schemas/yorkie.v1.TimeTicket"
+ $ref: '#/components/schemas/yorkie.v1.TimeTicket'
additionalProperties: false
description: ""
title: created_at
type: object
movedAt:
- $ref: "#/components/schemas/yorkie.v1.TimeTicket"
+ $ref: '#/components/schemas/yorkie.v1.TimeTicket'
additionalProperties: false
description: ""
title: moved_at
@@ -503,12 +502,12 @@ components:
additionalProperties: false
description: ""
items:
- $ref: "#/components/schemas/yorkie.v1.RHTNode"
+ $ref: '#/components/schemas/yorkie.v1.RHTNode'
type: object
title: nodes
type: array
removedAt:
- $ref: "#/components/schemas/yorkie.v1.TimeTicket"
+ $ref: '#/components/schemas/yorkie.v1.TimeTicket'
additionalProperties: false
description: ""
title: removed_at
@@ -520,25 +519,25 @@ components:
description: ""
properties:
createdAt:
- $ref: "#/components/schemas/yorkie.v1.TimeTicket"
+ $ref: '#/components/schemas/yorkie.v1.TimeTicket'
additionalProperties: false
description: ""
title: created_at
type: object
movedAt:
- $ref: "#/components/schemas/yorkie.v1.TimeTicket"
+ $ref: '#/components/schemas/yorkie.v1.TimeTicket'
additionalProperties: false
description: ""
title: moved_at
type: object
removedAt:
- $ref: "#/components/schemas/yorkie.v1.TimeTicket"
+ $ref: '#/components/schemas/yorkie.v1.TimeTicket'
additionalProperties: false
description: ""
title: removed_at
type: object
type:
- $ref: "#/components/schemas/yorkie.v1.ValueType"
+ $ref: '#/components/schemas/yorkie.v1.ValueType'
additionalProperties: false
description: ""
title: type
@@ -555,13 +554,13 @@ components:
description: ""
properties:
createdAt:
- $ref: "#/components/schemas/yorkie.v1.TimeTicket"
+ $ref: '#/components/schemas/yorkie.v1.TimeTicket'
additionalProperties: false
description: ""
title: created_at
type: object
movedAt:
- $ref: "#/components/schemas/yorkie.v1.TimeTicket"
+ $ref: '#/components/schemas/yorkie.v1.TimeTicket'
additionalProperties: false
description: ""
title: moved_at
@@ -570,12 +569,12 @@ components:
additionalProperties: false
description: ""
items:
- $ref: "#/components/schemas/yorkie.v1.TextNode"
+ $ref: '#/components/schemas/yorkie.v1.TextNode'
type: object
title: nodes
type: array
removedAt:
- $ref: "#/components/schemas/yorkie.v1.TimeTicket"
+ $ref: '#/components/schemas/yorkie.v1.TimeTicket'
additionalProperties: false
description: ""
title: removed_at
@@ -587,13 +586,13 @@ components:
description: ""
properties:
createdAt:
- $ref: "#/components/schemas/yorkie.v1.TimeTicket"
+ $ref: '#/components/schemas/yorkie.v1.TimeTicket'
additionalProperties: false
description: ""
title: created_at
type: object
movedAt:
- $ref: "#/components/schemas/yorkie.v1.TimeTicket"
+ $ref: '#/components/schemas/yorkie.v1.TimeTicket'
additionalProperties: false
description: ""
title: moved_at
@@ -602,12 +601,12 @@ components:
additionalProperties: false
description: ""
items:
- $ref: "#/components/schemas/yorkie.v1.TreeNode"
+ $ref: '#/components/schemas/yorkie.v1.TreeNode'
type: object
title: nodes
type: array
removedAt:
- $ref: "#/components/schemas/yorkie.v1.TimeTicket"
+ $ref: '#/components/schemas/yorkie.v1.TimeTicket'
additionalProperties: false
description: ""
title: removed_at
@@ -619,25 +618,25 @@ components:
description: ""
properties:
createdAt:
- $ref: "#/components/schemas/yorkie.v1.TimeTicket"
+ $ref: '#/components/schemas/yorkie.v1.TimeTicket'
additionalProperties: false
description: ""
title: created_at
type: object
movedAt:
- $ref: "#/components/schemas/yorkie.v1.TimeTicket"
+ $ref: '#/components/schemas/yorkie.v1.TimeTicket'
additionalProperties: false
description: ""
title: moved_at
type: object
removedAt:
- $ref: "#/components/schemas/yorkie.v1.TimeTicket"
+ $ref: '#/components/schemas/yorkie.v1.TimeTicket'
additionalProperties: false
description: ""
title: removed_at
type: object
type:
- $ref: "#/components/schemas/yorkie.v1.ValueType"
+ $ref: '#/components/schemas/yorkie.v1.ValueType'
additionalProperties: false
description: ""
title: type
@@ -653,8 +652,13 @@ components:
additionalProperties: false
description: ""
properties:
+ isRemoved:
+ additionalProperties: false
+ description: ""
+ title: is_removed
+ type: boolean
updatedAt:
- $ref: "#/components/schemas/yorkie.v1.TimeTicket"
+ $ref: '#/components/schemas/yorkie.v1.TimeTicket'
additionalProperties: false
description: ""
title: updated_at
@@ -671,61 +675,61 @@ components:
description: ""
properties:
add:
- $ref: "#/components/schemas/yorkie.v1.Operation.Add"
+ $ref: '#/components/schemas/yorkie.v1.Operation.Add'
additionalProperties: false
description: ""
title: add
type: object
edit:
- $ref: "#/components/schemas/yorkie.v1.Operation.Edit"
+ $ref: '#/components/schemas/yorkie.v1.Operation.Edit'
additionalProperties: false
description: ""
title: edit
type: object
increase:
- $ref: "#/components/schemas/yorkie.v1.Operation.Increase"
+ $ref: '#/components/schemas/yorkie.v1.Operation.Increase'
additionalProperties: false
description: ""
title: increase
type: object
move:
- $ref: "#/components/schemas/yorkie.v1.Operation.Move"
+ $ref: '#/components/schemas/yorkie.v1.Operation.Move'
additionalProperties: false
description: ""
title: move
type: object
remove:
- $ref: "#/components/schemas/yorkie.v1.Operation.Remove"
+ $ref: '#/components/schemas/yorkie.v1.Operation.Remove'
additionalProperties: false
description: ""
title: remove
type: object
select:
- $ref: "#/components/schemas/yorkie.v1.Operation.Select"
+ $ref: '#/components/schemas/yorkie.v1.Operation.Select'
additionalProperties: false
description: ""
title: select
type: object
set:
- $ref: "#/components/schemas/yorkie.v1.Operation.Set"
+ $ref: '#/components/schemas/yorkie.v1.Operation.Set'
additionalProperties: false
description: ""
title: set
type: object
style:
- $ref: "#/components/schemas/yorkie.v1.Operation.Style"
+ $ref: '#/components/schemas/yorkie.v1.Operation.Style'
additionalProperties: false
description: ""
title: style
type: object
treeEdit:
- $ref: "#/components/schemas/yorkie.v1.Operation.TreeEdit"
+ $ref: '#/components/schemas/yorkie.v1.Operation.TreeEdit'
additionalProperties: false
description: ""
title: tree_edit
type: object
treeStyle:
- $ref: "#/components/schemas/yorkie.v1.Operation.TreeStyle"
+ $ref: '#/components/schemas/yorkie.v1.Operation.TreeStyle'
additionalProperties: false
description: ""
title: tree_style
@@ -737,25 +741,25 @@ components:
description: ""
properties:
executedAt:
- $ref: "#/components/schemas/yorkie.v1.TimeTicket"
+ $ref: '#/components/schemas/yorkie.v1.TimeTicket'
additionalProperties: false
description: ""
title: executed_at
type: object
parentCreatedAt:
- $ref: "#/components/schemas/yorkie.v1.TimeTicket"
+ $ref: '#/components/schemas/yorkie.v1.TimeTicket'
additionalProperties: false
description: ""
title: parent_created_at
type: object
prevCreatedAt:
- $ref: "#/components/schemas/yorkie.v1.TimeTicket"
+ $ref: '#/components/schemas/yorkie.v1.TimeTicket'
additionalProperties: false
description: ""
title: prev_created_at
type: object
value:
- $ref: "#/components/schemas/yorkie.v1.JSONElementSimple"
+ $ref: '#/components/schemas/yorkie.v1.JSONElementSimple'
additionalProperties: false
description: ""
title: value
@@ -782,25 +786,25 @@ components:
title: created_at_map_by_actor
type: object
executedAt:
- $ref: "#/components/schemas/yorkie.v1.TimeTicket"
+ $ref: '#/components/schemas/yorkie.v1.TimeTicket'
additionalProperties: false
description: ""
title: executed_at
type: object
from:
- $ref: "#/components/schemas/yorkie.v1.TextNodePos"
+ $ref: '#/components/schemas/yorkie.v1.TextNodePos'
additionalProperties: false
description: ""
title: from
type: object
parentCreatedAt:
- $ref: "#/components/schemas/yorkie.v1.TimeTicket"
+ $ref: '#/components/schemas/yorkie.v1.TimeTicket'
additionalProperties: false
description: ""
title: parent_created_at
type: object
to:
- $ref: "#/components/schemas/yorkie.v1.TextNodePos"
+ $ref: '#/components/schemas/yorkie.v1.TextNodePos'
additionalProperties: false
description: ""
title: to
@@ -833,7 +837,7 @@ components:
title: key
type: string
value:
- $ref: "#/components/schemas/yorkie.v1.TimeTicket"
+ $ref: '#/components/schemas/yorkie.v1.TimeTicket'
additionalProperties: false
description: ""
title: value
@@ -845,19 +849,19 @@ components:
description: ""
properties:
executedAt:
- $ref: "#/components/schemas/yorkie.v1.TimeTicket"
+ $ref: '#/components/schemas/yorkie.v1.TimeTicket'
additionalProperties: false
description: ""
title: executed_at
type: object
parentCreatedAt:
- $ref: "#/components/schemas/yorkie.v1.TimeTicket"
+ $ref: '#/components/schemas/yorkie.v1.TimeTicket'
additionalProperties: false
description: ""
title: parent_created_at
type: object
value:
- $ref: "#/components/schemas/yorkie.v1.JSONElementSimple"
+ $ref: '#/components/schemas/yorkie.v1.JSONElementSimple'
additionalProperties: false
description: ""
title: value
@@ -869,25 +873,25 @@ components:
description: ""
properties:
createdAt:
- $ref: "#/components/schemas/yorkie.v1.TimeTicket"
+ $ref: '#/components/schemas/yorkie.v1.TimeTicket'
additionalProperties: false
description: ""
title: created_at
type: object
executedAt:
- $ref: "#/components/schemas/yorkie.v1.TimeTicket"
+ $ref: '#/components/schemas/yorkie.v1.TimeTicket'
additionalProperties: false
description: ""
title: executed_at
type: object
parentCreatedAt:
- $ref: "#/components/schemas/yorkie.v1.TimeTicket"
+ $ref: '#/components/schemas/yorkie.v1.TimeTicket'
additionalProperties: false
description: ""
title: parent_created_at
type: object
prevCreatedAt:
- $ref: "#/components/schemas/yorkie.v1.TimeTicket"
+ $ref: '#/components/schemas/yorkie.v1.TimeTicket'
additionalProperties: false
description: ""
title: prev_created_at
@@ -899,19 +903,19 @@ components:
description: ""
properties:
createdAt:
- $ref: "#/components/schemas/yorkie.v1.TimeTicket"
+ $ref: '#/components/schemas/yorkie.v1.TimeTicket'
additionalProperties: false
description: ""
title: created_at
type: object
executedAt:
- $ref: "#/components/schemas/yorkie.v1.TimeTicket"
+ $ref: '#/components/schemas/yorkie.v1.TimeTicket'
additionalProperties: false
description: ""
title: executed_at
type: object
parentCreatedAt:
- $ref: "#/components/schemas/yorkie.v1.TimeTicket"
+ $ref: '#/components/schemas/yorkie.v1.TimeTicket'
additionalProperties: false
description: ""
title: parent_created_at
@@ -927,25 +931,25 @@ components:
compatibility purposes.
properties:
executedAt:
- $ref: "#/components/schemas/yorkie.v1.TimeTicket"
+ $ref: '#/components/schemas/yorkie.v1.TimeTicket'
additionalProperties: false
description: ""
title: executed_at
type: object
from:
- $ref: "#/components/schemas/yorkie.v1.TextNodePos"
+ $ref: '#/components/schemas/yorkie.v1.TextNodePos'
additionalProperties: false
description: ""
title: from
type: object
parentCreatedAt:
- $ref: "#/components/schemas/yorkie.v1.TimeTicket"
+ $ref: '#/components/schemas/yorkie.v1.TimeTicket'
additionalProperties: false
description: ""
title: parent_created_at
type: object
to:
- $ref: "#/components/schemas/yorkie.v1.TextNodePos"
+ $ref: '#/components/schemas/yorkie.v1.TextNodePos'
additionalProperties: false
description: ""
title: to
@@ -957,7 +961,7 @@ components:
description: ""
properties:
executedAt:
- $ref: "#/components/schemas/yorkie.v1.TimeTicket"
+ $ref: '#/components/schemas/yorkie.v1.TimeTicket'
additionalProperties: false
description: ""
title: executed_at
@@ -968,13 +972,13 @@ components:
title: key
type: string
parentCreatedAt:
- $ref: "#/components/schemas/yorkie.v1.TimeTicket"
+ $ref: '#/components/schemas/yorkie.v1.TimeTicket'
additionalProperties: false
description: ""
title: parent_created_at
type: object
value:
- $ref: "#/components/schemas/yorkie.v1.JSONElementSimple"
+ $ref: '#/components/schemas/yorkie.v1.JSONElementSimple'
additionalProperties: false
description: ""
title: value
@@ -996,25 +1000,25 @@ components:
title: created_at_map_by_actor
type: object
executedAt:
- $ref: "#/components/schemas/yorkie.v1.TimeTicket"
+ $ref: '#/components/schemas/yorkie.v1.TimeTicket'
additionalProperties: false
description: ""
title: executed_at
type: object
from:
- $ref: "#/components/schemas/yorkie.v1.TextNodePos"
+ $ref: '#/components/schemas/yorkie.v1.TextNodePos'
additionalProperties: false
description: ""
title: from
type: object
parentCreatedAt:
- $ref: "#/components/schemas/yorkie.v1.TimeTicket"
+ $ref: '#/components/schemas/yorkie.v1.TimeTicket'
additionalProperties: false
description: ""
title: parent_created_at
type: object
to:
- $ref: "#/components/schemas/yorkie.v1.TextNodePos"
+ $ref: '#/components/schemas/yorkie.v1.TextNodePos'
additionalProperties: false
description: ""
title: to
@@ -1047,7 +1051,7 @@ components:
title: key
type: string
value:
- $ref: "#/components/schemas/yorkie.v1.TimeTicket"
+ $ref: '#/components/schemas/yorkie.v1.TimeTicket'
additionalProperties: false
description: ""
title: value
@@ -1062,7 +1066,7 @@ components:
additionalProperties: false
description: ""
items:
- $ref: "#/components/schemas/yorkie.v1.TreeNodes"
+ $ref: '#/components/schemas/yorkie.v1.TreeNodes'
type: object
title: contents
type: array
@@ -1072,19 +1076,19 @@ components:
title: created_at_map_by_actor
type: object
executedAt:
- $ref: "#/components/schemas/yorkie.v1.TimeTicket"
+ $ref: '#/components/schemas/yorkie.v1.TimeTicket'
additionalProperties: false
description: ""
title: executed_at
type: object
from:
- $ref: "#/components/schemas/yorkie.v1.TreePos"
+ $ref: '#/components/schemas/yorkie.v1.TreePos'
additionalProperties: false
description: ""
title: from
type: object
parentCreatedAt:
- $ref: "#/components/schemas/yorkie.v1.TimeTicket"
+ $ref: '#/components/schemas/yorkie.v1.TimeTicket'
additionalProperties: false
description: ""
title: parent_created_at
@@ -1095,7 +1099,7 @@ components:
title: split_level
type: integer
to:
- $ref: "#/components/schemas/yorkie.v1.TreePos"
+ $ref: '#/components/schemas/yorkie.v1.TreePos'
additionalProperties: false
description: ""
title: to
@@ -1112,7 +1116,7 @@ components:
title: key
type: string
value:
- $ref: "#/components/schemas/yorkie.v1.TimeTicket"
+ $ref: '#/components/schemas/yorkie.v1.TimeTicket'
additionalProperties: false
description: ""
title: value
@@ -1141,25 +1145,25 @@ components:
title: created_at_map_by_actor
type: object
executedAt:
- $ref: "#/components/schemas/yorkie.v1.TimeTicket"
+ $ref: '#/components/schemas/yorkie.v1.TimeTicket'
additionalProperties: false
description: ""
title: executed_at
type: object
from:
- $ref: "#/components/schemas/yorkie.v1.TreePos"
+ $ref: '#/components/schemas/yorkie.v1.TreePos'
additionalProperties: false
description: ""
title: from
type: object
parentCreatedAt:
- $ref: "#/components/schemas/yorkie.v1.TimeTicket"
+ $ref: '#/components/schemas/yorkie.v1.TimeTicket'
additionalProperties: false
description: ""
title: parent_created_at
type: object
to:
- $ref: "#/components/schemas/yorkie.v1.TreePos"
+ $ref: '#/components/schemas/yorkie.v1.TreePos'
additionalProperties: false
description: ""
title: to
@@ -1192,7 +1196,7 @@ components:
title: key
type: string
value:
- $ref: "#/components/schemas/yorkie.v1.TimeTicket"
+ $ref: '#/components/schemas/yorkie.v1.TimeTicket'
additionalProperties: false
description: ""
title: value
@@ -1231,13 +1235,13 @@ components:
description: ""
properties:
presence:
- $ref: "#/components/schemas/yorkie.v1.Presence"
+ $ref: '#/components/schemas/yorkie.v1.Presence'
additionalProperties: false
description: ""
title: presence
type: object
type:
- $ref: "#/components/schemas/yorkie.v1.PresenceChange.ChangeType"
+ $ref: '#/components/schemas/yorkie.v1.PresenceChange.ChangeType'
additionalProperties: false
description: ""
title: type
@@ -1246,14 +1250,14 @@ components:
yorkie.v1.PresenceChange.ChangeType:
description: ""
enum:
- - - CHANGE_TYPE_UNSPECIFIED
- - 0
- - CHANGE_TYPE_PUT
- - 1
- - CHANGE_TYPE_DELETE
- - 2
- - CHANGE_TYPE_CLEAR
- - 3
+ - - CHANGE_TYPE_UNSPECIFIED
+ - 0
+ - CHANGE_TYPE_PUT
+ - 1
+ - CHANGE_TYPE_DELETE
+ - 2
+ - CHANGE_TYPE_CLEAR
+ - 3
title: ChangeType
type: string
yorkie.v1.Project:
@@ -1278,7 +1282,7 @@ components:
title: client_deactivate_threshold
type: string
createdAt:
- $ref: "#/components/schemas/google.protobuf.Timestamp"
+ $ref: '#/components/schemas/google.protobuf.Timestamp'
additionalProperties: false
description: ""
title: created_at
@@ -1304,7 +1308,7 @@ components:
title: secret_key
type: string
updatedAt:
- $ref: "#/components/schemas/google.protobuf.Timestamp"
+ $ref: '#/components/schemas/google.protobuf.Timestamp'
additionalProperties: false
description: ""
title: updated_at
@@ -1316,13 +1320,13 @@ components:
description: ""
properties:
element:
- $ref: "#/components/schemas/yorkie.v1.JSONElement"
+ $ref: '#/components/schemas/yorkie.v1.JSONElement'
additionalProperties: false
description: ""
title: element
type: object
next:
- $ref: "#/components/schemas/yorkie.v1.RGANode"
+ $ref: '#/components/schemas/yorkie.v1.RGANode'
additionalProperties: false
description: ""
title: next
@@ -1334,7 +1338,7 @@ components:
description: ""
properties:
element:
- $ref: "#/components/schemas/yorkie.v1.JSONElement"
+ $ref: '#/components/schemas/yorkie.v1.JSONElement'
additionalProperties: false
description: ""
title: element
@@ -1359,7 +1363,7 @@ components:
title: presences
type: object
root:
- $ref: "#/components/schemas/yorkie.v1.JSONElement"
+ $ref: '#/components/schemas/yorkie.v1.JSONElement'
additionalProperties: false
description: ""
title: root
@@ -1376,7 +1380,7 @@ components:
title: key
type: string
value:
- $ref: "#/components/schemas/yorkie.v1.Presence"
+ $ref: '#/components/schemas/yorkie.v1.Presence'
additionalProperties: false
description: ""
title: value
@@ -1393,19 +1397,19 @@ components:
title: attributes
type: object
id:
- $ref: "#/components/schemas/yorkie.v1.TextNodeID"
+ $ref: '#/components/schemas/yorkie.v1.TextNodeID'
additionalProperties: false
description: ""
title: id
type: object
insPrevId:
- $ref: "#/components/schemas/yorkie.v1.TextNodeID"
+ $ref: '#/components/schemas/yorkie.v1.TextNodeID'
additionalProperties: false
description: ""
title: ins_prev_id
type: object
removedAt:
- $ref: "#/components/schemas/yorkie.v1.TimeTicket"
+ $ref: '#/components/schemas/yorkie.v1.TimeTicket'
additionalProperties: false
description: ""
title: removed_at
@@ -1427,7 +1431,7 @@ components:
title: key
type: string
value:
- $ref: "#/components/schemas/yorkie.v1.NodeAttr"
+ $ref: '#/components/schemas/yorkie.v1.NodeAttr'
additionalProperties: false
description: ""
title: value
@@ -1439,7 +1443,7 @@ components:
description: ""
properties:
createdAt:
- $ref: "#/components/schemas/yorkie.v1.TimeTicket"
+ $ref: '#/components/schemas/yorkie.v1.TimeTicket'
additionalProperties: false
description: ""
title: created_at
@@ -1456,7 +1460,7 @@ components:
description: ""
properties:
createdAt:
- $ref: "#/components/schemas/yorkie.v1.TimeTicket"
+ $ref: '#/components/schemas/yorkie.v1.TimeTicket'
additionalProperties: false
description: ""
title: created_at
@@ -1492,8 +1496,8 @@ components:
additionalProperties: false
description: ""
oneOf:
- - type: string
- - type: number
+ - type: string
+ - type: number
title: lamport
title: TimeTicket
type: object
@@ -1512,25 +1516,25 @@ components:
title: depth
type: integer
id:
- $ref: "#/components/schemas/yorkie.v1.TreeNodeID"
+ $ref: '#/components/schemas/yorkie.v1.TreeNodeID'
additionalProperties: false
description: ""
title: id
type: object
insNextId:
- $ref: "#/components/schemas/yorkie.v1.TreeNodeID"
+ $ref: '#/components/schemas/yorkie.v1.TreeNodeID'
additionalProperties: false
description: ""
title: ins_next_id
type: object
insPrevId:
- $ref: "#/components/schemas/yorkie.v1.TreeNodeID"
+ $ref: '#/components/schemas/yorkie.v1.TreeNodeID'
additionalProperties: false
description: ""
title: ins_prev_id
type: object
removedAt:
- $ref: "#/components/schemas/yorkie.v1.TimeTicket"
+ $ref: '#/components/schemas/yorkie.v1.TimeTicket'
additionalProperties: false
description: ""
title: removed_at
@@ -1557,7 +1561,7 @@ components:
title: key
type: string
value:
- $ref: "#/components/schemas/yorkie.v1.NodeAttr"
+ $ref: '#/components/schemas/yorkie.v1.NodeAttr'
additionalProperties: false
description: ""
title: value
@@ -1569,7 +1573,7 @@ components:
description: ""
properties:
createdAt:
- $ref: "#/components/schemas/yorkie.v1.TimeTicket"
+ $ref: '#/components/schemas/yorkie.v1.TimeTicket'
additionalProperties: false
description: ""
title: created_at
@@ -1589,7 +1593,7 @@ components:
additionalProperties: false
description: ""
items:
- $ref: "#/components/schemas/yorkie.v1.TreeNode"
+ $ref: '#/components/schemas/yorkie.v1.TreeNode'
type: object
title: content
type: array
@@ -1600,13 +1604,13 @@ components:
description: ""
properties:
leftSiblingId:
- $ref: "#/components/schemas/yorkie.v1.TreeNodeID"
+ $ref: '#/components/schemas/yorkie.v1.TreeNodeID'
additionalProperties: false
description: ""
title: left_sibling_id
type: object
parentId:
- $ref: "#/components/schemas/yorkie.v1.TreeNodeID"
+ $ref: '#/components/schemas/yorkie.v1.TreeNodeID'
additionalProperties: false
description: ""
title: parent_id
@@ -1618,25 +1622,25 @@ components:
description: ""
properties:
authWebhookMethods:
- $ref: "#/components/schemas/yorkie.v1.UpdatableProjectFields.AuthWebhookMethods"
+ $ref: '#/components/schemas/yorkie.v1.UpdatableProjectFields.AuthWebhookMethods'
additionalProperties: false
description: ""
title: auth_webhook_methods
type: object
authWebhookUrl:
- $ref: "#/components/schemas/google.protobuf.StringValue"
+ $ref: '#/components/schemas/google.protobuf.StringValue'
additionalProperties: false
description: ""
title: auth_webhook_url
type: object
clientDeactivateThreshold:
- $ref: "#/components/schemas/google.protobuf.StringValue"
+ $ref: '#/components/schemas/google.protobuf.StringValue'
additionalProperties: false
description: ""
title: client_deactivate_threshold
type: object
name:
- $ref: "#/components/schemas/google.protobuf.StringValue"
+ $ref: '#/components/schemas/google.protobuf.StringValue'
additionalProperties: false
description: ""
title: name
@@ -1661,7 +1665,7 @@ components:
description: ""
properties:
createdAt:
- $ref: "#/components/schemas/google.protobuf.Timestamp"
+ $ref: '#/components/schemas/google.protobuf.Timestamp'
additionalProperties: false
description: ""
title: created_at
@@ -1681,34 +1685,34 @@ components:
yorkie.v1.ValueType:
description: ""
enum:
- - - VALUE_TYPE_NULL
- - 0
- - VALUE_TYPE_BOOLEAN
- - 1
- - VALUE_TYPE_INTEGER
- - 2
- - VALUE_TYPE_LONG
- - 3
- - VALUE_TYPE_DOUBLE
- - 4
- - VALUE_TYPE_STRING
- - 5
- - VALUE_TYPE_BYTES
- - 6
- - VALUE_TYPE_DATE
- - 7
- - VALUE_TYPE_JSON_OBJECT
- - 8
- - VALUE_TYPE_JSON_ARRAY
- - 9
- - VALUE_TYPE_TEXT
- - 10
- - VALUE_TYPE_INTEGER_CNT
- - 11
- - VALUE_TYPE_LONG_CNT
- - 12
- - VALUE_TYPE_TREE
- - 13
+ - - VALUE_TYPE_NULL
+ - 0
+ - VALUE_TYPE_BOOLEAN
+ - 1
+ - VALUE_TYPE_INTEGER
+ - 2
+ - VALUE_TYPE_LONG
+ - 3
+ - VALUE_TYPE_DOUBLE
+ - 4
+ - VALUE_TYPE_STRING
+ - 5
+ - VALUE_TYPE_BYTES
+ - 6
+ - VALUE_TYPE_DATE
+ - 7
+ - VALUE_TYPE_JSON_OBJECT
+ - 8
+ - VALUE_TYPE_JSON_ARRAY
+ - 9
+ - VALUE_TYPE_TEXT
+ - 10
+ - VALUE_TYPE_INTEGER_CNT
+ - 11
+ - VALUE_TYPE_LONG_CNT
+ - 12
+ - VALUE_TYPE_TREE
+ - 13
title: ValueType
type: string
securitySchemes:
@@ -1717,4 +1721,4 @@ components:
name: Authorization
type: apiKey
security:
- - ApiKeyAuth: []
+- ApiKeyAuth: []
diff --git a/api/docs/yorkie/v1/yorkie.openapi.yaml b/api/docs/yorkie/v1/yorkie.openapi.yaml
index 0b555178c..e82f7f809 100644
--- a/api/docs/yorkie/v1/yorkie.openapi.yaml
+++ b/api/docs/yorkie/v1/yorkie.openapi.yaml
@@ -1,176 +1,175 @@
openapi: 3.1.0
info:
- description:
- Yorkie is an open source document store for building collaborative
+ description: Yorkie is an open source document store for building collaborative
editing applications.
title: Yorkie
version: v0.4.21
servers:
- - description: Production server
- url: https://api.yorkie.dev
- - description: Local server
- url: http://localhost:8080
+- description: Production server
+ url: https://api.yorkie.dev
+- description: Local server
+ url: http://localhost:8080
paths:
/yorkie.v1.YorkieService/ActivateClient:
post:
description: ""
requestBody:
- $ref: "#/components/requestBodies/yorkie.v1.YorkieService.ActivateClient.yorkie.v1.ActivateClientRequest"
+ $ref: '#/components/requestBodies/yorkie.v1.YorkieService.ActivateClient.yorkie.v1.ActivateClientRequest'
responses:
"200":
- $ref: "#/components/responses/yorkie.v1.YorkieService.ActivateClient.yorkie.v1.ActivateClientResponse"
+ $ref: '#/components/responses/yorkie.v1.YorkieService.ActivateClient.yorkie.v1.ActivateClientResponse'
default:
- $ref: "#/components/responses/connect.error"
+ $ref: '#/components/responses/connect.error'
tags:
- - yorkie.v1.YorkieService
+ - yorkie.v1.YorkieService
/yorkie.v1.YorkieService/AttachDocument:
post:
description: ""
requestBody:
- $ref: "#/components/requestBodies/yorkie.v1.YorkieService.AttachDocument.yorkie.v1.AttachDocumentRequest"
+ $ref: '#/components/requestBodies/yorkie.v1.YorkieService.AttachDocument.yorkie.v1.AttachDocumentRequest'
responses:
"200":
- $ref: "#/components/responses/yorkie.v1.YorkieService.AttachDocument.yorkie.v1.AttachDocumentResponse"
+ $ref: '#/components/responses/yorkie.v1.YorkieService.AttachDocument.yorkie.v1.AttachDocumentResponse'
default:
- $ref: "#/components/responses/connect.error"
+ $ref: '#/components/responses/connect.error'
tags:
- - yorkie.v1.YorkieService
+ - yorkie.v1.YorkieService
/yorkie.v1.YorkieService/Broadcast:
post:
description: ""
requestBody:
- $ref: "#/components/requestBodies/yorkie.v1.YorkieService.Broadcast.yorkie.v1.BroadcastRequest"
+ $ref: '#/components/requestBodies/yorkie.v1.YorkieService.Broadcast.yorkie.v1.BroadcastRequest'
responses:
"200":
- $ref: "#/components/responses/yorkie.v1.YorkieService.Broadcast.yorkie.v1.BroadcastResponse"
+ $ref: '#/components/responses/yorkie.v1.YorkieService.Broadcast.yorkie.v1.BroadcastResponse'
default:
- $ref: "#/components/responses/connect.error"
+ $ref: '#/components/responses/connect.error'
tags:
- - yorkie.v1.YorkieService
+ - yorkie.v1.YorkieService
/yorkie.v1.YorkieService/DeactivateClient:
post:
description: ""
requestBody:
- $ref: "#/components/requestBodies/yorkie.v1.YorkieService.DeactivateClient.yorkie.v1.DeactivateClientRequest"
+ $ref: '#/components/requestBodies/yorkie.v1.YorkieService.DeactivateClient.yorkie.v1.DeactivateClientRequest'
responses:
"200":
- $ref: "#/components/responses/yorkie.v1.YorkieService.DeactivateClient.yorkie.v1.DeactivateClientResponse"
+ $ref: '#/components/responses/yorkie.v1.YorkieService.DeactivateClient.yorkie.v1.DeactivateClientResponse'
default:
- $ref: "#/components/responses/connect.error"
+ $ref: '#/components/responses/connect.error'
tags:
- - yorkie.v1.YorkieService
+ - yorkie.v1.YorkieService
/yorkie.v1.YorkieService/DetachDocument:
post:
description: ""
requestBody:
- $ref: "#/components/requestBodies/yorkie.v1.YorkieService.DetachDocument.yorkie.v1.DetachDocumentRequest"
+ $ref: '#/components/requestBodies/yorkie.v1.YorkieService.DetachDocument.yorkie.v1.DetachDocumentRequest'
responses:
"200":
- $ref: "#/components/responses/yorkie.v1.YorkieService.DetachDocument.yorkie.v1.DetachDocumentResponse"
+ $ref: '#/components/responses/yorkie.v1.YorkieService.DetachDocument.yorkie.v1.DetachDocumentResponse'
default:
- $ref: "#/components/responses/connect.error"
+ $ref: '#/components/responses/connect.error'
tags:
- - yorkie.v1.YorkieService
+ - yorkie.v1.YorkieService
/yorkie.v1.YorkieService/PushPullChanges:
post:
description: ""
requestBody:
- $ref: "#/components/requestBodies/yorkie.v1.YorkieService.PushPullChanges.yorkie.v1.PushPullChangesRequest"
+ $ref: '#/components/requestBodies/yorkie.v1.YorkieService.PushPullChanges.yorkie.v1.PushPullChangesRequest'
responses:
"200":
- $ref: "#/components/responses/yorkie.v1.YorkieService.PushPullChanges.yorkie.v1.PushPullChangesResponse"
+ $ref: '#/components/responses/yorkie.v1.YorkieService.PushPullChanges.yorkie.v1.PushPullChangesResponse'
default:
- $ref: "#/components/responses/connect.error"
+ $ref: '#/components/responses/connect.error'
tags:
- - yorkie.v1.YorkieService
+ - yorkie.v1.YorkieService
/yorkie.v1.YorkieService/RemoveDocument:
post:
description: ""
requestBody:
- $ref: "#/components/requestBodies/yorkie.v1.YorkieService.RemoveDocument.yorkie.v1.RemoveDocumentRequest"
+ $ref: '#/components/requestBodies/yorkie.v1.YorkieService.RemoveDocument.yorkie.v1.RemoveDocumentRequest'
responses:
"200":
- $ref: "#/components/responses/yorkie.v1.YorkieService.RemoveDocument.yorkie.v1.RemoveDocumentResponse"
+ $ref: '#/components/responses/yorkie.v1.YorkieService.RemoveDocument.yorkie.v1.RemoveDocumentResponse'
default:
- $ref: "#/components/responses/connect.error"
+ $ref: '#/components/responses/connect.error'
tags:
- - yorkie.v1.YorkieService
+ - yorkie.v1.YorkieService
/yorkie.v1.YorkieService/WatchDocument:
post:
description: ""
requestBody:
- $ref: "#/components/requestBodies/yorkie.v1.YorkieService.WatchDocument.yorkie.v1.WatchDocumentRequest"
+ $ref: '#/components/requestBodies/yorkie.v1.YorkieService.WatchDocument.yorkie.v1.WatchDocumentRequest'
responses:
"200":
- $ref: "#/components/responses/yorkie.v1.YorkieService.WatchDocument.yorkie.v1.WatchDocumentResponse"
+ $ref: '#/components/responses/yorkie.v1.YorkieService.WatchDocument.yorkie.v1.WatchDocumentResponse'
default:
- $ref: "#/components/responses/connect.error"
+ $ref: '#/components/responses/connect.error'
tags:
- - yorkie.v1.YorkieService
+ - yorkie.v1.YorkieService
components:
requestBodies:
yorkie.v1.YorkieService.ActivateClient.yorkie.v1.ActivateClientRequest:
content:
application/json:
schema:
- $ref: "#/components/schemas/yorkie.v1.ActivateClientRequest"
+ $ref: '#/components/schemas/yorkie.v1.ActivateClientRequest'
application/proto:
schema:
- $ref: "#/components/schemas/yorkie.v1.ActivateClientRequest"
+ $ref: '#/components/schemas/yorkie.v1.ActivateClientRequest'
required: true
yorkie.v1.YorkieService.AttachDocument.yorkie.v1.AttachDocumentRequest:
content:
application/json:
schema:
- $ref: "#/components/schemas/yorkie.v1.AttachDocumentRequest"
+ $ref: '#/components/schemas/yorkie.v1.AttachDocumentRequest'
application/proto:
schema:
- $ref: "#/components/schemas/yorkie.v1.AttachDocumentRequest"
+ $ref: '#/components/schemas/yorkie.v1.AttachDocumentRequest'
required: true
yorkie.v1.YorkieService.Broadcast.yorkie.v1.BroadcastRequest:
content:
application/json:
schema:
- $ref: "#/components/schemas/yorkie.v1.BroadcastRequest"
+ $ref: '#/components/schemas/yorkie.v1.BroadcastRequest'
application/proto:
schema:
- $ref: "#/components/schemas/yorkie.v1.BroadcastRequest"
+ $ref: '#/components/schemas/yorkie.v1.BroadcastRequest'
required: true
yorkie.v1.YorkieService.DeactivateClient.yorkie.v1.DeactivateClientRequest:
content:
application/json:
schema:
- $ref: "#/components/schemas/yorkie.v1.DeactivateClientRequest"
+ $ref: '#/components/schemas/yorkie.v1.DeactivateClientRequest'
application/proto:
schema:
- $ref: "#/components/schemas/yorkie.v1.DeactivateClientRequest"
+ $ref: '#/components/schemas/yorkie.v1.DeactivateClientRequest'
required: true
yorkie.v1.YorkieService.DetachDocument.yorkie.v1.DetachDocumentRequest:
content:
application/json:
schema:
- $ref: "#/components/schemas/yorkie.v1.DetachDocumentRequest"
+ $ref: '#/components/schemas/yorkie.v1.DetachDocumentRequest'
application/proto:
schema:
- $ref: "#/components/schemas/yorkie.v1.DetachDocumentRequest"
+ $ref: '#/components/schemas/yorkie.v1.DetachDocumentRequest'
required: true
yorkie.v1.YorkieService.PushPullChanges.yorkie.v1.PushPullChangesRequest:
content:
application/json:
schema:
- $ref: "#/components/schemas/yorkie.v1.PushPullChangesRequest"
+ $ref: '#/components/schemas/yorkie.v1.PushPullChangesRequest'
application/proto:
schema:
- $ref: "#/components/schemas/yorkie.v1.PushPullChangesRequest"
+ $ref: '#/components/schemas/yorkie.v1.PushPullChangesRequest'
required: true
yorkie.v1.YorkieService.RemoveDocument.yorkie.v1.RemoveDocumentRequest:
content:
application/json:
schema:
- $ref: "#/components/schemas/yorkie.v1.RemoveDocumentRequest"
+ $ref: '#/components/schemas/yorkie.v1.RemoveDocumentRequest'
application/proto:
schema:
- $ref: "#/components/schemas/yorkie.v1.RemoveDocumentRequest"
+ $ref: '#/components/schemas/yorkie.v1.RemoveDocumentRequest'
required: true
yorkie.v1.YorkieService.WatchDocument.yorkie.v1.WatchDocumentRequest:
content: {}
@@ -180,100 +179,100 @@ components:
content:
application/json:
schema:
- $ref: "#/components/schemas/connect.error"
+ $ref: '#/components/schemas/connect.error'
application/proto:
schema:
- $ref: "#/components/schemas/connect.error"
+ $ref: '#/components/schemas/connect.error'
description: ""
yorkie.v1.YorkieService.ActivateClient.yorkie.v1.ActivateClientResponse:
content:
application/json:
schema:
- $ref: "#/components/schemas/yorkie.v1.ActivateClientResponse"
+ $ref: '#/components/schemas/yorkie.v1.ActivateClientResponse'
application/proto:
schema:
- $ref: "#/components/schemas/yorkie.v1.ActivateClientResponse"
+ $ref: '#/components/schemas/yorkie.v1.ActivateClientResponse'
description: ""
yorkie.v1.YorkieService.AttachDocument.yorkie.v1.AttachDocumentResponse:
content:
application/json:
schema:
- $ref: "#/components/schemas/yorkie.v1.AttachDocumentResponse"
+ $ref: '#/components/schemas/yorkie.v1.AttachDocumentResponse'
application/proto:
schema:
- $ref: "#/components/schemas/yorkie.v1.AttachDocumentResponse"
+ $ref: '#/components/schemas/yorkie.v1.AttachDocumentResponse'
description: ""
yorkie.v1.YorkieService.Broadcast.yorkie.v1.BroadcastResponse:
content:
application/json:
schema:
- $ref: "#/components/schemas/yorkie.v1.BroadcastResponse"
+ $ref: '#/components/schemas/yorkie.v1.BroadcastResponse'
application/proto:
schema:
- $ref: "#/components/schemas/yorkie.v1.BroadcastResponse"
+ $ref: '#/components/schemas/yorkie.v1.BroadcastResponse'
description: ""
yorkie.v1.YorkieService.DeactivateClient.yorkie.v1.DeactivateClientResponse:
content:
application/json:
schema:
- $ref: "#/components/schemas/yorkie.v1.DeactivateClientResponse"
+ $ref: '#/components/schemas/yorkie.v1.DeactivateClientResponse'
application/proto:
schema:
- $ref: "#/components/schemas/yorkie.v1.DeactivateClientResponse"
+ $ref: '#/components/schemas/yorkie.v1.DeactivateClientResponse'
description: ""
yorkie.v1.YorkieService.DetachDocument.yorkie.v1.DetachDocumentResponse:
content:
application/json:
schema:
- $ref: "#/components/schemas/yorkie.v1.DetachDocumentResponse"
+ $ref: '#/components/schemas/yorkie.v1.DetachDocumentResponse'
application/proto:
schema:
- $ref: "#/components/schemas/yorkie.v1.DetachDocumentResponse"
+ $ref: '#/components/schemas/yorkie.v1.DetachDocumentResponse'
description: ""
yorkie.v1.YorkieService.PushPullChanges.yorkie.v1.PushPullChangesResponse:
content:
application/json:
schema:
- $ref: "#/components/schemas/yorkie.v1.PushPullChangesResponse"
+ $ref: '#/components/schemas/yorkie.v1.PushPullChangesResponse'
application/proto:
schema:
- $ref: "#/components/schemas/yorkie.v1.PushPullChangesResponse"
+ $ref: '#/components/schemas/yorkie.v1.PushPullChangesResponse'
description: ""
yorkie.v1.YorkieService.RemoveDocument.yorkie.v1.RemoveDocumentResponse:
content:
application/json:
schema:
- $ref: "#/components/schemas/yorkie.v1.RemoveDocumentResponse"
+ $ref: '#/components/schemas/yorkie.v1.RemoveDocumentResponse'
application/proto:
schema:
- $ref: "#/components/schemas/yorkie.v1.RemoveDocumentResponse"
+ $ref: '#/components/schemas/yorkie.v1.RemoveDocumentResponse'
description: ""
yorkie.v1.YorkieService.WatchDocument.yorkie.v1.WatchDocumentResponse:
description: ""
schemas:
connect.error:
additionalProperties: false
- description: "Error type returned by Connect: https://connectrpc.com/docs/go/errors/#http-representation"
+ description: 'Error type returned by Connect: https://connectrpc.com/docs/go/errors/#http-representation'
properties:
code:
enum:
- - CodeCanceled
- - CodeUnknown
- - CodeInvalidArgument
- - CodeDeadlineExceeded
- - CodeNotFound
- - CodeAlreadyExists
- - CodePermissionDenied
- - CodeResourceExhausted
- - CodeFailedPrecondition
- - CodeAborted
- - CodeOutOfRange
- - CodeInternal
- - CodeUnavailable
- - CodeDataLoss
- - CodeUnauthenticated
+ - CodeCanceled
+ - CodeUnknown
+ - CodeInvalidArgument
+ - CodeDeadlineExceeded
+ - CodeNotFound
+ - CodeAlreadyExists
+ - CodePermissionDenied
+ - CodeResourceExhausted
+ - CodeFailedPrecondition
+ - CodeAborted
+ - CodeOutOfRange
+ - CodeInternal
+ - CodeUnavailable
+ - CodeDataLoss
+ - CodeUnauthenticated
examples:
- - CodeNotFound
+ - CodeNotFound
type: string
message:
type: string
@@ -306,7 +305,7 @@ components:
description: ""
properties:
changePack:
- $ref: "#/components/schemas/yorkie.v1.ChangePack"
+ $ref: '#/components/schemas/yorkie.v1.ChangePack'
additionalProperties: false
description: ""
title: change_pack
@@ -323,7 +322,7 @@ components:
description: ""
properties:
changePack:
- $ref: "#/components/schemas/yorkie.v1.ChangePack"
+ $ref: '#/components/schemas/yorkie.v1.ChangePack'
additionalProperties: false
description: ""
title: change_pack
@@ -372,7 +371,7 @@ components:
description: ""
properties:
id:
- $ref: "#/components/schemas/yorkie.v1.ChangeID"
+ $ref: '#/components/schemas/yorkie.v1.ChangeID'
additionalProperties: false
description: ""
title: id
@@ -386,12 +385,12 @@ components:
additionalProperties: false
description: ""
items:
- $ref: "#/components/schemas/yorkie.v1.Operation"
+ $ref: '#/components/schemas/yorkie.v1.Operation'
type: object
title: operations
type: array
presenceChange:
- $ref: "#/components/schemas/yorkie.v1.PresenceChange"
+ $ref: '#/components/schemas/yorkie.v1.PresenceChange'
additionalProperties: false
description: ""
title: presence_change
@@ -417,15 +416,15 @@ components:
additionalProperties: false
description: ""
oneOf:
- - type: string
- - type: number
+ - type: string
+ - type: number
title: lamport
serverSeq:
additionalProperties: false
description: ""
oneOf:
- - type: string
- - type: number
+ - type: string
+ - type: number
title: server_seq
title: ChangeID
type: object
@@ -439,12 +438,12 @@ components:
additionalProperties: false
description: ""
items:
- $ref: "#/components/schemas/yorkie.v1.Change"
+ $ref: '#/components/schemas/yorkie.v1.Change'
type: object
title: changes
type: array
checkpoint:
- $ref: "#/components/schemas/yorkie.v1.Checkpoint"
+ $ref: '#/components/schemas/yorkie.v1.Checkpoint'
additionalProperties: false
description: ""
title: checkpoint
@@ -460,7 +459,7 @@ components:
title: is_removed
type: boolean
minSyncedTicket:
- $ref: "#/components/schemas/yorkie.v1.TimeTicket"
+ $ref: '#/components/schemas/yorkie.v1.TimeTicket'
additionalProperties: false
description: ""
title: min_synced_ticket
@@ -486,8 +485,8 @@ components:
additionalProperties: false
description: ""
oneOf:
- - type: string
- - type: number
+ - type: string
+ - type: number
title: server_seq
title: Checkpoint
type: object
@@ -512,7 +511,7 @@ components:
description: ""
properties:
changePack:
- $ref: "#/components/schemas/yorkie.v1.ChangePack"
+ $ref: '#/components/schemas/yorkie.v1.ChangePack'
additionalProperties: false
description: ""
title: change_pack
@@ -539,7 +538,7 @@ components:
description: ""
properties:
changePack:
- $ref: "#/components/schemas/yorkie.v1.ChangePack"
+ $ref: '#/components/schemas/yorkie.v1.ChangePack'
additionalProperties: false
description: ""
title: change_pack
@@ -551,7 +550,7 @@ components:
description: ""
properties:
body:
- $ref: "#/components/schemas/yorkie.v1.DocEventBody"
+ $ref: '#/components/schemas/yorkie.v1.DocEventBody'
additionalProperties: false
description: ""
title: body
@@ -562,7 +561,7 @@ components:
title: publisher
type: string
type:
- $ref: "#/components/schemas/yorkie.v1.DocEventType"
+ $ref: '#/components/schemas/yorkie.v1.DocEventType'
additionalProperties: false
description: ""
title: type
@@ -588,14 +587,14 @@ components:
yorkie.v1.DocEventType:
description: ""
enum:
- - - DOC_EVENT_TYPE_DOCUMENT_CHANGED
- - 0
- - DOC_EVENT_TYPE_DOCUMENT_WATCHED
- - 1
- - DOC_EVENT_TYPE_DOCUMENT_UNWATCHED
- - 2
- - DOC_EVENT_TYPE_DOCUMENT_BROADCAST
- - 3
+ - - DOC_EVENT_TYPE_DOCUMENT_CHANGED
+ - 0
+ - DOC_EVENT_TYPE_DOCUMENT_WATCHED
+ - 1
+ - DOC_EVENT_TYPE_DOCUMENT_UNWATCHED
+ - 2
+ - DOC_EVENT_TYPE_DOCUMENT_BROADCAST
+ - 3
title: DocEventType
type: string
yorkie.v1.JSONElementSimple:
@@ -603,25 +602,25 @@ components:
description: ""
properties:
createdAt:
- $ref: "#/components/schemas/yorkie.v1.TimeTicket"
+ $ref: '#/components/schemas/yorkie.v1.TimeTicket'
additionalProperties: false
description: ""
title: created_at
type: object
movedAt:
- $ref: "#/components/schemas/yorkie.v1.TimeTicket"
+ $ref: '#/components/schemas/yorkie.v1.TimeTicket'
additionalProperties: false
description: ""
title: moved_at
type: object
removedAt:
- $ref: "#/components/schemas/yorkie.v1.TimeTicket"
+ $ref: '#/components/schemas/yorkie.v1.TimeTicket'
additionalProperties: false
description: ""
title: removed_at
type: object
type:
- $ref: "#/components/schemas/yorkie.v1.ValueType"
+ $ref: '#/components/schemas/yorkie.v1.ValueType'
additionalProperties: false
description: ""
title: type
@@ -637,8 +636,13 @@ components:
additionalProperties: false
description: ""
properties:
+ isRemoved:
+ additionalProperties: false
+ description: ""
+ title: is_removed
+ type: boolean
updatedAt:
- $ref: "#/components/schemas/yorkie.v1.TimeTicket"
+ $ref: '#/components/schemas/yorkie.v1.TimeTicket'
additionalProperties: false
description: ""
title: updated_at
@@ -655,61 +659,61 @@ components:
description: ""
properties:
add:
- $ref: "#/components/schemas/yorkie.v1.Operation.Add"
+ $ref: '#/components/schemas/yorkie.v1.Operation.Add'
additionalProperties: false
description: ""
title: add
type: object
edit:
- $ref: "#/components/schemas/yorkie.v1.Operation.Edit"
+ $ref: '#/components/schemas/yorkie.v1.Operation.Edit'
additionalProperties: false
description: ""
title: edit
type: object
increase:
- $ref: "#/components/schemas/yorkie.v1.Operation.Increase"
+ $ref: '#/components/schemas/yorkie.v1.Operation.Increase'
additionalProperties: false
description: ""
title: increase
type: object
move:
- $ref: "#/components/schemas/yorkie.v1.Operation.Move"
+ $ref: '#/components/schemas/yorkie.v1.Operation.Move'
additionalProperties: false
description: ""
title: move
type: object
remove:
- $ref: "#/components/schemas/yorkie.v1.Operation.Remove"
+ $ref: '#/components/schemas/yorkie.v1.Operation.Remove'
additionalProperties: false
description: ""
title: remove
type: object
select:
- $ref: "#/components/schemas/yorkie.v1.Operation.Select"
+ $ref: '#/components/schemas/yorkie.v1.Operation.Select'
additionalProperties: false
description: ""
title: select
type: object
set:
- $ref: "#/components/schemas/yorkie.v1.Operation.Set"
+ $ref: '#/components/schemas/yorkie.v1.Operation.Set'
additionalProperties: false
description: ""
title: set
type: object
style:
- $ref: "#/components/schemas/yorkie.v1.Operation.Style"
+ $ref: '#/components/schemas/yorkie.v1.Operation.Style'
additionalProperties: false
description: ""
title: style
type: object
treeEdit:
- $ref: "#/components/schemas/yorkie.v1.Operation.TreeEdit"
+ $ref: '#/components/schemas/yorkie.v1.Operation.TreeEdit'
additionalProperties: false
description: ""
title: tree_edit
type: object
treeStyle:
- $ref: "#/components/schemas/yorkie.v1.Operation.TreeStyle"
+ $ref: '#/components/schemas/yorkie.v1.Operation.TreeStyle'
additionalProperties: false
description: ""
title: tree_style
@@ -721,25 +725,25 @@ components:
description: ""
properties:
executedAt:
- $ref: "#/components/schemas/yorkie.v1.TimeTicket"
+ $ref: '#/components/schemas/yorkie.v1.TimeTicket'
additionalProperties: false
description: ""
title: executed_at
type: object
parentCreatedAt:
- $ref: "#/components/schemas/yorkie.v1.TimeTicket"
+ $ref: '#/components/schemas/yorkie.v1.TimeTicket'
additionalProperties: false
description: ""
title: parent_created_at
type: object
prevCreatedAt:
- $ref: "#/components/schemas/yorkie.v1.TimeTicket"
+ $ref: '#/components/schemas/yorkie.v1.TimeTicket'
additionalProperties: false
description: ""
title: prev_created_at
type: object
value:
- $ref: "#/components/schemas/yorkie.v1.JSONElementSimple"
+ $ref: '#/components/schemas/yorkie.v1.JSONElementSimple'
additionalProperties: false
description: ""
title: value
@@ -766,25 +770,25 @@ components:
title: created_at_map_by_actor
type: object
executedAt:
- $ref: "#/components/schemas/yorkie.v1.TimeTicket"
+ $ref: '#/components/schemas/yorkie.v1.TimeTicket'
additionalProperties: false
description: ""
title: executed_at
type: object
from:
- $ref: "#/components/schemas/yorkie.v1.TextNodePos"
+ $ref: '#/components/schemas/yorkie.v1.TextNodePos'
additionalProperties: false
description: ""
title: from
type: object
parentCreatedAt:
- $ref: "#/components/schemas/yorkie.v1.TimeTicket"
+ $ref: '#/components/schemas/yorkie.v1.TimeTicket'
additionalProperties: false
description: ""
title: parent_created_at
type: object
to:
- $ref: "#/components/schemas/yorkie.v1.TextNodePos"
+ $ref: '#/components/schemas/yorkie.v1.TextNodePos'
additionalProperties: false
description: ""
title: to
@@ -817,7 +821,7 @@ components:
title: key
type: string
value:
- $ref: "#/components/schemas/yorkie.v1.TimeTicket"
+ $ref: '#/components/schemas/yorkie.v1.TimeTicket'
additionalProperties: false
description: ""
title: value
@@ -829,19 +833,19 @@ components:
description: ""
properties:
executedAt:
- $ref: "#/components/schemas/yorkie.v1.TimeTicket"
+ $ref: '#/components/schemas/yorkie.v1.TimeTicket'
additionalProperties: false
description: ""
title: executed_at
type: object
parentCreatedAt:
- $ref: "#/components/schemas/yorkie.v1.TimeTicket"
+ $ref: '#/components/schemas/yorkie.v1.TimeTicket'
additionalProperties: false
description: ""
title: parent_created_at
type: object
value:
- $ref: "#/components/schemas/yorkie.v1.JSONElementSimple"
+ $ref: '#/components/schemas/yorkie.v1.JSONElementSimple'
additionalProperties: false
description: ""
title: value
@@ -853,25 +857,25 @@ components:
description: ""
properties:
createdAt:
- $ref: "#/components/schemas/yorkie.v1.TimeTicket"
+ $ref: '#/components/schemas/yorkie.v1.TimeTicket'
additionalProperties: false
description: ""
title: created_at
type: object
executedAt:
- $ref: "#/components/schemas/yorkie.v1.TimeTicket"
+ $ref: '#/components/schemas/yorkie.v1.TimeTicket'
additionalProperties: false
description: ""
title: executed_at
type: object
parentCreatedAt:
- $ref: "#/components/schemas/yorkie.v1.TimeTicket"
+ $ref: '#/components/schemas/yorkie.v1.TimeTicket'
additionalProperties: false
description: ""
title: parent_created_at
type: object
prevCreatedAt:
- $ref: "#/components/schemas/yorkie.v1.TimeTicket"
+ $ref: '#/components/schemas/yorkie.v1.TimeTicket'
additionalProperties: false
description: ""
title: prev_created_at
@@ -883,19 +887,19 @@ components:
description: ""
properties:
createdAt:
- $ref: "#/components/schemas/yorkie.v1.TimeTicket"
+ $ref: '#/components/schemas/yorkie.v1.TimeTicket'
additionalProperties: false
description: ""
title: created_at
type: object
executedAt:
- $ref: "#/components/schemas/yorkie.v1.TimeTicket"
+ $ref: '#/components/schemas/yorkie.v1.TimeTicket'
additionalProperties: false
description: ""
title: executed_at
type: object
parentCreatedAt:
- $ref: "#/components/schemas/yorkie.v1.TimeTicket"
+ $ref: '#/components/schemas/yorkie.v1.TimeTicket'
additionalProperties: false
description: ""
title: parent_created_at
@@ -911,25 +915,25 @@ components:
compatibility purposes.
properties:
executedAt:
- $ref: "#/components/schemas/yorkie.v1.TimeTicket"
+ $ref: '#/components/schemas/yorkie.v1.TimeTicket'
additionalProperties: false
description: ""
title: executed_at
type: object
from:
- $ref: "#/components/schemas/yorkie.v1.TextNodePos"
+ $ref: '#/components/schemas/yorkie.v1.TextNodePos'
additionalProperties: false
description: ""
title: from
type: object
parentCreatedAt:
- $ref: "#/components/schemas/yorkie.v1.TimeTicket"
+ $ref: '#/components/schemas/yorkie.v1.TimeTicket'
additionalProperties: false
description: ""
title: parent_created_at
type: object
to:
- $ref: "#/components/schemas/yorkie.v1.TextNodePos"
+ $ref: '#/components/schemas/yorkie.v1.TextNodePos'
additionalProperties: false
description: ""
title: to
@@ -941,7 +945,7 @@ components:
description: ""
properties:
executedAt:
- $ref: "#/components/schemas/yorkie.v1.TimeTicket"
+ $ref: '#/components/schemas/yorkie.v1.TimeTicket'
additionalProperties: false
description: ""
title: executed_at
@@ -952,13 +956,13 @@ components:
title: key
type: string
parentCreatedAt:
- $ref: "#/components/schemas/yorkie.v1.TimeTicket"
+ $ref: '#/components/schemas/yorkie.v1.TimeTicket'
additionalProperties: false
description: ""
title: parent_created_at
type: object
value:
- $ref: "#/components/schemas/yorkie.v1.JSONElementSimple"
+ $ref: '#/components/schemas/yorkie.v1.JSONElementSimple'
additionalProperties: false
description: ""
title: value
@@ -980,25 +984,25 @@ components:
title: created_at_map_by_actor
type: object
executedAt:
- $ref: "#/components/schemas/yorkie.v1.TimeTicket"
+ $ref: '#/components/schemas/yorkie.v1.TimeTicket'
additionalProperties: false
description: ""
title: executed_at
type: object
from:
- $ref: "#/components/schemas/yorkie.v1.TextNodePos"
+ $ref: '#/components/schemas/yorkie.v1.TextNodePos'
additionalProperties: false
description: ""
title: from
type: object
parentCreatedAt:
- $ref: "#/components/schemas/yorkie.v1.TimeTicket"
+ $ref: '#/components/schemas/yorkie.v1.TimeTicket'
additionalProperties: false
description: ""
title: parent_created_at
type: object
to:
- $ref: "#/components/schemas/yorkie.v1.TextNodePos"
+ $ref: '#/components/schemas/yorkie.v1.TextNodePos'
additionalProperties: false
description: ""
title: to
@@ -1031,7 +1035,7 @@ components:
title: key
type: string
value:
- $ref: "#/components/schemas/yorkie.v1.TimeTicket"
+ $ref: '#/components/schemas/yorkie.v1.TimeTicket'
additionalProperties: false
description: ""
title: value
@@ -1046,7 +1050,7 @@ components:
additionalProperties: false
description: ""
items:
- $ref: "#/components/schemas/yorkie.v1.TreeNodes"
+ $ref: '#/components/schemas/yorkie.v1.TreeNodes'
type: object
title: contents
type: array
@@ -1056,19 +1060,19 @@ components:
title: created_at_map_by_actor
type: object
executedAt:
- $ref: "#/components/schemas/yorkie.v1.TimeTicket"
+ $ref: '#/components/schemas/yorkie.v1.TimeTicket'
additionalProperties: false
description: ""
title: executed_at
type: object
from:
- $ref: "#/components/schemas/yorkie.v1.TreePos"
+ $ref: '#/components/schemas/yorkie.v1.TreePos'
additionalProperties: false
description: ""
title: from
type: object
parentCreatedAt:
- $ref: "#/components/schemas/yorkie.v1.TimeTicket"
+ $ref: '#/components/schemas/yorkie.v1.TimeTicket'
additionalProperties: false
description: ""
title: parent_created_at
@@ -1079,7 +1083,7 @@ components:
title: split_level
type: integer
to:
- $ref: "#/components/schemas/yorkie.v1.TreePos"
+ $ref: '#/components/schemas/yorkie.v1.TreePos'
additionalProperties: false
description: ""
title: to
@@ -1096,7 +1100,7 @@ components:
title: key
type: string
value:
- $ref: "#/components/schemas/yorkie.v1.TimeTicket"
+ $ref: '#/components/schemas/yorkie.v1.TimeTicket'
additionalProperties: false
description: ""
title: value
@@ -1125,25 +1129,25 @@ components:
title: created_at_map_by_actor
type: object
executedAt:
- $ref: "#/components/schemas/yorkie.v1.TimeTicket"
+ $ref: '#/components/schemas/yorkie.v1.TimeTicket'
additionalProperties: false
description: ""
title: executed_at
type: object
from:
- $ref: "#/components/schemas/yorkie.v1.TreePos"
+ $ref: '#/components/schemas/yorkie.v1.TreePos'
additionalProperties: false
description: ""
title: from
type: object
parentCreatedAt:
- $ref: "#/components/schemas/yorkie.v1.TimeTicket"
+ $ref: '#/components/schemas/yorkie.v1.TimeTicket'
additionalProperties: false
description: ""
title: parent_created_at
type: object
to:
- $ref: "#/components/schemas/yorkie.v1.TreePos"
+ $ref: '#/components/schemas/yorkie.v1.TreePos'
additionalProperties: false
description: ""
title: to
@@ -1176,7 +1180,7 @@ components:
title: key
type: string
value:
- $ref: "#/components/schemas/yorkie.v1.TimeTicket"
+ $ref: '#/components/schemas/yorkie.v1.TimeTicket'
additionalProperties: false
description: ""
title: value
@@ -1215,13 +1219,13 @@ components:
description: ""
properties:
presence:
- $ref: "#/components/schemas/yorkie.v1.Presence"
+ $ref: '#/components/schemas/yorkie.v1.Presence'
additionalProperties: false
description: ""
title: presence
type: object
type:
- $ref: "#/components/schemas/yorkie.v1.PresenceChange.ChangeType"
+ $ref: '#/components/schemas/yorkie.v1.PresenceChange.ChangeType'
additionalProperties: false
description: ""
title: type
@@ -1230,14 +1234,14 @@ components:
yorkie.v1.PresenceChange.ChangeType:
description: ""
enum:
- - - CHANGE_TYPE_UNSPECIFIED
- - 0
- - CHANGE_TYPE_PUT
- - 1
- - CHANGE_TYPE_DELETE
- - 2
- - CHANGE_TYPE_CLEAR
- - 3
+ - - CHANGE_TYPE_UNSPECIFIED
+ - 0
+ - CHANGE_TYPE_PUT
+ - 1
+ - CHANGE_TYPE_DELETE
+ - 2
+ - CHANGE_TYPE_CLEAR
+ - 3
title: ChangeType
type: string
yorkie.v1.PushPullChangesRequest:
@@ -1245,7 +1249,7 @@ components:
description: ""
properties:
changePack:
- $ref: "#/components/schemas/yorkie.v1.ChangePack"
+ $ref: '#/components/schemas/yorkie.v1.ChangePack'
additionalProperties: false
description: ""
title: change_pack
@@ -1272,7 +1276,7 @@ components:
description: ""
properties:
changePack:
- $ref: "#/components/schemas/yorkie.v1.ChangePack"
+ $ref: '#/components/schemas/yorkie.v1.ChangePack'
additionalProperties: false
description: ""
title: change_pack
@@ -1284,7 +1288,7 @@ components:
description: ""
properties:
changePack:
- $ref: "#/components/schemas/yorkie.v1.ChangePack"
+ $ref: '#/components/schemas/yorkie.v1.ChangePack'
additionalProperties: false
description: ""
title: change_pack
@@ -1306,7 +1310,7 @@ components:
description: ""
properties:
changePack:
- $ref: "#/components/schemas/yorkie.v1.ChangePack"
+ $ref: '#/components/schemas/yorkie.v1.ChangePack'
additionalProperties: false
description: ""
title: change_pack
@@ -1318,7 +1322,7 @@ components:
description: ""
properties:
createdAt:
- $ref: "#/components/schemas/yorkie.v1.TimeTicket"
+ $ref: '#/components/schemas/yorkie.v1.TimeTicket'
additionalProperties: false
description: ""
title: created_at
@@ -1354,8 +1358,8 @@ components:
additionalProperties: false
description: ""
oneOf:
- - type: string
- - type: number
+ - type: string
+ - type: number
title: lamport
title: TimeTicket
type: object
@@ -1374,25 +1378,25 @@ components:
title: depth
type: integer
id:
- $ref: "#/components/schemas/yorkie.v1.TreeNodeID"
+ $ref: '#/components/schemas/yorkie.v1.TreeNodeID'
additionalProperties: false
description: ""
title: id
type: object
insNextId:
- $ref: "#/components/schemas/yorkie.v1.TreeNodeID"
+ $ref: '#/components/schemas/yorkie.v1.TreeNodeID'
additionalProperties: false
description: ""
title: ins_next_id
type: object
insPrevId:
- $ref: "#/components/schemas/yorkie.v1.TreeNodeID"
+ $ref: '#/components/schemas/yorkie.v1.TreeNodeID'
additionalProperties: false
description: ""
title: ins_prev_id
type: object
removedAt:
- $ref: "#/components/schemas/yorkie.v1.TimeTicket"
+ $ref: '#/components/schemas/yorkie.v1.TimeTicket'
additionalProperties: false
description: ""
title: removed_at
@@ -1419,7 +1423,7 @@ components:
title: key
type: string
value:
- $ref: "#/components/schemas/yorkie.v1.NodeAttr"
+ $ref: '#/components/schemas/yorkie.v1.NodeAttr'
additionalProperties: false
description: ""
title: value
@@ -1431,7 +1435,7 @@ components:
description: ""
properties:
createdAt:
- $ref: "#/components/schemas/yorkie.v1.TimeTicket"
+ $ref: '#/components/schemas/yorkie.v1.TimeTicket'
additionalProperties: false
description: ""
title: created_at
@@ -1451,7 +1455,7 @@ components:
additionalProperties: false
description: ""
items:
- $ref: "#/components/schemas/yorkie.v1.TreeNode"
+ $ref: '#/components/schemas/yorkie.v1.TreeNode'
type: object
title: content
type: array
@@ -1462,13 +1466,13 @@ components:
description: ""
properties:
leftSiblingId:
- $ref: "#/components/schemas/yorkie.v1.TreeNodeID"
+ $ref: '#/components/schemas/yorkie.v1.TreeNodeID'
additionalProperties: false
description: ""
title: left_sibling_id
type: object
parentId:
- $ref: "#/components/schemas/yorkie.v1.TreeNodeID"
+ $ref: '#/components/schemas/yorkie.v1.TreeNodeID'
additionalProperties: false
description: ""
title: parent_id
@@ -1478,34 +1482,34 @@ components:
yorkie.v1.ValueType:
description: ""
enum:
- - - VALUE_TYPE_NULL
- - 0
- - VALUE_TYPE_BOOLEAN
- - 1
- - VALUE_TYPE_INTEGER
- - 2
- - VALUE_TYPE_LONG
- - 3
- - VALUE_TYPE_DOUBLE
- - 4
- - VALUE_TYPE_STRING
- - 5
- - VALUE_TYPE_BYTES
- - 6
- - VALUE_TYPE_DATE
- - 7
- - VALUE_TYPE_JSON_OBJECT
- - 8
- - VALUE_TYPE_JSON_ARRAY
- - 9
- - VALUE_TYPE_TEXT
- - 10
- - VALUE_TYPE_INTEGER_CNT
- - 11
- - VALUE_TYPE_LONG_CNT
- - 12
- - VALUE_TYPE_TREE
- - 13
+ - - VALUE_TYPE_NULL
+ - 0
+ - VALUE_TYPE_BOOLEAN
+ - 1
+ - VALUE_TYPE_INTEGER
+ - 2
+ - VALUE_TYPE_LONG
+ - 3
+ - VALUE_TYPE_DOUBLE
+ - 4
+ - VALUE_TYPE_STRING
+ - 5
+ - VALUE_TYPE_BYTES
+ - 6
+ - VALUE_TYPE_DATE
+ - 7
+ - VALUE_TYPE_JSON_OBJECT
+ - 8
+ - VALUE_TYPE_JSON_ARRAY
+ - 9
+ - VALUE_TYPE_TEXT
+ - 10
+ - VALUE_TYPE_INTEGER_CNT
+ - 11
+ - VALUE_TYPE_LONG_CNT
+ - 12
+ - VALUE_TYPE_TREE
+ - 13
title: ValueType
type: string
yorkie.v1.WatchDocumentRequest:
@@ -1529,13 +1533,13 @@ components:
description: ""
properties:
event:
- $ref: "#/components/schemas/yorkie.v1.DocEvent"
+ $ref: '#/components/schemas/yorkie.v1.DocEvent'
additionalProperties: false
description: ""
title: event
type: object
initialization:
- $ref: "#/components/schemas/yorkie.v1.WatchDocumentResponse.Initialization"
+ $ref: '#/components/schemas/yorkie.v1.WatchDocumentResponse.Initialization'
additionalProperties: false
description: ""
title: initialization
@@ -1561,7 +1565,7 @@ components:
name: Authorization
type: apiKey
security:
- - ApiKeyAuth: []
+- ApiKeyAuth: []
tags:
- - description: Yorkie is a service that provides a API for SDKs.
- name: yorkie.v1.YorkieService
+- description: Yorkie is a service that provides a API for SDKs.
+ name: yorkie.v1.YorkieService
diff --git a/api/yorkie/v1/resources.pb.go b/api/yorkie/v1/resources.pb.go
index 9bfc8fdb1..ad76f5ca0 100644
--- a/api/yorkie/v1/resources.pb.go
+++ b/api/yorkie/v1/resources.pb.go
@@ -1038,6 +1038,7 @@ type NodeAttr struct {
Value string `protobuf:"bytes,1,opt,name=value,proto3" json:"value,omitempty"`
UpdatedAt *TimeTicket `protobuf:"bytes,2,opt,name=updated_at,json=updatedAt,proto3" json:"updated_at,omitempty"`
+ IsRemoved bool `protobuf:"varint,3,opt,name=is_removed,json=isRemoved,proto3" json:"is_removed,omitempty"`
}
func (x *NodeAttr) Reset() {
@@ -1086,6 +1087,13 @@ func (x *NodeAttr) GetUpdatedAt() *TimeTicket {
return nil
}
+func (x *NodeAttr) GetIsRemoved() bool {
+ if x != nil {
+ return x.IsRemoved
+ }
+ return false
+}
+
type TextNode struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
@@ -3938,246 +3946,248 @@ var file_yorkie_v1_resources_proto_rawDesc = []byte{
0x0a, 0x07, 0x65, 0x6c, 0x65, 0x6d, 0x65, 0x6e, 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32,
0x16, 0x2e, 0x79, 0x6f, 0x72, 0x6b, 0x69, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x4a, 0x53, 0x4f, 0x4e,
0x45, 0x6c, 0x65, 0x6d, 0x65, 0x6e, 0x74, 0x52, 0x07, 0x65, 0x6c, 0x65, 0x6d, 0x65, 0x6e, 0x74,
- 0x22, 0x56, 0x0a, 0x08, 0x4e, 0x6f, 0x64, 0x65, 0x41, 0x74, 0x74, 0x72, 0x12, 0x14, 0x0a, 0x05,
+ 0x22, 0x75, 0x0a, 0x08, 0x4e, 0x6f, 0x64, 0x65, 0x41, 0x74, 0x74, 0x72, 0x12, 0x14, 0x0a, 0x05,
0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x76, 0x61, 0x6c,
0x75, 0x65, 0x12, 0x34, 0x0a, 0x0a, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x64, 0x5f, 0x61, 0x74,
0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x15, 0x2e, 0x79, 0x6f, 0x72, 0x6b, 0x69, 0x65, 0x2e,
0x76, 0x31, 0x2e, 0x54, 0x69, 0x6d, 0x65, 0x54, 0x69, 0x63, 0x6b, 0x65, 0x74, 0x52, 0x09, 0x75,
- 0x70, 0x64, 0x61, 0x74, 0x65, 0x64, 0x41, 0x74, 0x22, 0xcd, 0x02, 0x0a, 0x08, 0x54, 0x65, 0x78,
- 0x74, 0x4e, 0x6f, 0x64, 0x65, 0x12, 0x25, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28,
- 0x0b, 0x32, 0x15, 0x2e, 0x79, 0x6f, 0x72, 0x6b, 0x69, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x54, 0x65,
- 0x78, 0x74, 0x4e, 0x6f, 0x64, 0x65, 0x49, 0x44, 0x52, 0x02, 0x69, 0x64, 0x12, 0x14, 0x0a, 0x05,
- 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x76, 0x61, 0x6c,
- 0x75, 0x65, 0x12, 0x34, 0x0a, 0x0a, 0x72, 0x65, 0x6d, 0x6f, 0x76, 0x65, 0x64, 0x5f, 0x61, 0x74,
- 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x15, 0x2e, 0x79, 0x6f, 0x72, 0x6b, 0x69, 0x65, 0x2e,
- 0x76, 0x31, 0x2e, 0x54, 0x69, 0x6d, 0x65, 0x54, 0x69, 0x63, 0x6b, 0x65, 0x74, 0x52, 0x09, 0x72,
- 0x65, 0x6d, 0x6f, 0x76, 0x65, 0x64, 0x41, 0x74, 0x12, 0x35, 0x0a, 0x0b, 0x69, 0x6e, 0x73, 0x5f,
- 0x70, 0x72, 0x65, 0x76, 0x5f, 0x69, 0x64, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x15, 0x2e,
- 0x79, 0x6f, 0x72, 0x6b, 0x69, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x54, 0x65, 0x78, 0x74, 0x4e, 0x6f,
- 0x64, 0x65, 0x49, 0x44, 0x52, 0x09, 0x69, 0x6e, 0x73, 0x50, 0x72, 0x65, 0x76, 0x49, 0x64, 0x12,
- 0x43, 0x0a, 0x0a, 0x61, 0x74, 0x74, 0x72, 0x69, 0x62, 0x75, 0x74, 0x65, 0x73, 0x18, 0x05, 0x20,
- 0x03, 0x28, 0x0b, 0x32, 0x23, 0x2e, 0x79, 0x6f, 0x72, 0x6b, 0x69, 0x65, 0x2e, 0x76, 0x31, 0x2e,
- 0x54, 0x65, 0x78, 0x74, 0x4e, 0x6f, 0x64, 0x65, 0x2e, 0x41, 0x74, 0x74, 0x72, 0x69, 0x62, 0x75,
- 0x74, 0x65, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x0a, 0x61, 0x74, 0x74, 0x72, 0x69, 0x62,
- 0x75, 0x74, 0x65, 0x73, 0x1a, 0x52, 0x0a, 0x0f, 0x41, 0x74, 0x74, 0x72, 0x69, 0x62, 0x75, 0x74,
- 0x65, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01,
- 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x29, 0x0a, 0x05, 0x76, 0x61, 0x6c,
- 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x13, 0x2e, 0x79, 0x6f, 0x72, 0x6b, 0x69,
- 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x4e, 0x6f, 0x64, 0x65, 0x41, 0x74, 0x74, 0x72, 0x52, 0x05, 0x76,
- 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x22, 0x5a, 0x0a, 0x0a, 0x54, 0x65, 0x78, 0x74,
- 0x4e, 0x6f, 0x64, 0x65, 0x49, 0x44, 0x12, 0x34, 0x0a, 0x0a, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65,
- 0x64, 0x5f, 0x61, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x15, 0x2e, 0x79, 0x6f, 0x72,
- 0x6b, 0x69, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x54, 0x69, 0x6d, 0x65, 0x54, 0x69, 0x63, 0x6b, 0x65,
- 0x74, 0x52, 0x09, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x64, 0x41, 0x74, 0x12, 0x16, 0x0a, 0x06,
- 0x6f, 0x66, 0x66, 0x73, 0x65, 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, 0x05, 0x52, 0x06, 0x6f, 0x66,
- 0x66, 0x73, 0x65, 0x74, 0x22, 0xae, 0x03, 0x0a, 0x08, 0x54, 0x72, 0x65, 0x65, 0x4e, 0x6f, 0x64,
- 0x65, 0x12, 0x25, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x15, 0x2e,
- 0x79, 0x6f, 0x72, 0x6b, 0x69, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x54, 0x72, 0x65, 0x65, 0x4e, 0x6f,
- 0x64, 0x65, 0x49, 0x44, 0x52, 0x02, 0x69, 0x64, 0x12, 0x12, 0x0a, 0x04, 0x74, 0x79, 0x70, 0x65,
- 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x74, 0x79, 0x70, 0x65, 0x12, 0x14, 0x0a, 0x05,
- 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x76, 0x61, 0x6c,
- 0x75, 0x65, 0x12, 0x34, 0x0a, 0x0a, 0x72, 0x65, 0x6d, 0x6f, 0x76, 0x65, 0x64, 0x5f, 0x61, 0x74,
- 0x18, 0x04, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x15, 0x2e, 0x79, 0x6f, 0x72, 0x6b, 0x69, 0x65, 0x2e,
- 0x76, 0x31, 0x2e, 0x54, 0x69, 0x6d, 0x65, 0x54, 0x69, 0x63, 0x6b, 0x65, 0x74, 0x52, 0x09, 0x72,
- 0x65, 0x6d, 0x6f, 0x76, 0x65, 0x64, 0x41, 0x74, 0x12, 0x35, 0x0a, 0x0b, 0x69, 0x6e, 0x73, 0x5f,
- 0x70, 0x72, 0x65, 0x76, 0x5f, 0x69, 0x64, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x15, 0x2e,
- 0x79, 0x6f, 0x72, 0x6b, 0x69, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x54, 0x72, 0x65, 0x65, 0x4e, 0x6f,
- 0x64, 0x65, 0x49, 0x44, 0x52, 0x09, 0x69, 0x6e, 0x73, 0x50, 0x72, 0x65, 0x76, 0x49, 0x64, 0x12,
- 0x35, 0x0a, 0x0b, 0x69, 0x6e, 0x73, 0x5f, 0x6e, 0x65, 0x78, 0x74, 0x5f, 0x69, 0x64, 0x18, 0x06,
- 0x20, 0x01, 0x28, 0x0b, 0x32, 0x15, 0x2e, 0x79, 0x6f, 0x72, 0x6b, 0x69, 0x65, 0x2e, 0x76, 0x31,
- 0x2e, 0x54, 0x72, 0x65, 0x65, 0x4e, 0x6f, 0x64, 0x65, 0x49, 0x44, 0x52, 0x09, 0x69, 0x6e, 0x73,
- 0x4e, 0x65, 0x78, 0x74, 0x49, 0x64, 0x12, 0x14, 0x0a, 0x05, 0x64, 0x65, 0x70, 0x74, 0x68, 0x18,
- 0x07, 0x20, 0x01, 0x28, 0x05, 0x52, 0x05, 0x64, 0x65, 0x70, 0x74, 0x68, 0x12, 0x43, 0x0a, 0x0a,
- 0x61, 0x74, 0x74, 0x72, 0x69, 0x62, 0x75, 0x74, 0x65, 0x73, 0x18, 0x08, 0x20, 0x03, 0x28, 0x0b,
- 0x32, 0x23, 0x2e, 0x79, 0x6f, 0x72, 0x6b, 0x69, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x54, 0x72, 0x65,
- 0x65, 0x4e, 0x6f, 0x64, 0x65, 0x2e, 0x41, 0x74, 0x74, 0x72, 0x69, 0x62, 0x75, 0x74, 0x65, 0x73,
- 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x0a, 0x61, 0x74, 0x74, 0x72, 0x69, 0x62, 0x75, 0x74, 0x65,
- 0x73, 0x1a, 0x52, 0x0a, 0x0f, 0x41, 0x74, 0x74, 0x72, 0x69, 0x62, 0x75, 0x74, 0x65, 0x73, 0x45,
- 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28,
- 0x09, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x29, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18,
- 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x13, 0x2e, 0x79, 0x6f, 0x72, 0x6b, 0x69, 0x65, 0x2e, 0x76,
- 0x31, 0x2e, 0x4e, 0x6f, 0x64, 0x65, 0x41, 0x74, 0x74, 0x72, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75,
- 0x65, 0x3a, 0x02, 0x38, 0x01, 0x22, 0x3a, 0x0a, 0x09, 0x54, 0x72, 0x65, 0x65, 0x4e, 0x6f, 0x64,
- 0x65, 0x73, 0x12, 0x2d, 0x0a, 0x07, 0x63, 0x6f, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x18, 0x01, 0x20,
- 0x03, 0x28, 0x0b, 0x32, 0x13, 0x2e, 0x79, 0x6f, 0x72, 0x6b, 0x69, 0x65, 0x2e, 0x76, 0x31, 0x2e,
- 0x54, 0x72, 0x65, 0x65, 0x4e, 0x6f, 0x64, 0x65, 0x52, 0x07, 0x63, 0x6f, 0x6e, 0x74, 0x65, 0x6e,
- 0x74, 0x22, 0x5a, 0x0a, 0x0a, 0x54, 0x72, 0x65, 0x65, 0x4e, 0x6f, 0x64, 0x65, 0x49, 0x44, 0x12,
- 0x34, 0x0a, 0x0a, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x64, 0x5f, 0x61, 0x74, 0x18, 0x01, 0x20,
+ 0x70, 0x64, 0x61, 0x74, 0x65, 0x64, 0x41, 0x74, 0x12, 0x1d, 0x0a, 0x0a, 0x69, 0x73, 0x5f, 0x72,
+ 0x65, 0x6d, 0x6f, 0x76, 0x65, 0x64, 0x18, 0x03, 0x20, 0x01, 0x28, 0x08, 0x52, 0x09, 0x69, 0x73,
+ 0x52, 0x65, 0x6d, 0x6f, 0x76, 0x65, 0x64, 0x22, 0xcd, 0x02, 0x0a, 0x08, 0x54, 0x65, 0x78, 0x74,
+ 0x4e, 0x6f, 0x64, 0x65, 0x12, 0x25, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b,
+ 0x32, 0x15, 0x2e, 0x79, 0x6f, 0x72, 0x6b, 0x69, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x54, 0x65, 0x78,
+ 0x74, 0x4e, 0x6f, 0x64, 0x65, 0x49, 0x44, 0x52, 0x02, 0x69, 0x64, 0x12, 0x14, 0x0a, 0x05, 0x76,
+ 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75,
+ 0x65, 0x12, 0x34, 0x0a, 0x0a, 0x72, 0x65, 0x6d, 0x6f, 0x76, 0x65, 0x64, 0x5f, 0x61, 0x74, 0x18,
+ 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x15, 0x2e, 0x79, 0x6f, 0x72, 0x6b, 0x69, 0x65, 0x2e, 0x76,
+ 0x31, 0x2e, 0x54, 0x69, 0x6d, 0x65, 0x54, 0x69, 0x63, 0x6b, 0x65, 0x74, 0x52, 0x09, 0x72, 0x65,
+ 0x6d, 0x6f, 0x76, 0x65, 0x64, 0x41, 0x74, 0x12, 0x35, 0x0a, 0x0b, 0x69, 0x6e, 0x73, 0x5f, 0x70,
+ 0x72, 0x65, 0x76, 0x5f, 0x69, 0x64, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x15, 0x2e, 0x79,
+ 0x6f, 0x72, 0x6b, 0x69, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x54, 0x65, 0x78, 0x74, 0x4e, 0x6f, 0x64,
+ 0x65, 0x49, 0x44, 0x52, 0x09, 0x69, 0x6e, 0x73, 0x50, 0x72, 0x65, 0x76, 0x49, 0x64, 0x12, 0x43,
+ 0x0a, 0x0a, 0x61, 0x74, 0x74, 0x72, 0x69, 0x62, 0x75, 0x74, 0x65, 0x73, 0x18, 0x05, 0x20, 0x03,
+ 0x28, 0x0b, 0x32, 0x23, 0x2e, 0x79, 0x6f, 0x72, 0x6b, 0x69, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x54,
+ 0x65, 0x78, 0x74, 0x4e, 0x6f, 0x64, 0x65, 0x2e, 0x41, 0x74, 0x74, 0x72, 0x69, 0x62, 0x75, 0x74,
+ 0x65, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x0a, 0x61, 0x74, 0x74, 0x72, 0x69, 0x62, 0x75,
+ 0x74, 0x65, 0x73, 0x1a, 0x52, 0x0a, 0x0f, 0x41, 0x74, 0x74, 0x72, 0x69, 0x62, 0x75, 0x74, 0x65,
+ 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20,
+ 0x01, 0x28, 0x09, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x29, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75,
+ 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x13, 0x2e, 0x79, 0x6f, 0x72, 0x6b, 0x69, 0x65,
+ 0x2e, 0x76, 0x31, 0x2e, 0x4e, 0x6f, 0x64, 0x65, 0x41, 0x74, 0x74, 0x72, 0x52, 0x05, 0x76, 0x61,
+ 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x22, 0x5a, 0x0a, 0x0a, 0x54, 0x65, 0x78, 0x74, 0x4e,
+ 0x6f, 0x64, 0x65, 0x49, 0x44, 0x12, 0x34, 0x0a, 0x0a, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x64,
+ 0x5f, 0x61, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x15, 0x2e, 0x79, 0x6f, 0x72, 0x6b,
+ 0x69, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x54, 0x69, 0x6d, 0x65, 0x54, 0x69, 0x63, 0x6b, 0x65, 0x74,
+ 0x52, 0x09, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x64, 0x41, 0x74, 0x12, 0x16, 0x0a, 0x06, 0x6f,
+ 0x66, 0x66, 0x73, 0x65, 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, 0x05, 0x52, 0x06, 0x6f, 0x66, 0x66,
+ 0x73, 0x65, 0x74, 0x22, 0xae, 0x03, 0x0a, 0x08, 0x54, 0x72, 0x65, 0x65, 0x4e, 0x6f, 0x64, 0x65,
+ 0x12, 0x25, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x15, 0x2e, 0x79,
+ 0x6f, 0x72, 0x6b, 0x69, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x54, 0x72, 0x65, 0x65, 0x4e, 0x6f, 0x64,
+ 0x65, 0x49, 0x44, 0x52, 0x02, 0x69, 0x64, 0x12, 0x12, 0x0a, 0x04, 0x74, 0x79, 0x70, 0x65, 0x18,
+ 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x74, 0x79, 0x70, 0x65, 0x12, 0x14, 0x0a, 0x05, 0x76,
+ 0x61, 0x6c, 0x75, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75,
+ 0x65, 0x12, 0x34, 0x0a, 0x0a, 0x72, 0x65, 0x6d, 0x6f, 0x76, 0x65, 0x64, 0x5f, 0x61, 0x74, 0x18,
+ 0x04, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x15, 0x2e, 0x79, 0x6f, 0x72, 0x6b, 0x69, 0x65, 0x2e, 0x76,
+ 0x31, 0x2e, 0x54, 0x69, 0x6d, 0x65, 0x54, 0x69, 0x63, 0x6b, 0x65, 0x74, 0x52, 0x09, 0x72, 0x65,
+ 0x6d, 0x6f, 0x76, 0x65, 0x64, 0x41, 0x74, 0x12, 0x35, 0x0a, 0x0b, 0x69, 0x6e, 0x73, 0x5f, 0x70,
+ 0x72, 0x65, 0x76, 0x5f, 0x69, 0x64, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x15, 0x2e, 0x79,
+ 0x6f, 0x72, 0x6b, 0x69, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x54, 0x72, 0x65, 0x65, 0x4e, 0x6f, 0x64,
+ 0x65, 0x49, 0x44, 0x52, 0x09, 0x69, 0x6e, 0x73, 0x50, 0x72, 0x65, 0x76, 0x49, 0x64, 0x12, 0x35,
+ 0x0a, 0x0b, 0x69, 0x6e, 0x73, 0x5f, 0x6e, 0x65, 0x78, 0x74, 0x5f, 0x69, 0x64, 0x18, 0x06, 0x20,
0x01, 0x28, 0x0b, 0x32, 0x15, 0x2e, 0x79, 0x6f, 0x72, 0x6b, 0x69, 0x65, 0x2e, 0x76, 0x31, 0x2e,
- 0x54, 0x69, 0x6d, 0x65, 0x54, 0x69, 0x63, 0x6b, 0x65, 0x74, 0x52, 0x09, 0x63, 0x72, 0x65, 0x61,
- 0x74, 0x65, 0x64, 0x41, 0x74, 0x12, 0x16, 0x0a, 0x06, 0x6f, 0x66, 0x66, 0x73, 0x65, 0x74, 0x18,
- 0x02, 0x20, 0x01, 0x28, 0x05, 0x52, 0x06, 0x6f, 0x66, 0x66, 0x73, 0x65, 0x74, 0x22, 0x7c, 0x0a,
- 0x07, 0x54, 0x72, 0x65, 0x65, 0x50, 0x6f, 0x73, 0x12, 0x32, 0x0a, 0x09, 0x70, 0x61, 0x72, 0x65,
- 0x6e, 0x74, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x15, 0x2e, 0x79, 0x6f,
- 0x72, 0x6b, 0x69, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x54, 0x72, 0x65, 0x65, 0x4e, 0x6f, 0x64, 0x65,
- 0x49, 0x44, 0x52, 0x08, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x49, 0x64, 0x12, 0x3d, 0x0a, 0x0f,
- 0x6c, 0x65, 0x66, 0x74, 0x5f, 0x73, 0x69, 0x62, 0x6c, 0x69, 0x6e, 0x67, 0x5f, 0x69, 0x64, 0x18,
- 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x15, 0x2e, 0x79, 0x6f, 0x72, 0x6b, 0x69, 0x65, 0x2e, 0x76,
- 0x31, 0x2e, 0x54, 0x72, 0x65, 0x65, 0x4e, 0x6f, 0x64, 0x65, 0x49, 0x44, 0x52, 0x0d, 0x6c, 0x65,
- 0x66, 0x74, 0x53, 0x69, 0x62, 0x6c, 0x69, 0x6e, 0x67, 0x49, 0x64, 0x22, 0x6d, 0x0a, 0x04, 0x55,
- 0x73, 0x65, 0x72, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52,
- 0x02, 0x69, 0x64, 0x12, 0x1a, 0x0a, 0x08, 0x75, 0x73, 0x65, 0x72, 0x6e, 0x61, 0x6d, 0x65, 0x18,
- 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x75, 0x73, 0x65, 0x72, 0x6e, 0x61, 0x6d, 0x65, 0x12,
- 0x39, 0x0a, 0x0a, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x64, 0x5f, 0x61, 0x74, 0x18, 0x03, 0x20,
- 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f,
- 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x54, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x52,
- 0x09, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x64, 0x41, 0x74, 0x22, 0xfd, 0x02, 0x0a, 0x07, 0x50,
- 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01,
- 0x28, 0x09, 0x52, 0x02, 0x69, 0x64, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x02,
- 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x1d, 0x0a, 0x0a, 0x70, 0x75,
- 0x62, 0x6c, 0x69, 0x63, 0x5f, 0x6b, 0x65, 0x79, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09,
- 0x70, 0x75, 0x62, 0x6c, 0x69, 0x63, 0x4b, 0x65, 0x79, 0x12, 0x1d, 0x0a, 0x0a, 0x73, 0x65, 0x63,
- 0x72, 0x65, 0x74, 0x5f, 0x6b, 0x65, 0x79, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x73,
- 0x65, 0x63, 0x72, 0x65, 0x74, 0x4b, 0x65, 0x79, 0x12, 0x28, 0x0a, 0x10, 0x61, 0x75, 0x74, 0x68,
- 0x5f, 0x77, 0x65, 0x62, 0x68, 0x6f, 0x6f, 0x6b, 0x5f, 0x75, 0x72, 0x6c, 0x18, 0x05, 0x20, 0x01,
- 0x28, 0x09, 0x52, 0x0e, 0x61, 0x75, 0x74, 0x68, 0x57, 0x65, 0x62, 0x68, 0x6f, 0x6f, 0x6b, 0x55,
- 0x72, 0x6c, 0x12, 0x30, 0x0a, 0x14, 0x61, 0x75, 0x74, 0x68, 0x5f, 0x77, 0x65, 0x62, 0x68, 0x6f,
- 0x6f, 0x6b, 0x5f, 0x6d, 0x65, 0x74, 0x68, 0x6f, 0x64, 0x73, 0x18, 0x06, 0x20, 0x03, 0x28, 0x09,
- 0x52, 0x12, 0x61, 0x75, 0x74, 0x68, 0x57, 0x65, 0x62, 0x68, 0x6f, 0x6f, 0x6b, 0x4d, 0x65, 0x74,
- 0x68, 0x6f, 0x64, 0x73, 0x12, 0x3e, 0x0a, 0x1b, 0x63, 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x5f, 0x64,
- 0x65, 0x61, 0x63, 0x74, 0x69, 0x76, 0x61, 0x74, 0x65, 0x5f, 0x74, 0x68, 0x72, 0x65, 0x73, 0x68,
- 0x6f, 0x6c, 0x64, 0x18, 0x07, 0x20, 0x01, 0x28, 0x09, 0x52, 0x19, 0x63, 0x6c, 0x69, 0x65, 0x6e,
- 0x74, 0x44, 0x65, 0x61, 0x63, 0x74, 0x69, 0x76, 0x61, 0x74, 0x65, 0x54, 0x68, 0x72, 0x65, 0x73,
- 0x68, 0x6f, 0x6c, 0x64, 0x12, 0x39, 0x0a, 0x0a, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x64, 0x5f,
- 0x61, 0x74, 0x18, 0x08, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c,
- 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x54, 0x69, 0x6d, 0x65, 0x73,
- 0x74, 0x61, 0x6d, 0x70, 0x52, 0x09, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x64, 0x41, 0x74, 0x12,
- 0x39, 0x0a, 0x0a, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x64, 0x5f, 0x61, 0x74, 0x18, 0x09, 0x20,
- 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f,
- 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x54, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x52,
- 0x09, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x64, 0x41, 0x74, 0x22, 0x88, 0x03, 0x0a, 0x16, 0x55,
- 0x70, 0x64, 0x61, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x50, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x46,
- 0x69, 0x65, 0x6c, 0x64, 0x73, 0x12, 0x30, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20,
- 0x01, 0x28, 0x0b, 0x32, 0x1c, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f,
- 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x53, 0x74, 0x72, 0x69, 0x6e, 0x67, 0x56, 0x61, 0x6c, 0x75,
- 0x65, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x46, 0x0a, 0x10, 0x61, 0x75, 0x74, 0x68, 0x5f,
- 0x77, 0x65, 0x62, 0x68, 0x6f, 0x6f, 0x6b, 0x5f, 0x75, 0x72, 0x6c, 0x18, 0x02, 0x20, 0x01, 0x28,
- 0x0b, 0x32, 0x1c, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f,
- 0x62, 0x75, 0x66, 0x2e, 0x53, 0x74, 0x72, 0x69, 0x6e, 0x67, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x52,
- 0x0e, 0x61, 0x75, 0x74, 0x68, 0x57, 0x65, 0x62, 0x68, 0x6f, 0x6f, 0x6b, 0x55, 0x72, 0x6c, 0x12,
- 0x66, 0x0a, 0x14, 0x61, 0x75, 0x74, 0x68, 0x5f, 0x77, 0x65, 0x62, 0x68, 0x6f, 0x6f, 0x6b, 0x5f,
- 0x6d, 0x65, 0x74, 0x68, 0x6f, 0x64, 0x73, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x34, 0x2e,
- 0x79, 0x6f, 0x72, 0x6b, 0x69, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x55, 0x70, 0x64, 0x61, 0x74, 0x61,
- 0x62, 0x6c, 0x65, 0x50, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x46, 0x69, 0x65, 0x6c, 0x64, 0x73,
- 0x2e, 0x41, 0x75, 0x74, 0x68, 0x57, 0x65, 0x62, 0x68, 0x6f, 0x6f, 0x6b, 0x4d, 0x65, 0x74, 0x68,
- 0x6f, 0x64, 0x73, 0x52, 0x12, 0x61, 0x75, 0x74, 0x68, 0x57, 0x65, 0x62, 0x68, 0x6f, 0x6f, 0x6b,
- 0x4d, 0x65, 0x74, 0x68, 0x6f, 0x64, 0x73, 0x12, 0x5c, 0x0a, 0x1b, 0x63, 0x6c, 0x69, 0x65, 0x6e,
- 0x74, 0x5f, 0x64, 0x65, 0x61, 0x63, 0x74, 0x69, 0x76, 0x61, 0x74, 0x65, 0x5f, 0x74, 0x68, 0x72,
- 0x65, 0x73, 0x68, 0x6f, 0x6c, 0x64, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1c, 0x2e, 0x67,
- 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x53,
- 0x74, 0x72, 0x69, 0x6e, 0x67, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x52, 0x19, 0x63, 0x6c, 0x69, 0x65,
- 0x6e, 0x74, 0x44, 0x65, 0x61, 0x63, 0x74, 0x69, 0x76, 0x61, 0x74, 0x65, 0x54, 0x68, 0x72, 0x65,
- 0x73, 0x68, 0x6f, 0x6c, 0x64, 0x1a, 0x2e, 0x0a, 0x12, 0x41, 0x75, 0x74, 0x68, 0x57, 0x65, 0x62,
- 0x68, 0x6f, 0x6f, 0x6b, 0x4d, 0x65, 0x74, 0x68, 0x6f, 0x64, 0x73, 0x12, 0x18, 0x0a, 0x07, 0x6d,
- 0x65, 0x74, 0x68, 0x6f, 0x64, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x09, 0x52, 0x07, 0x6d, 0x65,
- 0x74, 0x68, 0x6f, 0x64, 0x73, 0x22, 0x82, 0x02, 0x0a, 0x0f, 0x44, 0x6f, 0x63, 0x75, 0x6d, 0x65,
- 0x6e, 0x74, 0x53, 0x75, 0x6d, 0x6d, 0x61, 0x72, 0x79, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18,
- 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x02, 0x69, 0x64, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79,
- 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x1a, 0x0a, 0x08, 0x73,
- 0x6e, 0x61, 0x70, 0x73, 0x68, 0x6f, 0x74, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x73,
- 0x6e, 0x61, 0x70, 0x73, 0x68, 0x6f, 0x74, 0x12, 0x39, 0x0a, 0x0a, 0x63, 0x72, 0x65, 0x61, 0x74,
- 0x65, 0x64, 0x5f, 0x61, 0x74, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f,
- 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x54, 0x69,
- 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x52, 0x09, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x64,
- 0x41, 0x74, 0x12, 0x3b, 0x0a, 0x0b, 0x61, 0x63, 0x63, 0x65, 0x73, 0x73, 0x65, 0x64, 0x5f, 0x61,
- 0x74, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65,
- 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x54, 0x69, 0x6d, 0x65, 0x73, 0x74,
- 0x61, 0x6d, 0x70, 0x52, 0x0a, 0x61, 0x63, 0x63, 0x65, 0x73, 0x73, 0x65, 0x64, 0x41, 0x74, 0x12,
- 0x39, 0x0a, 0x0a, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x64, 0x5f, 0x61, 0x74, 0x18, 0x06, 0x20,
- 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f,
- 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x54, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x52,
- 0x09, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x64, 0x41, 0x74, 0x22, 0xea, 0x01, 0x0a, 0x0e, 0x50,
- 0x72, 0x65, 0x73, 0x65, 0x6e, 0x63, 0x65, 0x43, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x12, 0x38, 0x0a,
- 0x04, 0x74, 0x79, 0x70, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x24, 0x2e, 0x79, 0x6f,
- 0x72, 0x6b, 0x69, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x50, 0x72, 0x65, 0x73, 0x65, 0x6e, 0x63, 0x65,
- 0x43, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x2e, 0x43, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x54, 0x79, 0x70,
- 0x65, 0x52, 0x04, 0x74, 0x79, 0x70, 0x65, 0x12, 0x2f, 0x0a, 0x08, 0x70, 0x72, 0x65, 0x73, 0x65,
- 0x6e, 0x63, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x13, 0x2e, 0x79, 0x6f, 0x72, 0x6b,
- 0x69, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x50, 0x72, 0x65, 0x73, 0x65, 0x6e, 0x63, 0x65, 0x52, 0x08,
- 0x70, 0x72, 0x65, 0x73, 0x65, 0x6e, 0x63, 0x65, 0x22, 0x6d, 0x0a, 0x0a, 0x43, 0x68, 0x61, 0x6e,
- 0x67, 0x65, 0x54, 0x79, 0x70, 0x65, 0x12, 0x1b, 0x0a, 0x17, 0x43, 0x48, 0x41, 0x4e, 0x47, 0x45,
- 0x5f, 0x54, 0x59, 0x50, 0x45, 0x5f, 0x55, 0x4e, 0x53, 0x50, 0x45, 0x43, 0x49, 0x46, 0x49, 0x45,
- 0x44, 0x10, 0x00, 0x12, 0x13, 0x0a, 0x0f, 0x43, 0x48, 0x41, 0x4e, 0x47, 0x45, 0x5f, 0x54, 0x59,
- 0x50, 0x45, 0x5f, 0x50, 0x55, 0x54, 0x10, 0x01, 0x12, 0x16, 0x0a, 0x12, 0x43, 0x48, 0x41, 0x4e,
- 0x47, 0x45, 0x5f, 0x54, 0x59, 0x50, 0x45, 0x5f, 0x44, 0x45, 0x4c, 0x45, 0x54, 0x45, 0x10, 0x02,
- 0x12, 0x15, 0x0a, 0x11, 0x43, 0x48, 0x41, 0x4e, 0x47, 0x45, 0x5f, 0x54, 0x59, 0x50, 0x45, 0x5f,
- 0x43, 0x4c, 0x45, 0x41, 0x52, 0x10, 0x03, 0x22, 0x76, 0x0a, 0x08, 0x50, 0x72, 0x65, 0x73, 0x65,
- 0x6e, 0x63, 0x65, 0x12, 0x31, 0x0a, 0x04, 0x64, 0x61, 0x74, 0x61, 0x18, 0x01, 0x20, 0x03, 0x28,
- 0x0b, 0x32, 0x1d, 0x2e, 0x79, 0x6f, 0x72, 0x6b, 0x69, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x50, 0x72,
- 0x65, 0x73, 0x65, 0x6e, 0x63, 0x65, 0x2e, 0x44, 0x61, 0x74, 0x61, 0x45, 0x6e, 0x74, 0x72, 0x79,
- 0x52, 0x04, 0x64, 0x61, 0x74, 0x61, 0x1a, 0x37, 0x0a, 0x09, 0x44, 0x61, 0x74, 0x61, 0x45, 0x6e,
+ 0x54, 0x72, 0x65, 0x65, 0x4e, 0x6f, 0x64, 0x65, 0x49, 0x44, 0x52, 0x09, 0x69, 0x6e, 0x73, 0x4e,
+ 0x65, 0x78, 0x74, 0x49, 0x64, 0x12, 0x14, 0x0a, 0x05, 0x64, 0x65, 0x70, 0x74, 0x68, 0x18, 0x07,
+ 0x20, 0x01, 0x28, 0x05, 0x52, 0x05, 0x64, 0x65, 0x70, 0x74, 0x68, 0x12, 0x43, 0x0a, 0x0a, 0x61,
+ 0x74, 0x74, 0x72, 0x69, 0x62, 0x75, 0x74, 0x65, 0x73, 0x18, 0x08, 0x20, 0x03, 0x28, 0x0b, 0x32,
+ 0x23, 0x2e, 0x79, 0x6f, 0x72, 0x6b, 0x69, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x54, 0x72, 0x65, 0x65,
+ 0x4e, 0x6f, 0x64, 0x65, 0x2e, 0x41, 0x74, 0x74, 0x72, 0x69, 0x62, 0x75, 0x74, 0x65, 0x73, 0x45,
+ 0x6e, 0x74, 0x72, 0x79, 0x52, 0x0a, 0x61, 0x74, 0x74, 0x72, 0x69, 0x62, 0x75, 0x74, 0x65, 0x73,
+ 0x1a, 0x52, 0x0a, 0x0f, 0x41, 0x74, 0x74, 0x72, 0x69, 0x62, 0x75, 0x74, 0x65, 0x73, 0x45, 0x6e,
0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09,
- 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x14, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02,
- 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x22,
- 0x4e, 0x0a, 0x0a, 0x43, 0x68, 0x65, 0x63, 0x6b, 0x70, 0x6f, 0x69, 0x6e, 0x74, 0x12, 0x21, 0x0a,
- 0x0a, 0x73, 0x65, 0x72, 0x76, 0x65, 0x72, 0x5f, 0x73, 0x65, 0x71, 0x18, 0x01, 0x20, 0x01, 0x28,
- 0x03, 0x42, 0x02, 0x30, 0x01, 0x52, 0x09, 0x73, 0x65, 0x72, 0x76, 0x65, 0x72, 0x53, 0x65, 0x71,
- 0x12, 0x1d, 0x0a, 0x0a, 0x63, 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x5f, 0x73, 0x65, 0x71, 0x18, 0x02,
- 0x20, 0x01, 0x28, 0x0d, 0x52, 0x09, 0x63, 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x53, 0x65, 0x71, 0x22,
- 0x84, 0x01, 0x0a, 0x0b, 0x54, 0x65, 0x78, 0x74, 0x4e, 0x6f, 0x64, 0x65, 0x50, 0x6f, 0x73, 0x12,
- 0x34, 0x0a, 0x0a, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x64, 0x5f, 0x61, 0x74, 0x18, 0x01, 0x20,
- 0x01, 0x28, 0x0b, 0x32, 0x15, 0x2e, 0x79, 0x6f, 0x72, 0x6b, 0x69, 0x65, 0x2e, 0x76, 0x31, 0x2e,
- 0x54, 0x69, 0x6d, 0x65, 0x54, 0x69, 0x63, 0x6b, 0x65, 0x74, 0x52, 0x09, 0x63, 0x72, 0x65, 0x61,
- 0x74, 0x65, 0x64, 0x41, 0x74, 0x12, 0x16, 0x0a, 0x06, 0x6f, 0x66, 0x66, 0x73, 0x65, 0x74, 0x18,
- 0x02, 0x20, 0x01, 0x28, 0x05, 0x52, 0x06, 0x6f, 0x66, 0x66, 0x73, 0x65, 0x74, 0x12, 0x27, 0x0a,
- 0x0f, 0x72, 0x65, 0x6c, 0x61, 0x74, 0x69, 0x76, 0x65, 0x5f, 0x6f, 0x66, 0x66, 0x73, 0x65, 0x74,
- 0x18, 0x03, 0x20, 0x01, 0x28, 0x05, 0x52, 0x0e, 0x72, 0x65, 0x6c, 0x61, 0x74, 0x69, 0x76, 0x65,
- 0x4f, 0x66, 0x66, 0x73, 0x65, 0x74, 0x22, 0x63, 0x0a, 0x0a, 0x54, 0x69, 0x6d, 0x65, 0x54, 0x69,
- 0x63, 0x6b, 0x65, 0x74, 0x12, 0x1c, 0x0a, 0x07, 0x6c, 0x61, 0x6d, 0x70, 0x6f, 0x72, 0x74, 0x18,
- 0x01, 0x20, 0x01, 0x28, 0x03, 0x42, 0x02, 0x30, 0x01, 0x52, 0x07, 0x6c, 0x61, 0x6d, 0x70, 0x6f,
- 0x72, 0x74, 0x12, 0x1c, 0x0a, 0x09, 0x64, 0x65, 0x6c, 0x69, 0x6d, 0x69, 0x74, 0x65, 0x72, 0x18,
- 0x02, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x09, 0x64, 0x65, 0x6c, 0x69, 0x6d, 0x69, 0x74, 0x65, 0x72,
- 0x12, 0x19, 0x0a, 0x08, 0x61, 0x63, 0x74, 0x6f, 0x72, 0x5f, 0x69, 0x64, 0x18, 0x03, 0x20, 0x01,
- 0x28, 0x0c, 0x52, 0x07, 0x61, 0x63, 0x74, 0x6f, 0x72, 0x49, 0x64, 0x22, 0x3e, 0x0a, 0x0c, 0x44,
- 0x6f, 0x63, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x42, 0x6f, 0x64, 0x79, 0x12, 0x14, 0x0a, 0x05, 0x74,
- 0x6f, 0x70, 0x69, 0x63, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x74, 0x6f, 0x70, 0x69,
- 0x63, 0x12, 0x18, 0x0a, 0x07, 0x70, 0x61, 0x79, 0x6c, 0x6f, 0x61, 0x64, 0x18, 0x02, 0x20, 0x01,
- 0x28, 0x0c, 0x52, 0x07, 0x70, 0x61, 0x79, 0x6c, 0x6f, 0x61, 0x64, 0x22, 0x82, 0x01, 0x0a, 0x08,
- 0x44, 0x6f, 0x63, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x12, 0x2b, 0x0a, 0x04, 0x74, 0x79, 0x70, 0x65,
- 0x18, 0x01, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x17, 0x2e, 0x79, 0x6f, 0x72, 0x6b, 0x69, 0x65, 0x2e,
- 0x76, 0x31, 0x2e, 0x44, 0x6f, 0x63, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x54, 0x79, 0x70, 0x65, 0x52,
- 0x04, 0x74, 0x79, 0x70, 0x65, 0x12, 0x1c, 0x0a, 0x09, 0x70, 0x75, 0x62, 0x6c, 0x69, 0x73, 0x68,
- 0x65, 0x72, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x70, 0x75, 0x62, 0x6c, 0x69, 0x73,
- 0x68, 0x65, 0x72, 0x12, 0x2b, 0x0a, 0x04, 0x62, 0x6f, 0x64, 0x79, 0x18, 0x03, 0x20, 0x01, 0x28,
- 0x0b, 0x32, 0x17, 0x2e, 0x79, 0x6f, 0x72, 0x6b, 0x69, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x44, 0x6f,
- 0x63, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x42, 0x6f, 0x64, 0x79, 0x52, 0x04, 0x62, 0x6f, 0x64, 0x79,
- 0x2a, 0xd4, 0x02, 0x0a, 0x09, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x54, 0x79, 0x70, 0x65, 0x12, 0x13,
- 0x0a, 0x0f, 0x56, 0x41, 0x4c, 0x55, 0x45, 0x5f, 0x54, 0x59, 0x50, 0x45, 0x5f, 0x4e, 0x55, 0x4c,
- 0x4c, 0x10, 0x00, 0x12, 0x16, 0x0a, 0x12, 0x56, 0x41, 0x4c, 0x55, 0x45, 0x5f, 0x54, 0x59, 0x50,
- 0x45, 0x5f, 0x42, 0x4f, 0x4f, 0x4c, 0x45, 0x41, 0x4e, 0x10, 0x01, 0x12, 0x16, 0x0a, 0x12, 0x56,
- 0x41, 0x4c, 0x55, 0x45, 0x5f, 0x54, 0x59, 0x50, 0x45, 0x5f, 0x49, 0x4e, 0x54, 0x45, 0x47, 0x45,
- 0x52, 0x10, 0x02, 0x12, 0x13, 0x0a, 0x0f, 0x56, 0x41, 0x4c, 0x55, 0x45, 0x5f, 0x54, 0x59, 0x50,
- 0x45, 0x5f, 0x4c, 0x4f, 0x4e, 0x47, 0x10, 0x03, 0x12, 0x15, 0x0a, 0x11, 0x56, 0x41, 0x4c, 0x55,
- 0x45, 0x5f, 0x54, 0x59, 0x50, 0x45, 0x5f, 0x44, 0x4f, 0x55, 0x42, 0x4c, 0x45, 0x10, 0x04, 0x12,
- 0x15, 0x0a, 0x11, 0x56, 0x41, 0x4c, 0x55, 0x45, 0x5f, 0x54, 0x59, 0x50, 0x45, 0x5f, 0x53, 0x54,
- 0x52, 0x49, 0x4e, 0x47, 0x10, 0x05, 0x12, 0x14, 0x0a, 0x10, 0x56, 0x41, 0x4c, 0x55, 0x45, 0x5f,
- 0x54, 0x59, 0x50, 0x45, 0x5f, 0x42, 0x59, 0x54, 0x45, 0x53, 0x10, 0x06, 0x12, 0x13, 0x0a, 0x0f,
- 0x56, 0x41, 0x4c, 0x55, 0x45, 0x5f, 0x54, 0x59, 0x50, 0x45, 0x5f, 0x44, 0x41, 0x54, 0x45, 0x10,
- 0x07, 0x12, 0x1a, 0x0a, 0x16, 0x56, 0x41, 0x4c, 0x55, 0x45, 0x5f, 0x54, 0x59, 0x50, 0x45, 0x5f,
- 0x4a, 0x53, 0x4f, 0x4e, 0x5f, 0x4f, 0x42, 0x4a, 0x45, 0x43, 0x54, 0x10, 0x08, 0x12, 0x19, 0x0a,
- 0x15, 0x56, 0x41, 0x4c, 0x55, 0x45, 0x5f, 0x54, 0x59, 0x50, 0x45, 0x5f, 0x4a, 0x53, 0x4f, 0x4e,
- 0x5f, 0x41, 0x52, 0x52, 0x41, 0x59, 0x10, 0x09, 0x12, 0x13, 0x0a, 0x0f, 0x56, 0x41, 0x4c, 0x55,
- 0x45, 0x5f, 0x54, 0x59, 0x50, 0x45, 0x5f, 0x54, 0x45, 0x58, 0x54, 0x10, 0x0a, 0x12, 0x1a, 0x0a,
- 0x16, 0x56, 0x41, 0x4c, 0x55, 0x45, 0x5f, 0x54, 0x59, 0x50, 0x45, 0x5f, 0x49, 0x4e, 0x54, 0x45,
- 0x47, 0x45, 0x52, 0x5f, 0x43, 0x4e, 0x54, 0x10, 0x0b, 0x12, 0x17, 0x0a, 0x13, 0x56, 0x41, 0x4c,
- 0x55, 0x45, 0x5f, 0x54, 0x59, 0x50, 0x45, 0x5f, 0x4c, 0x4f, 0x4e, 0x47, 0x5f, 0x43, 0x4e, 0x54,
- 0x10, 0x0c, 0x12, 0x13, 0x0a, 0x0f, 0x56, 0x41, 0x4c, 0x55, 0x45, 0x5f, 0x54, 0x59, 0x50, 0x45,
- 0x5f, 0x54, 0x52, 0x45, 0x45, 0x10, 0x0d, 0x2a, 0xa6, 0x01, 0x0a, 0x0c, 0x44, 0x6f, 0x63, 0x45,
- 0x76, 0x65, 0x6e, 0x74, 0x54, 0x79, 0x70, 0x65, 0x12, 0x23, 0x0a, 0x1f, 0x44, 0x4f, 0x43, 0x5f,
+ 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x29, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02,
+ 0x20, 0x01, 0x28, 0x0b, 0x32, 0x13, 0x2e, 0x79, 0x6f, 0x72, 0x6b, 0x69, 0x65, 0x2e, 0x76, 0x31,
+ 0x2e, 0x4e, 0x6f, 0x64, 0x65, 0x41, 0x74, 0x74, 0x72, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65,
+ 0x3a, 0x02, 0x38, 0x01, 0x22, 0x3a, 0x0a, 0x09, 0x54, 0x72, 0x65, 0x65, 0x4e, 0x6f, 0x64, 0x65,
+ 0x73, 0x12, 0x2d, 0x0a, 0x07, 0x63, 0x6f, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x18, 0x01, 0x20, 0x03,
+ 0x28, 0x0b, 0x32, 0x13, 0x2e, 0x79, 0x6f, 0x72, 0x6b, 0x69, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x54,
+ 0x72, 0x65, 0x65, 0x4e, 0x6f, 0x64, 0x65, 0x52, 0x07, 0x63, 0x6f, 0x6e, 0x74, 0x65, 0x6e, 0x74,
+ 0x22, 0x5a, 0x0a, 0x0a, 0x54, 0x72, 0x65, 0x65, 0x4e, 0x6f, 0x64, 0x65, 0x49, 0x44, 0x12, 0x34,
+ 0x0a, 0x0a, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x64, 0x5f, 0x61, 0x74, 0x18, 0x01, 0x20, 0x01,
+ 0x28, 0x0b, 0x32, 0x15, 0x2e, 0x79, 0x6f, 0x72, 0x6b, 0x69, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x54,
+ 0x69, 0x6d, 0x65, 0x54, 0x69, 0x63, 0x6b, 0x65, 0x74, 0x52, 0x09, 0x63, 0x72, 0x65, 0x61, 0x74,
+ 0x65, 0x64, 0x41, 0x74, 0x12, 0x16, 0x0a, 0x06, 0x6f, 0x66, 0x66, 0x73, 0x65, 0x74, 0x18, 0x02,
+ 0x20, 0x01, 0x28, 0x05, 0x52, 0x06, 0x6f, 0x66, 0x66, 0x73, 0x65, 0x74, 0x22, 0x7c, 0x0a, 0x07,
+ 0x54, 0x72, 0x65, 0x65, 0x50, 0x6f, 0x73, 0x12, 0x32, 0x0a, 0x09, 0x70, 0x61, 0x72, 0x65, 0x6e,
+ 0x74, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x15, 0x2e, 0x79, 0x6f, 0x72,
+ 0x6b, 0x69, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x54, 0x72, 0x65, 0x65, 0x4e, 0x6f, 0x64, 0x65, 0x49,
+ 0x44, 0x52, 0x08, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x49, 0x64, 0x12, 0x3d, 0x0a, 0x0f, 0x6c,
+ 0x65, 0x66, 0x74, 0x5f, 0x73, 0x69, 0x62, 0x6c, 0x69, 0x6e, 0x67, 0x5f, 0x69, 0x64, 0x18, 0x02,
+ 0x20, 0x01, 0x28, 0x0b, 0x32, 0x15, 0x2e, 0x79, 0x6f, 0x72, 0x6b, 0x69, 0x65, 0x2e, 0x76, 0x31,
+ 0x2e, 0x54, 0x72, 0x65, 0x65, 0x4e, 0x6f, 0x64, 0x65, 0x49, 0x44, 0x52, 0x0d, 0x6c, 0x65, 0x66,
+ 0x74, 0x53, 0x69, 0x62, 0x6c, 0x69, 0x6e, 0x67, 0x49, 0x64, 0x22, 0x6d, 0x0a, 0x04, 0x55, 0x73,
+ 0x65, 0x72, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x02,
+ 0x69, 0x64, 0x12, 0x1a, 0x0a, 0x08, 0x75, 0x73, 0x65, 0x72, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x02,
+ 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x75, 0x73, 0x65, 0x72, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x39,
+ 0x0a, 0x0a, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x64, 0x5f, 0x61, 0x74, 0x18, 0x03, 0x20, 0x01,
+ 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74,
+ 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x54, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x52, 0x09,
+ 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x64, 0x41, 0x74, 0x22, 0xfd, 0x02, 0x0a, 0x07, 0x50, 0x72,
+ 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28,
+ 0x09, 0x52, 0x02, 0x69, 0x64, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x02, 0x20,
+ 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x1d, 0x0a, 0x0a, 0x70, 0x75, 0x62,
+ 0x6c, 0x69, 0x63, 0x5f, 0x6b, 0x65, 0x79, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x70,
+ 0x75, 0x62, 0x6c, 0x69, 0x63, 0x4b, 0x65, 0x79, 0x12, 0x1d, 0x0a, 0x0a, 0x73, 0x65, 0x63, 0x72,
+ 0x65, 0x74, 0x5f, 0x6b, 0x65, 0x79, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x73, 0x65,
+ 0x63, 0x72, 0x65, 0x74, 0x4b, 0x65, 0x79, 0x12, 0x28, 0x0a, 0x10, 0x61, 0x75, 0x74, 0x68, 0x5f,
+ 0x77, 0x65, 0x62, 0x68, 0x6f, 0x6f, 0x6b, 0x5f, 0x75, 0x72, 0x6c, 0x18, 0x05, 0x20, 0x01, 0x28,
+ 0x09, 0x52, 0x0e, 0x61, 0x75, 0x74, 0x68, 0x57, 0x65, 0x62, 0x68, 0x6f, 0x6f, 0x6b, 0x55, 0x72,
+ 0x6c, 0x12, 0x30, 0x0a, 0x14, 0x61, 0x75, 0x74, 0x68, 0x5f, 0x77, 0x65, 0x62, 0x68, 0x6f, 0x6f,
+ 0x6b, 0x5f, 0x6d, 0x65, 0x74, 0x68, 0x6f, 0x64, 0x73, 0x18, 0x06, 0x20, 0x03, 0x28, 0x09, 0x52,
+ 0x12, 0x61, 0x75, 0x74, 0x68, 0x57, 0x65, 0x62, 0x68, 0x6f, 0x6f, 0x6b, 0x4d, 0x65, 0x74, 0x68,
+ 0x6f, 0x64, 0x73, 0x12, 0x3e, 0x0a, 0x1b, 0x63, 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x5f, 0x64, 0x65,
+ 0x61, 0x63, 0x74, 0x69, 0x76, 0x61, 0x74, 0x65, 0x5f, 0x74, 0x68, 0x72, 0x65, 0x73, 0x68, 0x6f,
+ 0x6c, 0x64, 0x18, 0x07, 0x20, 0x01, 0x28, 0x09, 0x52, 0x19, 0x63, 0x6c, 0x69, 0x65, 0x6e, 0x74,
+ 0x44, 0x65, 0x61, 0x63, 0x74, 0x69, 0x76, 0x61, 0x74, 0x65, 0x54, 0x68, 0x72, 0x65, 0x73, 0x68,
+ 0x6f, 0x6c, 0x64, 0x12, 0x39, 0x0a, 0x0a, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x64, 0x5f, 0x61,
+ 0x74, 0x18, 0x08, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65,
+ 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x54, 0x69, 0x6d, 0x65, 0x73, 0x74,
+ 0x61, 0x6d, 0x70, 0x52, 0x09, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x64, 0x41, 0x74, 0x12, 0x39,
+ 0x0a, 0x0a, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x64, 0x5f, 0x61, 0x74, 0x18, 0x09, 0x20, 0x01,
+ 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74,
+ 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x54, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x52, 0x09,
+ 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x64, 0x41, 0x74, 0x22, 0x88, 0x03, 0x0a, 0x16, 0x55, 0x70,
+ 0x64, 0x61, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x50, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x46, 0x69,
+ 0x65, 0x6c, 0x64, 0x73, 0x12, 0x30, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01,
+ 0x28, 0x0b, 0x32, 0x1c, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74,
+ 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x53, 0x74, 0x72, 0x69, 0x6e, 0x67, 0x56, 0x61, 0x6c, 0x75, 0x65,
+ 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x46, 0x0a, 0x10, 0x61, 0x75, 0x74, 0x68, 0x5f, 0x77,
+ 0x65, 0x62, 0x68, 0x6f, 0x6f, 0x6b, 0x5f, 0x75, 0x72, 0x6c, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b,
+ 0x32, 0x1c, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62,
+ 0x75, 0x66, 0x2e, 0x53, 0x74, 0x72, 0x69, 0x6e, 0x67, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x52, 0x0e,
+ 0x61, 0x75, 0x74, 0x68, 0x57, 0x65, 0x62, 0x68, 0x6f, 0x6f, 0x6b, 0x55, 0x72, 0x6c, 0x12, 0x66,
+ 0x0a, 0x14, 0x61, 0x75, 0x74, 0x68, 0x5f, 0x77, 0x65, 0x62, 0x68, 0x6f, 0x6f, 0x6b, 0x5f, 0x6d,
+ 0x65, 0x74, 0x68, 0x6f, 0x64, 0x73, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x34, 0x2e, 0x79,
+ 0x6f, 0x72, 0x6b, 0x69, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x55, 0x70, 0x64, 0x61, 0x74, 0x61, 0x62,
+ 0x6c, 0x65, 0x50, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x46, 0x69, 0x65, 0x6c, 0x64, 0x73, 0x2e,
+ 0x41, 0x75, 0x74, 0x68, 0x57, 0x65, 0x62, 0x68, 0x6f, 0x6f, 0x6b, 0x4d, 0x65, 0x74, 0x68, 0x6f,
+ 0x64, 0x73, 0x52, 0x12, 0x61, 0x75, 0x74, 0x68, 0x57, 0x65, 0x62, 0x68, 0x6f, 0x6f, 0x6b, 0x4d,
+ 0x65, 0x74, 0x68, 0x6f, 0x64, 0x73, 0x12, 0x5c, 0x0a, 0x1b, 0x63, 0x6c, 0x69, 0x65, 0x6e, 0x74,
+ 0x5f, 0x64, 0x65, 0x61, 0x63, 0x74, 0x69, 0x76, 0x61, 0x74, 0x65, 0x5f, 0x74, 0x68, 0x72, 0x65,
+ 0x73, 0x68, 0x6f, 0x6c, 0x64, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1c, 0x2e, 0x67, 0x6f,
+ 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x53, 0x74,
+ 0x72, 0x69, 0x6e, 0x67, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x52, 0x19, 0x63, 0x6c, 0x69, 0x65, 0x6e,
+ 0x74, 0x44, 0x65, 0x61, 0x63, 0x74, 0x69, 0x76, 0x61, 0x74, 0x65, 0x54, 0x68, 0x72, 0x65, 0x73,
+ 0x68, 0x6f, 0x6c, 0x64, 0x1a, 0x2e, 0x0a, 0x12, 0x41, 0x75, 0x74, 0x68, 0x57, 0x65, 0x62, 0x68,
+ 0x6f, 0x6f, 0x6b, 0x4d, 0x65, 0x74, 0x68, 0x6f, 0x64, 0x73, 0x12, 0x18, 0x0a, 0x07, 0x6d, 0x65,
+ 0x74, 0x68, 0x6f, 0x64, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x09, 0x52, 0x07, 0x6d, 0x65, 0x74,
+ 0x68, 0x6f, 0x64, 0x73, 0x22, 0x82, 0x02, 0x0a, 0x0f, 0x44, 0x6f, 0x63, 0x75, 0x6d, 0x65, 0x6e,
+ 0x74, 0x53, 0x75, 0x6d, 0x6d, 0x61, 0x72, 0x79, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01,
+ 0x20, 0x01, 0x28, 0x09, 0x52, 0x02, 0x69, 0x64, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18,
+ 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x1a, 0x0a, 0x08, 0x73, 0x6e,
+ 0x61, 0x70, 0x73, 0x68, 0x6f, 0x74, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x73, 0x6e,
+ 0x61, 0x70, 0x73, 0x68, 0x6f, 0x74, 0x12, 0x39, 0x0a, 0x0a, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65,
+ 0x64, 0x5f, 0x61, 0x74, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f, 0x6f,
+ 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x54, 0x69, 0x6d,
+ 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x52, 0x09, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x64, 0x41,
+ 0x74, 0x12, 0x3b, 0x0a, 0x0b, 0x61, 0x63, 0x63, 0x65, 0x73, 0x73, 0x65, 0x64, 0x5f, 0x61, 0x74,
+ 0x18, 0x05, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e,
+ 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x54, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61,
+ 0x6d, 0x70, 0x52, 0x0a, 0x61, 0x63, 0x63, 0x65, 0x73, 0x73, 0x65, 0x64, 0x41, 0x74, 0x12, 0x39,
+ 0x0a, 0x0a, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x64, 0x5f, 0x61, 0x74, 0x18, 0x06, 0x20, 0x01,
+ 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74,
+ 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x54, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x52, 0x09,
+ 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x64, 0x41, 0x74, 0x22, 0xea, 0x01, 0x0a, 0x0e, 0x50, 0x72,
+ 0x65, 0x73, 0x65, 0x6e, 0x63, 0x65, 0x43, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x12, 0x38, 0x0a, 0x04,
+ 0x74, 0x79, 0x70, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x24, 0x2e, 0x79, 0x6f, 0x72,
+ 0x6b, 0x69, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x50, 0x72, 0x65, 0x73, 0x65, 0x6e, 0x63, 0x65, 0x43,
+ 0x68, 0x61, 0x6e, 0x67, 0x65, 0x2e, 0x43, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x54, 0x79, 0x70, 0x65,
+ 0x52, 0x04, 0x74, 0x79, 0x70, 0x65, 0x12, 0x2f, 0x0a, 0x08, 0x70, 0x72, 0x65, 0x73, 0x65, 0x6e,
+ 0x63, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x13, 0x2e, 0x79, 0x6f, 0x72, 0x6b, 0x69,
+ 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x50, 0x72, 0x65, 0x73, 0x65, 0x6e, 0x63, 0x65, 0x52, 0x08, 0x70,
+ 0x72, 0x65, 0x73, 0x65, 0x6e, 0x63, 0x65, 0x22, 0x6d, 0x0a, 0x0a, 0x43, 0x68, 0x61, 0x6e, 0x67,
+ 0x65, 0x54, 0x79, 0x70, 0x65, 0x12, 0x1b, 0x0a, 0x17, 0x43, 0x48, 0x41, 0x4e, 0x47, 0x45, 0x5f,
+ 0x54, 0x59, 0x50, 0x45, 0x5f, 0x55, 0x4e, 0x53, 0x50, 0x45, 0x43, 0x49, 0x46, 0x49, 0x45, 0x44,
+ 0x10, 0x00, 0x12, 0x13, 0x0a, 0x0f, 0x43, 0x48, 0x41, 0x4e, 0x47, 0x45, 0x5f, 0x54, 0x59, 0x50,
+ 0x45, 0x5f, 0x50, 0x55, 0x54, 0x10, 0x01, 0x12, 0x16, 0x0a, 0x12, 0x43, 0x48, 0x41, 0x4e, 0x47,
+ 0x45, 0x5f, 0x54, 0x59, 0x50, 0x45, 0x5f, 0x44, 0x45, 0x4c, 0x45, 0x54, 0x45, 0x10, 0x02, 0x12,
+ 0x15, 0x0a, 0x11, 0x43, 0x48, 0x41, 0x4e, 0x47, 0x45, 0x5f, 0x54, 0x59, 0x50, 0x45, 0x5f, 0x43,
+ 0x4c, 0x45, 0x41, 0x52, 0x10, 0x03, 0x22, 0x76, 0x0a, 0x08, 0x50, 0x72, 0x65, 0x73, 0x65, 0x6e,
+ 0x63, 0x65, 0x12, 0x31, 0x0a, 0x04, 0x64, 0x61, 0x74, 0x61, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b,
+ 0x32, 0x1d, 0x2e, 0x79, 0x6f, 0x72, 0x6b, 0x69, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x50, 0x72, 0x65,
+ 0x73, 0x65, 0x6e, 0x63, 0x65, 0x2e, 0x44, 0x61, 0x74, 0x61, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52,
+ 0x04, 0x64, 0x61, 0x74, 0x61, 0x1a, 0x37, 0x0a, 0x09, 0x44, 0x61, 0x74, 0x61, 0x45, 0x6e, 0x74,
+ 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52,
+ 0x03, 0x6b, 0x65, 0x79, 0x12, 0x14, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20,
+ 0x01, 0x28, 0x09, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x22, 0x4e,
+ 0x0a, 0x0a, 0x43, 0x68, 0x65, 0x63, 0x6b, 0x70, 0x6f, 0x69, 0x6e, 0x74, 0x12, 0x21, 0x0a, 0x0a,
+ 0x73, 0x65, 0x72, 0x76, 0x65, 0x72, 0x5f, 0x73, 0x65, 0x71, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03,
+ 0x42, 0x02, 0x30, 0x01, 0x52, 0x09, 0x73, 0x65, 0x72, 0x76, 0x65, 0x72, 0x53, 0x65, 0x71, 0x12,
+ 0x1d, 0x0a, 0x0a, 0x63, 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x5f, 0x73, 0x65, 0x71, 0x18, 0x02, 0x20,
+ 0x01, 0x28, 0x0d, 0x52, 0x09, 0x63, 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x53, 0x65, 0x71, 0x22, 0x84,
+ 0x01, 0x0a, 0x0b, 0x54, 0x65, 0x78, 0x74, 0x4e, 0x6f, 0x64, 0x65, 0x50, 0x6f, 0x73, 0x12, 0x34,
+ 0x0a, 0x0a, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x64, 0x5f, 0x61, 0x74, 0x18, 0x01, 0x20, 0x01,
+ 0x28, 0x0b, 0x32, 0x15, 0x2e, 0x79, 0x6f, 0x72, 0x6b, 0x69, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x54,
+ 0x69, 0x6d, 0x65, 0x54, 0x69, 0x63, 0x6b, 0x65, 0x74, 0x52, 0x09, 0x63, 0x72, 0x65, 0x61, 0x74,
+ 0x65, 0x64, 0x41, 0x74, 0x12, 0x16, 0x0a, 0x06, 0x6f, 0x66, 0x66, 0x73, 0x65, 0x74, 0x18, 0x02,
+ 0x20, 0x01, 0x28, 0x05, 0x52, 0x06, 0x6f, 0x66, 0x66, 0x73, 0x65, 0x74, 0x12, 0x27, 0x0a, 0x0f,
+ 0x72, 0x65, 0x6c, 0x61, 0x74, 0x69, 0x76, 0x65, 0x5f, 0x6f, 0x66, 0x66, 0x73, 0x65, 0x74, 0x18,
+ 0x03, 0x20, 0x01, 0x28, 0x05, 0x52, 0x0e, 0x72, 0x65, 0x6c, 0x61, 0x74, 0x69, 0x76, 0x65, 0x4f,
+ 0x66, 0x66, 0x73, 0x65, 0x74, 0x22, 0x63, 0x0a, 0x0a, 0x54, 0x69, 0x6d, 0x65, 0x54, 0x69, 0x63,
+ 0x6b, 0x65, 0x74, 0x12, 0x1c, 0x0a, 0x07, 0x6c, 0x61, 0x6d, 0x70, 0x6f, 0x72, 0x74, 0x18, 0x01,
+ 0x20, 0x01, 0x28, 0x03, 0x42, 0x02, 0x30, 0x01, 0x52, 0x07, 0x6c, 0x61, 0x6d, 0x70, 0x6f, 0x72,
+ 0x74, 0x12, 0x1c, 0x0a, 0x09, 0x64, 0x65, 0x6c, 0x69, 0x6d, 0x69, 0x74, 0x65, 0x72, 0x18, 0x02,
+ 0x20, 0x01, 0x28, 0x0d, 0x52, 0x09, 0x64, 0x65, 0x6c, 0x69, 0x6d, 0x69, 0x74, 0x65, 0x72, 0x12,
+ 0x19, 0x0a, 0x08, 0x61, 0x63, 0x74, 0x6f, 0x72, 0x5f, 0x69, 0x64, 0x18, 0x03, 0x20, 0x01, 0x28,
+ 0x0c, 0x52, 0x07, 0x61, 0x63, 0x74, 0x6f, 0x72, 0x49, 0x64, 0x22, 0x3e, 0x0a, 0x0c, 0x44, 0x6f,
+ 0x63, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x42, 0x6f, 0x64, 0x79, 0x12, 0x14, 0x0a, 0x05, 0x74, 0x6f,
+ 0x70, 0x69, 0x63, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x74, 0x6f, 0x70, 0x69, 0x63,
+ 0x12, 0x18, 0x0a, 0x07, 0x70, 0x61, 0x79, 0x6c, 0x6f, 0x61, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28,
+ 0x0c, 0x52, 0x07, 0x70, 0x61, 0x79, 0x6c, 0x6f, 0x61, 0x64, 0x22, 0x82, 0x01, 0x0a, 0x08, 0x44,
+ 0x6f, 0x63, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x12, 0x2b, 0x0a, 0x04, 0x74, 0x79, 0x70, 0x65, 0x18,
+ 0x01, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x17, 0x2e, 0x79, 0x6f, 0x72, 0x6b, 0x69, 0x65, 0x2e, 0x76,
+ 0x31, 0x2e, 0x44, 0x6f, 0x63, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x54, 0x79, 0x70, 0x65, 0x52, 0x04,
+ 0x74, 0x79, 0x70, 0x65, 0x12, 0x1c, 0x0a, 0x09, 0x70, 0x75, 0x62, 0x6c, 0x69, 0x73, 0x68, 0x65,
+ 0x72, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x70, 0x75, 0x62, 0x6c, 0x69, 0x73, 0x68,
+ 0x65, 0x72, 0x12, 0x2b, 0x0a, 0x04, 0x62, 0x6f, 0x64, 0x79, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b,
+ 0x32, 0x17, 0x2e, 0x79, 0x6f, 0x72, 0x6b, 0x69, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x44, 0x6f, 0x63,
+ 0x45, 0x76, 0x65, 0x6e, 0x74, 0x42, 0x6f, 0x64, 0x79, 0x52, 0x04, 0x62, 0x6f, 0x64, 0x79, 0x2a,
+ 0xd4, 0x02, 0x0a, 0x09, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x54, 0x79, 0x70, 0x65, 0x12, 0x13, 0x0a,
+ 0x0f, 0x56, 0x41, 0x4c, 0x55, 0x45, 0x5f, 0x54, 0x59, 0x50, 0x45, 0x5f, 0x4e, 0x55, 0x4c, 0x4c,
+ 0x10, 0x00, 0x12, 0x16, 0x0a, 0x12, 0x56, 0x41, 0x4c, 0x55, 0x45, 0x5f, 0x54, 0x59, 0x50, 0x45,
+ 0x5f, 0x42, 0x4f, 0x4f, 0x4c, 0x45, 0x41, 0x4e, 0x10, 0x01, 0x12, 0x16, 0x0a, 0x12, 0x56, 0x41,
+ 0x4c, 0x55, 0x45, 0x5f, 0x54, 0x59, 0x50, 0x45, 0x5f, 0x49, 0x4e, 0x54, 0x45, 0x47, 0x45, 0x52,
+ 0x10, 0x02, 0x12, 0x13, 0x0a, 0x0f, 0x56, 0x41, 0x4c, 0x55, 0x45, 0x5f, 0x54, 0x59, 0x50, 0x45,
+ 0x5f, 0x4c, 0x4f, 0x4e, 0x47, 0x10, 0x03, 0x12, 0x15, 0x0a, 0x11, 0x56, 0x41, 0x4c, 0x55, 0x45,
+ 0x5f, 0x54, 0x59, 0x50, 0x45, 0x5f, 0x44, 0x4f, 0x55, 0x42, 0x4c, 0x45, 0x10, 0x04, 0x12, 0x15,
+ 0x0a, 0x11, 0x56, 0x41, 0x4c, 0x55, 0x45, 0x5f, 0x54, 0x59, 0x50, 0x45, 0x5f, 0x53, 0x54, 0x52,
+ 0x49, 0x4e, 0x47, 0x10, 0x05, 0x12, 0x14, 0x0a, 0x10, 0x56, 0x41, 0x4c, 0x55, 0x45, 0x5f, 0x54,
+ 0x59, 0x50, 0x45, 0x5f, 0x42, 0x59, 0x54, 0x45, 0x53, 0x10, 0x06, 0x12, 0x13, 0x0a, 0x0f, 0x56,
+ 0x41, 0x4c, 0x55, 0x45, 0x5f, 0x54, 0x59, 0x50, 0x45, 0x5f, 0x44, 0x41, 0x54, 0x45, 0x10, 0x07,
+ 0x12, 0x1a, 0x0a, 0x16, 0x56, 0x41, 0x4c, 0x55, 0x45, 0x5f, 0x54, 0x59, 0x50, 0x45, 0x5f, 0x4a,
+ 0x53, 0x4f, 0x4e, 0x5f, 0x4f, 0x42, 0x4a, 0x45, 0x43, 0x54, 0x10, 0x08, 0x12, 0x19, 0x0a, 0x15,
+ 0x56, 0x41, 0x4c, 0x55, 0x45, 0x5f, 0x54, 0x59, 0x50, 0x45, 0x5f, 0x4a, 0x53, 0x4f, 0x4e, 0x5f,
+ 0x41, 0x52, 0x52, 0x41, 0x59, 0x10, 0x09, 0x12, 0x13, 0x0a, 0x0f, 0x56, 0x41, 0x4c, 0x55, 0x45,
+ 0x5f, 0x54, 0x59, 0x50, 0x45, 0x5f, 0x54, 0x45, 0x58, 0x54, 0x10, 0x0a, 0x12, 0x1a, 0x0a, 0x16,
+ 0x56, 0x41, 0x4c, 0x55, 0x45, 0x5f, 0x54, 0x59, 0x50, 0x45, 0x5f, 0x49, 0x4e, 0x54, 0x45, 0x47,
+ 0x45, 0x52, 0x5f, 0x43, 0x4e, 0x54, 0x10, 0x0b, 0x12, 0x17, 0x0a, 0x13, 0x56, 0x41, 0x4c, 0x55,
+ 0x45, 0x5f, 0x54, 0x59, 0x50, 0x45, 0x5f, 0x4c, 0x4f, 0x4e, 0x47, 0x5f, 0x43, 0x4e, 0x54, 0x10,
+ 0x0c, 0x12, 0x13, 0x0a, 0x0f, 0x56, 0x41, 0x4c, 0x55, 0x45, 0x5f, 0x54, 0x59, 0x50, 0x45, 0x5f,
+ 0x54, 0x52, 0x45, 0x45, 0x10, 0x0d, 0x2a, 0xa6, 0x01, 0x0a, 0x0c, 0x44, 0x6f, 0x63, 0x45, 0x76,
+ 0x65, 0x6e, 0x74, 0x54, 0x79, 0x70, 0x65, 0x12, 0x23, 0x0a, 0x1f, 0x44, 0x4f, 0x43, 0x5f, 0x45,
+ 0x56, 0x45, 0x4e, 0x54, 0x5f, 0x54, 0x59, 0x50, 0x45, 0x5f, 0x44, 0x4f, 0x43, 0x55, 0x4d, 0x45,
+ 0x4e, 0x54, 0x5f, 0x43, 0x48, 0x41, 0x4e, 0x47, 0x45, 0x44, 0x10, 0x00, 0x12, 0x23, 0x0a, 0x1f,
+ 0x44, 0x4f, 0x43, 0x5f, 0x45, 0x56, 0x45, 0x4e, 0x54, 0x5f, 0x54, 0x59, 0x50, 0x45, 0x5f, 0x44,
+ 0x4f, 0x43, 0x55, 0x4d, 0x45, 0x4e, 0x54, 0x5f, 0x57, 0x41, 0x54, 0x43, 0x48, 0x45, 0x44, 0x10,
+ 0x01, 0x12, 0x25, 0x0a, 0x21, 0x44, 0x4f, 0x43, 0x5f, 0x45, 0x56, 0x45, 0x4e, 0x54, 0x5f, 0x54,
+ 0x59, 0x50, 0x45, 0x5f, 0x44, 0x4f, 0x43, 0x55, 0x4d, 0x45, 0x4e, 0x54, 0x5f, 0x55, 0x4e, 0x57,
+ 0x41, 0x54, 0x43, 0x48, 0x45, 0x44, 0x10, 0x02, 0x12, 0x25, 0x0a, 0x21, 0x44, 0x4f, 0x43, 0x5f,
0x45, 0x56, 0x45, 0x4e, 0x54, 0x5f, 0x54, 0x59, 0x50, 0x45, 0x5f, 0x44, 0x4f, 0x43, 0x55, 0x4d,
- 0x45, 0x4e, 0x54, 0x5f, 0x43, 0x48, 0x41, 0x4e, 0x47, 0x45, 0x44, 0x10, 0x00, 0x12, 0x23, 0x0a,
- 0x1f, 0x44, 0x4f, 0x43, 0x5f, 0x45, 0x56, 0x45, 0x4e, 0x54, 0x5f, 0x54, 0x59, 0x50, 0x45, 0x5f,
- 0x44, 0x4f, 0x43, 0x55, 0x4d, 0x45, 0x4e, 0x54, 0x5f, 0x57, 0x41, 0x54, 0x43, 0x48, 0x45, 0x44,
- 0x10, 0x01, 0x12, 0x25, 0x0a, 0x21, 0x44, 0x4f, 0x43, 0x5f, 0x45, 0x56, 0x45, 0x4e, 0x54, 0x5f,
- 0x54, 0x59, 0x50, 0x45, 0x5f, 0x44, 0x4f, 0x43, 0x55, 0x4d, 0x45, 0x4e, 0x54, 0x5f, 0x55, 0x4e,
- 0x57, 0x41, 0x54, 0x43, 0x48, 0x45, 0x44, 0x10, 0x02, 0x12, 0x25, 0x0a, 0x21, 0x44, 0x4f, 0x43,
- 0x5f, 0x45, 0x56, 0x45, 0x4e, 0x54, 0x5f, 0x54, 0x59, 0x50, 0x45, 0x5f, 0x44, 0x4f, 0x43, 0x55,
- 0x4d, 0x45, 0x4e, 0x54, 0x5f, 0x42, 0x52, 0x4f, 0x41, 0x44, 0x43, 0x41, 0x53, 0x54, 0x10, 0x03,
- 0x42, 0x45, 0x0a, 0x11, 0x64, 0x65, 0x76, 0x2e, 0x79, 0x6f, 0x72, 0x6b, 0x69, 0x65, 0x2e, 0x61,
- 0x70, 0x69, 0x2e, 0x76, 0x31, 0x50, 0x01, 0x5a, 0x2e, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e,
- 0x63, 0x6f, 0x6d, 0x2f, 0x79, 0x6f, 0x72, 0x6b, 0x69, 0x65, 0x2d, 0x74, 0x65, 0x61, 0x6d, 0x2f,
- 0x79, 0x6f, 0x72, 0x6b, 0x69, 0x65, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x79, 0x6f, 0x72, 0x6b, 0x69,
- 0x65, 0x2f, 0x76, 0x31, 0x3b, 0x76, 0x31, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
+ 0x45, 0x4e, 0x54, 0x5f, 0x42, 0x52, 0x4f, 0x41, 0x44, 0x43, 0x41, 0x53, 0x54, 0x10, 0x03, 0x42,
+ 0x45, 0x0a, 0x11, 0x64, 0x65, 0x76, 0x2e, 0x79, 0x6f, 0x72, 0x6b, 0x69, 0x65, 0x2e, 0x61, 0x70,
+ 0x69, 0x2e, 0x76, 0x31, 0x50, 0x01, 0x5a, 0x2e, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63,
+ 0x6f, 0x6d, 0x2f, 0x79, 0x6f, 0x72, 0x6b, 0x69, 0x65, 0x2d, 0x74, 0x65, 0x61, 0x6d, 0x2f, 0x79,
+ 0x6f, 0x72, 0x6b, 0x69, 0x65, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x79, 0x6f, 0x72, 0x6b, 0x69, 0x65,
+ 0x2f, 0x76, 0x31, 0x3b, 0x76, 0x31, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
}
var (
diff --git a/api/yorkie/v1/resources.proto b/api/yorkie/v1/resources.proto
index a93eb7f4d..d1a8c3776 100644
--- a/api/yorkie/v1/resources.proto
+++ b/api/yorkie/v1/resources.proto
@@ -226,6 +226,7 @@ message RGANode {
message NodeAttr {
string value = 1;
TimeTicket updated_at = 2;
+ bool is_removed = 3;
}
message TextNode {
diff --git a/pkg/document/crdt/rht.go b/pkg/document/crdt/rht.go
index 94c85485a..761d0441a 100644
--- a/pkg/document/crdt/rht.go
+++ b/pkg/document/crdt/rht.go
@@ -70,6 +70,11 @@ func (n *RHTNode) RemovedAt() *time.Ticket {
return nil
}
+// IsRemoved returns whether this node is removed or not.
+func (n *RHTNode) IsRemoved() bool {
+ return n.isRemoved
+}
+
// RHT is a hashtable with logical clock(Replicated hashtable).
// For more details about RHT: http://csl.skku.edu/papers/jpdc11.pdf
// NOTE(justiceHui): RHT and ElementRHT has duplicated functions.
@@ -127,6 +132,16 @@ func (rht *RHT) Set(k, v string, executedAt *time.Ticket) *RHTNode {
return nil
}
+// SetInternal sets the value of the given key internally.
+func (rht *RHT) SetInternal(k string, v string, updatedAt *time.Ticket, removed bool) {
+ newNode := newRHTNode(k, v, updatedAt, removed)
+ rht.nodeMapByKey[k] = newNode
+
+ if removed {
+ rht.numberOfRemovedElement++
+ }
+}
+
// Remove removes the value of the given key.
func (rht *RHT) Remove(k string, executedAt *time.Ticket) []*RHTNode {
// NOTE(hackerwins): We need to consider the logic and the policy of removing the element.
@@ -179,9 +194,7 @@ func (rht *RHT) Elements() map[string]string {
func (rht *RHT) Nodes() []*RHTNode {
var nodes []*RHTNode
for _, node := range rht.nodeMapByKey {
- if !node.isRemoved {
- nodes = append(nodes, node)
- }
+ nodes = append(nodes, node)
}
return nodes
@@ -197,8 +210,9 @@ func (rht *RHT) DeepCopy() *RHT {
instance := NewRHT()
for _, node := range rht.Nodes() {
- instance.Set(node.key, node.val, node.updatedAt)
+ instance.SetInternal(node.key, node.val, node.updatedAt, node.isRemoved)
}
+
return instance
}
diff --git a/pkg/document/crdt/rht_test.go b/pkg/document/crdt/rht_test.go
index 035136f19..34239f4bd 100644
--- a/pkg/document/crdt/rht_test.go
+++ b/pkg/document/crdt/rht_test.go
@@ -9,6 +9,19 @@ import (
"github.com/yorkie-team/yorkie/test/helper"
)
+func TestRHT_DeepCopy(t *testing.T) {
+ root := helper.TestRoot()
+ ctx := helper.TextChangeContext(root)
+
+ rht := crdt.NewRHT()
+ rht.Set("key1", "value1", ctx.IssueTimeTicket())
+ rht.Remove("key2", ctx.IssueTimeTicket())
+
+ rht2 := rht.DeepCopy()
+ assert.Equal(t, rht.Marshal(), rht2.Marshal())
+ assert.Equal(t, len(rht.Nodes()), len(rht2.Nodes()))
+}
+
func TestRHT_Marshal(t *testing.T) {
tests := []struct {
desc string
@@ -99,84 +112,92 @@ func TestRHT_Remove(t *testing.T) {
key2, val2, val22 := `key2`, `value2`, `value22`
tests := []struct {
- desc string
- insertKey []string
- insertVal []string
- deleteKey []string
- deleteVal []string
- expectXML string
- expectJSON string
- expectSize int
+ desc string
+ insertKey []string
+ insertVal []string
+ deleteKey []string
+ deleteVal []string
+ expectXML string
+ expectJSON string
+ expectTotalSize int
+ expectSize int
}{
{
- desc: `1. set elements`,
- insertKey: []string{key1, key2},
- insertVal: []string{val1, val2},
- deleteKey: []string{},
- deleteVal: []string{},
- expectXML: `key1="value1" key2="value2"`,
- expectJSON: `{"key1":"value1","key2":"value2"}`,
- expectSize: 2,
+ desc: `1. set elements`,
+ insertKey: []string{key1, key2},
+ insertVal: []string{val1, val2},
+ deleteKey: []string{},
+ deleteVal: []string{},
+ expectXML: `key1="value1" key2="value2"`,
+ expectJSON: `{"key1":"value1","key2":"value2"}`,
+ expectTotalSize: 2,
+ expectSize: 2,
},
{
- desc: `2. remove element`,
- insertKey: []string{},
- insertVal: []string{},
- deleteKey: []string{key1},
- deleteVal: []string{val1},
- expectXML: `key2="value2"`,
- expectJSON: `{"key2":"value2"}`,
- expectSize: 1,
+ desc: `2. remove element`,
+ insertKey: []string{},
+ insertVal: []string{},
+ deleteKey: []string{key1},
+ deleteVal: []string{val1},
+ expectXML: `key2="value2"`,
+ expectJSON: `{"key2":"value2"}`,
+ expectTotalSize: 2,
+ expectSize: 1,
},
{
- desc: `3. set after remove`,
- insertKey: []string{key1},
- insertVal: []string{val11},
- deleteKey: []string{},
- deleteVal: []string{},
- expectXML: `key1="value11" key2="value2"`,
- expectJSON: `{"key1":"value11","key2":"value2"}`,
- expectSize: 2,
+ desc: `3. set after remove`,
+ insertKey: []string{key1},
+ insertVal: []string{val11},
+ deleteKey: []string{},
+ deleteVal: []string{},
+ expectXML: `key1="value11" key2="value2"`,
+ expectJSON: `{"key1":"value11","key2":"value2"}`,
+ expectTotalSize: 2,
+ expectSize: 2,
},
{
- desc: `4. remove element`,
- insertKey: []string{key2},
- insertVal: []string{val22},
- deleteKey: []string{key1},
- deleteVal: []string{val11},
- expectXML: `key2="value22"`,
- expectJSON: `{"key2":"value22"}`,
- expectSize: 1,
+ desc: `4. remove element`,
+ insertKey: []string{key2},
+ insertVal: []string{val22},
+ deleteKey: []string{key1},
+ deleteVal: []string{val11},
+ expectXML: `key2="value22"`,
+ expectJSON: `{"key2":"value22"}`,
+ expectTotalSize: 2,
+ expectSize: 1,
},
{
- desc: `5. remove element again`,
- insertKey: []string{},
- insertVal: []string{},
- deleteKey: []string{key1},
- deleteVal: []string{val11},
- expectXML: `key2="value22"`,
- expectJSON: `{"key2":"value22"}`,
- expectSize: 1,
+ desc: `5. remove element again`,
+ insertKey: []string{},
+ insertVal: []string{},
+ deleteKey: []string{key1},
+ deleteVal: []string{val11},
+ expectXML: `key2="value22"`,
+ expectJSON: `{"key2":"value22"}`,
+ expectTotalSize: 2,
+ expectSize: 1,
},
{
- desc: `6. remove element(cleared)`,
- insertKey: []string{},
- insertVal: []string{},
- deleteKey: []string{key2},
- deleteVal: []string{val22},
- expectXML: ``,
- expectJSON: `{}`,
- expectSize: 0,
+ desc: `6. remove element(cleared)`,
+ insertKey: []string{},
+ insertVal: []string{},
+ deleteKey: []string{key2},
+ deleteVal: []string{val22},
+ expectXML: ``,
+ expectJSON: `{}`,
+ expectTotalSize: 2,
+ expectSize: 0,
},
{
- desc: `7. remove not exist key`,
- insertKey: []string{},
- insertVal: []string{},
- deleteKey: []string{`not-exist-key`},
- deleteVal: []string{``},
- expectXML: ``,
- expectJSON: `{}`,
- expectSize: 0,
+ desc: `7. remove not exist key`,
+ insertKey: []string{},
+ insertVal: []string{},
+ deleteKey: []string{`not-exist-key`},
+ deleteVal: []string{``},
+ expectXML: ``,
+ expectJSON: `{}`,
+ expectTotalSize: 3,
+ expectSize: 0,
},
}
@@ -196,7 +217,7 @@ func TestRHT_Remove(t *testing.T) {
}
assert.Equal(t, tt.expectJSON, rht.Marshal())
assert.Equal(t, tt.expectSize, rht.Len())
- assert.Equal(t, tt.expectSize, len(rht.Nodes()))
+ assert.Equal(t, tt.expectTotalSize, len(rht.Nodes()))
assert.Equal(t, tt.expectSize, len(rht.Elements()))
})
}