@explo-tech/fido-api 2.9.20 → 2.10.0-jordan-add-variables-to-views.1

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.
@@ -6,9 +6,9 @@ import type { Aggregation } from './Aggregation';
6
6
  import type { AggregationOption } from './AggregationOption';
7
7
 
8
8
  export type AggregateProperty = {
9
- targetPropertyId: string | null;
10
9
  '@type': 'aggregate';
11
10
  propertyId: string | null;
11
+ targetPropertyId: string | null;
12
12
  aggregation: Aggregation;
13
13
  aggregationOption?: AggregationOption | null;
14
14
  };
package/models/Commit.ts CHANGED
@@ -6,6 +6,5 @@ export type Commit = {
6
6
  readonly id?: string;
7
7
  commitMessage: string;
8
8
  readonly parentId: string | null;
9
- views: Record<string, string>;
10
9
  };
11
10
 
@@ -6,6 +6,5 @@ export type DateTimeColumnFormat = {
6
6
  '@type': 'datetime';
7
7
  dateTimeFormatPattern: string | null;
8
8
  locale: string | null;
9
- targetTimezone?: string;
10
9
  };
11
10
 
@@ -3,8 +3,8 @@
3
3
  /* eslint-disable */
4
4
 
5
5
  export type FormulaProperty = {
6
- targetPropertyId: string | null;
7
6
  '@type': 'formula';
7
+ targetPropertyId: string | null;
8
8
  formula: string;
9
9
  };
10
10
 
@@ -6,7 +6,5 @@ import type { AggregateProperty } from './AggregateProperty';
6
6
  import type { FormulaProperty } from './FormulaProperty';
7
7
  import type { SourceProperty } from './SourceProperty';
8
8
 
9
- export type Property = (AggregateProperty | SourceProperty | FormulaProperty | {
10
- targetPropertyId: string | null;
11
- });
9
+ export type Property = (AggregateProperty | SourceProperty | FormulaProperty);
12
10
 
@@ -3,8 +3,8 @@
3
3
  /* eslint-disable */
4
4
 
5
5
  export type SourceProperty = {
6
- targetPropertyId: string | null;
7
6
  '@type': 'source';
8
7
  propertyId: string;
8
+ targetPropertyId: string | null;
9
9
  };
10
10
 
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": "2.9.20",
5
+ "version": "2.10.0-jordan-add-variables-to-views.1",
6
6
  "repository": {
7
7
  "type": "git",
8
8
  "url": "https://github.com/trust-kaz/fido"
@@ -4,6 +4,7 @@
4
4
  import type { BranchResponse } from '../models/BranchResponse';
5
5
  import type { DiffBranchResponse } from '../models/DiffBranchResponse';
6
6
  import type { ListBranchResponse } from '../models/ListBranchResponse';
7
+ import type { ListViewsResponse } from '../models/ListViewsResponse';
7
8
  import type { MergeBranchRequest } from '../models/MergeBranchRequest';
8
9
  import type { UUID } from '../models/UUID';
9
10
  import type { ViewRequest } from '../models/ViewRequest';
@@ -87,6 +88,24 @@ export class BranchResourceService {
87
88
  });
88
89
  }
89
90
 
91
+ /**
92
+ * Lists the views at the head of the requested branch
93
+ * @param id
94
+ * @returns ListViewsResponse The views on the requested branch
95
+ * @throws ApiError
96
+ */
97
+ public static listBranchViews(
98
+ id: UUID,
99
+ ): CancelablePromise<ListViewsResponse> {
100
+ return __request(OpenAPI, {
101
+ method: 'GET',
102
+ url: '/v1/branches/{id}/views',
103
+ path: {
104
+ 'id': id,
105
+ },
106
+ });
107
+ }
108
+
90
109
  /**
91
110
  * Merge the provided source branch into the provided target branch
92
111
  * @param sourceBranchId
@@ -3,7 +3,6 @@
3
3
  /* eslint-disable */
4
4
  import type { CreateCommitRequest } from '../models/CreateCommitRequest';
5
5
  import type { CreateCommitResponse } from '../models/CreateCommitResponse';
6
- import type { ListViewsResponse } from '../models/ListViewsResponse';
7
6
 
8
7
  import type { CancelablePromise } from '../core/CancelablePromise';
9
8
  import { OpenAPI } from '../core/OpenAPI';
@@ -33,16 +32,4 @@ export class CommitResourceService {
33
32
  });
34
33
  }
35
34
 
36
- /**
37
- * Lists the views affected by the specified commit
38
- * @returns ListViewsResponse The views affected by the commit
39
- * @throws ApiError
40
- */
41
- public static listCommitViews(): CancelablePromise<ListViewsResponse> {
42
- return __request(OpenAPI, {
43
- method: 'GET',
44
- url: '/v1/branches/{branchId}/commits/views',
45
- });
46
- }
47
-
48
35
  }