@blueyerobotics/protocol-definitions 3.2.0-dc5787fd → 3.2.0-dc69375e

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -121,18 +121,12 @@ type Builtin = Date | Function | Uint8Array | string | number | boolean | undefi
121
121
  type DeepPartial<T> = T extends Builtin ? T : T extends globalThis.Array<infer U> ? globalThis.Array<DeepPartial<U>> : T extends ReadonlyArray<infer U> ? ReadonlyArray<DeepPartial<U>> : T extends {} ? {
122
122
  [K in keyof T]?: DeepPartial<T[K]>;
123
123
  } : Partial<T>;
124
- type KeysOfUnion<T> = T extends T ? keyof T : never;
125
- type Exact<P, I extends P> = P extends Builtin ? P : P & {
126
- [K in keyof P]: Exact<P[K], I[K]>;
127
- } & {
128
- [K in Exclude<keyof I, KeysOfUnion<P>>]: never;
129
- };
130
124
  interface MessageFns<T> {
131
125
  encode(message: T, writer?: BinaryWriter): BinaryWriter;
132
126
  decode(input: BinaryReader | Uint8Array, length?: number): T;
133
127
  fromJSON(object: any): T;
134
128
  toJSON(message: T): unknown;
135
- create<I extends Exact<DeepPartial<T>, I>>(base?: I): T;
136
- fromPartial<I extends Exact<DeepPartial<T>, I>>(object: I): T;
129
+ create(base?: DeepPartial<T>): T;
130
+ fromPartial(object: DeepPartial<T>): T;
137
131
  }
138
132
  export {};
@@ -1,7 +1,7 @@
1
1
  "use strict";
2
2
  // Code generated by protoc-gen-ts_proto. DO NOT EDIT.
3
3
  // versions:
4
- // protoc-gen-ts_proto v2.7.5
4
+ // protoc-gen-ts_proto v2.7.7
5
5
  // protoc v3.21.12
6
6
  // source: google/protobuf/any.proto
7
7
  Object.defineProperty(exports, "__esModule", { value: true });
@@ -81,18 +81,12 @@ type Builtin = Date | Function | Uint8Array | string | number | boolean | undefi
81
81
  type DeepPartial<T> = T extends Builtin ? T : T extends globalThis.Array<infer U> ? globalThis.Array<DeepPartial<U>> : T extends ReadonlyArray<infer U> ? ReadonlyArray<DeepPartial<U>> : T extends {} ? {
82
82
  [K in keyof T]?: DeepPartial<T[K]>;
83
83
  } : Partial<T>;
84
- type KeysOfUnion<T> = T extends T ? keyof T : never;
85
- type Exact<P, I extends P> = P extends Builtin ? P : P & {
86
- [K in keyof P]: Exact<P[K], I[K]>;
87
- } & {
88
- [K in Exclude<keyof I, KeysOfUnion<P>>]: never;
89
- };
90
84
  interface MessageFns<T> {
91
85
  encode(message: T, writer?: BinaryWriter): BinaryWriter;
92
86
  decode(input: BinaryReader | Uint8Array, length?: number): T;
93
87
  fromJSON(object: any): T;
94
88
  toJSON(message: T): unknown;
95
- create<I extends Exact<DeepPartial<T>, I>>(base?: I): T;
96
- fromPartial<I extends Exact<DeepPartial<T>, I>>(object: I): T;
89
+ create(base?: DeepPartial<T>): T;
90
+ fromPartial(object: DeepPartial<T>): T;
97
91
  }
98
92
  export {};
@@ -1,7 +1,7 @@
1
1
  "use strict";
2
2
  // Code generated by protoc-gen-ts_proto. DO NOT EDIT.
3
3
  // versions:
4
- // protoc-gen-ts_proto v2.7.5
4
+ // protoc-gen-ts_proto v2.7.7
5
5
  // protoc v3.21.12
6
6
  // source: google/protobuf/duration.proto
7
7
  Object.defineProperty(exports, "__esModule", { value: true });
