@cqa-lib/cqa-ui 1.1.382 → 1.1.383

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.
@@ -9,6 +9,8 @@ export interface DatabaseQuery {
9
9
  variable: string;
10
10
  status?: 'passed' | 'failed' | 'pending';
11
11
  assertionData?: any[];
12
+ /** Result rows for this query (shown in Output tab). */
13
+ queryResult?: any[];
12
14
  }
13
15
  export interface DatabaseFormData {
14
16
  dbEnvironment: string;
@@ -25,7 +27,7 @@ export declare class StepBuilderDatabaseComponent implements OnInit, OnChanges,
25
27
  normalEnvironmentOptions: SelectOption[];
26
28
  /** Initial queries list */
27
29
  queries: DatabaseQuery[];
28
- /** Query results data */
30
+ /** Query results data (deprecated in favor of per-query queryResult) */
29
31
  queryResults: any[];
30
32
  /** Loading state */
31
33
  isLoading: boolean;
@@ -43,6 +45,7 @@ export declare class StepBuilderDatabaseComponent implements OnInit, OnChanges,
43
45
  cancelled: EventEmitter<void>;
44
46
  /** Emit when query is run */
45
47
  runQuery: EventEmitter<{
48
+ currentQuery: DatabaseQuery;
46
49
  query: string;
47
50
  variable: string;
48
51
  dbEnvironment: string;
@@ -103,6 +106,8 @@ export declare class StepBuilderDatabaseComponent implements OnInit, OnChanges,
103
106
  isFormValid(): boolean;
104
107
  onCreateStep(): void;
105
108
  getTableColumns(): string[];
109
+ /** Get result rows for currently selected query. */
110
+ getCurrentQueryResult(): any[];
106
111
  /**
107
112
  * Get assertion data for a specific query
108
113
  */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@cqa-lib/cqa-ui",
3
- "version": "1.1.382",
3
+ "version": "1.1.383",
4
4
  "description": "UI Kit library for Angular 13.4",
5
5
  "keywords": [
6
6
  "angular",