@harnessio/react-dbops-service-client 0.7.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/hooks/useV1ListProjDbSchemaInstanceMutation.d.ts +6 -0
- package/dist/dbops-service/src/services/hooks/useV1ListProjDbSchemaQuery.d.ts +6 -0
- package/dist/dbops-service/src/services/requestBodies/ConsumePluginRespRequestRequestBody.d.ts +7 -2
- 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/dist/dbops-service/src/services/schemas/DbInstanceOut.d.ts +4 -0
- package/dist/dbops-service/src/services/schemas/DeployedStateInput.d.ts +6 -0
- package/package.json +1 -1
|
@@ -20,7 +20,13 @@ export interface V1ListProjDbSchemaInstanceMutationQueryParams {
|
|
|
20
20
|
*/
|
|
21
21
|
limit?: number;
|
|
22
22
|
search_term?: string;
|
|
23
|
+
/**
|
|
24
|
+
* @default "created"
|
|
25
|
+
*/
|
|
23
26
|
sort?: 'created' | 'name' | 'updated';
|
|
27
|
+
/**
|
|
28
|
+
* @default "DESC"
|
|
29
|
+
*/
|
|
24
30
|
order?: 'ASC' | 'DESC';
|
|
25
31
|
}
|
|
26
32
|
export interface V1ListProjDbSchemaInstanceMutationHeaderParams {
|
|
@@ -18,7 +18,13 @@ export interface V1ListProjDbSchemaQueryQueryParams {
|
|
|
18
18
|
*/
|
|
19
19
|
limit?: number;
|
|
20
20
|
search_term?: string;
|
|
21
|
+
/**
|
|
22
|
+
* @default "created"
|
|
23
|
+
*/
|
|
21
24
|
sort?: 'created' | 'name' | 'updated';
|
|
25
|
+
/**
|
|
26
|
+
* @default "DESC"
|
|
27
|
+
*/
|
|
22
28
|
order?: 'ASC' | 'DESC';
|
|
23
29
|
}
|
|
24
30
|
export interface V1ListProjDbSchemaQueryHeaderParams {
|
package/dist/dbops-service/src/services/requestBodies/ConsumePluginRespRequestRequestBody.d.ts
CHANGED
|
@@ -15,17 +15,22 @@ export interface ConsumePluginRespRequestRequestBody {
|
|
|
15
15
|
* Organization identifier
|
|
16
16
|
*/
|
|
17
17
|
org: string;
|
|
18
|
+
parentStepType?: string;
|
|
18
19
|
/**
|
|
19
20
|
* Identifier of the pipeline
|
|
20
21
|
*/
|
|
21
|
-
pipeline
|
|
22
|
+
pipeline: string;
|
|
22
23
|
/**
|
|
23
24
|
* ExecutionId of the pipeline executed
|
|
24
25
|
*/
|
|
25
|
-
planExecutionId
|
|
26
|
+
planExecutionId: string;
|
|
26
27
|
/**
|
|
27
28
|
* Project identifier
|
|
28
29
|
*/
|
|
29
30
|
project: string;
|
|
31
|
+
/**
|
|
32
|
+
* ExecutionId of the stage executed
|
|
33
|
+
*/
|
|
34
|
+
stageExecutionId: string;
|
|
30
35
|
status: CommandExecutionStatus;
|
|
31
36
|
}
|
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 = '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