@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.
- package/dist/dbops-service/src/services/requestBodies/PluginStepInputsRequestRequestBody.d.ts +14 -3
- package/dist/dbops-service/src/services/responses/PluginInputsResponseResponse.d.ts +3 -0
- package/dist/dbops-service/src/services/schemas/Command.d.ts +1 -1
- package/dist/dbops-service/src/services/schemas/CommandExecutionStatus.d.ts +1 -1
- package/package.json +1 -1
package/dist/dbops-service/src/services/requestBodies/PluginStepInputsRequestRequestBody.d.ts
CHANGED
|
@@ -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
|
-
|
|
23
|
-
|
|
24
|
-
|
|
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
|
|
@@ -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