Skip to content

Commit

Permalink
#32 Rename updatedAt to movedAt
Browse files Browse the repository at this point in the history
  • Loading branch information
hyunwoo.jo authored and hackerwins committed Sep 28, 2020
1 parent ddfdf93 commit 9c008a3
Show file tree
Hide file tree
Showing 9 changed files with 1,448 additions and 282 deletions.
1,508 changes: 1,337 additions & 171 deletions dist/yorkie.js

Large diffs are not rendered by default.

12 changes: 6 additions & 6 deletions src/api/yorkie.proto
Original file line number Diff line number Diff line change
Expand Up @@ -213,7 +213,7 @@ message Operation {

message JSONElementSimple {
TimeTicket created_at = 1;
TimeTicket updated_at = 2;
TimeTicket moved_at = 2;
TimeTicket removed_at = 3;
ValueType type = 4;
bytes value = 5;
Expand All @@ -227,32 +227,32 @@ message JSONElement {
message Object {
repeated RHTNode nodes = 1;
TimeTicket created_at = 2;
TimeTicket updated_at = 3;
TimeTicket moved_at = 3;
TimeTicket removed_at = 4;
}
message Array {
repeated RGANode nodes = 1;
TimeTicket created_at = 2;
TimeTicket updated_at = 3;
TimeTicket moved_at = 3;
TimeTicket removed_at = 4;
}
message Primitive {
ValueType type = 1;
bytes value = 2;
TimeTicket created_at = 3;
TimeTicket updated_at = 4;
TimeTicket moved_at = 4;
TimeTicket removed_at = 5;
}
message Text {
repeated TextNode nodes = 1;
TimeTicket created_at = 2;
TimeTicket updated_at = 3;
TimeTicket moved_at = 3;
TimeTicket removed_at = 4;
}
message RichText {
repeated RichTextNode nodes = 1;
TimeTicket created_at = 2;
TimeTicket updated_at = 3;
TimeTicket moved_at = 3;
TimeTicket removed_at = 4;
}
message Counter {
Expand Down
72 changes: 36 additions & 36 deletions src/api/yorkie_pb.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -950,10 +950,10 @@ export class JSONElementSimple extends jspb.Message {
hasCreatedAt(): boolean;
clearCreatedAt(): JSONElementSimple;

getUpdatedAt(): TimeTicket | undefined;
setUpdatedAt(value?: TimeTicket): JSONElementSimple;
hasUpdatedAt(): boolean;
clearUpdatedAt(): JSONElementSimple;
getMovedAt(): TimeTicket | undefined;
setMovedAt(value?: TimeTicket): JSONElementSimple;
hasMovedAt(): boolean;
clearMovedAt(): JSONElementSimple;

getRemovedAt(): TimeTicket | undefined;
setRemovedAt(value?: TimeTicket): JSONElementSimple;
Expand All @@ -979,7 +979,7 @@ export class JSONElementSimple extends jspb.Message {
export namespace JSONElementSimple {
export type AsObject = {
createdAt?: TimeTicket.AsObject,
updatedAt?: TimeTicket.AsObject,
movedAt?: TimeTicket.AsObject,
removedAt?: TimeTicket.AsObject,
type: ValueType,
value: Uint8Array | string,
Expand Down Expand Up @@ -1029,12 +1029,12 @@ export class JSONElement extends jspb.Message {

export namespace JSONElement {
export type AsObject = {
object?: JSONElement.Object.AsObject,
array?: JSONElement.Array.AsObject,
primitive?: JSONElement.Primitive.AsObject,
text?: JSONElement.Text.AsObject,
richText?: JSONElement.RichText.AsObject,
counter?: JSONElement.Counter.AsObject,
object?: Object.AsObject,
array?: Array.AsObject,
primitive?: Primitive.AsObject,
text?: Text.AsObject,
richText?: RichText.AsObject,
counter?: Counter.AsObject,
}

export class Object extends jspb.Message {
Expand All @@ -1048,10 +1048,10 @@ export namespace JSONElement {
hasCreatedAt(): boolean;
clearCreatedAt(): Object;

getUpdatedAt(): TimeTicket | undefined;
setUpdatedAt(value?: TimeTicket): Object;
hasUpdatedAt(): boolean;
clearUpdatedAt(): Object;
getMovedAt(): TimeTicket | undefined;
setMovedAt(value?: TimeTicket): Object;
hasMovedAt(): boolean;
clearMovedAt(): Object;

getRemovedAt(): TimeTicket | undefined;
setRemovedAt(value?: TimeTicket): Object;
Expand All @@ -1070,7 +1070,7 @@ export namespace JSONElement {
export type AsObject = {
nodesList: Array<RHTNode.AsObject>,
createdAt?: TimeTicket.AsObject,
updatedAt?: TimeTicket.AsObject,
movedAt?: TimeTicket.AsObject,
removedAt?: TimeTicket.AsObject,
}
}
Expand All @@ -1087,10 +1087,10 @@ export namespace JSONElement {
hasCreatedAt(): boolean;
clearCreatedAt(): Array;

getUpdatedAt(): TimeTicket | undefined;
setUpdatedAt(value?: TimeTicket): Array;
hasUpdatedAt(): boolean;
clearUpdatedAt(): Array;
getMovedAt(): TimeTicket | undefined;
setMovedAt(value?: TimeTicket): Array;
hasMovedAt(): boolean;
clearMovedAt(): Array;

getRemovedAt(): TimeTicket | undefined;
setRemovedAt(value?: TimeTicket): Array;
Expand All @@ -1109,7 +1109,7 @@ export namespace JSONElement {
export type AsObject = {
nodesList: Array<RGANode.AsObject>,
createdAt?: TimeTicket.AsObject,
updatedAt?: TimeTicket.AsObject,
movedAt?: TimeTicket.AsObject,
removedAt?: TimeTicket.AsObject,
}
}
Expand All @@ -1129,10 +1129,10 @@ export namespace JSONElement {
hasCreatedAt(): boolean;
clearCreatedAt(): Primitive;

getUpdatedAt(): TimeTicket | undefined;
setUpdatedAt(value?: TimeTicket): Primitive;
hasUpdatedAt(): boolean;
clearUpdatedAt(): Primitive;
getMovedAt(): TimeTicket | undefined;
setMovedAt(value?: TimeTicket): Primitive;
hasMovedAt(): boolean;
clearMovedAt(): Primitive;

getRemovedAt(): TimeTicket | undefined;
setRemovedAt(value?: TimeTicket): Primitive;
Expand All @@ -1152,7 +1152,7 @@ export namespace JSONElement {
type: ValueType,
value: Uint8Array | string,
createdAt?: TimeTicket.AsObject,
updatedAt?: TimeTicket.AsObject,
movedAt?: TimeTicket.AsObject,
removedAt?: TimeTicket.AsObject,
}
}
Expand All @@ -1169,10 +1169,10 @@ export namespace JSONElement {
hasCreatedAt(): boolean;
clearCreatedAt(): Text;

getUpdatedAt(): TimeTicket | undefined;
setUpdatedAt(value?: TimeTicket): Text;
hasUpdatedAt(): boolean;
clearUpdatedAt(): Text;
getMovedAt(): TimeTicket | undefined;
setMovedAt(value?: TimeTicket): Text;
hasMovedAt(): boolean;
clearMovedAt(): Text;

getRemovedAt(): TimeTicket | undefined;
setRemovedAt(value?: TimeTicket): Text;
Expand All @@ -1191,7 +1191,7 @@ export namespace JSONElement {
export type AsObject = {
nodesList: Array<TextNode.AsObject>,
createdAt?: TimeTicket.AsObject,
updatedAt?: TimeTicket.AsObject,
movedAt?: TimeTicket.AsObject,
removedAt?: TimeTicket.AsObject,
}
}
Expand All @@ -1208,10 +1208,10 @@ export namespace JSONElement {
hasCreatedAt(): boolean;
clearCreatedAt(): RichText;

getUpdatedAt(): TimeTicket | undefined;
setUpdatedAt(value?: TimeTicket): RichText;
hasUpdatedAt(): boolean;
clearUpdatedAt(): RichText;
getMovedAt(): TimeTicket | undefined;
setMovedAt(value?: TimeTicket): RichText;
hasMovedAt(): boolean;
clearMovedAt(): RichText;

getRemovedAt(): TimeTicket | undefined;
setRemovedAt(value?: TimeTicket): RichText;
Expand All @@ -1230,7 +1230,7 @@ export namespace JSONElement {
export type AsObject = {
nodesList: Array<RichTextNode.AsObject>,
createdAt?: TimeTicket.AsObject,
updatedAt?: TimeTicket.AsObject,
movedAt?: TimeTicket.AsObject,
removedAt?: TimeTicket.AsObject,
}
}
Expand Down
Loading

0 comments on commit 9c008a3

Please sign in to comment.