@gadgetinc/dateilager 0.9.2 → 0.9.3

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.
@@ -445,6 +445,10 @@ export interface CloneToProjectResponse {
445
445
  * @generated from protobuf message pb.GetCacheRequest
446
446
  */
447
447
  export interface GetCacheRequest {
448
+ /**
449
+ * @generated from protobuf field: optional int64 version = 1;
450
+ */
451
+ version?: bigint;
448
452
  }
449
453
  /**
450
454
  * @generated from protobuf message pb.GetCacheResponse
@@ -1760,7 +1760,9 @@ exports.CloneToProjectResponse = new CloneToProjectResponse$Type();
1760
1760
  // @generated message type with reflection information, may provide speed optimized methods
1761
1761
  class GetCacheRequest$Type extends runtime_4.MessageType {
1762
1762
  constructor() {
1763
- super("pb.GetCacheRequest", []);
1763
+ super("pb.GetCacheRequest", [
1764
+ { no: 1, name: "version", kind: "scalar", opt: true, T: 3 /*ScalarType.INT64*/, L: 0 /*LongType.BIGINT*/ }
1765
+ ]);
1764
1766
  }
1765
1767
  create(value) {
1766
1768
  const message = globalThis.Object.create((this.messagePrototype));
@@ -1769,9 +1771,28 @@ class GetCacheRequest$Type extends runtime_4.MessageType {
1769
1771
  return message;
1770
1772
  }
1771
1773
  internalBinaryRead(reader, length, options, target) {
1772
- return target ?? this.create();
1774
+ let message = target ?? this.create(), end = reader.pos + length;
1775
+ while (reader.pos < end) {
1776
+ let [fieldNo, wireType] = reader.tag();
1777
+ switch (fieldNo) {
1778
+ case /* optional int64 version */ 1:
1779
+ message.version = reader.int64().toBigInt();
1780
+ break;
1781
+ default:
1782
+ let u = options.readUnknownField;
1783
+ if (u === "throw")
1784
+ throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`);
1785
+ let d = reader.skip(wireType);
1786
+ if (u !== false)
1787
+ (u === true ? runtime_2.UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d);
1788
+ }
1789
+ }
1790
+ return message;
1773
1791
  }
1774
1792
  internalBinaryWrite(message, writer, options) {
1793
+ /* optional int64 version = 1; */
1794
+ if (message.version !== undefined)
1795
+ writer.tag(1, runtime_1.WireType.Varint).int64(message.version);
1775
1796
  let u = options.writeUnknownFields;
1776
1797
  if (u !== false)
1777
1798
  (u == true ? runtime_2.UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);