@milaboratories/pl-drivers 1.16.0 → 1.16.2
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.
- package/dist/clients/constructors.cjs.map +1 -1
- package/dist/clients/constructors.js.map +1 -1
- package/dist/clients/crc32c.cjs.map +1 -1
- package/dist/clients/crc32c.js.map +1 -1
- package/dist/clients/download.cjs +56 -5
- package/dist/clients/download.cjs.map +1 -1
- package/dist/clients/download.d.ts +13 -1
- package/dist/clients/download.d.ts.map +1 -1
- package/dist/clients/download.js +53 -2
- package/dist/clients/download.js.map +1 -1
- package/dist/clients/download_url_cache.cjs +3 -1
- package/dist/clients/download_url_cache.cjs.map +1 -1
- package/dist/clients/download_url_cache.js +2 -1
- package/dist/clients/download_url_cache.js.map +1 -1
- package/dist/clients/logs.cjs +2 -1
- package/dist/clients/logs.cjs.map +1 -1
- package/dist/clients/logs.d.ts.map +1 -1
- package/dist/clients/logs.js +2 -0
- package/dist/clients/logs.js.map +1 -1
- package/dist/clients/ls_api.cjs +1 -1
- package/dist/clients/ls_api.cjs.map +1 -1
- package/dist/clients/ls_api.d.ts.map +1 -1
- package/dist/clients/ls_api.js +1 -0
- package/dist/clients/ls_api.js.map +1 -1
- package/dist/clients/progress.cjs +2 -1
- package/dist/clients/progress.cjs.map +1 -1
- package/dist/clients/progress.d.ts.map +1 -1
- package/dist/clients/progress.js +2 -0
- package/dist/clients/progress.js.map +1 -1
- package/dist/clients/upload.cjs +7 -5
- package/dist/clients/upload.cjs.map +1 -1
- package/dist/clients/upload.d.ts.map +1 -1
- package/dist/clients/upload.js +6 -4
- package/dist/clients/upload.js.map +1 -1
- package/dist/drivers/download_blob/blob_key.cjs +1 -1
- package/dist/drivers/download_blob/blob_key.cjs.map +1 -1
- package/dist/drivers/download_blob/blob_key.js.map +1 -1
- package/dist/drivers/download_blob/download_blob.cjs +36 -7
- package/dist/drivers/download_blob/download_blob.cjs.map +1 -1
- package/dist/drivers/download_blob/download_blob.d.ts +9 -1
- package/dist/drivers/download_blob/download_blob.d.ts.map +1 -1
- package/dist/drivers/download_blob/download_blob.js +30 -1
- package/dist/drivers/download_blob/download_blob.js.map +1 -1
- package/dist/drivers/download_blob/download_blob_task.cjs +9 -3
- package/dist/drivers/download_blob/download_blob_task.cjs.map +1 -1
- package/dist/drivers/download_blob/download_blob_task.js +6 -1
- package/dist/drivers/download_blob/download_blob_task.js.map +1 -1
- package/dist/drivers/download_blob/sparse_cache/cache.cjs +9 -1
- package/dist/drivers/download_blob/sparse_cache/cache.cjs.map +1 -1
- package/dist/drivers/download_blob/sparse_cache/cache.js +8 -0
- package/dist/drivers/download_blob/sparse_cache/cache.js.map +1 -1
- package/dist/drivers/download_blob/sparse_cache/file.cjs +2 -1
- package/dist/drivers/download_blob/sparse_cache/file.cjs.map +1 -1
- package/dist/drivers/download_blob/sparse_cache/file.js +1 -1
- package/dist/drivers/download_blob/sparse_cache/file.js.map +1 -1
- package/dist/drivers/download_blob/sparse_cache/ranges.cjs +3 -1
- package/dist/drivers/download_blob/sparse_cache/ranges.cjs.map +1 -1
- package/dist/drivers/download_blob/sparse_cache/ranges.js +1 -1
- package/dist/drivers/download_blob/sparse_cache/ranges.js.map +1 -1
- package/dist/drivers/download_blob_url/driver.cjs +6 -1
- package/dist/drivers/download_blob_url/driver.cjs.map +1 -1
- package/dist/drivers/download_blob_url/driver.d.ts.map +1 -1
- package/dist/drivers/download_blob_url/driver.js +5 -0
- package/dist/drivers/download_blob_url/driver.js.map +1 -1
- package/dist/drivers/download_blob_url/driver_id.cjs +0 -1
- package/dist/drivers/download_blob_url/driver_id.cjs.map +1 -1
- package/dist/drivers/download_blob_url/driver_id.js.map +1 -1
- package/dist/drivers/download_blob_url/snapshot.cjs +0 -1
- package/dist/drivers/download_blob_url/snapshot.cjs.map +1 -1
- package/dist/drivers/download_blob_url/snapshot.d.ts +1 -2
- package/dist/drivers/download_blob_url/snapshot.d.ts.map +1 -1
- package/dist/drivers/download_blob_url/snapshot.js.map +1 -1
- package/dist/drivers/download_blob_url/task.cjs +14 -6
- package/dist/drivers/download_blob_url/task.cjs.map +1 -1
- package/dist/drivers/download_blob_url/task.d.ts +1 -1
- package/dist/drivers/download_blob_url/task.d.ts.map +1 -1
- package/dist/drivers/download_blob_url/task.js +8 -1
- package/dist/drivers/download_blob_url/task.js.map +1 -1
- package/dist/drivers/download_url/driver.cjs +41 -19
- package/dist/drivers/download_url/driver.cjs.map +1 -1
- package/dist/drivers/download_url/driver.d.ts +10 -5
- package/dist/drivers/download_url/driver.d.ts.map +1 -1
- package/dist/drivers/download_url/driver.js +40 -18
- package/dist/drivers/download_url/driver.js.map +1 -1
- package/dist/drivers/download_url/task.cjs +39 -23
- package/dist/drivers/download_url/task.cjs.map +1 -1
- package/dist/drivers/download_url/task.d.ts +20 -6
- package/dist/drivers/download_url/task.d.ts.map +1 -1
- package/dist/drivers/download_url/task.js +36 -20
- package/dist/drivers/download_url/task.js.map +1 -1
- package/dist/drivers/helpers/download_local_handle.cjs.map +1 -1
- package/dist/drivers/helpers/download_local_handle.js.map +1 -1
- package/dist/drivers/helpers/download_remote_handle.cjs +0 -1
- package/dist/drivers/helpers/download_remote_handle.cjs.map +1 -1
- package/dist/drivers/helpers/download_remote_handle.js.map +1 -1
- package/dist/drivers/helpers/files_cache.cjs +1 -1
- package/dist/drivers/helpers/files_cache.cjs.map +1 -1
- package/dist/drivers/helpers/files_cache.js +1 -0
- package/dist/drivers/helpers/files_cache.js.map +1 -1
- package/dist/drivers/helpers/helpers.cjs +1 -0
- package/dist/drivers/helpers/helpers.cjs.map +1 -1
- package/dist/drivers/helpers/helpers.d.ts.map +1 -1
- package/dist/drivers/helpers/helpers.js +1 -0
- package/dist/drivers/helpers/helpers.js.map +1 -1
- package/dist/drivers/helpers/logs_handle.cjs +3 -1
- package/dist/drivers/helpers/logs_handle.cjs.map +1 -1
- package/dist/drivers/helpers/logs_handle.js +1 -1
- package/dist/drivers/helpers/logs_handle.js.map +1 -1
- package/dist/drivers/helpers/ls_remote_import_handle.cjs.map +1 -1
- package/dist/drivers/helpers/ls_remote_import_handle.js.map +1 -1
- package/dist/drivers/helpers/ls_storage_entry.cjs +2 -1
- package/dist/drivers/helpers/ls_storage_entry.cjs.map +1 -1
- package/dist/drivers/helpers/ls_storage_entry.js +1 -1
- package/dist/drivers/helpers/ls_storage_entry.js.map +1 -1
- package/dist/drivers/helpers/polling_ops.d.ts.map +1 -1
- package/dist/drivers/helpers/read_file.cjs +2 -2
- package/dist/drivers/helpers/read_file.cjs.map +1 -1
- package/dist/drivers/helpers/read_file.js.map +1 -1
- package/dist/drivers/logs.cjs +3 -1
- package/dist/drivers/logs.cjs.map +1 -1
- package/dist/drivers/logs.js +3 -0
- package/dist/drivers/logs.js.map +1 -1
- package/dist/drivers/logs_stream.cjs +8 -1
- package/dist/drivers/logs_stream.cjs.map +1 -1
- package/dist/drivers/logs_stream.d.ts.map +1 -1
- package/dist/drivers/logs_stream.js +8 -0
- package/dist/drivers/logs_stream.js.map +1 -1
- package/dist/drivers/ls.cjs +10 -3
- package/dist/drivers/ls.cjs.map +1 -1
- package/dist/drivers/ls.d.ts.map +1 -1
- package/dist/drivers/ls.js +8 -1
- package/dist/drivers/ls.js.map +1 -1
- package/dist/drivers/types.cjs +10 -1
- package/dist/drivers/types.cjs.map +1 -1
- package/dist/drivers/types.d.ts +3 -4
- package/dist/drivers/types.d.ts.map +1 -1
- package/dist/drivers/types.js +10 -0
- package/dist/drivers/types.js.map +1 -1
- package/dist/drivers/upload.cjs +5 -1
- package/dist/drivers/upload.cjs.map +1 -1
- package/dist/drivers/upload.d.ts.map +1 -1
- package/dist/drivers/upload.js +5 -0
- package/dist/drivers/upload.js.map +1 -1
- package/dist/drivers/upload_task.cjs +6 -1
- package/dist/drivers/upload_task.cjs.map +1 -1
- package/dist/drivers/upload_task.d.ts.map +1 -1
- package/dist/drivers/upload_task.js +5 -0
- package/dist/drivers/upload_task.js.map +1 -1
- package/dist/drivers/urls/url.cjs +1 -1
- package/dist/drivers/urls/url.cjs.map +1 -1
- package/dist/drivers/urls/url.js.map +1 -1
- package/dist/drivers/virtual_storages.cjs +3 -3
- package/dist/drivers/virtual_storages.cjs.map +1 -1
- package/dist/drivers/virtual_storages.d.ts.map +1 -1
- package/dist/drivers/virtual_storages.js.map +1 -1
- package/dist/helpers/download.cjs +1 -1
- package/dist/helpers/download.cjs.map +1 -1
- package/dist/helpers/download.d.ts.map +1 -1
- package/dist/helpers/download.js +1 -0
- package/dist/helpers/download.js.map +1 -1
- package/dist/helpers/download_errors.cjs.map +1 -1
- package/dist/helpers/download_errors.d.ts.map +1 -1
- package/dist/helpers/download_errors.js.map +1 -1
- package/dist/helpers/validate.cjs +1 -1
- package/dist/helpers/validate.cjs.map +1 -1
- package/dist/helpers/validate.d.ts.map +1 -1
- package/dist/helpers/validate.js.map +1 -1
- package/dist/proto-grpc/github.com/milaboratory/pl/controllers/shared/grpc/downloadapi/protocol.cjs +4 -2
- package/dist/proto-grpc/github.com/milaboratory/pl/controllers/shared/grpc/downloadapi/protocol.cjs.map +1 -1
- package/dist/proto-grpc/github.com/milaboratory/pl/controllers/shared/grpc/downloadapi/protocol.client.cjs +1 -1
- package/dist/proto-grpc/github.com/milaboratory/pl/controllers/shared/grpc/downloadapi/protocol.client.cjs.map +1 -1
- package/dist/proto-grpc/github.com/milaboratory/pl/controllers/shared/grpc/downloadapi/protocol.client.d.ts +3 -5
- package/dist/proto-grpc/github.com/milaboratory/pl/controllers/shared/grpc/downloadapi/protocol.client.d.ts.map +1 -1
- package/dist/proto-grpc/github.com/milaboratory/pl/controllers/shared/grpc/downloadapi/protocol.client.js +1 -0
- package/dist/proto-grpc/github.com/milaboratory/pl/controllers/shared/grpc/downloadapi/protocol.client.js.map +1 -1
- package/dist/proto-grpc/github.com/milaboratory/pl/controllers/shared/grpc/downloadapi/protocol.d.ts +1 -1
- package/dist/proto-grpc/github.com/milaboratory/pl/controllers/shared/grpc/downloadapi/protocol.d.ts.map +1 -1
- package/dist/proto-grpc/github.com/milaboratory/pl/controllers/shared/grpc/downloadapi/protocol.js +7 -3
- package/dist/proto-grpc/github.com/milaboratory/pl/controllers/shared/grpc/downloadapi/protocol.js.map +1 -1
- package/dist/proto-grpc/github.com/milaboratory/pl/controllers/shared/grpc/lsapi/protocol.cjs +4 -2
- package/dist/proto-grpc/github.com/milaboratory/pl/controllers/shared/grpc/lsapi/protocol.cjs.map +1 -1
- package/dist/proto-grpc/github.com/milaboratory/pl/controllers/shared/grpc/lsapi/protocol.client.cjs +1 -1
- package/dist/proto-grpc/github.com/milaboratory/pl/controllers/shared/grpc/lsapi/protocol.client.cjs.map +1 -1
- package/dist/proto-grpc/github.com/milaboratory/pl/controllers/shared/grpc/lsapi/protocol.client.js +1 -0
- package/dist/proto-grpc/github.com/milaboratory/pl/controllers/shared/grpc/lsapi/protocol.client.js.map +1 -1
- package/dist/proto-grpc/github.com/milaboratory/pl/controllers/shared/grpc/lsapi/protocol.d.ts +1 -1
- package/dist/proto-grpc/github.com/milaboratory/pl/controllers/shared/grpc/lsapi/protocol.d.ts.map +1 -1
- package/dist/proto-grpc/github.com/milaboratory/pl/controllers/shared/grpc/lsapi/protocol.js +7 -3
- package/dist/proto-grpc/github.com/milaboratory/pl/controllers/shared/grpc/lsapi/protocol.js.map +1 -1
- package/dist/proto-grpc/github.com/milaboratory/pl/controllers/shared/grpc/progressapi/protocol.cjs +7 -3
- package/dist/proto-grpc/github.com/milaboratory/pl/controllers/shared/grpc/progressapi/protocol.cjs.map +1 -1
- package/dist/proto-grpc/github.com/milaboratory/pl/controllers/shared/grpc/progressapi/protocol.client.cjs +1 -1
- package/dist/proto-grpc/github.com/milaboratory/pl/controllers/shared/grpc/progressapi/protocol.client.cjs.map +1 -1
- package/dist/proto-grpc/github.com/milaboratory/pl/controllers/shared/grpc/progressapi/protocol.client.d.ts +3 -5
- package/dist/proto-grpc/github.com/milaboratory/pl/controllers/shared/grpc/progressapi/protocol.client.d.ts.map +1 -1
- package/dist/proto-grpc/github.com/milaboratory/pl/controllers/shared/grpc/progressapi/protocol.client.js +1 -0
- package/dist/proto-grpc/github.com/milaboratory/pl/controllers/shared/grpc/progressapi/protocol.client.js.map +1 -1
- package/dist/proto-grpc/github.com/milaboratory/pl/controllers/shared/grpc/progressapi/protocol.d.ts +1 -1
- package/dist/proto-grpc/github.com/milaboratory/pl/controllers/shared/grpc/progressapi/protocol.d.ts.map +1 -1
- package/dist/proto-grpc/github.com/milaboratory/pl/controllers/shared/grpc/progressapi/protocol.js +3 -3
- package/dist/proto-grpc/github.com/milaboratory/pl/controllers/shared/grpc/progressapi/protocol.js.map +1 -1
- package/dist/proto-grpc/github.com/milaboratory/pl/controllers/shared/grpc/streamingapi/protocol.cjs +8 -5
- package/dist/proto-grpc/github.com/milaboratory/pl/controllers/shared/grpc/streamingapi/protocol.cjs.map +1 -1
- package/dist/proto-grpc/github.com/milaboratory/pl/controllers/shared/grpc/streamingapi/protocol.client.cjs +1 -1
- package/dist/proto-grpc/github.com/milaboratory/pl/controllers/shared/grpc/streamingapi/protocol.client.cjs.map +1 -1
- package/dist/proto-grpc/github.com/milaboratory/pl/controllers/shared/grpc/streamingapi/protocol.client.d.ts +3 -5
- package/dist/proto-grpc/github.com/milaboratory/pl/controllers/shared/grpc/streamingapi/protocol.client.d.ts.map +1 -1
- package/dist/proto-grpc/github.com/milaboratory/pl/controllers/shared/grpc/streamingapi/protocol.client.js +1 -0
- package/dist/proto-grpc/github.com/milaboratory/pl/controllers/shared/grpc/streamingapi/protocol.client.js.map +1 -1
- package/dist/proto-grpc/github.com/milaboratory/pl/controllers/shared/grpc/streamingapi/protocol.d.ts.map +1 -1
- package/dist/proto-grpc/github.com/milaboratory/pl/controllers/shared/grpc/streamingapi/protocol.js +5 -5
- package/dist/proto-grpc/github.com/milaboratory/pl/controllers/shared/grpc/streamingapi/protocol.js.map +1 -1
- package/dist/proto-grpc/github.com/milaboratory/pl/controllers/shared/grpc/uploadapi/protocol.cjs +17 -7
- package/dist/proto-grpc/github.com/milaboratory/pl/controllers/shared/grpc/uploadapi/protocol.cjs.map +1 -1
- package/dist/proto-grpc/github.com/milaboratory/pl/controllers/shared/grpc/uploadapi/protocol.client.cjs +1 -1
- package/dist/proto-grpc/github.com/milaboratory/pl/controllers/shared/grpc/uploadapi/protocol.client.cjs.map +1 -1
- package/dist/proto-grpc/github.com/milaboratory/pl/controllers/shared/grpc/uploadapi/protocol.client.js +1 -0
- package/dist/proto-grpc/github.com/milaboratory/pl/controllers/shared/grpc/uploadapi/protocol.client.js.map +1 -1
- package/dist/proto-grpc/github.com/milaboratory/pl/controllers/shared/grpc/uploadapi/protocol.d.ts.map +1 -1
- package/dist/proto-grpc/github.com/milaboratory/pl/controllers/shared/grpc/uploadapi/protocol.js +7 -7
- package/dist/proto-grpc/github.com/milaboratory/pl/controllers/shared/grpc/uploadapi/protocol.js.map +1 -1
- package/dist/proto-grpc/google/protobuf/duration.cjs +0 -1
- package/dist/proto-grpc/google/protobuf/duration.cjs.map +1 -1
- package/dist/proto-grpc/google/protobuf/duration.d.ts.map +1 -1
- package/dist/proto-grpc/google/protobuf/duration.js.map +1 -1
- package/dist/proto-grpc/google/protobuf/timestamp.cjs +0 -1
- package/dist/proto-grpc/google/protobuf/timestamp.cjs.map +1 -1
- package/dist/proto-grpc/google/protobuf/timestamp.d.ts.map +1 -1
- package/dist/proto-grpc/google/protobuf/timestamp.js.map +1 -1
- package/dist/proto-rest/downloadapi.d.ts +1 -1
- package/dist/proto-rest/downloadapi.d.ts.map +1 -1
- package/dist/proto-rest/index.d.ts +1 -1
- package/dist/proto-rest/index.d.ts.map +1 -1
- package/dist/proto-rest/progressapi.d.ts +1 -1
- package/dist/proto-rest/progressapi.d.ts.map +1 -1
- package/dist/proto-rest/streamingapi.d.ts +1 -1
- package/dist/proto-rest/streamingapi.d.ts.map +1 -1
- package/package.json +7 -7
- package/src/clients/download.ts +71 -3
- package/src/drivers/download_blob/download_blob.ts +30 -1
- package/src/drivers/download_url/driver.ts +44 -19
- package/src/drivers/download_url/get_local_tgz.test.ts +106 -0
- package/src/drivers/download_url/task.ts +53 -30
package/dist/proto-grpc/github.com/milaboratory/pl/controllers/shared/grpc/progressapi/protocol.js
CHANGED
|
@@ -171,7 +171,7 @@ var ProgressAPI_GetStatus_Request$Type = class extends MessageType {
|
|
|
171
171
|
create(value) {
|
|
172
172
|
const message = globalThis.Object.create(this.messagePrototype);
|
|
173
173
|
message.resourceId = 0n;
|
|
174
|
-
message.resourceSignature = new Uint8Array(0);
|
|
174
|
+
message.resourceSignature = /* @__PURE__ */ new Uint8Array(0);
|
|
175
175
|
if (value !== void 0) reflectionMergePartial(this, message, value);
|
|
176
176
|
return message;
|
|
177
177
|
}
|
|
@@ -306,7 +306,7 @@ var ProgressAPI_RealtimeStatus_Request$Type = class extends MessageType {
|
|
|
306
306
|
create(value) {
|
|
307
307
|
const message = globalThis.Object.create(this.messagePrototype);
|
|
308
308
|
message.resourceId = 0n;
|
|
309
|
-
message.resourceSignature = new Uint8Array(0);
|
|
309
|
+
message.resourceSignature = /* @__PURE__ */ new Uint8Array(0);
|
|
310
310
|
if (value !== void 0) reflectionMergePartial(this, message, value);
|
|
311
311
|
return message;
|
|
312
312
|
}
|
|
@@ -410,6 +410,6 @@ const Progress = new ServiceType("MiLaboratories.Controller.Shared.Progress", [{
|
|
|
410
410
|
O: ProgressAPI_RealtimeStatus_Response
|
|
411
411
|
}]);
|
|
412
412
|
//#endregion
|
|
413
|
-
export { Progress };
|
|
413
|
+
export { Progress, ProgressAPI_GetStatus_Request, ProgressAPI_GetStatus_Response, ProgressAPI_RealtimeStatus_Request, ProgressAPI_RealtimeStatus_Response, ProgressAPI_Report };
|
|
414
414
|
|
|
415
415
|
//# sourceMappingURL=protocol.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"protocol.js","names":[],"sources":["../../../../../../../../../src/proto-grpc/github.com/milaboratory/pl/controllers/shared/grpc/progressapi/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/progressapi/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 { Duration } from \"../../../../../../../google/protobuf/duration\";\n/**\n * @generated from protobuf message MiLaboratories.Controller.Shared.ProgressAPI\n */\nexport interface ProgressAPI {\n}\n/**\n * @generated from protobuf message MiLaboratories.Controller.Shared.ProgressAPI.Report\n */\nexport interface ProgressAPI_Report {\n /**\n * @generated from protobuf field: float progress = 1\n */\n progress: number;\n /**\n * @generated from protobuf field: uint64 bytes_processed = 2\n */\n bytesProcessed: bigint;\n /**\n * @generated from protobuf field: uint64 bytes_total = 3\n */\n bytesTotal: bigint;\n /**\n * @generated from protobuf field: bool done = 4\n */\n done: boolean;\n /**\n * Name of current progress stage (if any)\n *\n * @generated from protobuf field: string name = 5\n */\n name: string;\n}\n/**\n * @generated from protobuf message MiLaboratories.Controller.Shared.ProgressAPI.GetStatus\n */\nexport interface ProgressAPI_GetStatus {\n}\n/**\n * @generated from protobuf message MiLaboratories.Controller.Shared.ProgressAPI.GetStatus.Request\n */\nexport interface ProgressAPI_GetStatus_Request {\n /**\n * @generated from protobuf field: uint64 resource_id = 1\n */\n resourceId: bigint;\n /**\n * @generated from protobuf field: bytes resource_signature = 2\n */\n resourceSignature: Uint8Array;\n}\n/**\n * @generated from protobuf message MiLaboratories.Controller.Shared.ProgressAPI.GetStatus.Response\n */\nexport interface ProgressAPI_GetStatus_Response {\n /**\n * @generated from protobuf field: MiLaboratories.Controller.Shared.ProgressAPI.Report report = 1\n */\n report?: ProgressAPI_Report;\n}\n/**\n * @generated from protobuf message MiLaboratories.Controller.Shared.ProgressAPI.RealtimeStatus\n */\nexport interface ProgressAPI_RealtimeStatus {\n}\n/**\n * @generated from protobuf message MiLaboratories.Controller.Shared.ProgressAPI.RealtimeStatus.Request\n */\nexport interface ProgressAPI_RealtimeStatus_Request {\n /**\n * @generated from protobuf field: uint64 resource_id = 1\n */\n resourceId: bigint;\n /**\n * @generated from protobuf field: bytes resource_signature = 3\n */\n resourceSignature: Uint8Array;\n /**\n * @generated from protobuf field: google.protobuf.Duration update_interval = 2\n */\n updateInterval?: Duration;\n}\n/**\n * @generated from protobuf message MiLaboratories.Controller.Shared.ProgressAPI.RealtimeStatus.Response\n */\nexport interface ProgressAPI_RealtimeStatus_Response {\n /**\n * @generated from protobuf field: MiLaboratories.Controller.Shared.ProgressAPI.Report report = 1\n */\n report?: ProgressAPI_Report;\n}\n// @generated message type with reflection information, may provide speed optimized methods\nclass ProgressAPI$Type extends MessageType<ProgressAPI> {\n constructor() {\n super(\"MiLaboratories.Controller.Shared.ProgressAPI\", []);\n }\n create(value?: PartialMessage<ProgressAPI>): ProgressAPI {\n const message = globalThis.Object.create((this.messagePrototype!));\n if (value !== undefined)\n reflectionMergePartial<ProgressAPI>(this, message, value);\n return message;\n }\n internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: ProgressAPI): ProgressAPI {\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: ProgressAPI, 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.ProgressAPI\n */\nexport const ProgressAPI = new ProgressAPI$Type();\n// @generated message type with reflection information, may provide speed optimized methods\nclass ProgressAPI_Report$Type extends MessageType<ProgressAPI_Report> {\n constructor() {\n super(\"MiLaboratories.Controller.Shared.ProgressAPI.Report\", [\n { no: 1, name: \"progress\", kind: \"scalar\", T: 2 /*ScalarType.FLOAT*/ },\n { no: 2, name: \"bytes_processed\", kind: \"scalar\", T: 4 /*ScalarType.UINT64*/, L: 0 /*LongType.BIGINT*/ },\n { no: 3, name: \"bytes_total\", kind: \"scalar\", T: 4 /*ScalarType.UINT64*/, L: 0 /*LongType.BIGINT*/ },\n { no: 4, name: \"done\", kind: \"scalar\", T: 8 /*ScalarType.BOOL*/ },\n { no: 5, name: \"name\", kind: \"scalar\", T: 9 /*ScalarType.STRING*/ }\n ]);\n }\n create(value?: PartialMessage<ProgressAPI_Report>): ProgressAPI_Report {\n const message = globalThis.Object.create((this.messagePrototype!));\n message.progress = 0;\n message.bytesProcessed = 0n;\n message.bytesTotal = 0n;\n message.done = false;\n message.name = \"\";\n if (value !== undefined)\n reflectionMergePartial<ProgressAPI_Report>(this, message, value);\n return message;\n }\n internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: ProgressAPI_Report): ProgressAPI_Report {\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 /* float progress */ 1:\n message.progress = reader.float();\n break;\n case /* uint64 bytes_processed */ 2:\n message.bytesProcessed = reader.uint64().toBigInt();\n break;\n case /* uint64 bytes_total */ 3:\n message.bytesTotal = reader.uint64().toBigInt();\n break;\n case /* bool done */ 4:\n message.done = reader.bool();\n break;\n case /* string name */ 5:\n message.name = 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: ProgressAPI_Report, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {\n /* float progress = 1; */\n if (message.progress !== 0)\n writer.tag(1, WireType.Bit32).float(message.progress);\n /* uint64 bytes_processed = 2; */\n if (message.bytesProcessed !== 0n)\n writer.tag(2, WireType.Varint).uint64(message.bytesProcessed);\n /* uint64 bytes_total = 3; */\n if (message.bytesTotal !== 0n)\n writer.tag(3, WireType.Varint).uint64(message.bytesTotal);\n /* bool done = 4; */\n if (message.done !== false)\n writer.tag(4, WireType.Varint).bool(message.done);\n /* string name = 5; */\n if (message.name !== \"\")\n writer.tag(5, WireType.LengthDelimited).string(message.name);\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.ProgressAPI.Report\n */\nexport const ProgressAPI_Report = new ProgressAPI_Report$Type();\n// @generated message type with reflection information, may provide speed optimized methods\nclass ProgressAPI_GetStatus$Type extends MessageType<ProgressAPI_GetStatus> {\n constructor() {\n super(\"MiLaboratories.Controller.Shared.ProgressAPI.GetStatus\", []);\n }\n create(value?: PartialMessage<ProgressAPI_GetStatus>): ProgressAPI_GetStatus {\n const message = globalThis.Object.create((this.messagePrototype!));\n if (value !== undefined)\n reflectionMergePartial<ProgressAPI_GetStatus>(this, message, value);\n return message;\n }\n internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: ProgressAPI_GetStatus): ProgressAPI_GetStatus {\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: ProgressAPI_GetStatus, 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.ProgressAPI.GetStatus\n */\nexport const ProgressAPI_GetStatus = new ProgressAPI_GetStatus$Type();\n// @generated message type with reflection information, may provide speed optimized methods\nclass ProgressAPI_GetStatus_Request$Type extends MessageType<ProgressAPI_GetStatus_Request> {\n constructor() {\n super(\"MiLaboratories.Controller.Shared.ProgressAPI.GetStatus.Request\", [\n { no: 1, name: \"resource_id\", kind: \"scalar\", T: 4 /*ScalarType.UINT64*/, L: 0 /*LongType.BIGINT*/ },\n { no: 2, name: \"resource_signature\", kind: \"scalar\", T: 12 /*ScalarType.BYTES*/ }\n ]);\n }\n create(value?: PartialMessage<ProgressAPI_GetStatus_Request>): ProgressAPI_GetStatus_Request {\n const message = globalThis.Object.create((this.messagePrototype!));\n message.resourceId = 0n;\n message.resourceSignature = new Uint8Array(0);\n if (value !== undefined)\n reflectionMergePartial<ProgressAPI_GetStatus_Request>(this, message, value);\n return message;\n }\n internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: ProgressAPI_GetStatus_Request): ProgressAPI_GetStatus_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 /* bytes resource_signature */ 2:\n message.resourceSignature = reader.bytes();\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: ProgressAPI_GetStatus_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 /* bytes resource_signature = 2; */\n if (message.resourceSignature.length)\n writer.tag(2, 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.ProgressAPI.GetStatus.Request\n */\nexport const ProgressAPI_GetStatus_Request = new ProgressAPI_GetStatus_Request$Type();\n// @generated message type with reflection information, may provide speed optimized methods\nclass ProgressAPI_GetStatus_Response$Type extends MessageType<ProgressAPI_GetStatus_Response> {\n constructor() {\n super(\"MiLaboratories.Controller.Shared.ProgressAPI.GetStatus.Response\", [\n { no: 1, name: \"report\", kind: \"message\", T: () => ProgressAPI_Report }\n ]);\n }\n create(value?: PartialMessage<ProgressAPI_GetStatus_Response>): ProgressAPI_GetStatus_Response {\n const message = globalThis.Object.create((this.messagePrototype!));\n if (value !== undefined)\n reflectionMergePartial<ProgressAPI_GetStatus_Response>(this, message, value);\n return message;\n }\n internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: ProgressAPI_GetStatus_Response): ProgressAPI_GetStatus_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 /* MiLaboratories.Controller.Shared.ProgressAPI.Report report */ 1:\n message.report = ProgressAPI_Report.internalBinaryRead(reader, reader.uint32(), options, message.report);\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: ProgressAPI_GetStatus_Response, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {\n /* MiLaboratories.Controller.Shared.ProgressAPI.Report report = 1; */\n if (message.report)\n ProgressAPI_Report.internalBinaryWrite(message.report, writer.tag(1, WireType.LengthDelimited).fork(), options).join();\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.ProgressAPI.GetStatus.Response\n */\nexport const ProgressAPI_GetStatus_Response = new ProgressAPI_GetStatus_Response$Type();\n// @generated message type with reflection information, may provide speed optimized methods\nclass ProgressAPI_RealtimeStatus$Type extends MessageType<ProgressAPI_RealtimeStatus> {\n constructor() {\n super(\"MiLaboratories.Controller.Shared.ProgressAPI.RealtimeStatus\", []);\n }\n create(value?: PartialMessage<ProgressAPI_RealtimeStatus>): ProgressAPI_RealtimeStatus {\n const message = globalThis.Object.create((this.messagePrototype!));\n if (value !== undefined)\n reflectionMergePartial<ProgressAPI_RealtimeStatus>(this, message, value);\n return message;\n }\n internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: ProgressAPI_RealtimeStatus): ProgressAPI_RealtimeStatus {\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: ProgressAPI_RealtimeStatus, 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.ProgressAPI.RealtimeStatus\n */\nexport const ProgressAPI_RealtimeStatus = new ProgressAPI_RealtimeStatus$Type();\n// @generated message type with reflection information, may provide speed optimized methods\nclass ProgressAPI_RealtimeStatus_Request$Type extends MessageType<ProgressAPI_RealtimeStatus_Request> {\n constructor() {\n super(\"MiLaboratories.Controller.Shared.ProgressAPI.RealtimeStatus.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\", T: 12 /*ScalarType.BYTES*/ },\n { no: 2, name: \"update_interval\", kind: \"message\", T: () => Duration }\n ]);\n }\n create(value?: PartialMessage<ProgressAPI_RealtimeStatus_Request>): ProgressAPI_RealtimeStatus_Request {\n const message = globalThis.Object.create((this.messagePrototype!));\n message.resourceId = 0n;\n message.resourceSignature = new Uint8Array(0);\n if (value !== undefined)\n reflectionMergePartial<ProgressAPI_RealtimeStatus_Request>(this, message, value);\n return message;\n }\n internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: ProgressAPI_RealtimeStatus_Request): ProgressAPI_RealtimeStatus_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 /* bytes resource_signature */ 3:\n message.resourceSignature = reader.bytes();\n break;\n case /* google.protobuf.Duration update_interval */ 2:\n message.updateInterval = Duration.internalBinaryRead(reader, reader.uint32(), options, message.updateInterval);\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: ProgressAPI_RealtimeStatus_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 /* google.protobuf.Duration update_interval = 2; */\n if (message.updateInterval)\n Duration.internalBinaryWrite(message.updateInterval, writer.tag(2, WireType.LengthDelimited).fork(), options).join();\n /* bytes resource_signature = 3; */\n if (message.resourceSignature.length)\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.ProgressAPI.RealtimeStatus.Request\n */\nexport const ProgressAPI_RealtimeStatus_Request = new ProgressAPI_RealtimeStatus_Request$Type();\n// @generated message type with reflection information, may provide speed optimized methods\nclass ProgressAPI_RealtimeStatus_Response$Type extends MessageType<ProgressAPI_RealtimeStatus_Response> {\n constructor() {\n super(\"MiLaboratories.Controller.Shared.ProgressAPI.RealtimeStatus.Response\", [\n { no: 1, name: \"report\", kind: \"message\", T: () => ProgressAPI_Report }\n ]);\n }\n create(value?: PartialMessage<ProgressAPI_RealtimeStatus_Response>): ProgressAPI_RealtimeStatus_Response {\n const message = globalThis.Object.create((this.messagePrototype!));\n if (value !== undefined)\n reflectionMergePartial<ProgressAPI_RealtimeStatus_Response>(this, message, value);\n return message;\n }\n internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: ProgressAPI_RealtimeStatus_Response): ProgressAPI_RealtimeStatus_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 /* MiLaboratories.Controller.Shared.ProgressAPI.Report report */ 1:\n message.report = ProgressAPI_Report.internalBinaryRead(reader, reader.uint32(), options, message.report);\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: ProgressAPI_RealtimeStatus_Response, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {\n /* MiLaboratories.Controller.Shared.ProgressAPI.Report report = 1; */\n if (message.report)\n ProgressAPI_Report.internalBinaryWrite(message.report, writer.tag(1, WireType.LengthDelimited).fork(), options).join();\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.ProgressAPI.RealtimeStatus.Response\n */\nexport const ProgressAPI_RealtimeStatus_Response = new ProgressAPI_RealtimeStatus_Response$Type();\n/**\n * @generated ServiceType for protobuf service MiLaboratories.Controller.Shared.Progress\n */\nexport const Progress = new ServiceType(\"MiLaboratories.Controller.Shared.Progress\", [\n { name: \"GetStatus\", options: { \"google.api.http\": { post: \"/v1/get-progress\", body: \"*\" } }, I: ProgressAPI_GetStatus_Request, O: ProgressAPI_GetStatus_Response },\n { name: \"RealtimeStatus\", serverStreaming: true, options: { \"google.api.http\": { post: \"/v1/realtime-progress\", body: \"*\" } }, I: ProgressAPI_RealtimeStatus_Request, O: ProgressAPI_RealtimeStatus_Response }\n]);\n"],"mappings":";;;;AAyGA,IAAM,mBAAN,cAA+B,YAAyB;CACpD,cAAc;AACV,QAAM,gDAAgD,EAAE,CAAC;;CAE7D,OAAO,OAAkD;EACrD,MAAM,UAAU,WAAW,OAAO,OAAQ,KAAK,iBAAmB;AAClE,MAAI,UAAU,KAAA,EACV,wBAAoC,MAAM,SAAS,MAAM;AAC7D,SAAO;;CAEX,mBAAmB,QAAuB,QAAgB,SAA4B,QAAmC;EACrH,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;AAC7B,SAAI,MAAM,MACN,EAAC,MAAM,OAAO,oBAAoB,SAAS,GAAG,KAAK,UAAU,SAAS,SAAS,UAAU,EAAE;;;AAG3G,SAAO;;CAEX,oBAAoB,SAAsB,QAAuB,SAA4C;EACzG,IAAI,IAAI,QAAQ;AAChB,MAAI,MAAM,MACN,EAAC,KAAK,OAAO,oBAAoB,UAAU,GAAG,KAAK,UAAU,SAAS,OAAO;AACjF,SAAO;;;AAMY,IAAI,kBAAkB;AAEjD,IAAM,0BAAN,cAAsC,YAAgC;CAClE,cAAc;AACV,QAAM,uDAAuD;GACzD;IAAE,IAAI;IAAG,MAAM;IAAY,MAAM;IAAU,GAAG;IAAwB;GACtE;IAAE,IAAI;IAAG,MAAM;IAAmB,MAAM;IAAU,GAAG;IAAyB,GAAG;IAAu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,MACN,EAAC,MAAM,OAAO,oBAAoB,SAAS,GAAG,KAAK,UAAU,SAAS,SAAS,UAAU,EAAE;;;AAG3G,SAAO;;CAEX,oBAAoB,SAA8C,QAAuB,SAA4C;AAEjI,MAAI,QAAQ,OACR,oBAAmB,oBAAoB,QAAQ,QAAQ,OAAO,IAAI,GAAG,SAAS,gBAAgB,CAAC,MAAM,EAAE,QAAQ,CAAC,MAAM;EAC1H,IAAI,IAAI,QAAQ;AAChB,MAAI,MAAM,MACN,EAAC,KAAK,OAAO,oBAAoB,UAAU,GAAG,KAAK,UAAU,SAAS,OAAO;AACjF,SAAO;;;;;;AAMf,MAAa,sCAAsC,IAAI,0CAA0C;;;;AAIjG,MAAa,WAAW,IAAI,YAAY,6CAA6C,CACjF;CAAE,MAAM;CAAa,SAAS,EAAE,mBAAmB;EAAE,MAAM;EAAoB,MAAM;EAAK,EAAE;CAAE,GAAG;CAA+B,GAAG;CAAgC,EACnK;CAAE,MAAM;CAAkB,iBAAiB;CAAM,SAAS,EAAE,mBAAmB;EAAE,MAAM;EAAyB,MAAM;EAAK,EAAE;CAAE,GAAG;CAAoC,GAAG;CAAqC,CACjN,CAAC"}
|
|
1
|
+
{"version":3,"file":"protocol.js","names":[],"sources":["../../../../../../../../../src/proto-grpc/github.com/milaboratory/pl/controllers/shared/grpc/progressapi/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/progressapi/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 { Duration } from \"../../../../../../../google/protobuf/duration\";\n/**\n * @generated from protobuf message MiLaboratories.Controller.Shared.ProgressAPI\n */\nexport interface ProgressAPI {\n}\n/**\n * @generated from protobuf message MiLaboratories.Controller.Shared.ProgressAPI.Report\n */\nexport interface ProgressAPI_Report {\n /**\n * @generated from protobuf field: float progress = 1\n */\n progress: number;\n /**\n * @generated from protobuf field: uint64 bytes_processed = 2\n */\n bytesProcessed: bigint;\n /**\n * @generated from protobuf field: uint64 bytes_total = 3\n */\n bytesTotal: bigint;\n /**\n * @generated from protobuf field: bool done = 4\n */\n done: boolean;\n /**\n * Name of current progress stage (if any)\n *\n * @generated from protobuf field: string name = 5\n */\n name: string;\n}\n/**\n * @generated from protobuf message MiLaboratories.Controller.Shared.ProgressAPI.GetStatus\n */\nexport interface ProgressAPI_GetStatus {\n}\n/**\n * @generated from protobuf message MiLaboratories.Controller.Shared.ProgressAPI.GetStatus.Request\n */\nexport interface ProgressAPI_GetStatus_Request {\n /**\n * @generated from protobuf field: uint64 resource_id = 1\n */\n resourceId: bigint;\n /**\n * @generated from protobuf field: bytes resource_signature = 2\n */\n resourceSignature: Uint8Array;\n}\n/**\n * @generated from protobuf message MiLaboratories.Controller.Shared.ProgressAPI.GetStatus.Response\n */\nexport interface ProgressAPI_GetStatus_Response {\n /**\n * @generated from protobuf field: MiLaboratories.Controller.Shared.ProgressAPI.Report report = 1\n */\n report?: ProgressAPI_Report;\n}\n/**\n * @generated from protobuf message MiLaboratories.Controller.Shared.ProgressAPI.RealtimeStatus\n */\nexport interface ProgressAPI_RealtimeStatus {\n}\n/**\n * @generated from protobuf message MiLaboratories.Controller.Shared.ProgressAPI.RealtimeStatus.Request\n */\nexport interface ProgressAPI_RealtimeStatus_Request {\n /**\n * @generated from protobuf field: uint64 resource_id = 1\n */\n resourceId: bigint;\n /**\n * @generated from protobuf field: bytes resource_signature = 3\n */\n resourceSignature: Uint8Array;\n /**\n * @generated from protobuf field: google.protobuf.Duration update_interval = 2\n */\n updateInterval?: Duration;\n}\n/**\n * @generated from protobuf message MiLaboratories.Controller.Shared.ProgressAPI.RealtimeStatus.Response\n */\nexport interface ProgressAPI_RealtimeStatus_Response {\n /**\n * @generated from protobuf field: MiLaboratories.Controller.Shared.ProgressAPI.Report report = 1\n */\n report?: ProgressAPI_Report;\n}\n// @generated message type with reflection information, may provide speed optimized methods\nclass ProgressAPI$Type extends MessageType<ProgressAPI> {\n constructor() {\n super(\"MiLaboratories.Controller.Shared.ProgressAPI\", []);\n }\n create(value?: PartialMessage<ProgressAPI>): ProgressAPI {\n const message = globalThis.Object.create((this.messagePrototype!));\n if (value !== undefined)\n reflectionMergePartial<ProgressAPI>(this, message, value);\n return message;\n }\n internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: ProgressAPI): ProgressAPI {\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: ProgressAPI, 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.ProgressAPI\n */\nexport const ProgressAPI = new ProgressAPI$Type();\n// @generated message type with reflection information, may provide speed optimized methods\nclass ProgressAPI_Report$Type extends MessageType<ProgressAPI_Report> {\n constructor() {\n super(\"MiLaboratories.Controller.Shared.ProgressAPI.Report\", [\n { no: 1, name: \"progress\", kind: \"scalar\", T: 2 /*ScalarType.FLOAT*/ },\n { no: 2, name: \"bytes_processed\", kind: \"scalar\", T: 4 /*ScalarType.UINT64*/, L: 0 /*LongType.BIGINT*/ },\n { no: 3, name: \"bytes_total\", kind: \"scalar\", T: 4 /*ScalarType.UINT64*/, L: 0 /*LongType.BIGINT*/ },\n { no: 4, name: \"done\", kind: \"scalar\", T: 8 /*ScalarType.BOOL*/ },\n { no: 5, name: \"name\", kind: \"scalar\", T: 9 /*ScalarType.STRING*/ }\n ]);\n }\n create(value?: PartialMessage<ProgressAPI_Report>): ProgressAPI_Report {\n const message = globalThis.Object.create((this.messagePrototype!));\n message.progress = 0;\n message.bytesProcessed = 0n;\n message.bytesTotal = 0n;\n message.done = false;\n message.name = \"\";\n if (value !== undefined)\n reflectionMergePartial<ProgressAPI_Report>(this, message, value);\n return message;\n }\n internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: ProgressAPI_Report): ProgressAPI_Report {\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 /* float progress */ 1:\n message.progress = reader.float();\n break;\n case /* uint64 bytes_processed */ 2:\n message.bytesProcessed = reader.uint64().toBigInt();\n break;\n case /* uint64 bytes_total */ 3:\n message.bytesTotal = reader.uint64().toBigInt();\n break;\n case /* bool done */ 4:\n message.done = reader.bool();\n break;\n case /* string name */ 5:\n message.name = 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: ProgressAPI_Report, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {\n /* float progress = 1; */\n if (message.progress !== 0)\n writer.tag(1, WireType.Bit32).float(message.progress);\n /* uint64 bytes_processed = 2; */\n if (message.bytesProcessed !== 0n)\n writer.tag(2, WireType.Varint).uint64(message.bytesProcessed);\n /* uint64 bytes_total = 3; */\n if (message.bytesTotal !== 0n)\n writer.tag(3, WireType.Varint).uint64(message.bytesTotal);\n /* bool done = 4; */\n if (message.done !== false)\n writer.tag(4, WireType.Varint).bool(message.done);\n /* string name = 5; */\n if (message.name !== \"\")\n writer.tag(5, WireType.LengthDelimited).string(message.name);\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.ProgressAPI.Report\n */\nexport const ProgressAPI_Report = new ProgressAPI_Report$Type();\n// @generated message type with reflection information, may provide speed optimized methods\nclass ProgressAPI_GetStatus$Type extends MessageType<ProgressAPI_GetStatus> {\n constructor() {\n super(\"MiLaboratories.Controller.Shared.ProgressAPI.GetStatus\", []);\n }\n create(value?: PartialMessage<ProgressAPI_GetStatus>): ProgressAPI_GetStatus {\n const message = globalThis.Object.create((this.messagePrototype!));\n if (value !== undefined)\n reflectionMergePartial<ProgressAPI_GetStatus>(this, message, value);\n return message;\n }\n internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: ProgressAPI_GetStatus): ProgressAPI_GetStatus {\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: ProgressAPI_GetStatus, 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.ProgressAPI.GetStatus\n */\nexport const ProgressAPI_GetStatus = new ProgressAPI_GetStatus$Type();\n// @generated message type with reflection information, may provide speed optimized methods\nclass ProgressAPI_GetStatus_Request$Type extends MessageType<ProgressAPI_GetStatus_Request> {\n constructor() {\n super(\"MiLaboratories.Controller.Shared.ProgressAPI.GetStatus.Request\", [\n { no: 1, name: \"resource_id\", kind: \"scalar\", T: 4 /*ScalarType.UINT64*/, L: 0 /*LongType.BIGINT*/ },\n { no: 2, name: \"resource_signature\", kind: \"scalar\", T: 12 /*ScalarType.BYTES*/ }\n ]);\n }\n create(value?: PartialMessage<ProgressAPI_GetStatus_Request>): ProgressAPI_GetStatus_Request {\n const message = globalThis.Object.create((this.messagePrototype!));\n message.resourceId = 0n;\n message.resourceSignature = new Uint8Array(0);\n if (value !== undefined)\n reflectionMergePartial<ProgressAPI_GetStatus_Request>(this, message, value);\n return message;\n }\n internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: ProgressAPI_GetStatus_Request): ProgressAPI_GetStatus_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 /* bytes resource_signature */ 2:\n message.resourceSignature = reader.bytes();\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: ProgressAPI_GetStatus_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 /* bytes resource_signature = 2; */\n if (message.resourceSignature.length)\n writer.tag(2, 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.ProgressAPI.GetStatus.Request\n */\nexport const ProgressAPI_GetStatus_Request = new ProgressAPI_GetStatus_Request$Type();\n// @generated message type with reflection information, may provide speed optimized methods\nclass ProgressAPI_GetStatus_Response$Type extends MessageType<ProgressAPI_GetStatus_Response> {\n constructor() {\n super(\"MiLaboratories.Controller.Shared.ProgressAPI.GetStatus.Response\", [\n { no: 1, name: \"report\", kind: \"message\", T: () => ProgressAPI_Report }\n ]);\n }\n create(value?: PartialMessage<ProgressAPI_GetStatus_Response>): ProgressAPI_GetStatus_Response {\n const message = globalThis.Object.create((this.messagePrototype!));\n if (value !== undefined)\n reflectionMergePartial<ProgressAPI_GetStatus_Response>(this, message, value);\n return message;\n }\n internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: ProgressAPI_GetStatus_Response): ProgressAPI_GetStatus_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 /* MiLaboratories.Controller.Shared.ProgressAPI.Report report */ 1:\n message.report = ProgressAPI_Report.internalBinaryRead(reader, reader.uint32(), options, message.report);\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: ProgressAPI_GetStatus_Response, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {\n /* MiLaboratories.Controller.Shared.ProgressAPI.Report report = 1; */\n if (message.report)\n ProgressAPI_Report.internalBinaryWrite(message.report, writer.tag(1, WireType.LengthDelimited).fork(), options).join();\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.ProgressAPI.GetStatus.Response\n */\nexport const ProgressAPI_GetStatus_Response = new ProgressAPI_GetStatus_Response$Type();\n// @generated message type with reflection information, may provide speed optimized methods\nclass ProgressAPI_RealtimeStatus$Type extends MessageType<ProgressAPI_RealtimeStatus> {\n constructor() {\n super(\"MiLaboratories.Controller.Shared.ProgressAPI.RealtimeStatus\", []);\n }\n create(value?: PartialMessage<ProgressAPI_RealtimeStatus>): ProgressAPI_RealtimeStatus {\n const message = globalThis.Object.create((this.messagePrototype!));\n if (value !== undefined)\n reflectionMergePartial<ProgressAPI_RealtimeStatus>(this, message, value);\n return message;\n }\n internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: ProgressAPI_RealtimeStatus): ProgressAPI_RealtimeStatus {\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: ProgressAPI_RealtimeStatus, 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.ProgressAPI.RealtimeStatus\n */\nexport const ProgressAPI_RealtimeStatus = new ProgressAPI_RealtimeStatus$Type();\n// @generated message type with reflection information, may provide speed optimized methods\nclass ProgressAPI_RealtimeStatus_Request$Type extends MessageType<ProgressAPI_RealtimeStatus_Request> {\n constructor() {\n super(\"MiLaboratories.Controller.Shared.ProgressAPI.RealtimeStatus.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\", T: 12 /*ScalarType.BYTES*/ },\n { no: 2, name: \"update_interval\", kind: \"message\", T: () => Duration }\n ]);\n }\n create(value?: PartialMessage<ProgressAPI_RealtimeStatus_Request>): ProgressAPI_RealtimeStatus_Request {\n const message = globalThis.Object.create((this.messagePrototype!));\n message.resourceId = 0n;\n message.resourceSignature = new Uint8Array(0);\n if (value !== undefined)\n reflectionMergePartial<ProgressAPI_RealtimeStatus_Request>(this, message, value);\n return message;\n }\n internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: ProgressAPI_RealtimeStatus_Request): ProgressAPI_RealtimeStatus_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 /* bytes resource_signature */ 3:\n message.resourceSignature = reader.bytes();\n break;\n case /* google.protobuf.Duration update_interval */ 2:\n message.updateInterval = Duration.internalBinaryRead(reader, reader.uint32(), options, message.updateInterval);\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: ProgressAPI_RealtimeStatus_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 /* google.protobuf.Duration update_interval = 2; */\n if (message.updateInterval)\n Duration.internalBinaryWrite(message.updateInterval, writer.tag(2, WireType.LengthDelimited).fork(), options).join();\n /* bytes resource_signature = 3; */\n if (message.resourceSignature.length)\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.ProgressAPI.RealtimeStatus.Request\n */\nexport const ProgressAPI_RealtimeStatus_Request = new ProgressAPI_RealtimeStatus_Request$Type();\n// @generated message type with reflection information, may provide speed optimized methods\nclass ProgressAPI_RealtimeStatus_Response$Type extends MessageType<ProgressAPI_RealtimeStatus_Response> {\n constructor() {\n super(\"MiLaboratories.Controller.Shared.ProgressAPI.RealtimeStatus.Response\", [\n { no: 1, name: \"report\", kind: \"message\", T: () => ProgressAPI_Report }\n ]);\n }\n create(value?: PartialMessage<ProgressAPI_RealtimeStatus_Response>): ProgressAPI_RealtimeStatus_Response {\n const message = globalThis.Object.create((this.messagePrototype!));\n if (value !== undefined)\n reflectionMergePartial<ProgressAPI_RealtimeStatus_Response>(this, message, value);\n return message;\n }\n internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: ProgressAPI_RealtimeStatus_Response): ProgressAPI_RealtimeStatus_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 /* MiLaboratories.Controller.Shared.ProgressAPI.Report report */ 1:\n message.report = ProgressAPI_Report.internalBinaryRead(reader, reader.uint32(), options, message.report);\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: ProgressAPI_RealtimeStatus_Response, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {\n /* MiLaboratories.Controller.Shared.ProgressAPI.Report report = 1; */\n if (message.report)\n ProgressAPI_Report.internalBinaryWrite(message.report, writer.tag(1, WireType.LengthDelimited).fork(), options).join();\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.ProgressAPI.RealtimeStatus.Response\n */\nexport const ProgressAPI_RealtimeStatus_Response = new ProgressAPI_RealtimeStatus_Response$Type();\n/**\n * @generated ServiceType for protobuf service MiLaboratories.Controller.Shared.Progress\n */\nexport const Progress = new ServiceType(\"MiLaboratories.Controller.Shared.Progress\", [\n { name: \"GetStatus\", options: { \"google.api.http\": { post: \"/v1/get-progress\", body: \"*\" } }, I: ProgressAPI_GetStatus_Request, O: ProgressAPI_GetStatus_Response },\n { name: \"RealtimeStatus\", serverStreaming: true, options: { \"google.api.http\": { post: \"/v1/realtime-progress\", body: \"*\" } }, I: ProgressAPI_RealtimeStatus_Request, O: ProgressAPI_RealtimeStatus_Response }\n]);\n"],"mappings":";;;;AAyGA,IAAM,mBAAN,cAA+B,YAAyB;CACpD,cAAc;EACV,MAAM,gDAAgD,CAAC,CAAC;CAC5D;CACA,OAAO,OAAkD;EACrD,MAAM,UAAU,WAAW,OAAO,OAAQ,KAAK,gBAAkB;EACjE,IAAI,UAAU,KAAA,GACV,uBAAoC,MAAM,SAAS,KAAK;EAC5D,OAAO;CAC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AG,KAAK,UAAU,SAAS,SAAS,UAAU,CAAC;GACtG;EACJ;EACA,OAAO;CACX;CACA,oBAAoB,SAA8C,QAAuB,SAA4C;EAEjI,IAAI,QAAQ,QACR,mBAAmB,oBAAoB,QAAQ,QAAQ,OAAO,IAAI,GAAG,SAAS,eAAe,CAAC,CAAC,KAAK,GAAG,OAAO,CAAC,CAAC,KAAK;EACzH,IAAI,IAAI,QAAQ;EAChB,IAAI,MAAM,OACN,CAAC,KAAK,OAAO,oBAAoB,UAAU,EAAA,CAAG,KAAK,UAAU,SAAS,MAAM;EAChF,OAAO;CACX;AACJ;;;;AAIA,MAAa,sCAAsC,IAAI,yCAAyC;;;;AAIhG,MAAa,WAAW,IAAI,YAAY,6CAA6C,CACjF;CAAE,MAAM;CAAa,SAAS,EAAE,mBAAmB;EAAE,MAAM;EAAoB,MAAM;CAAI,EAAE;CAAG,GAAG;CAA+B,GAAG;AAA+B,GAClK;CAAE,MAAM;CAAkB,iBAAiB;CAAM,SAAS,EAAE,mBAAmB;EAAE,MAAM;EAAyB,MAAM;CAAI,EAAE;CAAG,GAAG;CAAoC,GAAG;AAAoC,CACjN,CAAC"}
|
package/dist/proto-grpc/github.com/milaboratory/pl/controllers/shared/grpc/streamingapi/protocol.cjs
CHANGED
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
require("../../../../../../../../_virtual/_rolldown/runtime.cjs");
|
|
2
1
|
let _protobuf_ts_runtime_rpc = require("@protobuf-ts/runtime-rpc");
|
|
3
2
|
let _protobuf_ts_runtime = require("@protobuf-ts/runtime");
|
|
4
3
|
//#region src/proto-grpc/github.com/milaboratory/pl/controllers/shared/grpc/streamingapi/protocol.ts
|
|
@@ -67,7 +66,7 @@ var StreamingAPI_ReadBinary$Type = class extends _protobuf_ts_runtime.MessageTyp
|
|
|
67
66
|
create(value) {
|
|
68
67
|
const message = globalThis.Object.create(this.messagePrototype);
|
|
69
68
|
message.resourceId = 0n;
|
|
70
|
-
message.resourceSignature = new Uint8Array(0);
|
|
69
|
+
message.resourceSignature = /* @__PURE__ */ new Uint8Array(0);
|
|
71
70
|
message.offset = 0n;
|
|
72
71
|
if (value !== void 0) (0, _protobuf_ts_runtime.reflectionMergePartial)(this, message, value);
|
|
73
72
|
return message;
|
|
@@ -162,7 +161,7 @@ var StreamingAPI_ReadText$Type = class extends _protobuf_ts_runtime.MessageType
|
|
|
162
161
|
create(value) {
|
|
163
162
|
const message = globalThis.Object.create(this.messagePrototype);
|
|
164
163
|
message.resourceId = 0n;
|
|
165
|
-
message.resourceSignature = new Uint8Array(0);
|
|
164
|
+
message.resourceSignature = /* @__PURE__ */ new Uint8Array(0);
|
|
166
165
|
message.offset = 0n;
|
|
167
166
|
if (value !== void 0) (0, _protobuf_ts_runtime.reflectionMergePartial)(this, message, value);
|
|
168
167
|
return message;
|
|
@@ -265,7 +264,7 @@ var StreamingAPI_LastLines$Type = class extends _protobuf_ts_runtime.MessageType
|
|
|
265
264
|
create(value) {
|
|
266
265
|
const message = globalThis.Object.create(this.messagePrototype);
|
|
267
266
|
message.resourceId = 0n;
|
|
268
|
-
message.resourceSignature = new Uint8Array(0);
|
|
267
|
+
message.resourceSignature = /* @__PURE__ */ new Uint8Array(0);
|
|
269
268
|
if (value !== void 0) (0, _protobuf_ts_runtime.reflectionMergePartial)(this, message, value);
|
|
270
269
|
return message;
|
|
271
270
|
}
|
|
@@ -344,7 +343,7 @@ var StreamingAPI_Response$Type = class extends _protobuf_ts_runtime.MessageType
|
|
|
344
343
|
}
|
|
345
344
|
create(value) {
|
|
346
345
|
const message = globalThis.Object.create(this.messagePrototype);
|
|
347
|
-
message.data = new Uint8Array(0);
|
|
346
|
+
message.data = /* @__PURE__ */ new Uint8Array(0);
|
|
348
347
|
message.size = 0n;
|
|
349
348
|
message.newOffset = 0n;
|
|
350
349
|
if (value !== void 0) (0, _protobuf_ts_runtime.reflectionMergePartial)(this, message, value);
|
|
@@ -420,5 +419,9 @@ const Streaming = new _protobuf_ts_runtime_rpc.ServiceType("MiLaboratories.Contr
|
|
|
420
419
|
]);
|
|
421
420
|
//#endregion
|
|
422
421
|
exports.Streaming = Streaming;
|
|
422
|
+
exports.StreamingAPI_LastLines = StreamingAPI_LastLines;
|
|
423
|
+
exports.StreamingAPI_ReadBinary = StreamingAPI_ReadBinary;
|
|
424
|
+
exports.StreamingAPI_ReadText = StreamingAPI_ReadText;
|
|
425
|
+
exports.StreamingAPI_Response = StreamingAPI_Response;
|
|
423
426
|
|
|
424
427
|
//# sourceMappingURL=protocol.cjs.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"protocol.cjs","names":["MessageType","UnknownFieldHandler","WireType","ServiceType"],"sources":["../../../../../../../../../src/proto-grpc/github.com/milaboratory/pl/controllers/shared/grpc/streamingapi/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/streamingapi/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\";\n/**\n * @generated from protobuf message MiLaboratories.Controller.Shared.StreamingAPI\n */\nexport interface StreamingAPI {\n}\n/**\n * @generated from protobuf message MiLaboratories.Controller.Shared.StreamingAPI.ReadBinary\n */\nexport interface StreamingAPI_ReadBinary {\n /**\n * <resource_id> of Stream resource that keeps info on item to be streamed.\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: bytes resource_signature = 3\n */\n resourceSignature: Uint8Array;\n /**\n * <offset> makes the streamer perform a seek operation to the given offset before sending the data.\n *\n * @generated from protobuf field: int64 offset = 2\n */\n offset: bigint;\n /**\n * <chunk_size> limits the maximum size of <data> for response message in stream.\n *\n * Default value: 32 768 (32 KiB)\n * Max value: 3900 * 1024 (3.9 MiB)\n *\n * @generated from protobuf field: optional uint32 chunk_size = 11\n */\n chunkSize?: number;\n}\n/**\n * @generated from protobuf message MiLaboratories.Controller.Shared.StreamingAPI.ReadText\n */\nexport interface StreamingAPI_ReadText {\n /**\n * <resource_id> of Stream resource that keeps info on item to be streamed.\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: bytes resource_signature = 3\n */\n resourceSignature: Uint8Array;\n /**\n * <offset> makes the streamer perform a seek operation to the given offset before sending the contents.\n * This offset is taken in BYTES, as it eases streaming recovery after a client reconnection or controller restart.\n * The client can just use the <new_offset> value of the last response from the server to continue streaming after reconnection.\n *\n * @generated from protobuf field: int64 offset = 2\n */\n offset: bigint;\n /**\n * <read_limit> allows the client to limit total data sent from the server.\n * Measured in lines of text.\n * E.g. to read top 1000 lines from stream source, use <read_limit> = 1000.\n * When both <read_limit> and <search>/<search_re> are set, the <read_limit> is applied first.\n * This is equivalent to 'head -n <read_limit> | grep <search>'.\n * At most 3.9 MiB (3900 KiB) of data is returned in a single read regardless of the <read_limit> option\n * Only full lines of text are returned except for the last line from the completed source\n * (the one that is not expected to have new data, like a blob in storage)\n *\n * @generated from protobuf field: optional int64 read_limit = 20\n */\n readLimit?: bigint;\n /**\n * <search> is a substring for the line search pattern.\n * This option makes the controller send to the client only lines that\n * have the given substring.\n *\n * @generated from protobuf field: optional string search = 21\n */\n search?: string;\n /**\n * <search_re> is a regular expression for the line search pattern.\n * This option makes the controller send to the client only lines that\n * match the given regular expression.\n *\n * @generated from protobuf field: optional string search_re = 22\n */\n searchRe?: string;\n}\n/**\n * @generated from protobuf message MiLaboratories.Controller.Shared.StreamingAPI.LastLines\n */\nexport interface StreamingAPI_LastLines {\n /**\n * <resource_id> of Stream resource that keeps info on item to be streamed.\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: bytes resource_signature = 4\n */\n resourceSignature: Uint8Array;\n /**\n * <offset> makes the streamer perform a seek operation to the given offset before sending the contents.\n * This offset is taken in BYTES, as it eases streaming recovery after a client reconnection or controller restart.\n * By default, LastLines starts reading the data source from the very last byte available in the data stream\n * at the moment of the call, but the client can set the server to start from an earlier position.\n *\n * @generated from protobuf field: optional int64 offset = 2\n */\n offset?: bigint;\n /**\n * <line_count> makes the streamer return up to <line_count> lines to the client.\n * Default value: 1\n *\n * @generated from protobuf field: optional int32 line_count = 3\n */\n lineCount?: number;\n /**\n * <search> is a substring for the line search pattern.\n * This option makes the controller send to the client only lines that\n * have the given substring.\n *\n * @generated from protobuf field: optional string search = 21\n */\n search?: string;\n /**\n * <search_re> is a regular expression for the line search pattern.\n * This option makes the controller send to the client only lines that\n * match the given regular expression.\n *\n * @generated from protobuf field: optional string search_re = 22\n */\n searchRe?: string;\n}\n/**\n * @generated from protobuf message MiLaboratories.Controller.Shared.StreamingAPI.Response\n */\nexport interface StreamingAPI_Response {\n /**\n * data chunk from the item, starting from the <new_offset> of the previous message in the same stream.\n *\n * @generated from protobuf field: bytes data = 1\n */\n data: Uint8Array;\n /**\n * <size> is the actual size of the streamed item at the moment of this message.\n * This might not be the final amount of streamed data, as the stream source can be updated\n * by another independent process (e.g., data is written to a log file).\n * This field in combination with <new_offset> shows how far the client is from the end\n * of the data right now.\n *\n * @generated from protobuf field: uint64 size = 2\n */\n size: bigint;\n /**\n * <new_offset> is the new offset in bytes from the start of the streamed item,\n * including the size of <data> in the current response.\n * A call to the Stream RPC with <offset> = <new_offset> will continue\n * streaming from the place of the last received message\n * (e.g. <offset> = <new_offset> - 1 will repeat the last byte of\n * previously received <data>)\n *\n * @generated from protobuf field: uint64 new_offset = 3\n */\n newOffset: bigint;\n}\n// @generated message type with reflection information, may provide speed optimized methods\nclass StreamingAPI$Type extends MessageType<StreamingAPI> {\n constructor() {\n super(\"MiLaboratories.Controller.Shared.StreamingAPI\", []);\n }\n create(value?: PartialMessage<StreamingAPI>): StreamingAPI {\n const message = globalThis.Object.create((this.messagePrototype!));\n if (value !== undefined)\n reflectionMergePartial<StreamingAPI>(this, message, value);\n return message;\n }\n internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: StreamingAPI): StreamingAPI {\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: StreamingAPI, 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.StreamingAPI\n */\nexport const StreamingAPI = new StreamingAPI$Type();\n// @generated message type with reflection information, may provide speed optimized methods\nclass StreamingAPI_ReadBinary$Type extends MessageType<StreamingAPI_ReadBinary> {\n constructor() {\n super(\"MiLaboratories.Controller.Shared.StreamingAPI.ReadBinary\", [\n { no: 1, name: \"resource_id\", kind: \"scalar\", T: 4 /*ScalarType.UINT64*/, L: 0 /*LongType.BIGINT*/ },\n { no: 3, name: \"resource_signature\", kind: \"scalar\", T: 12 /*ScalarType.BYTES*/ },\n { no: 2, name: \"offset\", kind: \"scalar\", T: 3 /*ScalarType.INT64*/, L: 0 /*LongType.BIGINT*/ },\n { no: 11, name: \"chunk_size\", kind: \"scalar\", opt: true, T: 13 /*ScalarType.UINT32*/ }\n ]);\n }\n create(value?: PartialMessage<StreamingAPI_ReadBinary>): StreamingAPI_ReadBinary {\n const message = globalThis.Object.create((this.messagePrototype!));\n message.resourceId = 0n;\n message.resourceSignature = new Uint8Array(0);\n message.offset = 0n;\n if (value !== undefined)\n reflectionMergePartial<StreamingAPI_ReadBinary>(this, message, value);\n return message;\n }\n internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: StreamingAPI_ReadBinary): StreamingAPI_ReadBinary {\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 /* bytes resource_signature */ 3:\n message.resourceSignature = reader.bytes();\n break;\n case /* int64 offset */ 2:\n message.offset = reader.int64().toBigInt();\n break;\n case /* optional uint32 chunk_size */ 11:\n message.chunkSize = reader.uint32();\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: StreamingAPI_ReadBinary, 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 /* int64 offset = 2; */\n if (message.offset !== 0n)\n writer.tag(2, WireType.Varint).int64(message.offset);\n /* bytes resource_signature = 3; */\n if (message.resourceSignature.length)\n writer.tag(3, WireType.LengthDelimited).bytes(message.resourceSignature);\n /* optional uint32 chunk_size = 11; */\n if (message.chunkSize !== undefined)\n writer.tag(11, WireType.Varint).uint32(message.chunkSize);\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.StreamingAPI.ReadBinary\n */\nexport const StreamingAPI_ReadBinary = new StreamingAPI_ReadBinary$Type();\n// @generated message type with reflection information, may provide speed optimized methods\nclass StreamingAPI_ReadText$Type extends MessageType<StreamingAPI_ReadText> {\n constructor() {\n super(\"MiLaboratories.Controller.Shared.StreamingAPI.ReadText\", [\n { no: 1, name: \"resource_id\", kind: \"scalar\", T: 4 /*ScalarType.UINT64*/, L: 0 /*LongType.BIGINT*/ },\n { no: 3, name: \"resource_signature\", kind: \"scalar\", T: 12 /*ScalarType.BYTES*/ },\n { no: 2, name: \"offset\", kind: \"scalar\", T: 3 /*ScalarType.INT64*/, L: 0 /*LongType.BIGINT*/ },\n { no: 20, name: \"read_limit\", kind: \"scalar\", opt: true, T: 3 /*ScalarType.INT64*/, L: 0 /*LongType.BIGINT*/ },\n { no: 21, name: \"search\", kind: \"scalar\", opt: true, T: 9 /*ScalarType.STRING*/ },\n { no: 22, name: \"search_re\", kind: \"scalar\", opt: true, T: 9 /*ScalarType.STRING*/ }\n ]);\n }\n create(value?: PartialMessage<StreamingAPI_ReadText>): StreamingAPI_ReadText {\n const message = globalThis.Object.create((this.messagePrototype!));\n message.resourceId = 0n;\n message.resourceSignature = new Uint8Array(0);\n message.offset = 0n;\n if (value !== undefined)\n reflectionMergePartial<StreamingAPI_ReadText>(this, message, value);\n return message;\n }\n internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: StreamingAPI_ReadText): StreamingAPI_ReadText {\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 /* bytes resource_signature */ 3:\n message.resourceSignature = reader.bytes();\n break;\n case /* int64 offset */ 2:\n message.offset = reader.int64().toBigInt();\n break;\n case /* optional int64 read_limit */ 20:\n message.readLimit = reader.int64().toBigInt();\n break;\n case /* optional string search */ 21:\n message.search = reader.string();\n break;\n case /* optional string search_re */ 22:\n message.searchRe = 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: StreamingAPI_ReadText, 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 /* int64 offset = 2; */\n if (message.offset !== 0n)\n writer.tag(2, WireType.Varint).int64(message.offset);\n /* bytes resource_signature = 3; */\n if (message.resourceSignature.length)\n writer.tag(3, WireType.LengthDelimited).bytes(message.resourceSignature);\n /* optional int64 read_limit = 20; */\n if (message.readLimit !== undefined)\n writer.tag(20, WireType.Varint).int64(message.readLimit);\n /* optional string search = 21; */\n if (message.search !== undefined)\n writer.tag(21, WireType.LengthDelimited).string(message.search);\n /* optional string search_re = 22; */\n if (message.searchRe !== undefined)\n writer.tag(22, WireType.LengthDelimited).string(message.searchRe);\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.StreamingAPI.ReadText\n */\nexport const StreamingAPI_ReadText = new StreamingAPI_ReadText$Type();\n// @generated message type with reflection information, may provide speed optimized methods\nclass StreamingAPI_LastLines$Type extends MessageType<StreamingAPI_LastLines> {\n constructor() {\n super(\"MiLaboratories.Controller.Shared.StreamingAPI.LastLines\", [\n { no: 1, name: \"resource_id\", kind: \"scalar\", T: 4 /*ScalarType.UINT64*/, L: 0 /*LongType.BIGINT*/ },\n { no: 4, name: \"resource_signature\", kind: \"scalar\", T: 12 /*ScalarType.BYTES*/ },\n { no: 2, name: \"offset\", kind: \"scalar\", opt: true, T: 3 /*ScalarType.INT64*/, L: 0 /*LongType.BIGINT*/ },\n { no: 3, name: \"line_count\", kind: \"scalar\", opt: true, T: 5 /*ScalarType.INT32*/ },\n { no: 21, name: \"search\", kind: \"scalar\", opt: true, T: 9 /*ScalarType.STRING*/ },\n { no: 22, name: \"search_re\", kind: \"scalar\", opt: true, T: 9 /*ScalarType.STRING*/ }\n ]);\n }\n create(value?: PartialMessage<StreamingAPI_LastLines>): StreamingAPI_LastLines {\n const message = globalThis.Object.create((this.messagePrototype!));\n message.resourceId = 0n;\n message.resourceSignature = new Uint8Array(0);\n if (value !== undefined)\n reflectionMergePartial<StreamingAPI_LastLines>(this, message, value);\n return message;\n }\n internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: StreamingAPI_LastLines): StreamingAPI_LastLines {\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 /* bytes resource_signature */ 4:\n message.resourceSignature = reader.bytes();\n break;\n case /* optional int64 offset */ 2:\n message.offset = reader.int64().toBigInt();\n break;\n case /* optional int32 line_count */ 3:\n message.lineCount = reader.int32();\n break;\n case /* optional string search */ 21:\n message.search = reader.string();\n break;\n case /* optional string search_re */ 22:\n message.searchRe = 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: StreamingAPI_LastLines, 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 /* optional int64 offset = 2; */\n if (message.offset !== undefined)\n writer.tag(2, WireType.Varint).int64(message.offset);\n /* optional int32 line_count = 3; */\n if (message.lineCount !== undefined)\n writer.tag(3, WireType.Varint).int32(message.lineCount);\n /* bytes resource_signature = 4; */\n if (message.resourceSignature.length)\n writer.tag(4, WireType.LengthDelimited).bytes(message.resourceSignature);\n /* optional string search = 21; */\n if (message.search !== undefined)\n writer.tag(21, WireType.LengthDelimited).string(message.search);\n /* optional string search_re = 22; */\n if (message.searchRe !== undefined)\n writer.tag(22, WireType.LengthDelimited).string(message.searchRe);\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.StreamingAPI.LastLines\n */\nexport const StreamingAPI_LastLines = new StreamingAPI_LastLines$Type();\n// @generated message type with reflection information, may provide speed optimized methods\nclass StreamingAPI_Response$Type extends MessageType<StreamingAPI_Response> {\n constructor() {\n super(\"MiLaboratories.Controller.Shared.StreamingAPI.Response\", [\n { no: 1, name: \"data\", kind: \"scalar\", T: 12 /*ScalarType.BYTES*/ },\n { no: 2, name: \"size\", kind: \"scalar\", T: 4 /*ScalarType.UINT64*/, L: 0 /*LongType.BIGINT*/ },\n { no: 3, name: \"new_offset\", kind: \"scalar\", T: 4 /*ScalarType.UINT64*/, L: 0 /*LongType.BIGINT*/ }\n ]);\n }\n create(value?: PartialMessage<StreamingAPI_Response>): StreamingAPI_Response {\n const message = globalThis.Object.create((this.messagePrototype!));\n message.data = new Uint8Array(0);\n message.size = 0n;\n message.newOffset = 0n;\n if (value !== undefined)\n reflectionMergePartial<StreamingAPI_Response>(this, message, value);\n return message;\n }\n internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: StreamingAPI_Response): StreamingAPI_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 /* bytes data */ 1:\n message.data = reader.bytes();\n break;\n case /* uint64 size */ 2:\n message.size = reader.uint64().toBigInt();\n break;\n case /* uint64 new_offset */ 3:\n message.newOffset = reader.uint64().toBigInt();\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: StreamingAPI_Response, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {\n /* bytes data = 1; */\n if (message.data.length)\n writer.tag(1, WireType.LengthDelimited).bytes(message.data);\n /* uint64 size = 2; */\n if (message.size !== 0n)\n writer.tag(2, WireType.Varint).uint64(message.size);\n /* uint64 new_offset = 3; */\n if (message.newOffset !== 0n)\n writer.tag(3, WireType.Varint).uint64(message.newOffset);\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.StreamingAPI.Response\n */\nexport const StreamingAPI_Response = new StreamingAPI_Response$Type();\n/**\n * @generated ServiceType for protobuf service MiLaboratories.Controller.Shared.Streaming\n */\nexport const Streaming = new ServiceType(\"MiLaboratories.Controller.Shared.Streaming\", [\n { name: \"ReadBinary\", options: { \"google.api.http\": { post: \"/v1/read/binary\", body: \"*\" } }, I: StreamingAPI_ReadBinary, O: StreamingAPI_Response },\n { name: \"ReadText\", options: { \"google.api.http\": { post: \"/v1/read/text\", body: \"*\" } }, I: StreamingAPI_ReadText, O: StreamingAPI_Response },\n { name: \"LastLines\", options: { \"google.api.http\": { post: \"/v1/last-lines\", body: \"*\" } }, I: StreamingAPI_LastLines, O: StreamingAPI_Response }\n]);\n"],"mappings":";;;;AA0LA,IAAM,oBAAN,cAAgCA,qBAAAA,YAA0B;CACtD,cAAc;AACV,QAAM,iDAAiD,EAAE,CAAC;;CAE9D,OAAO,OAAoD;EACvD,MAAM,UAAU,WAAW,OAAO,OAAQ,KAAK,iBAAmB;AAClE,MAAI,UAAU,KAAA,EACV,EAAA,GAAA,qBAAA,wBAAqC,MAAM,SAAS,MAAM;AAC9D,SAAO;;CAEX,mBAAmB,QAAuB,QAAgB,SAA4B,QAAqC;EACvH,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;AAC7B,SAAI,MAAM,MACN,EAAC,MAAM,OAAOC,qBAAAA,oBAAoB,SAAS,GAAG,KAAK,UAAU,SAAS,SAAS,UAAU,EAAE;;;AAG3G,SAAO;;CAEX,oBAAoB,SAAuB,QAAuB,SAA4C;EAC1G,IAAI,IAAI,QAAQ;AAChB,MAAI,MAAM,MACN,EAAC,KAAK,OAAOA,qBAAAA,oBAAoB,UAAU,GAAG,KAAK,UAAU,SAAS,OAAO;AACjF,SAAO;;;AAMa,IAAI,mBAAmB;AAEnD,IAAM,+BAAN,cAA2CD,qBAAAA,YAAqC;CAC5E,cAAc;AACV,QAAM,4DAA4D;GAC9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GAAE,MAAM;GAAiB,MAAM;GAAK,EAAE;EAAE,GAAG;EAAuB,GAAG;EAAuB;CAC9I;EAAE,MAAM;EAAa,SAAS,EAAE,mBAAmB;GAAE,MAAM;GAAkB,MAAM;GAAK,EAAE;EAAE,GAAG;EAAwB,GAAG;EAAuB;CACpJ,CAAC"}
|
|
1
|
+
{"version":3,"file":"protocol.cjs","names":["MessageType","UnknownFieldHandler","WireType","ServiceType"],"sources":["../../../../../../../../../src/proto-grpc/github.com/milaboratory/pl/controllers/shared/grpc/streamingapi/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/streamingapi/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\";\n/**\n * @generated from protobuf message MiLaboratories.Controller.Shared.StreamingAPI\n */\nexport interface StreamingAPI {\n}\n/**\n * @generated from protobuf message MiLaboratories.Controller.Shared.StreamingAPI.ReadBinary\n */\nexport interface StreamingAPI_ReadBinary {\n /**\n * <resource_id> of Stream resource that keeps info on item to be streamed.\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: bytes resource_signature = 3\n */\n resourceSignature: Uint8Array;\n /**\n * <offset> makes the streamer perform a seek operation to the given offset before sending the data.\n *\n * @generated from protobuf field: int64 offset = 2\n */\n offset: bigint;\n /**\n * <chunk_size> limits the maximum size of <data> for response message in stream.\n *\n * Default value: 32 768 (32 KiB)\n * Max value: 3900 * 1024 (3.9 MiB)\n *\n * @generated from protobuf field: optional uint32 chunk_size = 11\n */\n chunkSize?: number;\n}\n/**\n * @generated from protobuf message MiLaboratories.Controller.Shared.StreamingAPI.ReadText\n */\nexport interface StreamingAPI_ReadText {\n /**\n * <resource_id> of Stream resource that keeps info on item to be streamed.\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: bytes resource_signature = 3\n */\n resourceSignature: Uint8Array;\n /**\n * <offset> makes the streamer perform a seek operation to the given offset before sending the contents.\n * This offset is taken in BYTES, as it eases streaming recovery after a client reconnection or controller restart.\n * The client can just use the <new_offset> value of the last response from the server to continue streaming after reconnection.\n *\n * @generated from protobuf field: int64 offset = 2\n */\n offset: bigint;\n /**\n * <read_limit> allows the client to limit total data sent from the server.\n * Measured in lines of text.\n * E.g. to read top 1000 lines from stream source, use <read_limit> = 1000.\n * When both <read_limit> and <search>/<search_re> are set, the <read_limit> is applied first.\n * This is equivalent to 'head -n <read_limit> | grep <search>'.\n * At most 3.9 MiB (3900 KiB) of data is returned in a single read regardless of the <read_limit> option\n * Only full lines of text are returned except for the last line from the completed source\n * (the one that is not expected to have new data, like a blob in storage)\n *\n * @generated from protobuf field: optional int64 read_limit = 20\n */\n readLimit?: bigint;\n /**\n * <search> is a substring for the line search pattern.\n * This option makes the controller send to the client only lines that\n * have the given substring.\n *\n * @generated from protobuf field: optional string search = 21\n */\n search?: string;\n /**\n * <search_re> is a regular expression for the line search pattern.\n * This option makes the controller send to the client only lines that\n * match the given regular expression.\n *\n * @generated from protobuf field: optional string search_re = 22\n */\n searchRe?: string;\n}\n/**\n * @generated from protobuf message MiLaboratories.Controller.Shared.StreamingAPI.LastLines\n */\nexport interface StreamingAPI_LastLines {\n /**\n * <resource_id> of Stream resource that keeps info on item to be streamed.\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: bytes resource_signature = 4\n */\n resourceSignature: Uint8Array;\n /**\n * <offset> makes the streamer perform a seek operation to the given offset before sending the contents.\n * This offset is taken in BYTES, as it eases streaming recovery after a client reconnection or controller restart.\n * By default, LastLines starts reading the data source from the very last byte available in the data stream\n * at the moment of the call, but the client can set the server to start from an earlier position.\n *\n * @generated from protobuf field: optional int64 offset = 2\n */\n offset?: bigint;\n /**\n * <line_count> makes the streamer return up to <line_count> lines to the client.\n * Default value: 1\n *\n * @generated from protobuf field: optional int32 line_count = 3\n */\n lineCount?: number;\n /**\n * <search> is a substring for the line search pattern.\n * This option makes the controller send to the client only lines that\n * have the given substring.\n *\n * @generated from protobuf field: optional string search = 21\n */\n search?: string;\n /**\n * <search_re> is a regular expression for the line search pattern.\n * This option makes the controller send to the client only lines that\n * match the given regular expression.\n *\n * @generated from protobuf field: optional string search_re = 22\n */\n searchRe?: string;\n}\n/**\n * @generated from protobuf message MiLaboratories.Controller.Shared.StreamingAPI.Response\n */\nexport interface StreamingAPI_Response {\n /**\n * data chunk from the item, starting from the <new_offset> of the previous message in the same stream.\n *\n * @generated from protobuf field: bytes data = 1\n */\n data: Uint8Array;\n /**\n * <size> is the actual size of the streamed item at the moment of this message.\n * This might not be the final amount of streamed data, as the stream source can be updated\n * by another independent process (e.g., data is written to a log file).\n * This field in combination with <new_offset> shows how far the client is from the end\n * of the data right now.\n *\n * @generated from protobuf field: uint64 size = 2\n */\n size: bigint;\n /**\n * <new_offset> is the new offset in bytes from the start of the streamed item,\n * including the size of <data> in the current response.\n * A call to the Stream RPC with <offset> = <new_offset> will continue\n * streaming from the place of the last received message\n * (e.g. <offset> = <new_offset> - 1 will repeat the last byte of\n * previously received <data>)\n *\n * @generated from protobuf field: uint64 new_offset = 3\n */\n newOffset: bigint;\n}\n// @generated message type with reflection information, may provide speed optimized methods\nclass StreamingAPI$Type extends MessageType<StreamingAPI> {\n constructor() {\n super(\"MiLaboratories.Controller.Shared.StreamingAPI\", []);\n }\n create(value?: PartialMessage<StreamingAPI>): StreamingAPI {\n const message = globalThis.Object.create((this.messagePrototype!));\n if (value !== undefined)\n reflectionMergePartial<StreamingAPI>(this, message, value);\n return message;\n }\n internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: StreamingAPI): StreamingAPI {\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: StreamingAPI, 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.StreamingAPI\n */\nexport const StreamingAPI = new StreamingAPI$Type();\n// @generated message type with reflection information, may provide speed optimized methods\nclass StreamingAPI_ReadBinary$Type extends MessageType<StreamingAPI_ReadBinary> {\n constructor() {\n super(\"MiLaboratories.Controller.Shared.StreamingAPI.ReadBinary\", [\n { no: 1, name: \"resource_id\", kind: \"scalar\", T: 4 /*ScalarType.UINT64*/, L: 0 /*LongType.BIGINT*/ },\n { no: 3, name: \"resource_signature\", kind: \"scalar\", T: 12 /*ScalarType.BYTES*/ },\n { no: 2, name: \"offset\", kind: \"scalar\", T: 3 /*ScalarType.INT64*/, L: 0 /*LongType.BIGINT*/ },\n { no: 11, name: \"chunk_size\", kind: \"scalar\", opt: true, T: 13 /*ScalarType.UINT32*/ }\n ]);\n }\n create(value?: PartialMessage<StreamingAPI_ReadBinary>): StreamingAPI_ReadBinary {\n const message = globalThis.Object.create((this.messagePrototype!));\n message.resourceId = 0n;\n message.resourceSignature = new Uint8Array(0);\n message.offset = 0n;\n if (value !== undefined)\n reflectionMergePartial<StreamingAPI_ReadBinary>(this, message, value);\n return message;\n }\n internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: StreamingAPI_ReadBinary): StreamingAPI_ReadBinary {\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 /* bytes resource_signature */ 3:\n message.resourceSignature = reader.bytes();\n break;\n case /* int64 offset */ 2:\n message.offset = reader.int64().toBigInt();\n break;\n case /* optional uint32 chunk_size */ 11:\n message.chunkSize = reader.uint32();\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: StreamingAPI_ReadBinary, 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 /* int64 offset = 2; */\n if (message.offset !== 0n)\n writer.tag(2, WireType.Varint).int64(message.offset);\n /* bytes resource_signature = 3; */\n if (message.resourceSignature.length)\n writer.tag(3, WireType.LengthDelimited).bytes(message.resourceSignature);\n /* optional uint32 chunk_size = 11; */\n if (message.chunkSize !== undefined)\n writer.tag(11, WireType.Varint).uint32(message.chunkSize);\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.StreamingAPI.ReadBinary\n */\nexport const StreamingAPI_ReadBinary = new StreamingAPI_ReadBinary$Type();\n// @generated message type with reflection information, may provide speed optimized methods\nclass StreamingAPI_ReadText$Type extends MessageType<StreamingAPI_ReadText> {\n constructor() {\n super(\"MiLaboratories.Controller.Shared.StreamingAPI.ReadText\", [\n { no: 1, name: \"resource_id\", kind: \"scalar\", T: 4 /*ScalarType.UINT64*/, L: 0 /*LongType.BIGINT*/ },\n { no: 3, name: \"resource_signature\", kind: \"scalar\", T: 12 /*ScalarType.BYTES*/ },\n { no: 2, name: \"offset\", kind: \"scalar\", T: 3 /*ScalarType.INT64*/, L: 0 /*LongType.BIGINT*/ },\n { no: 20, name: \"read_limit\", kind: \"scalar\", opt: true, T: 3 /*ScalarType.INT64*/, L: 0 /*LongType.BIGINT*/ },\n { no: 21, name: \"search\", kind: \"scalar\", opt: true, T: 9 /*ScalarType.STRING*/ },\n { no: 22, name: \"search_re\", kind: \"scalar\", opt: true, T: 9 /*ScalarType.STRING*/ }\n ]);\n }\n create(value?: PartialMessage<StreamingAPI_ReadText>): StreamingAPI_ReadText {\n const message = globalThis.Object.create((this.messagePrototype!));\n message.resourceId = 0n;\n message.resourceSignature = new Uint8Array(0);\n message.offset = 0n;\n if (value !== undefined)\n reflectionMergePartial<StreamingAPI_ReadText>(this, message, value);\n return message;\n }\n internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: StreamingAPI_ReadText): StreamingAPI_ReadText {\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 /* bytes resource_signature */ 3:\n message.resourceSignature = reader.bytes();\n break;\n case /* int64 offset */ 2:\n message.offset = reader.int64().toBigInt();\n break;\n case /* optional int64 read_limit */ 20:\n message.readLimit = reader.int64().toBigInt();\n break;\n case /* optional string search */ 21:\n message.search = reader.string();\n break;\n case /* optional string search_re */ 22:\n message.searchRe = 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: StreamingAPI_ReadText, 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 /* int64 offset = 2; */\n if (message.offset !== 0n)\n writer.tag(2, WireType.Varint).int64(message.offset);\n /* bytes resource_signature = 3; */\n if (message.resourceSignature.length)\n writer.tag(3, WireType.LengthDelimited).bytes(message.resourceSignature);\n /* optional int64 read_limit = 20; */\n if (message.readLimit !== undefined)\n writer.tag(20, WireType.Varint).int64(message.readLimit);\n /* optional string search = 21; */\n if (message.search !== undefined)\n writer.tag(21, WireType.LengthDelimited).string(message.search);\n /* optional string search_re = 22; */\n if (message.searchRe !== undefined)\n writer.tag(22, WireType.LengthDelimited).string(message.searchRe);\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.StreamingAPI.ReadText\n */\nexport const StreamingAPI_ReadText = new StreamingAPI_ReadText$Type();\n// @generated message type with reflection information, may provide speed optimized methods\nclass StreamingAPI_LastLines$Type extends MessageType<StreamingAPI_LastLines> {\n constructor() {\n super(\"MiLaboratories.Controller.Shared.StreamingAPI.LastLines\", [\n { no: 1, name: \"resource_id\", kind: \"scalar\", T: 4 /*ScalarType.UINT64*/, L: 0 /*LongType.BIGINT*/ },\n { no: 4, name: \"resource_signature\", kind: \"scalar\", T: 12 /*ScalarType.BYTES*/ },\n { no: 2, name: \"offset\", kind: \"scalar\", opt: true, T: 3 /*ScalarType.INT64*/, L: 0 /*LongType.BIGINT*/ },\n { no: 3, name: \"line_count\", kind: \"scalar\", opt: true, T: 5 /*ScalarType.INT32*/ },\n { no: 21, name: \"search\", kind: \"scalar\", opt: true, T: 9 /*ScalarType.STRING*/ },\n { no: 22, name: \"search_re\", kind: \"scalar\", opt: true, T: 9 /*ScalarType.STRING*/ }\n ]);\n }\n create(value?: PartialMessage<StreamingAPI_LastLines>): StreamingAPI_LastLines {\n const message = globalThis.Object.create((this.messagePrototype!));\n message.resourceId = 0n;\n message.resourceSignature = new Uint8Array(0);\n if (value !== undefined)\n reflectionMergePartial<StreamingAPI_LastLines>(this, message, value);\n return message;\n }\n internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: StreamingAPI_LastLines): StreamingAPI_LastLines {\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 /* bytes resource_signature */ 4:\n message.resourceSignature = reader.bytes();\n break;\n case /* optional int64 offset */ 2:\n message.offset = reader.int64().toBigInt();\n break;\n case /* optional int32 line_count */ 3:\n message.lineCount = reader.int32();\n break;\n case /* optional string search */ 21:\n message.search = reader.string();\n break;\n case /* optional string search_re */ 22:\n message.searchRe = 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: StreamingAPI_LastLines, 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 /* optional int64 offset = 2; */\n if (message.offset !== undefined)\n writer.tag(2, WireType.Varint).int64(message.offset);\n /* optional int32 line_count = 3; */\n if (message.lineCount !== undefined)\n writer.tag(3, WireType.Varint).int32(message.lineCount);\n /* bytes resource_signature = 4; */\n if (message.resourceSignature.length)\n writer.tag(4, WireType.LengthDelimited).bytes(message.resourceSignature);\n /* optional string search = 21; */\n if (message.search !== undefined)\n writer.tag(21, WireType.LengthDelimited).string(message.search);\n /* optional string search_re = 22; */\n if (message.searchRe !== undefined)\n writer.tag(22, WireType.LengthDelimited).string(message.searchRe);\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.StreamingAPI.LastLines\n */\nexport const StreamingAPI_LastLines = new StreamingAPI_LastLines$Type();\n// @generated message type with reflection information, may provide speed optimized methods\nclass StreamingAPI_Response$Type extends MessageType<StreamingAPI_Response> {\n constructor() {\n super(\"MiLaboratories.Controller.Shared.StreamingAPI.Response\", [\n { no: 1, name: \"data\", kind: \"scalar\", T: 12 /*ScalarType.BYTES*/ },\n { no: 2, name: \"size\", kind: \"scalar\", T: 4 /*ScalarType.UINT64*/, L: 0 /*LongType.BIGINT*/ },\n { no: 3, name: \"new_offset\", kind: \"scalar\", T: 4 /*ScalarType.UINT64*/, L: 0 /*LongType.BIGINT*/ }\n ]);\n }\n create(value?: PartialMessage<StreamingAPI_Response>): StreamingAPI_Response {\n const message = globalThis.Object.create((this.messagePrototype!));\n message.data = new Uint8Array(0);\n message.size = 0n;\n message.newOffset = 0n;\n if (value !== undefined)\n reflectionMergePartial<StreamingAPI_Response>(this, message, value);\n return message;\n }\n internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: StreamingAPI_Response): StreamingAPI_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 /* bytes data */ 1:\n message.data = reader.bytes();\n break;\n case /* uint64 size */ 2:\n message.size = reader.uint64().toBigInt();\n break;\n case /* uint64 new_offset */ 3:\n message.newOffset = reader.uint64().toBigInt();\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: StreamingAPI_Response, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {\n /* bytes data = 1; */\n if (message.data.length)\n writer.tag(1, WireType.LengthDelimited).bytes(message.data);\n /* uint64 size = 2; */\n if (message.size !== 0n)\n writer.tag(2, WireType.Varint).uint64(message.size);\n /* uint64 new_offset = 3; */\n if (message.newOffset !== 0n)\n writer.tag(3, WireType.Varint).uint64(message.newOffset);\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.StreamingAPI.Response\n */\nexport const StreamingAPI_Response = new StreamingAPI_Response$Type();\n/**\n * @generated ServiceType for protobuf service MiLaboratories.Controller.Shared.Streaming\n */\nexport const Streaming = new ServiceType(\"MiLaboratories.Controller.Shared.Streaming\", [\n { name: \"ReadBinary\", options: { \"google.api.http\": { post: \"/v1/read/binary\", body: \"*\" } }, I: StreamingAPI_ReadBinary, O: StreamingAPI_Response },\n { name: \"ReadText\", options: { \"google.api.http\": { post: \"/v1/read/text\", body: \"*\" } }, I: StreamingAPI_ReadText, O: StreamingAPI_Response },\n { name: \"LastLines\", options: { \"google.api.http\": {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Aa,YAAY,IAAIE,yBAAAA,YAAY,8CAA8C;CACnF;EAAE,MAAM;EAAc,SAAS,EAAE,mBAAmB;GAAE,MAAM;GAAmB,MAAM;EAAI,EAAE;EAAG,GAAG;EAAyB,GAAG;CAAsB;CACnJ;EAAE,MAAM;EAAY,SAAS,EAAE,mBAAmB;GAAE,MAAM;GAAiB,MAAM;EAAI,EAAE;EAAG,GAAG;EAAuB,GAAG;CAAsB;CAC7I;EAAE,MAAM;EAAa,SAAS,EAAE,mBAAmB;GAAE,MAAM;GAAkB,MAAM;EAAI,EAAE;EAAG,GAAG;EAAwB,GAAG;CAAsB;AACpJ,CAAC"}
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
require("../../../../../../../../_virtual/_rolldown/runtime.cjs");
|
|
2
1
|
const require_protocol = require("./protocol.cjs");
|
|
3
2
|
let _protobuf_ts_runtime_rpc = require("@protobuf-ts/runtime-rpc");
|
|
4
3
|
//#region src/proto-grpc/github.com/milaboratory/pl/controllers/shared/grpc/streamingapi/protocol.client.ts
|
|
@@ -11,6 +10,7 @@ let _protobuf_ts_runtime_rpc = require("@protobuf-ts/runtime-rpc");
|
|
|
11
10
|
* @generated from protobuf service MiLaboratories.Controller.Shared.Streaming
|
|
12
11
|
*/
|
|
13
12
|
var StreamingClient = class {
|
|
13
|
+
_transport;
|
|
14
14
|
typeName = require_protocol.Streaming.typeName;
|
|
15
15
|
methods = require_protocol.Streaming.methods;
|
|
16
16
|
options = require_protocol.Streaming.options;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"protocol.client.cjs","names":["Streaming"],"sources":["../../../../../../../../../src/proto-grpc/github.com/milaboratory/pl/controllers/shared/grpc/streamingapi/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/streamingapi/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 { Streaming } from \"./protocol\";\nimport type { StreamingAPI_LastLines } from \"./protocol\";\nimport type { StreamingAPI_ReadText } from \"./protocol\";\nimport { stackIntercept } from \"@protobuf-ts/runtime-rpc\";\nimport type { StreamingAPI_Response } from \"./protocol\";\nimport type { StreamingAPI_ReadBinary } from \"./protocol\";\nimport type { UnaryCall } from \"@protobuf-ts/runtime-rpc\";\nimport type { RpcOptions } from \"@protobuf-ts/runtime-rpc\";\n/**\n *\n * Streaming provides access to an online data stream from an item in storage. Whenever data is appended to an item,\n * the caller receives this fresh data in a stream from the server.\n *\n *\n * @generated from protobuf service MiLaboratories.Controller.Shared.Streaming\n */\nexport interface IStreamingClient {\n /**\n * ReadBinary allows reading a remote item in chunks using a stream-like API.\n * The client receives a single response for each call and has to send new calls\n * to the server to get fresh data from the remote item.\n * Each response (each chunk from the server) contains no more than 3.9MiB of data.\n *\n * @generated from protobuf rpc: ReadBinary\n */\n readBinary(input: StreamingAPI_ReadBinary, options?: RpcOptions): UnaryCall<StreamingAPI_ReadBinary, StreamingAPI_Response>;\n /**\n * ReadText allows reading a remote item in chunks using a stream-like API.\n * The client receives a single response for each call and has to send new calls\n * to the server to get fresh data from the remote item.\n * Each response (each chunk from the server) contains no more than 3.9MiB of data.\n *\n * @generated from protobuf rpc: ReadText\n */\n readText(input: StreamingAPI_ReadText, options?: RpcOptions): UnaryCall<StreamingAPI_ReadText, StreamingAPI_Response>;\n /**\n * LastLines provides a single message with the last lines from the data source.\n * When a search pattern is specified, the last lines matching the given pattern are returned.\n * The lines are returned in reverse order, as the server reads the data source from the end.\n * Consider it equivalent to 'tac <file> | grep <search> | head -n <line_count>'\n * The <new_offset> returned in the response points to the _beginning_ of the last\n * line found, so the client can continue reading the file backwards in subsequent calls.\n * This means that the use of this <new_offset> in ReadText() will return the last line\n * returned in the LastLines() response.\n *\n * @generated from protobuf rpc: LastLines\n */\n lastLines(input: StreamingAPI_LastLines, options?: RpcOptions): UnaryCall<StreamingAPI_LastLines, StreamingAPI_Response>;\n}\n/**\n *\n * Streaming provides access to an online data stream from an item in storage. Whenever data is appended to an item,\n * the caller receives this fresh data in a stream from the server.\n *\n *\n * @generated from protobuf service MiLaboratories.Controller.Shared.Streaming\n */\nexport class StreamingClient implements IStreamingClient, ServiceInfo {\n typeName = Streaming.typeName;\n methods = Streaming.methods;\n options = Streaming.options;\n constructor(private readonly _transport: RpcTransport) {\n }\n /**\n * ReadBinary allows reading a remote item in chunks using a stream-like API.\n * The client receives a single response for each call and has to send new calls\n * to the server to get fresh data from the remote item.\n * Each response (each chunk from the server) contains no more than 3.9MiB of data.\n *\n * @generated from protobuf rpc: ReadBinary\n */\n readBinary(input: StreamingAPI_ReadBinary, options?: RpcOptions): UnaryCall<StreamingAPI_ReadBinary, StreamingAPI_Response> {\n const method = this.methods[0], opt = this._transport.mergeOptions(options);\n return stackIntercept<StreamingAPI_ReadBinary, StreamingAPI_Response>(\"unary\", this._transport, method, opt, input);\n }\n /**\n * ReadText allows reading a remote item in chunks using a stream-like API.\n * The client receives a single response for each call and has to send new calls\n * to the server to get fresh data from the remote item.\n * Each response (each chunk from the server) contains no more than 3.9MiB of data.\n *\n * @generated from protobuf rpc: ReadText\n */\n readText(input: StreamingAPI_ReadText, options?: RpcOptions): UnaryCall<StreamingAPI_ReadText, StreamingAPI_Response> {\n const method = this.methods[1], opt = this._transport.mergeOptions(options);\n return stackIntercept<StreamingAPI_ReadText, StreamingAPI_Response>(\"unary\", this._transport, method, opt, input);\n }\n /**\n * LastLines provides a single message with the last lines from the data source.\n * When a search pattern is specified, the last lines matching the given pattern are returned.\n * The lines are returned in reverse order, as the server reads the data source from the end.\n * Consider it equivalent to 'tac <file> | grep <search> | head -n <line_count>'\n * The <new_offset> returned in the response points to the _beginning_ of the last\n * line found, so the client can continue reading the file backwards in subsequent calls.\n * This means that the use of this <new_offset> in ReadText() will return the last line\n * returned in the LastLines() response.\n *\n * @generated from protobuf rpc: LastLines\n */\n lastLines(input: StreamingAPI_LastLines, options?: RpcOptions): UnaryCall<StreamingAPI_LastLines, StreamingAPI_Response> {\n const method = this.methods[2], opt = this._transport.mergeOptions(options);\n return stackIntercept<StreamingAPI_LastLines, StreamingAPI_Response>(\"unary\", this._transport, method, opt, input);\n }\n}\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"protocol.client.cjs","names":["Streaming"],"sources":["../../../../../../../../../src/proto-grpc/github.com/milaboratory/pl/controllers/shared/grpc/streamingapi/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/streamingapi/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 { Streaming } from \"./protocol\";\nimport type { StreamingAPI_LastLines } from \"./protocol\";\nimport type { StreamingAPI_ReadText } from \"./protocol\";\nimport { stackIntercept } from \"@protobuf-ts/runtime-rpc\";\nimport type { StreamingAPI_Response } from \"./protocol\";\nimport type { StreamingAPI_ReadBinary } from \"./protocol\";\nimport type { UnaryCall } from \"@protobuf-ts/runtime-rpc\";\nimport type { RpcOptions } from \"@protobuf-ts/runtime-rpc\";\n/**\n *\n * Streaming provides access to an online data stream from an item in storage. Whenever data is appended to an item,\n * the caller receives this fresh data in a stream from the server.\n *\n *\n * @generated from protobuf service MiLaboratories.Controller.Shared.Streaming\n */\nexport interface IStreamingClient {\n /**\n * ReadBinary allows reading a remote item in chunks using a stream-like API.\n * The client receives a single response for each call and has to send new calls\n * to the server to get fresh data from the remote item.\n * Each response (each chunk from the server) contains no more than 3.9MiB of data.\n *\n * @generated from protobuf rpc: ReadBinary\n */\n readBinary(input: StreamingAPI_ReadBinary, options?: RpcOptions): UnaryCall<StreamingAPI_ReadBinary, StreamingAPI_Response>;\n /**\n * ReadText allows reading a remote item in chunks using a stream-like API.\n * The client receives a single response for each call and has to send new calls\n * to the server to get fresh data from the remote item.\n * Each response (each chunk from the server) contains no more than 3.9MiB of data.\n *\n * @generated from protobuf rpc: ReadText\n */\n readText(input: StreamingAPI_ReadText, options?: RpcOptions): UnaryCall<StreamingAPI_ReadText, StreamingAPI_Response>;\n /**\n * LastLines provides a single message with the last lines from the data source.\n * When a search pattern is specified, the last lines matching the given pattern are returned.\n * The lines are returned in reverse order, as the server reads the data source from the end.\n * Consider it equivalent to 'tac <file> | grep <search> | head -n <line_count>'\n * The <new_offset> returned in the response points to the _beginning_ of the last\n * line found, so the client can continue reading the file backwards in subsequent calls.\n * This means that the use of this <new_offset> in ReadText() will return the last line\n * returned in the LastLines() response.\n *\n * @generated from protobuf rpc: LastLines\n */\n lastLines(input: StreamingAPI_LastLines, options?: RpcOptions): UnaryCall<StreamingAPI_LastLines, StreamingAPI_Response>;\n}\n/**\n *\n * Streaming provides access to an online data stream from an item in storage. Whenever data is appended to an item,\n * the caller receives this fresh data in a stream from the server.\n *\n *\n * @generated from protobuf service MiLaboratories.Controller.Shared.Streaming\n */\nexport class StreamingClient implements IStreamingClient, ServiceInfo {\n typeName = Streaming.typeName;\n methods = Streaming.methods;\n options = Streaming.options;\n constructor(private readonly _transport: RpcTransport) {\n }\n /**\n * ReadBinary allows reading a remote item in chunks using a stream-like API.\n * The client receives a single response for each call and has to send new calls\n * to the server to get fresh data from the remote item.\n * Each response (each chunk from the server) contains no more than 3.9MiB of data.\n *\n * @generated from protobuf rpc: ReadBinary\n */\n readBinary(input: StreamingAPI_ReadBinary, options?: RpcOptions): UnaryCall<StreamingAPI_ReadBinary, StreamingAPI_Response> {\n const method = this.methods[0], opt = this._transport.mergeOptions(options);\n return stackIntercept<StreamingAPI_ReadBinary, StreamingAPI_Response>(\"unary\", this._transport, method, opt, input);\n }\n /**\n * ReadText allows reading a remote item in chunks using a stream-like API.\n * The client receives a single response for each call and has to send new calls\n * to the server to get fresh data from the remote item.\n * Each response (each chunk from the server) contains no more than 3.9MiB of data.\n *\n * @generated from protobuf rpc: ReadText\n */\n readText(input: StreamingAPI_ReadText, options?: RpcOptions): UnaryCall<StreamingAPI_ReadText, StreamingAPI_Response> {\n const method = this.methods[1], opt = this._transport.mergeOptions(options);\n return stackIntercept<StreamingAPI_ReadText, StreamingAPI_Response>(\"unary\", this._transport, method, opt, input);\n }\n /**\n * LastLines provides a single message with the last lines from the data source.\n * When a search pattern is specified, the last lines matching the given pattern are returned.\n * The lines are returned in reverse order, as the server reads the data source from the end.\n * Consider it equivalent to 'tac <file> | grep <search> | head -n <line_count>'\n * The <new_offset> returned in the response points to the _beginning_ of the last\n * line found, so the client can continue reading the file backwards in subsequent calls.\n * This means that the use of this <new_offset> in ReadText() will return the last line\n * returned in the LastLines() response.\n *\n * @generated from protobuf rpc: LastLines\n */\n lastLines(input: StreamingAPI_LastLines, options?: RpcOptions): UnaryCall<StreamingAPI_LastLines, StreamingAPI_Response> {\n const method = this.methods[2], opt = this._transport.mergeOptions(options);\n return stackIntercept<StreamingAPI_LastLines, StreamingAPI_Response>(\"unary\", this._transport, method, opt, input);\n }\n}\n"],"mappings":";;;;;;;;;;;AA8DA,IAAa,kBAAb,MAAsE;CAIrC;CAH7B,WAAWA,iBAAAA,UAAU;CACrB,UAAUA,iBAAAA,UAAU;CACpB,UAAUA,iBAAAA,UAAU;CACpB,YAAY,YAA2C;EAA1B,KAAA,aAAA;CAC7B;;;;;;;;;CASA,WAAW,OAAgC,SAAiF;EACxH,MAAM,SAAS,KAAK,QAAQ,IAAI,MAAM,KAAK,WAAW,aAAa,OAAO;EAC1E,QAAA,GAAA,yBAAA,eAAA,CAAsE,SAAS,KAAK,YAAY,QAAQ,KAAK,KAAK;CACtH;;;;;;;;;CASA,SAAS,OAA8B,SAA+E;EAClH,MAAM,SAAS,KAAK,QAAQ,IAAI,MAAM,KAAK,WAAW,aAAa,OAAO;EAC1E,QAAA,GAAA,yBAAA,eAAA,CAAoE,SAAS,KAAK,YAAY,QAAQ,KAAK,KAAK;CACpH;;;;;;;;;;;;;CAaA,UAAU,OAA+B,SAAgF;EACrH,MAAM,SAAS,KAAK,QAAQ,IAAI,MAAM,KAAK,WAAW,aAAa,OAAO;EAC1E,QAAA,GAAA,yBAAA,eAAA,CAAqE,SAAS,KAAK,YAAY,QAAQ,KAAK,KAAK;CACrH;AACJ"}
|
|
@@ -1,7 +1,5 @@
|
|
|
1
1
|
import { StreamingAPI_LastLines, StreamingAPI_ReadBinary, StreamingAPI_ReadText, StreamingAPI_Response } from "./protocol.js";
|
|
2
|
-
import * as _$_protobuf_ts_runtime_rpc0 from "@protobuf-ts/runtime-rpc";
|
|
3
2
|
import { RpcOptions, RpcTransport, ServiceInfo, UnaryCall } from "@protobuf-ts/runtime-rpc";
|
|
4
|
-
import * as _$_protobuf_ts_runtime0 from "@protobuf-ts/runtime";
|
|
5
3
|
|
|
6
4
|
//#region src/proto-grpc/github.com/milaboratory/pl/controllers/shared/grpc/streamingapi/protocol.client.d.ts
|
|
7
5
|
/**
|
|
@@ -56,9 +54,9 @@ interface IStreamingClient {
|
|
|
56
54
|
declare class StreamingClient implements IStreamingClient, ServiceInfo {
|
|
57
55
|
private readonly _transport;
|
|
58
56
|
typeName: string;
|
|
59
|
-
methods:
|
|
57
|
+
methods: import("@protobuf-ts/runtime-rpc").MethodInfo<any, any>[];
|
|
60
58
|
options: {
|
|
61
|
-
[extensionName: string]:
|
|
59
|
+
[extensionName: string]: import("@protobuf-ts/runtime").JsonValue;
|
|
62
60
|
};
|
|
63
61
|
constructor(_transport: RpcTransport);
|
|
64
62
|
/**
|
|
@@ -94,5 +92,5 @@ declare class StreamingClient implements IStreamingClient, ServiceInfo {
|
|
|
94
92
|
lastLines(input: StreamingAPI_LastLines, options?: RpcOptions): UnaryCall<StreamingAPI_LastLines, StreamingAPI_Response>;
|
|
95
93
|
}
|
|
96
94
|
//#endregion
|
|
97
|
-
export { StreamingClient };
|
|
95
|
+
export { IStreamingClient, StreamingClient };
|
|
98
96
|
//# sourceMappingURL=protocol.client.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"protocol.client.d.ts","names":[],"sources":["../../../../../../../../../src/proto-grpc/github.com/milaboratory/pl/controllers/shared/grpc/streamingapi/protocol.client.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"protocol.client.d.ts","names":[],"sources":["../../../../../../../../../src/proto-grpc/github.com/milaboratory/pl/controllers/shared/grpc/streamingapi/protocol.client.ts"],"mappings":";;;;;;;;;;;;UAqBiB,gBAAA;EA+BI;;;;;;;;EAtBjB,UAAA,CAAW,KAAA,EAAO,uBAAA,EAAyB,OAAA,GAAU,UAAA,GAAa,SAAA,CAAU,uBAAA,EAAyB,qBAAA;EAA1F;;;;;;;;EASX,QAAA,CAAS,KAAA,EAAO,qBAAA,EAAuB,OAAA,GAAU,UAAA,GAAa,SAAA,CAAU,qBAAA,EAAuB,qBAAA;EAA9C;;;;;;;;;;;;EAajD,SAAA,CAAU,KAAA,EAAO,sBAAA,EAAwB,OAAA,GAAU,UAAA,GAAa,SAAA,CAAU,sBAAA,EAAwB,qBAAA;AAAA;AAAqB;AAU3H;;;;;;;AAV2H,cAU9G,eAAA,YAA2B,gBAAA,EAAkB,WAAA;EAAA,iBAIzB,UAAA;EAH7B,QAAA;EACA,OAAA,qCAAO,UAAA;EACP,OAAA;IAAA;;cAC6B,UAAA,EAAY,YAAA;EAsCU;;;;;;;;EA5BnD,UAAA,CAAW,KAAA,EAAO,uBAAA,EAAyB,OAAA,GAAU,UAAA,GAAa,SAAA,CAAU,uBAAA,EAAyB,qBAAA;EAd/C;;;;;;;;EA0BtD,QAAA,CAAS,KAAA,EAAO,qBAAA,EAAuB,OAAA,GAAU,UAAA,GAAa,SAAA,CAAU,qBAAA,EAAuB,qBAAA;EAtBtD;;;;;;;;;;;;EAsCzC,SAAA,CAAU,KAAA,EAAO,sBAAA,EAAwB,OAAA,GAAU,UAAA,GAAa,SAAA,CAAU,sBAAA,EAAwB,qBAAA;AAAA"}
|
|
@@ -10,6 +10,7 @@ import { stackIntercept } from "@protobuf-ts/runtime-rpc";
|
|
|
10
10
|
* @generated from protobuf service MiLaboratories.Controller.Shared.Streaming
|
|
11
11
|
*/
|
|
12
12
|
var StreamingClient = class {
|
|
13
|
+
_transport;
|
|
13
14
|
typeName = Streaming.typeName;
|
|
14
15
|
methods = Streaming.methods;
|
|
15
16
|
options = Streaming.options;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"protocol.client.js","names":[],"sources":["../../../../../../../../../src/proto-grpc/github.com/milaboratory/pl/controllers/shared/grpc/streamingapi/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/streamingapi/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 { Streaming } from \"./protocol\";\nimport type { StreamingAPI_LastLines } from \"./protocol\";\nimport type { StreamingAPI_ReadText } from \"./protocol\";\nimport { stackIntercept } from \"@protobuf-ts/runtime-rpc\";\nimport type { StreamingAPI_Response } from \"./protocol\";\nimport type { StreamingAPI_ReadBinary } from \"./protocol\";\nimport type { UnaryCall } from \"@protobuf-ts/runtime-rpc\";\nimport type { RpcOptions } from \"@protobuf-ts/runtime-rpc\";\n/**\n *\n * Streaming provides access to an online data stream from an item in storage. Whenever data is appended to an item,\n * the caller receives this fresh data in a stream from the server.\n *\n *\n * @generated from protobuf service MiLaboratories.Controller.Shared.Streaming\n */\nexport interface IStreamingClient {\n /**\n * ReadBinary allows reading a remote item in chunks using a stream-like API.\n * The client receives a single response for each call and has to send new calls\n * to the server to get fresh data from the remote item.\n * Each response (each chunk from the server) contains no more than 3.9MiB of data.\n *\n * @generated from protobuf rpc: ReadBinary\n */\n readBinary(input: StreamingAPI_ReadBinary, options?: RpcOptions): UnaryCall<StreamingAPI_ReadBinary, StreamingAPI_Response>;\n /**\n * ReadText allows reading a remote item in chunks using a stream-like API.\n * The client receives a single response for each call and has to send new calls\n * to the server to get fresh data from the remote item.\n * Each response (each chunk from the server) contains no more than 3.9MiB of data.\n *\n * @generated from protobuf rpc: ReadText\n */\n readText(input: StreamingAPI_ReadText, options?: RpcOptions): UnaryCall<StreamingAPI_ReadText, StreamingAPI_Response>;\n /**\n * LastLines provides a single message with the last lines from the data source.\n * When a search pattern is specified, the last lines matching the given pattern are returned.\n * The lines are returned in reverse order, as the server reads the data source from the end.\n * Consider it equivalent to 'tac <file> | grep <search> | head -n <line_count>'\n * The <new_offset> returned in the response points to the _beginning_ of the last\n * line found, so the client can continue reading the file backwards in subsequent calls.\n * This means that the use of this <new_offset> in ReadText() will return the last line\n * returned in the LastLines() response.\n *\n * @generated from protobuf rpc: LastLines\n */\n lastLines(input: StreamingAPI_LastLines, options?: RpcOptions): UnaryCall<StreamingAPI_LastLines, StreamingAPI_Response>;\n}\n/**\n *\n * Streaming provides access to an online data stream from an item in storage. Whenever data is appended to an item,\n * the caller receives this fresh data in a stream from the server.\n *\n *\n * @generated from protobuf service MiLaboratories.Controller.Shared.Streaming\n */\nexport class StreamingClient implements IStreamingClient, ServiceInfo {\n typeName = Streaming.typeName;\n methods = Streaming.methods;\n options = Streaming.options;\n constructor(private readonly _transport: RpcTransport) {\n }\n /**\n * ReadBinary allows reading a remote item in chunks using a stream-like API.\n * The client receives a single response for each call and has to send new calls\n * to the server to get fresh data from the remote item.\n * Each response (each chunk from the server) contains no more than 3.9MiB of data.\n *\n * @generated from protobuf rpc: ReadBinary\n */\n readBinary(input: StreamingAPI_ReadBinary, options?: RpcOptions): UnaryCall<StreamingAPI_ReadBinary, StreamingAPI_Response> {\n const method = this.methods[0], opt = this._transport.mergeOptions(options);\n return stackIntercept<StreamingAPI_ReadBinary, StreamingAPI_Response>(\"unary\", this._transport, method, opt, input);\n }\n /**\n * ReadText allows reading a remote item in chunks using a stream-like API.\n * The client receives a single response for each call and has to send new calls\n * to the server to get fresh data from the remote item.\n * Each response (each chunk from the server) contains no more than 3.9MiB of data.\n *\n * @generated from protobuf rpc: ReadText\n */\n readText(input: StreamingAPI_ReadText, options?: RpcOptions): UnaryCall<StreamingAPI_ReadText, StreamingAPI_Response> {\n const method = this.methods[1], opt = this._transport.mergeOptions(options);\n return stackIntercept<StreamingAPI_ReadText, StreamingAPI_Response>(\"unary\", this._transport, method, opt, input);\n }\n /**\n * LastLines provides a single message with the last lines from the data source.\n * When a search pattern is specified, the last lines matching the given pattern are returned.\n * The lines are returned in reverse order, as the server reads the data source from the end.\n * Consider it equivalent to 'tac <file> | grep <search> | head -n <line_count>'\n * The <new_offset> returned in the response points to the _beginning_ of the last\n * line found, so the client can continue reading the file backwards in subsequent calls.\n * This means that the use of this <new_offset> in ReadText() will return the last line\n * returned in the LastLines() response.\n *\n * @generated from protobuf rpc: LastLines\n */\n lastLines(input: StreamingAPI_LastLines, options?: RpcOptions): UnaryCall<StreamingAPI_LastLines, StreamingAPI_Response> {\n const method = this.methods[2], opt = this._transport.mergeOptions(options);\n return stackIntercept<StreamingAPI_LastLines, StreamingAPI_Response>(\"unary\", this._transport, method, opt, input);\n }\n}\n"],"mappings":";;;;;;;;;;;AA8DA,IAAa,kBAAb,MAAsE;
|
|
1
|
+
{"version":3,"file":"protocol.client.js","names":[],"sources":["../../../../../../../../../src/proto-grpc/github.com/milaboratory/pl/controllers/shared/grpc/streamingapi/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/streamingapi/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 { Streaming } from \"./protocol\";\nimport type { StreamingAPI_LastLines } from \"./protocol\";\nimport type { StreamingAPI_ReadText } from \"./protocol\";\nimport { stackIntercept } from \"@protobuf-ts/runtime-rpc\";\nimport type { StreamingAPI_Response } from \"./protocol\";\nimport type { StreamingAPI_ReadBinary } from \"./protocol\";\nimport type { UnaryCall } from \"@protobuf-ts/runtime-rpc\";\nimport type { RpcOptions } from \"@protobuf-ts/runtime-rpc\";\n/**\n *\n * Streaming provides access to an online data stream from an item in storage. Whenever data is appended to an item,\n * the caller receives this fresh data in a stream from the server.\n *\n *\n * @generated from protobuf service MiLaboratories.Controller.Shared.Streaming\n */\nexport interface IStreamingClient {\n /**\n * ReadBinary allows reading a remote item in chunks using a stream-like API.\n * The client receives a single response for each call and has to send new calls\n * to the server to get fresh data from the remote item.\n * Each response (each chunk from the server) contains no more than 3.9MiB of data.\n *\n * @generated from protobuf rpc: ReadBinary\n */\n readBinary(input: StreamingAPI_ReadBinary, options?: RpcOptions): UnaryCall<StreamingAPI_ReadBinary, StreamingAPI_Response>;\n /**\n * ReadText allows reading a remote item in chunks using a stream-like API.\n * The client receives a single response for each call and has to send new calls\n * to the server to get fresh data from the remote item.\n * Each response (each chunk from the server) contains no more than 3.9MiB of data.\n *\n * @generated from protobuf rpc: ReadText\n */\n readText(input: StreamingAPI_ReadText, options?: RpcOptions): UnaryCall<StreamingAPI_ReadText, StreamingAPI_Response>;\n /**\n * LastLines provides a single message with the last lines from the data source.\n * When a search pattern is specified, the last lines matching the given pattern are returned.\n * The lines are returned in reverse order, as the server reads the data source from the end.\n * Consider it equivalent to 'tac <file> | grep <search> | head -n <line_count>'\n * The <new_offset> returned in the response points to the _beginning_ of the last\n * line found, so the client can continue reading the file backwards in subsequent calls.\n * This means that the use of this <new_offset> in ReadText() will return the last line\n * returned in the LastLines() response.\n *\n * @generated from protobuf rpc: LastLines\n */\n lastLines(input: StreamingAPI_LastLines, options?: RpcOptions): UnaryCall<StreamingAPI_LastLines, StreamingAPI_Response>;\n}\n/**\n *\n * Streaming provides access to an online data stream from an item in storage. Whenever data is appended to an item,\n * the caller receives this fresh data in a stream from the server.\n *\n *\n * @generated from protobuf service MiLaboratories.Controller.Shared.Streaming\n */\nexport class StreamingClient implements IStreamingClient, ServiceInfo {\n typeName = Streaming.typeName;\n methods = Streaming.methods;\n options = Streaming.options;\n constructor(private readonly _transport: RpcTransport) {\n }\n /**\n * ReadBinary allows reading a remote item in chunks using a stream-like API.\n * The client receives a single response for each call and has to send new calls\n * to the server to get fresh data from the remote item.\n * Each response (each chunk from the server) contains no more than 3.9MiB of data.\n *\n * @generated from protobuf rpc: ReadBinary\n */\n readBinary(input: StreamingAPI_ReadBinary, options?: RpcOptions): UnaryCall<StreamingAPI_ReadBinary, StreamingAPI_Response> {\n const method = this.methods[0], opt = this._transport.mergeOptions(options);\n return stackIntercept<StreamingAPI_ReadBinary, StreamingAPI_Response>(\"unary\", this._transport, method, opt, input);\n }\n /**\n * ReadText allows reading a remote item in chunks using a stream-like API.\n * The client receives a single response for each call and has to send new calls\n * to the server to get fresh data from the remote item.\n * Each response (each chunk from the server) contains no more than 3.9MiB of data.\n *\n * @generated from protobuf rpc: ReadText\n */\n readText(input: StreamingAPI_ReadText, options?: RpcOptions): UnaryCall<StreamingAPI_ReadText, StreamingAPI_Response> {\n const method = this.methods[1], opt = this._transport.mergeOptions(options);\n return stackIntercept<StreamingAPI_ReadText, StreamingAPI_Response>(\"unary\", this._transport, method, opt, input);\n }\n /**\n * LastLines provides a single message with the last lines from the data source.\n * When a search pattern is specified, the last lines matching the given pattern are returned.\n * The lines are returned in reverse order, as the server reads the data source from the end.\n * Consider it equivalent to 'tac <file> | grep <search> | head -n <line_count>'\n * The <new_offset> returned in the response points to the _beginning_ of the last\n * line found, so the client can continue reading the file backwards in subsequent calls.\n * This means that the use of this <new_offset> in ReadText() will return the last line\n * returned in the LastLines() response.\n *\n * @generated from protobuf rpc: LastLines\n */\n lastLines(input: StreamingAPI_LastLines, options?: RpcOptions): UnaryCall<StreamingAPI_LastLines, StreamingAPI_Response> {\n const method = this.methods[2], opt = this._transport.mergeOptions(options);\n return stackIntercept<StreamingAPI_LastLines, StreamingAPI_Response>(\"unary\", this._transport, method, opt, input);\n }\n}\n"],"mappings":";;;;;;;;;;;AA8DA,IAAa,kBAAb,MAAsE;CAIrC;CAH7B,WAAW,UAAU;CACrB,UAAU,UAAU;CACpB,UAAU,UAAU;CACpB,YAAY,YAA2C;EAA1B,KAAA,aAAA;CAC7B;;;;;;;;;CASA,WAAW,OAAgC,SAAiF;EACxH,MAAM,SAAS,KAAK,QAAQ,IAAI,MAAM,KAAK,WAAW,aAAa,OAAO;EAC1E,OAAO,eAA+D,SAAS,KAAK,YAAY,QAAQ,KAAK,KAAK;CACtH;;;;;;;;;CASA,SAAS,OAA8B,SAA+E;EAClH,MAAM,SAAS,KAAK,QAAQ,IAAI,MAAM,KAAK,WAAW,aAAa,OAAO;EAC1E,OAAO,eAA6D,SAAS,KAAK,YAAY,QAAQ,KAAK,KAAK;CACpH;;;;;;;;;;;;;CAaA,UAAU,OAA+B,SAAgF;EACrH,MAAM,SAAS,KAAK,QAAQ,IAAI,MAAM,KAAK,WAAW,aAAa,OAAO;EAC1E,OAAO,eAA8D,SAAS,KAAK,YAAY,QAAQ,KAAK,KAAK;CACrH;AACJ"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"protocol.d.ts","names":[],"sources":["../../../../../../../../../src/proto-grpc/github.com/milaboratory/pl/controllers/shared/grpc/streamingapi/protocol.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"protocol.d.ts","names":[],"sources":["../../../../../../../../../src/proto-grpc/github.com/milaboratory/pl/controllers/shared/grpc/streamingapi/protocol.ts"],"mappings":";;;;;;AAgDa;UA3BI,uBAAA;EAgCqB;;;;;EA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