@milaboratories/pl-client 2.11.10 → 2.11.12
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.cjs +3 -0
- package/dist/core/client.cjs.map +1 -1
- package/dist/core/client.d.ts +2 -1
- package/dist/core/client.d.ts.map +1 -1
- package/dist/core/client.js +3 -0
- package/dist/core/client.js.map +1 -1
- package/dist/proto/github.com/milaboratory/pl/plapi/plapiproto/api.cjs +759 -124
- package/dist/proto/github.com/milaboratory/pl/plapi/plapiproto/api.cjs.map +1 -1
- package/dist/proto/github.com/milaboratory/pl/plapi/plapiproto/api.client.cjs +7 -0
- package/dist/proto/github.com/milaboratory/pl/plapi/plapiproto/api.client.cjs.map +1 -1
- package/dist/proto/github.com/milaboratory/pl/plapi/plapiproto/api.client.d.ts +10 -0
- 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.client.js +7 -0
- package/dist/proto/github.com/milaboratory/pl/plapi/plapiproto/api.client.js.map +1 -1
- package/dist/proto/github.com/milaboratory/pl/plapi/plapiproto/api.d.ts +270 -0
- 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.js +752 -125
- package/dist/proto/github.com/milaboratory/pl/plapi/plapiproto/api.js.map +1 -1
- package/dist/proto/google/protobuf/any.cjs.map +1 -1
- package/dist/proto/google/protobuf/any.d.ts +5 -9
- package/dist/proto/google/protobuf/any.d.ts.map +1 -1
- package/dist/proto/google/protobuf/any.js.map +1 -1
- package/dist/proto/google/protobuf/descriptor.d.ts +45 -878
- package/dist/proto/google/protobuf/descriptor.d.ts.map +1 -1
- package/dist/proto/google/protobuf/duration.cjs.map +1 -1
- package/dist/proto/google/protobuf/duration.d.ts +1 -0
- package/dist/proto/google/protobuf/duration.d.ts.map +1 -1
- package/dist/proto/google/protobuf/duration.js.map +1 -1
- package/dist/proto/google/protobuf/struct.d.ts +1 -1
- package/dist/proto/google/protobuf/timestamp.cjs.map +1 -1
- package/dist/proto/google/protobuf/timestamp.d.ts +4 -1
- package/dist/proto/google/protobuf/timestamp.d.ts.map +1 -1
- package/dist/proto/google/protobuf/timestamp.js.map +1 -1
- package/dist/proto/google/protobuf/wrappers.d.ts +0 -27
- package/dist/proto/google/protobuf/wrappers.d.ts.map +1 -1
- package/package.json +5 -5
- package/src/core/client.ts +5 -1
- package/src/proto/github.com/milaboratory/pl/plapi/plapiproto/api.client.ts +13 -0
- package/src/proto/github.com/milaboratory/pl/plapi/plapiproto/api.ts +859 -82
- package/src/proto/google/protobuf/any.ts +5 -9
- package/src/proto/google/protobuf/descriptor.ts +75 -1465
- package/src/proto/google/protobuf/duration.ts +1 -0
- package/src/proto/google/protobuf/struct.ts +1 -1
- package/src/proto/google/protobuf/timestamp.ts +4 -1
- package/src/proto/google/protobuf/wrappers.ts +4 -37
|
@@ -73,12 +73,8 @@ import { MessageType } from "@protobuf-ts/runtime";
|
|
|
73
73
|
* if (any.is(Foo.class)) {
|
|
74
74
|
* foo = any.unpack(Foo.class);
|
|
75
75
|
* }
|
|
76
|
-
* // or ...
|
|
77
|
-
* if (any.isSameTypeAs(Foo.getDefaultInstance())) {
|
|
78
|
-
* foo = any.unpack(Foo.getDefaultInstance());
|
|
79
|
-
* }
|
|
80
76
|
*
|
|
81
|
-
*
|
|
77
|
+
* Example 3: Pack and unpack a message in Python.
|
|
82
78
|
*
|
|
83
79
|
* foo = Foo(...)
|
|
84
80
|
* any = Any()
|
|
@@ -88,7 +84,7 @@ import { MessageType } from "@protobuf-ts/runtime";
|
|
|
88
84
|
* any.Unpack(foo)
|
|
89
85
|
* ...
|
|
90
86
|
*
|
|
91
|
-
*
|
|
87
|
+
* Example 4: Pack and unpack a message in Go
|
|
92
88
|
*
|
|
93
89
|
* foo := &pb.Foo{...}
|
|
94
90
|
* any, err := anypb.New(foo)
|
|
@@ -107,8 +103,9 @@ import { MessageType } from "@protobuf-ts/runtime";
|
|
|
107
103
|
* in the type URL, for example "foo.bar.com/x/y.z" will yield type
|
|
108
104
|
* name "y.z".
|
|
109
105
|
*
|
|
106
|
+
*
|
|
110
107
|
* JSON
|
|
111
|
-
*
|
|
108
|
+
*
|
|
112
109
|
* The JSON representation of an `Any` value uses the regular
|
|
113
110
|
* representation of the deserialized, embedded message, with an
|
|
114
111
|
* additional field `@type` which contains the type URL. Example:
|
|
@@ -163,8 +160,7 @@ export interface Any {
|
|
|
163
160
|
*
|
|
164
161
|
* Note: this functionality is not currently available in the official
|
|
165
162
|
* protobuf release, and it is not used for type URLs beginning with
|
|
166
|
-
* type.googleapis.com.
|
|
167
|
-
* implementations and no plans to implement one.
|
|
163
|
+
* type.googleapis.com.
|
|
168
164
|
*
|
|
169
165
|
* Schemes other than `http`, `https` (or the empty scheme) might be
|
|
170
166
|
* used with implementation specific semantics.
|