@harnessio/react-dbops-service-client 0.20.0 → 0.22.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.
@@ -1,8 +1,7 @@
1
1
  import type { Command } from '../schemas/Command';
2
2
  export interface ConsumePluginOutputRespRequestRequestBody {
3
- command: string;
3
+ command?: string;
4
4
  harnessCommand: Command;
5
- harnessParentStepType: string;
6
5
  instanceIdentifier: string;
7
6
  orgId: string;
8
7
  pipelineExecutionId: string;
@@ -5,7 +5,6 @@ export interface FailureInterruptRequestRequestBody {
5
5
  */
6
6
  command: string;
7
7
  harnessCommand: Command;
8
- harnessParentStepType: string;
9
8
  instanceIdentifier: string;
10
9
  interruptType: string;
11
10
  orgId: string;
@@ -1 +1 @@
1
- export type DbStepType = 'DBSchemaApply';
1
+ export type DbStepType = 'DBSchemaApply' | 'DBSchemaRollback';
@@ -8,6 +8,10 @@ export interface MigrationStateChangeSet {
8
8
  * Identifier of the Change Set
9
9
  */
10
10
  changeSet: string;
11
+ /**
12
+ * changesetFQN is a unique identifier for database changesets in the format filename::changesetId::author
13
+ */
14
+ changeSetFQN: string;
11
15
  fileName: string;
12
16
  instances: MigrationStateInstance[];
13
17
  /**
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@harnessio/react-dbops-service-client",
3
- "version": "0.20.0",
3
+ "version": "0.22.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",