@milaboratories/pl-client 2.16.8 → 2.16.10
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/__external/.pnpm/{@rollup_plugin-typescript@12.1.4_rollup@4.52.4_tslib@2.7.0_typescript@5.6.3 → @rollup_plugin-typescript@12.1.4_rollup@4.52.4_tslib@2.8.1_typescript@5.6.3}/__external/tslib/tslib.es6.cjs +2 -2
- package/dist/__external/.pnpm/{@rollup_plugin-typescript@12.1.4_rollup@4.52.4_tslib@2.7.0_typescript@5.6.3 → @rollup_plugin-typescript@12.1.4_rollup@4.52.4_tslib@2.8.1_typescript@5.6.3}/__external/tslib/tslib.es6.cjs.map +1 -1
- package/dist/__external/.pnpm/{@rollup_plugin-typescript@12.1.4_rollup@4.52.4_tslib@2.7.0_typescript@5.6.3 → @rollup_plugin-typescript@12.1.4_rollup@4.52.4_tslib@2.8.1_typescript@5.6.3}/__external/tslib/tslib.es6.js +2 -2
- package/dist/__external/.pnpm/{@rollup_plugin-typescript@12.1.4_rollup@4.52.4_tslib@2.7.0_typescript@5.6.3 → @rollup_plugin-typescript@12.1.4_rollup@4.52.4_tslib@2.8.1_typescript@5.6.3}/__external/tslib/tslib.es6.js.map +1 -1
- package/dist/core/abstract_stream.d.ts +18 -0
- package/dist/core/abstract_stream.d.ts.map +1 -0
- package/dist/core/client.cjs +6 -6
- package/dist/core/client.cjs.map +1 -1
- package/dist/core/client.d.ts +3 -3
- package/dist/core/client.d.ts.map +1 -1
- package/dist/core/client.js +6 -6
- package/dist/core/client.js.map +1 -1
- package/dist/core/config.cjs +3 -0
- package/dist/core/config.cjs.map +1 -1
- package/dist/core/config.d.ts +4 -0
- package/dist/core/config.d.ts.map +1 -1
- package/dist/core/config.js +3 -1
- package/dist/core/config.js.map +1 -1
- package/dist/core/driver.cjs +11 -0
- package/dist/core/driver.cjs.map +1 -1
- package/dist/core/driver.d.ts +8 -2
- package/dist/core/driver.d.ts.map +1 -1
- package/dist/core/driver.js +11 -1
- package/dist/core/driver.js.map +1 -1
- package/dist/core/errors.cjs +9 -0
- package/dist/core/errors.cjs.map +1 -1
- package/dist/core/errors.d.ts +1 -1
- package/dist/core/errors.d.ts.map +1 -1
- package/dist/core/errors.js +9 -0
- package/dist/core/errors.js.map +1 -1
- package/dist/core/ll_client.cjs +194 -39
- package/dist/core/ll_client.cjs.map +1 -1
- package/dist/core/ll_client.d.ts +36 -15
- package/dist/core/ll_client.d.ts.map +1 -1
- package/dist/core/ll_client.js +195 -40
- package/dist/core/ll_client.js.map +1 -1
- package/dist/core/ll_transaction.cjs.map +1 -1
- package/dist/core/ll_transaction.d.ts +3 -3
- package/dist/core/ll_transaction.d.ts.map +1 -1
- package/dist/core/ll_transaction.js.map +1 -1
- package/dist/core/transaction.cjs +2 -2
- package/dist/core/transaction.cjs.map +1 -1
- package/dist/core/transaction.js +2 -2
- package/dist/core/transaction.js.map +1 -1
- package/dist/core/type_conversion.cjs +2 -2
- package/dist/core/type_conversion.cjs.map +1 -1
- package/dist/core/type_conversion.d.ts +2 -2
- package/dist/core/type_conversion.d.ts.map +1 -1
- package/dist/core/type_conversion.js +2 -2
- package/dist/core/type_conversion.js.map +1 -1
- package/dist/core/unauth_client.cjs +4 -8
- package/dist/core/unauth_client.cjs.map +1 -1
- package/dist/core/unauth_client.d.ts +1 -1
- package/dist/core/unauth_client.d.ts.map +1 -1
- package/dist/core/unauth_client.js +4 -8
- package/dist/core/unauth_client.js.map +1 -1
- package/dist/core/wire.d.ts +34 -0
- package/dist/core/wire.d.ts.map +1 -0
- package/dist/index.cjs +4 -0
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.ts +2 -1
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +4 -2
- package/dist/index.js.map +1 -1
- package/dist/proto-grpc/github.com/googleapis/googleapis/google/rpc/status.cjs.map +1 -0
- package/dist/{proto → proto-grpc}/github.com/googleapis/googleapis/google/rpc/status.d.ts +4 -2
- package/dist/proto-grpc/github.com/googleapis/googleapis/google/rpc/status.d.ts.map +1 -0
- package/dist/proto-grpc/github.com/googleapis/googleapis/google/rpc/status.js.map +1 -0
- package/dist/{proto → proto-grpc}/github.com/milaboratory/pl/plapi/plapiproto/api.cjs +25 -25
- package/dist/proto-grpc/github.com/milaboratory/pl/plapi/plapiproto/api.cjs.map +1 -0
- package/dist/proto-grpc/github.com/milaboratory/pl/plapi/plapiproto/api.client.cjs.map +1 -0
- package/dist/proto-grpc/github.com/milaboratory/pl/plapi/plapiproto/api.client.d.ts.map +1 -0
- package/dist/proto-grpc/github.com/milaboratory/pl/plapi/plapiproto/api.client.js.map +1 -0
- package/dist/proto-grpc/github.com/milaboratory/pl/plapi/plapiproto/api.d.ts.map +1 -0
- package/dist/{proto → proto-grpc}/github.com/milaboratory/pl/plapi/plapiproto/api.js +25 -25
- package/dist/proto-grpc/github.com/milaboratory/pl/plapi/plapiproto/api.js.map +1 -0
- package/dist/proto-grpc/github.com/milaboratory/pl/plapi/plapiproto/api_types.cjs.map +1 -0
- package/dist/proto-grpc/github.com/milaboratory/pl/plapi/plapiproto/api_types.d.ts.map +1 -0
- package/dist/proto-grpc/github.com/milaboratory/pl/plapi/plapiproto/api_types.js.map +1 -0
- package/dist/proto-grpc/github.com/milaboratory/pl/plapi/plapiproto/base_types.cjs.map +1 -0
- package/dist/proto-grpc/github.com/milaboratory/pl/plapi/plapiproto/base_types.d.ts.map +1 -0
- package/dist/proto-grpc/github.com/milaboratory/pl/plapi/plapiproto/base_types.js.map +1 -0
- package/dist/proto-grpc/github.com/milaboratory/pl/plapi/plapiproto/import.d.ts.map +1 -0
- package/dist/proto-grpc/github.com/milaboratory/pl/plapi/plapiproto/resource_types.cjs.map +1 -0
- package/dist/proto-grpc/github.com/milaboratory/pl/plapi/plapiproto/resource_types.d.ts.map +1 -0
- package/dist/proto-grpc/github.com/milaboratory/pl/plapi/plapiproto/resource_types.js.map +1 -0
- package/dist/proto-grpc/github.com/milaboratory/pl/plapi/plapiproto/ws-test.d.ts +73 -0
- package/dist/proto-grpc/github.com/milaboratory/pl/plapi/plapiproto/ws-test.d.ts.map +1 -0
- package/dist/{proto → proto-grpc}/google/api/http.d.ts +28 -32
- package/dist/proto-grpc/google/api/http.d.ts.map +1 -0
- package/dist/proto-grpc/google/protobuf/any.cjs.map +1 -0
- package/dist/proto-grpc/google/protobuf/any.d.ts.map +1 -0
- package/dist/proto-grpc/google/protobuf/any.js.map +1 -0
- package/dist/{proto → proto-grpc}/google/protobuf/descriptor.d.ts +6 -152
- package/dist/proto-grpc/google/protobuf/descriptor.d.ts.map +1 -0
- package/dist/proto-grpc/google/protobuf/duration.cjs.map +1 -0
- package/dist/proto-grpc/google/protobuf/duration.d.ts.map +1 -0
- package/dist/proto-grpc/google/protobuf/duration.js.map +1 -0
- package/dist/proto-grpc/google/protobuf/empty.d.ts.map +1 -0
- package/dist/proto-grpc/google/protobuf/struct.d.ts.map +1 -0
- package/dist/proto-grpc/google/protobuf/timestamp.cjs.map +1 -0
- package/dist/proto-grpc/google/protobuf/timestamp.d.ts.map +1 -0
- package/dist/proto-grpc/google/protobuf/timestamp.js.map +1 -0
- package/dist/{proto → proto-grpc}/google/protobuf/wrappers.d.ts +0 -27
- package/dist/proto-grpc/google/protobuf/wrappers.d.ts.map +1 -0
- package/dist/proto-grpc/google/rpc/code.cjs +240 -0
- package/dist/proto-grpc/google/rpc/code.cjs.map +1 -0
- package/dist/proto-grpc/google/rpc/code.d.ts +219 -0
- package/dist/proto-grpc/google/rpc/code.d.ts.map +1 -0
- package/dist/proto-grpc/google/rpc/code.js +240 -0
- package/dist/proto-grpc/google/rpc/code.js.map +1 -0
- package/dist/proto-grpc/google/rpc/error_details.d.ts +654 -0
- package/dist/proto-grpc/google/rpc/error_details.d.ts.map +1 -0
- package/dist/proto-grpc/google/rpc/http.d.ts +121 -0
- package/dist/proto-grpc/google/rpc/http.d.ts.map +1 -0
- package/dist/proto-grpc/google/rpc/status.d.ts +55 -0
- package/dist/proto-grpc/google/rpc/status.d.ts.map +1 -0
- package/dist/proto-rest/index.cjs +64 -0
- package/dist/proto-rest/index.cjs.map +1 -0
- package/dist/proto-rest/index.d.ts +23 -0
- package/dist/proto-rest/index.d.ts.map +1 -0
- package/dist/proto-rest/index.js +61 -0
- package/dist/proto-rest/index.js.map +1 -0
- package/dist/proto-rest/plapi.d.ts +1488 -0
- package/dist/proto-rest/plapi.d.ts.map +1 -0
- package/package.json +8 -5
- package/src/core/abstract_stream.ts +25 -0
- package/src/core/client.ts +8 -8
- package/src/core/config.ts +9 -0
- package/src/core/driver.ts +13 -2
- package/src/core/errors.ts +7 -1
- package/src/core/ll_client.test.ts +1 -1
- package/src/core/ll_client.ts +212 -42
- package/src/core/ll_transaction.test.ts +1 -1
- package/src/core/ll_transaction.ts +4 -4
- package/src/core/transaction.ts +1 -1
- package/src/core/type_conversion.ts +3 -3
- package/src/core/unauth_client.test.ts +6 -0
- package/src/core/unauth_client.ts +8 -12
- package/src/core/wire.ts +40 -0
- package/src/index.ts +3 -1
- package/src/{proto → proto-grpc}/github.com/googleapis/googleapis/google/rpc/status.ts +5 -3
- package/src/{proto → proto-grpc}/github.com/milaboratory/pl/plapi/plapiproto/api.ts +25 -25
- package/src/proto-grpc/github.com/milaboratory/pl/plapi/plapiproto/ws-test.ts +209 -0
- package/src/{proto → proto-grpc}/google/api/http.ts +29 -33
- package/src/{proto → proto-grpc}/google/protobuf/descriptor.ts +11 -221
- package/src/{proto → proto-grpc}/google/protobuf/wrappers.ts +4 -38
- package/src/proto-grpc/google/rpc/code.ts +236 -0
- package/src/proto-grpc/google/rpc/error_details.ts +1386 -0
- package/src/proto-grpc/google/rpc/http.ts +307 -0
- package/src/proto-grpc/google/rpc/status.ts +127 -0
- package/src/proto-rest/index.ts +83 -0
- package/src/proto-rest/plapi.ts +1488 -0
- package/dist/core/grpc.d.ts +0 -16
- package/dist/core/grpc.d.ts.map +0 -1
- package/dist/core/http.d.ts +0 -2
- package/dist/core/http.d.ts.map +0 -1
- package/dist/proto/github.com/googleapis/googleapis/google/rpc/status.cjs.map +0 -1
- package/dist/proto/github.com/googleapis/googleapis/google/rpc/status.d.ts.map +0 -1
- package/dist/proto/github.com/googleapis/googleapis/google/rpc/status.js.map +0 -1
- package/dist/proto/github.com/milaboratory/pl/controllers/shared/grpc/downloadapi/protocol.client.d.ts +0 -40
- package/dist/proto/github.com/milaboratory/pl/controllers/shared/grpc/downloadapi/protocol.client.d.ts.map +0 -1
- package/dist/proto/github.com/milaboratory/pl/controllers/shared/grpc/downloadapi/protocol.d.ts +0 -116
- package/dist/proto/github.com/milaboratory/pl/controllers/shared/grpc/downloadapi/protocol.d.ts.map +0 -1
- package/dist/proto/github.com/milaboratory/pl/controllers/shared/grpc/lsapi/protocol.client.d.ts +0 -46
- package/dist/proto/github.com/milaboratory/pl/controllers/shared/grpc/lsapi/protocol.client.d.ts.map +0 -1
- package/dist/proto/github.com/milaboratory/pl/controllers/shared/grpc/lsapi/protocol.d.ts +0 -170
- package/dist/proto/github.com/milaboratory/pl/controllers/shared/grpc/lsapi/protocol.d.ts.map +0 -1
- package/dist/proto/github.com/milaboratory/pl/controllers/shared/grpc/progressapi/protocol.client.d.ts +0 -51
- package/dist/proto/github.com/milaboratory/pl/controllers/shared/grpc/progressapi/protocol.client.d.ts.map +0 -1
- package/dist/proto/github.com/milaboratory/pl/controllers/shared/grpc/progressapi/protocol.d.ts +0 -176
- package/dist/proto/github.com/milaboratory/pl/controllers/shared/grpc/progressapi/protocol.d.ts.map +0 -1
- package/dist/proto/github.com/milaboratory/pl/controllers/shared/grpc/streamingapi/protocol.client.d.ts +0 -131
- package/dist/proto/github.com/milaboratory/pl/controllers/shared/grpc/streamingapi/protocol.client.d.ts.map +0 -1
- package/dist/proto/github.com/milaboratory/pl/controllers/shared/grpc/streamingapi/protocol.d.ts +0 -320
- package/dist/proto/github.com/milaboratory/pl/controllers/shared/grpc/streamingapi/protocol.d.ts.map +0 -1
- package/dist/proto/github.com/milaboratory/pl/plapi/plapiproto/api.cjs.map +0 -1
- package/dist/proto/github.com/milaboratory/pl/plapi/plapiproto/api.client.cjs.map +0 -1
- package/dist/proto/github.com/milaboratory/pl/plapi/plapiproto/api.client.d.ts.map +0 -1
- package/dist/proto/github.com/milaboratory/pl/plapi/plapiproto/api.client.js.map +0 -1
- package/dist/proto/github.com/milaboratory/pl/plapi/plapiproto/api.d.ts.map +0 -1
- package/dist/proto/github.com/milaboratory/pl/plapi/plapiproto/api.js.map +0 -1
- package/dist/proto/github.com/milaboratory/pl/plapi/plapiproto/api_types.cjs.map +0 -1
- package/dist/proto/github.com/milaboratory/pl/plapi/plapiproto/api_types.d.ts.map +0 -1
- package/dist/proto/github.com/milaboratory/pl/plapi/plapiproto/api_types.js.map +0 -1
- package/dist/proto/github.com/milaboratory/pl/plapi/plapiproto/base_types.cjs.map +0 -1
- package/dist/proto/github.com/milaboratory/pl/plapi/plapiproto/base_types.d.ts.map +0 -1
- package/dist/proto/github.com/milaboratory/pl/plapi/plapiproto/base_types.js.map +0 -1
- package/dist/proto/github.com/milaboratory/pl/plapi/plapiproto/import.d.ts.map +0 -1
- package/dist/proto/github.com/milaboratory/pl/plapi/plapiproto/resource_types.cjs.map +0 -1
- package/dist/proto/github.com/milaboratory/pl/plapi/plapiproto/resource_types.d.ts.map +0 -1
- package/dist/proto/github.com/milaboratory/pl/plapi/plapiproto/resource_types.js.map +0 -1
- package/dist/proto/google/api/http.d.ts.map +0 -1
- package/dist/proto/google/protobuf/any.cjs.map +0 -1
- package/dist/proto/google/protobuf/any.d.ts.map +0 -1
- package/dist/proto/google/protobuf/any.js.map +0 -1
- package/dist/proto/google/protobuf/descriptor.d.ts.map +0 -1
- package/dist/proto/google/protobuf/duration.cjs.map +0 -1
- package/dist/proto/google/protobuf/duration.d.ts.map +0 -1
- package/dist/proto/google/protobuf/duration.js.map +0 -1
- package/dist/proto/google/protobuf/empty.d.ts.map +0 -1
- package/dist/proto/google/protobuf/struct.d.ts.map +0 -1
- package/dist/proto/google/protobuf/timestamp.cjs.map +0 -1
- package/dist/proto/google/protobuf/timestamp.d.ts.map +0 -1
- package/dist/proto/google/protobuf/timestamp.js.map +0 -1
- package/dist/proto/google/protobuf/wrappers.d.ts.map +0 -1
- package/src/core/grpc.ts +0 -17
- package/src/core/http.ts +0 -178
- package/src/proto/github.com/milaboratory/pl/controllers/shared/grpc/downloadapi/protocol.client.ts +0 -45
- package/src/proto/github.com/milaboratory/pl/controllers/shared/grpc/downloadapi/protocol.ts +0 -313
- package/src/proto/github.com/milaboratory/pl/controllers/shared/grpc/lsapi/protocol.client.ts +0 -51
- package/src/proto/github.com/milaboratory/pl/controllers/shared/grpc/lsapi/protocol.ts +0 -406
- package/src/proto/github.com/milaboratory/pl/controllers/shared/grpc/progressapi/protocol.client.ts +0 -59
- package/src/proto/github.com/milaboratory/pl/controllers/shared/grpc/progressapi/protocol.ts +0 -489
- package/src/proto/github.com/milaboratory/pl/controllers/shared/grpc/streamingapi/protocol.client.ts +0 -148
- package/src/proto/github.com/milaboratory/pl/controllers/shared/grpc/streamingapi/protocol.ts +0 -719
- /package/dist/{proto → proto-grpc}/github.com/googleapis/googleapis/google/rpc/status.cjs +0 -0
- /package/dist/{proto → proto-grpc}/github.com/googleapis/googleapis/google/rpc/status.js +0 -0
- /package/dist/{proto → proto-grpc}/github.com/milaboratory/pl/plapi/plapiproto/api.client.cjs +0 -0
- /package/dist/{proto → proto-grpc}/github.com/milaboratory/pl/plapi/plapiproto/api.client.d.ts +0 -0
- /package/dist/{proto → proto-grpc}/github.com/milaboratory/pl/plapi/plapiproto/api.client.js +0 -0
- /package/dist/{proto → proto-grpc}/github.com/milaboratory/pl/plapi/plapiproto/api.d.ts +0 -0
- /package/dist/{proto → proto-grpc}/github.com/milaboratory/pl/plapi/plapiproto/api_types.cjs +0 -0
- /package/dist/{proto → proto-grpc}/github.com/milaboratory/pl/plapi/plapiproto/api_types.d.ts +0 -0
- /package/dist/{proto → proto-grpc}/github.com/milaboratory/pl/plapi/plapiproto/api_types.js +0 -0
- /package/dist/{proto → proto-grpc}/github.com/milaboratory/pl/plapi/plapiproto/base_types.cjs +0 -0
- /package/dist/{proto → proto-grpc}/github.com/milaboratory/pl/plapi/plapiproto/base_types.d.ts +0 -0
- /package/dist/{proto → proto-grpc}/github.com/milaboratory/pl/plapi/plapiproto/base_types.js +0 -0
- /package/dist/{proto → proto-grpc}/github.com/milaboratory/pl/plapi/plapiproto/import.d.ts +0 -0
- /package/dist/{proto → proto-grpc}/github.com/milaboratory/pl/plapi/plapiproto/resource_types.cjs +0 -0
- /package/dist/{proto → proto-grpc}/github.com/milaboratory/pl/plapi/plapiproto/resource_types.d.ts +0 -0
- /package/dist/{proto → proto-grpc}/github.com/milaboratory/pl/plapi/plapiproto/resource_types.js +0 -0
- /package/dist/{proto → proto-grpc}/google/protobuf/any.cjs +0 -0
- /package/dist/{proto → proto-grpc}/google/protobuf/any.d.ts +0 -0
- /package/dist/{proto → proto-grpc}/google/protobuf/any.js +0 -0
- /package/dist/{proto → proto-grpc}/google/protobuf/duration.cjs +0 -0
- /package/dist/{proto → proto-grpc}/google/protobuf/duration.d.ts +0 -0
- /package/dist/{proto → proto-grpc}/google/protobuf/duration.js +0 -0
- /package/dist/{proto → proto-grpc}/google/protobuf/empty.d.ts +0 -0
- /package/dist/{proto → proto-grpc}/google/protobuf/struct.d.ts +0 -0
- /package/dist/{proto → proto-grpc}/google/protobuf/timestamp.cjs +0 -0
- /package/dist/{proto → proto-grpc}/google/protobuf/timestamp.d.ts +0 -0
- /package/dist/{proto → proto-grpc}/google/protobuf/timestamp.js +0 -0
- /package/src/{proto → proto-grpc}/github.com/milaboratory/pl/plapi/plapiproto/api.client.ts +0 -0
- /package/src/{proto → proto-grpc}/github.com/milaboratory/pl/plapi/plapiproto/api_types.ts +0 -0
- /package/src/{proto → proto-grpc}/github.com/milaboratory/pl/plapi/plapiproto/base_types.ts +0 -0
- /package/src/{proto → proto-grpc}/github.com/milaboratory/pl/plapi/plapiproto/import.ts +0 -0
- /package/src/{proto → proto-grpc}/github.com/milaboratory/pl/plapi/plapiproto/resource_types.ts +0 -0
- /package/src/{proto → proto-grpc}/google/protobuf/any.ts +0 -0
- /package/src/{proto → proto-grpc}/google/protobuf/duration.ts +0 -0
- /package/src/{proto → proto-grpc}/google/protobuf/empty.ts +0 -0
- /package/src/{proto → proto-grpc}/google/protobuf/struct.ts +0 -0
- /package/src/{proto → proto-grpc}/google/protobuf/timestamp.ts +0 -0
|
@@ -1,406 +0,0 @@
|
|
|
1
|
-
// @generated by protobuf-ts 2.11.1 with parameter client_generic,optimize_speed,generate_dependencies,force_server_none
|
|
2
|
-
// @generated from protobuf file "github.com/milaboratory/pl/controllers/shared/grpc/lsapi/protocol.proto" (package "MiLaboratories.Controller.Shared", syntax proto3)
|
|
3
|
-
// tslint:disable
|
|
4
|
-
import { ServiceType } from "@protobuf-ts/runtime-rpc";
|
|
5
|
-
import { WireType } from "@protobuf-ts/runtime";
|
|
6
|
-
import type { BinaryWriteOptions } from "@protobuf-ts/runtime";
|
|
7
|
-
import type { IBinaryWriter } from "@protobuf-ts/runtime";
|
|
8
|
-
import type { BinaryReadOptions } from "@protobuf-ts/runtime";
|
|
9
|
-
import type { IBinaryReader } from "@protobuf-ts/runtime";
|
|
10
|
-
import { UnknownFieldHandler } from "@protobuf-ts/runtime";
|
|
11
|
-
import type { PartialMessage } from "@protobuf-ts/runtime";
|
|
12
|
-
import { reflectionMergePartial } from "@protobuf-ts/runtime";
|
|
13
|
-
import { MessageType } from "@protobuf-ts/runtime";
|
|
14
|
-
import { Timestamp } from "../../../../../../../google/protobuf/timestamp";
|
|
15
|
-
/**
|
|
16
|
-
* @generated from protobuf message MiLaboratories.Controller.Shared.LsAPI
|
|
17
|
-
*/
|
|
18
|
-
export interface LsAPI {
|
|
19
|
-
}
|
|
20
|
-
/**
|
|
21
|
-
* @generated from protobuf message MiLaboratories.Controller.Shared.LsAPI.ListItem
|
|
22
|
-
*/
|
|
23
|
-
export interface LsAPI_ListItem {
|
|
24
|
-
/**
|
|
25
|
-
* name of the item in storage, without any prefixes
|
|
26
|
-
*
|
|
27
|
-
* @generated from protobuf field: string name = 1
|
|
28
|
-
*/
|
|
29
|
-
name: string;
|
|
30
|
-
/**
|
|
31
|
-
* size of item in bytes
|
|
32
|
-
* is always zero for directories (is_dir = true)
|
|
33
|
-
*
|
|
34
|
-
* @generated from protobuf field: uint64 size = 2
|
|
35
|
-
*/
|
|
36
|
-
size: bigint;
|
|
37
|
-
/**
|
|
38
|
-
* is_dir is true for item, that can have subitems.
|
|
39
|
-
*
|
|
40
|
-
* @generated from protobuf field: bool is_dir = 3
|
|
41
|
-
*/
|
|
42
|
-
isDir: boolean;
|
|
43
|
-
/**
|
|
44
|
-
* full_name is the name of item absolute to storage root.
|
|
45
|
-
* it is <directory> + <name>
|
|
46
|
-
* The <delimiter>, used in names, is storage-specific and is NOT guaranteed to be '/'.
|
|
47
|
-
*
|
|
48
|
-
* @generated from protobuf field: string full_name = 10
|
|
49
|
-
*/
|
|
50
|
-
fullName: string;
|
|
51
|
-
/**
|
|
52
|
-
* directory, the item is located in. The value here is always a prefix of name:
|
|
53
|
-
* name.HasPrefix(directory) is always true.
|
|
54
|
-
*
|
|
55
|
-
* @generated from protobuf field: string directory = 11
|
|
56
|
-
*/
|
|
57
|
-
directory: string;
|
|
58
|
-
/**
|
|
59
|
-
* last_modified keeps the item last modification timestamp
|
|
60
|
-
*
|
|
61
|
-
* @generated from protobuf field: google.protobuf.Timestamp last_modified = 12
|
|
62
|
-
*/
|
|
63
|
-
lastModified?: Timestamp;
|
|
64
|
-
/**
|
|
65
|
-
* version of item in storage.
|
|
66
|
-
* When storage supports versioning or provides checksums for the data stored,
|
|
67
|
-
* the <version> field keeps that data.
|
|
68
|
-
* If not - it keeps the any simple combination of item attributes, that helps to
|
|
69
|
-
* detect if the contents of item has changed, e.g. <size>+<mtime>.
|
|
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.
|
|
72
|
-
*
|
|
73
|
-
* @generated from protobuf field: string version = 13
|
|
74
|
-
*/
|
|
75
|
-
version: string;
|
|
76
|
-
}
|
|
77
|
-
/**
|
|
78
|
-
* @generated from protobuf message MiLaboratories.Controller.Shared.LsAPI.List
|
|
79
|
-
*/
|
|
80
|
-
export interface LsAPI_List {
|
|
81
|
-
}
|
|
82
|
-
/**
|
|
83
|
-
* @generated from protobuf message MiLaboratories.Controller.Shared.LsAPI.List.Request
|
|
84
|
-
*/
|
|
85
|
-
export interface LsAPI_List_Request {
|
|
86
|
-
/**
|
|
87
|
-
* resource_id of 'LS/<Storage>' resource
|
|
88
|
-
*
|
|
89
|
-
* @generated from protobuf field: uint64 resource_id = 1
|
|
90
|
-
*/
|
|
91
|
-
resourceId: bigint;
|
|
92
|
-
/**
|
|
93
|
-
* location to list, absolute to storage root. Only items, that have <full_name> starting
|
|
94
|
-
* from <location> are included into list response.
|
|
95
|
-
*
|
|
96
|
-
* @generated from protobuf field: string location = 2
|
|
97
|
-
*/
|
|
98
|
-
location: string;
|
|
99
|
-
}
|
|
100
|
-
/**
|
|
101
|
-
* @generated from protobuf message MiLaboratories.Controller.Shared.LsAPI.List.Response
|
|
102
|
-
*/
|
|
103
|
-
export interface LsAPI_List_Response {
|
|
104
|
-
/**
|
|
105
|
-
* List of the full (absolute to storage root) names of items from storage.
|
|
106
|
-
* E.g., for 'fs' storage each name will consist of names of all directories, where the
|
|
107
|
-
* item is located, and the item name itself.
|
|
108
|
-
* The delimiter, used in names, is storage-specific and is NOT guaranteed to be '/'.
|
|
109
|
-
*
|
|
110
|
-
* @generated from protobuf field: repeated MiLaboratories.Controller.Shared.LsAPI.ListItem items = 1
|
|
111
|
-
*/
|
|
112
|
-
items: LsAPI_ListItem[];
|
|
113
|
-
/**
|
|
114
|
-
* delimiter is path separator, used in this storage. Client can use it to parse item names into parts,
|
|
115
|
-
* to extract directory names.
|
|
116
|
-
*
|
|
117
|
-
* @generated from protobuf field: string delimiter = 2
|
|
118
|
-
*/
|
|
119
|
-
delimiter: string;
|
|
120
|
-
}
|
|
121
|
-
// @generated message type with reflection information, may provide speed optimized methods
|
|
122
|
-
class LsAPI$Type extends MessageType<LsAPI> {
|
|
123
|
-
constructor() {
|
|
124
|
-
super("MiLaboratories.Controller.Shared.LsAPI", []);
|
|
125
|
-
}
|
|
126
|
-
create(value?: PartialMessage<LsAPI>): LsAPI {
|
|
127
|
-
const message = globalThis.Object.create((this.messagePrototype!));
|
|
128
|
-
if (value !== undefined)
|
|
129
|
-
reflectionMergePartial<LsAPI>(this, message, value);
|
|
130
|
-
return message;
|
|
131
|
-
}
|
|
132
|
-
internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: LsAPI): LsAPI {
|
|
133
|
-
let message = target ?? this.create(), end = reader.pos + length;
|
|
134
|
-
while (reader.pos < end) {
|
|
135
|
-
let [fieldNo, wireType] = reader.tag();
|
|
136
|
-
switch (fieldNo) {
|
|
137
|
-
default:
|
|
138
|
-
let u = options.readUnknownField;
|
|
139
|
-
if (u === "throw")
|
|
140
|
-
throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`);
|
|
141
|
-
let d = reader.skip(wireType);
|
|
142
|
-
if (u !== false)
|
|
143
|
-
(u === true ? UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d);
|
|
144
|
-
}
|
|
145
|
-
}
|
|
146
|
-
return message;
|
|
147
|
-
}
|
|
148
|
-
internalBinaryWrite(message: LsAPI, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {
|
|
149
|
-
let u = options.writeUnknownFields;
|
|
150
|
-
if (u !== false)
|
|
151
|
-
(u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
|
|
152
|
-
return writer;
|
|
153
|
-
}
|
|
154
|
-
}
|
|
155
|
-
/**
|
|
156
|
-
* @generated MessageType for protobuf message MiLaboratories.Controller.Shared.LsAPI
|
|
157
|
-
*/
|
|
158
|
-
export const LsAPI = new LsAPI$Type();
|
|
159
|
-
// @generated message type with reflection information, may provide speed optimized methods
|
|
160
|
-
class LsAPI_ListItem$Type extends MessageType<LsAPI_ListItem> {
|
|
161
|
-
constructor() {
|
|
162
|
-
super("MiLaboratories.Controller.Shared.LsAPI.ListItem", [
|
|
163
|
-
{ no: 1, name: "name", kind: "scalar", T: 9 /*ScalarType.STRING*/ },
|
|
164
|
-
{ no: 2, name: "size", kind: "scalar", T: 4 /*ScalarType.UINT64*/, L: 0 /*LongType.BIGINT*/ },
|
|
165
|
-
{ no: 3, name: "is_dir", kind: "scalar", T: 8 /*ScalarType.BOOL*/ },
|
|
166
|
-
{ no: 10, name: "full_name", kind: "scalar", T: 9 /*ScalarType.STRING*/ },
|
|
167
|
-
{ no: 11, name: "directory", kind: "scalar", T: 9 /*ScalarType.STRING*/ },
|
|
168
|
-
{ no: 12, name: "last_modified", kind: "message", T: () => Timestamp },
|
|
169
|
-
{ no: 13, name: "version", kind: "scalar", T: 9 /*ScalarType.STRING*/ }
|
|
170
|
-
]);
|
|
171
|
-
}
|
|
172
|
-
create(value?: PartialMessage<LsAPI_ListItem>): LsAPI_ListItem {
|
|
173
|
-
const message = globalThis.Object.create((this.messagePrototype!));
|
|
174
|
-
message.name = "";
|
|
175
|
-
message.size = 0n;
|
|
176
|
-
message.isDir = false;
|
|
177
|
-
message.fullName = "";
|
|
178
|
-
message.directory = "";
|
|
179
|
-
message.version = "";
|
|
180
|
-
if (value !== undefined)
|
|
181
|
-
reflectionMergePartial<LsAPI_ListItem>(this, message, value);
|
|
182
|
-
return message;
|
|
183
|
-
}
|
|
184
|
-
internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: LsAPI_ListItem): LsAPI_ListItem {
|
|
185
|
-
let message = target ?? this.create(), end = reader.pos + length;
|
|
186
|
-
while (reader.pos < end) {
|
|
187
|
-
let [fieldNo, wireType] = reader.tag();
|
|
188
|
-
switch (fieldNo) {
|
|
189
|
-
case /* string name */ 1:
|
|
190
|
-
message.name = reader.string();
|
|
191
|
-
break;
|
|
192
|
-
case /* uint64 size */ 2:
|
|
193
|
-
message.size = reader.uint64().toBigInt();
|
|
194
|
-
break;
|
|
195
|
-
case /* bool is_dir */ 3:
|
|
196
|
-
message.isDir = reader.bool();
|
|
197
|
-
break;
|
|
198
|
-
case /* string full_name */ 10:
|
|
199
|
-
message.fullName = reader.string();
|
|
200
|
-
break;
|
|
201
|
-
case /* string directory */ 11:
|
|
202
|
-
message.directory = reader.string();
|
|
203
|
-
break;
|
|
204
|
-
case /* google.protobuf.Timestamp last_modified */ 12:
|
|
205
|
-
message.lastModified = Timestamp.internalBinaryRead(reader, reader.uint32(), options, message.lastModified);
|
|
206
|
-
break;
|
|
207
|
-
case /* string version */ 13:
|
|
208
|
-
message.version = reader.string();
|
|
209
|
-
break;
|
|
210
|
-
default:
|
|
211
|
-
let u = options.readUnknownField;
|
|
212
|
-
if (u === "throw")
|
|
213
|
-
throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`);
|
|
214
|
-
let d = reader.skip(wireType);
|
|
215
|
-
if (u !== false)
|
|
216
|
-
(u === true ? UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d);
|
|
217
|
-
}
|
|
218
|
-
}
|
|
219
|
-
return message;
|
|
220
|
-
}
|
|
221
|
-
internalBinaryWrite(message: LsAPI_ListItem, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {
|
|
222
|
-
/* string name = 1; */
|
|
223
|
-
if (message.name !== "")
|
|
224
|
-
writer.tag(1, WireType.LengthDelimited).string(message.name);
|
|
225
|
-
/* uint64 size = 2; */
|
|
226
|
-
if (message.size !== 0n)
|
|
227
|
-
writer.tag(2, WireType.Varint).uint64(message.size);
|
|
228
|
-
/* bool is_dir = 3; */
|
|
229
|
-
if (message.isDir !== false)
|
|
230
|
-
writer.tag(3, WireType.Varint).bool(message.isDir);
|
|
231
|
-
/* string full_name = 10; */
|
|
232
|
-
if (message.fullName !== "")
|
|
233
|
-
writer.tag(10, WireType.LengthDelimited).string(message.fullName);
|
|
234
|
-
/* string directory = 11; */
|
|
235
|
-
if (message.directory !== "")
|
|
236
|
-
writer.tag(11, WireType.LengthDelimited).string(message.directory);
|
|
237
|
-
/* google.protobuf.Timestamp last_modified = 12; */
|
|
238
|
-
if (message.lastModified)
|
|
239
|
-
Timestamp.internalBinaryWrite(message.lastModified, writer.tag(12, WireType.LengthDelimited).fork(), options).join();
|
|
240
|
-
/* string version = 13; */
|
|
241
|
-
if (message.version !== "")
|
|
242
|
-
writer.tag(13, WireType.LengthDelimited).string(message.version);
|
|
243
|
-
let u = options.writeUnknownFields;
|
|
244
|
-
if (u !== false)
|
|
245
|
-
(u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
|
|
246
|
-
return writer;
|
|
247
|
-
}
|
|
248
|
-
}
|
|
249
|
-
/**
|
|
250
|
-
* @generated MessageType for protobuf message MiLaboratories.Controller.Shared.LsAPI.ListItem
|
|
251
|
-
*/
|
|
252
|
-
export const LsAPI_ListItem = new LsAPI_ListItem$Type();
|
|
253
|
-
// @generated message type with reflection information, may provide speed optimized methods
|
|
254
|
-
class LsAPI_List$Type extends MessageType<LsAPI_List> {
|
|
255
|
-
constructor() {
|
|
256
|
-
super("MiLaboratories.Controller.Shared.LsAPI.List", []);
|
|
257
|
-
}
|
|
258
|
-
create(value?: PartialMessage<LsAPI_List>): LsAPI_List {
|
|
259
|
-
const message = globalThis.Object.create((this.messagePrototype!));
|
|
260
|
-
if (value !== undefined)
|
|
261
|
-
reflectionMergePartial<LsAPI_List>(this, message, value);
|
|
262
|
-
return message;
|
|
263
|
-
}
|
|
264
|
-
internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: LsAPI_List): LsAPI_List {
|
|
265
|
-
let message = target ?? this.create(), end = reader.pos + length;
|
|
266
|
-
while (reader.pos < end) {
|
|
267
|
-
let [fieldNo, wireType] = reader.tag();
|
|
268
|
-
switch (fieldNo) {
|
|
269
|
-
default:
|
|
270
|
-
let u = options.readUnknownField;
|
|
271
|
-
if (u === "throw")
|
|
272
|
-
throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`);
|
|
273
|
-
let d = reader.skip(wireType);
|
|
274
|
-
if (u !== false)
|
|
275
|
-
(u === true ? UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d);
|
|
276
|
-
}
|
|
277
|
-
}
|
|
278
|
-
return message;
|
|
279
|
-
}
|
|
280
|
-
internalBinaryWrite(message: LsAPI_List, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {
|
|
281
|
-
let u = options.writeUnknownFields;
|
|
282
|
-
if (u !== false)
|
|
283
|
-
(u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
|
|
284
|
-
return writer;
|
|
285
|
-
}
|
|
286
|
-
}
|
|
287
|
-
/**
|
|
288
|
-
* @generated MessageType for protobuf message MiLaboratories.Controller.Shared.LsAPI.List
|
|
289
|
-
*/
|
|
290
|
-
export const LsAPI_List = new LsAPI_List$Type();
|
|
291
|
-
// @generated message type with reflection information, may provide speed optimized methods
|
|
292
|
-
class LsAPI_List_Request$Type extends MessageType<LsAPI_List_Request> {
|
|
293
|
-
constructor() {
|
|
294
|
-
super("MiLaboratories.Controller.Shared.LsAPI.List.Request", [
|
|
295
|
-
{ no: 1, name: "resource_id", kind: "scalar", T: 4 /*ScalarType.UINT64*/, L: 0 /*LongType.BIGINT*/ },
|
|
296
|
-
{ no: 2, name: "location", kind: "scalar", T: 9 /*ScalarType.STRING*/ }
|
|
297
|
-
]);
|
|
298
|
-
}
|
|
299
|
-
create(value?: PartialMessage<LsAPI_List_Request>): LsAPI_List_Request {
|
|
300
|
-
const message = globalThis.Object.create((this.messagePrototype!));
|
|
301
|
-
message.resourceId = 0n;
|
|
302
|
-
message.location = "";
|
|
303
|
-
if (value !== undefined)
|
|
304
|
-
reflectionMergePartial<LsAPI_List_Request>(this, message, value);
|
|
305
|
-
return message;
|
|
306
|
-
}
|
|
307
|
-
internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: LsAPI_List_Request): LsAPI_List_Request {
|
|
308
|
-
let message = target ?? this.create(), end = reader.pos + length;
|
|
309
|
-
while (reader.pos < end) {
|
|
310
|
-
let [fieldNo, wireType] = reader.tag();
|
|
311
|
-
switch (fieldNo) {
|
|
312
|
-
case /* uint64 resource_id */ 1:
|
|
313
|
-
message.resourceId = reader.uint64().toBigInt();
|
|
314
|
-
break;
|
|
315
|
-
case /* string location */ 2:
|
|
316
|
-
message.location = reader.string();
|
|
317
|
-
break;
|
|
318
|
-
default:
|
|
319
|
-
let u = options.readUnknownField;
|
|
320
|
-
if (u === "throw")
|
|
321
|
-
throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`);
|
|
322
|
-
let d = reader.skip(wireType);
|
|
323
|
-
if (u !== false)
|
|
324
|
-
(u === true ? UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d);
|
|
325
|
-
}
|
|
326
|
-
}
|
|
327
|
-
return message;
|
|
328
|
-
}
|
|
329
|
-
internalBinaryWrite(message: LsAPI_List_Request, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {
|
|
330
|
-
/* uint64 resource_id = 1; */
|
|
331
|
-
if (message.resourceId !== 0n)
|
|
332
|
-
writer.tag(1, WireType.Varint).uint64(message.resourceId);
|
|
333
|
-
/* string location = 2; */
|
|
334
|
-
if (message.location !== "")
|
|
335
|
-
writer.tag(2, WireType.LengthDelimited).string(message.location);
|
|
336
|
-
let u = options.writeUnknownFields;
|
|
337
|
-
if (u !== false)
|
|
338
|
-
(u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
|
|
339
|
-
return writer;
|
|
340
|
-
}
|
|
341
|
-
}
|
|
342
|
-
/**
|
|
343
|
-
* @generated MessageType for protobuf message MiLaboratories.Controller.Shared.LsAPI.List.Request
|
|
344
|
-
*/
|
|
345
|
-
export const LsAPI_List_Request = new LsAPI_List_Request$Type();
|
|
346
|
-
// @generated message type with reflection information, may provide speed optimized methods
|
|
347
|
-
class LsAPI_List_Response$Type extends MessageType<LsAPI_List_Response> {
|
|
348
|
-
constructor() {
|
|
349
|
-
super("MiLaboratories.Controller.Shared.LsAPI.List.Response", [
|
|
350
|
-
{ no: 1, name: "items", kind: "message", repeat: 2 /*RepeatType.UNPACKED*/, T: () => LsAPI_ListItem },
|
|
351
|
-
{ no: 2, name: "delimiter", kind: "scalar", T: 9 /*ScalarType.STRING*/ }
|
|
352
|
-
]);
|
|
353
|
-
}
|
|
354
|
-
create(value?: PartialMessage<LsAPI_List_Response>): LsAPI_List_Response {
|
|
355
|
-
const message = globalThis.Object.create((this.messagePrototype!));
|
|
356
|
-
message.items = [];
|
|
357
|
-
message.delimiter = "";
|
|
358
|
-
if (value !== undefined)
|
|
359
|
-
reflectionMergePartial<LsAPI_List_Response>(this, message, value);
|
|
360
|
-
return message;
|
|
361
|
-
}
|
|
362
|
-
internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: LsAPI_List_Response): LsAPI_List_Response {
|
|
363
|
-
let message = target ?? this.create(), end = reader.pos + length;
|
|
364
|
-
while (reader.pos < end) {
|
|
365
|
-
let [fieldNo, wireType] = reader.tag();
|
|
366
|
-
switch (fieldNo) {
|
|
367
|
-
case /* repeated MiLaboratories.Controller.Shared.LsAPI.ListItem items */ 1:
|
|
368
|
-
message.items.push(LsAPI_ListItem.internalBinaryRead(reader, reader.uint32(), options));
|
|
369
|
-
break;
|
|
370
|
-
case /* string delimiter */ 2:
|
|
371
|
-
message.delimiter = reader.string();
|
|
372
|
-
break;
|
|
373
|
-
default:
|
|
374
|
-
let u = options.readUnknownField;
|
|
375
|
-
if (u === "throw")
|
|
376
|
-
throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`);
|
|
377
|
-
let d = reader.skip(wireType);
|
|
378
|
-
if (u !== false)
|
|
379
|
-
(u === true ? UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d);
|
|
380
|
-
}
|
|
381
|
-
}
|
|
382
|
-
return message;
|
|
383
|
-
}
|
|
384
|
-
internalBinaryWrite(message: LsAPI_List_Response, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {
|
|
385
|
-
/* repeated MiLaboratories.Controller.Shared.LsAPI.ListItem items = 1; */
|
|
386
|
-
for (let i = 0; i < message.items.length; i++)
|
|
387
|
-
LsAPI_ListItem.internalBinaryWrite(message.items[i], writer.tag(1, WireType.LengthDelimited).fork(), options).join();
|
|
388
|
-
/* string delimiter = 2; */
|
|
389
|
-
if (message.delimiter !== "")
|
|
390
|
-
writer.tag(2, WireType.LengthDelimited).string(message.delimiter);
|
|
391
|
-
let u = options.writeUnknownFields;
|
|
392
|
-
if (u !== false)
|
|
393
|
-
(u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
|
|
394
|
-
return writer;
|
|
395
|
-
}
|
|
396
|
-
}
|
|
397
|
-
/**
|
|
398
|
-
* @generated MessageType for protobuf message MiLaboratories.Controller.Shared.LsAPI.List.Response
|
|
399
|
-
*/
|
|
400
|
-
export const LsAPI_List_Response = new LsAPI_List_Response$Type();
|
|
401
|
-
/**
|
|
402
|
-
* @generated ServiceType for protobuf service MiLaboratories.Controller.Shared.LS
|
|
403
|
-
*/
|
|
404
|
-
export const LS = new ServiceType("MiLaboratories.Controller.Shared.LS", [
|
|
405
|
-
{ name: "List", options: {}, I: LsAPI_List_Request, O: LsAPI_List_Response }
|
|
406
|
-
]);
|
package/src/proto/github.com/milaboratory/pl/controllers/shared/grpc/progressapi/protocol.client.ts
DELETED
|
@@ -1,59 +0,0 @@
|
|
|
1
|
-
// @generated by protobuf-ts 2.11.1 with parameter client_generic,optimize_speed,generate_dependencies,force_server_none
|
|
2
|
-
// @generated from protobuf file "github.com/milaboratory/pl/controllers/shared/grpc/progressapi/protocol.proto" (package "MiLaboratories.Controller.Shared", syntax proto3)
|
|
3
|
-
// tslint:disable
|
|
4
|
-
import type { RpcTransport } from "@protobuf-ts/runtime-rpc";
|
|
5
|
-
import type { ServiceInfo } from "@protobuf-ts/runtime-rpc";
|
|
6
|
-
import { Progress } from "./protocol";
|
|
7
|
-
import type { ProgressAPI_RealtimeStatus_Response } from "./protocol";
|
|
8
|
-
import type { ProgressAPI_RealtimeStatus_Request } from "./protocol";
|
|
9
|
-
import type { ServerStreamingCall } from "@protobuf-ts/runtime-rpc";
|
|
10
|
-
import { stackIntercept } from "@protobuf-ts/runtime-rpc";
|
|
11
|
-
import type { ProgressAPI_GetStatus_Response } from "./protocol";
|
|
12
|
-
import type { ProgressAPI_GetStatus_Request } from "./protocol";
|
|
13
|
-
import type { UnaryCall } from "@protobuf-ts/runtime-rpc";
|
|
14
|
-
import type { RpcOptions } from "@protobuf-ts/runtime-rpc";
|
|
15
|
-
/**
|
|
16
|
-
*
|
|
17
|
-
* Progress provides access to progress of any long-running process associated with resource.
|
|
18
|
-
*
|
|
19
|
-
*
|
|
20
|
-
* @generated from protobuf service MiLaboratories.Controller.Shared.Progress
|
|
21
|
-
*/
|
|
22
|
-
export interface IProgressClient {
|
|
23
|
-
/**
|
|
24
|
-
* @generated from protobuf rpc: GetStatus
|
|
25
|
-
*/
|
|
26
|
-
getStatus(input: ProgressAPI_GetStatus_Request, options?: RpcOptions): UnaryCall<ProgressAPI_GetStatus_Request, ProgressAPI_GetStatus_Response>;
|
|
27
|
-
/**
|
|
28
|
-
* @generated from protobuf rpc: RealtimeStatus
|
|
29
|
-
*/
|
|
30
|
-
realtimeStatus(input: ProgressAPI_RealtimeStatus_Request, options?: RpcOptions): ServerStreamingCall<ProgressAPI_RealtimeStatus_Request, ProgressAPI_RealtimeStatus_Response>;
|
|
31
|
-
}
|
|
32
|
-
/**
|
|
33
|
-
*
|
|
34
|
-
* Progress provides access to progress of any long-running process associated with resource.
|
|
35
|
-
*
|
|
36
|
-
*
|
|
37
|
-
* @generated from protobuf service MiLaboratories.Controller.Shared.Progress
|
|
38
|
-
*/
|
|
39
|
-
export class ProgressClient implements IProgressClient, ServiceInfo {
|
|
40
|
-
typeName = Progress.typeName;
|
|
41
|
-
methods = Progress.methods;
|
|
42
|
-
options = Progress.options;
|
|
43
|
-
constructor(private readonly _transport: RpcTransport) {
|
|
44
|
-
}
|
|
45
|
-
/**
|
|
46
|
-
* @generated from protobuf rpc: GetStatus
|
|
47
|
-
*/
|
|
48
|
-
getStatus(input: ProgressAPI_GetStatus_Request, options?: RpcOptions): UnaryCall<ProgressAPI_GetStatus_Request, ProgressAPI_GetStatus_Response> {
|
|
49
|
-
const method = this.methods[0], opt = this._transport.mergeOptions(options);
|
|
50
|
-
return stackIntercept<ProgressAPI_GetStatus_Request, ProgressAPI_GetStatus_Response>("unary", this._transport, method, opt, input);
|
|
51
|
-
}
|
|
52
|
-
/**
|
|
53
|
-
* @generated from protobuf rpc: RealtimeStatus
|
|
54
|
-
*/
|
|
55
|
-
realtimeStatus(input: ProgressAPI_RealtimeStatus_Request, options?: RpcOptions): ServerStreamingCall<ProgressAPI_RealtimeStatus_Request, ProgressAPI_RealtimeStatus_Response> {
|
|
56
|
-
const method = this.methods[1], opt = this._transport.mergeOptions(options);
|
|
57
|
-
return stackIntercept<ProgressAPI_RealtimeStatus_Request, ProgressAPI_RealtimeStatus_Response>("serverStreaming", this._transport, method, opt, input);
|
|
58
|
-
}
|
|
59
|
-
}
|