@deephaven-enterprise/jsapi-types 2026.1.59 → 2026.1.61
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 +1 -1
- package/types/Iris.d.ts +14 -1
package/package.json
CHANGED
package/types/Iris.d.ts
CHANGED
|
@@ -306,6 +306,8 @@ export interface ReplicaStatus {
|
|
|
306
306
|
dispatcherHost: string | null;
|
|
307
307
|
dispatcherPort: number;
|
|
308
308
|
processInfoId: string | null;
|
|
309
|
+
/** Replicas are numbered from zero; spares are negative, so spare N is -N - 1. */
|
|
310
|
+
replicaSlot: number;
|
|
309
311
|
lastModifiedByAuthenticated: string;
|
|
310
312
|
lastUpdateTime: DhType.DateWrapper | null;
|
|
311
313
|
getObject<T = unknown>(object: DhType.ide.VariableDescriptor): Promise<T>;
|
|
@@ -499,6 +501,13 @@ export interface ServerStatus {
|
|
|
499
501
|
state: 'Unknown' | 'Connected' | 'Disconnected';
|
|
500
502
|
}
|
|
501
503
|
|
|
504
|
+
export interface DisconnectOptions {
|
|
505
|
+
/** Fire config removed events for all known queries. Defaults to true. */
|
|
506
|
+
fireEvents?: boolean;
|
|
507
|
+
/** Invalidate the auth cookie, so refresh tokens from this client can no longer be used. Defaults to true. */
|
|
508
|
+
invalidateCookie?: boolean;
|
|
509
|
+
}
|
|
510
|
+
|
|
502
511
|
export type ClientConnectionState = {
|
|
503
512
|
'connection.json': ServerStatus;
|
|
504
513
|
'Authentication Server': ServerStatus;
|
|
@@ -526,7 +535,8 @@ export interface EnterpriseClient {
|
|
|
526
535
|
type: string,
|
|
527
536
|
listener: (event: CustomEvent<T>) => void
|
|
528
537
|
): void;
|
|
529
|
-
|
|
538
|
+
/** @param options A boolean is treated as `fireEvents`, for backwards compatibility */
|
|
539
|
+
disconnect(options?: boolean | DisconnectOptions): void;
|
|
530
540
|
saveQuery(query: PlainEditableQueryInfo, doRestart: boolean): Promise<void>;
|
|
531
541
|
createQuery(query: PlainEditableQueryInfo): Promise<string>;
|
|
532
542
|
deleteQueries(serialIds: readonly string[]): Promise<void>;
|
|
@@ -721,6 +731,7 @@ export type EnterpriseClientStatic = {
|
|
|
721
731
|
|
|
722
732
|
LOGIN_TYPE_PASSWORD: 'password';
|
|
723
733
|
LOGIN_TYPE_SAML: 'saml';
|
|
734
|
+
LOGIN_TYPE_OIDC: 'oidc';
|
|
724
735
|
};
|
|
725
736
|
|
|
726
737
|
export type SaveQueriesResult = {
|
|
@@ -781,6 +792,8 @@ export interface ServerConfigValues {
|
|
|
781
792
|
showEmptyStringsEditable: boolean;
|
|
782
793
|
showNullStrings: boolean;
|
|
783
794
|
showNullStringsEditable: boolean;
|
|
795
|
+
/** Whether query admins (in addition to query owners) may attach a console to a persistent query */
|
|
796
|
+
consoleAttachmentAllowedForAdmins: boolean;
|
|
784
797
|
logoutGracePeriodImmediate: number;
|
|
785
798
|
logoutGracePeriodScheduled: number;
|
|
786
799
|
logoutInactivityTime: number;
|