@harnessio/react-dbops-service-client 0.32.0 → 0.33.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.
@@ -3,9 +3,9 @@ import type { ErrorResponseResponse } from '../responses/ErrorResponseResponse';
3
3
  import type { ResponseWithPagination } from '../helpers';
4
4
  import { FetcherOptions } from '../../../../fetcher/index.js';
5
5
  export interface V1DeleteDbSchemaMutationQueryParams {
6
- orgIdentifier?: string;
7
- projectIdentifier?: string;
8
- parent_id?: string;
6
+ orgIdentifier: string;
7
+ projectIdentifier: string;
8
+ parent_id: string;
9
9
  }
10
10
  export interface V1DeleteDbSchemaMutationHeaderParams {
11
11
  'Harness-Account': string;
@@ -79,4 +79,8 @@ export interface DbSchemaUpdateRequestRequestBody {
79
79
  [key: string]: string;
80
80
  };
81
81
  type?: DbSchemaType;
82
+ /**
83
+ * if percona-tookit is enabled
84
+ */
85
+ usePercona?: boolean;
82
86
  }
@@ -30,4 +30,8 @@ export interface DbSchemaIn {
30
30
  [key: string]: string;
31
31
  };
32
32
  type?: DbSchemaType;
33
+ /**
34
+ * if percona-toolkit to be enabled
35
+ */
36
+ usePercona?: boolean;
33
37
  }
@@ -52,4 +52,8 @@ export interface DbSchemaOut {
52
52
  * @format int64
53
53
  */
54
54
  updated?: number;
55
+ /**
56
+ * if percona-toolkit is enabled
57
+ */
58
+ usePercona: boolean;
55
59
  }
@@ -3,5 +3,7 @@ export interface ExecutionConfigTags {
3
3
  defaultTag?: string;
4
4
  gitCloneTag?: string;
5
5
  mongoTag?: string;
6
+ perconaTag?: string;
7
+ snowflakeTag?: string;
6
8
  spannerTag?: string;
7
9
  }
@@ -14,7 +14,7 @@ export interface FlywayDeployedStateOutput {
14
14
  * epoch seconds when the migration was applied
15
15
  * @format int64
16
16
  */
17
- deployedAt?: number;
17
+ deployedAt: number;
18
18
  /**
19
19
  * Description from the migration script
20
20
  */
@@ -30,7 +30,7 @@ export function fetcher(options) {
30
30
  if (fetcherCallbacks === null || fetcherCallbacks === void 0 ? void 0 : fetcherCallbacks.urlInterceptor) {
31
31
  finalUrl = (_a = fetcherCallbacks === null || fetcherCallbacks === void 0 ? void 0 : fetcherCallbacks.urlInterceptor) === null || _a === void 0 ? void 0 : _a.call(fetcherCallbacks, finalUrl);
32
32
  }
33
- let request = new Request(finalUrl, Object.assign({ headers: Object.assign(Object.assign({ Authorization: `Bearer ${token}` }, headers), customHeaders), body: body ? JSON.stringify(body) : undefined }, rest));
33
+ let request = new Request(finalUrl, Object.assign({ headers: Object.assign(Object.assign(Object.assign({}, (token ? { Authorization: `Bearer ${token}` } : {})), headers), customHeaders), body: body ? JSON.stringify(body) : undefined }, rest));
34
34
  if (fetcherCallbacks === null || fetcherCallbacks === void 0 ? void 0 : fetcherCallbacks.requestInterceptor) {
35
35
  request = fetcherCallbacks.requestInterceptor(request.clone());
36
36
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@harnessio/react-dbops-service-client",
3
- "version": "0.32.0",
3
+ "version": "0.33.0",
4
4
  "description": "Harness React DB Devops service client - DB Devops APIs integrated with react hooks",
5
5
  "author": "Harness Inc",
6
6
  "license": "MIT",