@harnessio/react-dbops-service-client 0.29.0 → 0.31.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/useConsumeV1FlywayStepPluginOutputResponseMutation.d.ts +19 -0
- package/dist/dbops-service/src/services/hooks/useConsumeV1FlywayStepPluginOutputResponseMutation.js +14 -0
- package/dist/dbops-service/src/services/hooks/useV1FetchMigrationScriptSqlQuery.d.ts +36 -0
- package/dist/dbops-service/src/services/hooks/useV1FetchMigrationScriptSqlQuery.js +21 -0
- package/dist/dbops-service/src/services/hooks/useV1MigrationStateFlywayInstanceQuery.d.ts +36 -0
- package/dist/dbops-service/src/services/hooks/useV1MigrationStateFlywayInstanceQuery.js +21 -0
- package/dist/dbops-service/src/services/hooks/useV1MigrationStateFlywaySchemaMutation.d.ts +38 -0
- package/dist/dbops-service/src/services/hooks/useV1MigrationStateFlywaySchemaMutation.js +14 -0
- package/dist/dbops-service/src/services/index.d.ts +18 -0
- package/dist/dbops-service/src/services/index.js +5 -0
- package/dist/dbops-service/src/services/requestBodies/ConsumeFlywayPluginOutputRespRequestRequestBody.d.ts +19 -0
- package/dist/dbops-service/src/services/requestBodies/ConsumeFlywayPluginOutputRespRequestRequestBody.js +1 -0
- package/dist/dbops-service/src/services/requestBodies/ConsumePluginOutputRespRequestRequestBody.d.ts +8 -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/requestBodies/FlywayPluginInputsRequestRequestBody.d.ts +2 -0
- package/dist/dbops-service/src/services/responses/FlywayInstanceMigrationStateResponseResponse.d.ts +2 -0
- package/dist/dbops-service/src/services/responses/FlywayInstanceMigrationStateResponseResponse.js +1 -0
- package/dist/dbops-service/src/services/responses/FlywayMigrationStateResponseResponse.d.ts +2 -0
- package/dist/dbops-service/src/services/responses/FlywayMigrationStateResponseResponse.js +1 -0
- package/dist/dbops-service/src/services/schemas/Command.d.ts +1 -1
- package/dist/dbops-service/src/services/schemas/DbSnapshotMetadataIn.d.ts +1 -1
- package/dist/dbops-service/src/services/schemas/FlywayAppliedMigration.d.ts +24 -0
- package/dist/dbops-service/src/services/schemas/FlywayAppliedMigration.js +1 -0
- package/dist/dbops-service/src/services/schemas/FlywayInstanceMigrationState.d.ts +36 -0
- package/dist/dbops-service/src/services/schemas/FlywayInstanceMigrationState.js +1 -0
- package/dist/dbops-service/src/services/schemas/FlywayInstanceMigrationStateOutput.d.ts +15 -0
- package/dist/dbops-service/src/services/schemas/FlywayInstanceMigrationStateOutput.js +1 -0
- package/dist/dbops-service/src/services/schemas/FlywayMigrationStateOutput.d.ts +13 -0
- package/dist/dbops-service/src/services/schemas/FlywayMigrationStateOutput.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,19 @@
|
|
|
1
|
+
import { UseMutationOptions } from '@tanstack/react-query';
|
|
2
|
+
import type { ErrorResponseResponse } from '../responses/ErrorResponseResponse';
|
|
3
|
+
import type { ConsumeFlywayPluginOutputRespRequestRequestBody } from '../requestBodies/ConsumeFlywayPluginOutputRespRequestRequestBody';
|
|
4
|
+
import type { ResponseWithPagination } from '../helpers';
|
|
5
|
+
import { FetcherOptions } from '../../../../fetcher/index.js';
|
|
6
|
+
export interface ConsumeV1FlywayStepPluginOutputResponseMutationHeaderParams {
|
|
7
|
+
'Harness-Account'?: string;
|
|
8
|
+
}
|
|
9
|
+
export type ConsumeV1FlywayStepPluginOutputResponseRequestBody = ConsumeFlywayPluginOutputRespRequestRequestBody;
|
|
10
|
+
export type ConsumeV1FlywayStepPluginOutputResponseOkResponse = ResponseWithPagination<unknown>;
|
|
11
|
+
export type ConsumeV1FlywayStepPluginOutputResponseErrorResponse = ErrorResponseResponse;
|
|
12
|
+
export interface ConsumeV1FlywayStepPluginOutputResponseProps extends Omit<FetcherOptions<unknown, ConsumeV1FlywayStepPluginOutputResponseRequestBody, ConsumeV1FlywayStepPluginOutputResponseMutationHeaderParams>, 'url'> {
|
|
13
|
+
body: ConsumeV1FlywayStepPluginOutputResponseRequestBody;
|
|
14
|
+
}
|
|
15
|
+
export declare function consumeV1FlywayStepPluginOutputResponse(props: ConsumeV1FlywayStepPluginOutputResponseProps): Promise<ConsumeV1FlywayStepPluginOutputResponseOkResponse>;
|
|
16
|
+
/**
|
|
17
|
+
* Consume Flyway Plugin Output Response
|
|
18
|
+
*/
|
|
19
|
+
export declare function useConsumeV1FlywayStepPluginOutputResponseMutation(options?: Omit<UseMutationOptions<ConsumeV1FlywayStepPluginOutputResponseOkResponse, ConsumeV1FlywayStepPluginOutputResponseErrorResponse, ConsumeV1FlywayStepPluginOutputResponseProps>, 'mutationKey' | 'mutationFn'>): import("@tanstack/react-query").UseMutationResult<ConsumeV1FlywayStepPluginOutputResponseOkResponse, import("..").Error, ConsumeV1FlywayStepPluginOutputResponseProps, unknown>;
|
package/dist/dbops-service/src/services/hooks/useConsumeV1FlywayStepPluginOutputResponseMutation.js
ADDED
|
@@ -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 consumeV1FlywayStepPluginOutputResponse(props) {
|
|
7
|
+
return fetcher(Object.assign({ url: `/v1/dbops/flyway/plugin-output-response`, method: 'POST' }, props));
|
|
8
|
+
}
|
|
9
|
+
/**
|
|
10
|
+
* Consume Flyway Plugin Output Response
|
|
11
|
+
*/
|
|
12
|
+
export function useConsumeV1FlywayStepPluginOutputResponseMutation(options) {
|
|
13
|
+
return useMutation((mutateProps) => consumeV1FlywayStepPluginOutputResponse(mutateProps), options);
|
|
14
|
+
}
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
import { UseQueryOptions } from '@tanstack/react-query';
|
|
2
|
+
import type { FetchSqlStatementResponseResponse } from '../responses/FetchSqlStatementResponseResponse';
|
|
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
|
+
}
|
|
24
|
+
export interface V1FetchMigrationScriptSqlQueryHeaderParams {
|
|
25
|
+
'Harness-Account'?: string;
|
|
26
|
+
}
|
|
27
|
+
export type V1FetchMigrationScriptSqlOkResponse = ResponseWithPagination<FetchSqlStatementResponseResponse>;
|
|
28
|
+
export type V1FetchMigrationScriptSqlErrorResponse = ErrorResponseResponse;
|
|
29
|
+
export interface V1FetchMigrationScriptSqlProps extends V1FetchMigrationScriptSqlQueryPathParams, Omit<FetcherOptions<V1FetchMigrationScriptSqlQueryQueryParams, unknown, V1FetchMigrationScriptSqlQueryHeaderParams>, 'url'> {
|
|
30
|
+
queryParams: V1FetchMigrationScriptSqlQueryQueryParams;
|
|
31
|
+
}
|
|
32
|
+
export declare function v1FetchMigrationScriptSql(props: V1FetchMigrationScriptSqlProps): Promise<V1FetchMigrationScriptSqlOkResponse>;
|
|
33
|
+
/**
|
|
34
|
+
* Fetch flyway migration script SQL
|
|
35
|
+
*/
|
|
36
|
+
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,36 @@
|
|
|
1
|
+
import { UseQueryOptions } from '@tanstack/react-query';
|
|
2
|
+
import type { FlywayInstanceMigrationStateResponseResponse } from '../responses/FlywayInstanceMigrationStateResponseResponse';
|
|
3
|
+
import type { ErrorResponseResponse } from '../responses/ErrorResponseResponse';
|
|
4
|
+
import type { ResponseWithPagination } from '../helpers';
|
|
5
|
+
import { FetcherOptions } from '../../../../fetcher/index.js';
|
|
6
|
+
export interface V1MigrationStateFlywayInstanceQueryPathParams {
|
|
7
|
+
org: string;
|
|
8
|
+
project: string;
|
|
9
|
+
dbschema: string;
|
|
10
|
+
dbinstance: string;
|
|
11
|
+
}
|
|
12
|
+
export interface V1MigrationStateFlywayInstanceQueryQueryParams {
|
|
13
|
+
/**
|
|
14
|
+
* @format int64
|
|
15
|
+
* @default 0
|
|
16
|
+
*/
|
|
17
|
+
page?: number;
|
|
18
|
+
/**
|
|
19
|
+
* @default 10
|
|
20
|
+
*/
|
|
21
|
+
limit?: number;
|
|
22
|
+
search_term?: string;
|
|
23
|
+
}
|
|
24
|
+
export interface V1MigrationStateFlywayInstanceQueryHeaderParams {
|
|
25
|
+
'Harness-Account'?: string;
|
|
26
|
+
}
|
|
27
|
+
export type V1MigrationStateFlywayInstanceOkResponse = ResponseWithPagination<FlywayInstanceMigrationStateResponseResponse>;
|
|
28
|
+
export type V1MigrationStateFlywayInstanceErrorResponse = ErrorResponseResponse;
|
|
29
|
+
export interface V1MigrationStateFlywayInstanceProps extends V1MigrationStateFlywayInstanceQueryPathParams, Omit<FetcherOptions<V1MigrationStateFlywayInstanceQueryQueryParams, unknown, V1MigrationStateFlywayInstanceQueryHeaderParams>, 'url'> {
|
|
30
|
+
queryParams: V1MigrationStateFlywayInstanceQueryQueryParams;
|
|
31
|
+
}
|
|
32
|
+
export declare function v1MigrationStateFlywayInstance(props: V1MigrationStateFlywayInstanceProps): Promise<V1MigrationStateFlywayInstanceOkResponse>;
|
|
33
|
+
/**
|
|
34
|
+
* Flyway Migration state of an instance
|
|
35
|
+
*/
|
|
36
|
+
export declare function useV1MigrationStateFlywayInstanceQuery(props: V1MigrationStateFlywayInstanceProps, options?: Omit<UseQueryOptions<V1MigrationStateFlywayInstanceOkResponse, V1MigrationStateFlywayInstanceErrorResponse>, 'queryKey' | 'queryFn'>): import("@tanstack/react-query").UseQueryResult<V1MigrationStateFlywayInstanceOkResponse, 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 v1MigrationStateFlywayInstance(props) {
|
|
7
|
+
return fetcher(Object.assign({ url: `/v1/orgs/${props.org}/projects/${props.project}/dbschema/${props.dbschema}/dbinstance/${props.dbinstance}/flyway/migrationstate`, method: 'GET' }, props));
|
|
8
|
+
}
|
|
9
|
+
/**
|
|
10
|
+
* Flyway Migration state of an instance
|
|
11
|
+
*/
|
|
12
|
+
export function useV1MigrationStateFlywayInstanceQuery(props, options) {
|
|
13
|
+
return useQuery([
|
|
14
|
+
'v1-migration-state-flyway-instance',
|
|
15
|
+
props.org,
|
|
16
|
+
props.project,
|
|
17
|
+
props.dbschema,
|
|
18
|
+
props.dbinstance,
|
|
19
|
+
props.queryParams,
|
|
20
|
+
], ({ signal }) => v1MigrationStateFlywayInstance(Object.assign(Object.assign({}, props), { signal })), options);
|
|
21
|
+
}
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
import { UseMutationOptions } from '@tanstack/react-query';
|
|
2
|
+
import type { FlywayMigrationStateResponseResponse } from '../responses/FlywayMigrationStateResponseResponse';
|
|
3
|
+
import type { ErrorResponseResponse } from '../responses/ErrorResponseResponse';
|
|
4
|
+
import type { MigrationStateGetRequestRequestBody } from '../requestBodies/MigrationStateGetRequestRequestBody';
|
|
5
|
+
import type { ResponseWithPagination } from '../helpers';
|
|
6
|
+
import { FetcherOptions } from '../../../../fetcher/index.js';
|
|
7
|
+
export interface V1MigrationStateFlywaySchemaMutationPathParams {
|
|
8
|
+
org: string;
|
|
9
|
+
project: string;
|
|
10
|
+
dbschema: string;
|
|
11
|
+
}
|
|
12
|
+
export interface V1MigrationStateFlywaySchemaMutationQueryParams {
|
|
13
|
+
/**
|
|
14
|
+
* @format int64
|
|
15
|
+
* @default 0
|
|
16
|
+
*/
|
|
17
|
+
page?: number;
|
|
18
|
+
/**
|
|
19
|
+
* @default 10
|
|
20
|
+
*/
|
|
21
|
+
limit?: number;
|
|
22
|
+
search_term?: string;
|
|
23
|
+
}
|
|
24
|
+
export interface V1MigrationStateFlywaySchemaMutationHeaderParams {
|
|
25
|
+
'Harness-Account'?: string;
|
|
26
|
+
}
|
|
27
|
+
export type V1MigrationStateFlywaySchemaRequestBody = MigrationStateGetRequestRequestBody;
|
|
28
|
+
export type V1MigrationStateFlywaySchemaOkResponse = ResponseWithPagination<FlywayMigrationStateResponseResponse>;
|
|
29
|
+
export type V1MigrationStateFlywaySchemaErrorResponse = ErrorResponseResponse;
|
|
30
|
+
export interface V1MigrationStateFlywaySchemaProps extends V1MigrationStateFlywaySchemaMutationPathParams, Omit<FetcherOptions<V1MigrationStateFlywaySchemaMutationQueryParams, V1MigrationStateFlywaySchemaRequestBody, V1MigrationStateFlywaySchemaMutationHeaderParams>, 'url'> {
|
|
31
|
+
queryParams: V1MigrationStateFlywaySchemaMutationQueryParams;
|
|
32
|
+
body: V1MigrationStateFlywaySchemaRequestBody;
|
|
33
|
+
}
|
|
34
|
+
export declare function v1MigrationStateFlywaySchema(props: V1MigrationStateFlywaySchemaProps): Promise<V1MigrationStateFlywaySchemaOkResponse>;
|
|
35
|
+
/**
|
|
36
|
+
* Migration state of a flyway schema
|
|
37
|
+
*/
|
|
38
|
+
export declare function useV1MigrationStateFlywaySchemaMutation(options?: Omit<UseMutationOptions<V1MigrationStateFlywaySchemaOkResponse, V1MigrationStateFlywaySchemaErrorResponse, V1MigrationStateFlywaySchemaProps>, 'mutationKey' | 'mutationFn'>): import("@tanstack/react-query").UseMutationResult<V1MigrationStateFlywaySchemaOkResponse, import("..").Error, V1MigrationStateFlywaySchemaProps, 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 v1MigrationStateFlywaySchema(props) {
|
|
7
|
+
return fetcher(Object.assign({ url: `/v1/orgs/${props.org}/projects/${props.project}/dbschema/${props.dbschema}/flyway/migrationstate`, method: 'POST' }, props));
|
|
8
|
+
}
|
|
9
|
+
/**
|
|
10
|
+
* Migration state of a flyway schema
|
|
11
|
+
*/
|
|
12
|
+
export function useV1MigrationStateFlywaySchemaMutation(options) {
|
|
13
|
+
return useMutation((mutateProps) => v1MigrationStateFlywaySchema(mutateProps), options);
|
|
14
|
+
}
|
|
@@ -1,6 +1,10 @@
|
|
|
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';
|
|
6
|
+
export type { ConsumeV1FlywayStepPluginOutputResponseErrorResponse, ConsumeV1FlywayStepPluginOutputResponseOkResponse, ConsumeV1FlywayStepPluginOutputResponseProps, ConsumeV1FlywayStepPluginOutputResponseRequestBody, } from './hooks/useConsumeV1FlywayStepPluginOutputResponseMutation';
|
|
7
|
+
export { consumeV1FlywayStepPluginOutputResponse, useConsumeV1FlywayStepPluginOutputResponseMutation, } from './hooks/useConsumeV1FlywayStepPluginOutputResponseMutation';
|
|
4
8
|
export type { ConsumeV1StepPluginOutputResponseErrorResponse, ConsumeV1StepPluginOutputResponseOkResponse, ConsumeV1StepPluginOutputResponseProps, ConsumeV1StepPluginOutputResponseRequestBody, } from './hooks/useConsumeV1StepPluginOutputResponseMutation';
|
|
5
9
|
export { consumeV1StepPluginOutputResponse, useConsumeV1StepPluginOutputResponseMutation, } from './hooks/useConsumeV1StepPluginOutputResponseMutation';
|
|
6
10
|
export type { ConsumeV1StepPluginResponseErrorResponse, ConsumeV1StepPluginResponseOkResponse, ConsumeV1StepPluginResponseProps, ConsumeV1StepPluginResponseRequestBody, } from './hooks/useConsumeV1StepPluginResponseMutation';
|
|
@@ -35,6 +39,8 @@ export type { V1DeleteProjDbSchemaErrorResponse, V1DeleteProjDbSchemaMutationPat
|
|
|
35
39
|
export { useV1DeleteProjDbSchemaMutation, v1DeleteProjDbSchema, } from './hooks/useV1DeleteProjDbSchemaMutation';
|
|
36
40
|
export type { V1FetchDeployedChangesetSqlErrorResponse, V1FetchDeployedChangesetSqlMutationPathParams, V1FetchDeployedChangesetSqlMutationQueryParams, V1FetchDeployedChangesetSqlOkResponse, V1FetchDeployedChangesetSqlProps, V1FetchDeployedChangesetSqlRequestBody, } from './hooks/useV1FetchDeployedChangesetSqlMutation';
|
|
37
41
|
export { useV1FetchDeployedChangesetSqlMutation, v1FetchDeployedChangesetSql, } from './hooks/useV1FetchDeployedChangesetSqlMutation';
|
|
42
|
+
export type { V1FetchMigrationScriptSqlErrorResponse, V1FetchMigrationScriptSqlOkResponse, V1FetchMigrationScriptSqlProps, V1FetchMigrationScriptSqlQueryPathParams, V1FetchMigrationScriptSqlQueryQueryParams, } from './hooks/useV1FetchMigrationScriptSqlQuery';
|
|
43
|
+
export { useV1FetchMigrationScriptSqlQuery, v1FetchMigrationScriptSql, } from './hooks/useV1FetchMigrationScriptSqlQuery';
|
|
38
44
|
export type { V1GetCustomerConfigErrorResponse, V1GetCustomerConfigOkResponse, V1GetCustomerConfigProps, V1GetCustomerConfigQueryQueryParams, } from './hooks/useV1GetCustomerConfigQuery';
|
|
39
45
|
export { useV1GetCustomerConfigQuery, v1GetCustomerConfig, } from './hooks/useV1GetCustomerConfigQuery';
|
|
40
46
|
export type { V1GetDbOverviewErrorResponse, V1GetDbOverviewOkResponse, V1GetDbOverviewProps, V1GetDbOverviewQueryPathParams, } from './hooks/useV1GetDbOverviewQuery';
|
|
@@ -59,6 +65,10 @@ export type { V1ListProjDbSchemaInstanceErrorResponse, V1ListProjDbSchemaInstanc
|
|
|
59
65
|
export { useV1ListProjDbSchemaInstanceMutation, v1ListProjDbSchemaInstance, } from './hooks/useV1ListProjDbSchemaInstanceMutation';
|
|
60
66
|
export type { V1ListProjDbSchemaErrorResponse, V1ListProjDbSchemaOkResponse, V1ListProjDbSchemaProps, V1ListProjDbSchemaQueryPathParams, V1ListProjDbSchemaQueryQueryParams, } from './hooks/useV1ListProjDbSchemaQuery';
|
|
61
67
|
export { useV1ListProjDbSchemaQuery, v1ListProjDbSchema } from './hooks/useV1ListProjDbSchemaQuery';
|
|
68
|
+
export type { V1MigrationStateFlywayInstanceErrorResponse, V1MigrationStateFlywayInstanceOkResponse, V1MigrationStateFlywayInstanceProps, V1MigrationStateFlywayInstanceQueryPathParams, V1MigrationStateFlywayInstanceQueryQueryParams, } from './hooks/useV1MigrationStateFlywayInstanceQuery';
|
|
69
|
+
export { useV1MigrationStateFlywayInstanceQuery, v1MigrationStateFlywayInstance, } from './hooks/useV1MigrationStateFlywayInstanceQuery';
|
|
70
|
+
export type { V1MigrationStateFlywaySchemaErrorResponse, V1MigrationStateFlywaySchemaMutationPathParams, V1MigrationStateFlywaySchemaMutationQueryParams, V1MigrationStateFlywaySchemaOkResponse, V1MigrationStateFlywaySchemaProps, V1MigrationStateFlywaySchemaRequestBody, } from './hooks/useV1MigrationStateFlywaySchemaMutation';
|
|
71
|
+
export { useV1MigrationStateFlywaySchemaMutation, v1MigrationStateFlywaySchema, } from './hooks/useV1MigrationStateFlywaySchemaMutation';
|
|
62
72
|
export type { V1MigrationStateProjDbInstanceErrorResponse, V1MigrationStateProjDbInstanceOkResponse, V1MigrationStateProjDbInstanceProps, V1MigrationStateProjDbInstanceQueryPathParams, V1MigrationStateProjDbInstanceQueryQueryParams, } from './hooks/useV1MigrationStateProjDbInstanceQuery';
|
|
63
73
|
export { useV1MigrationStateProjDbInstanceQuery, v1MigrationStateProjDbInstance, } from './hooks/useV1MigrationStateProjDbInstanceQuery';
|
|
64
74
|
export type { V1MigrationStateProjDbSchemaErrorResponse, V1MigrationStateProjDbSchemaMutationPathParams, V1MigrationStateProjDbSchemaMutationQueryParams, V1MigrationStateProjDbSchemaOkResponse, V1MigrationStateProjDbSchemaProps, V1MigrationStateProjDbSchemaRequestBody, } from './hooks/useV1MigrationStateProjDbSchemaMutation';
|
|
@@ -75,6 +85,7 @@ export type { V2ListProjDbInstancesErrorResponse, V2ListProjDbInstancesMutationP
|
|
|
75
85
|
export { useV2ListProjDbInstancesMutation, v2ListProjDbInstances, } from './hooks/useV2ListProjDbInstancesMutation';
|
|
76
86
|
export type { V2ListProjDbSchemaErrorResponse, V2ListProjDbSchemaMutationPathParams, V2ListProjDbSchemaMutationQueryParams, V2ListProjDbSchemaOkResponse, V2ListProjDbSchemaProps, V2ListProjDbSchemaRequestBody, } from './hooks/useV2ListProjDbSchemaMutation';
|
|
77
87
|
export { useV2ListProjDbSchemaMutation, v2ListProjDbSchema, } from './hooks/useV2ListProjDbSchemaMutation';
|
|
88
|
+
export type { ConsumeFlywayPluginOutputRespRequestRequestBody } from './requestBodies/ConsumeFlywayPluginOutputRespRequestRequestBody';
|
|
78
89
|
export type { ConsumePluginOutputRespRequestRequestBody } from './requestBodies/ConsumePluginOutputRespRequestRequestBody';
|
|
79
90
|
export type { ConsumePluginRespRequestRequestBody } from './requestBodies/ConsumePluginRespRequestRequestBody';
|
|
80
91
|
export type { CustomOperationRequestRequestBody } from './requestBodies/CustomOperationRequestRequestBody';
|
|
@@ -89,6 +100,7 @@ export type { DbSnapshotMetadataCreateRequestRequestBody } from './requestBodies
|
|
|
89
100
|
export type { ExecutionConfigUpdateRequestRequestBody } from './requestBodies/ExecutionConfigUpdateRequestRequestBody';
|
|
90
101
|
export type { FailureInterruptRequestRequestBody } from './requestBodies/FailureInterruptRequestRequestBody';
|
|
91
102
|
export type { FetchSqlStatementRequestRequestBody } from './requestBodies/FetchSqlStatementRequestRequestBody';
|
|
103
|
+
export type { FlywayFailureInterruptRequestRequestBody } from './requestBodies/FlywayFailureInterruptRequestRequestBody';
|
|
92
104
|
export type { FlywayPluginInputsRequestRequestBody } from './requestBodies/FlywayPluginInputsRequestRequestBody';
|
|
93
105
|
export type { LogIngestRequestRequestBody } from './requestBodies/LogIngestRequestRequestBody';
|
|
94
106
|
export type { MigrationStateGetRequestRequestBody } from './requestBodies/MigrationStateGetRequestRequestBody';
|
|
@@ -105,6 +117,8 @@ export type { ErrorResponseResponse } from './responses/ErrorResponseResponse';
|
|
|
105
117
|
export type { ExecutionConfigSuccessResponseResponse } from './responses/ExecutionConfigSuccessResponseResponse';
|
|
106
118
|
export type { ExecutionConfigTagsResponseResponse } from './responses/ExecutionConfigTagsResponseResponse';
|
|
107
119
|
export type { FetchSqlStatementResponseResponse } from './responses/FetchSqlStatementResponseResponse';
|
|
120
|
+
export type { FlywayInstanceMigrationStateResponseResponse } from './responses/FlywayInstanceMigrationStateResponseResponse';
|
|
121
|
+
export type { FlywayMigrationStateResponseResponse } from './responses/FlywayMigrationStateResponseResponse';
|
|
108
122
|
export type { FlywayPluginInputsResponseResponse } from './responses/FlywayPluginInputsResponseResponse';
|
|
109
123
|
export type { InstanceMigrationStateResponseResponse } from './responses/InstanceMigrationStateResponseResponse';
|
|
110
124
|
export type { MigrationStateResponseResponse } from './responses/MigrationStateResponseResponse';
|
|
@@ -141,7 +155,11 @@ export type { Error } from './schemas/Error';
|
|
|
141
155
|
export type { ExecutionConfigOperation } from './schemas/ExecutionConfigOperation';
|
|
142
156
|
export type { ExecutionConfigTags } from './schemas/ExecutionConfigTags';
|
|
143
157
|
export type { ExecutionMetadata } from './schemas/ExecutionMetadata';
|
|
158
|
+
export type { FlywayAppliedMigration } from './schemas/FlywayAppliedMigration';
|
|
144
159
|
export type { FlywayCommand } from './schemas/FlywayCommand';
|
|
160
|
+
export type { FlywayInstanceMigrationState } from './schemas/FlywayInstanceMigrationState';
|
|
161
|
+
export type { FlywayInstanceMigrationStateOutput } from './schemas/FlywayInstanceMigrationStateOutput';
|
|
162
|
+
export type { FlywayMigrationStateOutput } from './schemas/FlywayMigrationStateOutput';
|
|
145
163
|
export type { InstanceDetail } from './schemas/InstanceDetail';
|
|
146
164
|
export type { InstanceMigrationStateChangeSet } from './schemas/InstanceMigrationStateChangeSet';
|
|
147
165
|
export type { InstanceMigrationStateOut } from './schemas/InstanceMigrationStateOut';
|
|
@@ -1,4 +1,6 @@
|
|
|
1
1
|
export { consumeFailureInterrupt, useConsumeFailureInterruptMutation, } from './hooks/useConsumeFailureInterruptMutation';
|
|
2
|
+
export { consumeFlywayFailureInterrupt, useConsumeFlywayFailureInterruptMutation, } from './hooks/useConsumeFlywayFailureInterruptMutation';
|
|
3
|
+
export { consumeV1FlywayStepPluginOutputResponse, useConsumeV1FlywayStepPluginOutputResponseMutation, } from './hooks/useConsumeV1FlywayStepPluginOutputResponseMutation';
|
|
2
4
|
export { consumeV1StepPluginOutputResponse, useConsumeV1StepPluginOutputResponseMutation, } from './hooks/useConsumeV1StepPluginOutputResponseMutation';
|
|
3
5
|
export { consumeV1StepPluginResponse, useConsumeV1StepPluginResponseMutation, } from './hooks/useConsumeV1StepPluginResponseMutation';
|
|
4
6
|
export { createV1FlywayPluginInputs, useCreateV1FlywayPluginInputsMutation, } from './hooks/useCreateV1FlywayPluginInputsMutation';
|
|
@@ -16,6 +18,7 @@ export { useV1DeleteExecutionConfigMutation, v1DeleteExecutionConfig, } from './
|
|
|
16
18
|
export { useV1DeleteProjDbSchemaInstanceMutation, v1DeleteProjDbSchemaInstance, } from './hooks/useV1DeleteProjDbSchemaInstanceMutation';
|
|
17
19
|
export { useV1DeleteProjDbSchemaMutation, v1DeleteProjDbSchema, } from './hooks/useV1DeleteProjDbSchemaMutation';
|
|
18
20
|
export { useV1FetchDeployedChangesetSqlMutation, v1FetchDeployedChangesetSql, } from './hooks/useV1FetchDeployedChangesetSqlMutation';
|
|
21
|
+
export { useV1FetchMigrationScriptSqlQuery, v1FetchMigrationScriptSql, } from './hooks/useV1FetchMigrationScriptSqlQuery';
|
|
19
22
|
export { useV1GetCustomerConfigQuery, v1GetCustomerConfig, } from './hooks/useV1GetCustomerConfigQuery';
|
|
20
23
|
export { useV1GetDbOverviewQuery, v1GetDbOverview } from './hooks/useV1GetDbOverviewQuery';
|
|
21
24
|
export { useV1GetDbinstanceLogQuery, v1GetDbinstanceLog } from './hooks/useV1GetDbinstanceLogQuery';
|
|
@@ -28,6 +31,8 @@ export { useV1IngestLogsMutation, v1IngestLogs } from './hooks/useV1IngestLogsMu
|
|
|
28
31
|
export { useV1ListDatabaseSchemaQuery, v1ListDatabaseSchema, } from './hooks/useV1ListDatabaseSchemaQuery';
|
|
29
32
|
export { useV1ListProjDbSchemaInstanceMutation, v1ListProjDbSchemaInstance, } from './hooks/useV1ListProjDbSchemaInstanceMutation';
|
|
30
33
|
export { useV1ListProjDbSchemaQuery, v1ListProjDbSchema } from './hooks/useV1ListProjDbSchemaQuery';
|
|
34
|
+
export { useV1MigrationStateFlywayInstanceQuery, v1MigrationStateFlywayInstance, } from './hooks/useV1MigrationStateFlywayInstanceQuery';
|
|
35
|
+
export { useV1MigrationStateFlywaySchemaMutation, v1MigrationStateFlywaySchema, } from './hooks/useV1MigrationStateFlywaySchemaMutation';
|
|
31
36
|
export { useV1MigrationStateProjDbInstanceQuery, v1MigrationStateProjDbInstance, } from './hooks/useV1MigrationStateProjDbInstanceQuery';
|
|
32
37
|
export { useV1MigrationStateProjDbSchemaMutation, v1MigrationStateProjDbSchema, } from './hooks/useV1MigrationStateProjDbSchemaMutation';
|
|
33
38
|
export { useV1ResetExecutionConfigMutation, v1ResetExecutionConfig, } from './hooks/useV1ResetExecutionConfigMutation';
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import type { FlywayCommand } from '../schemas/FlywayCommand';
|
|
2
|
+
export interface ConsumeFlywayPluginOutputRespRequestRequestBody {
|
|
3
|
+
command?: string;
|
|
4
|
+
harnessCommand: FlywayCommand;
|
|
5
|
+
instanceIdentifier: string;
|
|
6
|
+
/**
|
|
7
|
+
* if sync is paginated, whether this is the last chunk
|
|
8
|
+
*/
|
|
9
|
+
lastChunk: boolean;
|
|
10
|
+
parentId: string;
|
|
11
|
+
pipelineExecutionId: string;
|
|
12
|
+
pipelineIdentifier: string;
|
|
13
|
+
schemaIdentifier: string;
|
|
14
|
+
stageExecutionId: string;
|
|
15
|
+
/**
|
|
16
|
+
* base-64 encoded compressed step response from plugin extension based on command
|
|
17
|
+
*/
|
|
18
|
+
stepResponse: string;
|
|
19
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
package/dist/dbops-service/src/services/requestBodies/ConsumePluginOutputRespRequestRequestBody.d.ts
CHANGED
|
@@ -3,6 +3,14 @@ export interface ConsumePluginOutputRespRequestRequestBody {
|
|
|
3
3
|
command?: string;
|
|
4
4
|
harnessCommand: Command;
|
|
5
5
|
instanceIdentifier: string;
|
|
6
|
+
/**
|
|
7
|
+
* Indicates if this is the first page of paginated results
|
|
8
|
+
*/
|
|
9
|
+
isFirstPage?: boolean;
|
|
10
|
+
/**
|
|
11
|
+
* Indicates if this is the last page of paginated results
|
|
12
|
+
*/
|
|
13
|
+
isLastPage?: boolean;
|
|
6
14
|
orgId: string;
|
|
7
15
|
pipelineExecutionId: string;
|
|
8
16
|
pipelineIdentifier: string;
|
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 {};
|
package/dist/dbops-service/src/services/requestBodies/FlywayPluginInputsRequestRequestBody.d.ts
CHANGED
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import type { FlywayCommand } from '../schemas/FlywayCommand';
|
|
2
|
+
import type { PipelineExecutionMetadata } from '../schemas/PipelineExecutionMetadata';
|
|
2
3
|
export interface FlywayPluginInputsRequestRequestBody {
|
|
3
4
|
command: FlywayCommand;
|
|
4
5
|
/**
|
|
@@ -22,6 +23,7 @@ export interface FlywayPluginInputsRequestRequestBody {
|
|
|
22
23
|
* parent unique id for the scope
|
|
23
24
|
*/
|
|
24
25
|
parentId: string;
|
|
26
|
+
pipelineExecutionMetadata: PipelineExecutionMetadata;
|
|
25
27
|
/**
|
|
26
28
|
* Key value mapping of user input plugin settings
|
|
27
29
|
*/
|
package/dist/dbops-service/src/services/responses/FlywayInstanceMigrationStateResponseResponse.js
ADDED
|
@@ -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' | 'DBOPSRollbackCountSQL' | 'DBOPSRollbackSQL' | 'DBOPSUpdateSQL' | 'History' | 'MarkNextChangesetRan' | 'ParentWrapper' | 'Rollback' | 'RollbackCount' | 'RollbackCountSQL' | 'RollbackSQL' | '
|
|
4
|
+
export type Command = 'Clone' | 'Custom' | 'DBOPSRollbackCountSQL' | 'DBOPSRollbackSQL' | 'DBOPSSnapshot' | 'DBOPSUpdateSQL' | 'History' | 'MarkNextChangesetRan' | 'ParentWrapper' | 'Rollback' | 'RollbackCount' | 'RollbackCountSQL' | 'RollbackSQL' | 'Status' | 'Tag' | 'Update' | 'UpdateSQL' | 'Validate';
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
import type { MigrationStateInstance } from '../schemas/MigrationStateInstance';
|
|
2
|
+
/**
|
|
3
|
+
* Flyway Migration Applied across instances
|
|
4
|
+
*/
|
|
5
|
+
export interface FlywayAppliedMigration {
|
|
6
|
+
/**
|
|
7
|
+
* epoch seconds when the migration was applied
|
|
8
|
+
* @format int64
|
|
9
|
+
*/
|
|
10
|
+
deployedAt: number;
|
|
11
|
+
/**
|
|
12
|
+
* Description from the migration script
|
|
13
|
+
*/
|
|
14
|
+
description?: string;
|
|
15
|
+
instances: MigrationStateInstance[];
|
|
16
|
+
/**
|
|
17
|
+
* type of migration, whether baseline or actual script migration
|
|
18
|
+
*/
|
|
19
|
+
type: string;
|
|
20
|
+
/**
|
|
21
|
+
* version of flyway migration script
|
|
22
|
+
*/
|
|
23
|
+
version: string;
|
|
24
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
import type { ChangeSetDeploymentStatus } from '../schemas/ChangeSetDeploymentStatus';
|
|
2
|
+
/**
|
|
3
|
+
* Flyway Migration info across instances
|
|
4
|
+
*/
|
|
5
|
+
export interface FlywayInstanceMigrationState {
|
|
6
|
+
/**
|
|
7
|
+
* epoch seconds when the migration was applied
|
|
8
|
+
* @format int64
|
|
9
|
+
*/
|
|
10
|
+
deployedAt: number;
|
|
11
|
+
/**
|
|
12
|
+
* description from the migration script
|
|
13
|
+
*/
|
|
14
|
+
description?: string;
|
|
15
|
+
/**
|
|
16
|
+
* pipeline execution Id of the pipeline execution
|
|
17
|
+
*/
|
|
18
|
+
pipelineExecutionId: string;
|
|
19
|
+
/**
|
|
20
|
+
* Pipeline Identifier of the pipeline
|
|
21
|
+
*/
|
|
22
|
+
pipelineIdentifier: string;
|
|
23
|
+
/**
|
|
24
|
+
* stage execution id of the pipeline execution
|
|
25
|
+
*/
|
|
26
|
+
stageExecutionId: string;
|
|
27
|
+
status: ChangeSetDeploymentStatus;
|
|
28
|
+
/**
|
|
29
|
+
* type of migration, whether baseline or actual script migration
|
|
30
|
+
*/
|
|
31
|
+
type: string;
|
|
32
|
+
/**
|
|
33
|
+
* version of flyway migration script
|
|
34
|
+
*/
|
|
35
|
+
version: string;
|
|
36
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import type { FlywayInstanceMigrationState } from '../schemas/FlywayInstanceMigrationState';
|
|
2
|
+
/**
|
|
3
|
+
* Flyway Migration info across schema and instance
|
|
4
|
+
*/
|
|
5
|
+
export interface FlywayInstanceMigrationStateOutput {
|
|
6
|
+
/**
|
|
7
|
+
* Name of the Instance
|
|
8
|
+
*/
|
|
9
|
+
instanceName: string;
|
|
10
|
+
migrations?: FlywayInstanceMigrationState[];
|
|
11
|
+
/**
|
|
12
|
+
* Name of the Schema
|
|
13
|
+
*/
|
|
14
|
+
schemaName: string;
|
|
15
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import type { InstanceDetail } from '../schemas/InstanceDetail';
|
|
2
|
+
import type { FlywayAppliedMigration } from '../schemas/FlywayAppliedMigration';
|
|
3
|
+
/**
|
|
4
|
+
* Flyway Migration Applied for a schema information
|
|
5
|
+
*/
|
|
6
|
+
export interface FlywayMigrationStateOutput {
|
|
7
|
+
instances?: InstanceDetail[];
|
|
8
|
+
migrations?: FlywayAppliedMigration[];
|
|
9
|
+
/**
|
|
10
|
+
* Identifier of the Schema
|
|
11
|
+
*/
|
|
12
|
+
schema: string;
|
|
13
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
package/package.json
CHANGED