@harnessio/react-dbops-service-client 0.28.0 → 0.29.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.
Files changed (18) hide show
  1. package/dist/dbops-service/src/services/hooks/useCreateV1FlywayPluginInputsMutation.d.ts +20 -0
  2. package/dist/dbops-service/src/services/hooks/useCreateV1FlywayPluginInputsMutation.js +14 -0
  3. package/dist/dbops-service/src/services/hooks/usePostV1DbopsDbSnapshotMetadataMutation.d.ts +17 -1
  4. package/dist/dbops-service/src/services/hooks/usePostV1DbopsDbSnapshotMetadataMutation.js +1 -1
  5. package/dist/dbops-service/src/services/hooks/usePostV1DbopsMetadataSnapshotMutation.d.ts +35 -0
  6. package/dist/dbops-service/src/services/hooks/usePostV1DbopsMetadataSnapshotMutation.js +14 -0
  7. package/dist/dbops-service/src/services/hooks/useV1ChangesetmetadataProjDbInstanceQuery.d.ts +1 -1
  8. package/dist/dbops-service/src/services/index.d.ts +8 -1
  9. package/dist/dbops-service/src/services/index.js +2 -0
  10. package/dist/dbops-service/src/services/requestBodies/FlywayPluginInputsRequestRequestBody.d.ts +35 -0
  11. package/dist/dbops-service/src/services/requestBodies/FlywayPluginInputsRequestRequestBody.js +1 -0
  12. package/dist/dbops-service/src/services/responses/FlywayPluginInputsResponseResponse.d.ts +30 -0
  13. package/dist/dbops-service/src/services/responses/FlywayPluginInputsResponseResponse.js +1 -0
  14. package/dist/dbops-service/src/services/schemas/DbSnapshotMetadataIn.d.ts +0 -10
  15. package/dist/dbops-service/src/services/schemas/DbSnapshotMetadataIn.js +3 -0
  16. package/dist/dbops-service/src/services/schemas/FlywayCommand.d.ts +4 -0
  17. package/dist/dbops-service/src/services/schemas/FlywayCommand.js +4 -0
  18. package/package.json +1 -1
@@ -0,0 +1,20 @@
1
+ import { UseMutationOptions } from '@tanstack/react-query';
2
+ import type { FlywayPluginInputsResponseResponse } from '../responses/FlywayPluginInputsResponseResponse';
3
+ import type { ErrorResponseResponse } from '../responses/ErrorResponseResponse';
4
+ import type { FlywayPluginInputsRequestRequestBody } from '../requestBodies/FlywayPluginInputsRequestRequestBody';
5
+ import type { ResponseWithPagination } from '../helpers';
6
+ import { FetcherOptions } from '../../../../fetcher/index.js';
7
+ export interface CreateV1FlywayPluginInputsMutationHeaderParams {
8
+ 'Harness-Account'?: string;
9
+ }
10
+ export type CreateV1FlywayPluginInputsRequestBody = FlywayPluginInputsRequestRequestBody;
11
+ export type CreateV1FlywayPluginInputsOkResponse = ResponseWithPagination<FlywayPluginInputsResponseResponse>;
12
+ export type CreateV1FlywayPluginInputsErrorResponse = ErrorResponseResponse;
13
+ export interface CreateV1FlywayPluginInputsProps extends Omit<FetcherOptions<unknown, CreateV1FlywayPluginInputsRequestBody, CreateV1FlywayPluginInputsMutationHeaderParams>, 'url'> {
14
+ body: CreateV1FlywayPluginInputsRequestBody;
15
+ }
16
+ export declare function createV1FlywayPluginInputs(props: CreateV1FlywayPluginInputsProps): Promise<CreateV1FlywayPluginInputsOkResponse>;
17
+ /**
18
+ * Create Flyway Plugin Inputs using Step Inputs
19
+ */
20
+ export declare function useCreateV1FlywayPluginInputsMutation(options?: Omit<UseMutationOptions<CreateV1FlywayPluginInputsOkResponse, CreateV1FlywayPluginInputsErrorResponse, CreateV1FlywayPluginInputsProps>, 'mutationKey' | 'mutationFn'>): import("@tanstack/react-query").UseMutationResult<CreateV1FlywayPluginInputsOkResponse, import("..").Error, CreateV1FlywayPluginInputsProps, unknown>;
@@ -0,0 +1,14 @@
1
+ /* eslint-disable */
2
+ // This code is autogenerated using @harnessio/oats-cli.
3
+ // Please do not modify this code directly.
4
+ import { useMutation } from '@tanstack/react-query';
5
+ import { fetcher } from '../../../../fetcher/index.js';
6
+ export function createV1FlywayPluginInputs(props) {
7
+ return fetcher(Object.assign({ url: `/v1/step/flyway/plugin-inputs`, method: 'POST' }, props));
8
+ }
9
+ /**
10
+ * Create Flyway Plugin Inputs using Step Inputs
11
+ */
12
+ export function useCreateV1FlywayPluginInputsMutation(options) {
13
+ return useMutation((mutateProps) => createV1FlywayPluginInputs(mutateProps), options);
14
+ }
@@ -3,13 +3,29 @@ import type { ErrorResponseResponse } from '../responses/ErrorResponseResponse';
3
3
  import type { DbSnapshotMetadataCreateRequestRequestBody } from '../requestBodies/DbSnapshotMetadataCreateRequestRequestBody';
