@explo-tech/fido-api 1.15.7 → 2.0.0

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/index.ts CHANGED
@@ -10,7 +10,6 @@ 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';
14
13
  export type { BigQuery } from './models/BigQuery';
15
14
  export type { BigQueryAuthentication } from './models/BigQueryAuthentication';
16
15
  export type { BooleanPropertyValue } from './models/BooleanPropertyValue';
@@ -71,9 +70,6 @@ export type { Null } from './models/Null';
71
70
  export type { Or } from './models/Or';
72
71
  export type { PagingConfiguration } from './models/PagingConfiguration';
73
72
  export type { PasswordAuthentication } from './models/PasswordAuthentication';
74
- export type { Pivot } from './models/Pivot';
75
- export type { PivotColumn } from './models/PivotColumn';
76
- export type { PivotValue } from './models/PivotValue';
77
73
  export type { Postgres } from './models/Postgres';
78
74
  export type { Property } from './models/Property';
79
75
  export type { PropertySchema } from './models/PropertySchema';
@@ -9,9 +9,9 @@ import type { Sort } from './Sort';
9
9
 
10
10
  export type Computation = {
11
11
  filter: Filter | null;
12
- sorts: Array<Sort>;
13
- '@type': 'computation';
14
12
  properties: Array<Property>;
15
13
  groupings: Array<Grouping>;
14
+ sorts: Array<Sort>;
15
+ includeRollup?: boolean;
16
16
  };
17
17
 
@@ -2,12 +2,12 @@
2
2
  /* tslint:disable */
3
3
  /* eslint-disable */
4
4
 
5
- import type { BaseComputation } from './BaseComputation';
5
+ import type { Computation } from './Computation';
6
6
  import type { ExportTargetConfiguration } from './ExportTargetConfiguration';
7
7
 
8
8
  export type ViewExportRequest = {
9
9
  queryContext: Record<string, any>;
10
- computation: BaseComputation | null;
10
+ computation: Computation | null;
11
11
  exportConfiguration: ExportTargetConfiguration;
12
12
  };
13
13
 
@@ -2,12 +2,12 @@
2
2
  /* tslint:disable */
3
3
  /* eslint-disable */
4
4
 
5
- import type { BaseComputation } from './BaseComputation';
5
+ import type { Computation } from './Computation';
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: BaseComputation | null;
11
+ computation: Computation | null;
12
12
  };
13
13
 
package/package.json CHANGED
@@ -2,7 +2,7 @@
2
2
  "name": "@explo-tech/fido-api",
3
3
  "description": "Fido api",
4
4
  "homepage": "https://github.com/trust-kaz/fido",
5
- "version": "1.15.7",
5
+ "version": "2.0.0",
6
6
  "repository": {
7
7
  "type": "git",
8
8
  "url": "https://github.com/trust-kaz/fido"
@@ -1,13 +0,0 @@
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
-
package/models/Pivot.ts DELETED
@@ -1,19 +0,0 @@
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
-
@@ -1,8 +0,0 @@
1
- /* istanbul ignore file */
2
- /* tslint:disable */
3
- /* eslint-disable */
4
-
5
- export type PivotColumn = {
6
- propertyId: string;
7
- };
8
-
@@ -1,11 +0,0 @@
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
-