@deephaven-enterprise/jsapi-types 1.20250801.273-beta → 1.20250801.351-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 -3
- package/types/CommonTypes.d.ts +6 -0
- package/types/Iris.d.ts +14 -2
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@deephaven-enterprise/jsapi-types",
|
|
3
|
-
"version": "1.20250801.
|
|
3
|
+
"version": "1.20250801.351-beta",
|
|
4
4
|
"description": "Deephaven Enterprise Jsapi Types",
|
|
5
5
|
"author": "Deephaven Data Labs LLC",
|
|
6
6
|
"license": "SEE LICENSE IN LICENSE.md",
|
|
@@ -21,6 +21,5 @@
|
|
|
21
21
|
},
|
|
22
22
|
"publishConfig": {
|
|
23
23
|
"access": "public"
|
|
24
|
-
}
|
|
25
|
-
"gitHead": "d2e61ec962ce2aa709bea40f9e39dcba4f56faf5"
|
|
24
|
+
}
|
|
26
25
|
}
|
package/types/CommonTypes.d.ts
CHANGED
|
@@ -43,6 +43,12 @@ export interface EnterpriseUserPermissions extends UserPermissions {
|
|
|
43
43
|
/** Not allowed to use the web UI at all */
|
|
44
44
|
isNonInteractive: boolean;
|
|
45
45
|
|
|
46
|
+
/** Can manage queries */
|
|
47
|
+
isQueryManager: boolean;
|
|
48
|
+
|
|
49
|
+
/** Can manage schemas */
|
|
50
|
+
isSchemaManager: boolean;
|
|
51
|
+
|
|
46
52
|
/** Can create new dashboards */
|
|
47
53
|
canCreateDashboard: boolean;
|
|
48
54
|
|
package/types/Iris.d.ts
CHANGED
|
@@ -432,6 +432,13 @@ export interface QuerySelectionPermissions {
|
|
|
432
432
|
allAdmin: boolean;
|
|
433
433
|
allOwner: boolean;
|
|
434
434
|
allRestartable: boolean;
|
|
435
|
+
allStoppable: boolean;
|
|
436
|
+
allStopped: boolean;
|
|
437
|
+
allDisabled: boolean;
|
|
438
|
+
allEnabled: boolean;
|
|
439
|
+
allTemporary: boolean;
|
|
440
|
+
allImportMerge: boolean;
|
|
441
|
+
readOnlyUser: boolean;
|
|
435
442
|
}
|
|
436
443
|
|
|
437
444
|
export interface ClientListenerEvent<TDetail = unknown> {
|
|
@@ -453,6 +460,8 @@ export interface AssignmentPolicyType {
|
|
|
453
460
|
|
|
454
461
|
export type AssignmentPolicyTypes = Map<string, AssignmentPolicyType>;
|
|
455
462
|
|
|
463
|
+
export type RefreshToken = DhType.RefreshToken;
|
|
464
|
+
|
|
456
465
|
export interface EnterpriseClient {
|
|
457
466
|
/**
|
|
458
467
|
* Get available assignment policy types.
|
|
@@ -474,7 +483,7 @@ export interface EnterpriseClient {
|
|
|
474
483
|
type: string,
|
|
475
484
|
listener: (event: ClientListenerEvent<T>) => void
|
|
476
485
|
): void;
|
|
477
|
-
disconnect(): void;
|
|
486
|
+
disconnect(fireEvents?: boolean): void;
|
|
478
487
|
saveQuery(query: PlainEditableQueryInfo, doRestart: boolean): Promise<void>;
|
|
479
488
|
createQuery(query: PlainEditableQueryInfo): Promise<string>;
|
|
480
489
|
createAuthToken(key: string): Promise<string>;
|
|
@@ -482,7 +491,7 @@ export interface EnterpriseClient {
|
|
|
482
491
|
importQueries: (xml: string) => Promise<QueryInfo[]>;
|
|
483
492
|
/** Returns a string containing the XML of all queries specified */
|
|
484
493
|
exportQueries: (serialIds: string[]) => Promise<string>;
|
|
485
|
-
relogin(token:
|
|
494
|
+
relogin(token: RefreshToken): Promise<void>;
|
|
486
495
|
getAllGroups(): Promise<string[]>;
|
|
487
496
|
getAllUsers(): Promise<string[]>;
|
|
488
497
|
getTemporaryQueueNames(): Promise<string[]>;
|
|
@@ -548,6 +557,9 @@ export interface EnterpriseClient {
|
|
|
548
557
|
operateAs: string
|
|
549
558
|
) => Promise<null>;
|
|
550
559
|
|
|
560
|
+
/** True if the client is currently connected */
|
|
561
|
+
readonly isConnected: boolean;
|
|
562
|
+
|
|
551
563
|
/**
|
|
552
564
|
* Get a Base64 encoded challenge nonce for that can be signed and passed to
|
|
553
565
|
* `challengeResponse()` for private / public key authentication.
|