4
4
  import type { ResponseWithPagination } from '../helpers';
5
5
  import { FetcherOptions } from '../../../../fetcher/index.js';
6
+ export interface PostV1DbopsDbSnapshotMetadataMutationPathParams {
7
+ snapshotId: string;
8
+ }
9
+ export interface PostV1DbopsDbSnapshotMetadataMutationQueryParams {
10
+ /**
11
+ * @example "Update"
12
+ */
13
+ harnessCommand: 'DBOPSRollbackCountSQL' | 'DBOPSRollbackSQL' | 'DBOPSSnapshot' | 'DBOPSUpdateSQL' | 'Rollback' | 'Update';
14
+ pipelineExecutionId: string;
15
+ stageExecutionId: string;
16
+ pipelineIdentifier: string;
17
+ dbInstance: string;
18
+ dbSchema: string;
19
+ parentId: string;
20
+ }
6
21
  export interface PostV1DbopsDbSnapshotMetadataMutationHeaderParams {
7
22
  'Harness-Account'?: string;
8
23
  }
9
24
  export type PostV1DbopsDbSnapshotMetadataRequestBody = DbSnapshotMetadataCreateRequestRequestBody;
10
25
  export type PostV1DbopsDbSnapshotMetadataOkResponse = ResponseWithPagination<unknown>;
11
26
  export type PostV1DbopsDbSnapshotMetadataErrorResponse = ErrorResponseResponse;
