@deephaven-enterprise/jsapi-types 1.20240723.175-beta → 1.20240723.177-beta
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/package.json +2 -2
- package/types/Iris.d.ts +12 -24
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@deephaven-enterprise/jsapi-types",
|
|
3
|
-
"version": "1.20240723.
|
|
3
|
+
"version": "1.20240723.177-beta",
|
|
4
4
|
"description": "Deephaven Enterprise Jsapi Types",
|
|
5
5
|
"author": "Deephaven Data Labs LLC",
|
|
6
6
|
"license": "SEE LICENSE IN LICENSE.md",
|
|
@@ -22,5 +22,5 @@
|
|
|
22
22
|
"publishConfig": {
|
|
23
23
|
"access": "public"
|
|
24
24
|
},
|
|
25
|
-
"gitHead": "
|
|
25
|
+
"gitHead": "43c7c61ae1560e72a9d0c92a420966bfc9a59ea9"
|
|
26
26
|
}
|
package/types/Iris.d.ts
CHANGED
|
@@ -132,6 +132,8 @@ export interface ReplicaStatus {
|
|
|
132
132
|
websocketPort: number | null;
|
|
133
133
|
workerPort: number | null;
|
|
134
134
|
initStartTime: DhType.DateWrapper | null;
|
|
135
|
+
dispatcherHost: string | null;
|
|
136
|
+
dispatcherPort: number | null;
|
|
135
137
|
processInfoId: string | null;
|
|
136
138
|
createWorkspaceData(data: {
|
|
137
139
|
id?: string;
|
|
@@ -335,11 +337,6 @@ export interface EnterpriseClient {
|
|
|
335
337
|
listener: (event: ClientListenerEvent<T>) => void
|
|
336
338
|
): void;
|
|
337
339
|
disconnect(): void;
|
|
338
|
-
getDispatcher(
|
|
339
|
-
serverGroup: string,
|
|
340
|
-
heapSizeMB: number,
|
|
341
|
-
engine: string
|
|
342
|
-
): Promise<ConsoleServerAddress>;
|
|
343
340
|
saveQuery(query: EditableQueryInfo, doRestart: boolean): Promise<void>;
|
|
344
341
|
createQuery(query: EditableQueryInfo): Promise<string>;
|
|
345
342
|
createAuthToken(key: string): Promise<string>;
|
|
@@ -454,27 +451,17 @@ export interface EnterpriseClientConstructor {
|
|
|
454
451
|
new (websocketUrl: string): EnterpriseClient;
|
|
455
452
|
}
|
|
456
453
|
|
|
454
|
+
/**
|
|
455
|
+
* @deprecated should be replaced with `EditableQueryInfo`
|
|
456
|
+
*/
|
|
457
457
|
export interface ConsoleConfigConstructor {
|
|
458
458
|
new (): ConsoleConfig;
|
|
459
459
|
}
|
|
460
460
|
|
|
461
|
-
|
|
462
|
-
|
|
463
|
-
|
|
464
|
-
|
|
465
|
-
readonly jsApiUrl: string;
|
|
466
|
-
readonly serviceId: string;
|
|
467
|
-
readonly processInfoId: string;
|
|
468
|
-
readonly workerName: string;
|
|
469
|
-
|
|
470
|
-
close(): void;
|
|
471
|
-
addEventListener: (
|
|
472
|
-
name: string,
|
|
473
|
-
callback: (event: CustomEvent) => void
|
|
474
|
-
) => () => void;
|
|
475
|
-
removeEventListener(type: string, listener: () => void): void;
|
|
476
|
-
}
|
|
477
|
-
|
|
461
|
+
/**
|
|
462
|
+
* @deprecated use the `EditableQueryInfo` going forward, which can be used to represent the PersistentQuery backing a
|
|
463
|
+
* Code Studio without an intermediate stage
|
|
464
|
+
*/
|
|
478
465
|
export interface ConsoleConfig {
|
|
479
466
|
dispatcherHost?: string;
|
|
480
467
|
dispatcherPort?: number;
|
|
@@ -496,8 +483,6 @@ export interface IdeConstructor {
|
|
|
496
483
|
}
|
|
497
484
|
|
|
498
485
|
export interface Ide {
|
|
499
|
-
createConsole(config: ConsoleConfig): CancelablePromise<IdeConnection>;
|
|
500
|
-
startWorker(config: ConsoleConfig): CancelablePromise<DhcConnectionDetails>;
|
|
501
486
|
getQueryConnection(queryInfo: QueryInfo): Promise<IdeConnection>;
|
|
502
487
|
}
|
|
503
488
|
|
|
@@ -630,6 +615,9 @@ export type EnterpriseDhType = typeof DhType & {
|
|
|
630
615
|
VariableType: typeof VariableType;
|
|
631
616
|
ConsoleServerAddress: ConsoleServerAddress;
|
|
632
617
|
Ide: IdeConstructor;
|
|
618
|
+
/**
|
|
619
|
+
* @deprecated instead of washing the Code Studio configuration through an old object, directly use an `EditableQueryInfo`
|
|
620
|
+
*/
|
|
633
621
|
ConsoleConfig: ConsoleConfigConstructor;
|
|
634
622
|
QueryInfo: QueryInfoStatic;
|
|
635
623
|
ImportSourceType: typeof ImportSourceType;
|