@deephaven-enterprise/jsapi-types 2026.1.34 → 2026.1.35

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.
Files changed (2) hide show
  1. package/package.json +1 -1
  2. package/types/Iris.d.ts +14 -3
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@deephaven-enterprise/jsapi-types",
3
- "version": "2026.1.34",
3
+ "version": "2026.1.35",
4
4
  "description": "Deephaven Enterprise Jsapi Types",
5
5
  "author": "Deephaven Data Labs LLC",
6
6
  "license": "SEE LICENSE IN LICENSE.md",
package/types/Iris.d.ts CHANGED
@@ -62,6 +62,8 @@ export type BaseQueryInfo = {
62
62
  spareCount: number;
63
63
  assignmentPolicy: string | null;
64
64
  assignmentPolicyParams: string | null;
65
+
66
+ configVersion?: string | null;
65
67
  };
66
68
 
67
69
  /**
@@ -85,7 +87,6 @@ export type BaseQueryInfoReadonly = Readonly<
85
87
  * @deprecated use `type` instead
86
88
  */
87
89
  configurationType: string;
88
- configVersion: string;
89
90
 
90
91
  /**
91
92
  * @deprecated use `designated.grpcUrl` instead
@@ -247,6 +248,8 @@ export declare class EditableQueryInfo implements PlainEditableQueryInfo {
247
248
  get workerKind(): string | null;
248
249
 
249
250
  set workerKind(value: string | null);
251
+
252
+ get configVersion(): string;
250
253
  }
251
254
 
252
255
  export interface ReplicaStatus {
@@ -490,11 +493,12 @@ export interface EnterpriseClient {
490
493
  disconnect(fireEvents?: boolean): void;
491
494
  saveQuery(query: PlainEditableQueryInfo, doRestart: boolean): Promise<void>;
492
495
  createQuery(query: PlainEditableQueryInfo): Promise<string>;
496
+ deleteQueries(serialIds: readonly string[]): Promise<void>;
493
497
  createAuthToken(key: string): Promise<string>;
494
498
  /** Imports the XML string as queries, and returns the query info. Does _not_ actually create them, use `saveQueries()` to save them. */
495
499
  importQueries: (xml: string) => Promise<QueryInfo[]>;
496
500
  /** Returns a string containing the XML of all queries specified */
497
- exportQueries: (serialIds: string[]) => Promise<string>;
501
+ exportQueries: (serialIds: readonly string[]) => Promise<string>;
498
502
  relogin(token: RefreshToken): Promise<void>;
499
503
  getAllGroups(): Promise<string[]>;
500
504
  getAllUsers(): Promise<string[]>;
@@ -516,7 +520,7 @@ export interface EnterpriseClient {
516
520
  queries: readonly PlainEditableQueryInfo[],
517
521
  options: { idMode: 'NEW' | 'KEEP' | 'REPLACE' }
518
522
  ) => Promise<SaveQueriesResult>;
519
- deleteQueries: (serialIds: string[]) => Promise<void>;
523
+ deleteQueries: (serialIds: readonly string[]) => Promise<void>;
520
524
  getAuthConfigValues(): Promise<string[][]>;
521
525
  onConnected(timeout: number): Promise<void>;
522
526
 
@@ -611,6 +615,13 @@ export type QueryConstants = {
611
615
  minDataRatio: number;
612
616
  maxDataRatio: number;
613
617
  maxScriptCodeLength: number;
618
+ /**
619
+ * Default query scheduling details from the server. Sourced from the
620
+ * `queryScheduler.default<N>` properties in `iris-defaults.prop`. Each entry
621
+ * is a `Token=Value` string (e.g. `StartTime=07:55:00`) and can be passed
622
+ * directly to a `QueryScheduler` for parsing.
623
+ */
624
+ defaultSchedulingDetails: readonly string[];
614
625
  };
615
626
 
616
627
  export interface EnterpriseClientConstructor {