@harnessio/react-dbops-service-client 0.16.0 → 0.18.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/useConsumeFailureInterruptMutation.d.ts +19 -0
- package/dist/dbops-service/src/services/hooks/useConsumeFailureInterruptMutation.js +14 -0
- package/dist/dbops-service/src/services/hooks/useConsumeV1StepPluginOutputResponseMutation.d.ts +19 -0
- package/dist/dbops-service/src/services/hooks/useConsumeV1StepPluginOutputResponseMutation.js +14 -0
- package/dist/dbops-service/src/services/hooks/useGetV1CustomOperationsMutation.d.ts +20 -0
- package/dist/dbops-service/src/services/hooks/useGetV1CustomOperationsMutation.js +14 -0
- package/dist/dbops-service/src/services/hooks/useGetV1SchemaInstanceMetadataMutation.d.ts +20 -0
- package/dist/dbops-service/src/services/hooks/useGetV1SchemaInstanceMetadataMutation.js +14 -0
- package/dist/dbops-service/src/services/hooks/useV1ChangesetYamlProjDbInstanceQuery.d.ts +30 -0
- package/dist/dbops-service/src/services/hooks/useV1ChangesetYamlProjDbInstanceQuery.js +21 -0
- package/dist/dbops-service/src/services/hooks/useV1FetchDeployedChangesetSqlMutation.d.ts +38 -0
- package/dist/dbops-service/src/services/hooks/useV1FetchDeployedChangesetSqlMutation.js +14 -0
- package/dist/dbops-service/src/services/index.d.ts +29 -0
- package/dist/dbops-service/src/services/index.js +6 -0
- package/dist/dbops-service/src/services/requestBodies/ConsumePluginOutputRespRequestRequestBody.d.ts +17 -0
- package/dist/dbops-service/src/services/requestBodies/ConsumePluginOutputRespRequestRequestBody.js +1 -0
- package/dist/dbops-service/src/services/requestBodies/CustomOperationRequestRequestBody.d.ts +2 -0
- package/dist/dbops-service/src/services/requestBodies/CustomOperationRequestRequestBody.js +1 -0
- package/dist/dbops-service/src/services/requestBodies/FailureInterruptRequestRequestBody.d.ts +16 -0
- package/dist/dbops-service/src/services/requestBodies/FailureInterruptRequestRequestBody.js +1 -0
- package/dist/dbops-service/src/services/requestBodies/FetchSqlStatementRequestRequestBody.d.ts +3 -0
- package/dist/dbops-service/src/services/requestBodies/FetchSqlStatementRequestRequestBody.js +4 -0
- package/dist/dbops-service/src/services/requestBodies/PluginStepInputsRequestRequestBody.d.ts +6 -5
- package/dist/dbops-service/src/services/requestBodies/SchemaInstanceMetadataRequestRequestBody.d.ts +2 -0
- package/dist/dbops-service/src/services/requestBodies/SchemaInstanceMetadataRequestRequestBody.js +1 -0
- package/dist/dbops-service/src/services/responses/ChangeSetDeploymentYamlResponseResponse.d.ts +2 -0
- package/dist/dbops-service/src/services/responses/ChangeSetDeploymentYamlResponseResponse.js +1 -0
- package/dist/dbops-service/src/services/responses/CustomOperationResponseResponse.d.ts +2 -0
- package/dist/dbops-service/src/services/responses/CustomOperationResponseResponse.js +1 -0
- package/dist/dbops-service/src/services/responses/FetchSqlStatementResponseResponse.d.ts +2 -0
- package/dist/dbops-service/src/services/responses/FetchSqlStatementResponseResponse.js +1 -0
- package/dist/dbops-service/src/services/responses/SchemaInstanceMetadataResponseResponse.d.ts +2 -0
- package/dist/dbops-service/src/services/responses/SchemaInstanceMetadataResponseResponse.js +1 -0
- package/dist/dbops-service/src/services/schemas/ChangeSetDeploymentYamlOutput.d.ts +6 -0
- package/dist/dbops-service/src/services/schemas/ChangeSetDeploymentYamlOutput.js +4 -0
- package/dist/dbops-service/src/services/schemas/Command.d.ts +1 -1
- package/dist/dbops-service/src/services/schemas/CustomOperationInput.d.ts +15 -0
- package/dist/dbops-service/src/services/schemas/CustomOperationInput.js +1 -0
- package/dist/dbops-service/src/services/schemas/CustomOperationOutput.d.ts +7 -0
- package/dist/dbops-service/src/services/schemas/CustomOperationOutput.js +4 -0
- package/dist/dbops-service/src/services/schemas/CustomOperations.d.ts +4 -0
- package/dist/dbops-service/src/services/schemas/CustomOperations.js +4 -0
- package/dist/dbops-service/src/services/schemas/DeployedChangesetSqlOutput.d.ts +6 -0
- package/dist/dbops-service/src/services/schemas/DeployedChangesetSqlOutput.js +4 -0
- package/dist/dbops-service/src/services/schemas/PipelineExecutionMetadata.d.ts +8 -0
- package/dist/dbops-service/src/services/schemas/PipelineExecutionMetadata.js +4 -0
- package/dist/dbops-service/src/services/schemas/SchemaInstanceMetadataInput.d.ts +9 -0
- package/dist/dbops-service/src/services/schemas/SchemaInstanceMetadataInput.js +4 -0
- package/dist/dbops-service/src/services/schemas/SchemaInstanceMetadataOutput.d.ts +19 -0
- package/dist/dbops-service/src/services/schemas/SchemaInstanceMetadataOutput.js +1 -0
- package/package.json +1 -1
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import { UseMutationOptions } from '@tanstack/react-query';
|
|
2
|
+
import type { ErrorResponseResponse } from '../responses/ErrorResponseResponse';
|
|
3
|
+
import type { FailureInterruptRequestRequestBody } from '../requestBodies/FailureInterruptRequestRequestBody';
|
|
4
|
+
import type { ResponseWithPagination } from '../helpers';
|
|
5
|
+
import { FetcherOptions } from '../../../../fetcher/index.js';
|
|
6
|
+
export interface ConsumeFailureInterruptMutationHeaderParams {
|
|
7
|
+
'Harness-Account'?: string;
|
|
8
|
+
}
|
|
9
|
+
export type ConsumeFailureInterruptRequestBody = FailureInterruptRequestRequestBody;
|
|
10
|
+
export type ConsumeFailureInterruptOkResponse = ResponseWithPagination<unknown>;
|
|
11
|
+
export type ConsumeFailureInterruptErrorResponse = ErrorResponseResponse;
|
|
12
|
+
export interface ConsumeFailureInterruptProps extends Omit<FetcherOptions<unknown, ConsumeFailureInterruptRequestBody, ConsumeFailureInterruptMutationHeaderParams>, 'url'> {
|
|
13
|
+
body: ConsumeFailureInterruptRequestBody;
|
|
14
|
+
}
|
|
15
|
+
export declare function consumeFailureInterrupt(props: ConsumeFailureInterruptProps): Promise<ConsumeFailureInterruptOkResponse>;
|
|
16
|
+
/**
|
|
17
|
+
* Consume Failure interrupt
|
|
18
|
+
*/
|
|
19
|
+
export declare function useConsumeFailureInterruptMutation(options?: Omit<UseMutationOptions<ConsumeFailureInterruptOkResponse, ConsumeFailureInterruptErrorResponse, ConsumeFailureInterruptProps>, 'mutationKey' | 'mutationFn'>): import("@tanstack/react-query").UseMutationResult<ConsumeFailureInterruptOkResponse, import("..").Error, ConsumeFailureInterruptProps, 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 consumeFailureInterrupt(props) {
|
|
7
|
+
return fetcher(Object.assign({ url: `/v1/dbops/failure-interrupt`, method: 'POST' }, props));
|
|
8
|
+
}
|
|
9
|
+
/**
|
|
10
|
+
* Consume Failure interrupt
|
|
11
|
+
*/
|
|
12
|
+
export function useConsumeFailureInterruptMutation(options) {
|
|
13
|
+
return useMutation((mutateProps) => consumeFailureInterrupt(mutateProps), options);
|
|
14
|
+
}
|
package/dist/dbops-service/src/services/hooks/useConsumeV1StepPluginOutputResponseMutation.d.ts
ADDED
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import { UseMutationOptions } from '@tanstack/react-query';
|
|
2
|
+
import type { ErrorResponseResponse } from '../responses/ErrorResponseResponse';
|
|
3
|
+
import type { ConsumePluginOutputRespRequestRequestBody } from '../requestBodies/ConsumePluginOutputRespRequestRequestBody';
|
|
4
|
+
import type { ResponseWithPagination } from '../helpers';
|
|
5
|
+
import { FetcherOptions } from '../../../../fetcher/index.js';
|
|
6
|
+
export interface ConsumeV1StepPluginOutputResponseMutationHeaderParams {
|
|
7
|
+
'Harness-Account'?: string;
|
|
8
|
+
}
|
|
9
|
+
export type ConsumeV1StepPluginOutputResponseRequestBody = ConsumePluginOutputRespRequestRequestBody;
|
|
10
|
+
export type ConsumeV1StepPluginOutputResponseOkResponse = ResponseWithPagination<unknown>;
|
|
11
|
+
export type ConsumeV1StepPluginOutputResponseErrorResponse = ErrorResponseResponse;
|
|
12
|
+
export interface ConsumeV1StepPluginOutputResponseProps extends Omit<FetcherOptions<unknown, ConsumeV1StepPluginOutputResponseRequestBody, ConsumeV1StepPluginOutputResponseMutationHeaderParams>, 'url'> {
|
|
13
|
+
body: ConsumeV1StepPluginOutputResponseRequestBody;
|
|
14
|
+
}
|
|
15
|
+
export declare function consumeV1StepPluginOutputResponse(props: ConsumeV1StepPluginOutputResponseProps): Promise<ConsumeV1StepPluginOutputResponseOkResponse>;
|
|
16
|
+
/**
|
|
17
|
+
* Consume Plugin Output Response
|
|
18
|
+
*/
|
|
19
|
+
export declare function useConsumeV1StepPluginOutputResponseMutation(options?: Omit<UseMutationOptions<ConsumeV1StepPluginOutputResponseOkResponse, ConsumeV1StepPluginOutputResponseErrorResponse, ConsumeV1StepPluginOutputResponseProps>, 'mutationKey' | 'mutationFn'>): import("@tanstack/react-query").UseMutationResult<ConsumeV1StepPluginOutputResponseOkResponse, import("..").Error, ConsumeV1StepPluginOutputResponseProps, 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 consumeV1StepPluginOutputResponse(props) {
|
|
7
|
+
return fetcher(Object.assign({ url: `/v1/dbops/plugin-output-response`, method: 'POST' }, props));
|
|
8
|
+
}
|
|
9
|
+
/**
|
|
10
|
+
* Consume Plugin Output Response
|
|
11
|
+
*/
|
|
12
|
+
export function useConsumeV1StepPluginOutputResponseMutation(options) {
|
|
13
|
+
return useMutation((mutateProps) => consumeV1StepPluginOutputResponse(mutateProps), options);
|
|
14
|
+
}
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import { UseMutationOptions } from '@tanstack/react-query';
|
|
2
|
+
import type { CustomOperationResponseResponse } from '../responses/CustomOperationResponseResponse';
|
|
3
|
+
import type { ErrorResponseResponse } from '../responses/ErrorResponseResponse';
|
|
4
|
+
import type { CustomOperationRequestRequestBody } from '../requestBodies/CustomOperationRequestRequestBody';
|
|
5
|
+
import type { ResponseWithPagination } from '../helpers';
|
|
6
|
+
import { FetcherOptions } from '../../../../fetcher/index.js';
|
|
7
|
+
export interface GetV1CustomOperationsMutationHeaderParams {
|
|
8
|
+
'Harness-Account'?: string;
|
|
9
|
+
}
|
|
10
|
+
export type GetV1CustomOperationsRequestBody = CustomOperationRequestRequestBody;
|
|
11
|
+
export type GetV1CustomOperationsOkResponse = ResponseWithPagination<CustomOperationResponseResponse>;
|
|
12
|
+
export type GetV1CustomOperationsErrorResponse = ErrorResponseResponse;
|
|
13
|
+
export interface GetV1CustomOperationsProps extends Omit<FetcherOptions<unknown, GetV1CustomOperationsRequestBody, GetV1CustomOperationsMutationHeaderParams>, 'url'> {
|
|
14
|
+
body: GetV1CustomOperationsRequestBody;
|
|
15
|
+
}
|
|
16
|
+
export declare function getV1CustomOperations(props: GetV1CustomOperationsProps): Promise<GetV1CustomOperationsOkResponse>;
|
|
17
|
+
/**
|
|
18
|
+
* Get custom operations result for db step execution
|
|
19
|
+
*/
|
|
20
|
+
export declare function useGetV1CustomOperationsMutation(options?: Omit<UseMutationOptions<GetV1CustomOperationsOkResponse, GetV1CustomOperationsErrorResponse, GetV1CustomOperationsProps>, 'mutationKey' | 'mutationFn'>): import("@tanstack/react-query").UseMutationResult<GetV1CustomOperationsOkResponse, import("..").Error, GetV1CustomOperationsProps, 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 getV1CustomOperations(props) {
|
|
7
|
+
return fetcher(Object.assign({ url: `/v1/dbops/custom-operations`, method: 'POST' }, props));
|
|
8
|
+
}
|
|
9
|
+
/**
|
|
10
|
+
* Get custom operations result for db step execution
|
|
11
|
+
*/
|
|
12
|
+
export function useGetV1CustomOperationsMutation(options) {
|
|
13
|
+
return useMutation((mutateProps) => getV1CustomOperations(mutateProps), options);
|
|
14
|
+
}
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import { UseMutationOptions } from '@tanstack/react-query';
|
|
2
|
+
import type { SchemaInstanceMetadataResponseResponse } from '../responses/SchemaInstanceMetadataResponseResponse';
|
|
3
|
+
import type { ErrorResponseResponse } from '../responses/ErrorResponseResponse';
|
|
4
|
+
import type { SchemaInstanceMetadataRequestRequestBody } from '../requestBodies/SchemaInstanceMetadataRequestRequestBody';
|
|
5
|
+
import type { ResponseWithPagination } from '../helpers';
|
|
6
|
+
import { FetcherOptions } from '../../../../fetcher/index.js';
|
|
7
|
+
export interface GetV1SchemaInstanceMetadataMutationHeaderParams {
|
|
8
|
+
'Harness-Account'?: string;
|
|
9
|
+
}
|
|
10
|
+
export type GetV1SchemaInstanceMetadataRequestBody = SchemaInstanceMetadataRequestRequestBody;
|
|
11
|
+
export type GetV1SchemaInstanceMetadataOkResponse = ResponseWithPagination<SchemaInstanceMetadataResponseResponse>;
|
|
12
|
+
export type GetV1SchemaInstanceMetadataErrorResponse = ErrorResponseResponse;
|
|
13
|
+
export interface GetV1SchemaInstanceMetadataProps extends Omit<FetcherOptions<unknown, GetV1SchemaInstanceMetadataRequestBody, GetV1SchemaInstanceMetadataMutationHeaderParams>, 'url'> {
|
|
14
|
+
body: GetV1SchemaInstanceMetadataRequestBody;
|
|
15
|
+
}
|
|
16
|
+
export declare function getV1SchemaInstanceMetadata(props: GetV1SchemaInstanceMetadataProps): Promise<GetV1SchemaInstanceMetadataOkResponse>;
|
|
17
|
+
/**
|
|
18
|
+
* Get schema-instance metadata and images for db step execution
|
|
19
|
+
*/
|
|
20
|
+
export declare function useGetV1SchemaInstanceMetadataMutation(options?: Omit<UseMutationOptions<GetV1SchemaInstanceMetadataOkResponse, GetV1SchemaInstanceMetadataErrorResponse, GetV1SchemaInstanceMetadataProps>, 'mutationKey' | 'mutationFn'>): import("@tanstack/react-query").UseMutationResult<GetV1SchemaInstanceMetadataOkResponse, import("..").Error, GetV1SchemaInstanceMetadataProps, 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 getV1SchemaInstanceMetadata(props) {
|
|
7
|
+
return fetcher(Object.assign({ url: `/v1/dbops/schema-instance-metadata`, method: 'POST' }, props));
|
|
8
|
+
}
|
|
9
|
+
/**
|
|
10
|
+
* Get schema-instance metadata and images for db step execution
|
|
11
|
+
*/
|
|
12
|
+
export function useGetV1SchemaInstanceMetadataMutation(options) {
|
|
13
|
+
return useMutation((mutateProps) => getV1SchemaInstanceMetadata(mutateProps), options);
|
|
14
|
+
}
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
import { UseQueryOptions } from '@tanstack/react-query';
|
|
2
|
+
import type { ChangeSetDeploymentYamlResponseResponse } from '../responses/ChangeSetDeploymentYamlResponseResponse';
|
|
3
|
+
import type { ErrorResponseResponse } from '../responses/ErrorResponseResponse';
|
|
4
|
+
import type { ResponseWithPagination } from '../helpers';
|
|
5
|
+
import { FetcherOptions } from '../../../../fetcher/index.js';
|
|
6
|
+
export interface V1ChangesetYamlProjDbInstanceQueryPathParams {
|
|
7
|
+
org: string;
|
|
8
|
+
project: string;
|
|
9
|
+
dbschema: string;
|
|
10
|
+
dbinstance: string;
|
|
11
|
+
}
|
|
12
|
+
export interface V1ChangesetYamlProjDbInstanceQueryQueryParams {
|
|
13
|
+
/**
|
|
14
|
+
* @example "folder1/fileName.yaml::changeSet1::author1"
|
|
15
|
+
*/
|
|
16
|
+
changeSet: string;
|
|
17
|
+
}
|
|
18
|
+
export interface V1ChangesetYamlProjDbInstanceQueryHeaderParams {
|
|
19
|
+
'Harness-Account'?: string;
|
|
20
|
+
}
|
|
21
|
+
export type V1ChangesetYamlProjDbInstanceOkResponse = ResponseWithPagination<ChangeSetDeploymentYamlResponseResponse>;
|
|
22
|
+
export type V1ChangesetYamlProjDbInstanceErrorResponse = ErrorResponseResponse;
|
|
23
|
+
export interface V1ChangesetYamlProjDbInstanceProps extends V1ChangesetYamlProjDbInstanceQueryPathParams, Omit<FetcherOptions<V1ChangesetYamlProjDbInstanceQueryQueryParams, unknown, V1ChangesetYamlProjDbInstanceQueryHeaderParams>, 'url'> {
|
|
24
|
+
queryParams: V1ChangesetYamlProjDbInstanceQueryQueryParams;
|
|
25
|
+
}
|
|
26
|
+
export declare function v1ChangesetYamlProjDbInstance(props: V1ChangesetYamlProjDbInstanceProps): Promise<V1ChangesetYamlProjDbInstanceOkResponse>;
|
|
27
|
+
/**
|
|
28
|
+
* ChangeSet deployment yaml for an instance
|
|
29
|
+
*/
|
|
30
|
+
export declare function useV1ChangesetYamlProjDbInstanceQuery(props: V1ChangesetYamlProjDbInstanceProps, options?: Omit<UseQueryOptions<V1ChangesetYamlProjDbInstanceOkResponse, V1ChangesetYamlProjDbInstanceErrorResponse>, 'queryKey' | 'queryFn'>): import("@tanstack/react-query").UseQueryResult<V1ChangesetYamlProjDbInstanceOkResponse, import("..").Error>;
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
/* eslint-disable */
|
|
2
|
+
// This code is autogenerated using @harnessio/oats-cli.
|
|
3
|
+
// Please do not modify this code directly.
|
|
4
|
+
import { useQuery } from '@tanstack/react-query';
|
|
5
|
+
import { fetcher } from '../../../../fetcher/index.js';
|
|
6
|
+
export function v1ChangesetYamlProjDbInstance(props) {
|
|
7
|
+
return fetcher(Object.assign({ url: `/v1/orgs/${props.org}/projects/${props.project}/dbschema/${props.dbschema}/dbinstance/${props.dbinstance}/changeset/yaml`, method: 'GET' }, props));
|
|
8
|
+
}
|
|
9
|
+
/**
|
|
10
|
+
* ChangeSet deployment yaml for an instance
|
|
11
|
+
*/
|
|
12
|
+
export function useV1ChangesetYamlProjDbInstanceQuery(props, options) {
|
|
13
|
+
return useQuery([
|
|
14
|
+
'v1-changeset-yaml-proj-db-instance',
|
|
15
|
+
props.org,
|
|
16
|
+
props.project,
|
|
17
|
+
props.dbschema,
|
|
18
|
+
props.dbinstance,
|
|
19
|
+
props.queryParams,
|
|
20
|
+
], ({ signal }) => v1ChangesetYamlProjDbInstance(Object.assign(Object.assign({}, props), { signal })), options);
|
|
21
|
+
}
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
import { UseMutationOptions } from '@tanstack/react-query';
|
|
2
|
+
import type { FetchSqlStatementResponseResponse } from '../responses/FetchSqlStatementResponseResponse';
|
|
3
|
+
import type { ErrorResponseResponse } from '../responses/ErrorResponseResponse';
|
|
4
|
+
import type { FetchSqlStatementRequestRequestBody } from '../requestBodies/FetchSqlStatementRequestRequestBody';
|
|
5
|
+
import type { ResponseWithPagination } from '../helpers';
|
|
6
|
+
import { FetcherOptions } from '../../../../fetcher/index.js';
|
|
7
|
+
export interface V1FetchDeployedChangesetSqlMutationPathParams {
|
|
8
|
+
org: string;
|
|
9
|
+
project: string;
|
|
10
|
+
dbschema: string;
|
|
11
|
+
dbinstance: string;
|
|
12
|
+
}
|
|
13
|
+
export interface V1FetchDeployedChangesetSqlMutationQueryParams {
|
|
14
|
+
/**
|
|
15
|
+
* @format int64
|
|
16
|
+
* @default 0
|
|
17
|
+
*/
|
|
18
|
+
page?: number;
|
|
19
|
+
/**
|
|
20
|
+
* @default 10
|
|
21
|
+
*/
|
|
22
|
+
limit?: number;
|
|
23
|
+
}
|
|
24
|
+
export interface V1FetchDeployedChangesetSqlMutationHeaderParams {
|
|
25
|
+
'Harness-Account'?: string;
|
|
26
|
+
}
|
|
27
|
+
export type V1FetchDeployedChangesetSqlRequestBody = FetchSqlStatementRequestRequestBody;
|
|
28
|
+
export type V1FetchDeployedChangesetSqlOkResponse = ResponseWithPagination<FetchSqlStatementResponseResponse>;
|
|
29
|
+
export type V1FetchDeployedChangesetSqlErrorResponse = ErrorResponseResponse;
|
|
30
|
+
export interface V1FetchDeployedChangesetSqlProps extends V1FetchDeployedChangesetSqlMutationPathParams, Omit<FetcherOptions<V1FetchDeployedChangesetSqlMutationQueryParams, V1FetchDeployedChangesetSqlRequestBody, V1FetchDeployedChangesetSqlMutationHeaderParams>, 'url'> {
|
|
31
|
+
queryParams: V1FetchDeployedChangesetSqlMutationQueryParams;
|
|
32
|
+
body: V1FetchDeployedChangesetSqlRequestBody;
|
|
33
|
+
}
|
|
34
|
+
export declare function v1FetchDeployedChangesetSql(props: V1FetchDeployedChangesetSqlProps): Promise<V1FetchDeployedChangesetSqlOkResponse>;
|
|
35
|
+
/**
|
|
36
|
+
* Fetch SQL changesets
|
|
37
|
+
*/
|
|
38
|
+
export declare function useV1FetchDeployedChangesetSqlMutation(options?: Omit<UseMutationOptions<V1FetchDeployedChangesetSqlOkResponse, V1FetchDeployedChangesetSqlErrorResponse, V1FetchDeployedChangesetSqlProps>, 'mutationKey' | 'mutationFn'>): import("@tanstack/react-query").UseMutationResult<V1FetchDeployedChangesetSqlOkResponse, import("..").Error, V1FetchDeployedChangesetSqlProps, 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 v1FetchDeployedChangesetSql(props) {
|
|
7
|
+
return fetcher(Object.assign({ url: `/v1/orgs/${props.org}/projects/${props.project}/dbschema/${props.dbschema}/dbinstance/${props.dbinstance}/changeset/sql`, method: 'POST' }, props));
|
|
8
|
+
}
|
|
9
|
+
/**
|
|
10
|
+
* Fetch SQL changesets
|
|
11
|
+
*/
|
|
12
|
+
export function useV1FetchDeployedChangesetSqlMutation(options) {
|
|
13
|
+
return useMutation((mutateProps) => v1FetchDeployedChangesetSql(mutateProps), options);
|
|
14
|
+
}
|
|
@@ -1,8 +1,18 @@
|
|
|
1
1
|
export type { GetPathParamsType, ResponseWithPagination } from './helpers';
|
|
2
|
+
export type { ConsumeFailureInterruptErrorResponse, ConsumeFailureInterruptOkResponse, ConsumeFailureInterruptProps, ConsumeFailureInterruptRequestBody, } from './hooks/useConsumeFailureInterruptMutation';
|
|
3
|
+
export { consumeFailureInterrupt, useConsumeFailureInterruptMutation, } from './hooks/useConsumeFailureInterruptMutation';
|
|
4
|
+
export type { ConsumeV1StepPluginOutputResponseErrorResponse, ConsumeV1StepPluginOutputResponseOkResponse, ConsumeV1StepPluginOutputResponseProps, ConsumeV1StepPluginOutputResponseRequestBody, } from './hooks/useConsumeV1StepPluginOutputResponseMutation';
|
|
5
|
+
export { consumeV1StepPluginOutputResponse, useConsumeV1StepPluginOutputResponseMutation, } from './hooks/useConsumeV1StepPluginOutputResponseMutation';
|
|
2
6
|
export type { ConsumeV1StepPluginResponseErrorResponse, ConsumeV1StepPluginResponseOkResponse, ConsumeV1StepPluginResponseProps, ConsumeV1StepPluginResponseRequestBody, } from './hooks/useConsumeV1StepPluginResponseMutation';
|
|
3
7
|
export { consumeV1StepPluginResponse, useConsumeV1StepPluginResponseMutation, } from './hooks/useConsumeV1StepPluginResponseMutation';
|
|
4
8
|
export type { CreateV1StepPluginInputsErrorResponse, CreateV1StepPluginInputsOkResponse, CreateV1StepPluginInputsProps, CreateV1StepPluginInputsRequestBody, } from './hooks/useCreateV1StepPluginInputsMutation';
|
|
5
9
|
export { createV1StepPluginInputs, useCreateV1StepPluginInputsMutation, } from './hooks/useCreateV1StepPluginInputsMutation';
|
|
10
|
+
export type { GetV1CustomOperationsErrorResponse, GetV1CustomOperationsOkResponse, GetV1CustomOperationsProps, GetV1CustomOperationsRequestBody, } from './hooks/useGetV1CustomOperationsMutation';
|
|
11
|
+
export { getV1CustomOperations, useGetV1CustomOperationsMutation, } from './hooks/useGetV1CustomOperationsMutation';
|
|
12
|
+
export type { GetV1SchemaInstanceMetadataErrorResponse, GetV1SchemaInstanceMetadataOkResponse, GetV1SchemaInstanceMetadataProps, GetV1SchemaInstanceMetadataRequestBody, } from './hooks/useGetV1SchemaInstanceMetadataMutation';
|
|
13
|
+
export { getV1SchemaInstanceMetadata, useGetV1SchemaInstanceMetadataMutation, } from './hooks/useGetV1SchemaInstanceMetadataMutation';
|
|
14
|
+
export type { V1ChangesetYamlProjDbInstanceErrorResponse, V1ChangesetYamlProjDbInstanceOkResponse, V1ChangesetYamlProjDbInstanceProps, V1ChangesetYamlProjDbInstanceQueryPathParams, V1ChangesetYamlProjDbInstanceQueryQueryParams, } from './hooks/useV1ChangesetYamlProjDbInstanceQuery';
|
|
15
|
+
export { useV1ChangesetYamlProjDbInstanceQuery, v1ChangesetYamlProjDbInstance, } from './hooks/useV1ChangesetYamlProjDbInstanceQuery';
|
|
6
16
|
export type { V1CreateProjDbSchemaInstanceErrorResponse, V1CreateProjDbSchemaInstanceMutationPathParams, V1CreateProjDbSchemaInstanceOkResponse, V1CreateProjDbSchemaInstanceProps, V1CreateProjDbSchemaInstanceRequestBody, } from './hooks/useV1CreateProjDbSchemaInstanceMutation';
|
|
7
17
|
export { useV1CreateProjDbSchemaInstanceMutation, v1CreateProjDbSchemaInstance, } from './hooks/useV1CreateProjDbSchemaInstanceMutation';
|
|
8
18
|
export type { V1CreateProjDbSchemaErrorResponse, V1CreateProjDbSchemaMutationPathParams, V1CreateProjDbSchemaOkResponse, V1CreateProjDbSchemaProps, V1CreateProjDbSchemaRequestBody, } from './hooks/useV1CreateProjDbSchemaMutation';
|
|
@@ -13,6 +23,8 @@ export type { V1DeleteProjDbSchemaInstanceErrorResponse, V1DeleteProjDbSchemaIns
|
|
|
13
23
|
export { useV1DeleteProjDbSchemaInstanceMutation, v1DeleteProjDbSchemaInstance, } from './hooks/useV1DeleteProjDbSchemaInstanceMutation';
|
|
14
24
|
export type { V1DeleteProjDbSchemaErrorResponse, V1DeleteProjDbSchemaMutationPathParams, V1DeleteProjDbSchemaOkResponse, V1DeleteProjDbSchemaProps, } from './hooks/useV1DeleteProjDbSchemaMutation';
|
|
15
25
|
export { useV1DeleteProjDbSchemaMutation, v1DeleteProjDbSchema, } from './hooks/useV1DeleteProjDbSchemaMutation';
|
|
26
|
+
export type { V1FetchDeployedChangesetSqlErrorResponse, V1FetchDeployedChangesetSqlMutationPathParams, V1FetchDeployedChangesetSqlMutationQueryParams, V1FetchDeployedChangesetSqlOkResponse, V1FetchDeployedChangesetSqlProps, V1FetchDeployedChangesetSqlRequestBody, } from './hooks/useV1FetchDeployedChangesetSqlMutation';
|
|
27
|
+
export { useV1FetchDeployedChangesetSqlMutation, v1FetchDeployedChangesetSql, } from './hooks/useV1FetchDeployedChangesetSqlMutation';
|
|
16
28
|
export type { V1GetCustomerConfigErrorResponse, V1GetCustomerConfigOkResponse, V1GetCustomerConfigProps, V1GetCustomerConfigQueryQueryParams, } from './hooks/useV1GetCustomerConfigQuery';
|
|
17
29
|
export { useV1GetCustomerConfigQuery, v1GetCustomerConfig, } from './hooks/useV1GetCustomerConfigQuery';
|
|
18
30
|
export type { V1GetDbOverviewErrorResponse, V1GetDbOverviewOkResponse, V1GetDbOverviewProps, V1GetDbOverviewQueryPathParams, } from './hooks/useV1GetDbOverviewQuery';
|
|
@@ -49,7 +61,9 @@ export type { V2ListProjDbInstancesErrorResponse, V2ListProjDbInstancesMutationP
|
|
|
49
61
|
export { useV2ListProjDbInstancesMutation, v2ListProjDbInstances, } from './hooks/useV2ListProjDbInstancesMutation';
|
|
50
62
|
export type { V2ListProjDbSchemaErrorResponse, V2ListProjDbSchemaMutationPathParams, V2ListProjDbSchemaMutationQueryParams, V2ListProjDbSchemaOkResponse, V2ListProjDbSchemaProps, V2ListProjDbSchemaRequestBody, } from './hooks/useV2ListProjDbSchemaMutation';
|
|
51
63
|
export { useV2ListProjDbSchemaMutation, v2ListProjDbSchema, } from './hooks/useV2ListProjDbSchemaMutation';
|
|
64
|
+
export type { ConsumePluginOutputRespRequestRequestBody } from './requestBodies/ConsumePluginOutputRespRequestRequestBody';
|
|
52
65
|
export type { ConsumePluginRespRequestRequestBody } from './requestBodies/ConsumePluginRespRequestRequestBody';
|
|
66
|
+
export type { CustomOperationRequestRequestBody } from './requestBodies/CustomOperationRequestRequestBody';
|
|
53
67
|
export type { DbInstanceCreateRequestRequestBody } from './requestBodies/DbInstanceCreateRequestRequestBody';
|
|
54
68
|
export type { DbInstanceFilterRequestRequestBody } from './requestBodies/DbInstanceFilterRequestRequestBody';
|
|
55
69
|
export type { DbInstanceListRequestRequestBody } from './requestBodies/DbInstanceListRequestRequestBody';
|
|
@@ -58,9 +72,14 @@ export type { DbSchemaCreateRequestRequestBody } from './requestBodies/DbSchemaC
|
|
|
58
72
|
export type { DbSchemaFilterRequestRequestBody } from './requestBodies/DbSchemaFilterRequestRequestBody';
|
|
59
73
|
export type { DbSchemaUpdateRequestRequestBody } from './requestBodies/DbSchemaUpdateRequestRequestBody';
|
|
60
74
|
export type { ExecutionConfigUpdateRequestRequestBody } from './requestBodies/ExecutionConfigUpdateRequestRequestBody';
|
|
75
|
+
export type { FailureInterruptRequestRequestBody } from './requestBodies/FailureInterruptRequestRequestBody';
|
|
76
|
+
export type { FetchSqlStatementRequestRequestBody } from './requestBodies/FetchSqlStatementRequestRequestBody';
|
|
61
77
|
export type { LogIngestRequestRequestBody } from './requestBodies/LogIngestRequestRequestBody';
|
|
62
78
|
export type { MigrationStateGetRequestRequestBody } from './requestBodies/MigrationStateGetRequestRequestBody';
|
|
63
79
|
export type { PluginStepInputsRequestRequestBody } from './requestBodies/PluginStepInputsRequestRequestBody';
|
|
80
|
+
export type { SchemaInstanceMetadataRequestRequestBody } from './requestBodies/SchemaInstanceMetadataRequestRequestBody';
|
|
81
|
+
export type { ChangeSetDeploymentYamlResponseResponse } from './responses/ChangeSetDeploymentYamlResponseResponse';
|
|
82
|
+
export type { CustomOperationResponseResponse } from './responses/CustomOperationResponseResponse';
|
|
64
83
|
export type { DbInstanceListResponseResponse } from './responses/DbInstanceListResponseResponse';
|
|
65
84
|
export type { DbInstanceResponseResponse } from './responses/DbInstanceResponseResponse';
|
|
66
85
|
export type { DbSchemaListResponseResponse } from './responses/DbSchemaListResponseResponse';
|
|
@@ -68,16 +87,22 @@ export type { DbSchemaResponseResponse } from './responses/DbSchemaResponseRespo
|
|
|
68
87
|
export type { ErrorResponseResponse } from './responses/ErrorResponseResponse';
|
|
69
88
|
export type { ExecutionConfigSuccessResponseResponse } from './responses/ExecutionConfigSuccessResponseResponse';
|
|
70
89
|
export type { ExecutionConfigTagsResponseResponse } from './responses/ExecutionConfigTagsResponseResponse';
|
|
90
|
+
export type { FetchSqlStatementResponseResponse } from './responses/FetchSqlStatementResponseResponse';
|
|
71
91
|
export type { InstanceMigrationStateResponseResponse } from './responses/InstanceMigrationStateResponseResponse';
|
|
72
92
|
export type { MigrationStateResponseResponse } from './responses/MigrationStateResponseResponse';
|
|
73
93
|
export type { OverviewResponseResponse } from './responses/OverviewResponseResponse';
|
|
74
94
|
export type { ParsedLogResponseResponse } from './responses/ParsedLogResponseResponse';
|
|
75
95
|
export type { PluginInputsResponseResponse } from './responses/PluginInputsResponseResponse';
|
|
96
|
+
export type { SchemaInstanceMetadataResponseResponse } from './responses/SchemaInstanceMetadataResponseResponse';
|
|
76
97
|
export type { ChangeLogScript } from './schemas/ChangeLogScript';
|
|
77
98
|
export type { ChangeSetDeploymentStatus } from './schemas/ChangeSetDeploymentStatus';
|
|
99
|
+
export type { ChangeSetDeploymentYamlOutput } from './schemas/ChangeSetDeploymentYamlOutput';
|
|
78
100
|
export type { Changelog } from './schemas/Changelog';
|
|
79
101
|
export type { Command } from './schemas/Command';
|
|
80
102
|
export type { CommandExecutionStatus } from './schemas/CommandExecutionStatus';
|
|
103
|
+
export type { CustomOperationInput } from './schemas/CustomOperationInput';
|
|
104
|
+
export type { CustomOperationOutput } from './schemas/CustomOperationOutput';
|
|
105
|
+
export type { CustomOperations } from './schemas/CustomOperations';
|
|
81
106
|
export type { DbInstanceFilterIn } from './schemas/DbInstanceFilterIn';
|
|
82
107
|
export type { DbInstanceIn } from './schemas/DbInstanceIn';
|
|
83
108
|
export type { DbInstanceListInput } from './schemas/DbInstanceListInput';
|
|
@@ -87,6 +112,7 @@ export type { DbSchemaIn } from './schemas/DbSchemaIn';
|
|
|
87
112
|
export type { DbSchemaOut } from './schemas/DbSchemaOut';
|
|
88
113
|
export type { DbSchemaType } from './schemas/DbSchemaType';
|
|
89
114
|
export type { DbStepType } from './schemas/DbStepType';
|
|
115
|
+
export type { DeployedChangesetSqlOutput } from './schemas/DeployedChangesetSqlOutput';
|
|
90
116
|
export type { DeployedStateInput } from './schemas/DeployedStateInput';
|
|
91
117
|
export type { DeployedStateOutput } from './schemas/DeployedStateOutput';
|
|
92
118
|
export type { Error } from './schemas/Error';
|
|
@@ -105,4 +131,7 @@ export type { NgTag } from './schemas/NgTag';
|
|
|
105
131
|
export type { OrderInstance } from './schemas/OrderInstance';
|
|
106
132
|
export type { OverviewResponseOutput } from './schemas/OverviewResponseOutput';
|
|
107
133
|
export type { ParsedLogOut } from './schemas/ParsedLogOut';
|
|
134
|
+
export type { PipelineExecutionMetadata } from './schemas/PipelineExecutionMetadata';
|
|
135
|
+
export type { SchemaInstanceMetadataInput } from './schemas/SchemaInstanceMetadataInput';
|
|
136
|
+
export type { SchemaInstanceMetadataOutput } from './schemas/SchemaInstanceMetadataOutput';
|
|
108
137
|
export type { SortInstance } from './schemas/SortInstance';
|
|
@@ -1,10 +1,16 @@
|
|
|
1
|
+
export { consumeFailureInterrupt, useConsumeFailureInterruptMutation, } from './hooks/useConsumeFailureInterruptMutation';
|
|
2
|
+
export { consumeV1StepPluginOutputResponse, useConsumeV1StepPluginOutputResponseMutation, } from './hooks/useConsumeV1StepPluginOutputResponseMutation';
|
|
1
3
|
export { consumeV1StepPluginResponse, useConsumeV1StepPluginResponseMutation, } from './hooks/useConsumeV1StepPluginResponseMutation';
|
|
2
4
|
export { createV1StepPluginInputs, useCreateV1StepPluginInputsMutation, } from './hooks/useCreateV1StepPluginInputsMutation';
|
|
5
|
+
export { getV1CustomOperations, useGetV1CustomOperationsMutation, } from './hooks/useGetV1CustomOperationsMutation';
|
|
6
|
+
export { getV1SchemaInstanceMetadata, useGetV1SchemaInstanceMetadataMutation, } from './hooks/useGetV1SchemaInstanceMetadataMutation';
|
|
7
|
+
export { useV1ChangesetYamlProjDbInstanceQuery, v1ChangesetYamlProjDbInstance, } from './hooks/useV1ChangesetYamlProjDbInstanceQuery';
|
|
3
8
|
export { useV1CreateProjDbSchemaInstanceMutation, v1CreateProjDbSchemaInstance, } from './hooks/useV1CreateProjDbSchemaInstanceMutation';
|
|
4
9
|
export { useV1CreateProjDbSchemaMutation, v1CreateProjDbSchema, } from './hooks/useV1CreateProjDbSchemaMutation';
|
|
5
10
|
export { useV1DeleteExecutionConfigMutation, v1DeleteExecutionConfig, } from './hooks/useV1DeleteExecutionConfigMutation';
|
|
6
11
|
export { useV1DeleteProjDbSchemaInstanceMutation, v1DeleteProjDbSchemaInstance, } from './hooks/useV1DeleteProjDbSchemaInstanceMutation';
|
|
7
12
|
export { useV1DeleteProjDbSchemaMutation, v1DeleteProjDbSchema, } from './hooks/useV1DeleteProjDbSchemaMutation';
|
|
13
|
+
export { useV1FetchDeployedChangesetSqlMutation, v1FetchDeployedChangesetSql, } from './hooks/useV1FetchDeployedChangesetSqlMutation';
|
|
8
14
|
export { useV1GetCustomerConfigQuery, v1GetCustomerConfig, } from './hooks/useV1GetCustomerConfigQuery';
|
|
9
15
|
export { useV1GetDbOverviewQuery, v1GetDbOverview } from './hooks/useV1GetDbOverviewQuery';
|
|
10
16
|
export { useV1GetDbinstanceLogQuery, v1GetDbinstanceLog } from './hooks/useV1GetDbinstanceLogQuery';
|
package/dist/dbops-service/src/services/requestBodies/ConsumePluginOutputRespRequestRequestBody.d.ts
ADDED
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import type { Command } from '../schemas/Command';
|
|
2
|
+
export interface ConsumePluginOutputRespRequestRequestBody {
|
|
3
|
+
command: string;
|
|
4
|
+
harnessCommand: Command;
|
|
5
|
+
harnessParentStepType: string;
|
|
6
|
+
instanceIdentifier: string;
|
|
7
|
+
orgId: string;
|
|
8
|
+
pipelineExecutionId: string;
|
|
9
|
+
pipelineIdentifier: string;
|
|
10
|
+
projectId: string;
|
|
11
|
+
schemaIdentifier: string;
|
|
12
|
+
stageExecutionId: string;
|
|
13
|
+
/**
|
|
14
|
+
* base-64 encoded compressed step response from plugin extension based on command
|
|
15
|
+
*/
|
|
16
|
+
stepResponse: string;
|
|
17
|
+
}
|
package/dist/dbops-service/src/services/requestBodies/ConsumePluginOutputRespRequestRequestBody.js
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import type { Command } from '../schemas/Command';
|
|
2
|
+
export interface FailureInterruptRequestRequestBody {
|
|
3
|
+
/**
|
|
4
|
+
* Plugin actual command run on customer db
|
|
5
|
+
*/
|
|
6
|
+
command: string;
|
|
7
|
+
harnessCommand: Command;
|
|
8
|
+
harnessParentStepType: string;
|
|
9
|
+
instanceIdentifier: string;
|
|
10
|
+
orgId: string;
|
|
11
|
+
pipelineExecutionId: string;
|
|
12
|
+
pipelineIdentifier: string;
|
|
13
|
+
projectId: string;
|
|
14
|
+
schemaIdentifier: string;
|
|
15
|
+
stageExecutionId: string;
|
|
16
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
package/dist/dbops-service/src/services/requestBodies/PluginStepInputsRequestRequestBody.d.ts
CHANGED
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import type { Command } from '../schemas/Command';
|
|
2
|
+
import type { PipelineExecutionMetadata } from '../schemas/PipelineExecutionMetadata';
|
|
2
3
|
export interface PluginStepInputsRequestRequestBody {
|
|
3
4
|
/**
|
|
4
5
|
* Organization identifier
|
|
@@ -27,11 +28,11 @@ export interface PluginStepInputsRequestRequestBody {
|
|
|
27
28
|
* if changeLogFile is required or not for LiquibaseCommand step. If true, then dbops-clone will not happen and changeLog is not passed in the settings.
|
|
28
29
|
*/
|
|
29
30
|
excludeChangeLogFile?: boolean;
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
31
|
+
/**
|
|
32
|
+
* Controls whether to include JWT authentication token in the plugin settings. If true, a bearer token will be included.
|
|
33
|
+
*/
|
|
34
|
+
includeJwtAuth?: boolean;
|
|
35
|
+
pipelineExecutionMetadata?: PipelineExecutionMetadata;
|
|
35
36
|
/**
|
|
36
37
|
* key value pair for properties which help decide response
|
|
37
38
|
*/
|
package/dist/dbops-service/src/services/requestBodies/SchemaInstanceMetadataRequestRequestBody.js
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* Type of the plugin command to run
|
|
3
3
|
*/
|
|
4
|
-
export type Command = 'Clone' | 'Custom' | 'History' | 'ParentWrapper' | 'Rollback' | 'RollbackSQL' | 'Status' | 'Tag' | 'Update' | 'UpdateSQL' | 'Validate';
|
|
4
|
+
export type Command = 'Clone' | 'Custom' | 'History' | 'ParentWrapper' | 'Rollback' | 'RollbackCount' | 'RollbackCountSQL' | 'RollbackSQL' | 'Status' | 'Tag' | 'Update' | 'UpdateSQL' | 'Validate';
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import type { Command } from '../schemas/Command';
|
|
2
|
+
import type { PipelineExecutionMetadata } from '../schemas/PipelineExecutionMetadata';
|
|
3
|
+
import type { CustomOperations } from '../schemas/CustomOperations';
|
|
4
|
+
/**
|
|
5
|
+
* Input for getting custom property result
|
|
6
|
+
*/
|
|
7
|
+
export interface CustomOperationInput {
|
|
8
|
+
command: Command;
|
|
9
|
+
dbInstance: string;
|
|
10
|
+
dbSchema: string;
|
|
11
|
+
org: string;
|
|
12
|
+
pipelineExecutionMetadata: PipelineExecutionMetadata;
|
|
13
|
+
project: string;
|
|
14
|
+
properties: CustomOperations[];
|
|
15
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import type { DbInstanceOut } from '../schemas/DbInstanceOut';
|
|
2
|
+
import type { DbSchemaOut } from '../schemas/DbSchemaOut';
|
|
3
|
+
/**
|
|
4
|
+
* output of schema-instance metadata
|
|
5
|
+
*/
|
|
6
|
+
export interface SchemaInstanceMetadataOutput {
|
|
7
|
+
dbImages: {
|
|
8
|
+
[key: string]: any;
|
|
9
|
+
};
|
|
10
|
+
dbInstance: DbInstanceOut;
|
|
11
|
+
dbSchema: DbSchemaOut;
|
|
12
|
+
defaultConfigs: {
|
|
13
|
+
[key: string]: string;
|
|
14
|
+
};
|
|
15
|
+
downloadImages: {
|
|
16
|
+
[key: string]: any;
|
|
17
|
+
};
|
|
18
|
+
image: string;
|
|
19
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
package/package.json
CHANGED