@milaboratories/pl-client 2.7.14 → 2.8.0
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/core/client.d.ts +4 -1
- package/dist/core/client.d.ts.map +1 -1
- package/dist/core/ll_client.d.ts +12 -2
- package/dist/core/ll_client.d.ts.map +1 -1
- package/dist/index.js +1 -1
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +4341 -4316
- package/dist/index.mjs.map +1 -1
- package/dist/proto/github.com/googleapis/googleapis/google/rpc/status.d.ts +15 -15
- package/dist/proto/github.com/googleapis/googleapis/google/rpc/status.d.ts.map +1 -1
- package/dist/proto/github.com/milaboratory/pl/controllers/shared/grpc/lsapi/protocol.client.d.ts +4 -4
- package/dist/proto/github.com/milaboratory/pl/controllers/shared/grpc/lsapi/protocol.client.d.ts.map +1 -1
- package/dist/proto/github.com/milaboratory/pl/controllers/shared/grpc/lsapi/protocol.d.ts +59 -59
- package/dist/proto/github.com/milaboratory/pl/controllers/shared/grpc/lsapi/protocol.d.ts.map +1 -1
- package/dist/proto/github.com/milaboratory/pl/controllers/shared/grpc/streamingapi/protocol.client.d.ts +72 -72
- package/dist/proto/github.com/milaboratory/pl/controllers/shared/grpc/streamingapi/protocol.client.d.ts.map +1 -1
- package/dist/proto/github.com/milaboratory/pl/controllers/shared/grpc/streamingapi/protocol.d.ts +152 -152
- package/dist/proto/github.com/milaboratory/pl/controllers/shared/grpc/streamingapi/protocol.d.ts.map +1 -1
- package/dist/proto/github.com/milaboratory/pl/plapi/plapiproto/api.client.d.ts +156 -156
- package/dist/proto/github.com/milaboratory/pl/plapi/plapiproto/api.client.d.ts.map +1 -1
- package/dist/proto/github.com/milaboratory/pl/plapi/plapiproto/api.d.ts +790 -773
- package/dist/proto/github.com/milaboratory/pl/plapi/plapiproto/api.d.ts.map +1 -1
- package/dist/proto/github.com/milaboratory/pl/plapi/plapiproto/api_types.d.ts +163 -163
- package/dist/proto/github.com/milaboratory/pl/plapi/plapiproto/api_types.d.ts.map +1 -1
- package/dist/proto/github.com/milaboratory/pl/plapi/plapiproto/base_types.d.ts +22 -22
- package/dist/proto/github.com/milaboratory/pl/plapi/plapiproto/base_types.d.ts.map +1 -1
- package/dist/proto/github.com/milaboratory/pl/plapi/plapiproto/import.d.ts +32 -32
- package/dist/proto/github.com/milaboratory/pl/plapi/plapiproto/import.d.ts.map +1 -1
- package/dist/proto/github.com/milaboratory/pl/plapi/plapiproto/resource_types.d.ts +78 -78
- package/dist/proto/github.com/milaboratory/pl/plapi/plapiproto/resource_types.d.ts.map +1 -1
- package/dist/proto/google/protobuf/any.d.ts +52 -52
- package/dist/proto/google/protobuf/any.d.ts.map +1 -1
- package/dist/proto/google/protobuf/duration.d.ts +19 -19
- package/dist/proto/google/protobuf/duration.d.ts.map +1 -1
- package/dist/proto/google/protobuf/empty.d.ts.map +1 -1
- package/dist/proto/google/protobuf/struct.d.ts +56 -56
- package/dist/proto/google/protobuf/struct.d.ts.map +1 -1
- package/dist/proto/google/protobuf/timestamp.d.ts +25 -25
- package/dist/proto/google/protobuf/timestamp.d.ts.map +1 -1
- package/dist/proto/google/protobuf/wrappers.d.ts +72 -72
- package/dist/proto/google/protobuf/wrappers.d.ts.map +1 -1
- package/package.json +3 -3
- package/src/core/client.ts +31 -35
- package/src/core/ll_client.ts +48 -23
- package/src/proto/github.com/googleapis/googleapis/google/rpc/status.ts +72 -75
- package/src/proto/github.com/milaboratory/pl/controllers/shared/grpc/lsapi/protocol.client.ts +21 -22
- package/src/proto/github.com/milaboratory/pl/controllers/shared/grpc/lsapi/protocol.ts +276 -291
- package/src/proto/github.com/milaboratory/pl/controllers/shared/grpc/streamingapi/protocol.client.ts +54 -59
- package/src/proto/github.com/milaboratory/pl/controllers/shared/grpc/streamingapi/protocol.ts +470 -491
- package/src/proto/github.com/milaboratory/pl/plapi/plapiproto/api.client.ts +238 -263
- package/src/proto/github.com/milaboratory/pl/plapi/plapiproto/api.ts +11058 -11752
- package/src/proto/github.com/milaboratory/pl/plapi/plapiproto/api_types.ts +1115 -1156
- package/src/proto/github.com/milaboratory/pl/plapi/plapiproto/base_types.ts +126 -132
- package/src/proto/github.com/milaboratory/pl/plapi/plapiproto/import.ts +201 -204
- package/src/proto/github.com/milaboratory/pl/plapi/plapiproto/resource_types.ts +541 -560
- package/src/proto/google/protobuf/any.ts +140 -150
- package/src/proto/google/protobuf/duration.ts +103 -108
- package/src/proto/google/protobuf/empty.ts +39 -42
- package/src/proto/google/protobuf/struct.ts +323 -337
- package/src/proto/google/protobuf/timestamp.ts +124 -132
- package/src/proto/google/protobuf/wrappers.ts +492 -537
|
@@ -13,25 +13,25 @@ import { Any } from '../../../../../google/protobuf/any';
|
|
|
13
13
|
*/
|
|
14
14
|
export interface Status {
|
|
15
15
|
/**
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
16
|
+
* The status code, which should be an enum value of [google.rpc.Code][google.rpc.Code].
|
|
17
|
+
*
|
|
18
|
+
* @generated from protobuf field: int32 code = 1;
|
|
19
|
+
*/
|
|
20
20
|
code: number;
|
|
21
21
|
/**
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
22
|
+
* A developer-facing error message, which should be in English. Any
|
|
23
|
+
* user-facing error message should be localized and sent in the
|
|
24
|
+
* [google.rpc.Status.details][google.rpc.Status.details] field, or localized by the client.
|
|
25
|
+
*
|
|
26
|
+
* @generated from protobuf field: string message = 2;
|
|
27
|
+
*/
|
|
28
28
|
message: string;
|
|
29
29
|
/**
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
30
|
+
* A list of messages that carry the error details. There is a common set of
|
|
31
|
+
* message types for APIs to use.
|
|
32
|
+
*
|
|
33
|
+
* @generated from protobuf field: repeated google.protobuf.Any details = 3;
|
|
34
|
+
*/
|
|
35
35
|
details: Any[];
|
|
36
36
|
}
|
|
37
37
|
declare class Status$Type extends MessageType<Status> {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"status.d.ts","sourceRoot":"","sources":["../../../../../../../src/proto/github.com/googleapis/googleapis/google/rpc/status.ts"],"names":[],"mappings":"AAkBA,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,sBAAsB,CAAC;AAC/D,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,sBAAsB,CAAC;AAE1D,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,sBAAsB,CAAC;AAC9D,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,sBAAsB,CAAC;AAE1D,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,sBAAsB,CAAC;AAE3D,OAAO,EAAE,WAAW,EAAE,MAAM,sBAAsB,CAAC;AACnD,OAAO,EAAE,GAAG,EAAE,MAAM,oCAAoC,CAAC;AACzD;;;;;;;;;;GAUG;AACH,MAAM,WAAW,MAAM;
|
|
1
|
+
{"version":3,"file":"status.d.ts","sourceRoot":"","sources":["../../../../../../../src/proto/github.com/googleapis/googleapis/google/rpc/status.ts"],"names":[],"mappings":"AAkBA,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,sBAAsB,CAAC;AAC/D,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,sBAAsB,CAAC;AAE1D,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,sBAAsB,CAAC;AAC9D,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,sBAAsB,CAAC;AAE1D,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,sBAAsB,CAAC;AAE3D,OAAO,EAAE,WAAW,EAAE,MAAM,sBAAsB,CAAC;AACnD,OAAO,EAAE,GAAG,EAAE,MAAM,oCAAoC,CAAC;AACzD;;;;;;;;;;GAUG;AACH,MAAM,WAAW,MAAM;IACnB;;;;OAIG;IACH,IAAI,EAAE,MAAM,CAAC;IACb;;;;;;OAMG;IACH,OAAO,EAAE,MAAM,CAAC;IAChB;;;;;OAKG;IACH,OAAO,EAAE,GAAG,EAAE,CAAC;CAClB;AAED,cAAM,WAAY,SAAQ,WAAW,CAAC,MAAM,CAAC;;IAQzC,MAAM,CAAC,KAAK,CAAC,EAAE,cAAc,CAAC,MAAM,CAAC,GAAG,MAAM;IAS9C,kBAAkB,CAAC,MAAM,EAAE,aAAa,EAAE,MAAM,EAAE,MAAM,EAAE,OAAO,EAAE,iBAAiB,EAAE,MAAM,CAAC,EAAE,MAAM,GAAG,MAAM;IAyB9G,mBAAmB,CAAC,OAAO,EAAE,MAAM,EAAE,MAAM,EAAE,aAAa,EAAE,OAAO,EAAE,kBAAkB,GAAG,aAAa;CAe1G;AACD;;GAEG;AACH,eAAO,MAAM,MAAM,aAAoB,CAAC"}
|
package/dist/proto/github.com/milaboratory/pl/controllers/shared/grpc/lsapi/protocol.client.d.ts
CHANGED
|
@@ -13,8 +13,8 @@ import { JsonValue } from '@protobuf-ts/runtime';
|
|
|
13
13
|
*/
|
|
14
14
|
export interface ILSClient {
|
|
15
15
|
/**
|
|
16
|
-
|
|
17
|
-
|
|
16
|
+
* @generated from protobuf rpc: List(MiLaboratories.Controller.Shared.LsAPI.List.Request) returns (MiLaboratories.Controller.Shared.LsAPI.List.Response);
|
|
17
|
+
*/
|
|
18
18
|
list(input: LsAPI_List_Request, options?: RpcOptions): UnaryCall<LsAPI_List_Request, LsAPI_List_Response>;
|
|
19
19
|
}
|
|
20
20
|
/**
|
|
@@ -36,8 +36,8 @@ export declare class LSClient implements ILSClient, ServiceInfo {
|
|
|
36
36
|
};
|
|
37
37
|
constructor(_transport: RpcTransport);
|
|
38
38
|
/**
|
|
39
|
-
|
|
40
|
-
|
|
39
|
+
* @generated from protobuf rpc: List(MiLaboratories.Controller.Shared.LsAPI.List.Request) returns (MiLaboratories.Controller.Shared.LsAPI.List.Response);
|
|
40
|
+
*/
|
|
41
41
|
list(input: LsAPI_List_Request, options?: RpcOptions): UnaryCall<LsAPI_List_Request, LsAPI_List_Response>;
|
|
42
42
|
}
|
|
43
43
|
//# sourceMappingURL=protocol.client.d.ts.map
|
package/dist/proto/github.com/milaboratory/pl/controllers/shared/grpc/lsapi/protocol.client.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"protocol.client.d.ts","sourceRoot":"","sources":["../../../../../../../../../src/proto/github.com/milaboratory/pl/controllers/shared/grpc/lsapi/protocol.client.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,0BAA0B,CAAC;AAC7D,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,0BAA0B,CAAC;AAG5D,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,YAAY,CAAC;AACtD,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,YAAY,CAAC;AACrD,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,0BAA0B,CAAC;AAC1D,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,0BAA0B,CAAC;AAC3D;;;;;;;;;GASG;AACH,MAAM,WAAW,SAAS;
|
|
1
|
+
{"version":3,"file":"protocol.client.d.ts","sourceRoot":"","sources":["../../../../../../../../../src/proto/github.com/milaboratory/pl/controllers/shared/grpc/lsapi/protocol.client.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,0BAA0B,CAAC;AAC7D,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,0BAA0B,CAAC;AAG5D,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,YAAY,CAAC;AACtD,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,YAAY,CAAC;AACrD,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,0BAA0B,CAAC;AAC1D,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,0BAA0B,CAAC;AAC3D;;;;;;;;;GASG;AACH,MAAM,WAAW,SAAS;IACtB;;OAEG;IACH,IAAI,CAAC,KAAK,EAAE,kBAAkB,EAAE,OAAO,CAAC,EAAE,UAAU,GAAG,SAAS,CAAC,kBAAkB,EAAE,mBAAmB,CAAC,CAAC;CAC7G;AACD;;;;;;;;;GASG;AACH,qBAAa,QAAS,YAAW,SAAS,EAAE,WAAW;IAIvC,OAAO,CAAC,QAAQ,CAAC,UAAU;IAHvC,QAAQ,SAAe;IACvB,OAAO,4DAAc;IACrB,OAAO;;MAAc;gBACQ,UAAU,EAAE,YAAY;IAErD;;OAEG;IACH,IAAI,CAAC,KAAK,EAAE,kBAAkB,EAAE,OAAO,CAAC,EAAE,UAAU,GAAG,SAAS,CAAC,kBAAkB,EAAE,mBAAmB,CAAC;CAI5G"}
|
|
@@ -11,56 +11,56 @@ export interface LsAPI {
|
|
|
11
11
|
*/
|
|
12
12
|
export interface LsAPI_ListItem {
|
|
13
13
|
/**
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
14
|
+
* name of the item in storage, without any prefixes
|
|
15
|
+
*
|
|
16
|
+
* @generated from protobuf field: string name = 1;
|
|
17
|
+
*/
|
|
18
18
|
name: string;
|
|
19
19
|
/**
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
20
|
+
* size of item in bytes
|
|
21
|
+
* is always zero for directories (is_dir = true)
|
|
22
|
+
*
|
|
23
|
+
* @generated from protobuf field: uint64 size = 2;
|
|
24
|
+
*/
|
|
25
25
|
size: bigint;
|
|
26
26
|
/**
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
27
|
+
* is_dir is true for item, that can have subitems.
|
|
28
|
+
*
|
|
29
|
+
* @generated from protobuf field: bool is_dir = 3;
|
|
30
|
+
*/
|
|
31
31
|
isDir: boolean;
|
|
32
32
|
/**
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
33
|
+
* full_name is the name of item absolute to storage root.
|
|
34
|
+
* it is <directory> + <name>
|
|
35
|
+
* The <delimiter>, used in names, is storage-specific and is NOT guaranteed to be '/'.
|
|
36
|
+
*
|
|
37
|
+
* @generated from protobuf field: string full_name = 10;
|
|
38
|
+
*/
|
|
39
39
|
fullName: string;
|
|
40
40
|
/**
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
41
|
+
* directory, the item is located in. The value here is always a prefix of name:
|
|
42
|
+
* name.HasPrefix(directory) is always true.
|
|
43
|
+
*
|
|
44
|
+
* @generated from protobuf field: string directory = 11;
|
|
45
|
+
*/
|
|
46
46
|
directory: string;
|
|
47
47
|
/**
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
48
|
+
* last_modified keeps the item last modification timestamp
|
|
49
|
+
*
|
|
50
|
+
* @generated from protobuf field: google.protobuf.Timestamp last_modified = 12;
|
|
51
|
+
*/
|
|
52
52
|
lastModified?: Timestamp;
|
|
53
53
|
/**
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
54
|
+
* version of item in storage.
|
|
55
|
+
* When storage supports versioning or provides checksums for the data stored,
|
|
56
|
+
* the <version> field keeps that data.
|
|
57
|
+
* If not - it keeps the any simple combination of item attributes, that helps to
|
|
58
|
+
* detect if the contents of item has changed, e.g. <size>+<mtime>.
|
|
59
|
+
* Anyway, client should not try to interpret this field, but should provide it to the Platform
|
|
60
|
+
* in operations with given item (like BlobImportInternal) to help Platform with deduplication.
|
|
61
|
+
*
|
|
62
|
+
* @generated from protobuf field: string version = 13;
|
|
63
|
+
*/
|
|
64
64
|
version: string;
|
|
65
65
|
}
|
|
66
66
|
/**
|
|
@@ -73,17 +73,17 @@ export interface LsAPI_List {
|
|
|
73
73
|
*/
|
|
74
74
|
export interface LsAPI_List_Request {
|
|
75
75
|
/**
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
76
|
+
* resource_id of 'LS/<Storage>' resource
|
|
77
|
+
*
|
|
78
|
+
* @generated from protobuf field: uint64 resource_id = 1;
|
|
79
|
+
*/
|
|
80
80
|
resourceId: bigint;
|
|
81
81
|
/**
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
82
|
+
* location to list, absolute to storage root. Only items, that have <full_name> starting
|
|
83
|
+
* from <location> are included into list response.
|
|
84
|
+
*
|
|
85
|
+
* @generated from protobuf field: string location = 2;
|
|
86
|
+
*/
|
|
87
87
|
location: string;
|
|
88
88
|
}
|
|
89
89
|
/**
|
|
@@ -91,20 +91,20 @@ export interface LsAPI_List_Request {
|
|
|
91
91
|
*/
|
|
92
92
|
export interface LsAPI_List_Response {
|
|
93
93
|
/**
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
94
|
+
* List of the full (absolute to storage root) names of items from storage.
|
|
95
|
+
* E.g., for 'fs' storage each name will consist of names of all directories, where the
|
|
96
|
+
* item is located, and the item name itself.
|
|
97
|
+
* The delimiter, used in names, is storage-specific and is NOT guaranteed to be '/'.
|
|
98
|
+
*
|
|
99
|
+
* @generated from protobuf field: repeated MiLaboratories.Controller.Shared.LsAPI.ListItem items = 1;
|
|
100
|
+
*/
|
|
101
101
|
items: LsAPI_ListItem[];
|
|
102
102
|
/**
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
103
|
+
* delimiter is path separator, used in this storage. Client can use it to parse item names into parts,
|
|
104
|
+
* to extract directory names.
|
|
105
|
+
*
|
|
106
|
+
* @generated from protobuf field: string delimiter = 2;
|
|
107
|
+
*/
|
|
108
108
|
delimiter: string;
|
|
109
109
|
}
|
|
110
110
|
declare class LsAPI$Type extends MessageType<LsAPI> {
|
package/dist/proto/github.com/milaboratory/pl/controllers/shared/grpc/lsapi/protocol.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"protocol.d.ts","sourceRoot":"","sources":["../../../../../../../../../src/proto/github.com/milaboratory/pl/controllers/shared/grpc/lsapi/protocol.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,WAAW,EAAE,MAAM,0BAA0B,CAAC;AAEvD,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,sBAAsB,CAAC;AAC/D,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,sBAAsB,CAAC;AAC1D,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,sBAAsB,CAAC;AAC9D,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,sBAAsB,CAAC;AAE1D,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,sBAAsB,CAAC;AAE3D,OAAO,EAAE,WAAW,EAAE,MAAM,sBAAsB,CAAC;AACnD,OAAO,EAAE,SAAS,EAAE,MAAM,gDAAgD,CAAC;AAC3E;;GAEG;AACH,MAAM,WAAW,KAAK;CACrB;AACD;;GAEG;AACH,MAAM,WAAW,cAAc;
|
|
1
|
+
{"version":3,"file":"protocol.d.ts","sourceRoot":"","sources":["../../../../../../../../../src/proto/github.com/milaboratory/pl/controllers/shared/grpc/lsapi/protocol.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,WAAW,EAAE,MAAM,0BAA0B,CAAC;AAEvD,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,sBAAsB,CAAC;AAC/D,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,sBAAsB,CAAC;AAC1D,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,sBAAsB,CAAC;AAC9D,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,sBAAsB,CAAC;AAE1D,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,sBAAsB,CAAC;AAE3D,OAAO,EAAE,WAAW,EAAE,MAAM,sBAAsB,CAAC;AACnD,OAAO,EAAE,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AAM,wBAAyB,SAAQ,WAAW,CAAC,mBAAmB,CAAC;;IAOnE,MAAM,CAAC,KAAK,CAAC,EAAE,cAAc,CAAC,mBAAmB,CAAC,GAAG,mBAAmB;IAQxE,kBAAkB,CAAC,MAAM,EAAE,aAAa,EAAE,MAAM,EAAE,MAAM,EAAE,OAAO,EAAE,iBAAiB,EAAE,MAAM,CAAC,EAAE,mBAAmB,GAAG,mBAAmB;IAsBxI,mBAAmB,CAAC,OAAO,EAAE,mBAAmB,EAAE,MAAM,EAAE,aAAa,EAAE,OAAO,EAAE,kBAAkB,GAAG,aAAa;CAYvH;AACD;;GAEG;AACH,eAAO,MAAM,mBAAmB,0BAAiC,CAAC;AAClE;;GAEG;AACH,eAAO,MAAM,EAAE,aAEb,CAAC"}
|
|
@@ -11,50 +11,50 @@ import { JsonValue } from '@protobuf-ts/runtime';
|
|
|
11
11
|
*/
|
|
12
12
|
export interface IStreamingClient {
|
|
13
13
|
/**
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
14
|
+
* StreamBinary provides stream of binary file. Each response message keeps
|
|
15
|
+
* one single chunk of binary data from data source. See StreamingAPI.Binary message
|
|
16
|
+
* for more info on available options.
|
|
17
|
+
*
|
|
18
|
+
* @generated from protobuf rpc: StreamBinary(MiLaboratories.Controller.Shared.StreamingAPI.StreamBinary) returns (stream MiLaboratories.Controller.Shared.StreamingAPI.Response);
|
|
19
|
+
*/
|
|
20
20
|
streamBinary(input: StreamingAPI_StreamBinary, options?: RpcOptions): ServerStreamingCall<StreamingAPI_StreamBinary, StreamingAPI_Response>;
|
|
21
21
|
/**
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
22
|
+
* ReadBinary allows to read remote item in chunks using stream-like API.
|
|
23
|
+
* The difference to StreamBinary is that the client receives single response for each
|
|
24
|
+
* call and has to send new calls to the server to get fresh data from remote item.
|
|
25
|
+
* Each response (each chunk from server) keeps not more than 3.9MiB of data.
|
|
26
|
+
*
|
|
27
|
+
* @generated from protobuf rpc: ReadBinary(MiLaboratories.Controller.Shared.StreamingAPI.ReadBinary) returns (MiLaboratories.Controller.Shared.StreamingAPI.Response);
|
|
28
|
+
*/
|
|
29
29
|
readBinary(input: StreamingAPI_ReadBinary, options?: RpcOptions): UnaryCall<StreamingAPI_ReadBinary, StreamingAPI_Response>;
|
|
30
30
|
/**
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
31
|
+
* StreamText provides stream of textual file, splitting the data by newline symbol.
|
|
32
|
+
* Each response message keeps one single line of text from data source.
|
|
33
|
+
*
|
|
34
|
+
* @generated from protobuf rpc: StreamText(MiLaboratories.Controller.Shared.StreamingAPI.StreamText) returns (stream MiLaboratories.Controller.Shared.StreamingAPI.Response);
|
|
35
|
+
*/
|
|
36
36
|
streamText(input: StreamingAPI_StreamText, options?: RpcOptions): ServerStreamingCall<StreamingAPI_StreamText, StreamingAPI_Response>;
|
|
37
37
|
/**
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
38
|
+
* ReadBinary allows to read remote item in chunks using stream-like API.
|
|
39
|
+
* The difference to StreamBinary is that the client receives single response for each
|
|
40
|
+
* call and has to send new calls to the server to get fresh data from remote item.
|
|
41
|
+
* Each response (each chunk from server) keeps not more than 3.9MiB of data.
|
|
42
|
+
*
|
|
43
|
+
* @generated from protobuf rpc: ReadText(MiLaboratories.Controller.Shared.StreamingAPI.ReadText) returns (MiLaboratories.Controller.Shared.StreamingAPI.Response);
|
|
44
|
+
*/
|
|
45
45
|
readText(input: StreamingAPI_ReadText, options?: RpcOptions): UnaryCall<StreamingAPI_ReadText, StreamingAPI_Response>;
|
|
46
46
|
/**
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
47
|
+
* LastLines provides single message with the last lines from data source.
|
|
48
|
+
* When search pattern is specified, the last lines matching the given pattern are returned.
|
|
49
|
+
* The lines are returned in reversed order, as server reads data source from the end.
|
|
50
|
+
* Consider it as equivalent to 'tac <file> | grep <search> | head -n <line_count>'
|
|
51
|
+
* The <new_offset> returned in the response points to the _beginning_ of the last
|
|
52
|
+
* line found, so client can continue reading the file backwards in subsequent calls.
|
|
53
|
+
* This means, that use of this <new_offset> in ReadText() will return you the same line
|
|
54
|
+
* returned last in LastLines() data.
|
|
55
|
+
*
|
|
56
|
+
* @generated from protobuf rpc: LastLines(MiLaboratories.Controller.Shared.StreamingAPI.LastLines) returns (MiLaboratories.Controller.Shared.StreamingAPI.Response);
|
|
57
|
+
*/
|
|
58
58
|
lastLines(input: StreamingAPI_LastLines, options?: RpcOptions): UnaryCall<StreamingAPI_LastLines, StreamingAPI_Response>;
|
|
59
59
|
}
|
|
60
60
|
/**
|
|
@@ -74,50 +74,50 @@ export declare class StreamingClient implements IStreamingClient, ServiceInfo {
|
|
|
74
74
|
};
|
|
75
75
|
constructor(_transport: RpcTransport);
|
|
76
76
|
/**
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
77
|
+
* StreamBinary provides stream of binary file. Each response message keeps
|
|
78
|
+
* one single chunk of binary data from data source. See StreamingAPI.Binary message
|
|
79
|
+
* for more info on available options.
|
|
80
|
+
*
|
|
81
|
+
* @generated from protobuf rpc: StreamBinary(MiLaboratories.Controller.Shared.StreamingAPI.StreamBinary) returns (stream MiLaboratories.Controller.Shared.StreamingAPI.Response);
|
|
82
|
+
*/
|
|
83
83
|
streamBinary(input: StreamingAPI_StreamBinary, options?: RpcOptions): ServerStreamingCall<StreamingAPI_StreamBinary, StreamingAPI_Response>;
|
|
84
84
|
/**
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
85
|
+
* ReadBinary allows to read remote item in chunks using stream-like API.
|
|
86
|
+
* The difference to StreamBinary is that the client receives single response for each
|
|
87
|
+
* call and has to send new calls to the server to get fresh data from remote item.
|
|
88
|
+
* Each response (each chunk from server) keeps not more than 3.9MiB of data.
|
|
89
|
+
*
|
|
90
|
+
* @generated from protobuf rpc: ReadBinary(MiLaboratories.Controller.Shared.StreamingAPI.ReadBinary) returns (MiLaboratories.Controller.Shared.StreamingAPI.Response);
|
|
91
|
+
*/
|
|
92
92
|
readBinary(input: StreamingAPI_ReadBinary, options?: RpcOptions): UnaryCall<StreamingAPI_ReadBinary, StreamingAPI_Response>;
|
|
93
93
|
/**
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
94
|
+
* StreamText provides stream of textual file, splitting the data by newline symbol.
|
|
95
|
+
* Each response message keeps one single line of text from data source.
|
|
96
|
+
*
|
|
97
|
+
* @generated from protobuf rpc: StreamText(MiLaboratories.Controller.Shared.StreamingAPI.StreamText) returns (stream MiLaboratories.Controller.Shared.StreamingAPI.Response);
|
|
98
|
+
*/
|
|
99
99
|
streamText(input: StreamingAPI_StreamText, options?: RpcOptions): ServerStreamingCall<StreamingAPI_StreamText, StreamingAPI_Response>;
|
|
100
100
|
/**
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
101
|
+
* ReadBinary allows to read remote item in chunks using stream-like API.
|
|
102
|
+
* The difference to StreamBinary is that the client receives single response for each
|
|
103
|
+
* call and has to send new calls to the server to get fresh data from remote item.
|
|
104
|
+
* Each response (each chunk from server) keeps not more than 3.9MiB of data.
|
|
105
|
+
*
|
|
106
|
+
* @generated from protobuf rpc: ReadText(MiLaboratories.Controller.Shared.StreamingAPI.ReadText) returns (MiLaboratories.Controller.Shared.StreamingAPI.Response);
|
|
107
|
+
*/
|
|
108
108
|
readText(input: StreamingAPI_ReadText, options?: RpcOptions): UnaryCall<StreamingAPI_ReadText, StreamingAPI_Response>;
|
|
109
109
|
/**
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
110
|
+
* LastLines provides single message with the last lines from data source.
|
|
111
|
+
* When search pattern is specified, the last lines matching the given pattern are returned.
|
|
112
|
+
* The lines are returned in reversed order, as server reads data source from the end.
|
|
113
|
+
* Consider it as equivalent to 'tac <file> | grep <search> | head -n <line_count>'
|
|
114
|
+
* The <new_offset> returned in the response points to the _beginning_ of the last
|
|
115
|
+
* line found, so client can continue reading the file backwards in subsequent calls.
|
|
116
|
+
* This means, that use of this <new_offset> in ReadText() will return you the same line
|
|
117
|
+
* returned last in LastLines() data.
|
|
118
|
+
*
|
|
119
|
+
* @generated from protobuf rpc: LastLines(MiLaboratories.Controller.Shared.StreamingAPI.LastLines) returns (MiLaboratories.Controller.Shared.StreamingAPI.Response);
|
|
120
|
+
*/
|
|
121
121
|
lastLines(input: StreamingAPI_LastLines, options?: RpcOptions): UnaryCall<StreamingAPI_LastLines, StreamingAPI_Response>;
|
|
122
122
|
}
|
|
123
123
|
//# sourceMappingURL=protocol.client.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"protocol.client.d.ts","sourceRoot":"","sources":["../../../../../../../../../src/proto/github.com/milaboratory/pl/controllers/shared/grpc/streamingapi/protocol.client.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,0BAA0B,CAAC;AAC7D,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,0BAA0B,CAAC;AAE5D,OAAO,KAAK,EAAE,sBAAsB,EAAE,MAAM,YAAY,CAAC;AACzD,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,YAAY,CAAC;AACxD,OAAO,KAAK,EAAE,uBAAuB,EAAE,MAAM,YAAY,CAAC;AAC1D,OAAO,KAAK,EAAE,uBAAuB,EAAE,MAAM,YAAY,CAAC;AAC1D,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,0BAA0B,CAAC;AAE1D,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,YAAY,CAAC;AACxD,OAAO,KAAK,EAAE,yBAAyB,EAAE,MAAM,YAAY,CAAC;AAC5D,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,0BAA0B,CAAC;AACpE,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,0BAA0B,CAAC;AAC3D;;;;;;;GAOG;AACH,MAAM,WAAW,gBAAgB;
|
|
1
|
+
{"version":3,"file":"protocol.client.d.ts","sourceRoot":"","sources":["../../../../../../../../../src/proto/github.com/milaboratory/pl/controllers/shared/grpc/streamingapi/protocol.client.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,0BAA0B,CAAC;AAC7D,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,0BAA0B,CAAC;AAE5D,OAAO,KAAK,EAAE,sBAAsB,EAAE,MAAM,YAAY,CAAC;AACzD,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,YAAY,CAAC;AACxD,OAAO,KAAK,EAAE,uBAAuB,EAAE,MAAM,YAAY,CAAC;AAC1D,OAAO,KAAK,EAAE,uBAAuB,EAAE,MAAM,YAAY,CAAC;AAC1D,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,0BAA0B,CAAC;AAE1D,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,YAAY,CAAC;AACxD,OAAO,KAAK,EAAE,yBAAyB,EAAE,MAAM,YAAY,CAAC;AAC5D,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,0BAA0B,CAAC;AACpE,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,0BAA0B,C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