@explo-tech/fido-api 3.5.2-jordan-user-id.1 → 3.5.3
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
|
@@ -26,6 +26,7 @@ export type { ClientError } from './models/ClientError';
|
|
|
26
26
|
export type { ColumnFormat } from './models/ColumnFormat';
|
|
27
27
|
export type { Commit } from './models/Commit';
|
|
28
28
|
export type { CommitResponse } from './models/CommitResponse';
|
|
29
|
+
export type { CommitResponseMetadata } from './models/CommitResponseMetadata';
|
|
29
30
|
export type { Computation } from './models/Computation';
|
|
30
31
|
export type { ComputedView } from './models/ComputedView';
|
|
31
32
|
export type { CreateCommitRequest } from './models/CreateCommitRequest';
|
|
@@ -97,6 +98,7 @@ export type { LessThanOrEqual } from './models/LessThanOrEqual';
|
|
|
97
98
|
export type { LessThanOrEqual1 } from './models/LessThanOrEqual1';
|
|
98
99
|
export type { ListBranchContentResponse } from './models/ListBranchContentResponse';
|
|
99
100
|
export type { ListBranchResponse } from './models/ListBranchResponse';
|
|
101
|
+
export type { ListCommitResponse } from './models/ListCommitResponse';
|
|
100
102
|
export type { ListNamespacesResponse } from './models/ListNamespacesResponse';
|
|
101
103
|
export type { ListVersionedViewsRequest } from './models/ListVersionedViewsRequest';
|
|
102
104
|
export type { ListViewsRequest } from './models/ListViewsRequest';
|
package/models/CommitResponse.ts
CHANGED
package/package.json
CHANGED
|
@@ -1,8 +1,10 @@
|
|
|
1
1
|
/* istanbul ignore file */
|
|
2
2
|
/* tslint:disable */
|
|
3
3
|
/* eslint-disable */
|
|
4
|
+
import type { CommitResponse } from '../models/CommitResponse';
|
|
4
5
|
import type { CreateCommitRequest } from '../models/CreateCommitRequest';
|
|
5
6
|
import type { CreateCommitResponse } from '../models/CreateCommitResponse';
|
|
7
|
+
import type { ListCommitResponse } from '../models/ListCommitResponse';
|
|
6
8
|
import type { UUID } from '../models/UUID';
|
|
7
9
|
|
|
8
10
|
import type { CancelablePromise } from '../core/CancelablePromise';
|
|
@@ -11,6 +13,24 @@ import { request as __request } from '../core/request';
|
|
|
11
13
|
|
|
12
14
|
export class CommitResourceService {
|
|
13
15
|
|
|
16
|
+
/**
|
|
17
|
+
* Lists all commits present on this branch
|
|
18
|
+
* @param branchId
|
|
19
|
+
* @returns ListCommitResponse The listed commits
|
|
20
|
+
* @throws ApiError
|
|
21
|
+
*/
|
|
22
|
+
public static listCommits(
|
|
23
|
+
branchId: UUID,
|
|
24
|
+
): CancelablePromise<ListCommitResponse> {
|
|
25
|
+
return __request(OpenAPI, {
|
|
26
|
+
method: 'GET',
|
|
27
|
+
url: '/v1/branches/{branchId}/commits',
|
|
28
|
+
path: {
|
|
29
|
+
'branchId': branchId,
|
|
30
|
+
},
|
|
31
|
+
});
|
|
32
|
+
}
|
|
33
|
+
|
|
14
34
|
/**
|
|
15
35
|
* Creates a new commit on the provided branch
|
|
16
36
|
* @param branchId
|
|
@@ -33,4 +53,30 @@ export class CommitResourceService {
|
|
|
33
53
|
});
|
|
34
54
|
}
|
|
35
55
|
|
|
56
|
+
/**
|
|
57
|
+
* Gets the requested commit
|
|
58
|
+
* @param branchId
|
|
59
|
+
* @param id
|
|
60
|
+
* @param includeMeta
|
|
61
|
+
* @returns CommitResponse The requested commit
|
|
62
|
+
* @throws ApiError
|
|
63
|
+
*/
|
|
64
|
+
public static getCommit(
|
|
65
|
+
branchId: UUID,
|
|
66
|
+
id: UUID,
|
|
67
|
+
includeMeta: boolean = false,
|
|
68
|
+
): CancelablePromise<CommitResponse> {
|
|
69
|
+
return __request(OpenAPI, {
|
|
70
|
+
method: 'GET',
|
|
71
|
+
url: '/v1/branches/{branchId}/commits/{id}',
|
|
72
|
+
path: {
|
|
73
|
+
'branchId': branchId,
|
|
74
|
+
'id': id,
|
|
75
|
+
},
|
|
76
|
+
query: {
|
|
77
|
+
'includeMeta': includeMeta,
|
|
78
|
+
},
|
|
79
|
+
});
|
|
80
|
+
}
|
|
81
|
+
|
|
36
82
|
}
|