@milaboratories/pl-client 2.4.10 → 2.4.11

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.
Files changed (101) hide show
  1. package/dist/core/auth.d.ts +6 -0
  2. package/dist/core/auth.d.ts.map +1 -0
  3. package/dist/core/client.d.ts +50 -0
  4. package/dist/core/client.d.ts.map +1 -0
  5. package/dist/core/config.d.ts +91 -0
  6. package/dist/core/config.d.ts.map +1 -0
  7. package/dist/core/default_client.d.ts +11 -0
  8. package/dist/core/default_client.d.ts.map +1 -0
  9. package/dist/core/driver.d.ts +18 -0
  10. package/dist/core/driver.d.ts.map +1 -0
  11. package/dist/core/errors.d.ts +25 -0
  12. package/dist/core/errors.d.ts.map +1 -0
  13. package/dist/core/http.d.ts +1 -0
  14. package/dist/core/http.d.ts.map +1 -0
  15. package/dist/core/ll_client.d.ts +50 -0
  16. package/dist/core/ll_client.d.ts.map +1 -0
  17. package/dist/core/ll_transaction.d.ts +55 -0
  18. package/dist/core/ll_transaction.d.ts.map +1 -0
  19. package/dist/core/transaction.d.ts +152 -0
  20. package/dist/core/transaction.d.ts.map +1 -0
  21. package/dist/core/type_conversion.d.ts +8 -0
  22. package/dist/core/type_conversion.d.ts.map +1 -0
  23. package/dist/core/types.d.ts +77 -0
  24. package/dist/core/types.d.ts.map +1 -0
  25. package/dist/core/unauth_client.d.ts +13 -0
  26. package/dist/core/unauth_client.d.ts.map +1 -0
  27. package/dist/helpers/pl.d.ts +34 -0
  28. package/dist/helpers/pl.d.ts.map +1 -0
  29. package/dist/helpers/poll.d.ts +39 -0
  30. package/dist/helpers/poll.d.ts.map +1 -0
  31. package/dist/helpers/rich_resource_types.d.ts +1 -0
  32. package/dist/helpers/rich_resource_types.d.ts.map +1 -0
  33. package/dist/helpers/smart_accessors.d.ts +1 -0
  34. package/dist/helpers/smart_accessors.d.ts.map +1 -0
  35. package/dist/helpers/state_helpers.d.ts +3 -0
  36. package/dist/helpers/state_helpers.d.ts.map +1 -0
  37. package/dist/helpers/tx_helpers.d.ts +9 -0
  38. package/dist/helpers/tx_helpers.d.ts.map +1 -0
  39. package/dist/index.d.ts +14 -0
  40. package/dist/index.d.ts.map +1 -0
  41. package/dist/index.js +1 -14425
  42. package/dist/index.js.map +1 -1
  43. package/dist/index.mjs +12126 -0
  44. package/dist/index.mjs.map +1 -0
  45. package/dist/proto/github.com/googleapis/googleapis/google/rpc/status.d.ts +48 -0
  46. package/dist/proto/github.com/googleapis/googleapis/google/rpc/status.d.ts.map +1 -0
  47. package/dist/proto/github.com/milaboratory/pl/controllers/shared/grpc/downloadapi/protocol.client.d.ts +36 -0
  48. package/dist/proto/github.com/milaboratory/pl/controllers/shared/grpc/downloadapi/protocol.client.d.ts.map +1 -0
  49. package/dist/proto/github.com/milaboratory/pl/controllers/shared/grpc/downloadapi/protocol.d.ts +103 -0
  50. package/dist/proto/github.com/milaboratory/pl/controllers/shared/grpc/downloadapi/protocol.d.ts.map +1 -0
  51. package/dist/proto/github.com/milaboratory/pl/controllers/shared/grpc/lsapi/protocol.client.d.ts +42 -0
  52. package/dist/proto/github.com/milaboratory/pl/controllers/shared/grpc/lsapi/protocol.client.d.ts.map +1 -0
  53. package/dist/proto/github.com/milaboratory/pl/controllers/shared/grpc/lsapi/protocol.d.ts +165 -0
  54. package/dist/proto/github.com/milaboratory/pl/controllers/shared/grpc/lsapi/protocol.d.ts.map +1 -0
  55. package/dist/proto/github.com/milaboratory/pl/controllers/shared/grpc/progressapi/protocol.client.d.ts +44 -0
  56. package/dist/proto/github.com/milaboratory/pl/controllers/shared/grpc/progressapi/protocol.client.d.ts.map +1 -0
  57. package/dist/proto/github.com/milaboratory/pl/controllers/shared/grpc/progressapi/protocol.d.ts +171 -0
  58. package/dist/proto/github.com/milaboratory/pl/controllers/shared/grpc/progressapi/protocol.d.ts.map +1 -0
  59. package/dist/proto/github.com/milaboratory/pl/controllers/shared/grpc/streamingapi/protocol.client.d.ts +122 -0
  60. package/dist/proto/github.com/milaboratory/pl/controllers/shared/grpc/streamingapi/protocol.client.d.ts.map +1 -0
  61. package/dist/proto/github.com/milaboratory/pl/controllers/shared/grpc/streamingapi/protocol.d.ts +315 -0
  62. package/dist/proto/github.com/milaboratory/pl/controllers/shared/grpc/streamingapi/protocol.d.ts.map +1 -0
  63. package/dist/proto/github.com/milaboratory/pl/plapi/plapiproto/api.client.d.ts +276 -0
  64. package/dist/proto/github.com/milaboratory/pl/plapi/plapiproto/api.client.d.ts.map +1 -0
  65. package/dist/proto/github.com/milaboratory/pl/plapi/plapiproto/api.d.ts +5045 -0
  66. package/dist/proto/github.com/milaboratory/pl/plapi/plapiproto/api.d.ts.map +1 -0
  67. package/dist/proto/github.com/milaboratory/pl/plapi/plapiproto/api_types.d.ts +499 -0
  68. package/dist/proto/github.com/milaboratory/pl/plapi/plapiproto/api_types.d.ts.map +1 -0
  69. package/dist/proto/github.com/milaboratory/pl/plapi/plapiproto/base_types.d.ts +82 -0
  70. package/dist/proto/github.com/milaboratory/pl/plapi/plapiproto/base_types.d.ts.map +1 -0
  71. package/dist/proto/github.com/milaboratory/pl/plapi/plapiproto/import.d.ts +91 -0
  72. package/dist/proto/github.com/milaboratory/pl/plapi/plapiproto/import.d.ts.map +1 -0
  73. package/dist/proto/github.com/milaboratory/pl/plapi/plapiproto/resource_types.d.ts +251 -0
  74. package/dist/proto/github.com/milaboratory/pl/plapi/plapiproto/resource_types.d.ts.map +1 -0
  75. package/dist/proto/google/api/http.d.ts +451 -0
  76. package/dist/proto/google/api/http.d.ts.map +1 -0
  77. package/dist/proto/google/protobuf/any.d.ts +172 -0
  78. package/dist/proto/google/protobuf/any.d.ts.map +1 -0
  79. package/dist/proto/google/protobuf/descriptor.d.ts +2258 -0
  80. package/dist/proto/google/protobuf/descriptor.d.ts.map +1 -0
  81. package/dist/proto/google/protobuf/duration.d.ts +105 -0
  82. package/dist/proto/google/protobuf/duration.d.ts.map +1 -0
  83. package/dist/proto/google/protobuf/empty.d.ts +27 -0
  84. package/dist/proto/google/protobuf/empty.d.ts.map +1 -0
  85. package/dist/proto/google/protobuf/struct.d.ts +177 -0
  86. package/dist/proto/google/protobuf/struct.d.ts.map +1 -0
  87. package/dist/proto/google/protobuf/timestamp.d.ts +148 -0
  88. package/dist/proto/google/protobuf/timestamp.d.ts.map +1 -0
  89. package/dist/proto/google/protobuf/wrappers.d.ts +300 -0
  90. package/dist/proto/google/protobuf/wrappers.d.ts.map +1 -0
  91. package/dist/test/test_config.d.ts +18 -0
  92. package/dist/test/test_config.d.ts.map +1 -0
  93. package/dist/util/branding.d.ts +7 -0
  94. package/dist/util/branding.d.ts.map +1 -0
  95. package/dist/util/pl.d.ts +9 -0
  96. package/dist/util/pl.d.ts.map +1 -0
  97. package/dist/util/util.d.ts +2 -0
  98. package/dist/util/util.d.ts.map +1 -0
  99. package/package.json +10 -14
  100. package/dist/index.cjs +0 -14527
  101. package/dist/index.cjs.map +0 -1