@@ -110,18 +110,12 @@ type Builtin = Date | Function | Uint8Array | string | number | boolean | undefi
110
110
  type DeepPartial<T> = T extends Builtin ? T : T extends globalThis.Array<infer U> ? globalThis.Array<DeepPartial<U>> : T extends ReadonlyArray<infer U> ? ReadonlyArray<DeepPartial<U>> : T extends {} ? {
111
111
  [K in keyof T]?: DeepPartial<T[K]>;
112
112
  } : Partial<T>;
113
- type KeysOfUnion<T> = T extends T ? keyof T : never;
114
- type Exact<P, I extends P> = P extends Builtin ? P : P & {
115
- [K in keyof P]: Exact<P[K], I[K]>;
116
- } & {
117
- [K in Exclude<keyof I, KeysOfUnion<P>>]: never;
118
- };
119
113
  interface MessageFns<T> {
120
114
  encode(message: T, writer?: BinaryWriter): BinaryWriter;
121
115
  decode(input: BinaryReader | Uint8Array, length?: number): T;
122
116
  fromJSON(object: any): T;
123
117
  toJSON(message: T): unknown;
124
- create<I extends Exact<DeepPartial<T>, I>>(base?: I): T;
125
- fromPartial<I extends Exact<DeepPartial<T>, I>>(object: I): T;
118
+ create(base?: DeepPartial<T>): T;
119
+ fromPartial(object: DeepPartial<T>): T;
126
120
  }
127
121
  export {};
@@ -1,7 +1,7 @@
1
1
  "use strict";
2
2
  // Code generated by protoc-gen-ts_proto. DO NOT EDIT.
3
3
  // versions:
4
- // protoc-gen-ts_proto v2.7.5
4
+ // protoc-gen-ts_proto v2.7.7
5
5
  // protoc v3.21.12
6
6
  // source: google/protobuf/timestamp.proto
7
7
  Object.defineProperty(exports, "__esModule", { value: true });
@@ -1,7 +1,7 @@
1
1
  "use strict";
2
2
  // Code generated by protoc-gen-ts_proto. DO NOT EDIT.
3
3
  // versions:
4
- // protoc-gen-ts_proto v2.7.5
4
+ // protoc-gen-ts_proto v2.7.7
5
5
  // protoc v3.21.12
6
6
  var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
7
7
  if (k2 === undefined) k2 = k;
@@ -1,7 +1,7 @@
1
1
  "use strict";
2
2
  // Code generated by protoc-gen-ts_proto. DO NOT EDIT.
3
3
  // versions:
4
- // protoc-gen-ts_proto v2.7.5
4
+ // protoc-gen-ts_proto v2.7.7
5
5
  // protoc v3.21.12
6
6
  var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
7
7
  if (k2 === undefined) k2 = k;
@@ -1,7 +1,7 @@
1
1
  "use strict";
2
2
  // Code generated by protoc-gen-ts_proto. DO NOT EDIT.
3
3
  // versions:
4
- // protoc-gen-ts_proto v2.7.5
4
+ // protoc-gen-ts_proto v2.7.7
5
5
  // protoc v3.21.12
6
6
  var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
7
7
  if (k2 === undefined) k2 = k;
@@ -1,7 +1,7 @@
1
1
  "use strict";
2
2
  // Code generated by protoc-gen-ts_proto. DO NOT EDIT.
3
3
  // versions:
4
- // protoc-gen-ts_proto v2.7.5
4
+ // protoc-gen-ts_proto v2.7.7
5
5
  // protoc v3.21.12
6
6
  var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
7
7
  if (k2 === undefined) k2 = k;
package/dist/index.js CHANGED
@@ -1,7 +1,7 @@
1
1
  "use strict";
2
2
  // Code generated by protoc-gen-ts_proto. DO NOT EDIT.
3
3
  // versions:
4
- // protoc-gen-ts_proto v2.7.5
4
+ // protoc-gen-ts_proto v2.7.7
5
5
  // protoc v3.21.12
6
6
  var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
7
7
  if (k2 === undefined) k2 = k;