@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.
- package/models/AggregateProperty.ts +1 -1
- package/models/Commit.ts +0 -1
- package/models/DateTimeColumnFormat.ts +0 -1
- package/models/FormulaProperty.ts +1 -1
- package/models/Property.ts +1 -3
- package/models/SourceProperty.ts +1 -1
- package/package.json +1 -1
- package/services/BranchResourceService.ts +19 -0
- package/services/CommitResourceService.ts +0 -13
|
@@ -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
package/models/Property.ts
CHANGED
|
@@ -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
|
|
package/models/SourceProperty.ts
CHANGED
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.
|
|
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
|
}
|