12
- export interface PostV1DbopsDbSnapshotMetadataProps extends Omit<FetcherOptions<unknown, PostV1DbopsDbSnapshotMetadataRequestBody, PostV1DbopsDbSnapshotMetadataMutationHeaderParams>, 'url'> {
27
+ export interface PostV1DbopsDbSnapshotMetadataProps extends PostV1DbopsDbSnapshotMetadataMutationPathParams, Omit<FetcherOptions<PostV1DbopsDbSnapshotMetadataMutationQueryParams, PostV1DbopsDbSnapshotMetadataRequestBody, PostV1DbopsDbSnapshotMetadataMutationHeaderParams>, 'url'> {
28
+ queryParams: PostV1DbopsDbSnapshotMetadataMutationQueryParams;
13
29
  body: PostV1DbopsDbSnapshotMetadataRequestBody;
14
30
  }
15
31
  export declare function postV1DbopsDbSnapshotMetadata(props: PostV1DbopsDbSnapshotMetadataProps): Promise<PostV1DbopsDbSnapshotMetadataOkResponse>;
@@ -4,7 +4,7 @@
4
4
  import { useMutation } from '@tanstack/react-query';
5
5
  import { fetcher } from '../../../../fetcher/index.js';
6
6
  export function postV1DbopsDbSnapshotMetadata(props) {
7
- return fetcher(Object.assign({ url: `/v1/dbops/db-metadata`, method: 'POST' }, props));
7
+ return fetcher(Object.assign({ url: `/v1/dbops/db-metadata/${props.snapshotId}`, method: 'POST' }, props));
8
8
  }
9
9
  /**
10
10
  * Sending DB snapshot metadata from plugin to capture current state
@@ -0,0 +1,35 @@
1
+ import { UseMutationOptions } from '@tanstack/react-query';
2
+ import type { ErrorResponseResponse } from '../responses/ErrorResponseResponse';
3
+ import type { ResponseWithPagination } from '../helpers';
4
+ import { FetcherOptions } from '../../../../fetcher/index.js';
5
+ export interface PostV1DbopsMetadataSnapshotMutationPathParams {
6
+ snapshotId: string;
7
+ }
8
+ export interface PostV1DbopsMetadataSnapshotMutationQueryParams {
9
+ /**
10
+ * @example "Update"
11
+ */
12
+ harnessCommand: 'DBOPSRollbackCountSQL' | 'DBOPSRollbackSQL' | 'DBOPSSnapshot' | 'DBOPSUpdateSQL' | 'Rollback' | 'Update';
13
+ pipelineExecutionId: string;
14
+ stageExecutionId: string;
15
+ pipelineIdentifier: string;
16
+ dbInstance: string;
17
+ dbSchema: string;
18
+ parentId: string;
19
+ }
20
+ export interface PostV1DbopsMetadataSnapshotMutationHeaderParams {
21
+ 'Harness-Account'?: string;
22
+ 'X-Checksum-Sha256'?: string;
23
+ }
24
+ export type PostV1DbopsMetadataSnapshotRequestBody = string;
25
+ export type PostV1DbopsMetadataSnapshotOkResponse = ResponseWithPagination<unknown>;
26
+ export type PostV1DbopsMetadataSnapshotErrorResponse = ErrorResponseResponse;
27
+ export interface PostV1DbopsMetadataSnapshotProps extends PostV1DbopsMetadataSnapshotMutationPathParams, Omit<FetcherOptions<PostV1DbopsMetadataSnapshotMutationQueryParams, PostV1DbopsMetadataSnapshotRequestBody, PostV1DbopsMetadataSnapshotMutationHeaderParams>, 'url'> {
28
+ queryParams: PostV1DbopsMetadataSnapshotMutationQueryParams;
29
+ body: PostV1DbopsMetadataSnapshotRequestBody;
30
+ }
31
+ export declare function postV1DbopsMetadataSnapshot(props: PostV1DbopsMetadataSnapshotProps): Promise<PostV1DbopsMetadataSnapshotOkResponse>;
32
+ /**
33
+ * Sending DB snapshot file from plugin to harness for capturing current state
34
+ */
35
+ export declare function usePostV1DbopsMetadataSnapshotMutation(options?: Omit<UseMutationOptions<PostV1DbopsMetadataSnapshotOkResponse, PostV1DbopsMetadataSnapshotErrorResponse, PostV1DbopsMetadataSnapshotProps>, 'mutationKey' | 'mutationFn'>): import("@tanstack/react-query").UseMutationResult<PostV1DbopsMetadataSnapshotOkResponse, import("..").Error, PostV1DbopsMetadataSnapshotProps, unknown>;
@@ -0,0 +1,14 @@
1
+ /* eslint-disable */
2
+ // This code is autogenerated using @harnessio/oats-cli.
3
+ // Please do not modify this code directly.
4
+ import { useMutation } from '@tanstack/react-query';
5
+ import { fetcher } from '../../../../fetcher/index.js';
6
+ export function postV1DbopsMetadataSnapshot(props) {
7
+ return fetcher(Object.assign({ url: `/v1/dbops/metadata-snapshot/${props.snapshotId}`, method: 'POST' }, props));
8
+ }
9
+ /**
10
+ * Sending DB snapshot file from plugin to harness for capturing current state
11
+ */
12
+ export function usePostV1DbopsMetadataSnapshotMutation(options) {
13
+ return useMutation((mutateProps) => postV1DbopsMetadataSnapshot(mutateProps), options);
14
+ }
@@ -13,7 +13,7 @@ export interface V1ChangesetmetadataProjDbInstanceQueryQueryParams {
13
13
  /**
14
14
  * @example "Update"
15
15
  */
16
- harnessCommand: 'DBOPSRollbackCountSQL' | 'DBOPSRollbackSQL' | 'DBOPSUpdateSQL' | 'Rollback' | 'Update';
16
+ harnessCommand: 'DBOPSRollbackCountSQL' | 'DBOPSRollbackSQL' | 'DBOPSSnapshot' | 'DBOPSUpdateSQL' | 'Rollback' | 'Update';
17
17
  pipelineExecutionId: string;
18
18
  stageExecutionId: string;
19
19
  /**
@@ -5,14 +5,18 @@ export type { ConsumeV1StepPluginOutputResponseErrorResponse, ConsumeV1StepPlugi
5
5
  export { consumeV1StepPluginOutputResponse, useConsumeV1StepPluginOutputResponseMutation, } from './hooks/useConsumeV1StepPluginOutputResponseMutation';
6
6
  export type { ConsumeV1StepPluginResponseErrorResponse, ConsumeV1StepPluginResponseOkResponse, ConsumeV1StepPluginResponseProps, ConsumeV1StepPluginResponseRequestBody, } from './hooks/useConsumeV1StepPluginResponseMutation';
7
7
  export { consumeV1StepPluginResponse, useConsumeV1StepPluginResponseMutation, } from './hooks/useConsumeV1StepPluginResponseMutation';
8
+ export type { CreateV1FlywayPluginInputsErrorResponse, CreateV1FlywayPluginInputsOkResponse, CreateV1FlywayPluginInputsProps, CreateV1FlywayPluginInputsRequestBody, } from './hooks/useCreateV1FlywayPluginInputsMutation';
9
+ export { createV1FlywayPluginInputs, useCreateV1FlywayPluginInputsMutation, } from './hooks/useCreateV1FlywayPluginInputsMutation';
8
10
  export type { CreateV1StepPluginInputsErrorResponse, CreateV1StepPluginInputsOkResponse, CreateV1StepPluginInputsProps, CreateV1StepPluginInputsRequestBody, } from './hooks/useCreateV1StepPluginInputsMutation';
9
11
  export { createV1StepPluginInputs, useCreateV1StepPluginInputsMutation, } from './hooks/useCreateV1StepPluginInputsMutation';
10
12
  export type { GetV1CustomOperationsErrorResponse, GetV1CustomOperationsOkResponse, GetV1CustomOperationsProps, GetV1CustomOperationsRequestBody, } from './hooks/useGetV1CustomOperationsMutation';
11
13
  export { getV1CustomOperations, useGetV1CustomOperationsMutation, } from './hooks/useGetV1CustomOperationsMutation';
12
14
  export type { GetV1SchemaInstanceMetadataErrorResponse, GetV1SchemaInstanceMetadataOkResponse, GetV1SchemaInstanceMetadataProps, GetV1SchemaInstanceMetadataRequestBody, } from './hooks/useGetV1SchemaInstanceMetadataMutation';
13
15
  export { getV1SchemaInstanceMetadata, useGetV1SchemaInstanceMetadataMutation, } from './hooks/useGetV1SchemaInstanceMetadataMutation';
14
- export type { PostV1DbopsDbSnapshotMetadataErrorResponse, PostV1DbopsDbSnapshotMetadataOkResponse, PostV1DbopsDbSnapshotMetadataProps, PostV1DbopsDbSnapshotMetadataRequestBody, } from './hooks/usePostV1DbopsDbSnapshotMetadataMutation';
16
+ export type { PostV1DbopsDbSnapshotMetadataErrorResponse, PostV1DbopsDbSnapshotMetadataMutationPathParams, PostV1DbopsDbSnapshotMetadataMutationQueryParams, PostV1DbopsDbSnapshotMetadataOkResponse, PostV1DbopsDbSnapshotMetadataProps, PostV1DbopsDbSnapshotMetadataRequestBody, } from './hooks/usePostV1DbopsDbSnapshotMetadataMutation';
15
17
  export { postV1DbopsDbSnapshotMetadata, usePostV1DbopsDbSnapshotMetadataMutation, } from './hooks/usePostV1DbopsDbSnapshotMetadataMutation';
18
+ export type { PostV1DbopsMetadataSnapshotErrorResponse, PostV1DbopsMetadataSnapshotMutationPathParams, PostV1DbopsMetadataSnapshotMutationQueryParams, PostV1DbopsMetadataSnapshotOkResponse, PostV1DbopsMetadataSnapshotProps, PostV1DbopsMetadataSnapshotRequestBody, } from './hooks/usePostV1DbopsMetadataSnapshotMutation';
19
+ export { postV1DbopsMetadataSnapshot, usePostV1DbopsMetadataSnapshotMutation, } from './hooks/usePostV1DbopsMetadataSnapshotMutation';
16
20
  export type { V1ChangesetYamlProjDbInstanceErrorResponse, V1ChangesetYamlProjDbInstanceOkResponse, V1ChangesetYamlProjDbInstanceProps, V1ChangesetYamlProjDbInstanceQueryPathParams, V1ChangesetYamlProjDbInstanceQueryQueryParams, } from './hooks/useV1ChangesetYamlProjDbInstanceQuery';
17
21
  export { useV1ChangesetYamlProjDbInstanceQuery, v1ChangesetYamlProjDbInstance, } from './hooks/useV1ChangesetYamlProjDbInstanceQuery';
18
22
  export type { V1ChangesetmetadataProjDbInstanceErrorResponse, V1ChangesetmetadataProjDbInstanceOkResponse, V1ChangesetmetadataProjDbInstanceProps, V1ChangesetmetadataProjDbInstanceQueryPathParams, V1ChangesetmetadataProjDbInstanceQueryQueryParams, } from './hooks/useV1ChangesetmetadataProjDbInstanceQuery';
@@ -85,6 +89,7 @@ export type { DbSnapshotMetadataCreateRequestRequestBody } from './requestBodies
85
89
  export type { ExecutionConfigUpdateRequestRequestBody } from './requestBodies/ExecutionConfigUpdateRequestRequestBody';
86
90
  export type { FailureInterruptRequestRequestBody } from './requestBodies/FailureInterruptRequestRequestBody';
87
91
  export type { FetchSqlStatementRequestRequestBody } from './requestBodies/FetchSqlStatementRequestRequestBody';
92
+ export type { FlywayPluginInputsRequestRequestBody } from './requestBodies/FlywayPluginInputsRequestRequestBody';
88
93
  export type { LogIngestRequestRequestBody } from './requestBodies/LogIngestRequestRequestBody';
89
94
  export type { MigrationStateGetRequestRequestBody } from './requestBodies/MigrationStateGetRequestRequestBody';
90
95
  export type { PluginStepInputsRequestRequestBody } from './requestBodies/PluginStepInputsRequestRequestBody';
@@ -100,6 +105,7 @@ export type { ErrorResponseResponse } from './responses/ErrorResponseResponse';
100
105
  export type { ExecutionConfigSuccessResponseResponse } from './responses/ExecutionConfigSuccessResponseResponse';
101
106
  export type { ExecutionConfigTagsResponseResponse } from './responses/ExecutionConfigTagsResponseResponse';
102
107
  export type { FetchSqlStatementResponseResponse } from './responses/FetchSqlStatementResponseResponse';
108
+ export type { FlywayPluginInputsResponseResponse } from './responses/FlywayPluginInputsResponseResponse';
103
109
  export type { InstanceMigrationStateResponseResponse } from './responses/InstanceMigrationStateResponseResponse';
104
110
  export type { MigrationStateResponseResponse } from './responses/MigrationStateResponseResponse';
105
111
  export type { OverviewResponseResponse } from './responses/OverviewResponseResponse';
@@ -135,6 +141,7 @@ export type { Error } from './schemas/Error';
135
141
  export type { ExecutionConfigOperation } from './schemas/ExecutionConfigOperation';
136
142
  export type { ExecutionConfigTags } from './schemas/ExecutionConfigTags';
137
143
  export type { ExecutionMetadata } from './schemas/ExecutionMetadata';
144
+ export type { FlywayCommand } from './schemas/FlywayCommand';
138
145
  export type { InstanceDetail } from './schemas/InstanceDetail';
139
146
  export type { InstanceMigrationStateChangeSet } from './schemas/InstanceMigrationStateChangeSet';
140
147
  export type { InstanceMigrationStateOut } from './schemas/InstanceMigrationStateOut';
@@ -1,10 +1,12 @@
1
1
  export { consumeFailureInterrupt, useConsumeFailureInterruptMutation, } from './hooks/useConsumeFailureInterruptMutation';
2
2
  export { consumeV1StepPluginOutputResponse, useConsumeV1StepPluginOutputResponseMutation, } from './hooks/useConsumeV1StepPluginOutputResponseMutation';
3
3
  export { consumeV1StepPluginResponse, useConsumeV1StepPluginResponseMutation, } from './hooks/useConsumeV1StepPluginResponseMutation';
4
+ export { createV1FlywayPluginInputs, useCreateV1FlywayPluginInputsMutation, } from './hooks/useCreateV1FlywayPluginInputsMutation';
4
5
  export { createV1StepPluginInputs, useCreateV1StepPluginInputsMutation, } from './hooks/useCreateV1StepPluginInputsMutation';
5
6
  export { getV1CustomOperations, useGetV1CustomOperationsMutation, } from './hooks/useGetV1CustomOperationsMutation';
6
7
  export { getV1SchemaInstanceMetadata, useGetV1SchemaInstanceMetadataMutation, } from './hooks/useGetV1SchemaInstanceMetadataMutation';
7
8
  export { postV1DbopsDbSnapshotMetadata, usePostV1DbopsDbSnapshotMetadataMutation, } from './hooks/usePostV1DbopsDbSnapshotMetadataMutation';
9
+ export { postV1DbopsMetadataSnapshot, usePostV1DbopsMetadataSnapshotMutation, } from './hooks/usePostV1DbopsMetadataSnapshotMutation';
8
10
  export { useV1ChangesetYamlProjDbInstanceQuery, v1ChangesetYamlProjDbInstance, } from './hooks/useV1ChangesetYamlProjDbInstanceQuery';
9
11
  export { useV1ChangesetmetadataProjDbInstanceQuery, v1ChangesetmetadataProjDbInstance, } from './hooks/useV1ChangesetmetadataProjDbInstanceQuery';
10
12
  export { useV1CreateProjDbSchemaInstanceMutation, v1CreateProjDbSchemaInstance, } from './hooks/useV1CreateProjDbSchemaInstanceMutation';
@@ -0,0 +1,35 @@
1
+ import type { FlywayCommand } from '../schemas/FlywayCommand';
2
+ export interface FlywayPluginInputsRequestRequestBody {
3
+ command: FlywayCommand;
4
+ /**
5
+ * when pluginCommand type is Custom, customCommand is considered which is any string provided by the user
6
+ */
7
+ customCommand?: string;
8
+ /**
9
+ * db instance identifier
10
+ * @example "myschema/prod-1-instance"
11
+ */
12
+ dbInstance: string;
13
+ /**
14
+ * dbSchema reference
15
+ */
16
+ dbSchema: string;
17
+ /**
18
+ * Controls whether to include JWT authentication token in the plugin settings. If true, a bearer token will be included.
19
+ */
20
+ includeJwtAuth?: boolean;
21
+ /**
22
+ * parent unique id for the scope
23
+ */
24
+ parentId: string;
25
+ /**
26
+ * Key value mapping of user input plugin settings
27
+ */
28
+ settings?: {
29
+ [key: string]: string;
30
+ };
31
+ /**
32
+ * The base directory Flyway uses to resolve relative paths for migrations
33
+ */
34
+ workingDirectory?: string;
35
+ }
@@ -0,0 +1,30 @@
1
+ import type { DbInstanceOut } from '../schemas/DbInstanceOut';
2
+ import type { DbSchemaOut } from '../schemas/DbSchemaOut';
3
+ export interface FlywayPluginInputsResponseResponse {
4
+ /**
5
+ * DB engine images by type/version.
6
+ */
7
+ dbImages?: {
8
+ [key: string]: any;
9
+ };
10
+ /**
11
+ * Built-in default config key-values
12
+ */
13
+ defaultConfigs?: {
14
+ [key: string]: string;
15
+ };
16
+ /**
17
+ * Optional auxiliary images to pull
18
+ */
19
+ downloadImages?: {
20
+ [key: string]: any;
21
+ };
22
+ instance?: DbInstanceOut;
23
+ schema?: DbSchemaOut;
24
+ /**
25
+ * Computed plugin step settings/env
26
+ */
27
+ settings?: {
28
+ [key: string]: string;
29
+ };
30
+ }
@@ -1,8 +1,4 @@
1
- import type { Command } from '../schemas/Command';
2
1
  export interface DbSnapshotMetadataIn {
3
- command: string;
4
- harnessCommand: Command;
5
- instanceIdentifier: string;
6
2
  /**
7
3
  * Name for the object, example - Customers for table objectType
8
4
  */
@@ -15,11 +11,5 @@ export interface DbSnapshotMetadataIn {
15
11
  * json value of the object
16
12
  */
17
13
  objectValue: string;
18
- parentId: string;
19
- pipelineExecutionId: string;
20
- pipelineIdentifier: string;
21
- schemaIdentifier: string;
22
- snapshotId: string;
23
14
  snapshotObjectId?: string;
24
- stageExecutionId: string;
25
15
  }
@@ -1 +1,4 @@
1
+ /* eslint-disable */
2
+ // This code is autogenerated using @harnessio/oats-cli.
3
+ // Please do not modify this code directly.
1
4
  export {};
@@ -0,0 +1,4 @@
1
+ /**
2
+ * Type of the plugin command to run
3
+ */
4
+ export type FlywayCommand = 'Clone' | 'Custom' | 'Info' | 'Migrate' | 'MigrateSQL' | 'ParentWrapper' | 'Repair' | 'Undo' | 'UndoSQL';
@@ -0,0 +1,4 @@
1
+ /* eslint-disable */
2
+ // This code is autogenerated using @harnessio/oats-cli.
3
+ // Please do not modify this code directly.
4
+ export {};
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@harnessio/react-dbops-service-client",
3
- "version": "0.28.0",
3
+ "version": "0.29.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",