@deephaven-enterprise/jsapi-types 2026.1.60 → 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 +10 -1
package/package.json
CHANGED
package/types/Iris.d.ts
CHANGED
|
@@ -501,6 +501,13 @@ export interface ServerStatus {
|
|
|
501
501
|
state: 'Unknown' | 'Connected' | 'Disconnected';
|
|
502
502
|
}
|
|
503
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
|
+
|
|
504
511
|
export type ClientConnectionState = {
|
|
505
512
|
'connection.json': ServerStatus;
|
|
506
513
|
'Authentication Server': ServerStatus;
|
|
@@ -528,7 +535,8 @@ export interface EnterpriseClient {
|
|
|
528
535
|
type: string,
|
|
529
536
|
listener: (event: CustomEvent<T>) => void
|
|
530
537
|
): void;
|
|
531
|
-
|
|
538
|
+
/** @param options A boolean is treated as `fireEvents`, for backwards compatibility */
|
|
539
|
+
disconnect(options?: boolean | DisconnectOptions): void;
|
|
532
540
|
saveQuery(query: PlainEditableQueryInfo, doRestart: boolean): Promise<void>;
|
|
533
541
|
createQuery(query: PlainEditableQueryInfo): Promise<string>;
|
|
534
542
|
deleteQueries(serialIds: readonly string[]): Promise<void>;
|
|
@@ -723,6 +731,7 @@ export type EnterpriseClientStatic = {
|
|
|
723
731
|
|
|
724
732
|
LOGIN_TYPE_PASSWORD: 'password';
|
|
725
733
|
LOGIN_TYPE_SAML: 'saml';
|
|
734
|
+
LOGIN_TYPE_OIDC: 'oidc';
|
|
726
735
|
};
|
|
727
736
|
|
|
728
737
|
export type SaveQueriesResult = {
|