@explo-tech/fido-api 0.0.26 → 0.0.28

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/core/OpenAPI.ts CHANGED
@@ -20,7 +20,7 @@ export type OpenAPIConfig = {
20
20
 
21
21
  export const OpenAPI: OpenAPIConfig = {
22
22
  BASE: '',
23
- VERSION: '1.0',
23
+ VERSION: '0.1',
24
24
  WITH_CREDENTIALS: false,
25
25
  CREDENTIALS: 'include',
26
26
  TOKEN: undefined,
package/index.ts CHANGED
@@ -10,6 +10,7 @@ export type { AggregateProperty } from './models/AggregateProperty';
10
10
  export { Aggregation } from './models/Aggregation';
11
11
  export type { AggregationOption } from './models/AggregationOption';
12
12
  export type { And } from './models/And';
13
+ export type { BaseComputation } from './models/BaseComputation';
13
14
  export type { BooleanPropertyValue } from './models/BooleanPropertyValue';
14
15
  export { CalendarInterval } from './models/CalendarInterval';
15
16
  export type { CalendarIntervalGrouping } from './models/CalendarIntervalGrouping';
@@ -65,6 +66,9 @@ export type { Null } from './models/Null';
65
66
  export type { Or } from './models/Or';
66
67
  export type { PagingConfiguration } from './models/PagingConfiguration';
67
68
  export type { PasswordAuthentication } from './models/PasswordAuthentication';
69
+ export type { Pivot } from './models/Pivot';
70
+ export type { PivotColumn } from './models/PivotColumn';
71
+ export type { PivotValue } from './models/PivotValue';
68
72
  export type { Postgres } from './models/Postgres';
69
73
  export type { PostgresAuthentication } from './models/PostgresAuthentication';
70
74
  export type { Property } from './models/Property';
@@ -0,0 +1,13 @@
1
+ /* istanbul ignore file */
2
+ /* tslint:disable */
3
+ /* eslint-disable */
4
+
5
+ import type { Computation } from './Computation';
6
+ import type { Filter } from './Filter';
7
+ import type { Sort } from './Sort';
8
+
9
+ export type BaseComputation = (Computation | {
10
+ filter: Filter | null;
11
+ sorts: Array<Sort>;
12
+ });
13
+
@@ -8,9 +8,10 @@ import type { Property } from './Property';
8
8
  import type { Sort } from './Sort';
9
9
 
10
10
  export type Computation = {
11
- properties: Array<Property>;
12
11
  filter: Filter | null;
13
12
  sorts: Array<Sort>;
13
+ '@type': 'computation';
14
+ properties: Array<Property>;
14
15
  groupings: Array<Grouping>;
15
16
  };
16
17
 
@@ -8,6 +8,7 @@ import type { Postgres } from './Postgres';
8
8
  import type { Tunnel } from './Tunnel';
9
9
 
10
10
  export type DataSourceConfiguration = (Postgres | MySql | MSS | {
11
+ minimumLiveConnectionCount: number;
11
12
  tunnel: Tunnel;
12
13
  });
13
14
 
package/models/MSS.ts CHANGED
@@ -6,7 +6,9 @@ import type { MSSAuthentication } from './MSSAuthentication';
6
6
  import type { Tunnel } from './Tunnel';
7
7
 
8
8
  export type MSS = {
9
+ minimumLiveConnectionCount: number;
9
10
  tunnel: Tunnel;
11
+ '@type': 'mss';
10
12
  authentication: MSSAuthentication;
11
13
  database: string;
12
14
  host: string;
package/models/MySql.ts CHANGED
@@ -6,6 +6,7 @@ import type { MySqlAuthentication } from './MySqlAuthentication';
6
6
  import type { Tunnel } from './Tunnel';
7
7
 
8
8
  export type MySql = {
9
+ minimumLiveConnectionCount: number;
9
10
  tunnel: Tunnel;
10
11
  '@type': 'mysql';
11
12
  authentication: MySqlAuthentication;
@@ -4,6 +4,7 @@
4
4
 
5
5
  export type Namespace = {
6
6
  name: string;
7
+ ignoreTableList?: Array<string>;
7
8
  readonly id: string;
8
9
  };
9
10
 
@@ -0,0 +1,19 @@
1
+ /* istanbul ignore file */
2
+ /* tslint:disable */
3
+ /* eslint-disable */
4
+
5
+ import type { Filter } from './Filter';
6
+ import type { Grouping } from './Grouping';
7
+ import type { PivotColumn } from './PivotColumn';
8
+ import type { PivotValue } from './PivotValue';
9
+ import type { Sort } from './Sort';
10
+
11
+ export type Pivot = {
12
+ filter: Filter | null;
13
+ sorts: Array<Sort>;
14
+ '@type': string;
15
+ values: Array<PivotValue>;
16
+ columns: Array<PivotColumn>;
17
+ rows: Array<Grouping>;
18
+ };
19
+
@@ -0,0 +1,8 @@
1
+ /* istanbul ignore file */
2
+ /* tslint:disable */
3
+ /* eslint-disable */
4
+
5
+ export type PivotColumn = {
6
+ propertyId: string;
7
+ };
8
+
@@ -0,0 +1,11 @@
1
+ /* istanbul ignore file */
2
+ /* tslint:disable */
3
+ /* eslint-disable */
4
+
5
+ import type { Aggregation } from './Aggregation';
6
+
7
+ export type PivotValue = {
8
+ propertyId: string;
9
+ aggregation: Aggregation;
10
+ };
11
+
@@ -6,6 +6,7 @@ import type { PostgresAuthentication } from './PostgresAuthentication';
6
6
  import type { Tunnel } from './Tunnel';
7
7
 
8
8
  export type Postgres = {
9
+ minimumLiveConnectionCount: number;
9
10
  tunnel: Tunnel;
10
11
  '@type': 'postgres';
11
12
  authentication: PostgresAuthentication;
@@ -2,12 +2,12 @@
2
2
  /* tslint:disable */
3
3
  /* eslint-disable */
4
4
 
5
- import type { Computation } from './Computation';
5
+ import type { BaseComputation } from './BaseComputation';
6
6
  import type { DataRequestParameters } from './DataRequestParameters';
7
7
 
8
8
  export type ViewRunRequest = {
9
9
  dataRequestParameters: DataRequestParameters;
10
10
  queryContext: Record<string, any>;
11
- computation: Computation | null;
11
+ computation: BaseComputation | null;
12
12
  };
13
13
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@explo-tech/fido-api",
3
- "version": "0.0.26",
3
+ "version": "0.0.28",
4
4
  "description": "Fido api",
5
5
  "homepage": "https://github.com/trust-kaz/fido",
6
6
  "license": "MIT",