@explo-tech/fido-api 2.8.0 → 2.8.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/index.ts CHANGED
@@ -21,6 +21,8 @@ export type { CacheTelemetry } from './models/CacheTelemetry';
21
21
  export { CalendarInterval } from './models/CalendarInterval';
22
22
  export type { CalendarIntervalGrouping } from './models/CalendarIntervalGrouping';
23
23
  export type { ClientError } from './models/ClientError';
24
+ export type { Commit } from './models/Commit';
25
+ export type { CommitResponse } from './models/CommitResponse';
24
26
  export type { Computation } from './models/Computation';
25
27
  export type { ComputedView } from './models/ComputedView';
26
28
  export type { CreateViewChange } from './models/CreateViewChange';
@@ -0,0 +1,11 @@
1
+ /* istanbul ignore file */
2
+ /* tslint:disable */
3
+ /* eslint-disable */
4
+
5
+ export type Commit = {
6
+ readonly id?: string;
7
+ commitMessage: string;
8
+ readonly parentId: string | null;
9
+ views: Record<string, string>;
10
+ };
11
+
@@ -0,0 +1,10 @@
1
+ /* istanbul ignore file */
2
+ /* tslint:disable */
3
+ /* eslint-disable */
4
+
5
+ import type { Commit } from './Commit';
6
+
7
+ export type CommitResponse = {
8
+ commit: Commit;
9
+ };
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.8.0",
5
+ "version": "2.8.1",
6
6
  "repository": {
7
7
  "type": "git",
8
8
  "url": "https://github.com/trust-kaz/fido"
@@ -1,7 +1,7 @@
1
1
  /* istanbul ignore file */
2
2
  /* tslint:disable */
3
3
  /* eslint-disable */
4
- import type { BranchResponse } from '../models/BranchResponse';
4
+ import type { CommitResponse } from '../models/CommitResponse';
5
5
  import type { ViewRequest } from '../models/ViewRequest';
6
6
 
7
7
  import type { CancelablePromise } from '../core/CancelablePromise';
@@ -14,13 +14,13 @@ export class CommitResourceService {
14
14
  * Creates a new commit on the provided branch
15
15
  * @param branchId
16
16
  * @param requestBody Branch to create
17
- * @returns BranchResponse The created commit
17
+ * @returns CommitResponse The created commit
18
18
  * @throws ApiError
19
19
  */
20
20
  public static createCommit(
21
21
  branchId: string,
22
22
  requestBody: ViewRequest,
23
- ): CancelablePromise<BranchResponse> {
23
+ ): CancelablePromise<CommitResponse> {
24
24
  return __request(OpenAPI, {
25
25
  method: 'POST',
26
26
  url: '/v1/branches/{branchId}/commits',