Skip to content

Commit

Permalink
Modify buf generate
Browse files Browse the repository at this point in the history
  • Loading branch information
JOOHOJANG committed Sep 24, 2024
1 parent f4f7ff4 commit 40d5792
Show file tree
Hide file tree
Showing 9 changed files with 946 additions and 3,457 deletions.
4 changes: 2 additions & 2 deletions packages/sdk/buf.gen.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,10 @@ plugins:
- plugin: es
out: .
opt:
- target=ts
- target=js+dts
- js_import_style=module
- plugin: connect-es
out: .
opt:
- target=ts
- target=js+dts
- js_import_style=module
48 changes: 47 additions & 1 deletion packages/sdk/src/api/yorkie/v1/resources_pb.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
// See the License for the specific language governing permissions and
// limitations under the License.

// @generated by protoc-gen-es v1.6.0 with parameter "target=js+dts,js_import_style=module"
// @generated by protoc-gen-es v1.10.0 with parameter "target=js+dts,js_import_style=module"
// @generated from file src/api/yorkie/v1/resources.proto (package yorkie.v1, syntax proto3)
/* eslint-disable */
// @ts-nocheck
Expand Down Expand Up @@ -176,21 +176,38 @@ export declare class ChangePack extends Message<ChangePack> {
*/
snapshot: Uint8Array;

/**
* @generated from field: yorkie.v1.VersionVector snapshot_version_vector = 7;
*/
snapshotVersionVector?: VersionVector;

/**
* @generated from field: repeated yorkie.v1.Change changes = 4;
*/
changes: Change[];

/**
* Deprecated
*
* @generated from field: yorkie.v1.TimeTicket min_synced_ticket = 5;
*/
minSyncedTicket?: TimeTicket;

/**
* @generated from field: yorkie.v1.VersionVector min_synced_version_vector = 8;
*/
minSyncedVersionVector?: VersionVector;

/**
* @generated from field: bool is_removed = 6;
*/
isRemoved: boolean;

/**
* @generated from field: yorkie.v1.VersionVector version_vector = 9;
*/
versionVector?: VersionVector;

constructor(data?: PartialMessage<ChangePack>);

static readonly runtime: typeof proto3;
Expand Down Expand Up @@ -269,6 +286,11 @@ export declare class ChangeID extends Message<ChangeID> {
*/
actorId: Uint8Array;

/**
* @generated from field: yorkie.v1.VersionVector version_vector = 5;
*/
versionVector?: VersionVector;

constructor(data?: PartialMessage<ChangeID>);

static readonly runtime: typeof proto3;
Expand All @@ -284,6 +306,30 @@ export declare class ChangeID extends Message<ChangeID> {
static equals(a: ChangeID | PlainMessage<ChangeID> | undefined, b: ChangeID | PlainMessage<ChangeID> | undefined): boolean;
}

/**
* @generated from message yorkie.v1.VersionVector
*/
export declare class VersionVector extends Message<VersionVector> {
/**
* @generated from field: map<string, int64> vector = 1;
*/
vector: { [key: string]: bigint };

constructor(data?: PartialMessage<VersionVector>);

static readonly runtime: typeof proto3;
static readonly typeName = "yorkie.v1.VersionVector";
static readonly fields: FieldList;

static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): VersionVector;

static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): VersionVector;

static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): VersionVector;

static equals(a: VersionVector | PlainMessage<VersionVector> | undefined, b: VersionVector | PlainMessage<VersionVector> | undefined): boolean;
}

/**
* @generated from message yorkie.v1.Operation
*/
Expand Down
Loading

0 comments on commit 40d5792

Please sign in to comment.