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