@@ -0,0 +1,300 @@
1
+ import { BinaryWriteOptions, IBinaryWriter, BinaryReadOptions, IBinaryReader, PartialMessage, JsonValue, JsonReadOptions, JsonWriteOptions, MessageType } from '@protobuf-ts/runtime';
2
+ /**
3
+ * Wrapper message for `double`.
4
+ *
5
+ * The JSON representation for `DoubleValue` is JSON number.
6
+ *
7
+ * @generated from protobuf message google.protobuf.DoubleValue
8
+ */
9
+ export interface DoubleValue {
10
+ /**
11
+ * The double value.
12
+ *
13
+ * @generated from protobuf field: double value = 1;
14
+ */
15
+ value: number;
16
+ }
17
+ /**
18
+ * Wrapper message for `float`.
19
+ *
20
+ * The JSON representation for `FloatValue` is JSON number.
21
+ *
22
+ * @generated from protobuf message google.protobuf.FloatValue
23
+ */
24
+ export interface FloatValue {
25
+ /**
26
+ * The float value.
27
+ *
28
+ * @generated from protobuf field: float value = 1;
29
+ */
30
+ value: number;
31
+ }
32
+ /**
33
+ * Wrapper message for `int64`.
34
+ *
35
+ * The JSON representation for `Int64Value` is JSON string.
36
+ *
37
+ * @generated from protobuf message google.protobuf.Int64Value
38
+ */
39
+ export interface Int64Value {
40
+ /**
41
+ * The int64 value.
42
+ *
43
+ * @generated from protobuf field: int64 value = 1;
44
+ */
45
+ value: bigint;
46
+ }
47
+ /**
48
+ * Wrapper message for `uint64`.
49
+ *
50
+ * The JSON representation for `UInt64Value` is JSON string.
51
+ *
52
+ * @generated from protobuf message google.protobuf.UInt64Value
53
+ */
54
+ export interface UInt64Value {
55
+ /**
56
+ * The uint64 value.
57
+ *
58
+ * @generated from protobuf field: uint64 value = 1;
59
+ */
60
+ value: bigint;
61
+ }
62
+ /**
63
+ * Wrapper message for `int32`.
64
+ *
65
+ * The JSON representation for `Int32Value` is JSON number.
66
+ *
67
+ * @generated from protobuf message google.protobuf.Int32Value
68
+ */
69
+ export interface Int32Value {
70
+ /**
71
+ * The int32 value.
72
+ *
73
+ * @generated from protobuf field: int32 value = 1;
74
+ */
75
+ value: number;
76
+ }
77
+ /**
78
+ * Wrapper message for `uint32`.
79
+ *
80
+ * The JSON representation for `UInt32Value` is JSON number.
81
+ *
82
+ * @generated from protobuf message google.protobuf.UInt32Value
83
+ */
84
+ export interface UInt32Value {
85
+ /**
86
+ * The uint32 value.
87
+ *
88
+ * @generated from protobuf field: uint32 value = 1;
89
+ */
90
+ value: number;
91
+ }
92
+ /**
93
+ * Wrapper message for `bool`.
94
+ *
95
+ * The JSON representation for `BoolValue` is JSON `true` and `false`.
96
+ *
97
+ * @generated from protobuf message google.protobuf.BoolValue
98
+ */
99
+ export interface BoolValue {
100
+ /**
101
+ * The bool value.
102
+ *
103
+ * @generated from protobuf field: bool value = 1;
104
+ */
105
+ value: boolean;
106
+ }
107
+ /**
108
+ * Wrapper message for `string`.
109
+ *
110
+ * The JSON representation for `StringValue` is JSON string.
111
+ *
112
+ * @generated from protobuf message google.protobuf.StringValue
113
+ */
114
+ export interface StringValue {
115
+ /**
116
+ * The string value.
117
+ *
118
+ * @generated from protobuf field: string value = 1;
119
+ */
120
+ value: string;
121
+ }
122
+ /**
123
+ * Wrapper message for `bytes`.
124
+ *
125
+ * The JSON representation for `BytesValue` is JSON string.
126
+ *
127
+ * @generated from protobuf message google.protobuf.BytesValue
128
+ */
129
+ export interface BytesValue {
130
+ /**
131
+ * The bytes value.
132
+ *
133
+ * @generated from protobuf field: bytes value = 1;
134
+ */
135
+ value: Uint8Array;
136
+ }
137
+ declare class DoubleValue$Type extends MessageType<DoubleValue> {
138
+ constructor();
139
+ /**
140
+ * Encode `DoubleValue` to JSON number.
141
+ */
142
+ internalJsonWrite(message: DoubleValue, options: JsonWriteOptions): JsonValue;
143
+ /**
144
+ * Decode `DoubleValue` from JSON number.
145
+ */
146
+ internalJsonRead(json: JsonValue, options: JsonReadOptions, target?: DoubleValue): DoubleValue;
147
+ create(value?: PartialMessage<DoubleValue>): DoubleValue;
148
+ internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: DoubleValue): DoubleValue;
149
+ internalBinaryWrite(message: DoubleValue, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter;
150
+ }
151
+ /**
152
+ * @generated MessageType for protobuf message google.protobuf.DoubleValue
153
+ */
154
+ export declare const DoubleValue: DoubleValue$Type;
155
+ declare class FloatValue$Type extends MessageType<FloatValue> {
156
+ constructor();
157
+ /**
158
+ * Encode `FloatValue` to JSON number.
159
+ */
160
+ internalJsonWrite(message: FloatValue, options: JsonWriteOptions): JsonValue;
161
+ /**
162
+ * Decode `FloatValue` from JSON number.
163
+ */
164
+ internalJsonRead(json: JsonValue, options: JsonReadOptions, target?: FloatValue): FloatValue;
165
+ create(value?: PartialMessage<FloatValue>): FloatValue;
166
+ internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: FloatValue): FloatValue;
167
+ internalBinaryWrite(message: FloatValue, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter;
168
+ }
169
+ /**
170
+ * @generated MessageType for protobuf message google.protobuf.FloatValue
171
+ */
172
+ export declare const FloatValue: FloatValue$Type;
173
+ declare class Int64Value$Type extends MessageType<Int64Value> {
174
+ constructor();
175
+ /**
176
+ * Encode `Int64Value` to JSON string.
177
+ */
178
+ internalJsonWrite(message: Int64Value, options: JsonWriteOptions): JsonValue;
179
+ /**
180
+ * Decode `Int64Value` from JSON string.
181
+ */
182
+ internalJsonRead(json: JsonValue, options: JsonReadOptions, target?: Int64Value): Int64Value;
183
+ create(value?: PartialMessage<Int64Value>): Int64Value;
184
+ internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: Int64Value): Int64Value;
185
+ internalBinaryWrite(message: Int64Value, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter;
186
+ }
187
+ /**
188
+ * @generated MessageType for protobuf message google.protobuf.Int64Value
189
+ */
190
+ export declare const Int64Value: Int64Value$Type;
191
+ declare class UInt64Value$Type extends MessageType<UInt64Value> {
192
+ constructor();
193
+ /**
194
+ * Encode `UInt64Value` to JSON string.
195
+ */
196
+ internalJsonWrite(message: UInt64Value, options: JsonWriteOptions): JsonValue;
197
+ /**
198
+ * Decode `UInt64Value` from JSON string.
199
+ */
200
+ internalJsonRead(json: JsonValue, options: JsonReadOptions, target?: UInt64Value): UInt64Value;
201
+ create(value?: PartialMessage<UInt64Value>): UInt64Value;
202
+ internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: UInt64Value): UInt64Value;
203
+ internalBinaryWrite(message: UInt64Value, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter;
204
+ }
205
+ /**
206
+ * @generated MessageType for protobuf message google.protobuf.UInt64Value
207
+ */
208
+ export declare const UInt64Value: UInt64Value$Type;
209
+ declare class Int32Value$Type extends MessageType<Int32Value> {
210
+ constructor();
211
+ /**
212
+ * Encode `Int32Value` to JSON string.
213
+ */
214
+ internalJsonWrite(message: Int32Value, options: JsonWriteOptions): JsonValue;
215
+ /**
216
+ * Decode `Int32Value` from JSON string.
217
+ */
218
+ internalJsonRead(json: JsonValue, options: JsonReadOptions, target?: Int32Value): Int32Value;
219
+ create(value?: PartialMessage<Int32Value>): Int32Value;
220
+ internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: Int32Value): Int32Value;
221
+ internalBinaryWrite(message: Int32Value, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter;
222
+ }
223
+ /**
224
+ * @generated MessageType for protobuf message google.protobuf.Int32Value
225
+ */
226
+ export declare const Int32Value: Int32Value$Type;
227
+ declare class UInt32Value$Type extends MessageType<UInt32Value> {
228
+ constructor();
229
+ /**
230
+ * Encode `UInt32Value` to JSON string.
231
+ */
232
+ internalJsonWrite(message: UInt32Value, options: JsonWriteOptions): JsonValue;
233
+ /**
234
+ * Decode `UInt32Value` from JSON string.
235
+ */
236
+ internalJsonRead(json: JsonValue, options: JsonReadOptions, target?: UInt32Value): UInt32Value;
237
+ create(value?: PartialMessage<UInt32Value>): UInt32Value;
238
+ internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: UInt32Value): UInt32Value;
239
+ internalBinaryWrite(message: UInt32Value, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter;
240
+ }
241
+ /**
242
+ * @generated MessageType for protobuf message google.protobuf.UInt32Value
243
+ */
244
+ export declare const UInt32Value: UInt32Value$Type;
245
+ declare class BoolValue$Type extends MessageType<BoolValue> {
246
+ constructor();
247
+ /**
248
+ * Encode `BoolValue` to JSON bool.
249
+ */
250
+ internalJsonWrite(message: BoolValue, options: JsonWriteOptions): JsonValue;
251
+ /**
252
+ * Decode `BoolValue` from JSON bool.
253
+ */
254
+ internalJsonRead(json: JsonValue, options: JsonReadOptions, target?: BoolValue): BoolValue;
255
+ create(value?: PartialMessage<BoolValue>): BoolValue;
256
+ internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: BoolValue): BoolValue;
257
+ internalBinaryWrite(message: BoolValue, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter;
258
+ }
259
+ /**
260
+ * @generated MessageType for protobuf message google.protobuf.BoolValue
261
+ */
262
+ export declare const BoolValue: BoolValue$Type;
263
+ declare class StringValue$Type extends MessageType<StringValue> {
264
+ constructor();
265
+ /**
266
+ * Encode `StringValue` to JSON string.
267
+ */
268
+ internalJsonWrite(message: StringValue, options: JsonWriteOptions): JsonValue;
269
+ /**
270
+ * Decode `StringValue` from JSON string.
271
+ */
272
+ internalJsonRead(json: JsonValue, options: JsonReadOptions, target?: StringValue): StringValue;
273
+ create(value?: PartialMessage<StringValue>): StringValue;
274
+ internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: StringValue): StringValue;
275
+ internalBinaryWrite(message: StringValue, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter;
276
+ }
277
+ /**
278
+ * @generated MessageType for protobuf message google.protobuf.StringValue
279
+ */
280
+ export declare const StringValue: StringValue$Type;
281
+ declare class BytesValue$Type extends MessageType<BytesValue> {
282
+ constructor();
283
+ /**
284
+ * Encode `BytesValue` to JSON string.
285
+ */
286
+ internalJsonWrite(message: BytesValue, options: JsonWriteOptions): JsonValue;
287
+ /**
288
+ * Decode `BytesValue` from JSON string.
289
+ */
290
+ internalJsonRead(json: JsonValue, options: JsonReadOptions, target?: BytesValue): BytesValue;
291
+ create(value?: PartialMessage<BytesValue>): BytesValue;
292
+ internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: BytesValue): BytesValue;
293
+ internalBinaryWrite(message: BytesValue, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter;
294
+ }
295
+ /**
296
+ * @generated MessageType for protobuf message google.protobuf.BytesValue
297
+ */
298
+ export declare const BytesValue: BytesValue$Type;
299
+ export {};
300
+ //# sourceMappingURL=wrappers.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"wrappers.d.ts","sourceRoot":"","sources":["../../../../src/proto/google/protobuf/wrappers.ts"],"names":[],"mappings":"AA8CA,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,sBAAsB,CAA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E,WAAW,EAAE,MAAM,EAAE,aAAa,EAAE,OAAO,EAAE,kBAAkB,GAAG,aAAa;CAS/G;AACD;;GAEG;AACH,eAAO,MAAM,WAAW,kBAAyB,CAAC;AAElD,cAAM,eAAgB,SAAQ,WAAW,CAAC,UAAU,CAAC;;IAMjD;;OAEG;IACH,iBAAiB,CAAC,OAAO,EAAE,UAAU,EAAE,OAAO,EAAE,gBAAgB,GAAG,SAAS;IAG5E;;OAEG;IACH,gBAAgB,CAAC,IAAI,EAAE,SAAS,EAAE,OAAO,EAAE,eAAe,EAAE,MAAM,CAAC,EAAE,UAAU,GAAG,UAAU;IAM5F,MAAM,CAAC,KAAK,CAAC,EAAE,cAAc,CAAC,UAAU,CAAC,GAAG,UAAU;IAOtD,kBAAkB,CAAC,MAAM,EAAE,aAAa,EAAE,MAAM,EAAE,MAAM,EAAE,OAAO,EAAE,iBAAiB,EAAE,MAAM,CAAC,EAAE,UAAU,GAAG,UAAU;IAmBtH,mBAAmB,CAAC,OAAO,EAAE,UAAU,EAAE,MAAM,EAAE,aAAa,EAAE,OAAO,EAAE,kBAAkB,GAAG,aAAa;CAS9G;AACD;;GAEG;AACH,eAAO,MAAM,UAAU,iBAAwB,CAAC"}
@@ -0,0 +1,18 @@
1
+ import { LLPlClient } from '../core/ll_client';
2
+ import { AuthOps, PlClientConfig } from '../core/config';
3
+ import { PlClient } from '../core/client';
4
+ export interface TestConfig {
5
+ address: string;
6
+ test_proxy?: string;
7
+ test_user?: string;
8
+ test_password?: string;
9
+ }
10
+ export declare function getTestConfig(): TestConfig;
11
+ export declare function getTestClientConf(): Promise<{
12
+ conf: PlClientConfig;
13
+ auth: AuthOps;
14
+ }>;
15
+ export declare function getTestLLClient(confOverrides?: Partial<PlClientConfig>): Promise<LLPlClient>;
16
+ export declare function getTestClient(alternativeRoot?: string): Promise<PlClient>;
17
+ export declare function withTempRoot<T>(body: (pl: PlClient) => Promise<T>): Promise<T>;
18
+ //# sourceMappingURL=test_config.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"test_config.d.ts","sourceRoot":"","sources":["../../src/test/test_config.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,UAAU,EAAE,MAAM,mBAAmB,CAAC;AAC/C,OAAO,EAAmB,OAAO,EAAqB,cAAc,EAAE,MAAM,gBAAgB,CAAC;AAE7F,OAAO,EAAE,QAAQ,EAAE,MAAM,gBAAgB,CAAC;AAM1C,MAAM,WAAW,UAAU;IACzB,OAAO,EAAE,MAAM,CAAC;IAChB,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,aAAa,CAAC,EAAE,MAAM,CAAC;CACxB;AAYD,wBAAgB,aAAa,IAAI,UAAU,CAmB1C;AAiCD,wBAAsB,iBAAiB,IAAI,OAAO,CAAC;IAAE,IAAI,EAAE,cAAc,CAAC;IAAC,IAAI,EAAE,OAAO,CAAA;CAAE,CAAC,CA0D1F;AAED,wBAAsB,eAAe,CAAC,aAAa,GAAE,OAAO,CAAC,cAAc,CAAM,uBAGhF;AAED,wBAAsB,aAAa,CAAC,eAAe,CAAC,EAAE,MAAM,qBAK3D;AAED,wBAAsB,YAAY,CAAC,CAAC,EAAE,IAAI,EAAE,CAAC,EAAE,EAAE,QAAQ,KAAK,OAAO,CAAC,CAAC,CAAC,GAAG,OAAO,CAAC,CAAC,CAAC,CAcpF"}
@@ -0,0 +1,7 @@
1
+ declare const __brand: unique symbol;
2
+ type Brand<B> = {
3
+ [__brand]: B;
4
+ };
5
+ export type Branded<T, B> = T & Brand<B>;
6
+ export {};
7
+ //# sourceMappingURL=branding.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"branding.d.ts","sourceRoot":"","sources":["../../src/util/branding.ts"],"names":[],"mappings":"AAAA,OAAO,CAAC,MAAM,OAAO,EAAE,OAAO,MAAM,CAAC;AACrC,KAAK,KAAK,CAAC,CAAC,IAAI;IAAE,CAAC,OAAO,CAAC,EAAE,CAAC,CAAA;CAAE,CAAC;AAEjC,MAAM,MAAM,OAAO,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,CAAC"}
@@ -0,0 +1,9 @@
1
+ export type PlJWTPayload = {
2
+ user: {
3
+ login: string;
4
+ };
5
+ exp: number;
6
+ iat: number;
7
+ };
8
+ export declare function parsePlJwt(token: string): PlJWTPayload;
9
+ //# sourceMappingURL=pl.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"pl.d.ts","sourceRoot":"","sources":["../../src/util/pl.ts"],"names":[],"mappings":"AAAA,MAAM,MAAM,YAAY,GAAG;IACzB,IAAI,EAAE;QACJ,KAAK,EAAE,MAAM,CAAC;KACf,CAAC;IACF,GAAG,EAAE,MAAM,CAAC;IACZ,GAAG,EAAE,MAAM,CAAC;CACb,CAAC;AAEF,wBAAgB,UAAU,CAAC,KAAK,EAAE,MAAM,GAAG,YAAY,CAEtD"}
@@ -0,0 +1,2 @@
1
+ export declare function toBytes(value: string | Uint8Array): Uint8Array;
2
+ //# sourceMappingURL=util.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"util.d.ts","sourceRoot":"","sources":["../../src/util/util.ts"],"names":[],"mappings":"AAIA,wBAAgB,OAAO,CAAC,KAAK,EAAE,MAAM,GAAG,UAAU,GAAG,UAAU,CAI9D"}
package/package.json CHANGED
@@ -1,13 +1,12 @@
1
1
  {
2
2
  "name": "@milaboratories/pl-client",
3
- "version": "2.4.10",
3
+ "version": "2.4.11",
4
4
  "description": "New TS/JS client for Platform API",
5
- "type": "module",
6
5
  "exports": {
7
6
  ".": {
8
- "types": "./src/index.ts",
9
- "import": "./dist/index.js",
10
- "require": "./dist/index.cjs"
7
+ "types": "./dist/index.d.ts",
8
+ "import": "./dist/index.mjs",
9
+ "require": "./dist/index.js"
11
10
  }
12
11
  },
13
12
  "files": [
@@ -15,7 +14,7 @@
15
14
  "./src/**/*"
16
15
  ],
17
16
  "dependencies": {
18
- "@grpc/grpc-js": "^1.11.2",
17
+ "@grpc/grpc-js": "^1.11.3",
19
18
  "@protobuf-ts/grpc-transport": "^2.9.4",
20
19
  "@protobuf-ts/runtime": "^2.9.4",
21
20
  "@protobuf-ts/runtime-rpc": "^2.9.4",
@@ -26,24 +25,21 @@
26
25
  "undici": "^6.19.8",
27
26
  "utility-types": "^3.11.0",
28
27
  "yaml": "^2.5.1",
29
- "@milaboratories/ts-helpers": "^1.0.22"
28
+ "@milaboratories/ts-helpers": "^1.0.23"
30
29
  },
31
30
  "devDependencies": {
32
- "typescript": "^5.6.2",
33
- "tsup": "~8.2.4",
31
+ "typescript": "~5.6.2",
32
+ "vite": "^5.4.7",
34
33
  "@protobuf-ts/plugin": "^2.9.4",
35
34
  "@types/http-proxy": "^1.17.15",
36
35
  "@types/jest": "^29.5.13",
37
36
  "jest": "^29.7.0",
38
37
  "ts-jest": "^29.2.5",
39
- "prettier": "^3.3.3",
40
- "@milaboratories/platforma-build-configs": "1.0.0"
38
+ "@milaboratories/platforma-build-configs": "1.0.1"
41
39
  },
42
40
  "scripts": {
43
- "build": "tsup",
44
- "build-debug": "tsc",
45
- "build-watch": "tsup --watch",
46
41
  "type-check": "tsc --noEmit --composite false",
42
+ "build": "vite build",
47
43
  "test": "jest --runInBand"
48
44
  }
49
45
  }