@milaboratories/pl-drivers 1.12.7 → 1.12.8

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.
Files changed (92) hide show
  1. package/dist/clients/download.cjs +1 -0
  2. package/dist/clients/download.cjs.map +1 -1
  3. package/dist/clients/download.js +1 -0
  4. package/dist/clients/download.js.map +1 -1
  5. package/dist/clients/logs.cjs +2 -0
  6. package/dist/clients/logs.cjs.map +1 -1
  7. package/dist/clients/logs.js +2 -0
  8. package/dist/clients/logs.js.map +1 -1
  9. package/dist/clients/ls_api.cjs +1 -0
  10. package/dist/clients/ls_api.cjs.map +1 -1
  11. package/dist/clients/ls_api.js +1 -0
  12. package/dist/clients/ls_api.js.map +1 -1
  13. package/dist/clients/progress.cjs +4 -1
  14. package/dist/clients/progress.cjs.map +1 -1
  15. package/dist/clients/progress.js +4 -1
  16. package/dist/clients/progress.js.map +1 -1
  17. package/dist/clients/upload.cjs +17 -3
  18. package/dist/clients/upload.cjs.map +1 -1
  19. package/dist/clients/upload.js +17 -3
  20. package/dist/clients/upload.js.map +1 -1
  21. package/dist/proto-grpc/github.com/milaboratory/pl/controllers/shared/grpc/downloadapi/protocol.cjs +28 -16
  22. package/dist/proto-grpc/github.com/milaboratory/pl/controllers/shared/grpc/downloadapi/protocol.cjs.map +1 -1
  23. package/dist/proto-grpc/github.com/milaboratory/pl/controllers/shared/grpc/downloadapi/protocol.client.cjs +1 -1
  24. package/dist/proto-grpc/github.com/milaboratory/pl/controllers/shared/grpc/downloadapi/protocol.client.cjs.map +1 -1
  25. package/dist/proto-grpc/github.com/milaboratory/pl/controllers/shared/grpc/downloadapi/protocol.client.d.ts +2 -2
  26. package/dist/proto-grpc/github.com/milaboratory/pl/controllers/shared/grpc/downloadapi/protocol.client.js +1 -1
  27. package/dist/proto-grpc/github.com/milaboratory/pl/controllers/shared/grpc/downloadapi/protocol.client.js.map +1 -1
  28. package/dist/proto-grpc/github.com/milaboratory/pl/controllers/shared/grpc/downloadapi/protocol.d.ts +11 -5
  29. package/dist/proto-grpc/github.com/milaboratory/pl/controllers/shared/grpc/downloadapi/protocol.js +28 -16
  30. package/dist/proto-grpc/github.com/milaboratory/pl/controllers/shared/grpc/downloadapi/protocol.js.map +1 -1
  31. package/dist/proto-grpc/github.com/milaboratory/pl/controllers/shared/grpc/lsapi/protocol.cjs +26 -12
  32. package/dist/proto-grpc/github.com/milaboratory/pl/controllers/shared/grpc/lsapi/protocol.cjs.map +1 -1
  33. package/dist/proto-grpc/github.com/milaboratory/pl/controllers/shared/grpc/lsapi/protocol.client.cjs +4 -4
  34. package/dist/proto-grpc/github.com/milaboratory/pl/controllers/shared/grpc/lsapi/protocol.client.cjs.map +1 -1
  35. package/dist/proto-grpc/github.com/milaboratory/pl/controllers/shared/grpc/lsapi/protocol.client.js +4 -4
  36. package/dist/proto-grpc/github.com/milaboratory/pl/controllers/shared/grpc/lsapi/protocol.client.js.map +1 -1
  37. package/dist/proto-grpc/github.com/milaboratory/pl/controllers/shared/grpc/lsapi/protocol.d.ts +16 -16
  38. package/dist/proto-grpc/github.com/milaboratory/pl/controllers/shared/grpc/lsapi/protocol.js +26 -12
  39. package/dist/proto-grpc/github.com/milaboratory/pl/controllers/shared/grpc/lsapi/protocol.js.map +1 -1
  40. package/dist/proto-grpc/github.com/milaboratory/pl/controllers/shared/grpc/progressapi/protocol.cjs +36 -12
  41. package/dist/proto-grpc/github.com/milaboratory/pl/controllers/shared/grpc/progressapi/protocol.cjs.map +1 -1
  42. package/dist/proto-grpc/github.com/milaboratory/pl/controllers/shared/grpc/progressapi/protocol.client.cjs +1 -1
  43. package/dist/proto-grpc/github.com/milaboratory/pl/controllers/shared/grpc/progressapi/protocol.client.cjs.map +1 -1
  44. package/dist/proto-grpc/github.com/milaboratory/pl/controllers/shared/grpc/progressapi/protocol.client.d.ts +2 -2
  45. package/dist/proto-grpc/github.com/milaboratory/pl/controllers/shared/grpc/progressapi/protocol.client.js +1 -1
  46. package/dist/proto-grpc/github.com/milaboratory/pl/controllers/shared/grpc/progressapi/protocol.client.js.map +1 -1
  47. package/dist/proto-grpc/github.com/milaboratory/pl/controllers/shared/grpc/progressapi/protocol.d.ts +8 -0
  48. package/dist/proto-grpc/github.com/milaboratory/pl/controllers/shared/grpc/progressapi/protocol.js +36 -12
  49. package/dist/proto-grpc/github.com/milaboratory/pl/controllers/shared/grpc/progressapi/protocol.js.map +1 -1
  50. package/dist/proto-grpc/github.com/milaboratory/pl/controllers/shared/grpc/streamingapi/protocol.cjs +29 -189
  51. package/dist/proto-grpc/github.com/milaboratory/pl/controllers/shared/grpc/streamingapi/protocol.cjs.map +1 -1
  52. package/dist/proto-grpc/github.com/milaboratory/pl/controllers/shared/grpc/streamingapi/protocol.client.cjs +20 -41
  53. package/dist/proto-grpc/github.com/milaboratory/pl/controllers/shared/grpc/streamingapi/protocol.client.cjs.map +1 -1
  54. package/dist/proto-grpc/github.com/milaboratory/pl/controllers/shared/grpc/streamingapi/protocol.client.d.ts +36 -66
  55. package/dist/proto-grpc/github.com/milaboratory/pl/controllers/shared/grpc/streamingapi/protocol.client.js +20 -41
  56. package/dist/proto-grpc/github.com/milaboratory/pl/controllers/shared/grpc/streamingapi/protocol.client.js.map +1 -1
  57. package/dist/proto-grpc/github.com/milaboratory/pl/controllers/shared/grpc/streamingapi/protocol.d.ts +52 -137
  58. package/dist/proto-grpc/github.com/milaboratory/pl/controllers/shared/grpc/streamingapi/protocol.js +29 -189
  59. package/dist/proto-grpc/github.com/milaboratory/pl/controllers/shared/grpc/streamingapi/protocol.js.map +1 -1
  60. package/dist/proto-grpc/github.com/milaboratory/pl/controllers/shared/grpc/uploadapi/protocol.cjs +225 -24
  61. package/dist/proto-grpc/github.com/milaboratory/pl/controllers/shared/grpc/uploadapi/protocol.cjs.map +1 -1
  62. package/dist/proto-grpc/github.com/milaboratory/pl/controllers/shared/grpc/uploadapi/protocol.client.cjs +21 -7
  63. package/dist/proto-grpc/github.com/milaboratory/pl/controllers/shared/grpc/uploadapi/protocol.client.cjs.map +1 -1
  64. package/dist/proto-grpc/github.com/milaboratory/pl/controllers/shared/grpc/uploadapi/protocol.client.js +21 -7
  65. package/dist/proto-grpc/github.com/milaboratory/pl/controllers/shared/grpc/uploadapi/protocol.client.js.map +1 -1
  66. package/dist/proto-grpc/github.com/milaboratory/pl/controllers/shared/grpc/uploadapi/protocol.js +225 -24
  67. package/dist/proto-grpc/github.com/milaboratory/pl/controllers/shared/grpc/uploadapi/protocol.js.map +1 -1
  68. package/dist/proto-rest/downloadapi.d.ts +8 -3
  69. package/dist/proto-rest/progressapi.d.ts +4 -2
  70. package/dist/proto-rest/streamingapi.d.ts +64 -203
  71. package/package.json +5 -5
  72. package/src/clients/download.ts +1 -0
  73. package/src/clients/logs.ts +2 -0
  74. package/src/clients/ls_api.ts +1 -0
  75. package/src/clients/progress.ts +1 -1
  76. package/src/clients/upload.ts +14 -1
  77. package/src/proto-grpc/github.com/milaboratory/pl/controllers/shared/grpc/downloadapi/protocol.client.ts +2 -2
  78. package/src/proto-grpc/github.com/milaboratory/pl/controllers/shared/grpc/downloadapi/protocol.ts +24 -11
  79. package/src/proto-grpc/github.com/milaboratory/pl/controllers/shared/grpc/lsapi/protocol.client.ts +8 -8
  80. package/src/proto-grpc/github.com/milaboratory/pl/controllers/shared/grpc/lsapi/protocol.ts +31 -18
  81. package/src/proto-grpc/github.com/milaboratory/pl/controllers/shared/grpc/progressapi/protocol.client.ts +2 -2
  82. package/src/proto-grpc/github.com/milaboratory/pl/controllers/shared/grpc/progressapi/protocol.ts +23 -1
  83. package/src/proto-grpc/github.com/milaboratory/pl/controllers/shared/grpc/streamingapi/protocol.client.ts +39 -78
  84. package/src/proto-grpc/github.com/milaboratory/pl/controllers/shared/grpc/streamingapi/protocol.ts +72 -263
  85. package/src/proto-grpc/github.com/milaboratory/pl/controllers/shared/grpc/uploadapi/protocol.client.ts +41 -14
  86. package/src/proto-grpc/github.com/milaboratory/pl/controllers/shared/grpc/uploadapi/protocol.ts +286 -44
  87. package/src/proto-grpc/google/protobuf/descriptor.ts +2 -5
  88. package/src/proto-rest/downloadapi.ts +8 -3
  89. package/src/proto-rest/lsapi.ts +23 -18
  90. package/src/proto-rest/progressapi.ts +4 -0
  91. package/src/proto-rest/streamingapi.ts +65 -211
  92. package/src/proto-rest/uploadapi.ts +141 -39
