@deephaven/jsapi-types 1.0.0-dev0.37.1 → 1.0.0-dev0.37.2

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 (2) hide show
  1. package/dist/index.d.ts +19 -2
  2. package/package.json +1 -1
package/dist/index.d.ts CHANGED
@@ -669,8 +669,7 @@ export namespace dh {
669
669
  * @typeParam T - the type of the event detail
670
670
  */
671
671
  export interface Event<T> {
672
- readonly detail?:null|@jsinterop.annotations.JsNullable T;
673
-
672
+ get detail():T;
674
673
  get type():string;
675
674
  }
676
675
 
@@ -2905,6 +2904,24 @@ export namespace dh.i18n {
2905
2904
 
2906
2905
  export namespace dh.grpc {
2907
2906
 
2907
+ /**
2908
+ * Factory for creating gRPC transports.
2909
+ */
2910
+ export interface GrpcTransportFactory {
2911
+ /**
2912
+ * Create a new transport instance.
2913
+ * @param options - options for creating the transport
2914
+ * @return a transport instance to use for gRPC communication
2915
+ */
2916
+ create(options:GrpcTransportOptions):GrpcTransport;
2917
+ /**
2918
+ * Return true to signal that created transports may have {@link GrpcTransport.sendMessage} called on it
2919
+ * more than once before {@link GrpcTransport.finishSend} should be called.
2920
+ * @return true to signal that the implementation can stream multiple messages, false otherwise indicating that
2921
+ * Open/Next gRPC calls should be used
2922
+ */
2923
+ get supportsClientStreaming():boolean;
2924
+ }
2908
2925
  /**
2909
2926
  * gRPC transport implementation.
2910
2927
  */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@deephaven/jsapi-types",
3
- "version": "1.0.0-dev0.37.1",
3
+ "version": "1.0.0-dev0.37.2",
4
4
  "description": "Deephaven JSAPI Types",
5
5
  "author": "Deephaven Data Labs LLC",
6
6
  "license": "Apache-2.0",