@milaboratories/pl-drivers 1.12.8 → 1.12.9
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/_virtual/_rolldown/runtime.cjs +7 -13
- package/dist/clients/constructors.cjs +6 -7
- package/dist/clients/constructors.cjs.map +1 -1
- package/dist/clients/constructors.d.ts.map +1 -0
- package/dist/clients/constructors.js +1 -2
- package/dist/clients/constructors.js.map +1 -1
- package/dist/clients/crc32c.cjs +1 -2
- package/dist/clients/crc32c.cjs.map +1 -1
- package/dist/clients/crc32c.js +1 -1
- package/dist/clients/download.cjs +5 -6
- package/dist/clients/download.cjs.map +1 -1
- package/dist/clients/download.d.ts.map +1 -0
- package/dist/clients/download.js +1 -2
- package/dist/clients/download.js.map +1 -1
- package/dist/clients/logs.cjs +3 -4
- package/dist/clients/logs.cjs.map +1 -1
- package/dist/clients/logs.d.ts.map +1 -0
- package/dist/clients/logs.js +1 -2
- package/dist/clients/logs.js.map +1 -1
- package/dist/clients/ls_api.cjs +3 -4
- package/dist/clients/ls_api.cjs.map +1 -1
- package/dist/clients/ls_api.d.ts.map +1 -0
- package/dist/clients/ls_api.js +1 -2
- package/dist/clients/ls_api.js.map +1 -1
- package/dist/clients/progress.cjs +3 -4
- package/dist/clients/progress.cjs.map +1 -1
- package/dist/clients/progress.d.ts.map +1 -0
- package/dist/clients/progress.js +1 -2
- package/dist/clients/progress.js.map +1 -1
- package/dist/clients/upload.cjs +5 -6
- package/dist/clients/upload.cjs.map +1 -1
- package/dist/clients/upload.d.ts.map +1 -0
- package/dist/clients/upload.js +1 -2
- package/dist/clients/upload.js.map +1 -1
- package/dist/drivers/download_blob/blob_key.cjs +3 -4
- package/dist/drivers/download_blob/blob_key.cjs.map +1 -1
- package/dist/drivers/download_blob/blob_key.js +2 -3
- package/dist/drivers/download_blob/blob_key.js.map +1 -1
- package/dist/drivers/download_blob/download_blob.cjs +13 -14
- package/dist/drivers/download_blob/download_blob.cjs.map +1 -1
- package/dist/drivers/download_blob/download_blob.d.ts.map +1 -0
- package/dist/drivers/download_blob/download_blob.js +1 -2
- package/dist/drivers/download_blob/download_blob.js.map +1 -1
- package/dist/drivers/download_blob/download_blob_task.cjs +4 -5
- package/dist/drivers/download_blob/download_blob_task.cjs.map +1 -1
- package/dist/drivers/download_blob/download_blob_task.js +1 -2
- package/dist/drivers/download_blob/download_blob_task.js.map +1 -1
- package/dist/drivers/download_blob/sparse_cache/cache.cjs +4 -5
- package/dist/drivers/download_blob/sparse_cache/cache.cjs.map +1 -1
- package/dist/drivers/download_blob/sparse_cache/cache.js +1 -2
- package/dist/drivers/download_blob/sparse_cache/cache.js.map +1 -1
- package/dist/drivers/download_blob/sparse_cache/file.cjs +2 -3
- package/dist/drivers/download_blob/sparse_cache/file.cjs.map +1 -1
- package/dist/drivers/download_blob/sparse_cache/file.js +1 -2
- package/dist/drivers/download_blob/sparse_cache/file.js.map +1 -1
- package/dist/drivers/download_blob/sparse_cache/ranges.cjs +3 -4
- package/dist/drivers/download_blob/sparse_cache/ranges.cjs.map +1 -1
- package/dist/drivers/download_blob/sparse_cache/ranges.js +1 -2
- package/dist/drivers/download_blob/sparse_cache/ranges.js.map +1 -1
- package/dist/drivers/download_blob_url/driver.cjs +8 -9
- package/dist/drivers/download_blob_url/driver.cjs.map +1 -1
- package/dist/drivers/download_blob_url/driver.d.ts.map +1 -0
- package/dist/drivers/download_blob_url/driver.js +1 -2
- package/dist/drivers/download_blob_url/driver.js.map +1 -1
- package/dist/drivers/download_blob_url/driver_id.cjs +1 -2
- package/dist/drivers/download_blob_url/driver_id.cjs.map +1 -1
- package/dist/drivers/download_blob_url/driver_id.js +1 -1
- package/dist/drivers/download_blob_url/snapshot.cjs +2 -3
- package/dist/drivers/download_blob_url/snapshot.cjs.map +1 -1
- package/dist/drivers/download_blob_url/snapshot.d.ts +2 -2
- package/dist/drivers/download_blob_url/snapshot.d.ts.map +1 -0
- package/dist/drivers/download_blob_url/snapshot.js +1 -2
- package/dist/drivers/download_blob_url/snapshot.js.map +1 -1
- package/dist/drivers/download_blob_url/task.cjs +5 -6
- package/dist/drivers/download_blob_url/task.cjs.map +1 -1
- package/dist/drivers/download_blob_url/task.d.ts.map +1 -0
- package/dist/drivers/download_blob_url/task.js +1 -2
- package/dist/drivers/download_blob_url/task.js.map +1 -1
- package/dist/drivers/download_url/driver.cjs +7 -8
- package/dist/drivers/download_url/driver.cjs.map +1 -1
- package/dist/drivers/download_url/driver.d.ts.map +1 -0
- package/dist/drivers/download_url/driver.js +1 -2
- package/dist/drivers/download_url/driver.js.map +1 -1
- package/dist/drivers/download_url/task.cjs +4 -5
- package/dist/drivers/download_url/task.cjs.map +1 -1
- package/dist/drivers/download_url/task.d.ts.map +1 -0
- package/dist/drivers/download_url/task.js +1 -2
- package/dist/drivers/download_url/task.js.map +1 -1
- package/dist/drivers/helpers/download_local_handle.cjs +1 -2
- package/dist/drivers/helpers/download_local_handle.cjs.map +1 -1
- package/dist/drivers/helpers/download_local_handle.js +1 -1
- package/dist/drivers/helpers/download_remote_handle.cjs +3 -4
- package/dist/drivers/helpers/download_remote_handle.cjs.map +1 -1
- package/dist/drivers/helpers/download_remote_handle.js +1 -2
- package/dist/drivers/helpers/download_remote_handle.js.map +1 -1
- package/dist/drivers/helpers/files_cache.cjs +2 -3
- package/dist/drivers/helpers/files_cache.cjs.map +1 -1
- package/dist/drivers/helpers/files_cache.js +1 -2
- package/dist/drivers/helpers/files_cache.js.map +1 -1
- package/dist/drivers/helpers/helpers.cjs +1 -2
- package/dist/drivers/helpers/helpers.cjs.map +1 -1
- package/dist/drivers/helpers/helpers.d.ts.map +1 -0
- package/dist/drivers/helpers/helpers.js +1 -1
- package/dist/drivers/helpers/helpers.js.map +1 -1
- package/dist/drivers/helpers/logs_handle.cjs +2 -3
- package/dist/drivers/helpers/logs_handle.cjs.map +1 -1
- package/dist/drivers/helpers/logs_handle.js +1 -2
- package/dist/drivers/helpers/logs_handle.js.map +1 -1
- package/dist/drivers/helpers/ls_remote_import_handle.cjs +4 -6
- package/dist/drivers/helpers/ls_remote_import_handle.cjs.map +1 -1
- package/dist/drivers/helpers/ls_remote_import_handle.js +3 -5
- package/dist/drivers/helpers/ls_remote_import_handle.js.map +1 -1
- package/dist/drivers/helpers/ls_storage_entry.cjs +2 -3
- package/dist/drivers/helpers/ls_storage_entry.cjs.map +1 -1
- package/dist/drivers/helpers/ls_storage_entry.js +1 -2
- package/dist/drivers/helpers/ls_storage_entry.js.map +1 -1
- package/dist/drivers/helpers/polling_ops.d.ts.map +1 -0
- package/dist/drivers/helpers/read_file.cjs +2 -3
- package/dist/drivers/helpers/read_file.cjs.map +1 -1
- package/dist/drivers/helpers/read_file.js +1 -2
- package/dist/drivers/helpers/read_file.js.map +1 -1
- package/dist/drivers/logs.cjs +3 -4
- package/dist/drivers/logs.cjs.map +1 -1
- package/dist/drivers/logs.d.ts.map +1 -0
- package/dist/drivers/logs.js +1 -2
- package/dist/drivers/logs.js.map +1 -1
- package/dist/drivers/logs_stream.cjs +4 -5
- package/dist/drivers/logs_stream.cjs.map +1 -1
- package/dist/drivers/logs_stream.d.ts.map +1 -0
- package/dist/drivers/logs_stream.js +1 -2
- package/dist/drivers/logs_stream.js.map +1 -1
- package/dist/drivers/ls.cjs +7 -8
- package/dist/drivers/ls.cjs.map +1 -1
- package/dist/drivers/ls.d.ts.map +1 -0
- package/dist/drivers/ls.js +1 -2
- package/dist/drivers/ls.js.map +1 -1
- package/dist/drivers/types.cjs +2 -3
- package/dist/drivers/types.cjs.map +1 -1
- package/dist/drivers/types.d.ts +4 -4
- package/dist/drivers/types.d.ts.map +1 -0
- package/dist/drivers/types.js +1 -2
- package/dist/drivers/types.js.map +1 -1
- package/dist/drivers/upload.cjs +5 -6
- package/dist/drivers/upload.cjs.map +1 -1
- package/dist/drivers/upload.d.ts.map +1 -0
- package/dist/drivers/upload.js +1 -2
- package/dist/drivers/upload.js.map +1 -1
- package/dist/drivers/upload_task.cjs +4 -5
- package/dist/drivers/upload_task.cjs.map +1 -1
- package/dist/drivers/upload_task.d.ts.map +1 -0
- package/dist/drivers/upload_task.js +1 -2
- package/dist/drivers/upload_task.js.map +1 -1
- package/dist/drivers/urls/url.cjs +2 -3
- package/dist/drivers/urls/url.cjs.map +1 -1
- package/dist/drivers/urls/url.js +1 -2
- package/dist/drivers/urls/url.js.map +1 -1
- package/dist/drivers/virtual_storages.cjs +2 -3
- package/dist/drivers/virtual_storages.cjs.map +1 -1
- package/dist/drivers/virtual_storages.d.ts.map +1 -0
- package/dist/drivers/virtual_storages.js +1 -2
- package/dist/drivers/virtual_storages.js.map +1 -1
- package/dist/helpers/download.cjs +3 -4
- package/dist/helpers/download.cjs.map +1 -1
- package/dist/helpers/download.d.ts.map +1 -0
- package/dist/helpers/download.js +1 -2
- package/dist/helpers/download.js.map +1 -1
- package/dist/helpers/download_errors.cjs +1 -2
- package/dist/helpers/download_errors.cjs.map +1 -1
- package/dist/helpers/download_errors.d.ts.map +1 -0
- package/dist/helpers/download_errors.js +1 -1
- package/dist/helpers/validate.cjs +2 -3
- package/dist/helpers/validate.cjs.map +1 -1
- package/dist/helpers/validate.d.ts.map +1 -0
- package/dist/helpers/validate.js +1 -2
- package/dist/helpers/validate.js.map +1 -1
- package/dist/index.cjs +22 -23
- package/dist/index.js +1 -2
- package/dist/proto-grpc/github.com/milaboratory/pl/controllers/shared/grpc/downloadapi/protocol.cjs +4 -11
- 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 +3 -4
- 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 +4 -4
- package/dist/proto-grpc/github.com/milaboratory/pl/controllers/shared/grpc/downloadapi/protocol.client.d.ts.map +1 -0
- package/dist/proto-grpc/github.com/milaboratory/pl/controllers/shared/grpc/downloadapi/protocol.client.js +1 -2
- 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.map +1 -0
- package/dist/proto-grpc/github.com/milaboratory/pl/controllers/shared/grpc/downloadapi/protocol.js +4 -15
- 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 +5 -12
- 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 +3 -4
- 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 -2
- 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.map +1 -0
- package/dist/proto-grpc/github.com/milaboratory/pl/controllers/shared/grpc/lsapi/protocol.js +4 -15
- 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 +6 -16
- 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 +3 -4
- 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 +4 -4
- package/dist/proto-grpc/github.com/milaboratory/pl/controllers/shared/grpc/progressapi/protocol.client.d.ts.map +1 -0
- package/dist/proto-grpc/github.com/milaboratory/pl/controllers/shared/grpc/progressapi/protocol.client.js +1 -2
- 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.map +1 -0
- package/dist/proto-grpc/github.com/milaboratory/pl/controllers/shared/grpc/progressapi/protocol.js +4 -14
- 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 +3 -7
- 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 +3 -4
- 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 +4 -4
- package/dist/proto-grpc/github.com/milaboratory/pl/controllers/shared/grpc/streamingapi/protocol.client.d.ts.map +1 -0
- package/dist/proto-grpc/github.com/milaboratory/pl/controllers/shared/grpc/streamingapi/protocol.client.js +1 -2
- 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 -0
- package/dist/proto-grpc/github.com/milaboratory/pl/controllers/shared/grpc/streamingapi/protocol.js +2 -6
- 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 +8 -27
- 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 +3 -4
- 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 -2
- 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 -0
- package/dist/proto-grpc/github.com/milaboratory/pl/controllers/shared/grpc/uploadapi/protocol.js +7 -26
- 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 +2 -3
- package/dist/proto-grpc/google/protobuf/duration.cjs.map +1 -1
- package/dist/proto-grpc/google/protobuf/duration.d.ts.map +1 -0
- package/dist/proto-grpc/google/protobuf/duration.js +1 -2
- package/dist/proto-grpc/google/protobuf/duration.js.map +1 -1
- package/dist/proto-grpc/google/protobuf/timestamp.cjs +2 -3
- package/dist/proto-grpc/google/protobuf/timestamp.cjs.map +1 -1
- package/dist/proto-grpc/google/protobuf/timestamp.d.ts.map +1 -0
- package/dist/proto-grpc/google/protobuf/timestamp.js +1 -2
- package/dist/proto-grpc/google/protobuf/timestamp.js.map +1 -1
- package/dist/proto-rest/downloadapi.d.ts.map +1 -0
- package/dist/proto-rest/index.d.ts.map +1 -0
- package/dist/proto-rest/progressapi.d.ts.map +1 -0
- package/dist/proto-rest/streamingapi.d.ts.map +1 -0
- package/package.json +10 -10
package/dist/index.cjs
CHANGED
|
@@ -1,25 +1,24 @@
|
|
|
1
|
-
Object.defineProperty(exports, Symbol.toStringTag, { value:
|
|
2
|
-
const require_upload = require(
|
|
3
|
-
const require_progress = require(
|
|
4
|
-
const require_download_errors = require(
|
|
5
|
-
const require_validate = require(
|
|
6
|
-
const require_download = require(
|
|
7
|
-
const require_ls_api = require(
|
|
8
|
-
const require_logs = require(
|
|
9
|
-
const require_constructors = require(
|
|
10
|
-
const require_types = require(
|
|
11
|
-
const require_helpers = require(
|
|
12
|
-
const require_download_blob = require(
|
|
13
|
-
const require_snapshot = require(
|
|
14
|
-
const require_driver = require(
|
|
15
|
-
const require_upload_task = require(
|
|
16
|
-
const require_upload$1 = require(
|
|
17
|
-
const require_logs_stream = require(
|
|
18
|
-
const require_logs$1 = require(
|
|
19
|
-
const require_driver$1 = require(
|
|
20
|
-
const require_virtual_storages = require(
|
|
21
|
-
const require_ls = require(
|
|
22
|
-
|
|
1
|
+
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
2
|
+
const require_upload = require("./clients/upload.cjs");
|
|
3
|
+
const require_progress = require("./clients/progress.cjs");
|
|
4
|
+
const require_download_errors = require("./helpers/download_errors.cjs");
|
|
5
|
+
const require_validate = require("./helpers/validate.cjs");
|
|
6
|
+
const require_download = require("./clients/download.cjs");
|
|
7
|
+
const require_ls_api = require("./clients/ls_api.cjs");
|
|
8
|
+
const require_logs = require("./clients/logs.cjs");
|
|
9
|
+
const require_constructors = require("./clients/constructors.cjs");
|
|
10
|
+
const require_types = require("./drivers/types.cjs");
|
|
11
|
+
const require_helpers = require("./drivers/helpers/helpers.cjs");
|
|
12
|
+
const require_download_blob = require("./drivers/download_blob/download_blob.cjs");
|
|
13
|
+
const require_snapshot = require("./drivers/download_blob_url/snapshot.cjs");
|
|
14
|
+
const require_driver = require("./drivers/download_blob_url/driver.cjs");
|
|
15
|
+
const require_upload_task = require("./drivers/upload_task.cjs");
|
|
16
|
+
const require_upload$1 = require("./drivers/upload.cjs");
|
|
17
|
+
const require_logs_stream = require("./drivers/logs_stream.cjs");
|
|
18
|
+
const require_logs$1 = require("./drivers/logs.cjs");
|
|
19
|
+
const require_driver$1 = require("./drivers/download_url/driver.cjs");
|
|
20
|
+
const require_virtual_storages = require("./drivers/virtual_storages.cjs");
|
|
21
|
+
const require_ls = require("./drivers/ls.cjs");
|
|
23
22
|
exports.BadRequestError = require_upload.BadRequestError;
|
|
24
23
|
exports.ClientDownload = require_download.ClientDownload;
|
|
25
24
|
exports.ClientLogs = require_logs.ClientLogs;
|
|
@@ -73,4 +72,4 @@ exports.newLocalStorageIdsToRoot = require_download.newLocalStorageIdsToRoot;
|
|
|
73
72
|
exports.nonRecoverableError = require_upload_task.nonRecoverableError;
|
|
74
73
|
exports.parseLocalUrl = require_download.parseLocalUrl;
|
|
75
74
|
exports.uploadBlob = require_upload_task.uploadBlob;
|
|
76
|
-
exports.validateAbsolute = require_validate.validateAbsolute;
|
|
75
|
+
exports.validateAbsolute = require_validate.validateAbsolute;
|
package/dist/index.js
CHANGED
|
@@ -18,5 +18,4 @@ import { LogsDriver } from "./drivers/logs.js";
|
|
|
18
18
|
import { DownloadUrlDriver } from "./drivers/download_url/driver.js";
|
|
19
19
|
import { DefaultVirtualLocalStorages } from "./drivers/virtual_storages.js";
|
|
20
20
|
import { LsDriver } from "./drivers/ls.js";
|
|
21
|
-
|
|
22
|
-
export { BadRequestError, ClientDownload, ClientLogs, ClientLs, ClientProgress, ClientUpload, DefaultVirtualLocalStorages, DownloadBlobToURLDriver, DownloadDriver, DownloadNetworkError, DownloadNetworkError400, DownloadUrlDriver, DownloadableBlobSnapshot, ImportFileHandleData, ImportFileHandleIndexData, ImportFileHandleUploadData, IndexResourceSnapshot, LogsDriver, LogsStreamDriver, LsDriver, MTimeError, NetworkError, NoFileForUploading, OffByOneError, OnDemandBlobResourceSnapshot, UnexpectedEOF, UnknownStorageError, Updater, UploadDriver, UploadResourceSnapshot, UploadTask, WrongLocalFileUrl, WrongResourceTypeError, createDownloadClient, createLogsClient, createLsFilesClient, createUploadBlobClient, createUploadProgressClient, getFullPath, getSize, isDownloadNetworkError, isDownloadNetworkError400, isMyUpload, isOffByOneError, isSignMatch, isTerminalUploadError, isUpload, makeBlobImportSnapshot, makeDownloadableBlobSnapshot, newLocalStorageIdsToRoot, nonRecoverableError, parseLocalUrl, uploadBlob, validateAbsolute };
|
|
21
|
+
export { BadRequestError, ClientDownload, ClientLogs, ClientLs, ClientProgress, ClientUpload, DefaultVirtualLocalStorages, DownloadBlobToURLDriver, DownloadDriver, DownloadNetworkError, DownloadNetworkError400, DownloadUrlDriver, DownloadableBlobSnapshot, ImportFileHandleData, ImportFileHandleIndexData, ImportFileHandleUploadData, IndexResourceSnapshot, LogsDriver, LogsStreamDriver, LsDriver, MTimeError, NetworkError, NoFileForUploading, OffByOneError, OnDemandBlobResourceSnapshot, UnexpectedEOF, UnknownStorageError, Updater, UploadDriver, UploadResourceSnapshot, UploadTask, WrongLocalFileUrl, WrongResourceTypeError, createDownloadClient, createLogsClient, createLsFilesClient, createUploadBlobClient, createUploadProgressClient, getFullPath, getSize, isDownloadNetworkError, isDownloadNetworkError400, isMyUpload, isOffByOneError, isSignMatch, isTerminalUploadError, isUpload, makeBlobImportSnapshot, makeDownloadableBlobSnapshot, newLocalStorageIdsToRoot, nonRecoverableError, parseLocalUrl, uploadBlob, validateAbsolute };
|
package/dist/proto-grpc/github.com/milaboratory/pl/controllers/shared/grpc/downloadapi/protocol.cjs
CHANGED
|
@@ -1,7 +1,6 @@
|
|
|
1
|
-
|
|
1
|
+
require("../../../../../../../../_virtual/_rolldown/runtime.cjs");
|
|
2
2
|
let _protobuf_ts_runtime_rpc = require("@protobuf-ts/runtime-rpc");
|
|
3
3
|
let _protobuf_ts_runtime = require("@protobuf-ts/runtime");
|
|
4
|
-
|
|
5
4
|
//#region src/proto-grpc/github.com/milaboratory/pl/controllers/shared/grpc/downloadapi/protocol.ts
|
|
6
5
|
var DownloadAPI$Type = class extends _protobuf_ts_runtime.MessageType {
|
|
7
6
|
constructor() {
|
|
@@ -32,10 +31,7 @@ var DownloadAPI$Type = class extends _protobuf_ts_runtime.MessageType {
|
|
|
32
31
|
return writer;
|
|
33
32
|
}
|
|
34
33
|
};
|
|
35
|
-
|
|
36
|
-
* @generated MessageType for protobuf message MiLaboratories.Controller.Shared.DownloadAPI
|
|
37
|
-
*/
|
|
38
|
-
const DownloadAPI = new DownloadAPI$Type();
|
|
34
|
+
new DownloadAPI$Type();
|
|
39
35
|
var DownloadAPI_GetDownloadURL$Type = class extends _protobuf_ts_runtime.MessageType {
|
|
40
36
|
constructor() {
|
|
41
37
|
super("MiLaboratories.Controller.Shared.DownloadAPI.GetDownloadURL", []);
|
|
@@ -65,10 +61,7 @@ var DownloadAPI_GetDownloadURL$Type = class extends _protobuf_ts_runtime.Message
|
|
|
65
61
|
return writer;
|
|
66
62
|
}
|
|
67
63
|
};
|
|
68
|
-
|
|
69
|
-
* @generated MessageType for protobuf message MiLaboratories.Controller.Shared.DownloadAPI.GetDownloadURL
|
|
70
|
-
*/
|
|
71
|
-
const DownloadAPI_GetDownloadURL = new DownloadAPI_GetDownloadURL$Type();
|
|
64
|
+
new DownloadAPI_GetDownloadURL$Type();
|
|
72
65
|
var DownloadAPI_GetDownloadURL_Request$Type = class extends _protobuf_ts_runtime.MessageType {
|
|
73
66
|
constructor() {
|
|
74
67
|
super("MiLaboratories.Controller.Shared.DownloadAPI.GetDownloadURL.Request", [
|
|
@@ -256,7 +249,7 @@ const Download = new _protobuf_ts_runtime_rpc.ServiceType("MiLaboratories.Contro
|
|
|
256
249
|
I: DownloadAPI_GetDownloadURL_Request,
|
|
257
250
|
O: DownloadAPI_GetDownloadURL_Response
|
|
258
251
|
}]);
|
|
259
|
-
|
|
260
252
|
//#endregion
|
|
261
253
|
exports.Download = Download;
|
|
254
|
+
|
|
262
255
|
//# 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/downloadapi/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/downloadapi/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.DownloadAPI\n */\nexport interface DownloadAPI {\n}\n/**\n * @generated from protobuf message MiLaboratories.Controller.Shared.DownloadAPI.GetDownloadURL\n */\nexport interface DownloadAPI_GetDownloadURL {\n}\n/**\n * @generated from protobuf message MiLaboratories.Controller.Shared.DownloadAPI.GetDownloadURL.Request\n */\nexport interface DownloadAPI_GetDownloadURL_Request {\n /**\n * @generated from protobuf field: uint64 resource_id = 1\n */\n resourceId: bigint;\n /**\n * Signature proving the caller is authorized to access this resource.\n *\n * @generated from protobuf field: optional bytes resource_signature = 3\n */\n resourceSignature?: Uint8Array;\n /**\n * Pass `true` here if the blob will be downloaded from the internal network,\n * e.g. controllers could use this if they are trying to download something from the internal network.\n * For backward compatibility, by default pl treats all requests as from the external network.\n *\n * @generated from protobuf field: bool is_internal_use = 2\n */\n isInternalUse: boolean;\n}\n/**\n * @generated from protobuf message MiLaboratories.Controller.Shared.DownloadAPI.GetDownloadURL.HTTPHeader\n */\nexport interface DownloadAPI_GetDownloadURL_HTTPHeader {\n /**\n * @generated from protobuf field: string name = 1\n */\n name: string;\n /**\n * @generated from protobuf field: string value = 2\n */\n value: string;\n}\n/**\n * @generated from protobuf message MiLaboratories.Controller.Shared.DownloadAPI.GetDownloadURL.Response\n */\nexport interface DownloadAPI_GetDownloadURL_Response {\n /**\n * @generated from protobuf field: string download_url = 1\n */\n downloadUrl: string;\n /**\n * @generated from protobuf field: repeated MiLaboratories.Controller.Shared.DownloadAPI.GetDownloadURL.HTTPHeader headers = 2\n */\n headers: DownloadAPI_GetDownloadURL_HTTPHeader[];\n}\n// @generated message type with reflection information, may provide speed optimized methods\nclass DownloadAPI$Type extends MessageType<DownloadAPI> {\n constructor() {\n super(\"MiLaboratories.Controller.Shared.DownloadAPI\", []);\n }\n create(value?: PartialMessage<DownloadAPI>): DownloadAPI {\n const message = globalThis.Object.create((this.messagePrototype!));\n if (value !== undefined)\n reflectionMergePartial<DownloadAPI>(this, message, value);\n return message;\n }\n internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: DownloadAPI): DownloadAPI {\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: DownloadAPI, 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.DownloadAPI\n */\nexport const DownloadAPI = new DownloadAPI$Type();\n// @generated message type with reflection information, may provide speed optimized methods\nclass DownloadAPI_GetDownloadURL$Type extends MessageType<DownloadAPI_GetDownloadURL> {\n constructor() {\n super(\"MiLaboratories.Controller.Shared.DownloadAPI.GetDownloadURL\", []);\n }\n create(value?: PartialMessage<DownloadAPI_GetDownloadURL>): DownloadAPI_GetDownloadURL {\n const message = globalThis.Object.create((this.messagePrototype!));\n if (value !== undefined)\n reflectionMergePartial<DownloadAPI_GetDownloadURL>(this, message, value);\n return message;\n }\n internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: DownloadAPI_GetDownloadURL): DownloadAPI_GetDownloadURL {\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: DownloadAPI_GetDownloadURL, 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.DownloadAPI.GetDownloadURL\n */\nexport const DownloadAPI_GetDownloadURL = new DownloadAPI_GetDownloadURL$Type();\n// @generated message type with reflection information, may provide speed optimized methods\nclass DownloadAPI_GetDownloadURL_Request$Type extends MessageType<DownloadAPI_GetDownloadURL_Request> {\n constructor() {\n super(\"MiLaboratories.Controller.Shared.DownloadAPI.GetDownloadURL.Request\", [\n { no: 1, name: \"resource_id\", kind: \"scalar\", T: 4 /*ScalarType.UINT64*/, L: 0 /*LongType.BIGINT*/ },\n { no: 3, name: \"resource_signature\", kind: \"scalar\", opt: true, T: 12 /*ScalarType.BYTES*/ },\n { no: 2, name: \"is_internal_use\", kind: \"scalar\", T: 8 /*ScalarType.BOOL*/ }\n ]);\n }\n create(value?: PartialMessage<DownloadAPI_GetDownloadURL_Request>): DownloadAPI_GetDownloadURL_Request {\n const message = globalThis.Object.create((this.messagePrototype!));\n message.resourceId = 0n;\n message.isInternalUse = false;\n if (value !== undefined)\n reflectionMergePartial<DownloadAPI_GetDownloadURL_Request>(this, message, value);\n return message;\n }\n internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: DownloadAPI_GetDownloadURL_Request): DownloadAPI_GetDownloadURL_Request {\n let message = target ?? this.create(), end = reader.pos + length;\n while (reader.pos < end) {\n let [fieldNo, wireType] = reader.tag();\n switch (fieldNo) {\n case /* uint64 resource_id */ 1:\n message.resourceId = reader.uint64().toBigInt();\n break;\n case /* optional bytes resource_signature */ 3:\n message.resourceSignature = reader.bytes();\n break;\n case /* bool is_internal_use */ 2:\n message.isInternalUse = reader.bool();\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: DownloadAPI_GetDownloadURL_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 /* bool is_internal_use = 2; */\n if (message.isInternalUse !== false)\n writer.tag(2, WireType.Varint).bool(message.isInternalUse);\n /* optional bytes resource_signature = 3; */\n if (message.resourceSignature !== undefined)\n writer.tag(3, WireType.LengthDelimited).bytes(message.resourceSignature);\n let u = options.writeUnknownFields;\n if (u !== false)\n (u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);\n return writer;\n }\n}\n/**\n * @generated MessageType for protobuf message MiLaboratories.Controller.Shared.DownloadAPI.GetDownloadURL.Request\n */\nexport const DownloadAPI_GetDownloadURL_Request = new DownloadAPI_GetDownloadURL_Request$Type();\n// @generated message type with reflection information, may provide speed optimized methods\nclass DownloadAPI_GetDownloadURL_HTTPHeader$Type extends MessageType<DownloadAPI_GetDownloadURL_HTTPHeader> {\n constructor() {\n super(\"MiLaboratories.Controller.Shared.DownloadAPI.GetDownloadURL.HTTPHeader\", [\n { no: 1, name: \"name\", kind: \"scalar\", T: 9 /*ScalarType.STRING*/ },\n { no: 2, name: \"value\", kind: \"scalar\", T: 9 /*ScalarType.STRING*/ }\n ]);\n }\n create(value?: PartialMessage<DownloadAPI_GetDownloadURL_HTTPHeader>): DownloadAPI_GetDownloadURL_HTTPHeader {\n const message = globalThis.Object.create((this.messagePrototype!));\n message.name = \"\";\n message.value = \"\";\n if (value !== undefined)\n reflectionMergePartial<DownloadAPI_GetDownloadURL_HTTPHeader>(this, message, value);\n return message;\n }\n internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: DownloadAPI_GetDownloadURL_HTTPHeader): DownloadAPI_GetDownloadURL_HTTPHeader {\n let message = target ?? this.create(), end = reader.pos + length;\n while (reader.pos < end) {\n let [fieldNo, wireType] = reader.tag();\n switch (fieldNo) {\n case /* string name */ 1:\n message.name = reader.string();\n break;\n case /* string value */ 2:\n message.value = 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: DownloadAPI_GetDownloadURL_HTTPHeader, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {\n /* string name = 1; */\n if (message.name !== \"\")\n writer.tag(1, WireType.LengthDelimited).string(message.name);\n /* string value = 2; */\n if (message.value !== \"\")\n writer.tag(2, WireType.LengthDelimited).string(message.value);\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.DownloadAPI.GetDownloadURL.HTTPHeader\n */\nexport const DownloadAPI_GetDownloadURL_HTTPHeader = new DownloadAPI_GetDownloadURL_HTTPHeader$Type();\n// @generated message type with reflection information, may provide speed optimized methods\nclass DownloadAPI_GetDownloadURL_Response$Type extends MessageType<DownloadAPI_GetDownloadURL_Response> {\n constructor() {\n super(\"MiLaboratories.Controller.Shared.DownloadAPI.GetDownloadURL.Response\", [\n { no: 1, name: \"download_url\", kind: \"scalar\", T: 9 /*ScalarType.STRING*/ },\n { no: 2, name: \"headers\", kind: \"message\", repeat: 2 /*RepeatType.UNPACKED*/, T: () => DownloadAPI_GetDownloadURL_HTTPHeader }\n ]);\n }\n create(value?: PartialMessage<DownloadAPI_GetDownloadURL_Response>): DownloadAPI_GetDownloadURL_Response {\n const message = globalThis.Object.create((this.messagePrototype!));\n message.downloadUrl = \"\";\n message.headers = [];\n if (value !== undefined)\n reflectionMergePartial<DownloadAPI_GetDownloadURL_Response>(this, message, value);\n return message;\n }\n internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: DownloadAPI_GetDownloadURL_Response): DownloadAPI_GetDownloadURL_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 /* string download_url */ 1:\n message.downloadUrl = reader.string();\n break;\n case /* repeated MiLaboratories.Controller.Shared.DownloadAPI.GetDownloadURL.HTTPHeader headers */ 2:\n message.headers.push(DownloadAPI_GetDownloadURL_HTTPHeader.internalBinaryRead(reader, reader.uint32(), options));\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: DownloadAPI_GetDownloadURL_Response, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {\n /* string download_url = 1; */\n if (message.downloadUrl !== \"\")\n writer.tag(1, WireType.LengthDelimited).string(message.downloadUrl);\n /* repeated MiLaboratories.Controller.Shared.DownloadAPI.GetDownloadURL.HTTPHeader headers = 2; */\n for (let i = 0; i < message.headers.length; i++)\n DownloadAPI_GetDownloadURL_HTTPHeader.internalBinaryWrite(message.headers[i], writer.tag(2, 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.DownloadAPI.GetDownloadURL.Response\n */\nexport const DownloadAPI_GetDownloadURL_Response = new DownloadAPI_GetDownloadURL_Response$Type();\n/**\n * @generated ServiceType for protobuf service MiLaboratories.Controller.Shared.Download\n */\nexport const Download = new ServiceType(\"MiLaboratories.Controller.Shared.Download\", [\n { name: \"GetDownloadURL\", options: { \"google.api.http\": { post: \"/v1/get-download-url\", body: \"*\" } }, I: DownloadAPI_GetDownloadURL_Request, O: DownloadAPI_GetDownloadURL_Response }\n]);\n"],"mappings":";;;;;AAyEA,IAAM,mBAAN,cAA+BA,iCAAyB;CACpD,cAAc;AACV,QAAM,gDAAgD,EAAE,CAAC;;CAE7D,OAAO,OAAkD;EACrD,MAAM,UAAU,WAAW,OAAO,OAAQ,KAAK,iBAAmB;AAClE,MAAI,UAAU,OACV,kDAAoC,MAAM,SAAS,MAAM;AAC7D,SAAO;;CAEX,mBAAmB,QAAuB,QAAgB,SAA4B,QAAmC;EACrH,IAAI,UAAU,UAAU,KAAK,QAAQ,EAAE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ireType","ServiceType"],"sources":["../../../../../../../../../src/proto-grpc/github.com/milaboratory/pl/controllers/shared/grpc/downloadapi/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/downloadapi/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.DownloadAPI\n */\nexport interface DownloadAPI {\n}\n/**\n * @generated from protobuf message MiLaboratories.Controller.Shared.DownloadAPI.GetDownloadURL\n */\nexport interface DownloadAPI_GetDownloadURL {\n}\n/**\n * @generated from protobuf message MiLaboratories.Controller.Shared.DownloadAPI.GetDownloadURL.Request\n */\nexport interface DownloadAPI_GetDownloadURL_Request {\n /**\n * @generated from protobuf field: uint64 resource_id = 1\n */\n resourceId: bigint;\n /**\n * Signature proving the caller is authorized to access this resource.\n *\n * @generated from protobuf field: optional bytes resource_signature = 3\n */\n resourceSignature?: Uint8Array;\n /**\n * Pass `true` here if the blob will be downloaded from the internal network,\n * e.g. controllers could use this if they are trying to download something from the internal network.\n * For backward compatibility, by default pl treats all requests as from the external network.\n *\n * @generated from protobuf field: bool is_internal_use = 2\n */\n isInternalUse: boolean;\n}\n/**\n * @generated from protobuf message MiLaboratories.Controller.Shared.DownloadAPI.GetDownloadURL.HTTPHeader\n */\nexport interface DownloadAPI_GetDownloadURL_HTTPHeader {\n /**\n * @generated from protobuf field: string name = 1\n */\n name: string;\n /**\n * @generated from protobuf field: string value = 2\n */\n value: string;\n}\n/**\n * @generated from protobuf message MiLaboratories.Controller.Shared.DownloadAPI.GetDownloadURL.Response\n */\nexport interface DownloadAPI_GetDownloadURL_Response {\n /**\n * @generated from protobuf field: string download_url = 1\n */\n downloadUrl: string;\n /**\n * @generated from protobuf field: repeated MiLaboratories.Controller.Shared.DownloadAPI.GetDownloadURL.HTTPHeader headers = 2\n */\n headers: DownloadAPI_GetDownloadURL_HTTPHeader[];\n}\n// @generated message type with reflection information, may provide speed optimized methods\nclass DownloadAPI$Type extends MessageType<DownloadAPI> {\n constructor() {\n super(\"MiLaboratories.Controller.Shared.DownloadAPI\", []);\n }\n create(value?: PartialMessage<DownloadAPI>): DownloadAPI {\n const message = globalThis.Object.create((this.messagePrototype!));\n if (value !== undefined)\n reflectionMergePartial<DownloadAPI>(this, message, value);\n return message;\n }\n internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: DownloadAPI): DownloadAPI {\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: DownloadAPI, 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.DownloadAPI\n */\nexport const DownloadAPI = new DownloadAPI$Type();\n// @generated message type with reflection information, may provide speed optimized methods\nclass DownloadAPI_GetDownloadURL$Type extends MessageType<DownloadAPI_GetDownloadURL> {\n constructor() {\n super(\"MiLaboratories.Controller.Shared.DownloadAPI.GetDownloadURL\", []);\n }\n create(value?: PartialMessage<DownloadAPI_GetDownloadURL>): DownloadAPI_GetDownloadURL {\n const message = globalThis.Object.create((this.messagePrototype!));\n if (value !== undefined)\n reflectionMergePartial<DownloadAPI_GetDownloadURL>(this, message, value);\n return message;\n }\n internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: DownloadAPI_GetDownloadURL): DownloadAPI_GetDownloadURL {\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: DownloadAPI_GetDownloadURL, 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.DownloadAPI.GetDownloadURL\n */\nexport const DownloadAPI_GetDownloadURL = new DownloadAPI_GetDownloadURL$Type();\n// @generated message type with reflection information, may provide speed optimized methods\nclass DownloadAPI_GetDownloadURL_Request$Type extends MessageType<DownloadAPI_GetDownloadURL_Request> {\n constructor() {\n super(\"MiLaboratories.Controller.Shared.DownloadAPI.GetDownloadURL.Request\", [\n { no: 1, name: \"resource_id\", kind: \"scalar\", T: 4 /*ScalarType.UINT64*/, L: 0 /*LongType.BIGINT*/ },\n { no: 3, name: \"resource_signature\", kind: \"scalar\", opt: true, T: 12 /*ScalarType.BYTES*/ },\n { no: 2, name: \"is_internal_use\", kind: \"scalar\", T: 8 /*ScalarType.BOOL*/ }\n ]);\n }\n create(value?: PartialMessage<DownloadAPI_GetDownloadURL_Request>): DownloadAPI_GetDownloadURL_Request {\n const message = globalThis.Object.create((this.messagePrototype!));\n message.resourceId = 0n;\n message.isInternalUse = false;\n if (value !== undefined)\n reflectionMergePartial<DownloadAPI_GetDownloadURL_Request>(this, message, value);\n return message;\n }\n internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: DownloadAPI_GetDownloadURL_Request): DownloadAPI_GetDownloadURL_Request {\n let message = target ?? this.create(), end = reader.pos + length;\n while (reader.pos < end) {\n let [fieldNo, wireType] = reader.tag();\n switch (fieldNo) {\n case /* uint64 resource_id */ 1:\n message.resourceId = reader.uint64().toBigInt();\n break;\n case /* optional bytes resource_signature */ 3:\n message.resourceSignature = reader.bytes();\n break;\n case /* bool is_internal_use */ 2:\n message.isInternalUse = reader.bool();\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: DownloadAPI_GetDownloadURL_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 /* bool is_internal_use = 2; */\n if (message.isInternalUse !== false)\n writer.tag(2, WireType.Varint).bool(message.isInternalUse);\n /* optional bytes resource_signature = 3; */\n if (message.resourceSignature !== undefined)\n writer.tag(3, WireType.LengthDelimited).bytes(message.resourceSignature);\n let u = options.writeUnknownFields;\n if (u !== false)\n (u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);\n return writer;\n }\n}\n/**\n * @generated MessageType for protobuf message MiLaboratories.Controller.Shared.DownloadAPI.GetDownloadURL.Request\n */\nexport const DownloadAPI_GetDownloadURL_Request = new DownloadAPI_GetDownloadURL_Request$Type();\n// @generated message type with reflection information, may provide speed optimized methods\nclass DownloadAPI_GetDownloadURL_HTTPHeader$Type extends MessageType<DownloadAPI_GetDownloadURL_HTTPHeader> {\n constructor() {\n super(\"MiLaboratories.Controller.Shared.DownloadAPI.GetDownloadURL.HTTPHeader\", [\n { no: 1, name: \"name\", kind: \"scalar\", T: 9 /*ScalarType.STRING*/ },\n { no: 2, name: \"value\", kind: \"scalar\", T: 9 /*ScalarType.STRING*/ }\n ]);\n }\n create(value?: PartialMessage<DownloadAPI_GetDownloadURL_HTTPHeader>): DownloadAPI_GetDownloadURL_HTTPHeader {\n const message = globalThis.Object.create((this.messagePrototype!));\n message.name = \"\";\n message.value = \"\";\n if (value !== undefined)\n reflectionMergePartial<DownloadAPI_GetDownloadURL_HTTPHeader>(this, message, value);\n return message;\n }\n internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: DownloadAPI_GetDownloadURL_HTTPHeader): DownloadAPI_GetDownloadURL_HTTPHeader {\n let message = target ?? this.create(), end = reader.pos + length;\n while (reader.pos < end) {\n let [fieldNo, wireType] = reader.tag();\n switch (fieldNo) {\n case /* string name */ 1:\n message.name = reader.string();\n break;\n case /* string value */ 2:\n message.value = 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: DownloadAPI_GetDownloadURL_HTTPHeader, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {\n /* string name = 1; */\n if (message.name !== \"\")\n writer.tag(1, WireType.LengthDelimited).string(message.name);\n /* string value = 2; */\n if (message.value !== \"\")\n writer.tag(2, WireType.LengthDelimited).string(message.value);\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.DownloadAPI.GetDownloadURL.HTTPHeader\n */\nexport const DownloadAPI_GetDownloadURL_HTTPHeader = new DownloadAPI_GetDownloadURL_HTTPHeader$Type();\n// @generated message type with reflection information, may provide speed optimized methods\nclass DownloadAPI_GetDownloadURL_Response$Type extends MessageType<DownloadAPI_GetDownloadURL_Response> {\n constructor() {\n super(\"MiLaboratories.Controller.Shared.DownloadAPI.GetDownloadURL.Response\", [\n { no: 1, name: \"download_url\", kind: \"scalar\", T: 9 /*ScalarType.STRING*/ },\n { no: 2, name: \"headers\", kind: \"message\", repeat: 2 /*RepeatType.UNPACKED*/, T: () => DownloadAPI_GetDownloadURL_HTTPHeader }\n ]);\n }\n create(value?: PartialMessage<DownloadAPI_GetDownloadURL_Response>): DownloadAPI_GetDownloadURL_Response {\n const message = globalThis.Object.create((this.messagePrototype!));\n message.downloadUrl = \"\";\n message.headers = [];\n if (value !== undefined)\n reflectionMergePartial<DownloadAPI_GetDownloadURL_Response>(this, message, value);\n return message;\n }\n internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: DownloadAPI_GetDownloadURL_Response): DownloadAPI_GetDownloadURL_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 /* string download_url */ 1:\n message.downloadUrl = reader.string();\n break;\n case /* repeated MiLaboratories.Controller.Shared.DownloadAPI.GetDownloadURL.HTTPHeader headers */ 2:\n message.headers.push(DownloadAPI_GetDownloadURL_HTTPHeader.internalBinaryRead(reader, reader.uint32(), options));\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: DownloadAPI_GetDownloadURL_Response, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {\n /* string download_url = 1; */\n if (message.downloadUrl !== \"\")\n writer.tag(1, WireType.LengthDelimited).string(message.downloadUrl);\n /* repeated MiLaboratories.Controller.Shared.DownloadAPI.GetDownloadURL.HTTPHeader headers = 2; */\n for (let i = 0; i < message.headers.length; i++)\n DownloadAPI_GetDownloadURL_HTTPHeader.internalBinaryWrite(message.headers[i], writer.tag(2, 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.DownloadAPI.GetDownloadURL.Response\n */\nexport const DownloadAPI_GetDownloadURL_Response = new DownloadAPI_GetDownloadURL_Response$Type();\n/**\n * @generated ServiceType for protobuf service MiLaboratories.Controller.Shared.Download\n */\nexport const Download = new ServiceType(\"MiLaboratories.Controller.Shared.Download\", [\n { name: \"GetDownloadURL\", options: { \"google.api.http\": { post: \"/v1/get-download-url\", body: \"*\" } }, I: DownloadAPI_GetDownloadURL_Request, O: DownloadAPI_GetDownloadURL_Response }\n]);\n"],"mappings":";;;;AAyEA,IAAM,mBAAN,cAA+BA,qBAAAA,YAAyB;CACpD,cAAc;AACV,QAAM,gDAAgD,EAAE,CAAC;;CAE7D,OAAO,OAAkD;EACrD,MAAM,UAAU,WAAW,OAAO,OAAQ,KAAK,iBAAmB;AAClE,MAAI,UAAU,KAAA,EACV,EAAA,GAAA,qBAAA,wBAAoC,MAAM,SAAS,MAAM;AAC7D,SAAO;;CAEX,mBAAmB,QAAuB,QAAgB,SAA4B,QAAmC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,SAAO;;;;;;AAMf,MAAa,sCAAsC,IAAI,0CAA0C;;;;AAIjG,MAAa,WAAW,IAAIE,yBAAAA,YAAY,6CAA6C,CACjF;CAAE,MAAM;CAAkB,SAAS,EAAE,mBAAmB;EAAE,MAAM;EAAwB,MAAM;EAAK,EAAE;CAAE,GAAG;CAAoC,GAAG;CAAqC,CACzL,CAAC"}
|
|
@@ -1,7 +1,6 @@
|
|
|
1
|
-
|
|
2
|
-
const require_protocol = require(
|
|
1
|
+
require("../../../../../../../../_virtual/_rolldown/runtime.cjs");
|
|
2
|
+
const require_protocol = require("./protocol.cjs");
|
|
3
3
|
let _protobuf_ts_runtime_rpc = require("@protobuf-ts/runtime-rpc");
|
|
4
|
-
|
|
5
4
|
//#region src/proto-grpc/github.com/milaboratory/pl/controllers/shared/grpc/downloadapi/protocol.client.ts
|
|
6
5
|
/**
|
|
7
6
|
*
|
|
@@ -25,7 +24,7 @@ var DownloadClient = class {
|
|
|
25
24
|
return (0, _protobuf_ts_runtime_rpc.stackIntercept)("unary", this._transport, method, opt, input);
|
|
26
25
|
}
|
|
27
26
|
};
|
|
28
|
-
|
|
29
27
|
//#endregion
|
|
30
28
|
exports.DownloadClient = DownloadClient;
|
|
29
|
+
|
|
31
30
|
//# sourceMappingURL=protocol.client.cjs.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"protocol.client.cjs","names":["Download"],"sources":["../../../../../../../../../src/proto-grpc/github.com/milaboratory/pl/controllers/shared/grpc/downloadapi/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/downloadapi/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 { Download } from \"./protocol\";\nimport { stackIntercept } from \"@protobuf-ts/runtime-rpc\";\nimport type { DownloadAPI_GetDownloadURL_Response } from \"./protocol\";\nimport type { DownloadAPI_GetDownloadURL_Request } from \"./protocol\";\nimport type { UnaryCall } from \"@protobuf-ts/runtime-rpc\";\nimport type { RpcOptions } from \"@protobuf-ts/runtime-rpc\";\n/**\n *\n * Download provides access to any data that can be downloaded over the network.\n *\n *\n * @generated from protobuf service MiLaboratories.Controller.Shared.Download\n */\nexport interface IDownloadClient {\n /**\n * @generated from protobuf rpc: GetDownloadURL\n */\n getDownloadURL(input: DownloadAPI_GetDownloadURL_Request, options?: RpcOptions): UnaryCall<DownloadAPI_GetDownloadURL_Request, DownloadAPI_GetDownloadURL_Response>;\n}\n/**\n *\n * Download provides access to any data that can be downloaded over the network.\n *\n *\n * @generated from protobuf service MiLaboratories.Controller.Shared.Download\n */\nexport class DownloadClient implements IDownloadClient, ServiceInfo {\n typeName = Download.typeName;\n methods = Download.methods;\n options = Download.options;\n constructor(private readonly _transport: RpcTransport) {\n }\n /**\n * @generated from protobuf rpc: GetDownloadURL\n */\n getDownloadURL(input: DownloadAPI_GetDownloadURL_Request, options?: RpcOptions): UnaryCall<DownloadAPI_GetDownloadURL_Request, DownloadAPI_GetDownloadURL_Response> {\n const method = this.methods[0], opt = this._transport.mergeOptions(options);\n return stackIntercept<DownloadAPI_GetDownloadURL_Request, DownloadAPI_GetDownloadURL_Response>(\"unary\", this._transport, method, opt, input);\n }\n}\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"protocol.client.cjs","names":["Download"],"sources":["../../../../../../../../../src/proto-grpc/github.com/milaboratory/pl/controllers/shared/grpc/downloadapi/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/downloadapi/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 { Download } from \"./protocol\";\nimport { stackIntercept } from \"@protobuf-ts/runtime-rpc\";\nimport type { DownloadAPI_GetDownloadURL_Response } from \"./protocol\";\nimport type { DownloadAPI_GetDownloadURL_Request } from \"./protocol\";\nimport type { UnaryCall } from \"@protobuf-ts/runtime-rpc\";\nimport type { RpcOptions } from \"@protobuf-ts/runtime-rpc\";\n/**\n *\n * Download provides access to any data that can be downloaded over the network.\n *\n *\n * @generated from protobuf service MiLaboratories.Controller.Shared.Download\n */\nexport interface IDownloadClient {\n /**\n * @generated from protobuf rpc: GetDownloadURL\n */\n getDownloadURL(input: DownloadAPI_GetDownloadURL_Request, options?: RpcOptions): UnaryCall<DownloadAPI_GetDownloadURL_Request, DownloadAPI_GetDownloadURL_Response>;\n}\n/**\n *\n * Download provides access to any data that can be downloaded over the network.\n *\n *\n * @generated from protobuf service MiLaboratories.Controller.Shared.Download\n */\nexport class DownloadClient implements IDownloadClient, ServiceInfo {\n typeName = Download.typeName;\n methods = Download.methods;\n options = Download.options;\n constructor(private readonly _transport: RpcTransport) {\n }\n /**\n * @generated from protobuf rpc: GetDownloadURL\n */\n getDownloadURL(input: DownloadAPI_GetDownloadURL_Request, options?: RpcOptions): UnaryCall<DownloadAPI_GetDownloadURL_Request, DownloadAPI_GetDownloadURL_Response> {\n const method = this.methods[0], opt = this._transport.mergeOptions(options);\n return stackIntercept<DownloadAPI_GetDownloadURL_Request, DownloadAPI_GetDownloadURL_Response>(\"unary\", this._transport, method, opt, input);\n }\n}\n"],"mappings":";;;;;;;;;;;AA+BA,IAAa,iBAAb,MAAoE;CAChE,WAAWA,iBAAAA,SAAS;CACpB,UAAUA,iBAAAA,SAAS;CACnB,UAAUA,iBAAAA,SAAS;CACnB,YAAY,YAA2C;AAA1B,OAAA,aAAA;;;;;CAK7B,eAAe,OAA2C,SAA0G;EAChK,MAAM,SAAS,KAAK,QAAQ,IAAI,MAAM,KAAK,WAAW,aAAa,QAAQ;AAC3E,UAAA,GAAA,yBAAA,gBAA+F,SAAS,KAAK,YAAY,QAAQ,KAAK,MAAM"}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { DownloadAPI_GetDownloadURL_Request, DownloadAPI_GetDownloadURL_Response } from "./protocol.js";
|
|
2
|
-
import * as _protobuf_ts_runtime_rpc0 from "@protobuf-ts/runtime-rpc";
|
|
2
|
+
import * as _$_protobuf_ts_runtime_rpc0 from "@protobuf-ts/runtime-rpc";
|
|
3
3
|
import { RpcOptions, RpcTransport, ServiceInfo, UnaryCall } from "@protobuf-ts/runtime-rpc";
|
|
4
|
-
import * as _protobuf_ts_runtime0 from "@protobuf-ts/runtime";
|
|
4
|
+
import * as _$_protobuf_ts_runtime0 from "@protobuf-ts/runtime";
|
|
5
5
|
|
|
6
6
|
//#region src/proto-grpc/github.com/milaboratory/pl/controllers/shared/grpc/downloadapi/protocol.client.d.ts
|
|
7
7
|
/**
|
|
@@ -27,9 +27,9 @@ interface IDownloadClient {
|
|
|
27
27
|
declare class DownloadClient implements IDownloadClient, ServiceInfo {
|
|
28
28
|
private readonly _transport;
|
|
29
29
|
typeName: string;
|
|
30
|
-
methods: _protobuf_ts_runtime_rpc0.MethodInfo<any, any>[];
|
|
30
|
+
methods: _$_protobuf_ts_runtime_rpc0.MethodInfo<any, any>[];
|
|
31
31
|
options: {
|
|
32
|
-
[extensionName: string]: _protobuf_ts_runtime0.JsonValue;
|
|
32
|
+
[extensionName: string]: _$_protobuf_ts_runtime0.JsonValue;
|
|
33
33
|
};
|
|
34
34
|
constructor(_transport: RpcTransport);
|
|
35
35
|
/**
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"protocol.client.d.ts","names":[],"sources":["../../../../../../../../../src/proto-grpc/github.com/milaboratory/pl/controllers/shared/grpc/downloadapi/protocol.client.ts"],"mappings":";;;;;;AAkBA;;;;;;;AAAA,UAAiB,eAAA;EAI6E;;;EAA1F,cAAA,CAAe,KAAA,EAAO,kCAAA,EAAoC,OAAA,GAAU,UAAA,GAAa,SAAA,CAAU,kCAAA,EAAoC,mCAAA;AAAA;;;;;;;;cAStH,cAAA,YAA0B,eAAA,EAAiB,WAAA;EAAA,iBAIvB,UAAA;EAH7B,QAAA;EACA,OAAA,EAFwB,2BAAA,CAEjB,UAAA;EACP,OAAA;IAAA,yBADO,uBAAA,CAAA,SAAA;EAAA;cAEsB,UAAA,EAAY,YAAA;EAKkD;;;EAA3F,cAAA,CAAe,KAAA,EAAO,kCAAA,EAAoC,OAAA,GAAU,UAAA,GAAa,SAAA,CAAU,kCAAA,EAAoC,mCAAA;AAAA"}
|
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
import { Download } from "./protocol.js";
|
|
2
2
|
import { stackIntercept } from "@protobuf-ts/runtime-rpc";
|
|
3
|
-
|
|
4
3
|
//#region src/proto-grpc/github.com/milaboratory/pl/controllers/shared/grpc/downloadapi/protocol.client.ts
|
|
5
4
|
/**
|
|
6
5
|
*
|
|
@@ -24,7 +23,7 @@ var DownloadClient = class {
|
|
|
24
23
|
return stackIntercept("unary", this._transport, method, opt, input);
|
|
25
24
|
}
|
|
26
25
|
};
|
|
27
|
-
|
|
28
26
|
//#endregion
|
|
29
27
|
export { DownloadClient };
|
|
28
|
+
|
|
30
29
|
//# sourceMappingURL=protocol.client.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"protocol.client.js","names":[],"sources":["../../../../../../../../../src/proto-grpc/github.com/milaboratory/pl/controllers/shared/grpc/downloadapi/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/downloadapi/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 { Download } from \"./protocol\";\nimport { stackIntercept } from \"@protobuf-ts/runtime-rpc\";\nimport type { DownloadAPI_GetDownloadURL_Response } from \"./protocol\";\nimport type { DownloadAPI_GetDownloadURL_Request } from \"./protocol\";\nimport type { UnaryCall } from \"@protobuf-ts/runtime-rpc\";\nimport type { RpcOptions } from \"@protobuf-ts/runtime-rpc\";\n/**\n *\n * Download provides access to any data that can be downloaded over the network.\n *\n *\n * @generated from protobuf service MiLaboratories.Controller.Shared.Download\n */\nexport interface IDownloadClient {\n /**\n * @generated from protobuf rpc: GetDownloadURL\n */\n getDownloadURL(input: DownloadAPI_GetDownloadURL_Request, options?: RpcOptions): UnaryCall<DownloadAPI_GetDownloadURL_Request, DownloadAPI_GetDownloadURL_Response>;\n}\n/**\n *\n * Download provides access to any data that can be downloaded over the network.\n *\n *\n * @generated from protobuf service MiLaboratories.Controller.Shared.Download\n */\nexport class DownloadClient implements IDownloadClient, ServiceInfo {\n typeName = Download.typeName;\n methods = Download.methods;\n options = Download.options;\n constructor(private readonly _transport: RpcTransport) {\n }\n /**\n * @generated from protobuf rpc: GetDownloadURL\n */\n getDownloadURL(input: DownloadAPI_GetDownloadURL_Request, options?: RpcOptions): UnaryCall<DownloadAPI_GetDownloadURL_Request, DownloadAPI_GetDownloadURL_Response> {\n const method = this.methods[0], opt = this._transport.mergeOptions(options);\n return stackIntercept<DownloadAPI_GetDownloadURL_Request, DownloadAPI_GetDownloadURL_Response>(\"unary\", this._transport, method, opt, input);\n }\n}\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"protocol.client.js","names":[],"sources":["../../../../../../../../../src/proto-grpc/github.com/milaboratory/pl/controllers/shared/grpc/downloadapi/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/downloadapi/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 { Download } from \"./protocol\";\nimport { stackIntercept } from \"@protobuf-ts/runtime-rpc\";\nimport type { DownloadAPI_GetDownloadURL_Response } from \"./protocol\";\nimport type { DownloadAPI_GetDownloadURL_Request } from \"./protocol\";\nimport type { UnaryCall } from \"@protobuf-ts/runtime-rpc\";\nimport type { RpcOptions } from \"@protobuf-ts/runtime-rpc\";\n/**\n *\n * Download provides access to any data that can be downloaded over the network.\n *\n *\n * @generated from protobuf service MiLaboratories.Controller.Shared.Download\n */\nexport interface IDownloadClient {\n /**\n * @generated from protobuf rpc: GetDownloadURL\n */\n getDownloadURL(input: DownloadAPI_GetDownloadURL_Request, options?: RpcOptions): UnaryCall<DownloadAPI_GetDownloadURL_Request, DownloadAPI_GetDownloadURL_Response>;\n}\n/**\n *\n * Download provides access to any data that can be downloaded over the network.\n *\n *\n * @generated from protobuf service MiLaboratories.Controller.Shared.Download\n */\nexport class DownloadClient implements IDownloadClient, ServiceInfo {\n typeName = Download.typeName;\n methods = Download.methods;\n options = Download.options;\n constructor(private readonly _transport: RpcTransport) {\n }\n /**\n * @generated from protobuf rpc: GetDownloadURL\n */\n getDownloadURL(input: DownloadAPI_GetDownloadURL_Request, options?: RpcOptions): UnaryCall<DownloadAPI_GetDownloadURL_Request, DownloadAPI_GetDownloadURL_Response> {\n const method = this.methods[0], opt = this._transport.mergeOptions(options);\n return stackIntercept<DownloadAPI_GetDownloadURL_Request, DownloadAPI_GetDownloadURL_Response>(\"unary\", this._transport, method, opt, input);\n }\n}\n"],"mappings":";;;;;;;;;;AA+BA,IAAa,iBAAb,MAAoE;CAChE,WAAW,SAAS;CACpB,UAAU,SAAS;CACnB,UAAU,SAAS;CACnB,YAAY,YAA2C;AAA1B,OAAA,aAAA;;;;;CAK7B,eAAe,OAA2C,SAA0G;EAChK,MAAM,SAAS,KAAK,QAAQ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,GAAqB,aAAA;AAAA;;;;cAgBhH,qCAAA,EAAqC,0CAAA;AAAA,cAE5C,wCAAA,SAAiD,WAAA,CAAY,mCAAA;;EAO/D,MAAA,CAAO,KAAA,GAAQ,cAAA,CAAe,mCAAA,IAAuC,mCAAA;EAQrE,kBAAA,CAAmB,MAAA,EAAQ,aAAA,EAAe,MAAA,UAAgB,OAAA,EAAS,iBAAA,EAAmB,MAAA,GAAS,mCAAA,GAAsC,mCAAA;EAsBrI,mBAAA,CAAoB,OAAA,EAAS,mCAAA,EAAqC,MAAA,EAAQ,aAAA,EAAe,OAAA,EAAS,kBAAA,GAAqB,aAAA;AAAA;;;;cAgB9G,mCAAA,EAAmC,wCAAA"}
|
package/dist/proto-grpc/github.com/milaboratory/pl/controllers/shared/grpc/downloadapi/protocol.js
CHANGED
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
import { ServiceType } from "@protobuf-ts/runtime-rpc";
|
|
2
2
|
import { MessageType, UnknownFieldHandler, WireType, reflectionMergePartial } from "@protobuf-ts/runtime";
|
|
3
|
-
|
|
4
3
|
//#region src/proto-grpc/github.com/milaboratory/pl/controllers/shared/grpc/downloadapi/protocol.ts
|
|
5
4
|
var DownloadAPI$Type = class extends MessageType {
|
|
6
5
|
constructor() {
|
|
@@ -31,10 +30,7 @@ var DownloadAPI$Type = class extends MessageType {
|
|
|
31
30
|
return writer;
|
|
32
31
|
}
|
|
33
32
|
};
|
|
34
|
-
|
|
35
|
-
* @generated MessageType for protobuf message MiLaboratories.Controller.Shared.DownloadAPI
|
|
36
|
-
*/
|
|
37
|
-
const DownloadAPI = new DownloadAPI$Type();
|
|
33
|
+
new DownloadAPI$Type();
|
|
38
34
|
var DownloadAPI_GetDownloadURL$Type = class extends MessageType {
|
|
39
35
|
constructor() {
|
|
40
36
|
super("MiLaboratories.Controller.Shared.DownloadAPI.GetDownloadURL", []);
|
|
@@ -64,10 +60,7 @@ var DownloadAPI_GetDownloadURL$Type = class extends MessageType {
|
|
|
64
60
|
return writer;
|
|
65
61
|
}
|
|
66
62
|
};
|
|
67
|
-
|
|
68
|
-
* @generated MessageType for protobuf message MiLaboratories.Controller.Shared.DownloadAPI.GetDownloadURL
|
|
69
|
-
*/
|
|
70
|
-
const DownloadAPI_GetDownloadURL = new DownloadAPI_GetDownloadURL$Type();
|
|
63
|
+
new DownloadAPI_GetDownloadURL$Type();
|
|
71
64
|
var DownloadAPI_GetDownloadURL_Request$Type = class extends MessageType {
|
|
72
65
|
constructor() {
|
|
73
66
|
super("MiLaboratories.Controller.Shared.DownloadAPI.GetDownloadURL.Request", [
|
|
@@ -240,10 +233,6 @@ var DownloadAPI_GetDownloadURL_Response$Type = class extends MessageType {
|
|
|
240
233
|
}
|
|
241
234
|
};
|
|
242
235
|
/**
|
|
243
|
-
* @generated MessageType for protobuf message MiLaboratories.Controller.Shared.DownloadAPI.GetDownloadURL.Response
|
|
244
|
-
*/
|
|
245
|
-
const DownloadAPI_GetDownloadURL_Response = new DownloadAPI_GetDownloadURL_Response$Type();
|
|
246
|
-
/**
|
|
247
236
|
* @generated ServiceType for protobuf service MiLaboratories.Controller.Shared.Download
|
|
248
237
|
*/
|
|
249
238
|
const Download = new ServiceType("MiLaboratories.Controller.Shared.Download", [{
|
|
@@ -253,9 +242,9 @@ const Download = new ServiceType("MiLaboratories.Controller.Shared.Download", [{
|
|
|
253
242
|
body: "*"
|
|
254
243
|
} },
|
|
255
244
|
I: DownloadAPI_GetDownloadURL_Request,
|
|
256
|
-
O: DownloadAPI_GetDownloadURL_Response
|
|
245
|
+
O: new DownloadAPI_GetDownloadURL_Response$Type()
|
|
257
246
|
}]);
|
|
258
|
-
|
|
259
247
|
//#endregion
|
|
260
248
|
export { Download };
|
|
249
|
+
|
|
261
250
|
//# sourceMappingURL=protocol.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"protocol.js","names":[],"sources":["../../../../../../../../../src/proto-grpc/github.com/milaboratory/pl/controllers/shared/grpc/downloadapi/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/downloadapi/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.DownloadAPI\n */\nexport interface DownloadAPI {\n}\n/**\n * @generated from protobuf message MiLaboratories.Controller.Shared.DownloadAPI.GetDownloadURL\n */\nexport interface DownloadAPI_GetDownloadURL {\n}\n/**\n * @generated from protobuf message MiLaboratories.Controller.Shared.DownloadAPI.GetDownloadURL.Request\n */\nexport interface DownloadAPI_GetDownloadURL_Request {\n /**\n * @generated from protobuf field: uint64 resource_id = 1\n */\n resourceId: bigint;\n /**\n * Signature proving the caller is authorized to access this resource.\n *\n * @generated from protobuf field: optional bytes resource_signature = 3\n */\n resourceSignature?: Uint8Array;\n /**\n * Pass `true` here if the blob will be downloaded from the internal network,\n * e.g. controllers could use this if they are trying to download something from the internal network.\n * For backward compatibility, by default pl treats all requests as from the external network.\n *\n * @generated from protobuf field: bool is_internal_use = 2\n */\n isInternalUse: boolean;\n}\n/**\n * @generated from protobuf message MiLaboratories.Controller.Shared.DownloadAPI.GetDownloadURL.HTTPHeader\n */\nexport interface DownloadAPI_GetDownloadURL_HTTPHeader {\n /**\n * @generated from protobuf field: string name = 1\n */\n name: string;\n /**\n * @generated from protobuf field: string value = 2\n */\n value: string;\n}\n/**\n * @generated from protobuf message MiLaboratories.Controller.Shared.DownloadAPI.GetDownloadURL.Response\n */\nexport interface DownloadAPI_GetDownloadURL_Response {\n /**\n * @generated from protobuf field: string download_url = 1\n */\n downloadUrl: string;\n /**\n * @generated from protobuf field: repeated MiLaboratories.Controller.Shared.DownloadAPI.GetDownloadURL.HTTPHeader headers = 2\n */\n headers: DownloadAPI_GetDownloadURL_HTTPHeader[];\n}\n// @generated message type with reflection information, may provide speed optimized methods\nclass DownloadAPI$Type extends MessageType<DownloadAPI> {\n constructor() {\n super(\"MiLaboratories.Controller.Shared.DownloadAPI\", []);\n }\n create(value?: PartialMessage<DownloadAPI>): DownloadAPI {\n const message = globalThis.Object.create((this.messagePrototype!));\n if (value !== undefined)\n reflectionMergePartial<DownloadAPI>(this, message, value);\n return message;\n }\n internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: DownloadAPI): DownloadAPI {\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: DownloadAPI, 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.DownloadAPI\n */\nexport const DownloadAPI = new DownloadAPI$Type();\n// @generated message type with reflection information, may provide speed optimized methods\nclass DownloadAPI_GetDownloadURL$Type extends MessageType<DownloadAPI_GetDownloadURL> {\n constructor() {\n super(\"MiLaboratories.Controller.Shared.DownloadAPI.GetDownloadURL\", []);\n }\n create(value?: PartialMessage<DownloadAPI_GetDownloadURL>): DownloadAPI_GetDownloadURL {\n const message = globalThis.Object.create((this.messagePrototype!));\n if (value !== undefined)\n reflectionMergePartial<DownloadAPI_GetDownloadURL>(this, message, value);\n return message;\n }\n internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: DownloadAPI_GetDownloadURL): DownloadAPI_GetDownloadURL {\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: DownloadAPI_GetDownloadURL, 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.DownloadAPI.GetDownloadURL\n */\nexport const DownloadAPI_GetDownloadURL = new DownloadAPI_GetDownloadURL$Type();\n// @generated message type with reflection information, may provide speed optimized methods\nclass DownloadAPI_GetDownloadURL_Request$Type extends MessageType<DownloadAPI_GetDownloadURL_Request> {\n constructor() {\n super(\"MiLaboratories.Controller.Shared.DownloadAPI.GetDownloadURL.Request\", [\n { no: 1, name: \"resource_id\", kind: \"scalar\", T: 4 /*ScalarType.UINT64*/, L: 0 /*LongType.BIGINT*/ },\n { no: 3, name: \"resource_signature\", kind: \"scalar\", opt: true, T: 12 /*ScalarType.BYTES*/ },\n { no: 2, name: \"is_internal_use\", kind: \"scalar\", T: 8 /*ScalarType.BOOL*/ }\n ]);\n }\n create(value?: PartialMessage<DownloadAPI_GetDownloadURL_Request>): DownloadAPI_GetDownloadURL_Request {\n const message = globalThis.Object.create((this.messagePrototype!));\n message.resourceId = 0n;\n message.isInternalUse = false;\n if (value !== undefined)\n reflectionMergePartial<DownloadAPI_GetDownloadURL_Request>(this, message, value);\n return message;\n }\n internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: DownloadAPI_GetDownloadURL_Request): DownloadAPI_GetDownloadURL_Request {\n let message = target ?? this.create(), end = reader.pos + length;\n while (reader.pos < end) {\n let [fieldNo, wireType] = reader.tag();\n switch (fieldNo) {\n case /* uint64 resource_id */ 1:\n message.resourceId = reader.uint64().toBigInt();\n break;\n case /* optional bytes resource_signature */ 3:\n message.resourceSignature = reader.bytes();\n break;\n case /* bool is_internal_use */ 2:\n message.isInternalUse = reader.bool();\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: DownloadAPI_GetDownloadURL_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 /* bool is_internal_use = 2; */\n if (message.isInternalUse !== false)\n writer.tag(2, WireType.Varint).bool(message.isInternalUse);\n /* optional bytes resource_signature = 3; */\n if (message.resourceSignature !== undefined)\n writer.tag(3, WireType.LengthDelimited).bytes(message.resourceSignature);\n let u = options.writeUnknownFields;\n if (u !== false)\n (u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);\n return writer;\n }\n}\n/**\n * @generated MessageType for protobuf message MiLaboratories.Controller.Shared.DownloadAPI.GetDownloadURL.Request\n */\nexport const DownloadAPI_GetDownloadURL_Request = new DownloadAPI_GetDownloadURL_Request$Type();\n// @generated message type with reflection information, may provide speed optimized methods\nclass DownloadAPI_GetDownloadURL_HTTPHeader$Type extends MessageType<DownloadAPI_GetDownloadURL_HTTPHeader> {\n constructor() {\n super(\"MiLaboratories.Controller.Shared.DownloadAPI.GetDownloadURL.HTTPHeader\", [\n { no: 1, name: \"name\", kind: \"scalar\", T: 9 /*ScalarType.STRING*/ },\n { no: 2, name: \"value\", kind: \"scalar\", T: 9 /*ScalarType.STRING*/ }\n ]);\n }\n create(value?: PartialMessage<DownloadAPI_GetDownloadURL_HTTPHeader>): DownloadAPI_GetDownloadURL_HTTPHeader {\n const message = globalThis.Object.create((this.messagePrototype!));\n message.name = \"\";\n message.value = \"\";\n if (value !== undefined)\n reflectionMergePartial<DownloadAPI_GetDownloadURL_HTTPHeader>(this, message, value);\n return message;\n }\n internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: DownloadAPI_GetDownloadURL_HTTPHeader): DownloadAPI_GetDownloadURL_HTTPHeader {\n let message = target ?? this.create(), end = reader.pos + length;\n while (reader.pos < end) {\n let [fieldNo, wireType] = reader.tag();\n switch (fieldNo) {\n case /* string name */ 1:\n message.name = reader.string();\n break;\n case /* string value */ 2:\n message.value = 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: DownloadAPI_GetDownloadURL_HTTPHeader, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {\n /* string name = 1; */\n if (message.name !== \"\")\n writer.tag(1, WireType.LengthDelimited).string(message.name);\n /* string value = 2; */\n if (message.value !== \"\")\n writer.tag(2, WireType.LengthDelimited).string(message.value);\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.DownloadAPI.GetDownloadURL.HTTPHeader\n */\nexport const DownloadAPI_GetDownloadURL_HTTPHeader = new DownloadAPI_GetDownloadURL_HTTPHeader$Type();\n// @generated message type with reflection information, may provide speed optimized methods\nclass DownloadAPI_GetDownloadURL_Response$Type extends MessageType<DownloadAPI_GetDownloadURL_Response> {\n constructor() {\n super(\"MiLaboratories.Controller.Shared.DownloadAPI.GetDownloadURL.Response\", [\n { no: 1, name: \"download_url\", kind: \"scalar\", T: 9 /*ScalarType.STRING*/ },\n { no: 2, name: \"headers\", kind: \"message\", repeat: 2 /*RepeatType.UNPACKED*/, T: () => DownloadAPI_GetDownloadURL_HTTPHeader }\n ]);\n }\n create(value?: PartialMessage<DownloadAPI_GetDownloadURL_Response>): DownloadAPI_GetDownloadURL_Response {\n const message = globalThis.Object.create((this.messagePrototype!));\n message.downloadUrl = \"\";\n message.headers = [];\n if (value !== undefined)\n reflectionMergePartial<DownloadAPI_GetDownloadURL_Response>(this, message, value);\n return message;\n }\n internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: DownloadAPI_GetDownloadURL_Response): DownloadAPI_GetDownloadURL_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 /* string download_url */ 1:\n message.downloadUrl = reader.string();\n break;\n case /* repeated MiLaboratories.Controller.Shared.DownloadAPI.GetDownloadURL.HTTPHeader headers */ 2:\n message.headers.push(DownloadAPI_GetDownloadURL_HTTPHeader.internalBinaryRead(reader, reader.uint32(), options));\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: DownloadAPI_GetDownloadURL_Response, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {\n /* string download_url = 1; */\n if (message.downloadUrl !== \"\")\n writer.tag(1, WireType.LengthDelimited).string(message.downloadUrl);\n /* repeated MiLaboratories.Controller.Shared.DownloadAPI.GetDownloadURL.HTTPHeader headers = 2; */\n for (let i = 0; i < message.headers.length; i++)\n DownloadAPI_GetDownloadURL_HTTPHeader.internalBinaryWrite(message.headers[i], writer.tag(2, 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.DownloadAPI.GetDownloadURL.Response\n */\nexport const DownloadAPI_GetDownloadURL_Response = new DownloadAPI_GetDownloadURL_Response$Type();\n/**\n * @generated ServiceType for protobuf service MiLaboratories.Controller.Shared.Download\n */\nexport const Download = new ServiceType(\"MiLaboratories.Controller.Shared.Download\", [\n { name: \"GetDownloadURL\", options: { \"google.api.http\": { post: \"/v1/get-download-url\", body: \"*\" } }, I: DownloadAPI_GetDownloadURL_Request, O: DownloadAPI_GetDownloadURL_Response }\n]);\n"],"mappings":";;;;AAyEA,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,OACV,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,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;AAC3B,aAAQ,cAAc,OAAO,QAAQ;AACrC;IACJ,KAAmG;AAC/F,aAAQ,QAAQ,KAAK,sCAAsC,mBAAmB,QAAQ,OAAO,QAAQ,EAAE,QAAQ,CAAC;AAChH;IACJ;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,SAA8C,QAAuB,SAA4C;AAEjI,MAAI,QAAQ,gBAAgB,GACxB,QAAO,IAAI,GAAG,SAAS,gBAAgB,CAAC,OAAO,QAAQ,YAAY;AAEvE,OAAK,IAAI,IAAI,GAAG,IAAI,QAAQ,QAAQ,QAAQ,IACxC,uCAAsC,oBAAoB,QAAQ,QAAQ,IAAI,OAAO,IAAI,GAAG,SAAS,gBAAgB,CAAC,MAAM,EAAE,QAAQ,CAAC,MAAM;EACjJ,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;CAAkB,SAAS,EAAE,mBAAmB;EAAE,MAAM;EAAwB,MAAM;EAAK,EAAE;CAAE,GAAG;CAAoC,GAAG;CAAqC,CACzL,CAAC"}
|
|
1
|
+
{"version":3,"file":"protocol.js","names":[],"sources":["../../../../../../../../../src/proto-grpc/github.com/milaboratory/pl/controllers/shared/grpc/downloadapi/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/downloadapi/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.DownloadAPI\n */\nexport interface DownloadAPI {\n}\n/**\n * @generated from protobuf message MiLaboratories.Controller.Shared.DownloadAPI.GetDownloadURL\n */\nexport interface DownloadAPI_GetDownloadURL {\n}\n/**\n * @generated from protobuf message MiLaboratories.Controller.Shared.DownloadAPI.GetDownloadURL.Request\n */\nexport interface DownloadAPI_GetDownloadURL_Request {\n /**\n * @generated from protobuf field: uint64 resource_id = 1\n */\n resourceId: bigint;\n /**\n * Signature proving the caller is authorized to access this resource.\n *\n * @generated from protobuf field: optional bytes resource_signature = 3\n */\n resourceSignature?: Uint8Array;\n /**\n * Pass `true` here if the blob will be downloaded from the internal network,\n * e.g. controllers could use this if they are trying to download something from the internal network.\n * For backward compatibility, by default pl treats all requests as from the external network.\n *\n * @generated from protobuf field: bool is_internal_use = 2\n */\n isInternalUse: boolean;\n}\n/**\n * @generated from protobuf message MiLaboratories.Controller.Shared.DownloadAPI.GetDownloadURL.HTTPHeader\n */\nexport interface DownloadAPI_GetDownloadURL_HTTPHeader {\n /**\n * @generated from protobuf field: string name = 1\n */\n name: string;\n /**\n * @generated from protobuf field: string value = 2\n */\n value: string;\n}\n/**\n * @generated from protobuf message MiLaboratories.Controller.Shared.DownloadAPI.GetDownloadURL.Response\n */\nexport interface DownloadAPI_GetDownloadURL_Response {\n /**\n * @generated from protobuf field: string download_url = 1\n */\n downloadUrl: string;\n /**\n * @generated from protobuf field: repeated MiLaboratories.Controller.Shared.DownloadAPI.GetDownloadURL.HTTPHeader headers = 2\n */\n headers: DownloadAPI_GetDownloadURL_HTTPHeader[];\n}\n// @generated message type with reflection information, may provide speed optimized methods\nclass DownloadAPI$Type extends MessageType<DownloadAPI> {\n constructor() {\n super(\"MiLaboratories.Controller.Shared.DownloadAPI\", []);\n }\n create(value?: PartialMessage<DownloadAPI>): DownloadAPI {\n const message = globalThis.Object.create((this.messagePrototype!));\n if (value !== undefined)\n reflectionMergePartial<DownloadAPI>(this, message, value);\n return message;\n }\n internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: DownloadAPI): DownloadAPI {\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: DownloadAPI, 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.DownloadAPI\n */\nexport const DownloadAPI = new DownloadAPI$Type();\n// @generated message type with reflection information, may provide speed optimized methods\nclass DownloadAPI_GetDownloadURL$Type extends MessageType<DownloadAPI_GetDownloadURL> {\n constructor() {\n super(\"MiLaboratories.Controller.Shared.DownloadAPI.GetDownloadURL\", []);\n }\n create(value?: PartialMessage<DownloadAPI_GetDownloadURL>): DownloadAPI_GetDownloadURL {\n const message = globalThis.Object.create((this.messagePrototype!));\n if (value !== undefined)\n reflectionMergePartial<DownloadAPI_GetDownloadURL>(this, message, value);\n return message;\n }\n internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: DownloadAPI_GetDownloadURL): DownloadAPI_GetDownloadURL {\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: DownloadAPI_GetDownloadURL, 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.DownloadAPI.GetDownloadURL\n */\nexport const DownloadAPI_GetDownloadURL = new DownloadAPI_GetDownloadURL$Type();\n// @generated message type with reflection information, may provide speed optimized methods\nclass DownloadAPI_GetDownloadURL_Request$Type extends MessageType<DownloadAPI_GetDownloadURL_Request> {\n constructor() {\n super(\"MiLaboratories.Controller.Shared.DownloadAPI.GetDownloadURL.Request\", [\n { no: 1, name: \"resource_id\", kind: \"scalar\", T: 4 /*ScalarType.UINT64*/, L: 0 /*LongType.BIGINT*/ },\n { no: 3, name: \"resource_signature\", kind: \"scalar\", opt: true, T: 12 /*ScalarType.BYTES*/ },\n { no: 2, name: \"is_internal_use\", kind: \"scalar\", T: 8 /*ScalarType.BOOL*/ }\n ]);\n }\n create(value?: PartialMessage<DownloadAPI_GetDownloadURL_Request>): DownloadAPI_GetDownloadURL_Request {\n const message = globalThis.Object.create((this.messagePrototype!));\n message.resourceId = 0n;\n message.isInternalUse = false;\n if (value !== undefined)\n reflectionMergePartial<DownloadAPI_GetDownloadURL_Request>(this, message, value);\n return message;\n }\n internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: DownloadAPI_GetDownloadURL_Request): DownloadAPI_GetDownloadURL_Request {\n let message = target ?? this.create(), end = reader.pos + length;\n while (reader.pos < end) {\n let [fieldNo, wireType] = reader.tag();\n switch (fieldNo) {\n case /* uint64 resource_id */ 1:\n message.resourceId = reader.uint64().toBigInt();\n break;\n case /* optional bytes resource_signature */ 3:\n message.resourceSignature = reader.bytes();\n break;\n case /* bool is_internal_use */ 2:\n message.isInternalUse = reader.bool();\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: DownloadAPI_GetDownloadURL_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 /* bool is_internal_use = 2; */\n if (message.isInternalUse !== false)\n writer.tag(2, WireType.Varint).bool(message.isInternalUse);\n /* optional bytes resource_signature = 3; */\n if (message.resourceSignature !== undefined)\n writer.tag(3, WireType.LengthDelimited).bytes(message.resourceSignature);\n let u = options.writeUnknownFields;\n if (u !== false)\n (u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);\n return writer;\n }\n}\n/**\n * @generated MessageType for protobuf message MiLaboratories.Controller.Shared.DownloadAPI.GetDownloadURL.Request\n */\nexport const DownloadAPI_GetDownloadURL_Request = new DownloadAPI_GetDownloadURL_Request$Type();\n// @generated message type with reflection information, may provide speed optimized methods\nclass DownloadAPI_GetDownloadURL_HTTPHeader$Type extends MessageType<DownloadAPI_GetDownloadURL_HTTPHeader> {\n constructor() {\n super(\"MiLaboratories.Controller.Shared.DownloadAPI.GetDownloadURL.HTTPHeader\", [\n { no: 1, name: \"name\", kind: \"scalar\", T: 9 /*ScalarType.STRING*/ },\n { no: 2, name: \"value\", kind: \"scalar\", T: 9 /*ScalarType.STRING*/ }\n ]);\n }\n create(value?: PartialMessage<DownloadAPI_GetDownloadURL_HTTPHeader>): DownloadAPI_GetDownloadURL_HTTPHeader {\n const message = globalThis.Object.create((this.messagePrototype!));\n message.name = \"\";\n message.value = \"\";\n if (value !== undefined)\n reflectionMergePartial<DownloadAPI_GetDownloadURL_HTTPHeader>(this, message, value);\n return message;\n }\n internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: DownloadAPI_GetDownloadURL_HTTPHeader): DownloadAPI_GetDownloadURL_HTTPHeader {\n let message = target ?? this.create(), end = reader.pos + length;\n while (reader.pos < end) {\n let [fieldNo, wireType] = reader.tag();\n switch (fieldNo) {\n case /* string name */ 1:\n message.name = reader.string();\n break;\n case /* string value */ 2:\n message.value = 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: DownloadAPI_GetDownloadURL_HTTPHeader, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {\n /* string name = 1; */\n if (message.name !== \"\")\n writer.tag(1, WireType.LengthDelimited).string(message.name);\n /* string value = 2; */\n if (message.value !== \"\")\n writer.tag(2, WireType.LengthDelimited).string(message.value);\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.DownloadAPI.GetDownloadURL.HTTPHeader\n */\nexport const DownloadAPI_GetDownloadURL_HTTPHeader = new DownloadAPI_GetDownloadURL_HTTPHeader$Type();\n// @generated message type with reflection information, may provide speed optimized methods\nclass DownloadAPI_GetDownloadURL_Response$Type extends MessageType<DownloadAPI_GetDownloadURL_Response> {\n constructor() {\n super(\"MiLaboratories.Controller.Shared.DownloadAPI.GetDownloadURL.Response\", [\n { no: 1, name: \"download_url\", kind: \"scalar\", T: 9 /*ScalarType.STRING*/ },\n { no: 2, name: \"headers\", kind: \"message\", repeat: 2 /*RepeatType.UNPACKED*/, T: () => DownloadAPI_GetDownloadURL_HTTPHeader }\n ]);\n }\n create(value?: PartialMessage<DownloadAPI_GetDownloadURL_Response>): DownloadAPI_GetDownloadURL_Response {\n const message = globalThis.Object.create((this.messagePrototype!));\n message.downloadUrl = \"\";\n message.headers = [];\n if (value !== undefined)\n reflectionMergePartial<DownloadAPI_GetDownloadURL_Response>(this, message, value);\n return message;\n }\n internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: DownloadAPI_GetDownloadURL_Response): DownloadAPI_GetDownloadURL_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 /* string download_url */ 1:\n message.downloadUrl = reader.string();\n break;\n case /* repeated MiLaboratories.Controller.Shared.DownloadAPI.GetDownloadURL.HTTPHeader headers */ 2:\n message.headers.push(DownloadAPI_GetDownloadURL_HTTPHeader.internalBinaryRead(reader, reader.uint32(), options));\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: DownloadAPI_GetDownloadURL_Response, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {\n /* string download_url = 1; */\n if (message.downloadUrl !== \"\")\n writer.tag(1, WireType.LengthDelimited).string(message.downloadUrl);\n /* repeated MiLaboratories.Controller.Shared.DownloadAPI.GetDownloadURL.HTTPHeader headers = 2; */\n for (let i = 0; i < message.headers.length; i++)\n DownloadAPI_GetDownloadURL_HTTPHeader.internalBinaryWrite(message.headers[i], writer.tag(2, 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.DownloadAPI.GetDownloadURL.Response\n */\nexport const DownloadAPI_GetDownloadURL_Response = new DownloadAPI_GetDownloadURL_Response$Type();\n/**\n * @generated ServiceType for protobuf service MiLaboratories.Controller.Shared.Download\n */\nexport const Download = new ServiceType(\"MiLaboratories.Controller.Shared.Download\", [\n { name: \"GetDownloadURL\", options: { \"google.api.http\": { post: \"/v1/get-download-url\", body: \"*\" } }, I: DownloadAPI_GetDownloadURL_Request, O: DownloadAPI_GetDownloadURL_Response }\n]);\n"],"mappings":";;;AAyEA,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,QA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AQ,QAAQ,KAAK,sCAAsC,mBAAmB,QAAQ,OAAO,QAAQ,EAAE,QAAQ,CAAC;AAChH;IACJ;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,SAA8C,QAAuB,SAA4C;AAEjI,MAAI,QAAQ,gBAAgB,GACxB,QAAO,IAAI,GAAG,SAAS,gBAAgB,CAAC,OAAO,QAAQ,YAAY;AAEvE,OAAK,IAAI,IAAI,GAAG,IAAI,QAAQ,QAAQ,QAAQ,IACxC,uCAAsC,oBAAoB,QAAQ,QAAQ,IAAI,OAAO,IAAI,GAAG,SAAS,gBAAgB,CAAC,MAAM,EAAE,QAAQ,CAAC,MAAM;EACjJ,IAAI,IAAI,QAAQ;AAChB,MAAI,MAAM,MACN,EAAC,KAAK,OAAO,oBAAoB,UAAU,GAAG,KAAK,UAAU,SAAS,OAAO;AACjF,SAAO;;;;;;AAUf,MAAa,WAAW,IAAI,YAAY,6CAA6C,CACjF;CAAE,MAAM;CAAkB,SAAS,EAAE,mBAAmB;EAAE,MAAM;EAAwB,MAAM;EAAK,EAAE;CAAE,GAAG;CAAoC,GAL/F,IAAI,0CAA0C;CAKyF,CACzL,CAAC"}
|
package/dist/proto-grpc/github.com/milaboratory/pl/controllers/shared/grpc/lsapi/protocol.cjs
CHANGED
|
@@ -1,8 +1,7 @@
|
|
|
1
|
-
|
|
2
|
-
const require_timestamp = require(
|
|
1
|
+
require("../../../../../../../../_virtual/_rolldown/runtime.cjs");
|
|
2
|
+
const require_timestamp = require("../../../../../../../google/protobuf/timestamp.cjs");
|
|
3
3
|
let _protobuf_ts_runtime_rpc = require("@protobuf-ts/runtime-rpc");
|
|
4
4
|
let _protobuf_ts_runtime = require("@protobuf-ts/runtime");
|
|
5
|
-
|
|
6
5
|
//#region src/proto-grpc/github.com/milaboratory/pl/controllers/shared/grpc/lsapi/protocol.ts
|
|
7
6
|
var LsAPI$Type = class extends _protobuf_ts_runtime.MessageType {
|
|
8
7
|
constructor() {
|
|
@@ -33,10 +32,7 @@ var LsAPI$Type = class extends _protobuf_ts_runtime.MessageType {
|
|
|
33
32
|
return writer;
|
|
34
33
|
}
|
|
35
34
|
};
|
|
36
|
-
|
|
37
|
-
* @generated MessageType for protobuf message MiLaboratories.Controller.Shared.LsAPI
|
|
38
|
-
*/
|
|
39
|
-
const LsAPI = new LsAPI$Type();
|
|
35
|
+
new LsAPI$Type();
|
|
40
36
|
var LsAPI_ListItem$Type = class extends _protobuf_ts_runtime.MessageType {
|
|
41
37
|
constructor() {
|
|
42
38
|
super("MiLaboratories.Controller.Shared.LsAPI.ListItem", [
|
|
@@ -177,10 +173,7 @@ var LsAPI_List$Type = class extends _protobuf_ts_runtime.MessageType {
|
|
|
177
173
|
return writer;
|
|
178
174
|
}
|
|
179
175
|
};
|
|
180
|
-
|
|
181
|
-
* @generated MessageType for protobuf message MiLaboratories.Controller.Shared.LsAPI.List
|
|
182
|
-
*/
|
|
183
|
-
const LsAPI_List = new LsAPI_List$Type();
|
|
176
|
+
new LsAPI_List$Type();
|
|
184
177
|
var LsAPI_List_Request$Type = class extends _protobuf_ts_runtime.MessageType {
|
|
185
178
|
constructor() {
|
|
186
179
|
super("MiLaboratories.Controller.Shared.LsAPI.List.Request", [
|
|
@@ -315,7 +308,7 @@ const LS = new _protobuf_ts_runtime_rpc.ServiceType("MiLaboratories.Controller.S
|
|
|
315
308
|
I: LsAPI_List_Request,
|
|
316
309
|
O: LsAPI_List_Response
|
|
317
310
|
}]);
|
|
318
|
-
|
|
319
311
|
//#endregion
|
|
320
312
|
exports.LS = LS;
|
|
313
|
+
|
|
321
314
|
//# sourceMappingURL=protocol.cjs.map
|