@harnessio/react-dbops-service-client 0.30.0 → 0.32.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/useConsumeFlywayFailureInterruptMutation.d.ts +19 -0
- package/dist/dbops-service/src/services/hooks/useConsumeFlywayFailureInterruptMutation.js +14 -0
- package/dist/dbops-service/src/services/hooks/useGetV1FlywayCustomOperationsMutation.d.ts +24 -0
- package/dist/dbops-service/src/services/hooks/useGetV1FlywayCustomOperationsMutation.js +14 -0
- package/dist/dbops-service/src/services/hooks/useV1DefaultLlmPipelineQuery.d.ts +26 -0
- package/dist/dbops-service/src/services/hooks/useV1DefaultLlmPipelineQuery.js +14 -0
- package/dist/dbops-service/src/services/hooks/useV1FetchMigrationScriptSqlQuery.d.ts +38 -0
- package/dist/dbops-service/src/services/hooks/useV1FetchMigrationScriptSqlQuery.js +21 -0
- package/dist/dbops-service/src/services/hooks/useV1GetFlywayDeployedStateMutation.d.ts +38 -0
- package/dist/dbops-service/src/services/hooks/useV1GetFlywayDeployedStateMutation.js +14 -0
- package/dist/dbops-service/src/services/hooks/useV1GetSnapshotObjectNamesQuery.d.ts +36 -0
- package/dist/dbops-service/src/services/hooks/useV1GetSnapshotObjectNamesQuery.js +21 -0
- package/dist/dbops-service/src/services/hooks/useV1GetSnapshotObjectValuesMutation.d.ts +26 -0
- package/dist/dbops-service/src/services/hooks/useV1GetSnapshotObjectValuesMutation.js +14 -0
- package/dist/dbops-service/src/services/hooks/useV1StepFlywayMigrationScriptsQuery.d.ts +35 -0
- package/dist/dbops-service/src/services/hooks/useV1StepFlywayMigrationScriptsQuery.js +14 -0
- package/dist/dbops-service/src/services/index.d.ts +36 -0
- package/dist/dbops-service/src/services/index.js +8 -0
- package/dist/dbops-service/src/services/requestBodies/FlywayCustomOperationRequestRequestBody.d.ts +2 -0
- package/dist/dbops-service/src/services/requestBodies/FlywayCustomOperationRequestRequestBody.js +1 -0
- package/dist/dbops-service/src/services/requestBodies/FlywayFailureInterruptRequestRequestBody.d.ts +10 -0
- package/dist/dbops-service/src/services/requestBodies/FlywayFailureInterruptRequestRequestBody.js +1 -0
- package/dist/dbops-service/src/services/responses/FlywayCustomOperationResponseResponse.d.ts +2 -0
- package/dist/dbops-service/src/services/responses/FlywayCustomOperationResponseResponse.js +1 -0
- package/dist/dbops-service/src/services/responses/FlywayDeployedStateResponseResponse.d.ts +4 -0
- package/dist/dbops-service/src/services/responses/FlywayDeployedStateResponseResponse.js +1 -0
- package/dist/dbops-service/src/services/responses/FlywayMigrationScriptResponseResponse.d.ts +2 -0
- package/dist/dbops-service/src/services/responses/FlywayMigrationScriptResponseResponse.js +1 -0
- package/dist/dbops-service/src/services/responses/FlywayScriptOutputResponseResponse.d.ts +2 -0
- package/dist/dbops-service/src/services/responses/FlywayScriptOutputResponseResponse.js +1 -0
- package/dist/dbops-service/src/services/responses/SnapshotObjectNamesResponseResponse.d.ts +2 -0
- package/dist/dbops-service/src/services/responses/SnapshotObjectNamesResponseResponse.js +1 -0
- package/dist/dbops-service/src/services/responses/SnapshotObjectValuesResponseResponse.d.ts +2 -0
- package/dist/dbops-service/src/services/responses/SnapshotObjectValuesResponseResponse.js +1 -0
- package/dist/dbops-service/src/services/schemas/AppliedScriptOutput.d.ts +13 -0
- package/dist/dbops-service/src/services/schemas/AppliedScriptOutput.js +4 -0
- package/dist/dbops-service/src/services/schemas/DefaultPipelineOutput.d.ts +19 -0
- package/dist/dbops-service/src/services/schemas/DefaultPipelineOutput.js +4 -0
- package/dist/dbops-service/src/services/schemas/FlywayCommandExecutionStatus.d.ts +1 -0
- package/dist/dbops-service/src/services/schemas/FlywayCommandExecutionStatus.js +4 -0
- package/dist/dbops-service/src/services/schemas/FlywayCustomOperationInput.d.ts +13 -0
- package/dist/dbops-service/src/services/schemas/FlywayCustomOperationInput.js +1 -0
- package/dist/dbops-service/src/services/schemas/FlywayCustomOperationOutput.d.ts +7 -0
- package/dist/dbops-service/src/services/schemas/FlywayCustomOperationOutput.js +4 -0
- package/dist/dbops-service/src/services/schemas/FlywayCustomOperations.d.ts +4 -0
- package/dist/dbops-service/src/services/schemas/FlywayCustomOperations.js +4 -0
- package/dist/dbops-service/src/services/schemas/FlywayDeployedStateOutput.d.ts +32 -0
- package/dist/dbops-service/src/services/schemas/FlywayDeployedStateOutput.js +1 -0
- package/dist/dbops-service/src/services/schemas/FlywayMigrationScriptOutput.d.ts +6 -0
- package/dist/dbops-service/src/services/schemas/FlywayMigrationScriptOutput.js +4 -0
- package/dist/dbops-service/src/services/schemas/SnapshotObjectNamesOutput.d.ts +9 -0
- package/dist/dbops-service/src/services/schemas/SnapshotObjectNamesOutput.js +4 -0
- package/dist/dbops-service/src/services/schemas/SnapshotObjectValue.d.ts +13 -0
- package/dist/dbops-service/src/services/schemas/SnapshotObjectValue.js +4 -0
- package/dist/dbops-service/src/services/schemas/SnapshotObjectValuesInput.d.ts +13 -0
- package/dist/dbops-service/src/services/schemas/SnapshotObjectValuesInput.js +4 -0
- package/dist/dbops-service/src/services/schemas/SnapshotObjectValuesOutput.d.ts +10 -0
- package/dist/dbops-service/src/services/schemas/SnapshotObjectValuesOutput.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 { FlywayFailureInterruptRequestRequestBody } from '../requestBodies/FlywayFailureInterruptRequestRequestBody';
|
|
4
|
+
import type { ResponseWithPagination } from '../helpers';
|
|
5
|
+
import { FetcherOptions } from '../../../../fetcher/index.js';
|
|
6
|
+
export interface ConsumeFlywayFailureInterruptMutationHeaderParams {
|
|
7
|
+
'Harness-Account'?: string;
|
|
8
|
+
}
|
|
9
|
+
export type ConsumeFlywayFailureInterruptRequestBody = FlywayFailureInterruptRequestRequestBody;
|
|
10
|
+
export type ConsumeFlywayFailureInterruptOkResponse = ResponseWithPagination<unknown>;
|
|
11
|
+
export type ConsumeFlywayFailureInterruptErrorResponse = ErrorResponseResponse;
|
|
12
|
+
export interface ConsumeFlywayFailureInterruptProps extends Omit<FetcherOptions<unknown, ConsumeFlywayFailureInterruptRequestBody, ConsumeFlywayFailureInterruptMutationHeaderParams>, 'url'> {
|
|
13
|
+
body: ConsumeFlywayFailureInterruptRequestBody;
|
|
14
|
+
}
|
|
15
|
+
export declare function consumeFlywayFailureInterrupt(props: ConsumeFlywayFailureInterruptProps): Promise<ConsumeFlywayFailureInterruptOkResponse>;
|
|
16
|
+
/**
|
|
17
|
+
* Consume Flyway Failure interrupt
|
|
18
|
+
*/
|
|
19
|
+
export declare function useConsumeFlywayFailureInterruptMutation(options?: Omit<UseMutationOptions<ConsumeFlywayFailureInterruptOkResponse, ConsumeFlywayFailureInterruptErrorResponse, ConsumeFlywayFailureInterruptProps>, 'mutationKey' | 'mutationFn'>): import("@tanstack/react-query").UseMutationResult<ConsumeFlywayFailureInterruptOkResponse, import("..").Error, ConsumeFlywayFailureInterruptProps, 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 consumeFlywayFailureInterrupt(props) {
|
|
7
|
+
return fetcher(Object.assign({ url: `/v1/dbops/flyway/failure-interrupt`, method: 'POST' }, props));
|
|
8
|
+
}
|
|
9
|
+
/**
|
|
10
|
+
* Consume Flyway Failure interrupt
|
|
11
|
+
*/
|
|
12
|
+
export function useConsumeFlywayFailureInterruptMutation(options) {
|
|
13
|
+
return useMutation((mutateProps) => consumeFlywayFailureInterrupt(mutateProps), options);
|
|
14
|
+
}
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
import { UseMutationOptions } from '@tanstack/react-query';
|
|
2
|
+
import type { FlywayCustomOperationResponseResponse } from '../responses/FlywayCustomOperationResponseResponse';
|
|
3
|
+
import type { ErrorResponseResponse } from '../responses/ErrorResponseResponse';
|
|
4
|
+
import type { FlywayCustomOperationRequestRequestBody } from '../requestBodies/FlywayCustomOperationRequestRequestBody';
|
|
5
|
+
import type { ResponseWithPagination } from '../helpers';
|
|
6
|
+
import { FetcherOptions } from '../../../../fetcher/index.js';
|
|
7
|
+
export interface GetV1FlywayCustomOperationsMutationQueryParams {
|
|
8
|
+
parent_id?: string;
|
|
9
|
+
}
|
|
10
|
+
export interface GetV1FlywayCustomOperationsMutationHeaderParams {
|
|
11
|
+
'Harness-Account'?: string;
|
|
12
|
+
}
|
|
13
|
+
export type GetV1FlywayCustomOperationsRequestBody = FlywayCustomOperationRequestRequestBody;
|
|
14
|
+
export type GetV1FlywayCustomOperationsOkResponse = ResponseWithPagination<FlywayCustomOperationResponseResponse>;
|
|
15
|
+
export type GetV1FlywayCustomOperationsErrorResponse = ErrorResponseResponse;
|
|
16
|
+
export interface GetV1FlywayCustomOperationsProps extends Omit<FetcherOptions<GetV1FlywayCustomOperationsMutationQueryParams, GetV1FlywayCustomOperationsRequestBody, GetV1FlywayCustomOperationsMutationHeaderParams>, 'url'> {
|
|
17
|
+
queryParams: GetV1FlywayCustomOperationsMutationQueryParams;
|
|
18
|
+
body: GetV1FlywayCustomOperationsRequestBody;
|
|
19
|
+
}
|
|
20
|
+
export declare function getV1FlywayCustomOperations(props: GetV1FlywayCustomOperationsProps): Promise<GetV1FlywayCustomOperationsOkResponse>;
|
|
21
|
+
/**
|
|
22
|
+
* Get custom operations result for db step execution
|
|
23
|
+
*/
|
|
24
|
+
export declare function useGetV1FlywayCustomOperationsMutation(options?: Omit<UseMutationOptions<GetV1FlywayCustomOperationsOkResponse, GetV1FlywayCustomOperationsErrorResponse, GetV1FlywayCustomOperationsProps>, 'mutationKey' | 'mutationFn'>): import("@tanstack/react-query").UseMutationResult<GetV1FlywayCustomOperationsOkResponse, import("..").Error, GetV1FlywayCustomOperationsProps, 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 getV1FlywayCustomOperations(props) {
|
|
7
|
+
return fetcher(Object.assign({ url: `/v1/dbops/flyway/custom-operations`, method: 'POST' }, props));
|
|
8
|
+
}
|
|
9
|
+
/**
|
|
10
|
+
* Get custom operations result for db step execution
|
|
11
|
+
*/
|
|
12
|
+
export function useGetV1FlywayCustomOperationsMutation(options) {
|
|
13
|
+
return useMutation((mutateProps) => getV1FlywayCustomOperations(mutateProps), options);
|
|
14
|
+
}
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
import { UseQueryOptions } from '@tanstack/react-query';
|
|
2
|
+
import type { PipelineStatusResponseResponse } from '../responses/PipelineStatusResponseResponse';
|
|
3
|
+
import type { ErrorResponseResponse } from '../responses/ErrorResponseResponse';
|
|
4
|
+
import type { ResponseWithPagination } from '../helpers';
|
|
5
|
+
import { FetcherOptions } from '../../../../fetcher/index.js';
|
|
6
|
+
export interface V1DefaultLlmPipelineQueryPathParams {
|
|
7
|
+
org: string;
|
|
8
|
+
project: string;
|
|
9
|
+
}
|
|
10
|
+
export interface V1DefaultLlmPipelineQueryQueryParams {
|
|
11
|
+
dbSchema: string;
|
|
12
|
+
dbInstance: string;
|
|
13
|
+
}
|
|
14
|
+
export interface V1DefaultLlmPipelineQueryHeaderParams {
|
|
15
|
+
'Harness-Account'?: string;
|
|
16
|
+
}
|
|
17
|
+
export type V1DefaultLlmPipelineOkResponse = ResponseWithPagination<PipelineStatusResponseResponse>;
|
|
18
|
+
export type V1DefaultLlmPipelineErrorResponse = ErrorResponseResponse;
|
|
19
|
+
export interface V1DefaultLlmPipelineProps extends V1DefaultLlmPipelineQueryPathParams, Omit<FetcherOptions<V1DefaultLlmPipelineQueryQueryParams, unknown, V1DefaultLlmPipelineQueryHeaderParams>, 'url'> {
|
|
20
|
+
queryParams: V1DefaultLlmPipelineQueryQueryParams;
|
|
21
|
+
}
|
|
22
|
+
export declare function v1DefaultLlmPipeline(props: V1DefaultLlmPipelineProps): Promise<V1DefaultLlmPipelineOkResponse>;
|
|
23
|
+
/**
|
|
24
|
+
* Api to get the default llm pipeline yaml
|
|
25
|
+
*/
|
|
26
|
+
export declare function useV1DefaultLlmPipelineQuery(props: V1DefaultLlmPipelineProps, options?: Omit<UseQueryOptions<V1DefaultLlmPipelineOkResponse, V1DefaultLlmPipelineErrorResponse>, 'queryKey' | 'queryFn'>): import("@tanstack/react-query").UseQueryResult<V1DefaultLlmPipelineOkResponse, import("..").Error>;
|
|
@@ -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 { useQuery } from '@tanstack/react-query';
|
|
5
|
+
import { fetcher } from '../../../../fetcher/index.js';
|
|
6
|
+
export function v1DefaultLlmPipeline(props) {
|
|
7
|
+
return fetcher(Object.assign({ url: `/v1/orgs/${props.org}/projects/${props.project}/default-llm-pipeline`, method: 'GET' }, props));
|
|
8
|
+
}
|
|
9
|
+
/**
|
|
10
|
+
* Api to get the default llm pipeline yaml
|
|
11
|
+
*/
|
|
12
|
+
export function useV1DefaultLlmPipelineQuery(props, options) {
|
|
13
|
+
return useQuery(['v1-default-llm-pipeline', props.org, props.project, props.queryParams], ({ signal }) => v1DefaultLlmPipeline(Object.assign(Object.assign({}, props), { signal })), options);
|
|
14
|
+
}
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
import { UseQueryOptions } from '@tanstack/react-query';
|
|
2
|
+
import type { FlywayScriptOutputResponseResponse } from '../responses/FlywayScriptOutputResponseResponse';
|
|
3
|
+
import type { ErrorResponseResponse } from '../responses/ErrorResponseResponse';
|
|
4
|
+
import type { ResponseWithPagination } from '../helpers';
|
|
5
|
+
import { FetcherOptions } from '../../../../fetcher/index.js';
|
|
6
|
+
export interface V1FetchMigrationScriptSqlQueryPathParams {
|
|
7
|
+
org: string;
|
|
8
|
+
project: string;
|
|
9
|
+
dbschema: string;
|
|
10
|
+
dbinstance: string;
|
|
11
|
+
}
|
|
12
|
+
export interface V1FetchMigrationScriptSqlQueryQueryParams {
|
|
13
|
+
flywayVersion: string;
|
|
14
|
+
/**
|
|
15
|
+
* @format int64
|
|
16
|
+
* @default 0
|
|
17
|
+
*/
|
|
18
|
+
page?: number;
|
|
19
|
+
/**
|
|
20
|
+
* @default 10
|
|
21
|
+
*/
|
|
22
|
+
limit?: number;
|
|
23
|
+
pipelineExecutionId?: string;
|
|
24
|
+
stageExecutionId?: string;
|
|
25
|
+
}
|
|
26
|
+
export interface V1FetchMigrationScriptSqlQueryHeaderParams {
|
|
27
|
+
'Harness-Account'?: string;
|
|
28
|
+
}
|
|
29
|
+
export type V1FetchMigrationScriptSqlOkResponse = ResponseWithPagination<FlywayScriptOutputResponseResponse>;
|
|
30
|
+
export type V1FetchMigrationScriptSqlErrorResponse = ErrorResponseResponse;
|
|
31
|
+
export interface V1FetchMigrationScriptSqlProps extends V1FetchMigrationScriptSqlQueryPathParams, Omit<FetcherOptions<V1FetchMigrationScriptSqlQueryQueryParams, unknown, V1FetchMigrationScriptSqlQueryHeaderParams>, 'url'> {
|
|
32
|
+
queryParams: V1FetchMigrationScriptSqlQueryQueryParams;
|
|
33
|
+
}
|
|
34
|
+
export declare function v1FetchMigrationScriptSql(props: V1FetchMigrationScriptSqlProps): Promise<V1FetchMigrationScriptSqlOkResponse>;
|
|
35
|
+
/**
|
|
36
|
+
* Fetch flyway migration script SQL
|
|
37
|
+
*/
|
|
38
|
+
export declare function useV1FetchMigrationScriptSqlQuery(props: V1FetchMigrationScriptSqlProps, options?: Omit<UseQueryOptions<V1FetchMigrationScriptSqlOkResponse, V1FetchMigrationScriptSqlErrorResponse>, 'queryKey' | 'queryFn'>): import("@tanstack/react-query").UseQueryResult<V1FetchMigrationScriptSqlOkResponse, 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 v1FetchMigrationScriptSql(props) {
|
|
7
|
+
return fetcher(Object.assign({ url: `/v1/orgs/${props.org}/projects/${props.project}/dbschema/${props.dbschema}/dbinstance/${props.dbinstance}/migration/scripts`, method: 'GET' }, props));
|
|
8
|
+
}
|
|
9
|
+
/**
|
|
10
|
+
* Fetch flyway migration script SQL
|
|
11
|
+
*/
|
|
12
|
+
export function useV1FetchMigrationScriptSqlQuery(props, options) {
|
|
13
|
+
return useQuery([
|
|
14
|
+
'v1-fetch-migration-script-sql',
|
|
15
|
+
props.org,
|
|
16
|
+
props.project,
|
|
17
|
+
props.dbschema,
|
|
18
|
+
props.dbinstance,
|
|
19
|
+
props.queryParams,
|
|
20
|
+
], ({ signal }) => v1FetchMigrationScriptSql(Object.assign(Object.assign({}, props), { signal })), options);
|
|
21
|
+
}
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
import { UseMutationOptions } from '@tanstack/react-query';
|
|
2
|
+
import type { FlywayDeployedStateResponseResponse } from '../responses/FlywayDeployedStateResponseResponse';
|
|
3
|
+
import type { ErrorResponseResponse } from '../responses/ErrorResponseResponse';
|
|
4
|
+
import type { DeployedStateInput } from '../schemas/DeployedStateInput';
|
|
5
|
+
import type { ResponseWithPagination } from '../helpers';
|
|
6
|
+
import { FetcherOptions } from '../../../../fetcher/index.js';
|
|
7
|
+
export interface V1GetFlywayDeployedStateMutationPathParams {
|
|
8
|
+
org: string;
|
|
9
|
+
project: string;
|
|
10
|
+
dbschema: string;
|
|
11
|
+
dbinstance: string;
|
|
12
|
+
}
|
|
13
|
+
export interface V1GetFlywayDeployedStateMutationQueryParams {
|
|
14
|
+
/**
|
|
15
|
+
* @format int64
|
|
16
|
+
* @default 0
|
|
17
|
+
*/
|
|
18
|
+
page?: number;
|
|
19
|
+
/**
|
|
20
|
+
* @default 10
|
|
21
|
+
*/
|
|
22
|
+
limit?: number;
|
|
23
|
+
}
|
|
24
|
+
export interface V1GetFlywayDeployedStateMutationHeaderParams {
|
|
25
|
+
'Harness-Account'?: string;
|
|
26
|
+
}
|
|
27
|
+
export type V1GetFlywayDeployedStateRequestBody = DeployedStateInput;
|
|
28
|
+
export type V1GetFlywayDeployedStateOkResponse = ResponseWithPagination<FlywayDeployedStateResponseResponse>;
|
|
29
|
+
export type V1GetFlywayDeployedStateErrorResponse = ErrorResponseResponse;
|
|
30
|
+
export interface V1GetFlywayDeployedStateProps extends V1GetFlywayDeployedStateMutationPathParams, Omit<FetcherOptions<V1GetFlywayDeployedStateMutationQueryParams, V1GetFlywayDeployedStateRequestBody, V1GetFlywayDeployedStateMutationHeaderParams>, 'url'> {
|
|
31
|
+
queryParams: V1GetFlywayDeployedStateMutationQueryParams;
|
|
32
|
+
body: V1GetFlywayDeployedStateRequestBody;
|
|
33
|
+
}
|
|
34
|
+
export declare function v1GetFlywayDeployedState(props: V1GetFlywayDeployedStateProps): Promise<V1GetFlywayDeployedStateOkResponse>;
|
|
35
|
+
/**
|
|
36
|
+
* Status of migration script deployment as part of execution with comparison to earlier state.
|
|
37
|
+
*/
|
|
38
|
+
export declare function useV1GetFlywayDeployedStateMutation(options?: Omit<UseMutationOptions<V1GetFlywayDeployedStateOkResponse, V1GetFlywayDeployedStateErrorResponse, V1GetFlywayDeployedStateProps>, 'mutationKey' | 'mutationFn'>): import("@tanstack/react-query").UseMutationResult<V1GetFlywayDeployedStateOkResponse, import("..").Error, V1GetFlywayDeployedStateProps, 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 v1GetFlywayDeployedState(props) {
|
|
7
|
+
return fetcher(Object.assign({ url: `/v1/orgs/${props.org}/projects/${props.project}/dbschema/${props.dbschema}/instance/${props.dbinstance}/flyway/deployedState`, method: 'POST' }, props));
|
|
8
|
+
}
|
|
9
|
+
/**
|
|
10
|
+
* Status of migration script deployment as part of execution with comparison to earlier state.
|
|
11
|
+
*/
|
|
12
|
+
export function useV1GetFlywayDeployedStateMutation(options) {
|
|
13
|
+
return useMutation((mutateProps) => v1GetFlywayDeployedState(mutateProps), options);
|
|
14
|
+
}
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
import { UseQueryOptions } from '@tanstack/react-query';
|
|
2
|
+
import type { SnapshotObjectNamesResponseResponse } from '../responses/SnapshotObjectNamesResponseResponse';
|
|
3
|
+
import type { ErrorResponseResponse } from '../responses/ErrorResponseResponse';
|
|
4
|
+
import type { ResponseWithPagination } from '../helpers';
|
|
5
|
+
import { FetcherOptions } from '../../../../fetcher/index.js';
|
|
6
|
+
export interface V1GetSnapshotObjectNamesQueryPathParams {
|
|
7
|
+
org: string;
|
|
8
|
+
project: string;
|
|
9
|
+
dbschema: string;
|
|
10
|
+
dbinstance: string;
|
|
11
|
+
}
|
|
12
|
+
export interface V1GetSnapshotObjectNamesQueryQueryParams {
|
|
13
|
+
/**
|
|
14
|
+
* @format int64
|
|
15
|
+
* @default 0
|
|
16
|
+
*/
|
|
17
|
+
page?: number;
|
|
18
|
+
/**
|
|
19
|
+
* @default 10
|
|
20
|
+
*/
|
|
21
|
+
limit?: number;
|
|
22
|
+
objectType: string;
|
|
23
|
+
}
|
|
24
|
+
export interface V1GetSnapshotObjectNamesQueryHeaderParams {
|
|
25
|
+
'Harness-Account'?: string;
|
|
26
|
+
}
|
|
27
|
+
export type V1GetSnapshotObjectNamesOkResponse = ResponseWithPagination<SnapshotObjectNamesResponseResponse>;
|
|
28
|
+
export type V1GetSnapshotObjectNamesErrorResponse = ErrorResponseResponse;
|
|
29
|
+
export interface V1GetSnapshotObjectNamesProps extends V1GetSnapshotObjectNamesQueryPathParams, Omit<FetcherOptions<V1GetSnapshotObjectNamesQueryQueryParams, unknown, V1GetSnapshotObjectNamesQueryHeaderParams>, 'url'> {
|
|
30
|
+
queryParams: V1GetSnapshotObjectNamesQueryQueryParams;
|
|
31
|
+
}
|
|
32
|
+
export declare function v1GetSnapshotObjectNames(props: V1GetSnapshotObjectNamesProps): Promise<V1GetSnapshotObjectNamesOkResponse>;
|
|
33
|
+
/**
|
|
34
|
+
* Retrieves a paginated list of object names for the latest database snapshot of the given instance based on object type
|
|
35
|
+
*/
|
|
36
|
+
export declare function useV1GetSnapshotObjectNamesQuery(props: V1GetSnapshotObjectNamesProps, options?: Omit<UseQueryOptions<V1GetSnapshotObjectNamesOkResponse, V1GetSnapshotObjectNamesErrorResponse>, 'queryKey' | 'queryFn'>): import("@tanstack/react-query").UseQueryResult<V1GetSnapshotObjectNamesOkResponse, 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 v1GetSnapshotObjectNames(props) {
|
|
7
|
+
return fetcher(Object.assign({ url: `/v1/orgs/${props.org}/projects/${props.project}/dbschema/${props.dbschema}/dbinstance/${props.dbinstance}/snapshot-object-names`, method: 'GET' }, props));
|
|
8
|
+
}
|
|
9
|
+
/**
|
|
10
|
+
* Retrieves a paginated list of object names for the latest database snapshot of the given instance based on object type
|
|
11
|
+
*/
|
|
12
|
+
export function useV1GetSnapshotObjectNamesQuery(props, options) {
|
|
13
|
+
return useQuery([
|
|
14
|
+
'v1-get-snapshot-object-names',
|
|
15
|
+
props.org,
|
|
16
|
+
props.project,
|
|
17
|
+
props.dbschema,
|
|
18
|
+
props.dbinstance,
|
|
19
|
+
props.queryParams,
|
|
20
|
+
], ({ signal }) => v1GetSnapshotObjectNames(Object.assign(Object.assign({}, props), { signal })), options);
|
|
21
|
+
}
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
import { UseMutationOptions } from '@tanstack/react-query';
|
|
2
|
+
import type { SnapshotObjectValuesResponseResponse } from '../responses/SnapshotObjectValuesResponseResponse';
|
|
3
|
+
import type { ErrorResponseResponse } from '../responses/ErrorResponseResponse';
|
|
4
|
+
import type { SnapshotObjectValuesInput } from '../schemas/SnapshotObjectValuesInput';
|
|
5
|
+
import type { ResponseWithPagination } from '../helpers';
|
|
6
|
+
import { FetcherOptions } from '../../../../fetcher/index.js';
|
|
7
|
+
export interface V1GetSnapshotObjectValuesMutationPathParams {
|
|
8
|
+
org: string;
|
|
9
|
+
project: string;
|
|
10
|
+
dbschema: string;
|
|
11
|
+
dbinstance: string;
|
|
12
|
+
}
|
|
13
|
+
export interface V1GetSnapshotObjectValuesMutationHeaderParams {
|
|
14
|
+
'Harness-Account'?: string;
|
|
15
|
+
}
|
|
16
|
+
export type V1GetSnapshotObjectValuesRequestBody = SnapshotObjectValuesInput;
|
|
17
|
+
export type V1GetSnapshotObjectValuesOkResponse = ResponseWithPagination<SnapshotObjectValuesResponseResponse>;
|
|
18
|
+
export type V1GetSnapshotObjectValuesErrorResponse = ErrorResponseResponse;
|
|
19
|
+
export interface V1GetSnapshotObjectValuesProps extends V1GetSnapshotObjectValuesMutationPathParams, Omit<FetcherOptions<unknown, V1GetSnapshotObjectValuesRequestBody, V1GetSnapshotObjectValuesMutationHeaderParams>, 'url'> {
|
|
20
|
+
body: V1GetSnapshotObjectValuesRequestBody;
|
|
21
|
+
}
|
|
22
|
+
export declare function v1GetSnapshotObjectValues(props: V1GetSnapshotObjectValuesProps): Promise<V1GetSnapshotObjectValuesOkResponse>;
|
|
23
|
+
/**
|
|
24
|
+
* Retrieves object values for a list of object names from the latest database snapshot of the given instance based on object type
|
|
25
|
+
*/
|
|
26
|
+
export declare function useV1GetSnapshotObjectValuesMutation(options?: Omit<UseMutationOptions<V1GetSnapshotObjectValuesOkResponse, V1GetSnapshotObjectValuesErrorResponse, V1GetSnapshotObjectValuesProps>, 'mutationKey' | 'mutationFn'>): import("@tanstack/react-query").UseMutationResult<V1GetSnapshotObjectValuesOkResponse, import("..").Error, V1GetSnapshotObjectValuesProps, 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 v1GetSnapshotObjectValues(props) {
|
|
7
|
+
return fetcher(Object.assign({ url: `/v1/orgs/${props.org}/projects/${props.project}/dbschema/${props.dbschema}/dbinstance/${props.dbinstance}/snapshot-object-values`, method: 'POST' }, props));
|
|
8
|
+
}
|
|
9
|
+
/**
|
|
10
|
+
* Retrieves object values for a list of object names from the latest database snapshot of the given instance based on object type
|
|
11
|
+
*/
|
|
12
|
+
export function useV1GetSnapshotObjectValuesMutation(options) {
|
|
13
|
+
return useMutation((mutateProps) => v1GetSnapshotObjectValues(mutateProps), options);
|
|
14
|
+
}
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
import { UseQueryOptions } from '@tanstack/react-query';
|
|
2
|
+
import type { FlywayMigrationScriptResponseResponse } from '../responses/FlywayMigrationScriptResponseResponse';
|
|
3
|
+
import type { ErrorResponseResponse } from '../responses/ErrorResponseResponse';
|
|
4
|
+
import type { ResponseWithPagination } from '../helpers';
|
|
5
|
+
import { FetcherOptions } from '../../../../fetcher/index.js';
|
|
6
|
+
export interface V1StepFlywayMigrationScriptsQueryQueryParams {
|
|
7
|
+
pipelineExecutionId: string;
|
|
8
|
+
stageExecutionId: string;
|
|
9
|
+
/**
|
|
10
|
+
* @format int64
|
|
11
|
+
* @default 0
|
|
12
|
+
*/
|
|
13
|
+
page?: number;
|
|
14
|
+
/**
|
|
15
|
+
* @default 10
|
|
16
|
+
*/
|
|
17
|
+
limit?: number;
|
|
18
|
+
parent_id?: string;
|
|
19
|
+
dbSchema: string;
|
|
20
|
+
dbInstance: string;
|
|
21
|
+
command: 'Migrate' | 'Undo';
|
|
22
|
+
}
|
|
23
|
+
export interface V1StepFlywayMigrationScriptsQueryHeaderParams {
|
|
24
|
+
'Harness-Account'?: string;
|
|
25
|
+
}
|
|
26
|
+
export type V1StepFlywayMigrationScriptsOkResponse = ResponseWithPagination<FlywayMigrationScriptResponseResponse>;
|
|
27
|
+
export type V1StepFlywayMigrationScriptsErrorResponse = ErrorResponseResponse;
|
|
28
|
+
export interface V1StepFlywayMigrationScriptsProps extends Omit<FetcherOptions<V1StepFlywayMigrationScriptsQueryQueryParams, unknown, V1StepFlywayMigrationScriptsQueryHeaderParams>, 'url'> {
|
|
29
|
+
queryParams: V1StepFlywayMigrationScriptsQueryQueryParams;
|
|
30
|
+
}
|
|
31
|
+
export declare function v1StepFlywayMigrationScripts(props: V1StepFlywayMigrationScriptsProps): Promise<V1StepFlywayMigrationScriptsOkResponse>;
|
|
32
|
+
/**
|
|
33
|
+
* get flyway migration scripts
|
|
34
|
+
*/
|
|
35
|
+
export declare function useV1StepFlywayMigrationScriptsQuery(props: V1StepFlywayMigrationScriptsProps, options?: Omit<UseQueryOptions<V1StepFlywayMigrationScriptsOkResponse, V1StepFlywayMigrationScriptsErrorResponse>, 'queryKey' | 'queryFn'>): import("@tanstack/react-query").UseQueryResult<V1StepFlywayMigrationScriptsOkResponse, import("..").Error>;
|
|
@@ -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 { useQuery } from '@tanstack/react-query';
|
|
5
|
+
import { fetcher } from '../../../../fetcher/index.js';
|
|
6
|
+
export function v1StepFlywayMigrationScripts(props) {
|
|
7
|
+
return fetcher(Object.assign({ url: `/v1/step/flyway/migrationscripts`, method: 'GET' }, props));
|
|
8
|
+
}
|
|
9
|
+
/**
|
|
10
|
+
* get flyway migration scripts
|
|
11
|
+
*/
|
|
12
|
+
export function useV1StepFlywayMigrationScriptsQuery(props, options) {
|
|
13
|
+
return useQuery(['v1-step-flyway-migration-scripts', props.queryParams], ({ signal }) => v1StepFlywayMigrationScripts(Object.assign(Object.assign({}, props), { signal })), options);
|
|
14
|
+
}
|
|
@@ -1,6 +1,8 @@
|
|
|
1
1
|
export type { GetPathParamsType, ResponseWithPagination } from './helpers';
|
|
2
2
|
export type { ConsumeFailureInterruptErrorResponse, ConsumeFailureInterruptOkResponse, ConsumeFailureInterruptProps, ConsumeFailureInterruptRequestBody, } from './hooks/useConsumeFailureInterruptMutation';
|
|
3
3
|
export { consumeFailureInterrupt, useConsumeFailureInterruptMutation, } from './hooks/useConsumeFailureInterruptMutation';
|
|
4
|
+
export type { ConsumeFlywayFailureInterruptErrorResponse, ConsumeFlywayFailureInterruptOkResponse, ConsumeFlywayFailureInterruptProps, ConsumeFlywayFailureInterruptRequestBody, } from './hooks/useConsumeFlywayFailureInterruptMutation';
|
|
5
|
+
export { consumeFlywayFailureInterrupt, useConsumeFlywayFailureInterruptMutation, } from './hooks/useConsumeFlywayFailureInterruptMutation';
|
|
4
6
|
export type { ConsumeV1FlywayStepPluginOutputResponseErrorResponse, ConsumeV1FlywayStepPluginOutputResponseOkResponse, ConsumeV1FlywayStepPluginOutputResponseProps, ConsumeV1FlywayStepPluginOutputResponseRequestBody, } from './hooks/useConsumeV1FlywayStepPluginOutputResponseMutation';
|
|
5
7
|
export { consumeV1FlywayStepPluginOutputResponse, useConsumeV1FlywayStepPluginOutputResponseMutation, } from './hooks/useConsumeV1FlywayStepPluginOutputResponseMutation';
|
|
6
8
|
export type { ConsumeV1StepPluginOutputResponseErrorResponse, ConsumeV1StepPluginOutputResponseOkResponse, ConsumeV1StepPluginOutputResponseProps, ConsumeV1StepPluginOutputResponseRequestBody, } from './hooks/useConsumeV1StepPluginOutputResponseMutation';
|
|
@@ -13,6 +15,8 @@ export type { CreateV1StepPluginInputsErrorResponse, CreateV1StepPluginInputsOkR
|
|
|
13
15
|
export { createV1StepPluginInputs, useCreateV1StepPluginInputsMutation, } from './hooks/useCreateV1StepPluginInputsMutation';
|
|
14
16
|
export type { GetV1CustomOperationsErrorResponse, GetV1CustomOperationsOkResponse, GetV1CustomOperationsProps, GetV1CustomOperationsRequestBody, } from './hooks/useGetV1CustomOperationsMutation';
|
|
15
17
|
export { getV1CustomOperations, useGetV1CustomOperationsMutation, } from './hooks/useGetV1CustomOperationsMutation';
|
|
18
|
+
export type { GetV1FlywayCustomOperationsErrorResponse, GetV1FlywayCustomOperationsMutationQueryParams, GetV1FlywayCustomOperationsOkResponse, GetV1FlywayCustomOperationsProps, GetV1FlywayCustomOperationsRequestBody, } from './hooks/useGetV1FlywayCustomOperationsMutation';
|
|
19
|
+
export { getV1FlywayCustomOperations, useGetV1FlywayCustomOperationsMutation, } from './hooks/useGetV1FlywayCustomOperationsMutation';
|
|
16
20
|
export type { GetV1SchemaInstanceMetadataErrorResponse, GetV1SchemaInstanceMetadataOkResponse, GetV1SchemaInstanceMetadataProps, GetV1SchemaInstanceMetadataRequestBody, } from './hooks/useGetV1SchemaInstanceMetadataMutation';
|
|
17
21
|
export { getV1SchemaInstanceMetadata, useGetV1SchemaInstanceMetadataMutation, } from './hooks/useGetV1SchemaInstanceMetadataMutation';
|
|
18
22
|
export type { PostV1DbopsDbSnapshotMetadataErrorResponse, PostV1DbopsDbSnapshotMetadataMutationPathParams, PostV1DbopsDbSnapshotMetadataMutationQueryParams, PostV1DbopsDbSnapshotMetadataOkResponse, PostV1DbopsDbSnapshotMetadataProps, PostV1DbopsDbSnapshotMetadataRequestBody, } from './hooks/usePostV1DbopsDbSnapshotMetadataMutation';
|
|
@@ -27,6 +31,8 @@ export type { V1CreateProjDbSchemaInstanceErrorResponse, V1CreateProjDbSchemaIns
|
|
|
27
31
|
export { useV1CreateProjDbSchemaInstanceMutation, v1CreateProjDbSchemaInstance, } from './hooks/useV1CreateProjDbSchemaInstanceMutation';
|
|
28
32
|
export type { V1CreateProjDbSchemaErrorResponse, V1CreateProjDbSchemaMutationPathParams, V1CreateProjDbSchemaOkResponse, V1CreateProjDbSchemaProps, V1CreateProjDbSchemaRequestBody, } from './hooks/useV1CreateProjDbSchemaMutation';
|
|
29
33
|
export { useV1CreateProjDbSchemaMutation, v1CreateProjDbSchema, } from './hooks/useV1CreateProjDbSchemaMutation';
|
|
34
|
+
export type { V1DefaultLlmPipelineErrorResponse, V1DefaultLlmPipelineOkResponse, V1DefaultLlmPipelineProps, V1DefaultLlmPipelineQueryPathParams, V1DefaultLlmPipelineQueryQueryParams, } from './hooks/useV1DefaultLlmPipelineQuery';
|
|
35
|
+
export { useV1DefaultLlmPipelineQuery, v1DefaultLlmPipeline, } from './hooks/useV1DefaultLlmPipelineQuery';
|
|
30
36
|
export type { V1DeleteDbSchemaErrorResponse, V1DeleteDbSchemaMutationQueryParams, V1DeleteDbSchemaOkResponse, V1DeleteDbSchemaProps, } from './hooks/useV1DeleteDbSchemaMutation';
|
|
31
37
|
export { useV1DeleteDbSchemaMutation, v1DeleteDbSchema } from './hooks/useV1DeleteDbSchemaMutation';
|
|
32
38
|
export type { V1DeleteExecutionConfigErrorResponse, V1DeleteExecutionConfigOkResponse, V1DeleteExecutionConfigProps, } from './hooks/useV1DeleteExecutionConfigMutation';
|
|
@@ -37,6 +43,8 @@ export type { V1DeleteProjDbSchemaErrorResponse, V1DeleteProjDbSchemaMutationPat
|
|
|
37
43
|
export { useV1DeleteProjDbSchemaMutation, v1DeleteProjDbSchema, } from './hooks/useV1DeleteProjDbSchemaMutation';
|
|
38
44
|
export type { V1FetchDeployedChangesetSqlErrorResponse, V1FetchDeployedChangesetSqlMutationPathParams, V1FetchDeployedChangesetSqlMutationQueryParams, V1FetchDeployedChangesetSqlOkResponse, V1FetchDeployedChangesetSqlProps, V1FetchDeployedChangesetSqlRequestBody, } from './hooks/useV1FetchDeployedChangesetSqlMutation';
|
|
39
45
|
export { useV1FetchDeployedChangesetSqlMutation, v1FetchDeployedChangesetSql, } from './hooks/useV1FetchDeployedChangesetSqlMutation';
|
|
46
|
+
export type { V1FetchMigrationScriptSqlErrorResponse, V1FetchMigrationScriptSqlOkResponse, V1FetchMigrationScriptSqlProps, V1FetchMigrationScriptSqlQueryPathParams, V1FetchMigrationScriptSqlQueryQueryParams, } from './hooks/useV1FetchMigrationScriptSqlQuery';
|
|
47
|
+
export { useV1FetchMigrationScriptSqlQuery, v1FetchMigrationScriptSql, } from './hooks/useV1FetchMigrationScriptSqlQuery';
|
|
40
48
|
export type { V1GetCustomerConfigErrorResponse, V1GetCustomerConfigOkResponse, V1GetCustomerConfigProps, V1GetCustomerConfigQueryQueryParams, } from './hooks/useV1GetCustomerConfigQuery';
|
|
41
49
|
export { useV1GetCustomerConfigQuery, v1GetCustomerConfig, } from './hooks/useV1GetCustomerConfigQuery';
|
|
42
50
|
export type { V1GetDbOverviewErrorResponse, V1GetDbOverviewOkResponse, V1GetDbOverviewProps, V1GetDbOverviewQueryPathParams, } from './hooks/useV1GetDbOverviewQuery';
|
|
@@ -47,12 +55,18 @@ export type { V1GetDefaultConfigErrorResponse, V1GetDefaultConfigOkResponse, V1G
|
|
|
47
55
|
export { useV1GetDefaultConfigQuery, v1GetDefaultConfig } from './hooks/useV1GetDefaultConfigQuery';
|
|
48
56
|
export type { V1GetDeployedStateErrorResponse, V1GetDeployedStateMutationPathParams, V1GetDeployedStateMutationQueryParams, V1GetDeployedStateOkResponse, V1GetDeployedStateProps, V1GetDeployedStateRequestBody, } from './hooks/useV1GetDeployedStateMutation';
|
|
49
57
|
export { useV1GetDeployedStateMutation, v1GetDeployedState, } from './hooks/useV1GetDeployedStateMutation';
|
|
58
|
+
export type { V1GetFlywayDeployedStateErrorResponse, V1GetFlywayDeployedStateMutationPathParams, V1GetFlywayDeployedStateMutationQueryParams, V1GetFlywayDeployedStateOkResponse, V1GetFlywayDeployedStateProps, V1GetFlywayDeployedStateRequestBody, } from './hooks/useV1GetFlywayDeployedStateMutation';
|
|
59
|
+
export { useV1GetFlywayDeployedStateMutation, v1GetFlywayDeployedState, } from './hooks/useV1GetFlywayDeployedStateMutation';
|
|
50
60
|
export type { V1GetPipelineExecutionStatusErrorResponse, V1GetPipelineExecutionStatusOkResponse, V1GetPipelineExecutionStatusProps, V1GetPipelineExecutionStatusQueryPathParams, V1GetPipelineExecutionStatusQueryQueryParams, } from './hooks/useV1GetPipelineExecutionStatusQuery';
|
|
51
61
|
export { useV1GetPipelineExecutionStatusQuery, v1GetPipelineExecutionStatus, } from './hooks/useV1GetPipelineExecutionStatusQuery';
|
|
52
62
|
export type { V1GetProjDbSchemaInstanceErrorResponse, V1GetProjDbSchemaInstanceOkResponse, V1GetProjDbSchemaInstanceProps, V1GetProjDbSchemaInstanceQueryPathParams, } from './hooks/useV1GetProjDbSchemaInstanceQuery';
|
|
53
63
|
export { useV1GetProjDbSchemaInstanceQuery, v1GetProjDbSchemaInstance, } from './hooks/useV1GetProjDbSchemaInstanceQuery';
|
|
54
64
|
export type { V1GetProjDbSchemaErrorResponse, V1GetProjDbSchemaOkResponse, V1GetProjDbSchemaProps, V1GetProjDbSchemaQueryPathParams, } from './hooks/useV1GetProjDbSchemaQuery';
|
|
55
65
|
export { useV1GetProjDbSchemaQuery, v1GetProjDbSchema } from './hooks/useV1GetProjDbSchemaQuery';
|
|
66
|
+
export type { V1GetSnapshotObjectNamesErrorResponse, V1GetSnapshotObjectNamesOkResponse, V1GetSnapshotObjectNamesProps, V1GetSnapshotObjectNamesQueryPathParams, V1GetSnapshotObjectNamesQueryQueryParams, } from './hooks/useV1GetSnapshotObjectNamesQuery';
|
|
67
|
+
export { useV1GetSnapshotObjectNamesQuery, v1GetSnapshotObjectNames, } from './hooks/useV1GetSnapshotObjectNamesQuery';
|
|
68
|
+
export type { V1GetSnapshotObjectValuesErrorResponse, V1GetSnapshotObjectValuesMutationPathParams, V1GetSnapshotObjectValuesOkResponse, V1GetSnapshotObjectValuesProps, V1GetSnapshotObjectValuesRequestBody, } from './hooks/useV1GetSnapshotObjectValuesMutation';
|
|
69
|
+
export { useV1GetSnapshotObjectValuesMutation, v1GetSnapshotObjectValues, } from './hooks/useV1GetSnapshotObjectValuesMutation';
|
|
56
70
|
export type { V1IngestLogsErrorResponse, V1IngestLogsMutationPathParams, V1IngestLogsOkResponse, V1IngestLogsProps, V1IngestLogsRequestBody, } from './hooks/useV1IngestLogsMutation';
|
|
57
71
|
export { useV1IngestLogsMutation, v1IngestLogs } from './hooks/useV1IngestLogsMutation';
|
|
58
72
|
export type { V1ListDatabaseSchemaErrorResponse, V1ListDatabaseSchemaOkResponse, V1ListDatabaseSchemaProps, V1ListDatabaseSchemaQueryQueryParams, } from './hooks/useV1ListDatabaseSchemaQuery';
|
|
@@ -71,6 +85,8 @@ export type { V1MigrationStateProjDbSchemaErrorResponse, V1MigrationStateProjDbS
|
|
|
71
85
|
export { useV1MigrationStateProjDbSchemaMutation, v1MigrationStateProjDbSchema, } from './hooks/useV1MigrationStateProjDbSchemaMutation';
|
|
72
86
|
export type { V1ResetExecutionConfigErrorResponse, V1ResetExecutionConfigOkResponse, V1ResetExecutionConfigProps, V1ResetExecutionConfigRequestBody, } from './hooks/useV1ResetExecutionConfigMutation';
|
|
73
87
|
export { useV1ResetExecutionConfigMutation, v1ResetExecutionConfig, } from './hooks/useV1ResetExecutionConfigMutation';
|
|
88
|
+
export type { V1StepFlywayMigrationScriptsErrorResponse, V1StepFlywayMigrationScriptsOkResponse, V1StepFlywayMigrationScriptsProps, V1StepFlywayMigrationScriptsQueryQueryParams, } from './hooks/useV1StepFlywayMigrationScriptsQuery';
|
|
89
|
+
export { useV1StepFlywayMigrationScriptsQuery, v1StepFlywayMigrationScripts, } from './hooks/useV1StepFlywayMigrationScriptsQuery';
|
|
74
90
|
export type { V1UpdateExecutionConfigErrorResponse, V1UpdateExecutionConfigOkResponse, V1UpdateExecutionConfigProps, V1UpdateExecutionConfigRequestBody, } from './hooks/useV1UpdateExecutionConfigMutation';
|
|
75
91
|
export { useV1UpdateExecutionConfigMutation, v1UpdateExecutionConfig, } from './hooks/useV1UpdateExecutionConfigMutation';
|
|
76
92
|
export type { V1UpdateProjDbSchemaInstanceErrorResponse, V1UpdateProjDbSchemaInstanceMutationPathParams, V1UpdateProjDbSchemaInstanceOkResponse, V1UpdateProjDbSchemaInstanceProps, V1UpdateProjDbSchemaInstanceRequestBody, } from './hooks/useV1UpdateProjDbSchemaInstanceMutation';
|
|
@@ -96,6 +112,8 @@ export type { DbSnapshotMetadataCreateRequestRequestBody } from './requestBodies
|
|
|
96
112
|
export type { ExecutionConfigUpdateRequestRequestBody } from './requestBodies/ExecutionConfigUpdateRequestRequestBody';
|
|
97
113
|
export type { FailureInterruptRequestRequestBody } from './requestBodies/FailureInterruptRequestRequestBody';
|
|
98
114
|
export type { FetchSqlStatementRequestRequestBody } from './requestBodies/FetchSqlStatementRequestRequestBody';
|
|
115
|
+
export type { FlywayCustomOperationRequestRequestBody } from './requestBodies/FlywayCustomOperationRequestRequestBody';
|
|
116
|
+
export type { FlywayFailureInterruptRequestRequestBody } from './requestBodies/FlywayFailureInterruptRequestRequestBody';
|
|
99
117
|
export type { FlywayPluginInputsRequestRequestBody } from './requestBodies/FlywayPluginInputsRequestRequestBody';
|
|
100
118
|
export type { LogIngestRequestRequestBody } from './requestBodies/LogIngestRequestRequestBody';
|
|
101
119
|
export type { MigrationStateGetRequestRequestBody } from './requestBodies/MigrationStateGetRequestRequestBody';
|
|
@@ -112,9 +130,13 @@ export type { ErrorResponseResponse } from './responses/ErrorResponseResponse';
|
|
|
112
130
|
export type { ExecutionConfigSuccessResponseResponse } from './responses/ExecutionConfigSuccessResponseResponse';
|
|
113
131
|
export type { ExecutionConfigTagsResponseResponse } from './responses/ExecutionConfigTagsResponseResponse';
|
|
114
132
|
export type { FetchSqlStatementResponseResponse } from './responses/FetchSqlStatementResponseResponse';
|
|
133
|
+
export type { FlywayCustomOperationResponseResponse } from './responses/FlywayCustomOperationResponseResponse';
|
|
134
|
+
export type { FlywayDeployedStateResponseResponse } from './responses/FlywayDeployedStateResponseResponse';
|
|
115
135
|
export type { FlywayInstanceMigrationStateResponseResponse } from './responses/FlywayInstanceMigrationStateResponseResponse';
|
|
136
|
+
export type { FlywayMigrationScriptResponseResponse } from './responses/FlywayMigrationScriptResponseResponse';
|
|
116
137
|
export type { FlywayMigrationStateResponseResponse } from './responses/FlywayMigrationStateResponseResponse';
|
|
117
138
|
export type { FlywayPluginInputsResponseResponse } from './responses/FlywayPluginInputsResponseResponse';
|
|
139
|
+
export type { FlywayScriptOutputResponseResponse } from './responses/FlywayScriptOutputResponseResponse';
|
|
118
140
|
export type { InstanceMigrationStateResponseResponse } from './responses/InstanceMigrationStateResponseResponse';
|
|
119
141
|
export type { MigrationStateResponseResponse } from './responses/MigrationStateResponseResponse';
|
|
120
142
|
export type { OverviewResponseResponse } from './responses/OverviewResponseResponse';
|
|
@@ -122,6 +144,9 @@ export type { ParsedLogResponseResponse } from './responses/ParsedLogResponseRes
|
|
|
122
144
|
export type { PipelineStatusResponseResponse } from './responses/PipelineStatusResponseResponse';
|
|
123
145
|
export type { PluginInputsResponseResponse } from './responses/PluginInputsResponseResponse';
|
|
124
146
|
export type { SchemaInstanceMetadataResponseResponse } from './responses/SchemaInstanceMetadataResponseResponse';
|
|
147
|
+
export type { SnapshotObjectNamesResponseResponse } from './responses/SnapshotObjectNamesResponseResponse';
|
|
148
|
+
export type { SnapshotObjectValuesResponseResponse } from './responses/SnapshotObjectValuesResponseResponse';
|
|
149
|
+
export type { AppliedScriptOutput } from './schemas/AppliedScriptOutput';
|
|
125
150
|
export type { ChangeLogScript } from './schemas/ChangeLogScript';
|
|
126
151
|
export type { ChangeSetDeploymentStatus } from './schemas/ChangeSetDeploymentStatus';
|
|
127
152
|
export type { ChangeSetDeploymentYamlOutput } from './schemas/ChangeSetDeploymentYamlOutput';
|
|
@@ -142,6 +167,7 @@ export type { DbSchemaOut } from './schemas/DbSchemaOut';
|
|
|
142
167
|
export type { DbSchemaType } from './schemas/DbSchemaType';
|
|
143
168
|
export type { DbSnapshotMetadataIn } from './schemas/DbSnapshotMetadataIn';
|
|
144
169
|
export type { DbStepType } from './schemas/DbStepType';
|
|
170
|
+
export type { DefaultPipelineOutput } from './schemas/DefaultPipelineOutput';
|
|
145
171
|
export type { DeployedChangeSets } from './schemas/DeployedChangeSets';
|
|
146
172
|
export type { DeployedChangesetSqlOutput } from './schemas/DeployedChangesetSqlOutput';
|
|
147
173
|
export type { DeployedStateInput } from './schemas/DeployedStateInput';
|
|
@@ -152,8 +178,14 @@ export type { ExecutionConfigTags } from './schemas/ExecutionConfigTags';
|
|
|
152
178
|
export type { ExecutionMetadata } from './schemas/ExecutionMetadata';
|
|
153
179
|
export type { FlywayAppliedMigration } from './schemas/FlywayAppliedMigration';
|
|
154
180
|
export type { FlywayCommand } from './schemas/FlywayCommand';
|
|
181
|
+
export type { FlywayCommandExecutionStatus } from './schemas/FlywayCommandExecutionStatus';
|
|
182
|
+
export type { FlywayCustomOperationInput } from './schemas/FlywayCustomOperationInput';
|
|
183
|
+
export type { FlywayCustomOperationOutput } from './schemas/FlywayCustomOperationOutput';
|
|
184
|
+
export type { FlywayCustomOperations } from './schemas/FlywayCustomOperations';
|
|
185
|
+
export type { FlywayDeployedStateOutput } from './schemas/FlywayDeployedStateOutput';
|
|
155
186
|
export type { FlywayInstanceMigrationState } from './schemas/FlywayInstanceMigrationState';
|
|
156
187
|
export type { FlywayInstanceMigrationStateOutput } from './schemas/FlywayInstanceMigrationStateOutput';
|
|
188
|
+
export type { FlywayMigrationScriptOutput } from './schemas/FlywayMigrationScriptOutput';
|
|
157
189
|
export type { FlywayMigrationStateOutput } from './schemas/FlywayMigrationStateOutput';
|
|
158
190
|
export type { InstanceDetail } from './schemas/InstanceDetail';
|
|
159
191
|
export type { InstanceMigrationStateChangeSet } from './schemas/InstanceMigrationStateChangeSet';
|
|
@@ -172,4 +204,8 @@ export type { PipelineExecutionMetadata } from './schemas/PipelineExecutionMetad
|
|
|
172
204
|
export type { PipelineStatusOutput } from './schemas/PipelineStatusOutput';
|
|
173
205
|
export type { SchemaInstanceMetadataInput } from './schemas/SchemaInstanceMetadataInput';
|
|
174
206
|
export type { SchemaInstanceMetadataOutput } from './schemas/SchemaInstanceMetadataOutput';
|
|
207
|
+
export type { SnapshotObjectNamesOutput } from './schemas/SnapshotObjectNamesOutput';
|
|
208
|
+
export type { SnapshotObjectValue } from './schemas/SnapshotObjectValue';
|
|
209
|
+
export type { SnapshotObjectValuesInput } from './schemas/SnapshotObjectValuesInput';
|
|
210
|
+
export type { SnapshotObjectValuesOutput } from './schemas/SnapshotObjectValuesOutput';
|
|
175
211
|
export type { SortInstance } from './schemas/SortInstance';
|
|
@@ -1,10 +1,12 @@
|
|
|
1
1
|
export { consumeFailureInterrupt, useConsumeFailureInterruptMutation, } from './hooks/useConsumeFailureInterruptMutation';
|
|
2
|
+
export { consumeFlywayFailureInterrupt, useConsumeFlywayFailureInterruptMutation, } from './hooks/useConsumeFlywayFailureInterruptMutation';
|
|
2
3
|
export { consumeV1FlywayStepPluginOutputResponse, useConsumeV1FlywayStepPluginOutputResponseMutation, } from './hooks/useConsumeV1FlywayStepPluginOutputResponseMutation';
|
|
3
4
|
export { consumeV1StepPluginOutputResponse, useConsumeV1StepPluginOutputResponseMutation, } from './hooks/useConsumeV1StepPluginOutputResponseMutation';
|
|
4
5
|
export { consumeV1StepPluginResponse, useConsumeV1StepPluginResponseMutation, } from './hooks/useConsumeV1StepPluginResponseMutation';
|
|
5
6
|
export { createV1FlywayPluginInputs, useCreateV1FlywayPluginInputsMutation, } from './hooks/useCreateV1FlywayPluginInputsMutation';
|
|
6
7
|
export { createV1StepPluginInputs, useCreateV1StepPluginInputsMutation, } from './hooks/useCreateV1StepPluginInputsMutation';
|
|
7
8
|
export { getV1CustomOperations, useGetV1CustomOperationsMutation, } from './hooks/useGetV1CustomOperationsMutation';
|
|
9
|
+
export { getV1FlywayCustomOperations, useGetV1FlywayCustomOperationsMutation, } from './hooks/useGetV1FlywayCustomOperationsMutation';
|
|
8
10
|
export { getV1SchemaInstanceMetadata, useGetV1SchemaInstanceMetadataMutation, } from './hooks/useGetV1SchemaInstanceMetadataMutation';
|
|
9
11
|
export { postV1DbopsDbSnapshotMetadata, usePostV1DbopsDbSnapshotMetadataMutation, } from './hooks/usePostV1DbopsDbSnapshotMetadataMutation';
|
|
10
12
|
export { postV1DbopsMetadataSnapshot, usePostV1DbopsMetadataSnapshotMutation, } from './hooks/usePostV1DbopsMetadataSnapshotMutation';
|
|
@@ -12,19 +14,24 @@ export { useV1ChangesetYamlProjDbInstanceQuery, v1ChangesetYamlProjDbInstance, }
|
|
|
12
14
|
export { useV1ChangesetmetadataProjDbInstanceQuery, v1ChangesetmetadataProjDbInstance, } from './hooks/useV1ChangesetmetadataProjDbInstanceQuery';
|
|
13
15
|
export { useV1CreateProjDbSchemaInstanceMutation, v1CreateProjDbSchemaInstance, } from './hooks/useV1CreateProjDbSchemaInstanceMutation';
|
|
14
16
|
export { useV1CreateProjDbSchemaMutation, v1CreateProjDbSchema, } from './hooks/useV1CreateProjDbSchemaMutation';
|
|
17
|
+
export { useV1DefaultLlmPipelineQuery, v1DefaultLlmPipeline, } from './hooks/useV1DefaultLlmPipelineQuery';
|
|
15
18
|
export { useV1DeleteDbSchemaMutation, v1DeleteDbSchema } from './hooks/useV1DeleteDbSchemaMutation';
|
|
16
19
|
export { useV1DeleteExecutionConfigMutation, v1DeleteExecutionConfig, } from './hooks/useV1DeleteExecutionConfigMutation';
|
|
17
20
|
export { useV1DeleteProjDbSchemaInstanceMutation, v1DeleteProjDbSchemaInstance, } from './hooks/useV1DeleteProjDbSchemaInstanceMutation';
|
|
18
21
|
export { useV1DeleteProjDbSchemaMutation, v1DeleteProjDbSchema, } from './hooks/useV1DeleteProjDbSchemaMutation';
|
|
19
22
|
export { useV1FetchDeployedChangesetSqlMutation, v1FetchDeployedChangesetSql, } from './hooks/useV1FetchDeployedChangesetSqlMutation';
|
|
23
|
+
export { useV1FetchMigrationScriptSqlQuery, v1FetchMigrationScriptSql, } from './hooks/useV1FetchMigrationScriptSqlQuery';
|
|
20
24
|
export { useV1GetCustomerConfigQuery, v1GetCustomerConfig, } from './hooks/useV1GetCustomerConfigQuery';
|
|
21
25
|
export { useV1GetDbOverviewQuery, v1GetDbOverview } from './hooks/useV1GetDbOverviewQuery';
|
|
22
26
|
export { useV1GetDbinstanceLogQuery, v1GetDbinstanceLog } from './hooks/useV1GetDbinstanceLogQuery';
|
|
23
27
|
export { useV1GetDefaultConfigQuery, v1GetDefaultConfig } from './hooks/useV1GetDefaultConfigQuery';
|
|
24
28
|
export { useV1GetDeployedStateMutation, v1GetDeployedState, } from './hooks/useV1GetDeployedStateMutation';
|
|
29
|
+
export { useV1GetFlywayDeployedStateMutation, v1GetFlywayDeployedState, } from './hooks/useV1GetFlywayDeployedStateMutation';
|
|
25
30
|
export { useV1GetPipelineExecutionStatusQuery, v1GetPipelineExecutionStatus, } from './hooks/useV1GetPipelineExecutionStatusQuery';
|
|
26
31
|
export { useV1GetProjDbSchemaInstanceQuery, v1GetProjDbSchemaInstance, } from './hooks/useV1GetProjDbSchemaInstanceQuery';
|
|
27
32
|
export { useV1GetProjDbSchemaQuery, v1GetProjDbSchema } from './hooks/useV1GetProjDbSchemaQuery';
|
|
33
|
+
export { useV1GetSnapshotObjectNamesQuery, v1GetSnapshotObjectNames, } from './hooks/useV1GetSnapshotObjectNamesQuery';
|
|
34
|
+
export { useV1GetSnapshotObjectValuesMutation, v1GetSnapshotObjectValues, } from './hooks/useV1GetSnapshotObjectValuesMutation';
|
|
28
35
|
export { useV1IngestLogsMutation, v1IngestLogs } from './hooks/useV1IngestLogsMutation';
|
|
29
36
|
export { useV1ListDatabaseSchemaQuery, v1ListDatabaseSchema, } from './hooks/useV1ListDatabaseSchemaQuery';
|
|
30
37
|
export { useV1ListProjDbSchemaInstanceMutation, v1ListProjDbSchemaInstance, } from './hooks/useV1ListProjDbSchemaInstanceMutation';
|
|
@@ -34,6 +41,7 @@ export { useV1MigrationStateFlywaySchemaMutation, v1MigrationStateFlywaySchema,
|
|
|
34
41
|
export { useV1MigrationStateProjDbInstanceQuery, v1MigrationStateProjDbInstance, } from './hooks/useV1MigrationStateProjDbInstanceQuery';
|
|
35
42
|
export { useV1MigrationStateProjDbSchemaMutation, v1MigrationStateProjDbSchema, } from './hooks/useV1MigrationStateProjDbSchemaMutation';
|
|
36
43
|
export { useV1ResetExecutionConfigMutation, v1ResetExecutionConfig, } from './hooks/useV1ResetExecutionConfigMutation';
|
|
44
|
+
export { useV1StepFlywayMigrationScriptsQuery, v1StepFlywayMigrationScripts, } from './hooks/useV1StepFlywayMigrationScriptsQuery';
|
|
37
45
|
export { useV1UpdateExecutionConfigMutation, v1UpdateExecutionConfig, } from './hooks/useV1UpdateExecutionConfigMutation';
|
|
38
46
|
export { useV1UpdateProjDbSchemaInstanceMutation, v1UpdateProjDbSchemaInstance, } from './hooks/useV1UpdateProjDbSchemaInstanceMutation';
|
|
39
47
|
export { useV1UpdateProjDbSchemaMutation, v1UpdateProjDbSchema, } from './hooks/useV1UpdateProjDbSchemaMutation';
|
package/dist/dbops-service/src/services/requestBodies/FlywayCustomOperationRequestRequestBody.js
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
package/dist/dbops-service/src/services/requestBodies/FlywayFailureInterruptRequestRequestBody.d.ts
ADDED
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import type { FlywayCommand } from '../schemas/FlywayCommand';
|
|
2
|
+
export interface FlywayFailureInterruptRequestRequestBody {
|
|
3
|
+
harnessCommand: FlywayCommand;
|
|
4
|
+
instanceIdentifier: string;
|
|
5
|
+
interruptType: string;
|
|
6
|
+
parentId: string;
|
|
7
|
+
pipelineExecutionId: string;
|
|
8
|
+
schemaIdentifier: string;
|
|
9
|
+
stageExecutionId: string;
|
|
10
|
+
}
|
package/dist/dbops-service/src/services/requestBodies/FlywayFailureInterruptRequestRequestBody.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 {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Body for Fetching script content for flyway
|
|
3
|
+
*/
|
|
4
|
+
export interface AppliedScriptOutput {
|
|
5
|
+
/**
|
|
6
|
+
* show message if the script is not from current pipeline execution
|
|
7
|
+
*/
|
|
8
|
+
executionMismatchMsg?: string;
|
|
9
|
+
/**
|
|
10
|
+
* migration script content for a version
|
|
11
|
+
*/
|
|
12
|
+
statements?: string[];
|
|
13
|
+
}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Response body for Default Pipeline for DBOPS
|
|
3
|
+
*/
|
|
4
|
+
export interface DefaultPipelineOutput {
|
|
5
|
+
/**
|
|
6
|
+
* Identifier of the pipeline
|
|
7
|
+
*/
|
|
8
|
+
identifier: string;
|
|
9
|
+
/**
|
|
10
|
+
* meta data of the api
|
|
11
|
+
*/
|
|
12
|
+
metadata?: {
|
|
13
|
+
[key: string]: string;
|
|
14
|
+
};
|
|
15
|
+
/**
|
|
16
|
+
* Yaml for the pipeline to be used, as its dynamic pipeline
|
|
17
|
+
*/
|
|
18
|
+
yaml: string;
|
|
19
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export type FlywayCommandExecutionStatus = 'CANCELLED' | 'FAILURE' | 'IN_PROGRESS' | 'SUCCESS' | 'SUCCESS_ROLLED_BACK';
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import type { FlywayCommand } from '../schemas/FlywayCommand';
|
|
2
|
+
import type { PipelineExecutionMetadata } from '../schemas/PipelineExecutionMetadata';
|
|
3
|
+
import type { FlywayCustomOperations } from '../schemas/FlywayCustomOperations';
|
|
4
|
+
/**
|
|
5
|
+
* Input for getting custom property result
|
|
6
|
+
*/
|
|
7
|
+
export interface FlywayCustomOperationInput {
|
|
8
|
+
command: FlywayCommand;
|
|
9
|
+
dbInstance: string;
|
|
10
|
+
dbSchema: string;
|
|
11
|
+
pipelineExecutionMetadata: PipelineExecutionMetadata;
|
|
12
|
+
properties: FlywayCustomOperations[];
|
|
13
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
import type { FlywayCommand } from '../schemas/FlywayCommand';
|
|
2
|
+
import type { ExecutionMetadata } from '../schemas/ExecutionMetadata';
|
|
3
|
+
import type { FlywayCommandExecutionStatus } from '../schemas/FlywayCommandExecutionStatus';
|
|
4
|
+
/**
|
|
5
|
+
* The status of migration script deployment
|
|
6
|
+
*/
|
|
7
|
+
export interface FlywayDeployedStateOutput {
|
|
8
|
+
/**
|
|
9
|
+
* if migration script run as part of current step execution
|
|
10
|
+
*/
|
|
11
|
+
appliedInCurrentExecution: boolean;
|
|
12
|
+
command: FlywayCommand;
|
|
13
|
+
/**
|
|
14
|
+
* epoch seconds when the migration was applied
|
|
15
|
+
* @format int64
|
|
16
|
+
*/
|
|
17
|
+
deployedAt?: number;
|
|
18
|
+
/**
|
|
19
|
+
* Description from the migration script
|
|
20
|
+
*/
|
|
21
|
+
description?: string;
|
|
22
|
+
metadata: ExecutionMetadata;
|
|
23
|
+
status: FlywayCommandExecutionStatus;
|
|
24
|
+
/**
|
|
25
|
+
* type of migration, whether baseline or actual script migration
|
|
26
|
+
*/
|
|
27
|
+
type: string;
|
|
28
|
+
/**
|
|
29
|
+
* Version of flyway migration script
|
|
30
|
+
*/
|
|
31
|
+
version: string;
|
|
32
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Request containing object type and list of object names
|
|
3
|
+
*/
|
|
4
|
+
export interface SnapshotObjectValuesInput {
|
|
5
|
+
/**
|
|
6
|
+
* List of object names to retrieve values for
|
|
7
|
+
*/
|
|
8
|
+
objectNames: string[];
|
|
9
|
+
/**
|
|
10
|
+
* Type of database object (e.g., Table, etc)
|
|
11
|
+
*/
|
|
12
|
+
objectType: string;
|
|
13
|
+
}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import type { SnapshotObjectValue } from '../schemas/SnapshotObjectValue';
|
|
2
|
+
/**
|
|
3
|
+
* Response containing list of object values from snapshot metadata
|
|
4
|
+
*/
|
|
5
|
+
export interface SnapshotObjectValuesOutput {
|
|
6
|
+
/**
|
|
7
|
+
* List of object values for the given snapshot and object type
|
|
8
|
+
*/
|
|
9
|
+
data: SnapshotObjectValue[];
|
|
10
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
package/package.json
CHANGED