@harnessio/react-dbops-service-client 0.8.0 → 0.9.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.
@@ -9,6 +9,10 @@ export interface PluginStepInputsRequestRequestBody {
9
9
  */
10
10
  Project?: string;
11
11
  command: Command;
12
+ /**
13
+ * when pluginCommand type is Custom, customCommand is considered which is any string provided by the user
14
+ */
15
+ customCommand?: string;
12
16
  /**
13
17
  * db instance identifier
14
18
  * @example "myschema/prod-1-instance"
@@ -19,9 +23,16 @@ export interface PluginStepInputsRequestRequestBody {
19
23
  */
20
24
  dbSchema: string;
21
25
  directory?: string;
22
- metadata?: {
23
- plan_execution?: string;
24
- step_identifier?: string;
26
+ pipelineExecutionMetadata?: {
27
+ pipeline: string;
28
+ planExecutionId: string;
29
+ stageExecutionId: string;
30
+ };
31
+ /**
32
+ * key value pair for properties which help decide response
33
+ */
34
+ properties?: {
35
+ [key: string]: string;
25
36
  };
26
37
  /**
27
38
  * Key value mapping of user input plugin settings
@@ -12,6 +12,9 @@ export interface PluginInputsResponseResponse {
12
12
  };
13
13
  image?: string;
14
14
  instance?: DbInstanceOut;
15
+ propertiesResult?: {
16
+ [key: string]: string;
17
+ };
15
18
  schema?: DbSchemaOut;
16
19
  settings?: {
17
20
  [key: string]: string;
@@ -1,4 +1,4 @@
1
1
  /**
2
2
  * Type of the plugin command to run
3
3
  */
4
- export type Command = 'Clone' | 'History' | 'Rollback' | 'Tag' | 'Update' | 'UpdateSQL' | 'Validate';
4
+ export type Command = 'Clone' | 'Custom' | 'History' | 'ParentWrapper' | 'Rollback' | 'Tag' | 'Update' | 'UpdateSQL' | 'Validate';
@@ -1 +1 @@
1
- export type CommandExecutionStatus = 'FAILURE' | 'IN_PROGRESS' | 'SUCCESS';
1
+ export type CommandExecutionStatus = 'CANCELLED' | 'FAILURE' | 'IN_PROGRESS' | 'SUCCESS';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@harnessio/react-dbops-service-client",
3
- "version": "0.8.0",
3
+ "version": "0.9.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",