@deephaven-enterprise/jsapi-types 1.20240723.53-beta-alpha-npm-test.1 → 1.20240723.536-alpha-npm-publish.23386
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 +3 -2
- package/types/Iris.d.ts +59 -55
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.536-alpha-npm-publish.23386+75966764aa",
|
|
4
4
|
"description": "Deephaven Enterprise Jsapi Types",
|
|
5
5
|
"author": "Deephaven Data Labs LLC",
|
|
6
6
|
"license": "SEE LICENSE IN LICENSE.md",
|
|
@@ -21,5 +21,6 @@
|
|
|
21
21
|
},
|
|
22
22
|
"publishConfig": {
|
|
23
23
|
"access": "public"
|
|
24
|
-
}
|
|
24
|
+
},
|
|
25
|
+
"gitHead": "75966764aad5efa8cbcf8358c9034dc8c3572116"
|
|
25
26
|
}
|
package/types/Iris.d.ts
CHANGED
|
@@ -27,24 +27,16 @@ export interface TreeTable extends DhType.TreeTable {
|
|
|
27
27
|
restoreExpandedState: (state: string) => void;
|
|
28
28
|
}
|
|
29
29
|
|
|
30
|
-
export
|
|
30
|
+
export type BaseQueryInfo = {
|
|
31
31
|
adminGroups: readonly string[];
|
|
32
32
|
|
|
33
|
-
/**
|
|
34
|
-
* @deprecated use `type` instead
|
|
35
|
-
*/
|
|
36
|
-
configurationType: string;
|
|
37
|
-
configVersion: string;
|
|
38
33
|
dataMemoryRatio: number;
|
|
39
34
|
dbServerName: string;
|
|
40
35
|
enabled: boolean;
|
|
41
36
|
enableGcLogs: boolean;
|
|
42
37
|
envVars: string;
|
|
43
38
|
extraClasspaths: string;
|
|
44
|
-
|
|
45
|
-
* @deprecated use `designated.grpcUrl` instead
|
|
46
|
-
*/
|
|
47
|
-
grpcUrl: string;
|
|
39
|
+
|
|
48
40
|
heapSize: number;
|
|
49
41
|
additionalMemory: number;
|
|
50
42
|
jvmArgs: string;
|
|
@@ -52,33 +44,73 @@ export interface BaseQueryInfo {
|
|
|
52
44
|
name: string;
|
|
53
45
|
owner: string;
|
|
54
46
|
restartUsers: number;
|
|
55
|
-
|
|
56
|
-
* @deprecated use `designated.runningVersion` instead
|
|
57
|
-
*/
|
|
58
|
-
runningVersion: string;
|
|
47
|
+
|
|
59
48
|
scheduling: readonly string[];
|
|
60
49
|
scriptLanguage: string | null;
|
|
61
50
|
scriptPath: string | null;
|
|
62
|
-
|
|
63
|
-
status: string;
|
|
51
|
+
|
|
64
52
|
timeout: number;
|
|
65
53
|
type: string;
|
|
66
|
-
typeSpecificFields:
|
|
54
|
+
typeSpecificFields: TypeSpecificFields | null;
|
|
67
55
|
viewerGroups: readonly string[];
|
|
68
|
-
workerKind: string;
|
|
69
|
-
|
|
70
|
-
/**
|
|
71
|
-
* JSON encoded string of the kubernetes, python and generic controls
|
|
72
|
-
*/
|
|
73
|
-
kubernetesControl: string;
|
|
74
|
-
pythonControl: string;
|
|
75
|
-
genericWorkerControl: string;
|
|
76
56
|
|
|
77
57
|
replicaCount: number;
|
|
78
58
|
spareCount: number;
|
|
79
59
|
assignmentPolicy: string | null;
|
|
80
60
|
assignmentPolicyParams: string | null;
|
|
81
|
-
}
|
|
61
|
+
};
|
|
62
|
+
|
|
63
|
+
export type BaseQueryInfoReadonly = Readonly<
|
|
64
|
+
BaseQueryInfo & {
|
|
65
|
+
/**
|
|
66
|
+
* @deprecated use `type` instead
|
|
67
|
+
*/
|
|
68
|
+
configurationType: string;
|
|
69
|
+
configVersion: string;
|
|
70
|
+
|
|
71
|
+
/**
|
|
72
|
+
* @deprecated use `designated.grpcUrl` instead
|
|
73
|
+
*/
|
|
74
|
+
grpcUrl: string;
|
|
75
|
+
|
|
76
|
+
genericWorkerControl: string;
|
|
77
|
+
/**
|
|
78
|
+
* JSON encoded string of the kubernetes, python and generic controls
|
|
79
|
+
*/
|
|
80
|
+
kubernetesControl: string;
|
|
81
|
+
pythonControl: string;
|
|
82
|
+
|
|
83
|
+
/**
|
|
84
|
+
* @deprecated use `designated.runningVersion` instead
|
|
85
|
+
*/
|
|
86
|
+
runningVersion: string;
|
|
87
|
+
serial: string;
|
|
88
|
+
status: string;
|
|
89
|
+
workerKind: string;
|
|
90
|
+
}
|
|
91
|
+
>;
|
|
92
|
+
|
|
93
|
+
export type TypeSpecificFields<T extends string = string> = Record<
|
|
94
|
+
T,
|
|
95
|
+
{ value: unknown; type: string }
|
|
96
|
+
>;
|
|
97
|
+
|
|
98
|
+
export type EditableQueryInfo = BaseQueryInfo & {
|
|
99
|
+
scriptCode: string;
|
|
100
|
+
serial: string | null;
|
|
101
|
+
|
|
102
|
+
/**
|
|
103
|
+
* Store the Kubernetes, Python, and Generic Worker Control values as string.
|
|
104
|
+
* We get the value from the server as a JSON encoded string, and we don't
|
|
105
|
+
* want to lose any parameters that may have been set on the server that the
|
|
106
|
+
* Web UI doesn't know about.
|
|
107
|
+
*/
|
|
108
|
+
kubernetesControl?: string | null;
|
|
109
|
+
genericWorkerControl?: string | null;
|
|
110
|
+
pythonControl?: string | null;
|
|
111
|
+
|
|
112
|
+
workerKind?: string | null;
|
|
113
|
+
};
|
|
82
114
|
|
|
83
115
|
export interface ReplicaStatus {
|
|
84
116
|
objects: readonly DhType.ide.VariableDefinition[];
|
|
@@ -112,7 +144,7 @@ export interface ReplicaStatus {
|
|
|
112
144
|
): Promise<DhType.Table>;
|
|
113
145
|
}
|
|
114
146
|
|
|
115
|
-
export interface QueryInfo extends
|
|
147
|
+
export interface QueryInfo extends BaseQueryInfoReadonly {
|
|
116
148
|
designated?: ReplicaStatus;
|
|
117
149
|
displayable: boolean;
|
|
118
150
|
/**
|
|
@@ -444,34 +476,6 @@ export type QueryInfoStatic = {
|
|
|
444
476
|
EVENT_PING: string;
|
|
445
477
|
};
|
|
446
478
|
|
|
447
|
-
export type EditableQueryInfo = Omit<
|
|
448
|
-
BaseQueryInfo,
|
|
449
|
-
| 'configurationType'
|
|
450
|
-
| 'configVersion'
|
|
451
|
-
| 'grpcUrl'
|
|
452
|
-
| 'status'
|
|
453
|
-
| 'runningVersion'
|
|
454
|
-
| 'serial'
|
|
455
|
-
| 'createWorkspaceData'
|
|
456
|
-
| 'getTreeTable'
|
|
457
|
-
| 'getTable'
|
|
458
|
-
| 'getObject'
|
|
459
|
-
| 'getFigure'
|
|
460
|
-
| 'kubernetesControl'
|
|
461
|
-
| 'genericWorkerControl'
|
|
462
|
-
| 'pythonControl'
|
|
463
|
-
| 'saveWorkspaceData'
|
|
464
|
-
| 'workerKind'
|
|
465
|
-
> & {
|
|
466
|
-
scriptCode: string;
|
|
467
|
-
serial: string | null;
|
|
468
|
-
} & {
|
|
469
|
-
kubernetesControl?: string | null;
|
|
470
|
-
genericWorkerControl?: string | null;
|
|
471
|
-
pythonControl?: string | null;
|
|
472
|
-
workerKind?: string | null;
|
|
473
|
-
};
|
|
474
|
-
|
|
475
479
|
export type EnterpriseClientStatic = {
|
|
476
480
|
EVENT_CONNECT: 'connect';
|
|
477
481
|
EVENT_DISCONNECT: 'disconnect';
|