@milaboratories/pl-drivers 1.12.7 → 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 +6 -6
- package/dist/clients/download.cjs.map +1 -1
- package/dist/clients/download.d.ts.map +1 -0
- package/dist/clients/download.js +2 -2
- package/dist/clients/download.js.map +1 -1
- package/dist/clients/logs.cjs +5 -4
- package/dist/clients/logs.cjs.map +1 -1
- package/dist/clients/logs.d.ts.map +1 -0
- package/dist/clients/logs.js +3 -2
- package/dist/clients/logs.js.map +1 -1
- package/dist/clients/ls_api.cjs +4 -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 +2 -2
- package/dist/clients/ls_api.js.map +1 -1
- package/dist/clients/progress.cjs +7 -5
- package/dist/clients/progress.cjs.map +1 -1
- package/dist/clients/progress.d.ts.map +1 -0
- package/dist/clients/progress.js +5 -3
- package/dist/clients/progress.js.map +1 -1
- package/dist/clients/upload.cjs +22 -9
- package/dist/clients/upload.cjs.map +1 -1
- package/dist/clients/upload.d.ts.map +1 -0
- package/dist/clients/upload.js +18 -5
- 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 +32 -27
- 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 +4 -5
- 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 +6 -6
- 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 +2 -3
- 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 +11 -5
- 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 +32 -31
- 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 +31 -24
- 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 +7 -8
- 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 +5 -6
- 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 +16 -16
- 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 +30 -27
- 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 +42 -28
- 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 +4 -5
- 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 +6 -6
- 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 +2 -3
- 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 +8 -0
- 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 +40 -26
- 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 +32 -196
- 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 +23 -45
- 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 +40 -70
- 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 +21 -43
- 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 +52 -137
- 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 +31 -195
- 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 +228 -46
- 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 +24 -11
- 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 +22 -9
- 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 +227 -45
- 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 +8 -3
- 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 +4 -2
- package/dist/proto-rest/progressapi.d.ts.map +1 -0
- package/dist/proto-rest/streamingapi.d.ts +64 -203
- package/dist/proto-rest/streamingapi.d.ts.map +1 -0
- package/package.json +10 -10
- package/src/clients/download.ts +1 -0
- package/src/clients/logs.ts +2 -0
- package/src/clients/ls_api.ts +1 -0
- package/src/clients/progress.ts +1 -1
- package/src/clients/upload.ts +14 -1
- package/src/proto-grpc/github.com/milaboratory/pl/controllers/shared/grpc/downloadapi/protocol.client.ts +2 -2
- package/src/proto-grpc/github.com/milaboratory/pl/controllers/shared/grpc/downloadapi/protocol.ts +24 -11
- package/src/proto-grpc/github.com/milaboratory/pl/controllers/shared/grpc/lsapi/protocol.client.ts +8 -8
- package/src/proto-grpc/github.com/milaboratory/pl/controllers/shared/grpc/lsapi/protocol.ts +31 -18
- package/src/proto-grpc/github.com/milaboratory/pl/controllers/shared/grpc/progressapi/protocol.client.ts +2 -2
- package/src/proto-grpc/github.com/milaboratory/pl/controllers/shared/grpc/progressapi/protocol.ts +23 -1
- package/src/proto-grpc/github.com/milaboratory/pl/controllers/shared/grpc/streamingapi/protocol.client.ts +39 -78
- package/src/proto-grpc/github.com/milaboratory/pl/controllers/shared/grpc/streamingapi/protocol.ts +72 -263
- package/src/proto-grpc/github.com/milaboratory/pl/controllers/shared/grpc/uploadapi/protocol.client.ts +41 -14
- package/src/proto-grpc/github.com/milaboratory/pl/controllers/shared/grpc/uploadapi/protocol.ts +286 -44
- package/src/proto-grpc/google/protobuf/descriptor.ts +2 -5
- package/src/proto-rest/downloadapi.ts +8 -3
- package/src/proto-rest/lsapi.ts +23 -18
- package/src/proto-rest/progressapi.ts +4 -0
- package/src/proto-rest/streamingapi.ts +65 -211
- package/src/proto-rest/uploadapi.ts +141 -39
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@milaboratories/pl-drivers",
|
|
3
|
-
"version": "1.12.
|
|
3
|
+
"version": "1.12.9",
|
|
4
4
|
"description": "Drivers and a low-level clients for log streaming, downloading and uploading files from and to pl",
|
|
5
5
|
"files": [
|
|
6
6
|
"dist/**/*",
|
|
@@ -29,24 +29,24 @@
|
|
|
29
29
|
"undici": "~7.16.0",
|
|
30
30
|
"zod": "~3.23.8",
|
|
31
31
|
"@milaboratories/computable": "2.9.2",
|
|
32
|
-
"@milaboratories/pl-
|
|
33
|
-
"@milaboratories/
|
|
34
|
-
"@milaboratories/pl-
|
|
32
|
+
"@milaboratories/pl-tree": "1.9.8",
|
|
33
|
+
"@milaboratories/ts-helpers": "1.8.1",
|
|
34
|
+
"@milaboratories/pl-client": "3.1.0",
|
|
35
35
|
"@milaboratories/helpers": "1.14.1",
|
|
36
|
-
"@milaboratories/
|
|
36
|
+
"@milaboratories/pl-model-common": "1.31.1"
|
|
37
37
|
},
|
|
38
38
|
"devDependencies": {
|
|
39
39
|
"@types/decompress": "^4.2.7",
|
|
40
40
|
"@types/node": "~24.5.2",
|
|
41
41
|
"@types/tar-fs": "^2.0.4",
|
|
42
|
-
"@vitest/coverage-istanbul": "^4.
|
|
42
|
+
"@vitest/coverage-istanbul": "^4.1.3",
|
|
43
43
|
"openapi-typescript": "^7.10.0",
|
|
44
44
|
"typescript": "~5.9.3",
|
|
45
|
-
"vitest": "^4.
|
|
46
|
-
"@milaboratories/build-configs": "1.5.2",
|
|
45
|
+
"vitest": "^4.1.3",
|
|
47
46
|
"@milaboratories/test-helpers": "1.2.1",
|
|
48
|
-
"@milaboratories/ts-
|
|
49
|
-
"@milaboratories/
|
|
47
|
+
"@milaboratories/ts-configs": "1.2.3",
|
|
48
|
+
"@milaboratories/build-configs": "2.0.0",
|
|
49
|
+
"@milaboratories/ts-builder": "1.3.1"
|
|
50
50
|
},
|
|
51
51
|
"engines": {
|
|
52
52
|
"node": ">=22"
|
package/src/clients/download.ts
CHANGED
package/src/clients/logs.ts
CHANGED
|
@@ -57,6 +57,7 @@ export class ClientLogs {
|
|
|
57
57
|
await client.POST("/v1/last-lines", {
|
|
58
58
|
body: {
|
|
59
59
|
resourceId: rId.toString(),
|
|
60
|
+
resourceSignature: "",
|
|
60
61
|
lineCount: lineCount,
|
|
61
62
|
offset: offsetBytes.toString(),
|
|
62
63
|
search: searchStr ?? "",
|
|
@@ -103,6 +104,7 @@ export class ClientLogs {
|
|
|
103
104
|
await client.POST("/v1/read/text", {
|
|
104
105
|
body: {
|
|
105
106
|
resourceId: rId.toString(),
|
|
107
|
+
resourceSignature: "",
|
|
106
108
|
readLimit: lineCount.toString(),
|
|
107
109
|
offset: offsetBytes.toString(),
|
|
108
110
|
search: searchStr ?? "",
|
package/src/clients/ls_api.ts
CHANGED
package/src/clients/progress.ts
CHANGED
|
@@ -62,7 +62,7 @@ export class ClientProgress {
|
|
|
62
62
|
} else {
|
|
63
63
|
const resp = (
|
|
64
64
|
await client.POST("/v1/get-progress", {
|
|
65
|
-
body: { resourceId: id.toString() },
|
|
65
|
+
body: { resourceId: id.toString(), resourceSignature: "" },
|
|
66
66
|
headers: { ...createRTypeRoutingHeader(type) },
|
|
67
67
|
})
|
|
68
68
|
).data!.report;
|
package/src/clients/upload.ts
CHANGED
|
@@ -96,6 +96,7 @@ export class ClientUpload {
|
|
|
96
96
|
await client.POST("/v1/upload/init", {
|
|
97
97
|
body: {
|
|
98
98
|
resourceId: id.toString(),
|
|
99
|
+
resourceSignature: "",
|
|
99
100
|
},
|
|
100
101
|
headers: { ...createRTypeRoutingHeader(type) },
|
|
101
102
|
})
|
|
@@ -140,6 +141,7 @@ export class ClientUpload {
|
|
|
140
141
|
await client.POST("/v1/upload/get-part-url", {
|
|
141
142
|
body: {
|
|
142
143
|
resourceId: id.toString(),
|
|
144
|
+
resourceSignature: "",
|
|
143
145
|
partNumber: partNumber.toString(),
|
|
144
146
|
uploadedPartSize: "0",
|
|
145
147
|
isInternalUse: false,
|
|
@@ -217,11 +219,21 @@ export class ClientUpload {
|
|
|
217
219
|
const client = this.wire.get();
|
|
218
220
|
|
|
219
221
|
if (client instanceof UploadClient) {
|
|
220
|
-
await client.finalize(
|
|
222
|
+
await client.finalize(
|
|
223
|
+
{
|
|
224
|
+
resourceId: info.id,
|
|
225
|
+
checksumAlgorithm: UploadAPI_ChecksumAlgorithm.UNSPECIFIED,
|
|
226
|
+
checksum: new Uint8Array(0),
|
|
227
|
+
},
|
|
228
|
+
addRTypeToMetadata(info.type, options),
|
|
229
|
+
);
|
|
221
230
|
} else {
|
|
222
231
|
await client.POST("/v1/upload/finalize", {
|
|
223
232
|
body: {
|
|
224
233
|
resourceId: info.id.toString(),
|
|
234
|
+
resourceSignature: "",
|
|
235
|
+
checksumAlgorithm: 0,
|
|
236
|
+
checksum: "",
|
|
225
237
|
},
|
|
226
238
|
headers: { ...createRTypeRoutingHeader(info.type) },
|
|
227
239
|
});
|
|
@@ -262,6 +274,7 @@ export class ClientUpload {
|
|
|
262
274
|
await client.POST("/v1/upload/update-progress", {
|
|
263
275
|
body: {
|
|
264
276
|
resourceId: id.toString(),
|
|
277
|
+
resourceSignature: "",
|
|
265
278
|
bytesProcessed: bytesProcessed.toString(),
|
|
266
279
|
},
|
|
267
280
|
headers: { ...createRTypeRoutingHeader(type) },
|
|
@@ -11,7 +11,7 @@ import type { UnaryCall } from "@protobuf-ts/runtime-rpc";
|
|
|
11
11
|
import type { RpcOptions } from "@protobuf-ts/runtime-rpc";
|
|
12
12
|
/**
|
|
13
13
|
*
|
|
14
|
-
* Download provides access to any data
|
|
14
|
+
* Download provides access to any data that can be downloaded over the network.
|
|
15
15
|
*
|
|
16
16
|
*
|
|
17
17
|
* @generated from protobuf service MiLaboratories.Controller.Shared.Download
|
|
@@ -24,7 +24,7 @@ export interface IDownloadClient {
|
|
|
24
24
|
}
|
|
25
25
|
/**
|
|
26
26
|
*
|
|
27
|
-
* Download provides access to any data
|
|
27
|
+
* Download provides access to any data that can be downloaded over the network.
|
|
28
28
|
*
|
|
29
29
|
*
|
|
30
30
|
* @generated from protobuf service MiLaboratories.Controller.Shared.Download
|
package/src/proto-grpc/github.com/milaboratory/pl/controllers/shared/grpc/downloadapi/protocol.ts
CHANGED
|
@@ -30,9 +30,15 @@ export interface DownloadAPI_GetDownloadURL_Request {
|
|
|
30
30
|
*/
|
|
31
31
|
resourceId: bigint;
|
|
32
32
|
/**
|
|
33
|
-
*
|
|
34
|
-
*
|
|
35
|
-
*
|
|
33
|
+
* Signature proving the caller is authorized to access this resource.
|
|
34
|
+
*
|
|
35
|
+
* @generated from protobuf field: optional bytes resource_signature = 3
|
|
36
|
+
*/
|
|
37
|
+
resourceSignature?: Uint8Array;
|
|
38
|
+
/**
|
|
39
|
+
* Pass `true` here if the blob will be downloaded from the internal network,
|
|
40
|
+
* e.g. controllers could use this if they are trying to download something from the internal network.
|
|
41
|
+
* For backward compatibility, by default pl treats all requests as from the external network.
|
|
36
42
|
*
|
|
37
43
|
* @generated from protobuf field: bool is_internal_use = 2
|
|
38
44
|
*/
|
|
@@ -43,11 +49,11 @@ export interface DownloadAPI_GetDownloadURL_Request {
|
|
|
43
49
|
*/
|
|
44
50
|
export interface DownloadAPI_GetDownloadURL_HTTPHeader {
|
|
45
51
|
/**
|
|
46
|
-
* @generated from protobuf field: string
|
|
52
|
+
* @generated from protobuf field: string name = 1
|
|
47
53
|
*/
|
|
48
54
|
name: string;
|
|
49
55
|
/**
|
|
50
|
-
* @generated from protobuf field: string
|
|
56
|
+
* @generated from protobuf field: string value = 2
|
|
51
57
|
*/
|
|
52
58
|
value: string;
|
|
53
59
|
}
|
|
@@ -145,6 +151,7 @@ class DownloadAPI_GetDownloadURL_Request$Type extends MessageType<DownloadAPI_Ge
|
|
|
145
151
|
constructor() {
|
|
146
152
|
super("MiLaboratories.Controller.Shared.DownloadAPI.GetDownloadURL.Request", [
|
|
147
153
|
{ no: 1, name: "resource_id", kind: "scalar", T: 4 /*ScalarType.UINT64*/, L: 0 /*LongType.BIGINT*/ },
|
|
154
|
+
{ no: 3, name: "resource_signature", kind: "scalar", opt: true, T: 12 /*ScalarType.BYTES*/ },
|
|
148
155
|
{ no: 2, name: "is_internal_use", kind: "scalar", T: 8 /*ScalarType.BOOL*/ }
|
|
149
156
|
]);
|
|
150
157
|
}
|
|
@@ -164,6 +171,9 @@ class DownloadAPI_GetDownloadURL_Request$Type extends MessageType<DownloadAPI_Ge
|
|
|
164
171
|
case /* uint64 resource_id */ 1:
|
|
165
172
|
message.resourceId = reader.uint64().toBigInt();
|
|
166
173
|
break;
|
|
174
|
+
case /* optional bytes resource_signature */ 3:
|
|
175
|
+
message.resourceSignature = reader.bytes();
|
|
176
|
+
break;
|
|
167
177
|
case /* bool is_internal_use */ 2:
|
|
168
178
|
message.isInternalUse = reader.bool();
|
|
169
179
|
break;
|
|
@@ -185,6 +195,9 @@ class DownloadAPI_GetDownloadURL_Request$Type extends MessageType<DownloadAPI_Ge
|
|
|
185
195
|
/* bool is_internal_use = 2; */
|
|
186
196
|
if (message.isInternalUse !== false)
|
|
187
197
|
writer.tag(2, WireType.Varint).bool(message.isInternalUse);
|
|
198
|
+
/* optional bytes resource_signature = 3; */
|
|
199
|
+
if (message.resourceSignature !== undefined)
|
|
200
|
+
writer.tag(3, WireType.LengthDelimited).bytes(message.resourceSignature);
|
|
188
201
|
let u = options.writeUnknownFields;
|
|
189
202
|
if (u !== false)
|
|
190
203
|
(u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
|
|
@@ -199,8 +212,8 @@ export const DownloadAPI_GetDownloadURL_Request = new DownloadAPI_GetDownloadURL
|
|
|
199
212
|
class DownloadAPI_GetDownloadURL_HTTPHeader$Type extends MessageType<DownloadAPI_GetDownloadURL_HTTPHeader> {
|
|
200
213
|
constructor() {
|
|
201
214
|
super("MiLaboratories.Controller.Shared.DownloadAPI.GetDownloadURL.HTTPHeader", [
|
|
202
|
-
{ no: 1, name: "
|
|
203
|
-
{ no: 2, name: "
|
|
215
|
+
{ no: 1, name: "name", kind: "scalar", T: 9 /*ScalarType.STRING*/ },
|
|
216
|
+
{ no: 2, name: "value", kind: "scalar", T: 9 /*ScalarType.STRING*/ }
|
|
204
217
|
]);
|
|
205
218
|
}
|
|
206
219
|
create(value?: PartialMessage<DownloadAPI_GetDownloadURL_HTTPHeader>): DownloadAPI_GetDownloadURL_HTTPHeader {
|
|
@@ -216,10 +229,10 @@ class DownloadAPI_GetDownloadURL_HTTPHeader$Type extends MessageType<DownloadAPI
|
|
|
216
229
|
while (reader.pos < end) {
|
|
217
230
|
let [fieldNo, wireType] = reader.tag();
|
|
218
231
|
switch (fieldNo) {
|
|
219
|
-
case /* string
|
|
232
|
+
case /* string name */ 1:
|
|
220
233
|
message.name = reader.string();
|
|
221
234
|
break;
|
|
222
|
-
case /* string
|
|
235
|
+
case /* string value */ 2:
|
|
223
236
|
message.value = reader.string();
|
|
224
237
|
break;
|
|
225
238
|
default:
|
|
@@ -234,10 +247,10 @@ class DownloadAPI_GetDownloadURL_HTTPHeader$Type extends MessageType<DownloadAPI
|
|
|
234
247
|
return message;
|
|
235
248
|
}
|
|
236
249
|
internalBinaryWrite(message: DownloadAPI_GetDownloadURL_HTTPHeader, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {
|
|
237
|
-
/* string
|
|
250
|
+
/* string name = 1; */
|
|
238
251
|
if (message.name !== "")
|
|
239
252
|
writer.tag(1, WireType.LengthDelimited).string(message.name);
|
|
240
|
-
/* string
|
|
253
|
+
/* string value = 2; */
|
|
241
254
|
if (message.value !== "")
|
|
242
255
|
writer.tag(2, WireType.LengthDelimited).string(message.value);
|
|
243
256
|
let u = options.writeUnknownFields;
|
package/src/proto-grpc/github.com/milaboratory/pl/controllers/shared/grpc/lsapi/protocol.client.ts
CHANGED
|
@@ -11,10 +11,10 @@ import type { UnaryCall } from "@protobuf-ts/runtime-rpc";
|
|
|
11
11
|
import type { RpcOptions } from "@protobuf-ts/runtime-rpc";
|
|
12
12
|
/**
|
|
13
13
|
*
|
|
14
|
-
* LS provides access to lists of blobs (files, S3 objects and so on)
|
|
15
|
-
* This API allows clients to know
|
|
16
|
-
* the
|
|
17
|
-
*
|
|
14
|
+
* LS provides access to lists of blobs (files, S3 objects and so on) in some storage.
|
|
15
|
+
* This API allows clients to know what items are available in storages that
|
|
16
|
+
* the controllers can access, providing clients with the ability to start indexing,
|
|
17
|
+
* say, existing sequence files from the corporate storage.
|
|
18
18
|
*
|
|
19
19
|
*
|
|
20
20
|
* @generated from protobuf service MiLaboratories.Controller.Shared.LS
|
|
@@ -27,10 +27,10 @@ export interface ILSClient {
|
|
|
27
27
|
}
|
|
28
28
|
/**
|
|
29
29
|
*
|
|
30
|
-
* LS provides access to lists of blobs (files, S3 objects and so on)
|
|
31
|
-
* This API allows clients to know
|
|
32
|
-
* the
|
|
33
|
-
*
|
|
30
|
+
* LS provides access to lists of blobs (files, S3 objects and so on) in some storage.
|
|
31
|
+
* This API allows clients to know what items are available in storages that
|
|
32
|
+
* the controllers can access, providing clients with the ability to start indexing,
|
|
33
|
+
* say, existing sequence files from the corporate storage.
|
|
34
34
|
*
|
|
35
35
|
*
|
|
36
36
|
* @generated from protobuf service MiLaboratories.Controller.Shared.LS
|
|
@@ -22,53 +22,53 @@ export interface LsAPI {
|
|
|
22
22
|
*/
|
|
23
23
|
export interface LsAPI_ListItem {
|
|
24
24
|
/**
|
|
25
|
-
*
|
|
25
|
+
* Name of the item in storage, without any prefixes.
|
|
26
26
|
*
|
|
27
27
|
* @generated from protobuf field: string name = 1
|
|
28
28
|
*/
|
|
29
29
|
name: string;
|
|
30
30
|
/**
|
|
31
|
-
*
|
|
32
|
-
*
|
|
31
|
+
* Size of the item in bytes.
|
|
32
|
+
* Is always zero for directories (is_dir = true).
|
|
33
33
|
*
|
|
34
34
|
* @generated from protobuf field: uint64 size = 2
|
|
35
35
|
*/
|
|
36
36
|
size: bigint;
|
|
37
37
|
/**
|
|
38
|
-
* is_dir is true for item
|
|
38
|
+
* is_dir is true for an item that can have subitems.
|
|
39
39
|
*
|
|
40
40
|
* @generated from protobuf field: bool is_dir = 3
|
|
41
41
|
*/
|
|
42
42
|
isDir: boolean;
|
|
43
43
|
/**
|
|
44
|
-
* full_name is the name of item
|
|
45
|
-
*
|
|
44
|
+
* full_name is the full name of the item, relative to the storage root.
|
|
45
|
+
* It is <directory> + <name>.
|
|
46
46
|
* The <delimiter>, used in names, is storage-specific and is NOT guaranteed to be '/'.
|
|
47
47
|
*
|
|
48
48
|
* @generated from protobuf field: string full_name = 10
|
|
49
49
|
*/
|
|
50
50
|
fullName: string;
|
|
51
51
|
/**
|
|
52
|
-
* directory
|
|
52
|
+
* The directory the item is located in. The value here is always a prefix of name:
|
|
53
53
|
* name.HasPrefix(directory) is always true.
|
|
54
54
|
*
|
|
55
55
|
* @generated from protobuf field: string directory = 11
|
|
56
56
|
*/
|
|
57
57
|
directory: string;
|
|
58
58
|
/**
|
|
59
|
-
* last_modified keeps the item last modification timestamp
|
|
59
|
+
* last_modified keeps the item's last modification timestamp.
|
|
60
60
|
*
|
|
61
61
|
* @generated from protobuf field: google.protobuf.Timestamp last_modified = 12
|
|
62
62
|
*/
|
|
63
63
|
lastModified?: Timestamp;
|
|
64
64
|
/**
|
|
65
|
-
*
|
|
66
|
-
* When storage supports versioning or provides checksums for the data stored,
|
|
65
|
+
* Version of item in storage.
|
|
66
|
+
* When the storage supports versioning or provides checksums for the data stored,
|
|
67
67
|
* the <version> field keeps that data.
|
|
68
|
-
* If not
|
|
69
|
-
* detect if the contents of item
|
|
70
|
-
* Anyway, client should not try to interpret this field, but should provide it to the Platform
|
|
71
|
-
* in operations with given item (like BlobImportInternal) to help Platform with deduplication.
|
|
68
|
+
* If not, it keeps any simple combination of item attributes that helps to
|
|
69
|
+
* detect if the contents of the item have changed, e.g. <size>+<mtime>.
|
|
70
|
+
* Anyway, the client should not try to interpret this field, but should provide it to the Platform
|
|
71
|
+
* in operations with a given item (like BlobImportInternal) to help the Platform with deduplication.
|
|
72
72
|
*
|
|
73
73
|
* @generated from protobuf field: string version = 13
|
|
74
74
|
*/
|
|
@@ -90,8 +90,14 @@ export interface LsAPI_List_Request {
|
|
|
90
90
|
*/
|
|
91
91
|
resourceId: bigint;
|
|
92
92
|
/**
|
|
93
|
-
*
|
|
94
|
-
*
|
|
93
|
+
* Signature proving the caller is authorized to access this resource.
|
|
94
|
+
*
|
|
95
|
+
* @generated from protobuf field: optional bytes resource_signature = 3
|
|
96
|
+
*/
|
|
97
|
+
resourceSignature?: Uint8Array;
|
|
98
|
+
/**
|
|
99
|
+
* Location to list, relative to the storage root. Only items that have <full_name> starting
|
|
100
|
+
* with <location> are included in the list response.
|
|
95
101
|
*
|
|
96
102
|
* @generated from protobuf field: string location = 2
|
|
97
103
|
*/
|
|
@@ -102,7 +108,7 @@ export interface LsAPI_List_Request {
|
|
|
102
108
|
*/
|
|
103
109
|
export interface LsAPI_List_Response {
|
|
104
110
|
/**
|
|
105
|
-
* List of the full (
|
|
111
|
+
* List of the full (relative to storage root) names of items from storage.
|
|
106
112
|
* E.g., for 'fs' storage each name will consist of names of all directories, where the
|
|
107
113
|
* item is located, and the item name itself.
|
|
108
114
|
* The delimiter, used in names, is storage-specific and is NOT guaranteed to be '/'.
|
|
@@ -111,7 +117,7 @@ export interface LsAPI_List_Response {
|
|
|
111
117
|
*/
|
|
112
118
|
items: LsAPI_ListItem[];
|
|
113
119
|
/**
|
|
114
|
-
* delimiter is path separator
|
|
120
|
+
* The delimiter is the path separator used in this storage. The client can use it to parse item names into parts,
|
|
115
121
|
* to extract directory names.
|
|
116
122
|
*
|
|
117
123
|
* @generated from protobuf field: string delimiter = 2
|
|
@@ -293,6 +299,7 @@ class LsAPI_List_Request$Type extends MessageType<LsAPI_List_Request> {
|
|
|
293
299
|
constructor() {
|
|
294
300
|
super("MiLaboratories.Controller.Shared.LsAPI.List.Request", [
|
|
295
301
|
{ no: 1, name: "resource_id", kind: "scalar", T: 4 /*ScalarType.UINT64*/, L: 0 /*LongType.BIGINT*/ },
|
|
302
|
+
{ no: 3, name: "resource_signature", kind: "scalar", opt: true, T: 12 /*ScalarType.BYTES*/ },
|
|
296
303
|
{ no: 2, name: "location", kind: "scalar", T: 9 /*ScalarType.STRING*/ }
|
|
297
304
|
]);
|
|
298
305
|
}
|
|
@@ -312,6 +319,9 @@ class LsAPI_List_Request$Type extends MessageType<LsAPI_List_Request> {
|
|
|
312
319
|
case /* uint64 resource_id */ 1:
|
|
313
320
|
message.resourceId = reader.uint64().toBigInt();
|
|
314
321
|
break;
|
|
322
|
+
case /* optional bytes resource_signature */ 3:
|
|
323
|
+
message.resourceSignature = reader.bytes();
|
|
324
|
+
break;
|
|
315
325
|
case /* string location */ 2:
|
|
316
326
|
message.location = reader.string();
|
|
317
327
|
break;
|
|
@@ -333,6 +343,9 @@ class LsAPI_List_Request$Type extends MessageType<LsAPI_List_Request> {
|
|
|
333
343
|
/* string location = 2; */
|
|
334
344
|
if (message.location !== "")
|
|
335
345
|
writer.tag(2, WireType.LengthDelimited).string(message.location);
|
|
346
|
+
/* optional bytes resource_signature = 3; */
|
|
347
|
+
if (message.resourceSignature !== undefined)
|
|
348
|
+
writer.tag(3, WireType.LengthDelimited).bytes(message.resourceSignature);
|
|
336
349
|
let u = options.writeUnknownFields;
|
|
337
350
|
if (u !== false)
|
|
338
351
|
(u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
|
|
@@ -14,7 +14,7 @@ import type { UnaryCall } from "@protobuf-ts/runtime-rpc";
|
|
|
14
14
|
import type { RpcOptions } from "@protobuf-ts/runtime-rpc";
|
|
15
15
|
/**
|
|
16
16
|
*
|
|
17
|
-
* Progress provides access to progress of any long-running process associated with resource.
|
|
17
|
+
* Progress provides access to the progress of any long-running process associated with a resource.
|
|
18
18
|
*
|
|
19
19
|
*
|
|
20
20
|
* @generated from protobuf service MiLaboratories.Controller.Shared.Progress
|
|
@@ -31,7 +31,7 @@ export interface IProgressClient {
|
|
|
31
31
|
}
|
|
32
32
|
/**
|
|
33
33
|
*
|
|
34
|
-
* Progress provides access to progress of any long-running process associated with resource.
|
|
34
|
+
* Progress provides access to the progress of any long-running process associated with a resource.
|
|
35
35
|
*
|
|
36
36
|
*
|
|
37
37
|
* @generated from protobuf service MiLaboratories.Controller.Shared.Progress
|
package/src/proto-grpc/github.com/milaboratory/pl/controllers/shared/grpc/progressapi/protocol.ts
CHANGED
|
@@ -57,6 +57,10 @@ export interface ProgressAPI_GetStatus_Request {
|
|
|
57
57
|
* @generated from protobuf field: uint64 resource_id = 1
|
|
58
58
|
*/
|
|
59
59
|
resourceId: bigint;
|
|
60
|
+
/**
|
|
61
|
+
* @generated from protobuf field: optional bytes resource_signature = 2
|
|
62
|
+
*/
|
|
63
|
+
resourceSignature?: Uint8Array;
|
|
60
64
|
}
|
|
61
65
|
/**
|
|
62
66
|
* @generated from protobuf message MiLaboratories.Controller.Shared.ProgressAPI.GetStatus.Response
|
|
@@ -80,6 +84,10 @@ export interface ProgressAPI_RealtimeStatus_Request {
|
|
|
80
84
|
* @generated from protobuf field: uint64 resource_id = 1
|
|
81
85
|
*/
|
|
82
86
|
resourceId: bigint;
|
|
87
|
+
/**
|
|
88
|
+
* @generated from protobuf field: optional bytes resource_signature = 3
|
|
89
|
+
*/
|
|
90
|
+
resourceSignature?: Uint8Array;
|
|
83
91
|
/**
|
|
84
92
|
* @generated from protobuf field: google.protobuf.Duration update_interval = 2
|
|
85
93
|
*/
|
|
@@ -253,7 +261,8 @@ export const ProgressAPI_GetStatus = new ProgressAPI_GetStatus$Type();
|
|
|
253
261
|
class ProgressAPI_GetStatus_Request$Type extends MessageType<ProgressAPI_GetStatus_Request> {
|
|
254
262
|
constructor() {
|
|
255
263
|
super("MiLaboratories.Controller.Shared.ProgressAPI.GetStatus.Request", [
|
|
256
|
-
{ no: 1, name: "resource_id", kind: "scalar", T: 4 /*ScalarType.UINT64*/, L: 0 /*LongType.BIGINT*/ }
|
|
264
|
+
{ no: 1, name: "resource_id", kind: "scalar", T: 4 /*ScalarType.UINT64*/, L: 0 /*LongType.BIGINT*/ },
|
|
265
|
+
{ no: 2, name: "resource_signature", kind: "scalar", opt: true, T: 12 /*ScalarType.BYTES*/ }
|
|
257
266
|
]);
|
|
258
267
|
}
|
|
259
268
|
create(value?: PartialMessage<ProgressAPI_GetStatus_Request>): ProgressAPI_GetStatus_Request {
|
|
@@ -271,6 +280,9 @@ class ProgressAPI_GetStatus_Request$Type extends MessageType<ProgressAPI_GetStat
|
|
|
271
280
|
case /* uint64 resource_id */ 1:
|
|
272
281
|
message.resourceId = reader.uint64().toBigInt();
|
|
273
282
|
break;
|
|
283
|
+
case /* optional bytes resource_signature */ 2:
|
|
284
|
+
message.resourceSignature = reader.bytes();
|
|
285
|
+
break;
|
|
274
286
|
default:
|
|
275
287
|
let u = options.readUnknownField;
|
|
276
288
|
if (u === "throw")
|
|
@@ -286,6 +298,9 @@ class ProgressAPI_GetStatus_Request$Type extends MessageType<ProgressAPI_GetStat
|
|
|
286
298
|
/* uint64 resource_id = 1; */
|
|
287
299
|
if (message.resourceId !== 0n)
|
|
288
300
|
writer.tag(1, WireType.Varint).uint64(message.resourceId);
|
|
301
|
+
/* optional bytes resource_signature = 2; */
|
|
302
|
+
if (message.resourceSignature !== undefined)
|
|
303
|
+
writer.tag(2, WireType.LengthDelimited).bytes(message.resourceSignature);
|
|
289
304
|
let u = options.writeUnknownFields;
|
|
290
305
|
if (u !== false)
|
|
291
306
|
(u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
|
|
@@ -385,6 +400,7 @@ class ProgressAPI_RealtimeStatus_Request$Type extends MessageType<ProgressAPI_Re
|
|
|
385
400
|
constructor() {
|
|
386
401
|
super("MiLaboratories.Controller.Shared.ProgressAPI.RealtimeStatus.Request", [
|
|
387
402
|
{ no: 1, name: "resource_id", kind: "scalar", T: 4 /*ScalarType.UINT64*/, L: 0 /*LongType.BIGINT*/ },
|
|
403
|
+
{ no: 3, name: "resource_signature", kind: "scalar", opt: true, T: 12 /*ScalarType.BYTES*/ },
|
|
388
404
|
{ no: 2, name: "update_interval", kind: "message", T: () => Duration }
|
|
389
405
|
]);
|
|
390
406
|
}
|
|
@@ -403,6 +419,9 @@ class ProgressAPI_RealtimeStatus_Request$Type extends MessageType<ProgressAPI_Re
|
|
|
403
419
|
case /* uint64 resource_id */ 1:
|
|
404
420
|
message.resourceId = reader.uint64().toBigInt();
|
|
405
421
|
break;
|
|
422
|
+
case /* optional bytes resource_signature */ 3:
|
|
423
|
+
message.resourceSignature = reader.bytes();
|
|
424
|
+
break;
|
|
406
425
|
case /* google.protobuf.Duration update_interval */ 2:
|
|
407
426
|
message.updateInterval = Duration.internalBinaryRead(reader, reader.uint32(), options, message.updateInterval);
|
|
408
427
|
break;
|
|
@@ -424,6 +443,9 @@ class ProgressAPI_RealtimeStatus_Request$Type extends MessageType<ProgressAPI_Re
|
|
|
424
443
|
/* google.protobuf.Duration update_interval = 2; */
|
|
425
444
|
if (message.updateInterval)
|
|
426
445
|
Duration.internalBinaryWrite(message.updateInterval, writer.tag(2, WireType.LengthDelimited).fork(), options).join();
|
|
446
|
+
/* optional bytes resource_signature = 3; */
|
|
447
|
+
if (message.resourceSignature !== undefined)
|
|
448
|
+
writer.tag(3, WireType.LengthDelimited).bytes(message.resourceSignature);
|
|
427
449
|
let u = options.writeUnknownFields;
|
|
428
450
|
if (u !== false)
|
|
429
451
|
(u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
|