@@ -183,18 +183,28 @@ var LsAPI_List$Type = class extends _protobuf_ts_runtime.MessageType {
183
183
  const LsAPI_List = new LsAPI_List$Type();
184
184
  var LsAPI_List_Request$Type = class extends _protobuf_ts_runtime.MessageType {
185
185
  constructor() {
186
- super("MiLaboratories.Controller.Shared.LsAPI.List.Request", [{
187
- no: 1,
188
- name: "resource_id",
189
- kind: "scalar",
190
- T: 4,
191
- L: 0
192
- }, {
193
- no: 2,
194
- name: "location",
195
- kind: "scalar",
196
- T: 9
197
- }]);
186
+ super("MiLaboratories.Controller.Shared.LsAPI.List.Request", [
187
+ {
188
+ no: 1,
189
+ name: "resource_id",
190
+ kind: "scalar",
191
+ T: 4,
192
+ L: 0
193
+ },
194
+ {
195
+ no: 3,
196
+ name: "resource_signature",
197
+ kind: "scalar",
198
+ opt: true,
199
+ T: 12
200
+ },
201
+ {
202
+ no: 2,
203
+ name: "location",
204
+ kind: "scalar",
205
+ T: 9
206
+ }
207
+ ]);
198
208
  }
199
209
  create(value) {
200
210
  const message = globalThis.Object.create(this.messagePrototype);
@@ -211,6 +221,9 @@ var LsAPI_List_Request$Type = class extends _protobuf_ts_runtime.MessageType {
211
221
  case 1:
212
222
  message.resourceId = reader.uint64().toBigInt();
213
223
  break;
224
+ case 3:
225
+ message.resourceSignature = reader.bytes();
226
+ break;
214
227
  case 2:
215
228
  message.location = reader.string();
216
229
  break;
@@ -226,6 +239,7 @@ var LsAPI_List_Request$Type = class extends _protobuf_ts_runtime.MessageType {
226
239
  internalBinaryWrite(message, writer, options) {
227
240
  if (message.resourceId !== 0n) writer.tag(1, _protobuf_ts_runtime.WireType.Varint).uint64(message.resourceId);
228
241
  if (message.location !== "") writer.tag(2, _protobuf_ts_runtime.WireType.LengthDelimited).string(message.location);
242
+ if (message.resourceSignature !== void 0) writer.tag(3, _protobuf_ts_runtime.WireType.LengthDelimited).bytes(message.resourceSignature);
229
243
  let u = options.writeUnknownFields;
230
244
  if (u !== false) (u == true ? _protobuf_ts_runtime.UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
231
245
  return writer;
@@ -1 +1 @@
1
- {"version":3,"file":"protocol.cjs","names":["MessageType","UnknownFieldHandler","Timestamp","WireType","ServiceType"],"sources":["../../../../../../../../../src/proto-grpc/github.com/milaboratory/pl/controllers/shared/grpc/lsapi/protocol.ts"],"sourcesContent":["// @generated by protobuf-ts 2.11.1 with parameter client_generic,optimize_speed,generate_dependencies,force_server_none\n// @generated from protobuf file \"github.com/milaboratory/pl/controllers/shared/grpc/lsapi/protocol.proto\" (package \"MiLaboratories.Controller.Shared\", syntax proto3)\n// tslint:disable\nimport { ServiceType } from \"@protobuf-ts/runtime-rpc\";\nimport { WireType } from \"@protobuf-ts/runtime\";\nimport type { BinaryWriteOptions } from \"@protobuf-ts/runtime\";\nimport type { IBinaryWriter } from \"@protobuf-ts/runtime\";\nimport type { BinaryReadOptions } from \"@protobuf-ts/runtime\";\nimport type { IBinaryReader } from \"@protobuf-ts/runtime\";\nimport { UnknownFieldHandler } from \"@protobuf-ts/runtime\";\nimport type { PartialMessage } from \"@protobuf-ts/runtime\";\nimport { reflectionMergePartial } from \"@protobuf-ts/runtime\";\nimport { MessageType } from \"@protobuf-ts/runtime\";\nimport { Timestamp } from \"../../../../../../../google/protobuf/timestamp\";\n/**\n * @generated from protobuf message MiLaboratories.Controller.Shared.LsAPI\n */\nexport interface LsAPI {\n}\n/**\n * @generated from protobuf message MiLaboratories.Controller.Shared.LsAPI.ListItem\n */\nexport interface LsAPI_ListItem {\n /**\n * name of the item in storage, without any prefixes\n *\n * @generated from protobuf field: string name = 1\n */\n name: string;\n /**\n * size of item in bytes\n * is always zero for directories (is_dir = true)\n *\n * @generated from protobuf field: uint64 size = 2\n */\n size: bigint;\n /**\n * is_dir is true for item, that can have subitems.\n *\n * @generated from protobuf field: bool is_dir = 3\n */\n isDir: boolean;\n /**\n * full_name is the name of item absolute to storage root.\n * it is <directory> + <name>\n * The <delimiter>, used in names, is storage-specific and is NOT guaranteed to be '/'.\n *\n * @generated from protobuf field: string full_name = 10\n */\n fullName: string;\n /**\n * directory, the item is located in. The value here is always a prefix of name:\n * name.HasPrefix(directory) is always true.\n *\n * @generated from protobuf field: string directory = 11\n */\n directory: string;\n /**\n * last_modified keeps the item last modification timestamp\n *\n * @generated from protobuf field: google.protobuf.Timestamp last_modified = 12\n */\n lastModified?: Timestamp;\n /**\n * version of item in storage.\n * When storage supports versioning or provides checksums for the data stored,\n * the <version> field keeps that data.\n * If not - it keeps the any simple combination of item attributes, that helps to\n * detect if the contents of item has changed, e.g. <size>+<mtime>.\n * Anyway, client should not try to interpret this field, but should provide it to the Platform\n * in operations with given item (like BlobImportInternal) to help Platform with deduplication.\n *\n * @generated from protobuf field: string version = 13\n */\n version: string;\n}\n/**\n * @generated from protobuf message MiLaboratories.Controller.Shared.LsAPI.List\n */\nexport interface LsAPI_List {\n}\n/**\n * @generated from protobuf message MiLaboratories.Controller.Shared.LsAPI.List.Request\n */\nexport interface LsAPI_List_Request {\n /**\n * resource_id of 'LS/<Storage>' resource\n *\n * @generated from protobuf field: uint64 resource_id = 1\n */\n resourceId: bigint;\n /**\n * location to list, absolute to storage root. Only items, that have <full_name> starting\n * from <location> are included into list response.\n *\n * @generated from protobuf field: string location = 2\n */\n location: string;\n}\n/**\n * @generated from protobuf message MiLaboratories.Controller.Shared.LsAPI.List.Response\n */\nexport interface LsAPI_List_Response {\n /**\n * List of the full (absolute to storage root) names of items from storage.\n * E.g., for 'fs' storage each name will consist of names of all directories, where the\n * item is located, and the item name itself.\n * The delimiter, used in names, is storage-specific and is NOT guaranteed to be '/'.\n *\n * @generated from protobuf field: repeated MiLaboratories.Controller.Shared.LsAPI.ListItem items = 1\n */\n items: LsAPI_ListItem[];\n /**\n * delimiter is path separator, used in this storage. Client can use it to parse item names into parts,\n * to extract directory names.\n *\n * @generated from protobuf field: string delimiter = 2\n */\n delimiter: string;\n}\n// @generated message type with reflection information, may provide speed optimized methods\nclass LsAPI$Type extends MessageType<LsAPI> {\n constructor() {\n super(\"MiLaboratories.Controller.Shared.LsAPI\", []);\n }\n create(value?: PartialMessage<LsAPI>): LsAPI {\n const message = globalThis.Object.create((this.messagePrototype!));\n if (value !== undefined)\n reflectionMergePartial<LsAPI>(this, message, value);\n return message;\n }\n internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: LsAPI): LsAPI {\n let message = target ?? this.create(), end = reader.pos + length;\n while (reader.pos < end) {\n let [fieldNo, wireType] = reader.tag();\n switch (fieldNo) {\n default:\n let u = options.readUnknownField;\n if (u === \"throw\")\n throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`);\n let d = reader.skip(wireType);\n if (u !== false)\n (u === true ? UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d);\n }\n }\n return message;\n }\n internalBinaryWrite(message: LsAPI, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {\n let u = options.writeUnknownFields;\n if (u !== false)\n (u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);\n return writer;\n }\n}\n/**\n * @generated MessageType for protobuf message MiLaboratories.Controller.Shared.LsAPI\n */\nexport const LsAPI = new LsAPI$Type();\n// @generated message type with reflection information, may provide speed optimized methods\nclass LsAPI_ListItem$Type extends MessageType<LsAPI_ListItem> {\n constructor() {\n super(\"MiLaboratories.Controller.Shared.LsAPI.ListItem\", [\n { no: 1, name: \"name\", kind: \"scalar\", T: 9 /*ScalarType.STRING*/ },\n { no: 2, name: \"size\", kind: \"scalar\", T: 4 /*ScalarType.UINT64*/, L: 0 /*LongType.BIGINT*/ },\n { no: 3, name: \"is_dir\", kind: \"scalar\", T: 8 /*ScalarType.BOOL*/ },\n { no: 10, name: \"full_name\", kind: \"scalar\", T: 9 /*ScalarType.STRING*/ },\n { no: 11, name: \"directory\", kind: \"scalar\", T: 9 /*ScalarType.STRING*/ },\n { no: 12, name: \"last_modified\", kind: \"message\", T: () => Timestamp },\n { no: 13, name: \"version\", kind: \"scalar\", T: 9 /*ScalarType.STRING*/ }\n ]);\n }\n create(value?: PartialMessage<LsAPI_ListItem>): LsAPI_ListItem {\n const message = globalThis.Object.create((this.messagePrototype!));\n message.name = \"\";\n message.size = 0n;\n message.isDir = false;\n message.fullName = \"\";\n message.directory = \"\";\n message.version = \"\";\n if (value !== undefined)\n reflectionMergePartial<LsAPI_ListItem>(this, message, value);\n return message;\n }\n internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: LsAPI_ListItem): LsAPI_ListItem {\n let message = target ?? this.create(), end = reader.pos + length;\n while (reader.pos < end) {\n let [fieldNo, wireType] = reader.tag();\n switch (fieldNo) {\n case /* string name */ 1:\n message.name = reader.string();\n break;\n case /* uint64 size */ 2:\n message.size = reader.uint64().toBigInt();\n break;\n case /* bool is_dir */ 3:\n message.isDir = reader.bool();\n break;\n case /* string full_name */ 10:\n message.fullName = reader.string();\n break;\n case /* string directory */ 11:\n message.directory = reader.string();\n break;\n case /* google.protobuf.Timestamp last_modified */ 12:\n message.lastModified = Timestamp.internalBinaryRead(reader, reader.uint32(), options, message.lastModified);\n break;\n case /* string version */ 13:\n message.version = reader.string();\n break;\n default:\n let u = options.readUnknownField;\n if (u === \"throw\")\n throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`);\n let d = reader.skip(wireType);\n if (u !== false)\n (u === true ? UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d);\n }\n }\n return message;\n }\n internalBinaryWrite(message: LsAPI_ListItem, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {\n /* string name = 1; */\n if (message.name !== \"\")\n writer.tag(1, WireType.LengthDelimited).string(message.name);\n /* uint64 size = 2; */\n if (message.size !== 0n)\n writer.tag(2, WireType.Varint).uint64(message.size);\n /* bool is_dir = 3; */\n if (message.isDir !== false)\n writer.tag(3, WireType.Varint).bool(message.isDir);\n /* string full_name = 10; */\n if (message.fullName !== \"\")\n writer.tag(10, WireType.LengthDelimited).string(message.fullName);\n /* string directory = 11; */\n if (message.directory !== \"\")\n writer.tag(11, WireType.LengthDelimited).string(message.directory);\n /* google.protobuf.Timestamp last_modified = 12; */\n if (message.lastModified)\n Timestamp.internalBinaryWrite(message.lastModified, writer.tag(12, WireType.LengthDelimited).fork(), options).join();\n /* string version = 13; */\n if (message.version !== \"\")\n writer.tag(13, WireType.LengthDelimited).string(message.version);\n let u = options.writeUnknownFields;\n if (u !== false)\n (u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);\n return writer;\n }\n}\n/**\n * @generated MessageType for protobuf message MiLaboratories.Controller.Shared.LsAPI.ListItem\n */\nexport const LsAPI_ListItem = new LsAPI_ListItem$Type();\n// @generated message type with reflection information, may provide speed optimized methods\nclass LsAPI_List$Type extends MessageType<LsAPI_List> {\n constructor() {\n super(\"MiLaboratories.Controller.Shared.LsAPI.List\", []);\n }\n create(value?: PartialMessage<LsAPI_List>): LsAPI_List {\n const message = globalThis.Object.create((this.messagePrototype!));\n if (value !== undefined)\n reflectionMergePartial<LsAPI_List>(this, message, value);\n return message;\n }\n internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: LsAPI_List): LsAPI_List {\n let message = target ?? this.create(), end = reader.pos + length;\n while (reader.pos < end) {\n let [fieldNo, wireType] = reader.tag();\n switch (fieldNo) {\n default:\n let u = options.readUnknownField;\n if (u === \"throw\")\n throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`);\n let d = reader.skip(wireType);\n if (u !== false)\n (u === true ? UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d);\n }\n }\n return message;\n }\n internalBinaryWrite(message: LsAPI_List, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {\n let u = options.writeUnknownFields;\n if (u !== false)\n (u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);\n return writer;\n }\n}\n/**\n * @generated MessageType for protobuf message MiLaboratories.Controller.Shared.LsAPI.List\n */\nexport const LsAPI_List = new LsAPI_List$Type();\n// @generated message type with reflection information, may provide speed optimized methods\nclass LsAPI_List_Request$Type extends MessageType<LsAPI_List_Request> {\n constructor() {\n super(\"MiLaboratories.Controller.Shared.LsAPI.List.Request\", [\n { no: 1, name: \"resource_id\", kind: \"scalar\", T: 4 /*ScalarType.UINT64*/, L: 0 /*LongType.BIGINT*/ },\n { no: 2, name: \"location\", kind: \"scalar\", T: 9 /*ScalarType.STRING*/ }\n ]);\n }\n create(value?: PartialMessage<LsAPI_List_Request>): LsAPI_List_Request {\n const message = globalThis.Object.create((this.messagePrototype!));\n message.resourceId = 0n;\n message.location = \"\";\n if (value !== undefined)\n reflectionMergePartial<LsAPI_List_Request>(this, message, value);\n return message;\n }\n internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: LsAPI_List_Request): LsAPI_List_Request {\n let message = target ?? this.create(), end = reader.pos + length;\n while (reader.pos < end) {\n let [fieldNo, wireType] = reader.tag();\n switch (fieldNo) {\n case /* uint64 resource_id */ 1:\n message.resourceId = reader.uint64().toBigInt();\n break;\n case /* string location */ 2:\n message.location = reader.string();\n break;\n default:\n let u = options.readUnknownField;\n if (u === \"throw\")\n throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`);\n let d = reader.skip(wireType);\n if (u !== false)\n (u === true ? UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d);\n }\n }\n return message;\n }\n internalBinaryWrite(message: LsAPI_List_Request, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {\n /* uint64 resource_id = 1; */\n if (message.resourceId !== 0n)\n writer.tag(1, WireType.Varint).uint64(message.resourceId);\n /* string location = 2; */\n if (message.location !== \"\")\n writer.tag(2, WireType.LengthDelimited).string(message.location);\n let u = options.writeUnknownFields;\n if (u !== false)\n (u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);\n return writer;\n }\n}\n/**\n * @generated MessageType for protobuf message MiLaboratories.Controller.Shared.LsAPI.List.Request\n */\nexport const LsAPI_List_Request = new LsAPI_List_Request$Type();\n// @generated message type with reflection information, may provide speed optimized methods\nclass LsAPI_List_Response$Type extends MessageType<LsAPI_List_Response> {\n constructor() {\n super(\"MiLaboratories.Controller.Shared.LsAPI.List.Response\", [\n { no: 1, name: \"items\", kind: \"message\", repeat: 2 /*RepeatType.UNPACKED*/, T: () => LsAPI_ListItem },\n { no: 2, name: \"delimiter\", kind: \"scalar\", T: 9 /*ScalarType.STRING*/ }\n ]);\n }\n create(value?: PartialMessage<LsAPI_List_Response>): LsAPI_List_Response {\n const message = globalThis.Object.create((this.messagePrototype!));\n message.items = [];\n message.delimiter = \"\";\n if (value !== undefined)\n reflectionMergePartial<LsAPI_List_Response>(this, message, value);\n return message;\n }\n internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: LsAPI_List_Response): LsAPI_List_Response {\n let message = target ?? this.create(), end = reader.pos + length;\n while (reader.pos < end) {\n let [fieldNo, wireType] = reader.tag();\n switch (fieldNo) {\n case /* repeated MiLaboratories.Controller.Shared.LsAPI.ListItem items */ 1:\n message.items.push(LsAPI_ListItem.internalBinaryRead(reader, reader.uint32(), options));\n break;\n case /* string delimiter */ 2:\n message.delimiter = reader.string();\n break;\n default:\n let u = options.readUnknownField;\n if (u === \"throw\")\n throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`);\n let d = reader.skip(wireType);\n if (u !== false)\n (u === true ? UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d);\n }\n }\n return message;\n }\n internalBinaryWrite(message: LsAPI_List_Response, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {\n /* repeated MiLaboratories.Controller.Shared.LsAPI.ListItem items = 1; */\n for (let i = 0; i < message.items.length; i++)\n LsAPI_ListItem.internalBinaryWrite(message.items[i], writer.tag(1, WireType.LengthDelimited).fork(), options).join();\n /* string delimiter = 2; */\n if (message.delimiter !== \"\")\n writer.tag(2, WireType.LengthDelimited).string(message.delimiter);\n let u = options.writeUnknownFields;\n if (u !== false)\n (u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);\n return writer;\n }\n}\n/**\n * @generated MessageType for protobuf message MiLaboratories.Controller.Shared.LsAPI.List.Response\n */\nexport const LsAPI_List_Response = new LsAPI_List_Response$Type();\n/**\n * @generated ServiceType for protobuf service MiLaboratories.Controller.Shared.LS\n */\nexport const LS = new ServiceType(\"MiLaboratories.Controller.Shared.LS\", [\n { name: \"List\", options: { \"google.api.http\": { post: \"/v1/list\", body: \"*\" } }, I: LsAPI_List_Request, O: LsAPI_List_Response }\n]);\n"],"mappings":";;;;;;AAyHA,IAAM,aAAN,cAAyBA,iCAAmB;CACxC,cAAc;AACV,QAAM,0CAA0C,EAAE,CAAC;;CAEvD,OAAO,OAAsC;EACzC,MAAM,UAAU,WAAW,OAAO,OAAQ,KAAK,iBAAmB;AAClE,MAAI,UAAU,OACV,kDAA8B,MAAM,SAAS,MAAM;AACvD,SAAO;;CAEX,mBAAmB,QAAuB,QAAgB,SAA4B,QAAuB;EACzG,IAAI,UAAU,UAAU,KAAK,QAAQ,EAAE,MAAM,OAAO,MAAM;AAC1D,SAAO,OAAO,MAAM,KAAK;GACrB,IAAI,CAAC,SAAS,YAAY,OAAO,KAAK;AACtC,WAAQ,SAAR;IACI;KACI,IAAI,IAAI,QAAQ;AAChB,SAAI,MAAM,QACN,OAAM,IAAI,WAAW,MAAM,iBAAiB,QAAQ,cAAc,SAAS,QAAQ,KAAK,WAAW;KACvG,IAAI,IAAI,OAAO,KAAK,SAAS;AAC7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SAA8B,QAAuB,SAA4C;AAEjH,OAAK,IAAI,IAAI,GAAG,IAAI,QAAQ,MAAM,QAAQ,IACtC,gBAAe,oBAAoB,QAAQ,MAAM,IAAI,OAAO,IAAI,GAAGE,8BAAS,gBAAgB,CAAC,MAAM,EAAE,QAAQ,CAAC,MAAM;AAExH,MAAI,QAAQ,cAAc,GACtB,QAAO,IAAI,GAAGA,8BAAS,gBAAgB,CAAC,OAAO,QAAQ,UAAU;EACrE,IAAI,IAAI,QAAQ;AAChB,MAAI,MAAM,MACN,EAAC,KAAK,OAAOF,yCAAoB,UAAU,GAAG,KAAK,UAAU,SAAS,OAAO;AACjF,SAAO;;;;;;AAMf,MAAa,sBAAsB,IAAI,0BAA0B;;;;AAIjE,MAAa,KAAK,IAAIG,qCAAY,uCAAuC,CACrE;CAAE,MAAM;CAAQ,SAAS,EAAE,mBAAmB;EAAE,MAAM;EAAY,MAAM;EAAK,EAAE;CAAE,GAAG;CAAoB,GAAG;CAAqB,CACnI,CAAC"}
1
+ {"version":3,"file":"protocol.cjs","names":["MessageType","UnknownFieldHandler","Timestamp","WireType","ServiceType"],"sources":["../../../../../../../../../src/proto-grpc/github.com/milaboratory/pl/controllers/shared/grpc/lsapi/protocol.ts"],"sourcesContent":["// @generated by protobuf-ts 2.11.1 with parameter client_generic,optimize_speed,generate_dependencies,force_server_none\n// @generated from protobuf file \"github.com/milaboratory/pl/controllers/shared/grpc/lsapi/protocol.proto\" (package \"MiLaboratories.Controller.Shared\", syntax proto3)\n// tslint:disable\nimport { ServiceType } from \"@protobuf-ts/runtime-rpc\";\nimport { WireType } from \"@protobuf-ts/runtime\";\nimport type { BinaryWriteOptions } from \"@protobuf-ts/runtime\";\nimport type { IBinaryWriter } from \"@protobuf-ts/runtime\";\nimport type { BinaryReadOptions } from \"@protobuf-ts/runtime\";\nimport type { IBinaryReader } from \"@protobuf-ts/runtime\";\nimport { UnknownFieldHandler } from \"@protobuf-ts/runtime\";\nimport type { PartialMessage } from \"@protobuf-ts/runtime\";\nimport { reflectionMergePartial } from \"@protobuf-ts/runtime\";\nimport { MessageType } from \"@protobuf-ts/runtime\";\nimport { Timestamp } from \"../../../../../../../google/protobuf/timestamp\";\n/**\n * @generated from protobuf message MiLaboratories.Controller.Shared.LsAPI\n */\nexport interface LsAPI {\n}\n/**\n * @generated from protobuf message MiLaboratories.Controller.Shared.LsAPI.ListItem\n */\nexport interface LsAPI_ListItem {\n /**\n * Name of the item in storage, without any prefixes.\n *\n * @generated from protobuf field: string name = 1\n */\n name: string;\n /**\n * Size of the item in bytes.\n * Is always zero for directories (is_dir = true).\n *\n * @generated from protobuf field: uint64 size = 2\n */\n size: bigint;\n /**\n * is_dir is true for an item that can have subitems.\n *\n * @generated from protobuf field: bool is_dir = 3\n */\n isDir: boolean;\n /**\n * full_name is the full name of the item, relative to the storage root.\n * It is <directory> + <name>.\n * The <delimiter>, used in names, is storage-specific and is NOT guaranteed to be '/'.\n *\n * @generated from protobuf field: string full_name = 10\n */\n fullName: string;\n /**\n * The directory the item is located in. The value here is always a prefix of name:\n * name.HasPrefix(directory) is always true.\n *\n * @generated from protobuf field: string directory = 11\n */\n directory: string;\n /**\n * last_modified keeps the item's last modification timestamp.\n *\n * @generated from protobuf field: google.protobuf.Timestamp last_modified = 12\n */\n lastModified?: Timestamp;\n /**\n * Version of item in storage.\n * When the storage supports versioning or provides checksums for the data stored,\n * the <version> field keeps that data.\n * If not, it keeps any simple combination of item attributes that helps to\n * detect if the contents of the item have changed, e.g. <size>+<mtime>.\n * Anyway, the client should not try to interpret this field, but should provide it to the Platform\n * in operations with a given item (like BlobImportInternal) to help the Platform with deduplication.\n *\n * @generated from protobuf field: string version = 13\n */\n version: string;\n}\n/**\n * @generated from protobuf message MiLaboratories.Controller.Shared.LsAPI.List\n */\nexport interface LsAPI_List {\n}\n/**\n * @generated from protobuf message MiLaboratories.Controller.Shared.LsAPI.List.Request\n */\nexport interface LsAPI_List_Request {\n /**\n * resource_id of 'LS/<Storage>' resource\n *\n * @generated from protobuf field: uint64 resource_id = 1\n */\n resourceId: bigint;\n /**\n * Signature proving the caller is authorized to access this resource.\n *\n * @generated from protobuf field: optional bytes resource_signature = 3\n */\n resourceSignature?: Uint8Array;\n /**\n * Location to list, relative to the storage root. Only items that have <full_name> starting\n * with <location> are included in the list response.\n *\n * @generated from protobuf field: string location = 2\n */\n location: string;\n}\n/**\n * @generated from protobuf message MiLaboratories.Controller.Shared.LsAPI.List.Response\n */\nexport interface LsAPI_List_Response {\n /**\n * List of the full (relative to storage root) names of items from storage.\n * E.g., for 'fs' storage each name will consist of names of all directories, where the\n * item is located, and the item name itself.\n * The delimiter, used in names, is storage-specific and is NOT guaranteed to be '/'.\n *\n * @generated from protobuf field: repeated MiLaboratories.Controller.Shared.LsAPI.ListItem items = 1\n */\n items: LsAPI_ListItem[];\n /**\n * The delimiter is the path separator used in this storage. The client can use it to parse item names into parts,\n * to extract directory names.\n *\n * @generated from protobuf field: string delimiter = 2\n */\n delimiter: string;\n}\n// @generated message type with reflection information, may provide speed optimized methods\nclass LsAPI$Type extends MessageType<LsAPI> {\n constructor() {\n super(\"MiLaboratories.Controller.Shared.LsAPI\", []);\n }\n create(value?: PartialMessage<LsAPI>): LsAPI {\n const message = globalThis.Object.create((this.messagePrototype!));\n if (value !== undefined)\n reflectionMergePartial<LsAPI>(this, message, value);\n return message;\n }\n internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: LsAPI): LsAPI {\n let message = target ?? this.create(), end = reader.pos + length;\n while (reader.pos < end) {\n let [fieldNo, wireType] = reader.tag();\n switch (fieldNo) {\n default:\n let u = options.readUnknownField;\n if (u === \"throw\")\n throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`);\n let d = reader.skip(wireType);\n if (u !== false)\n (u === true ? UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d);\n }\n }\n return message;\n }\n internalBinaryWrite(message: LsAPI, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {\n let u = options.writeUnknownFields;\n if (u !== false)\n (u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);\n return writer;\n }\n}\n/**\n * @generated MessageType for protobuf message MiLaboratories.Controller.Shared.LsAPI\n */\nexport const LsAPI = new LsAPI$Type();\n// @generated message type with reflection information, may provide speed optimized methods\nclass LsAPI_ListItem$Type extends MessageType<LsAPI_ListItem> {\n constructor() {\n super(\"MiLaboratories.Controller.Shared.LsAPI.ListItem\", [\n { no: 1, name: \"name\", kind: \"scalar\", T: 9 /*ScalarType.STRING*/ },\n { no: 2, name: \"size\", kind: \"scalar\", T: 4 /*ScalarType.UINT64*/, L: 0 /*LongType.BIGINT*/ },\n { no: 3, name: \"is_dir\", kind: \"scalar\", T: 8 /*ScalarType.BOOL*/ },\n { no: 10, name: \"full_name\", kind: \"scalar\", T: 9 /*ScalarType.STRING*/ },\n { no: 11, name: \"directory\", kind: \"scalar\", T: 9 /*ScalarType.STRING*/ },\n { no: 12, name: \"last_modified\", kind: \"message\", T: () => Timestamp },\n { no: 13, name: \"version\", kind: \"scalar\", T: 9 /*ScalarType.STRING*/ }\n ]);\n }\n create(value?: PartialMessage<LsAPI_ListItem>): LsAPI_ListItem {\n const message = globalThis.Object.create((this.messagePrototype!));\n message.name = \"\";\n message.size = 0n;\n message.isDir = false;\n message.fullName = \"\";\n message.directory = \"\";\n message.version = \"\";\n if (value !== undefined)\n reflectionMergePartial<LsAPI_ListItem>(this, message, value);\n return message;\n }\n internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: LsAPI_ListItem): LsAPI_ListItem {\n let message = target ?? this.create(), end = reader.pos + length;\n while (reader.pos < end) {\n let [fieldNo, wireType] = reader.tag();\n switch (fieldNo) {\n case /* string name */ 1:\n message.name = reader.string();\n break;\n case /* uint64 size */ 2:\n message.size = reader.uint64().toBigInt();\n break;\n case /* bool is_dir */ 3:\n message.isDir = reader.bool();\n break;\n case /* string full_name */ 10:\n message.fullName = reader.string();\n break;\n case /* string directory */ 11:\n message.directory = reader.string();\n break;\n case /* google.protobuf.Timestamp last_modified */ 12:\n message.lastModified = Timestamp.internalBinaryRead(reader, reader.uint32(), options, message.lastModified);\n break;\n case /* string version */ 13:\n message.version = reader.string();\n break;\n default:\n let u = options.readUnknownField;\n if (u === \"throw\")\n throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`);\n let d = reader.skip(wireType);\n if (u !== false)\n (u === true ? UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d);\n }\n }\n return message;\n }\n internalBinaryWrite(message: LsAPI_ListItem, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {\n /* string name = 1; */\n if (message.name !== \"\")\n writer.tag(1, WireType.LengthDelimited).string(message.name);\n /* uint64 size = 2; */\n if (message.size !== 0n)\n writer.tag(2, WireType.Varint).uint64(message.size);\n /* bool is_dir = 3; */\n if (message.isDir !== false)\n writer.tag(3, WireType.Varint).bool(message.isDir);\n /* string full_name = 10; */\n if (message.fullName !== \"\")\n writer.tag(10, WireType.LengthDelimited).string(message.fullName);\n /* string directory = 11; */\n if (message.directory !== \"\")\n writer.tag(11, WireType.LengthDelimited).string(message.directory);\n /* google.protobuf.Timestamp last_modified = 12; */\n if (message.lastModified)\n Timestamp.internalBinaryWrite(message.lastModified, writer.tag(12, WireType.LengthDelimited).fork(), options).join();\n /* string version = 13; */\n if (message.version !== \"\")\n writer.tag(13, WireType.LengthDelimited).string(message.version);\n let u = options.writeUnknownFields;\n if (u !== false)\n (u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);\n return writer;\n }\n}\n/**\n * @generated MessageType for protobuf message MiLaboratories.Controller.Shared.LsAPI.ListItem\n */\nexport const LsAPI_ListItem = new LsAPI_ListItem$Type();\n// @generated message type with reflection information, may provide speed optimized methods\nclass LsAPI_List$Type extends MessageType<LsAPI_List> {\n constructor() {\n super(\"MiLaboratories.Controller.Shared.LsAPI.List\", []);\n }\n create(value?: PartialMessage<LsAPI_List>): LsAPI_List {\n const message = globalThis.Object.create((this.messagePrototype!));\n if (value !== undefined)\n reflectionMergePartial<LsAPI_List>(this, message, value);\n return message;\n }\n internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: LsAPI_List): LsAPI_List {\n let message = target ?? this.create(), end = reader.pos + length;\n while (reader.pos < end) {\n let [fieldNo, wireType] = reader.tag();\n switch (fieldNo) {\n default:\n let u = options.readUnknownField;\n if (u === \"throw\")\n throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`);\n let d = reader.skip(wireType);\n if (u !== false)\n (u === true ? UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d);\n }\n }\n return message;\n }\n internalBinaryWrite(message: LsAPI_List, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {\n let u = options.writeUnknownFields;\n if (u !== false)\n (u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);\n return writer;\n }\n}\n/**\n * @generated MessageType for protobuf message MiLaboratories.Controller.Shared.LsAPI.List\n */\nexport const LsAPI_List = new LsAPI_List$Type();\n// @generated message type with reflection information, may provide speed optimized methods\nclass LsAPI_List_Request$Type extends MessageType<LsAPI_List_Request> {\n constructor() {\n super(\"MiLaboratories.Controller.Shared.LsAPI.List.Request\", [\n { no: 1, name: \"resource_id\", kind: \"scalar\", T: 4 /*ScalarType.UINT64*/, L: 0 /*LongType.BIGINT*/ },\n { no: 3, name: \"resource_signature\", kind: \"scalar\", opt: true, T: 12 /*ScalarType.BYTES*/ },\n { no: 2, name: \"location\", kind: \"scalar\", T: 9 /*ScalarType.STRING*/ }\n ]);\n }\n create(value?: PartialMessage<LsAPI_List_Request>): LsAPI_List_Request {\n const message = globalThis.Object.create((this.messagePrototype!));\n message.resourceId = 0n;\n message.location = \"\";\n if (value !== undefined)\n reflectionMergePartial<LsAPI_List_Request>(this, message, value);\n return message;\n }\n internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: LsAPI_List_Request): LsAPI_List_Request {\n let message = target ?? this.create(), end = reader.pos + length;\n while (reader.pos < end) {\n let [fieldNo, wireType] = reader.tag();\n switch (fieldNo) {\n case /* uint64 resource_id */ 1:\n message.resourceId = reader.uint64().toBigInt();\n break;\n case /* optional bytes resource_signature */ 3:\n message.resourceSignature = reader.bytes();\n break;\n case /* string location */ 2:\n message.location = reader.string();\n break;\n default:\n let u = options.readUnknownField;\n if (u === \"throw\")\n throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`);\n let d = reader.skip(wireType);\n if (u !== false)\n (u === true ? UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d);\n }\n }\n return message;\n }\n internalBinaryWrite(message: LsAPI_List_Request, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {\n /* uint64 resource_id = 1; */\n if (message.resourceId !== 0n)\n writer.tag(1, WireType.Varint).uint64(message.resourceId);\n /* string location = 2; */\n if (message.location !== \"\")\n writer.tag(2, WireType.LengthDelimited).string(message.location);\n /* optional bytes resource_signature = 3; */\n if (message.resourceSignature !== undefined)\n writer.tag(3, WireType.LengthDelimited).bytes(message.resourceSignature);\n let u = options.writeUnknownFields;\n if (u !== false)\n (u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);\n return writer;\n }\n}\n/**\n * @generated MessageType for protobuf message MiLaboratories.Controller.Shared.LsAPI.List.Request\n */\nexport const LsAPI_List_Request = new LsAPI_List_Request$Type();\n// @generated message type with reflection information, may provide speed optimized methods\nclass LsAPI_List_Response$Type extends MessageType<LsAPI_List_Response> {\n constructor() {\n super(\"MiLaboratories.Controller.Shared.LsAPI.List.Response\", [\n { no: 1, name: \"items\", kind: \"message\", repeat: 2 /*RepeatType.UNPACKED*/, T: () => LsAPI_ListItem },\n { no: 2, name: \"delimiter\", kind: \"scalar\", T: 9 /*ScalarType.STRING*/ }\n ]);\n }\n create(value?: PartialMessage<LsAPI_List_Response>): LsAPI_List_Response {\n const message = globalThis.Object.create((this.messagePrototype!));\n message.items = [];\n message.delimiter = \"\";\n if (value !== undefined)\n reflectionMergePartial<LsAPI_List_Response>(this, message, value);\n return message;\n }\n internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: LsAPI_List_Response): LsAPI_List_Response {\n let message = target ?? this.create(), end = reader.pos + length;\n while (reader.pos < end) {\n let [fieldNo, wireType] = reader.tag();\n switch (fieldNo) {\n case /* repeated MiLaboratories.Controller.Shared.LsAPI.ListItem items */ 1:\n message.items.push(LsAPI_ListItem.internalBinaryRead(reader, reader.uint32(), options));\n break;\n case /* string delimiter */ 2:\n message.delimiter = reader.string();\n break;\n default:\n let u = options.readUnknownField;\n if (u === \"throw\")\n throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`);\n let d = reader.skip(wireType);\n if (u !== false)\n (u === true ? UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d);\n }\n }\n return message;\n }\n internalBinaryWrite(message: LsAPI_List_Response, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {\n /* repeated MiLaboratories.Controller.Shared.LsAPI.ListItem items = 1; */\n for (let i = 0; i < message.items.length; i++)\n LsAPI_ListItem.internalBinaryWrite(message.items[i], writer.tag(1, WireType.LengthDelimited).fork(), options).join();\n /* string delimiter = 2; */\n if (message.delimiter !== \"\")\n writer.tag(2, WireType.LengthDelimited).string(message.delimiter);\n let u = options.writeUnknownFields;\n if (u !== false)\n (u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);\n return writer;\n }\n}\n/**\n * @generated MessageType for protobuf message MiLaboratories.Controller.Shared.LsAPI.List.Response\n */\nexport const LsAPI_List_Response = new LsAPI_List_Response$Type();\n/**\n * @generated ServiceType for protobuf service MiLaboratories.Controller.Shared.LS\n */\nexport const LS = new ServiceType(\"MiLaboratories.Controller.Shared.LS\", [\n { name: \"List\", options: { \"google.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AAK,OAAOF,yCAAoB,UAAU,GAAG,KAAK,UAAU,SAAS,OAAO;AACjF,SAAO;;;;;;AAMf,MAAa,sBAAsB,IAAI,0BAA0B;;;;AAIjE,MAAa,KAAK,IAAIG,qCAAY,uCAAuC,CACrE;CAAE,MAAM;CAAQ,SAAS,EAAE,mBAAmB;EAAE,MAAM;EAAY,MAAM;EAAK,EAAE;CAAE,GAAG;CAAoB,GAAG;CAAqB,CACnI,CAAC"}
@@ -5,10 +5,10 @@ let _protobuf_ts_runtime_rpc = require("@protobuf-ts/runtime-rpc");
5
5
  //#region src/proto-grpc/github.com/milaboratory/pl/controllers/shared/grpc/lsapi/protocol.client.ts
6
6
  /**
7
7
  *
8
- * LS provides access to lists of blobs (files, S3 objects and so on) is some storage.
9
- * This API allows clients to know, whan items are available in storages, that
10
- * the contorllers can access, providing clients with the ability to start indexation
11
- * on, say, existing sequence files from the corporate storage.
8
+ * LS provides access to lists of blobs (files, S3 objects and so on) in some storage.
9
+ * This API allows clients to know what items are available in storages that
10
+ * the controllers can access, providing clients with the ability to start indexing,
11
+ * say, existing sequence files from the corporate storage.
12
12
  *
13
13
  *
14
14
  * @generated from protobuf service MiLaboratories.Controller.Shared.LS
@@ -1 +1 @@
1
- {"version":3,"file":"protocol.client.cjs","names":["LS"],"sources":["../../../../../../../../../src/proto-grpc/github.com/milaboratory/pl/controllers/shared/grpc/lsapi/protocol.client.ts"],"sourcesContent":["// @generated by protobuf-ts 2.11.1 with parameter client_generic,optimize_speed,generate_dependencies,force_server_none\n// @generated from protobuf file \"github.com/milaboratory/pl/controllers/shared/grpc/lsapi/protocol.proto\" (package \"MiLaboratories.Controller.Shared\", syntax proto3)\n// tslint:disable\nimport type { RpcTransport } from \"@protobuf-ts/runtime-rpc\";\nimport type { ServiceInfo } from \"@protobuf-ts/runtime-rpc\";\nimport { LS } from \"./protocol\";\nimport { stackIntercept } from \"@protobuf-ts/runtime-rpc\";\nimport type { LsAPI_List_Response } from \"./protocol\";\nimport type { LsAPI_List_Request } from \"./protocol\";\nimport type { UnaryCall } from \"@protobuf-ts/runtime-rpc\";\nimport type { RpcOptions } from \"@protobuf-ts/runtime-rpc\";\n/**\n *\n * LS provides access to lists of blobs (files, S3 objects and so on) is some storage.\n * This API allows clients to know, whan items are available in storages, that\n * the contorllers can access, providing clients with the ability to start indexation\n * on, say, existing sequence files from the corporate storage.\n *\n *\n * @generated from protobuf service MiLaboratories.Controller.Shared.LS\n */\nexport interface ILSClient {\n /**\n * @generated from protobuf rpc: List\n */\n list(input: LsAPI_List_Request, options?: RpcOptions): UnaryCall<LsAPI_List_Request, LsAPI_List_Response>;\n}\n/**\n *\n * LS provides access to lists of blobs (files, S3 objects and so on) is some storage.\n * This API allows clients to know, whan items are available in storages, that\n * the contorllers can access, providing clients with the ability to start indexation\n * on, say, existing sequence files from the corporate storage.\n *\n *\n * @generated from protobuf service MiLaboratories.Controller.Shared.LS\n */\nexport class LSClient implements ILSClient, ServiceInfo {\n typeName = LS.typeName;\n methods = LS.methods;\n options = LS.options;\n constructor(private readonly _transport: RpcTransport) {\n }\n /**\n * @generated from protobuf rpc: List\n */\n list(input: LsAPI_List_Request, options?: RpcOptions): UnaryCall<LsAPI_List_Request, LsAPI_List_Response> {\n const method = this.methods[0], opt = this._transport.mergeOptions(options);\n return stackIntercept<LsAPI_List_Request, LsAPI_List_Response>(\"unary\", this._transport, method, opt, input);\n }\n}\n"],"mappings":";;;;;;;;;;;;;;;AAqCA,IAAa,WAAb,MAAwD;CACpD,WAAWA,oBAAG;CACd,UAAUA,oBAAG;CACb,UAAUA,oBAAG;CACb,YAAY,AAAiB,YAA0B;EAA1B;;;;;CAK7B,KAAK,OAA2B,SAA0E;EACtG,MAAM,SAAS,KAAK,QAAQ,IAAI,MAAM,KAAK,WAAW,aAAa,QAAQ;AAC3E,sDAA+D,SAAS,KAAK,YAAY,QAAQ,KAAK,MAAM"}
1
+ {"version":3,"file":"protocol.client.cjs","names":["LS"],"sources":["../../../../../../../../../src/proto-grpc/github.com/milaboratory/pl/controllers/shared/grpc/lsapi/protocol.client.ts"],"sourcesContent":["// @generated by protobuf-ts 2.11.1 with parameter client_generic,optimize_speed,generate_dependencies,force_server_none\n// @generated from protobuf file \"github.com/milaboratory/pl/controllers/shared/grpc/lsapi/protocol.proto\" (package \"MiLaboratories.Controller.Shared\", syntax proto3)\n// tslint:disable\nimport type { RpcTransport } from \"@protobuf-ts/runtime-rpc\";\nimport type { ServiceInfo } from \"@protobuf-ts/runtime-rpc\";\nimport { LS } from \"./protocol\";\nimport { stackIntercept } from \"@protobuf-ts/runtime-rpc\";\nimport type { LsAPI_List_Response } from \"./protocol\";\nimport type { LsAPI_List_Request } from \"./protocol\";\nimport type { UnaryCall } from \"@protobuf-ts/runtime-rpc\";\nimport type { RpcOptions } from \"@protobuf-ts/runtime-rpc\";\n/**\n *\n * LS provides access to lists of blobs (files, S3 objects and so on) in some storage.\n * This API allows clients to know what items are available in storages that\n * the controllers can access, providing clients with the ability to start indexing,\n * say, existing sequence files from the corporate storage.\n *\n *\n * @generated from protobuf service MiLaboratories.Controller.Shared.LS\n */\nexport interface ILSClient {\n /**\n * @generated from protobuf rpc: List\n */\n list(input: LsAPI_List_Request, options?: RpcOptions): UnaryCall<LsAPI_List_Request, LsAPI_List_Response>;\n}\n/**\n *\n * LS provides access to lists of blobs (files, S3 objects and so on) in some storage.\n * This API allows clients to know what items are available in storages that\n * the controllers can access, providing clients with the ability to start indexing,\n * say, existing sequence files from the corporate storage.\n *\n *\n * @generated from protobuf service MiLaboratories.Controller.Shared.LS\n */\nexport class LSClient implements ILSClient, ServiceInfo {\n typeName = LS.typeName;\n methods = LS.methods;\n options = LS.options;\n constructor(private readonly _transport: RpcTransport) {\n }\n /**\n * @generated from protobuf rpc: List\n */\n list(input: LsAPI_List_Request, options?: RpcOptions): UnaryCall<LsAPI_List_Request, LsAPI_List_Response> {\n const method = this.methods[0], opt = this._transport.mergeOptions(options);\n return stackIntercept<LsAPI_List_Request, LsAPI_List_Response>(\"unary\", this._transport, method, opt, input);\n }\n}\n"],"mappings":";;;;;;;;;;;;;;;AAqCA,IAAa,WAAb,MAAwD;CACpD,WAAWA,oBAAG;CACd,UAAUA,oBAAG;CACb,UAAUA,oBAAG;CACb,YAAY,AAAiB,YAA0B;EAA1B;;;;;CAK7B,KAAK,OAA2B,SAA0E;EACtG,MAAM,SAAS,KAAK,QAAQ,IAAI,MAAM,KAAK,WAAW,aAAa,QAAQ;AAC3E,sDAA+D,SAAS,KAAK,YAAY,QAAQ,KAAK,MAAM"}
@@ -4,10 +4,10 @@ import { stackIntercept } from "@protobuf-ts/runtime-rpc";
4
4
  //#region src/proto-grpc/github.com/milaboratory/pl/controllers/shared/grpc/lsapi/protocol.client.ts
5
5
  /**
6
6
  *
7
- * LS provides access to lists of blobs (files, S3 objects and so on) is some storage.
8
- * This API allows clients to know, whan items are available in storages, that
9
- * the contorllers can access, providing clients with the ability to start indexation
10
- * on, say, existing sequence files from the corporate storage.
7
+ * LS provides access to lists of blobs (files, S3 objects and so on) in some storage.
8
+ * This API allows clients to know what items are available in storages that
9
+ * the controllers can access, providing clients with the ability to start indexing,
10
+ * say, existing sequence files from the corporate storage.
11
11
  *
12
12
  *
13
13
  * @generated from protobuf service MiLaboratories.Controller.Shared.LS
@@ -1 +1 @@
1
- {"version":3,"file":"protocol.client.js","names":[],"sources":["../../../../../../../../../src/proto-grpc/github.com/milaboratory/pl/controllers/shared/grpc/lsapi/protocol.client.ts"],"sourcesContent":["// @generated by protobuf-ts 2.11.1 with parameter client_generic,optimize_speed,generate_dependencies,force_server_none\n// @generated from protobuf file \"github.com/milaboratory/pl/controllers/shared/grpc/lsapi/protocol.proto\" (package \"MiLaboratories.Controller.Shared\", syntax proto3)\n// tslint:disable\nimport type { RpcTransport } from \"@protobuf-ts/runtime-rpc\";\nimport type { ServiceInfo } from \"@protobuf-ts/runtime-rpc\";\nimport { LS } from \"./protocol\";\nimport { stackIntercept } from \"@protobuf-ts/runtime-rpc\";\nimport type { LsAPI_List_Response } from \"./protocol\";\nimport type { LsAPI_List_Request } from \"./protocol\";\nimport type { UnaryCall } from \"@protobuf-ts/runtime-rpc\";\nimport type { RpcOptions } from \"@protobuf-ts/runtime-rpc\";\n/**\n *\n * LS provides access to lists of blobs (files, S3 objects and so on) is some storage.\n * This API allows clients to know, whan items are available in storages, that\n * the contorllers can access, providing clients with the ability to start indexation\n * on, say, existing sequence files from the corporate storage.\n *\n *\n * @generated from protobuf service MiLaboratories.Controller.Shared.LS\n */\nexport interface ILSClient {\n /**\n * @generated from protobuf rpc: List\n */\n list(input: LsAPI_List_Request, options?: RpcOptions): UnaryCall<LsAPI_List_Request, LsAPI_List_Response>;\n}\n/**\n *\n * LS provides access to lists of blobs (files, S3 objects and so on) is some storage.\n * This API allows clients to know, whan items are available in storages, that\n * the contorllers can access, providing clients with the ability to start indexation\n * on, say, existing sequence files from the corporate storage.\n *\n *\n * @generated from protobuf service MiLaboratories.Controller.Shared.LS\n */\nexport class LSClient implements ILSClient, ServiceInfo {\n typeName = LS.typeName;\n methods = LS.methods;\n options = LS.options;\n constructor(private readonly _transport: RpcTransport) {\n }\n /**\n * @generated from protobuf rpc: List\n */\n list(input: LsAPI_List_Request, options?: RpcOptions): UnaryCall<LsAPI_List_Request, LsAPI_List_Response> {\n const method = this.methods[0], opt = this._transport.mergeOptions(options);\n return stackIntercept<LsAPI_List_Request, LsAPI_List_Response>(\"unary\", this._transport, method, opt, input);\n }\n}\n"],"mappings":";;;;;;;;;;;;;;AAqCA,IAAa,WAAb,MAAwD;CACpD,WAAW,GAAG;CACd,UAAU,GAAG;CACb,UAAU,GAAG;CACb,YAAY,AAAiB,YAA0B;EAA1B;;;;;CAK7B,KAAK,OAA2B,SAA0E;EACtG,MAAM,SAAS,KAAK,QAAQ,IAAI,MAAM,KAAK,WAAW,aAAa,QAAQ;AAC3E,SAAO,eAAwD,SAAS,KAAK,YAAY,QAAQ,KAAK,MAAM"}
1
+ {"version":3,"file":"protocol.client.js","names":[],"sources":["../../../../../../../../../src/proto-grpc/github.com/milaboratory/pl/controllers/shared/grpc/lsapi/protocol.client.ts"],"sourcesContent":["// @generated by protobuf-ts 2.11.1 with parameter client_generic,optimize_speed,generate_dependencies,force_server_none\n// @generated from protobuf file \"github.com/milaboratory/pl/controllers/shared/grpc/lsapi/protocol.proto\" (package \"MiLaboratories.Controller.Shared\", syntax proto3)\n// tslint:disable\nimport type { RpcTransport } from \"@protobuf-ts/runtime-rpc\";\nimport type { ServiceInfo } from \"@protobuf-ts/runtime-rpc\";\nimport { LS } from \"./protocol\";\nimport { stackIntercept } from \"@protobuf-ts/runtime-rpc\";\nimport type { LsAPI_List_Response } from \"./protocol\";\nimport type { LsAPI_List_Request } from \"./protocol\";\nimport type { UnaryCall } from \"@protobuf-ts/runtime-rpc\";\nimport type { RpcOptions } from \"@protobuf-ts/runtime-rpc\";\n/**\n *\n * LS provides access to lists of blobs (files, S3 objects and so on) in some storage.\n * This API allows clients to know what items are available in storages that\n * the controllers can access, providing clients with the ability to start indexing,\n * say, existing sequence files from the corporate storage.\n *\n *\n * @generated from protobuf service MiLaboratories.Controller.Shared.LS\n */\nexport interface ILSClient {\n /**\n * @generated from protobuf rpc: List\n */\n list(input: LsAPI_List_Request, options?: RpcOptions): UnaryCall<LsAPI_List_Request, LsAPI_List_Response>;\n}\n/**\n *\n * LS provides access to lists of blobs (files, S3 objects and so on) in some storage.\n * This API allows clients to know what items are available in storages that\n * the controllers can access, providing clients with the ability to start indexing,\n * say, existing sequence files from the corporate storage.\n *\n *\n * @generated from protobuf service MiLaboratories.Controller.Shared.LS\n */\nexport class LSClient implements ILSClient, ServiceInfo {\n typeName = LS.typeName;\n methods = LS.methods;\n options = LS.options;\n constructor(private readonly _transport: RpcTransport) {\n }\n /**\n * @generated from protobuf rpc: List\n */\n list(input: LsAPI_List_Request, options?: RpcOptions): UnaryCall<LsAPI_List_Request, LsAPI_List_Response> {\n const method = this.methods[0], opt = this._transport.mergeOptions(options);\n return stackIntercept<LsAPI_List_Request, LsAPI_List_Response>(\"unary\", this._transport, method, opt, input);\n }\n}\n"],"mappings":";;;;;;;;;;;;;;AAqCA,IAAa,WAAb,MAAwD;CACpD,WAAW,GAAG;CACd,UAAU,GAAG;CACb,UAAU,GAAG;CACb,YAAY,AAAiB,YAA0B;EAA1B;;;;;CAK7B,KAAK,OAA2B,SAA0E;EACtG,MAAM,SAAS,KAAK,QAAQ,IAAI,MAAM,KAAK,WAAW,aAAa,QAAQ;AAC3E,SAAO,eAAwD,SAAS,KAAK,YAAY,QAAQ,KAAK,MAAM"}
@@ -8,53 +8,53 @@ import { BinaryReadOptions, BinaryWriteOptions, IBinaryReader, IBinaryWriter, Me
8
8
  */
9
9
  interface LsAPI_ListItem {
10
10
  /**
11
- * name of the item in storage, without any prefixes
11
+ * Name of the item in storage, without any prefixes.
12
12
  *
13
13
  * @generated from protobuf field: string name = 1
14
14
  */
15
15
  name: string;
16
16
  /**
17
- * size of item in bytes
18
- * is always zero for directories (is_dir = true)
17
+ * Size of the item in bytes.
18
+ * Is always zero for directories (is_dir = true).
19
19
  *
20
20
  * @generated from protobuf field: uint64 size = 2
21
21
  */
22
22
  size: bigint;
23
23
  /**
24
- * is_dir is true for item, that can have subitems.
24
+ * is_dir is true for an item that can have subitems.
25
25
  *
26
26
  * @generated from protobuf field: bool is_dir = 3
27
27
  */
28
28
  isDir: boolean;
29
29
  /**
30
- * full_name is the name of item absolute to storage root.
31
- * it is <directory> + <name>
30
+ * full_name is the full name of the item, relative to the storage root.
31
+ * It is <directory> + <name>.
32
32
  * The <delimiter>, used in names, is storage-specific and is NOT guaranteed to be '/'.
33
33
  *
34
34
  * @generated from protobuf field: string full_name = 10
35
35
  */
36
36
  fullName: string;
37
37
  /**
38
- * directory, the item is located in. The value here is always a prefix of name:
38
+ * The directory the item is located in. The value here is always a prefix of name:
39
39
  * name.HasPrefix(directory) is always true.
40
40
  *
41
41
  * @generated from protobuf field: string directory = 11
42
42
  */
43
43
  directory: string;
44
44
  /**
45
- * last_modified keeps the item last modification timestamp
45
+ * last_modified keeps the item's last modification timestamp.
46
46
  *
47
47
  * @generated from protobuf field: google.protobuf.Timestamp last_modified = 12
48
48
  */
49
49
  lastModified?: Timestamp;
50
50
  /**
51
- * version of item in storage.
52
- * When storage supports versioning or provides checksums for the data stored,
51
+ * Version of item in storage.
52
+ * When the storage supports versioning or provides checksums for the data stored,
53
53
  * the <version> field keeps that data.
54
- * If not - it keeps the any simple combination of item attributes, that helps to
55
- * detect if the contents of item has changed, e.g. <size>+<mtime>.
56
- * Anyway, client should not try to interpret this field, but should provide it to the Platform
57
- * in operations with given item (like BlobImportInternal) to help Platform with deduplication.
54
+ * If not, it keeps any simple combination of item attributes that helps to
55
+ * detect if the contents of the item have changed, e.g. <size>+<mtime>.
56
+ * Anyway, the client should not try to interpret this field, but should provide it to the Platform
57
+ * in operations with a given item (like BlobImportInternal) to help the Platform with deduplication.
58
58
  *
59
59
  * @generated from protobuf field: string version = 13
60
60
  */
@@ -65,7 +65,7 @@ interface LsAPI_ListItem {
65
65
  */
66
66
  interface LsAPI_List_Response {
67
67
  /**
68
- * List of the full (absolute to storage root) names of items from storage.
68
+ * List of the full (relative to storage root) names of items from storage.
69
69
  * E.g., for 'fs' storage each name will consist of names of all directories, where the
70
70
  * item is located, and the item name itself.
71
71
  * The delimiter, used in names, is storage-specific and is NOT guaranteed to be '/'.
@@ -74,7 +74,7 @@ interface LsAPI_List_Response {
74
74
  */
75
75
  items: LsAPI_ListItem[];
76
76
  /**
77
- * delimiter is path separator, used in this storage. Client can use it to parse item names into parts,
77
+ * The delimiter is the path separator used in this storage. The client can use it to parse item names into parts,
78
78
  * to extract directory names.
79
79
  *
80
80
  * @generated from protobuf field: string delimiter = 2
@@ -182,18 +182,28 @@ var LsAPI_List$Type = class extends MessageType {
182
182
  const LsAPI_List = new LsAPI_List$Type();
183
183
  var LsAPI_List_Request$Type = class extends MessageType {
184
184
  constructor() {
185
- super("MiLaboratories.Controller.Shared.LsAPI.List.Request", [{
186
- no: 1,
187
- name: "resource_id",
188
- kind: "scalar",
189
- T: 4,
190
- L: 0
191
- }, {
192
- no: 2,
193
- name: "location",
194
- kind: "scalar",
195
- T: 9
196
- }]);
185
+ super("MiLaboratories.Controller.Shared.LsAPI.List.Request", [
186
+ {
187
+ no: 1,
188
+ name: "resource_id",
189
+ kind: "scalar",
190
+ T: 4,
191
+ L: 0
192
+ },
193
+ {
194
+ no: 3,
195
+ name: "resource_signature",
196
+ kind: "scalar",
197
+ opt: true,
198
+ T: 12
199
+ },
200
+ {
201
+ no: 2,
202
+ name: "location",
203
+ kind: "scalar",
204
+ T: 9
205
+ }
206
+ ]);
197
207
  }
198
208
  create(value) {
199
209
  const message = globalThis.Object.create(this.messagePrototype);
@@ -210,6 +220,9 @@ var LsAPI_List_Request$Type = class extends MessageType {
210
220
  case 1:
211
221
  message.resourceId = reader.uint64().toBigInt();
212
222
  break;
223
+ case 3:
224
+ message.resourceSignature = reader.bytes();
225
+ break;
213
226
  case 2:
214
227
  message.location = reader.string();
215
228
  break;
@@ -225,6 +238,7 @@ var LsAPI_List_Request$Type = class extends MessageType {
225
238
  internalBinaryWrite(message, writer, options) {
226
239
  if (message.resourceId !== 0n) writer.tag(1, WireType.Varint).uint64(message.resourceId);
227
240
  if (message.location !== "") writer.tag(2, WireType.LengthDelimited).string(message.location);
241
+ if (message.resourceSignature !== void 0) writer.tag(3, WireType.LengthDelimited).bytes(message.resourceSignature);
228
242
  let u = options.writeUnknownFields;
229
243
  if (u !== false) (u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
230
244
  return writer;
@@ -1 +1 @@
1
- {"version":3,"file":"protocol.js","names":[],"sources":["../../../../../../../../../src/proto-grpc/github.com/milaboratory/pl/controllers/shared/grpc/lsapi/protocol.ts"],"sourcesContent":["// @generated by protobuf-ts 2.11.1 with parameter client_generic,optimize_speed,generate_dependencies,force_server_none\n// @generated from protobuf file \"github.com/milaboratory/pl/controllers/shared/grpc/lsapi/protocol.proto\" (package \"MiLaboratories.Controller.Shared\", syntax proto3)\n// tslint:disable\nimport { ServiceType } from \"@protobuf-ts/runtime-rpc\";\nimport { WireType } from \"@protobuf-ts/runtime\";\nimport type { BinaryWriteOptions } from \"@protobuf-ts/runtime\";\nimport type { IBinaryWriter } from \"@protobuf-ts/runtime\";\nimport type { BinaryReadOptions } from \"@protobuf-ts/runtime\";\nimport type { IBinaryReader } from \"@protobuf-ts/runtime\";\nimport { UnknownFieldHandler } from \"@protobuf-ts/runtime\";\nimport type { PartialMessage } from \"@protobuf-ts/runtime\";\nimport { reflectionMergePartial } from \"@protobuf-ts/runtime\";\nimport { MessageType } from \"@protobuf-ts/runtime\";\nimport { Timestamp } from \"../../../../../../../google/protobuf/timestamp\";\n/**\n * @generated from protobuf message MiLaboratories.Controller.Shared.LsAPI\n */\nexport interface LsAPI {\n}\n/**\n * @generated from protobuf message MiLaboratories.Controller.Shared.LsAPI.ListItem\n */\nexport interface LsAPI_ListItem {\n /**\n * name of the item in storage, without any prefixes\n *\n * @generated from protobuf field: string name = 1\n */\n name: string;\n /**\n * size of item in bytes\n * is always zero for directories (is_dir = true)\n *\n * @generated from protobuf field: uint64 size = 2\n */\n size: bigint;\n /**\n * is_dir is true for item, that can have subitems.\n *\n * @generated from protobuf field: bool is_dir = 3\n */\n isDir: boolean;\n /**\n * full_name is the name of item absolute to storage root.\n * it is <directory> + <name>\n * The <delimiter>, used in names, is storage-specific and is NOT guaranteed to be '/'.\n *\n * @generated from protobuf field: string full_name = 10\n */\n fullName: string;\n /**\n * directory, the item is located in. The value here is always a prefix of name:\n * name.HasPrefix(directory) is always true.\n *\n * @generated from protobuf field: string directory = 11\n */\n directory: string;\n /**\n * last_modified keeps the item last modification timestamp\n *\n * @generated from protobuf field: google.protobuf.Timestamp last_modified = 12\n */\n lastModified?: Timestamp;\n /**\n * version of item in storage.\n * When storage supports versioning or provides checksums for the data stored,\n * the <version> field keeps that data.\n * If not - it keeps the any simple combination of item attributes, that helps to\n * detect if the contents of item has changed, e.g. <size>+<mtime>.\n * Anyway, client should not try to interpret this field, but should provide it to the Platform\n * in operations with given item (like BlobImportInternal) to help Platform with deduplication.\n *\n * @generated from protobuf field: string version = 13\n */\n version: string;\n}\n/**\n * @generated from protobuf message MiLaboratories.Controller.Shared.LsAPI.List\n */\nexport interface LsAPI_List {\n}\n/**\n * @generated from protobuf message MiLaboratories.Controller.Shared.LsAPI.List.Request\n */\nexport interface LsAPI_List_Request {\n /**\n * resource_id of 'LS/<Storage>' resource\n *\n * @generated from protobuf field: uint64 resource_id = 1\n */\n resourceId: bigint;\n /**\n * location to list, absolute to storage root. Only items, that have <full_name> starting\n * from <location> are included into list response.\n *\n * @generated from protobuf field: string location = 2\n */\n location: string;\n}\n/**\n * @generated from protobuf message MiLaboratories.Controller.Shared.LsAPI.List.Response\n */\nexport interface LsAPI_List_Response {\n /**\n * List of the full (absolute to storage root) names of items from storage.\n * E.g., for 'fs' storage each name will consist of names of all directories, where the\n * item is located, and the item name itself.\n * The delimiter, used in names, is storage-specific and is NOT guaranteed to be '/'.\n *\n * @generated from protobuf field: repeated MiLaboratories.Controller.Shared.LsAPI.ListItem items = 1\n */\n items: LsAPI_ListItem[];\n /**\n * delimiter is path separator, used in this storage. Client can use it to parse item names into parts,\n * to extract directory names.\n *\n * @generated from protobuf field: string delimiter = 2\n */\n delimiter: string;\n}\n// @generated message type with reflection information, may provide speed optimized methods\nclass LsAPI$Type extends MessageType<LsAPI> {\n constructor() {\n super(\"MiLaboratories.Controller.Shared.LsAPI\", []);\n }\n create(value?: PartialMessage<LsAPI>): LsAPI {\n const message = globalThis.Object.create((this.messagePrototype!));\n if (value !== undefined)\n reflectionMergePartial<LsAPI>(this, message, value);\n return message;\n }\n internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: LsAPI): LsAPI {\n let message = target ?? this.create(), end = reader.pos + length;\n while (reader.pos < end) {\n let [fieldNo, wireType] = reader.tag();\n switch (fieldNo) {\n default:\n let u = options.readUnknownField;\n if (u === \"throw\")\n throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`);\n let d = reader.skip(wireType);\n if (u !== false)\n (u === true ? UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d);\n }\n }\n return message;\n }\n internalBinaryWrite(message: LsAPI, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {\n let u = options.writeUnknownFields;\n if (u !== false)\n (u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);\n return writer;\n }\n}\n/**\n * @generated MessageType for protobuf message MiLaboratories.Controller.Shared.LsAPI\n */\nexport const LsAPI = new LsAPI$Type();\n// @generated message type with reflection information, may provide speed optimized methods\nclass LsAPI_ListItem$Type extends MessageType<LsAPI_ListItem> {\n constructor() {\n super(\"MiLaboratories.Controller.Shared.LsAPI.ListItem\", [\n { no: 1, name: \"name\", kind: \"scalar\", T: 9 /*ScalarType.STRING*/ },\n { no: 2, name: \"size\", kind: \"scalar\", T: 4 /*ScalarType.UINT64*/, L: 0 /*LongType.BIGINT*/ },\n { no: 3, name: \"is_dir\", kind: \"scalar\", T: 8 /*ScalarType.BOOL*/ },\n { no: 10, name: \"full_name\", kind: \"scalar\", T: 9 /*ScalarType.STRING*/ },\n { no: 11, name: \"directory\", kind: \"scalar\", T: 9 /*ScalarType.STRING*/ },\n { no: 12, name: \"last_modified\", kind: \"message\", T: () => Timestamp },\n { no: 13, name: \"version\", kind: \"scalar\", T: 9 /*ScalarType.STRING*/ }\n ]);\n }\n create(value?: PartialMessage<LsAPI_ListItem>): LsAPI_ListItem {\n const message = globalThis.Object.create((this.messagePrototype!));\n message.name = \"\";\n message.size = 0n;\n message.isDir = false;\n message.fullName = \"\";\n message.directory = \"\";\n message.version = \"\";\n if (value !== undefined)\n reflectionMergePartial<LsAPI_ListItem>(this, message, value);\n return message;\n }\n internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: LsAPI_ListItem): LsAPI_ListItem {\n let message = target ?? this.create(), end = reader.pos + length;\n while (reader.pos < end) {\n let [fieldNo, wireType] = reader.tag();\n switch (fieldNo) {\n case /* string name */ 1:\n message.name = reader.string();\n break;\n case /* uint64 size */ 2:\n message.size = reader.uint64().toBigInt();\n break;\n case /* bool is_dir */ 3:\n message.isDir = reader.bool();\n break;\n case /* string full_name */ 10:\n message.fullName = reader.string();\n break;\n case /* string directory */ 11:\n message.directory = reader.string();\n break;\n case /* google.protobuf.Timestamp last_modified */ 12:\n message.lastModified = Timestamp.internalBinaryRead(reader, reader.uint32(), options, message.lastModified);\n break;\n case /* string version */ 13:\n message.version = reader.string();\n break;\n default:\n let u = options.readUnknownField;\n if (u === \"throw\")\n throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`);\n let d = reader.skip(wireType);\n if (u !== false)\n (u === true ? UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d);\n }\n }\n return message;\n }\n internalBinaryWrite(message: LsAPI_ListItem, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {\n /* string name = 1; */\n if (message.name !== \"\")\n writer.tag(1, WireType.LengthDelimited).string(message.name);\n /* uint64 size = 2; */\n if (message.size !== 0n)\n writer.tag(2, WireType.Varint).uint64(message.size);\n /* bool is_dir = 3; */\n if (message.isDir !== false)\n writer.tag(3, WireType.Varint).bool(message.isDir);\n /* string full_name = 10; */\n if (message.fullName !== \"\")\n writer.tag(10, WireType.LengthDelimited).string(message.fullName);\n /* string directory = 11; */\n if (message.directory !== \"\")\n writer.tag(11, WireType.LengthDelimited).string(message.directory);\n /* google.protobuf.Timestamp last_modified = 12; */\n if (message.lastModified)\n Timestamp.internalBinaryWrite(message.lastModified, writer.tag(12, WireType.LengthDelimited).fork(), options).join();\n /* string version = 13; */\n if (message.version !== \"\")\n writer.tag(13, WireType.LengthDelimited).string(message.version);\n let u = options.writeUnknownFields;\n if (u !== false)\n (u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);\n return writer;\n }\n}\n/**\n * @generated MessageType for protobuf message MiLaboratories.Controller.Shared.LsAPI.ListItem\n */\nexport const LsAPI_ListItem = new LsAPI_ListItem$Type();\n// @generated message type with reflection information, may provide speed optimized methods\nclass LsAPI_List$Type extends MessageType<LsAPI_List> {\n constructor() {\n super(\"MiLaboratories.Controller.Shared.LsAPI.List\", []);\n }\n create(value?: PartialMessage<LsAPI_List>): LsAPI_List {\n const message = globalThis.Object.create((this.messagePrototype!));\n if (value !== undefined)\n reflectionMergePartial<LsAPI_List>(this, message, value);\n return message;\n }\n internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: LsAPI_List): LsAPI_List {\n let message = target ?? this.create(), end = reader.pos + length;\n while (reader.pos < end) {\n let [fieldNo, wireType] = reader.tag();\n switch (fieldNo) {\n default:\n let u = options.readUnknownField;\n if (u === \"throw\")\n throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`);\n let d = reader.skip(wireType);\n if (u !== false)\n (u === true ? UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d);\n }\n }\n return message;\n }\n internalBinaryWrite(message: LsAPI_List, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {\n let u = options.writeUnknownFields;\n if (u !== false)\n (u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);\n return writer;\n }\n}\n/**\n * @generated MessageType for protobuf message MiLaboratories.Controller.Shared.LsAPI.List\n */\nexport const LsAPI_List = new LsAPI_List$Type();\n// @generated message type with reflection information, may provide speed optimized methods\nclass LsAPI_List_Request$Type extends MessageType<LsAPI_List_Request> {\n constructor() {\n super(\"MiLaboratories.Controller.Shared.LsAPI.List.Request\", [\n { no: 1, name: \"resource_id\", kind: \"scalar\", T: 4 /*ScalarType.UINT64*/, L: 0 /*LongType.BIGINT*/ },\n { no: 2, name: \"location\", kind: \"scalar\", T: 9 /*ScalarType.STRING*/ }\n ]);\n }\n create(value?: PartialMessage<LsAPI_List_Request>): LsAPI_List_Request {\n const message = globalThis.Object.create((this.messagePrototype!));\n message.resourceId = 0n;\n message.location = \"\";\n if (value !== undefined)\n reflectionMergePartial<LsAPI_List_Request>(this, message, value);\n return message;\n }\n internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: LsAPI_List_Request): LsAPI_List_Request {\n let message = target ?? this.create(), end = reader.pos + length;\n while (reader.pos < end) {\n let [fieldNo, wireType] = reader.tag();\n switch (fieldNo) {\n case /* uint64 resource_id */ 1:\n message.resourceId = reader.uint64().toBigInt();\n break;\n case /* string location */ 2:\n message.location = reader.string();\n break;\n default:\n let u = options.readUnknownField;\n if (u === \"throw\")\n throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`);\n let d = reader.skip(wireType);\n if (u !== false)\n (u === true ? UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d);\n }\n }\n return message;\n }\n internalBinaryWrite(message: LsAPI_List_Request, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {\n /* uint64 resource_id = 1; */\n if (message.resourceId !== 0n)\n writer.tag(1, WireType.Varint).uint64(message.resourceId);\n /* string location = 2; */\n if (message.location !== \"\")\n writer.tag(2, WireType.LengthDelimited).string(message.location);\n let u = options.writeUnknownFields;\n if (u !== false)\n (u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);\n return writer;\n }\n}\n/**\n * @generated MessageType for protobuf message MiLaboratories.Controller.Shared.LsAPI.List.Request\n */\nexport const LsAPI_List_Request = new LsAPI_List_Request$Type();\n// @generated message type with reflection information, may provide speed optimized methods\nclass LsAPI_List_Response$Type extends MessageType<LsAPI_List_Response> {\n constructor() {\n super(\"MiLaboratories.Controller.Shared.LsAPI.List.Response\", [\n { no: 1, name: \"items\", kind: \"message\", repeat: 2 /*RepeatType.UNPACKED*/, T: () => LsAPI_ListItem },\n { no: 2, name: \"delimiter\", kind: \"scalar\", T: 9 /*ScalarType.STRING*/ }\n ]);\n }\n create(value?: PartialMessage<LsAPI_List_Response>): LsAPI_List_Response {\n const message = globalThis.Object.create((this.messagePrototype!));\n message.items = [];\n message.delimiter = \"\";\n if (value !== undefined)\n reflectionMergePartial<LsAPI_List_Response>(this, message, value);\n return message;\n }\n internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: LsAPI_List_Response): LsAPI_List_Response {\n let message = target ?? this.create(), end = reader.pos + length;\n while (reader.pos < end) {\n let [fieldNo, wireType] = reader.tag();\n switch (fieldNo) {\n case /* repeated MiLaboratories.Controller.Shared.LsAPI.ListItem items */ 1:\n message.items.push(LsAPI_ListItem.internalBinaryRead(reader, reader.uint32(), options));\n break;\n case /* string delimiter */ 2:\n message.delimiter = reader.string();\n break;\n default:\n let u = options.readUnknownField;\n if (u === \"throw\")\n throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`);\n let d = reader.skip(wireType);\n if (u !== false)\n (u === true ? UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d);\n }\n }\n return message;\n }\n internalBinaryWrite(message: LsAPI_List_Response, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {\n /* repeated MiLaboratories.Controller.Shared.LsAPI.ListItem items = 1; */\n for (let i = 0; i < message.items.length; i++)\n LsAPI_ListItem.internalBinaryWrite(message.items[i], writer.tag(1, WireType.LengthDelimited).fork(), options).join();\n /* string delimiter = 2; */\n if (message.delimiter !== \"\")\n writer.tag(2, WireType.LengthDelimited).string(message.delimiter);\n let u = options.writeUnknownFields;\n if (u !== false)\n (u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);\n return writer;\n }\n}\n/**\n * @generated MessageType for protobuf message MiLaboratories.Controller.Shared.LsAPI.List.Response\n */\nexport const LsAPI_List_Response = new LsAPI_List_Response$Type();\n/**\n * @generated ServiceType for protobuf service MiLaboratories.Controller.Shared.LS\n */\nexport const LS = new ServiceType(\"MiLaboratories.Controller.Shared.L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CAAqB,CACnI,CAAC"}
1
+ {"version":3,"file":"protocol.js","names":[],"sources":["../../../../../../../../../src/proto-grpc/github.com/milaboratory/pl/controllers/shared/grpc/lsapi/protocol.ts"],"sourcesContent":["// @generated by protobuf-ts 2.11.1 with parameter client_generic,optimize_speed,generate_dependencies,force_server_none\n// @generated from protobuf file \"github.com/milaboratory/pl/controllers/shared/grpc/lsapi/protocol.proto\" (package \"MiLaboratories.Controller.Shared\", syntax proto3)\n// tslint:disable\nimport { ServiceType } from \"@protobuf-ts/runtime-rpc\";\nimport { WireType } from \"@protobuf-ts/runtime\";\nimport type { BinaryWriteOptions } from \"@protobuf-ts/runtime\";\nimport type { IBinaryWriter } from \"@protobuf-ts/runtime\";\nimport type { BinaryReadOptions } from \"@protobuf-ts/runtime\";\nimport type { IBinaryReader } from \"@protobuf-ts/runtime\";\nimport { UnknownFieldHandler } from \"@protobuf-ts/runtime\";\nimport type { PartialMessage } from \"@protobuf-ts/runtime\";\nimport { reflectionMergePartial } from \"@protobuf-ts/runtime\";\nimport { MessageType } from \"@protobuf-ts/runtime\";\nimport { Timestamp } from \"../../../../../../../google/protobuf/timestamp\";\n/**\n * @generated from protobuf message MiLaboratories.Controller.Shared.LsAPI\n */\nexport interface LsAPI {\n}\n/**\n * @generated from protobuf message MiLaboratories.Controller.Shared.LsAPI.ListItem\n */\nexport interface LsAPI_ListItem {\n /**\n * Name of the item in storage, without any prefixes.\n *\n * @generated from protobuf field: string name = 1\n */\n name: string;\n /**\n * Size of the item in bytes.\n * Is always zero for directories (is_dir = true).\n *\n * @generated from protobuf field: uint64 size = 2\n */\n size: bigint;\n /**\n * is_dir is true for an item that can have subitems.\n *\n * @generated from protobuf field: bool is_dir = 3\n */\n isDir: boolean;\n /**\n * full_name is the full name of the item, relative to the storage root.\n * It is <directory> + <name>.\n * The <delimiter>, used in names, is storage-specific and is NOT guaranteed to be '/'.\n *\n * @generated from protobuf field: string full_name = 10\n */\n fullName: string;\n /**\n * The directory the item is located in. The value here is always a prefix of name:\n * name.HasPrefix(directory) is always true.\n *\n * @generated from protobuf field: string directory = 11\n */\n directory: string;\n /**\n * last_modified keeps the item's last modification timestamp.\n *\n * @generated from protobuf field: google.protobuf.Timestamp last_modified = 12\n */\n lastModified?: Timestamp;\n /**\n * Version of item in storage.\n * When the storage supports versioning or provides checksums for the data stored,\n * the <version> field keeps that data.\n * If not, it keeps any simple combination of item attributes that helps to\n * detect if the contents of the item have changed, e.g. <size>+<mtime>.\n * Anyway, the client should not try to interpret this field, but should provide it to the Platform\n * in operations with a given item (like BlobImportInternal) to help the Platform with deduplication.\n *\n * @generated from protobuf field: string version = 13\n */\n version: string;\n}\n/**\n * @generated from protobuf message MiLaboratories.Controller.Shared.LsAPI.List\n */\nexport interface LsAPI_List {\n}\n/**\n * @generated from protobuf message MiLaboratories.Controller.Shared.LsAPI.List.Request\n */\nexport interface LsAPI_List_Request {\n /**\n * resource_id of 'LS/<Storage>' resource\n *\n * @generated from protobuf field: uint64 resource_id = 1\n */\n resourceId: bigint;\n /**\n * Signature proving the caller is authorized to access this resource.\n *\n * @generated from protobuf field: optional bytes resource_signature = 3\n */\n resourceSignature?: Uint8Array;\n /**\n * Location to list, relative to the storage root. Only items that have <full_name> starting\n * with <location> are included in the list response.\n *\n * @generated from protobuf field: string location = 2\n */\n location: string;\n}\n/**\n * @generated from protobuf message MiLaboratories.Controller.Shared.LsAPI.List.Response\n */\nexport interface LsAPI_List_Response {\n /**\n * List of the full (relative to storage root) names of items from storage.\n * E.g., for 'fs' storage each name will consist of names of all directories, where the\n * item is located, and the item name itself.\n * The delimiter, used in names, is storage-specific and is NOT guaranteed to be '/'.\n *\n * @generated from protobuf field: repeated MiLaboratories.Controller.Shared.LsAPI.ListItem items = 1\n */\n items: LsAPI_ListItem[];\n /**\n * The delimiter is the path separator used in this storage. The client can use it to parse item names into parts,\n * to extract directory names.\n *\n * @generated from protobuf field: string delimiter = 2\n */\n delimiter: string;\n}\n// @generated message type with reflection information, may provide speed optimized methods\nclass LsAPI$Type extends MessageType<LsAPI> {\n constructor() {\n super(\"MiLaboratories.Controller.Shared.LsAPI\", []);\n }\n create(value?: PartialMessage<LsAPI>): LsAPI {\n const message = globalThis.Object.create((this.messagePrototype!));\n if (value !== undefined)\n reflectionMergePartial<LsAPI>(this, message, value);\n return message;\n }\n internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: LsAPI): LsAPI {\n let message = target ?? this.create(), end = reader.pos + length;\n while (reader.pos < end) {\n let [fieldNo, wireType] = reader.tag();\n switch (fieldNo) {\n default:\n let u = options.readUnknownField;\n if (u === \"throw\")\n throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`);\n let d = reader.skip(wireType);\n if (u !== false)\n (u === true ? UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d);\n }\n }\n return message;\n }\n internalBinaryWrite(message: LsAPI, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {\n let u = options.writeUnknownFields;\n if (u !== false)\n (u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);\n return writer;\n }\n}\n/**\n * @generated MessageType for protobuf message MiLaboratories.Controller.Shared.LsAPI\n */\nexport const LsAPI = new LsAPI$Type();\n// @generated message type with reflection information, may provide speed optimized methods\nclass LsAPI_ListItem$Type extends MessageType<LsAPI_ListItem> {\n constructor() {\n super(\"MiLaboratories.Controller.Shared.LsAPI.ListItem\", [\n { no: 1, name: \"name\", kind: \"scalar\", T: 9 /*ScalarType.STRING*/ },\n { no: 2, name: \"size\", kind: \"scalar\", T: 4 /*ScalarType.UINT64*/, L: 0 /*LongType.BIGINT*/ },\n { no: 3, name: \"is_dir\", kind: \"scalar\", T: 8 /*ScalarType.BOOL*/ },\n { no: 10, name: \"full_name\", kind: \"scalar\", T: 9 /*ScalarType.STRING*/ },\n { no: 11, name: \"directory\", kind: \"scalar\", T: 9 /*ScalarType.STRING*/ },\n { no: 12, name: \"last_modified\", kind: \"message\", T: () => Timestamp },\n { no: 13, name: \"version\", kind: \"scalar\", T: 9 /*ScalarType.STRING*/ }\n ]);\n }\n create(value?: PartialMessage<LsAPI_ListItem>): LsAPI_ListItem {\n const message = globalThis.Object.create((this.messagePrototype!));\n message.name = \"\";\n message.size = 0n;\n message.isDir = false;\n message.fullName = \"\";\n message.directory = \"\";\n message.version = \"\";\n if (value !== undefined)\n reflectionMergePartial<LsAPI_ListItem>(this, message, value);\n return message;\n }\n internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: LsAPI_ListItem): LsAPI_ListItem {\n let message = target ?? this.create(), end = reader.pos + length;\n while (reader.pos < end) {\n let [fieldNo, wireType] = reader.tag();\n switch (fieldNo) {\n case /* string name */ 1:\n message.name = reader.string();\n break;\n case /* uint64 size */ 2:\n message.size = reader.uint64().toBigInt();\n break;\n case /* bool is_dir */ 3:\n message.isDir = reader.bool();\n break;\n case /* string full_name */ 10:\n message.fullName = reader.string();\n break;\n case /* string directory */ 11:\n message.directory = reader.string();\n break;\n case /* google.protobuf.Timestamp last_modified */ 12:\n message.lastModified = Timestamp.internalBinaryRead(reader, reader.uint32(), options, message.lastModified);\n break;\n case /* string version */ 13:\n message.version = reader.string();\n break;\n default:\n let u = options.readUnknownField;\n if (u === \"throw\")\n throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`);\n let d = reader.skip(wireType);\n if (u !== false)\n (u === true ? UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d);\n }\n }\n return message;\n }\n internalBinaryWrite(message: LsAPI_ListItem, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {\n /* string name = 1; */\n if (message.name !== \"\")\n writer.tag(1, WireType.LengthDelimited).string(message.name);\n /* uint64 size = 2; */\n if (message.size !== 0n)\n writer.tag(2, WireType.Varint).uint64(message.size);\n /* bool is_dir = 3; */\n if (message.isDir !== false)\n writer.tag(3, WireType.Varint).bool(message.isDir);\n /* string full_name = 10; */\n if (message.fullName !== \"\")\n writer.tag(10, WireType.LengthDelimited).string(message.fullName);\n /* string directory = 11; */\n if (message.directory !== \"\")\n writer.tag(11, WireType.LengthDelimited).string(message.directory);\n /* google.protobuf.Timestamp last_modified = 12; */\n if (message.lastModified)\n Timestamp.internalBinaryWrite(message.lastModified, writer.tag(12, WireType.LengthDelimited).fork(), options).join();\n /* string version = 13; */\n if (message.version !== \"\")\n writer.tag(13, WireType.LengthDelimited).string(message.version);\n let u = options.writeUnknownFields;\n if (u !== false)\n (u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);\n return writer;\n }\n}\n/**\n * @generated MessageType for protobuf message MiLaboratories.Controller.Shared.LsAPI.ListItem\n */\nexport const LsAPI_ListItem = new LsAPI_ListItem$Type();\n// @generated message type with reflection information, may provide speed optimized methods\nclass LsAPI_List$Type extends MessageType<LsAPI_List> {\n constructor() {\n super(\"MiLaboratories.Controller.Shared.LsAPI.List\", []);\n }\n create(value?: PartialMessage<LsAPI_List>): LsAPI_List {\n const message = globalThis.Object.create((this.messagePrototype!));\n if (value !== undefined)\n reflectionMergePartial<LsAPI_List>(this, message, value);\n return message;\n }\n internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: LsAPI_List): LsAPI_List {\n let message = target ?? this.create(), end = reader.pos + length;\n while (reader.pos < end) {\n let [fieldNo, wireType] = reader.tag();\n switch (fieldNo) {\n default:\n let u = options.readUnknownField;\n if (u === \"throw\")\n throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`);\n let d = reader.skip(wireType);\n if (u !== false)\n (u === true ? UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d);\n }\n }\n return message;\n }\n internalBinaryWrite(message: LsAPI_List, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {\n let u = options.writeUnknownFields;\n if (u !== false)\n (u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);\n return writer;\n }\n}\n/**\n * @generated MessageType for protobuf message MiLaboratories.Controller.Shared.LsAPI.List\n */\nexport const LsAPI_List = new LsAPI_List$Type();\n// @generated message type with reflection information, may provide speed optimized methods\nclass LsAPI_List_Request$Type extends MessageType<LsAPI_List_Request> {\n constructor() {\n super(\"MiLaboratories.Controller.Shared.LsAPI.List.Request\", [\n { no: 1, name: \"resource_id\", kind: \"scalar\", T: 4 /*ScalarType.UINT64*/, L: 0 /*LongType.BIGINT*/ },\n { no: 3, name: \"resource_signature\", kind: \"scalar\", opt: true, T: 12 /*ScalarType.BYTES*/ },\n { no: 2, name: \"location\", kind: \"scalar\", T: 9 /*ScalarType.STRING*/ }\n ]);\n }\n create(value?: PartialMessage<LsAPI_List_Request>): LsAPI_List_Request {\n const message = globalThis.Object.create((this.messagePrototype!));\n message.resourceId = 0n;\n message.location = \"\";\n if (value !== undefined)\n reflectionMergePartial<LsAPI_List_Request>(this, message, value);\n return message;\n }\n internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: LsAPI_List_Request): LsAPI_List_Request {\n let message = target ?? this.create(), end = reader.pos + length;\n while (reader.pos < end) {\n let [fieldNo, wireType] = reader.tag();\n switch (fieldNo) {\n case /* uint64 resource_id */ 1:\n message.resourceId = reader.uint64().toBigInt();\n break;\n case /* optional bytes resource_signature */ 3:\n message.resourceSignature = reader.bytes();\n break;\n case /* string location */ 2:\n message.location = reader.string();\n break;\n default:\n let u = options.readUnknownField;\n if (u === \"throw\")\n throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`);\n let d = reader.skip(wireType);\n if (u !== false)\n (u === true ? UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d);\n }\n }\n return message;\n }\n internalBinaryWrite(message: LsAPI_List_Request, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {\n /* uint64 resource_id = 1; */\n if (message.resourceId !== 0n)\n writer.tag(1, WireType.Varint).uint64(message.resourceId);\n /* string location = 2; */\n if (message.location !== \"\")\n writer.tag(2, WireType.LengthDelimited).string(message.location);\n /* optional bytes resource_signature = 3; */\n if (message.resourceSignature !== undefined)\n writer.tag(3, WireType.LengthDelimited).bytes(message.resourceSignature);\n let u = options.writeUnknownFields;\n if (u !== false)\n (u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);\n return writer;\n }\n}\n/**\n * @generated MessageType for protobuf message MiLaboratories.Controller.Shared.LsAPI.List.Request\n */\nexport const LsAPI_List_Request = new LsAPI_List_Request$Type();\n// @generated message type with reflection information, may provide speed optimized methods\nclass LsAPI_List_Response$Type extends MessageType<LsAPI_List_Response> {\n constructor() {\n super(\"MiLaboratories.Controller.Shared.LsAPI.List.Response\", [\n { no: 1, name: \"items\", kind: \"message\", repeat: 2 /*RepeatType.UNPACKED*/, T: () => LsAPI_ListItem },\n { no: 2, name: \"delimiter\", kind: \"scalar\", T: 9 /*ScalarType.STRING*/ }\n ]);\n }\n create(value?: PartialMessage<LsAPI_List_Response>): LsAPI_List_Response {\n const message = globalThis.Object.create((this.messagePrototype!));\n message.items = [];\n message.delimiter = \"\";\n if (value !== undefined)\n reflectionMergePartial<LsAPI_List_Response>(this, message, value);\n return message;\n }\n internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: LsAPI_List_Response): LsAPI_List_Response {\n let message = target ?? this.create(), end = reader.pos + length;\n while (reader.pos < end) {\n let [fieldNo, wireType] = reader.tag();\n switch (fieldNo) {\n case /* repeated MiLaboratories.Controller.Shared.LsAPI.ListItem items */ 1:\n message.items.push(LsAPI_ListItem.internalBinaryRead(reader, reader.uint32(), options));\n break;\n case /* string delimiter */ 2:\n message.delimiter = reader.string();\n break;\n default:\n let u = options.readUnknownField;\n if (u === \"throw\")\n throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`);\n let d = reader.skip(wireType);\n if (u !== false)\n (u === true ? UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d);\n }\n }\n return message;\n }\n internalBinaryWrite(message: LsAPI_List_Response, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {\n /* repeated MiLaboratories.Controller.Shared.LsAPI.ListItem items = 1; */\n for (let i = 0; i < message.items.length; i++)\n LsAPI_ListItem.internalBinaryWrite(message.items[i], writer.tag(1, WireType.LengthDelimited).fork(), options).join();\n /* string delimiter = 2; */\n if (message.delimiter !== \"\")\n writer.tag(2, WireType.LengthDelimited).string(message.delimiter);\n let u = options.writeUnknownFields;\n if (u !== false)\n (u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);\n return writer;\n }\n}\n/**\n * @generated MessageType for protobuf message MiLaboratories.Controller.Shared.LsAPI.List.Response\n */\nexport const LsAPI_List_Response = new LsAPI_List_Response$Type();\n/**\n * @generated ServiceType for protobuf service MiLaboratories.Controller.Shared.LS\n */\nexport const LS = new ServiceType(\"MiLaboratories.Controller.Shared.LS\", [\n { name: \"List\", options: { \"google.api.http\": { post: \"/v1/list\", body: \"*\" } }, I: LsAPI_List_Request, O: LsAPI_List_Response }\n]);\n"],"mappings":";;;;;AA+HA,IAAM,aAAN,cAAyB,YAAmB;CACxC,cAAc;AACV,QAAM,0CAA0C,EAAE,CAAC;;CAEvD,OAAO,OAAsC;EACzC,MAAM,UAAU,WAAW,OAAO,OAAQ,KAAK,iBAAmB;AAClE,MAAI,UAAU,OACV,wBAA8B,MAAM,SAAS,MAAM;AACvD,SAAO;;CAEX,mBAAmB,QAAuB,QAAgB,SAA4B,QAAuB;EACzG,IAAI,UAAU,UAAU,KAAK,QAAQ,EAAE,MAAM,OAAO,MAAM;AAC1D,SAAO,OAAO,MAAM,KAAK;GACrB,IAAI,CAAC,SAAS,YAAY,OAAO,KAAK;AACtC,WAAQ,SAAR;IACI;KACI,IAAI,IAAI,QAAQ;AAChB,SAAI,MAAM,QACN,OAAM,IAAI,WAAW,MAAM,iBAAiB,QAAQ,cAAc,SAAS,QAAQ,KAAK,WAAW;KACvG,IAAI,IAAI,OAAO,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,cAAc,SAAS,QAAQ,KAAK,WAAW;KACvG,IAAI,IAAI,OAAO,KAAK,SAAS;AAC7B,SAAI,MAAM,MACN,EAAC,MAAM,OAAO,oBAAoB,SAAS,GAAG,KAAK,UAAU,SAAS,SAAS,UAAU,EAAE;;;AAG3G,SAAO;;CAEX,oBAAoB,SAA8B,QAAuB,SAA4C;AAEjH,OAAK,IAAI,IAAI,GAAG,IAAI,QAAQ,MAAM,QAAQ,IACtC,gBAAe,oBAAoB,QAAQ,MAAM,IAAI,OAAO,IAAI,GAAG,SAAS,gBAAgB,CAAC,MAAM,EAAE,QAAQ,CAAC,MAAM;AAExH,MAAI,QAAQ,cAAc,GACtB,QAAO,IAAI,GAAG,SAAS,gBAAgB,CAAC,OAAO,QAAQ,UAAU;EACrE,IAAI,IAAI,QAAQ;AAChB,MAAI,MAAM,MACN,EAAC,KAAK,OAAO,oBAAoB,UAAU,GAAG,KAAK,UAAU,SAAS,OAAO;AACjF,SAAO;;;;;;AAMf,MAAa,sBAAsB,IAAI,0BAA0B;;;;AAIjE,MAAa,KAAK,IAAI,YAAY,uCAAuC,CACrE;CAAE,MAAM;CAAQ,SAAS,EAAE,mBAAmB;EAAE,MAAM;EAAY,MAAM;EAAK,EAAE;CAAE,GAAG;CAAoB,GAAG;CAAqB,CACnI,CAAC"}
@@ -169,6 +169,12 @@ var ProgressAPI_GetStatus_Request$Type = class extends _protobuf_ts_runtime.Mess
169
169
  kind: "scalar",
170
170
  T: 4,
171
171
  L: 0
172
+ }, {
173
+ no: 2,
174
+ name: "resource_signature",
175
+ kind: "scalar",
176
+ opt: true,
177
+ T: 12
172
178
  }]);
173
179
  }
174
180
  create(value) {
@@ -185,6 +191,9 @@ var ProgressAPI_GetStatus_Request$Type = class extends _protobuf_ts_runtime.Mess
185
191
  case 1:
186
192
  message.resourceId = reader.uint64().toBigInt();
187
193
  break;
194
+ case 2:
195
+ message.resourceSignature = reader.bytes();
196
+ break;
188
197
  default:
189
198
  let u = options.readUnknownField;
190
199
  if (u === "throw") throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`);
@@ -196,6 +205,7 @@ var ProgressAPI_GetStatus_Request$Type = class extends _protobuf_ts_runtime.Mess
196
205
  }
197
206
  internalBinaryWrite(message, writer, options) {
198
207
  if (message.resourceId !== 0n) writer.tag(1, _protobuf_ts_runtime.WireType.Varint).uint64(message.resourceId);
208
+ if (message.resourceSignature !== void 0) writer.tag(2, _protobuf_ts_runtime.WireType.LengthDelimited).bytes(message.resourceSignature);
199
209
  let u = options.writeUnknownFields;
200
210
  if (u !== false) (u == true ? _protobuf_ts_runtime.UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
201
211
  return writer;
@@ -282,18 +292,28 @@ var ProgressAPI_RealtimeStatus$Type = class extends _protobuf_ts_runtime.Message
282
292
  const ProgressAPI_RealtimeStatus = new ProgressAPI_RealtimeStatus$Type();
283
293
  var ProgressAPI_RealtimeStatus_Request$Type = class extends _protobuf_ts_runtime.MessageType {
284
294
  constructor() {
285
- super("MiLaboratories.Controller.Shared.ProgressAPI.RealtimeStatus.Request", [{
286
- no: 1,
287
- name: "resource_id",
288
- kind: "scalar",
289
- T: 4,
290
- L: 0
291
- }, {
292
- no: 2,
293
- name: "update_interval",
294
- kind: "message",
295
- T: () => require_duration.Duration
296
- }]);
295
+ super("MiLaboratories.Controller.Shared.ProgressAPI.RealtimeStatus.Request", [
296
+ {
297
+ no: 1,
298
+ name: "resource_id",
299
+ kind: "scalar",
300
+ T: 4,
301
+ L: 0
302
+ },
303
+ {
304
+ no: 3,
305
+ name: "resource_signature",
306
+ kind: "scalar",
307
+ opt: true,
308
+ T: 12
309
+ },
310
+ {
311
+ no: 2,
312
+ name: "update_interval",
313
+ kind: "message",
314
+ T: () => require_duration.Duration
315
+ }
316
+ ]);
297
317
  }
298
318
  create(value) {
299
319
  const message = globalThis.Object.create(this.messagePrototype);
@@ -309,6 +329,9 @@ var ProgressAPI_RealtimeStatus_Request$Type = class extends _protobuf_ts_runtime
309
329
  case 1:
310
330
  message.resourceId = reader.uint64().toBigInt();
311
331
  break;
332
+ case 3:
333
+ message.resourceSignature = reader.bytes();
334
+ break;
312
335
  case 2:
313
336
  message.updateInterval = require_duration.Duration.internalBinaryRead(reader, reader.uint32(), options, message.updateInterval);
314
337
  break;
@@ -324,6 +347,7 @@ var ProgressAPI_RealtimeStatus_Request$Type = class extends _protobuf_ts_runtime
324
347
  internalBinaryWrite(message, writer, options) {
325
348
  if (message.resourceId !== 0n) writer.tag(1, _protobuf_ts_runtime.WireType.Varint).uint64(message.resourceId);
326
349
  if (message.updateInterval) require_duration.Duration.internalBinaryWrite(message.updateInterval, writer.tag(2, _protobuf_ts_runtime.WireType.LengthDelimited).fork(), options).join();
350
+ if (message.resourceSignature !== void 0) writer.tag(3, _protobuf_ts_runtime.WireType.LengthDelimited).bytes(message.resourceSignature);
327
351
  let u = options.writeUnknownFields;
328
352
  if (u !== false) (u == true ? _protobuf_ts_runtime.UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
329
353
  return writer;