@harnessio/react-dbops-service-client 0.23.0 → 0.25.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/useV1ChangesetmetadataProjDbInstanceQuery.d.ts +45 -0
- package/dist/dbops-service/src/services/hooks/useV1ChangesetmetadataProjDbInstanceQuery.js +21 -0
- package/dist/dbops-service/src/services/hooks/useV1DeleteDbSchemaMutation.d.ts +22 -0
- package/dist/dbops-service/src/services/hooks/useV1DeleteDbSchemaMutation.js +14 -0
- package/dist/dbops-service/src/services/hooks/useV1GetPipelineExecutionStatusQuery.d.ts +27 -0
- package/dist/dbops-service/src/services/hooks/useV1GetPipelineExecutionStatusQuery.js +20 -0
- package/dist/dbops-service/src/services/hooks/useV1ListDatabaseSchemaQuery.d.ts +40 -0
- package/dist/dbops-service/src/services/hooks/useV1ListDatabaseSchemaQuery.js +14 -0
- package/dist/dbops-service/src/services/index.d.ts +12 -0
- package/dist/dbops-service/src/services/index.js +4 -0
- package/dist/dbops-service/src/services/requestBodies/DbSchemaUpdateRequestRequestBody.d.ts +4 -0
- package/dist/dbops-service/src/services/requestBodies/FailureInterruptRequestRequestBody.d.ts +0 -4
- package/dist/dbops-service/src/services/responses/ChangeSetMetadataResponseResponse.d.ts +2 -0
- package/dist/dbops-service/src/services/responses/ChangeSetMetadataResponseResponse.js +1 -0
- package/dist/dbops-service/src/services/responses/PipelineStatusResponseResponse.d.ts +2 -0
- package/dist/dbops-service/src/services/responses/PipelineStatusResponseResponse.js +1 -0
- package/dist/dbops-service/src/services/schemas/ChangeSetMetadataOutput.d.ts +6 -0
- package/dist/dbops-service/src/services/schemas/ChangeSetMetadataOutput.js +4 -0
- package/dist/dbops-service/src/services/schemas/Command.d.ts +1 -1
- package/dist/dbops-service/src/services/schemas/DbSchemaOut.d.ts +8 -0
- package/dist/dbops-service/src/services/schemas/PipelineStatusOutput.d.ts +19 -0
- package/dist/dbops-service/src/services/schemas/PipelineStatusOutput.js +4 -0
- package/package.json +1 -1
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
import { UseQueryOptions } from '@tanstack/react-query';
|
|
2
|
+
import type { ChangeSetMetadataResponseResponse } from '../responses/ChangeSetMetadataResponseResponse';
|
|
3
|
+
import type { ErrorResponseResponse } from '../responses/ErrorResponseResponse';
|
|
4
|
+
import type { ResponseWithPagination } from '../helpers';
|
|
5
|
+
import { FetcherOptions } from '../../../../fetcher/index.js';
|
|
6
|
+
export interface V1ChangesetmetadataProjDbInstanceQueryPathParams {
|
|
7
|
+
dbschema: string;
|
|
8
|
+
dbinstance: string;
|
|
9
|
+
org: string;
|
|
10
|
+
project: string;
|
|
11
|
+
}
|
|
12
|
+
export interface V1ChangesetmetadataProjDbInstanceQueryQueryParams {
|
|
13
|
+
/**
|
|
14
|
+
* @example "Update"
|
|
15
|
+
*/
|
|
16
|
+
harnessCommand: 'Rollback' | 'Update';
|
|
17
|
+
pipelineExecutionId: string;
|
|
18
|
+
stageExecutionId: string;
|
|
19
|
+
/**
|
|
20
|
+
* @example "Yaml"
|
|
21
|
+
*/
|
|
22
|
+
contentType: 'Sql' | 'Yaml';
|
|
23
|
+
/**
|
|
24
|
+
* @format int64
|
|
25
|
+
* @default 0
|
|
26
|
+
*/
|
|
27
|
+
page?: number;
|
|
28
|
+
/**
|
|
29
|
+
* @default 10
|
|
30
|
+
*/
|
|
31
|
+
limit?: number;
|
|
32
|
+
}
|
|
33
|
+
export interface V1ChangesetmetadataProjDbInstanceQueryHeaderParams {
|
|
34
|
+
'Harness-Account'?: string;
|
|
35
|
+
}
|
|
36
|
+
export type V1ChangesetmetadataProjDbInstanceOkResponse = ResponseWithPagination<ChangeSetMetadataResponseResponse>;
|
|
37
|
+
export type V1ChangesetmetadataProjDbInstanceErrorResponse = ErrorResponseResponse;
|
|
38
|
+
export interface V1ChangesetmetadataProjDbInstanceProps extends V1ChangesetmetadataProjDbInstanceQueryPathParams, Omit<FetcherOptions<V1ChangesetmetadataProjDbInstanceQueryQueryParams, unknown, V1ChangesetmetadataProjDbInstanceQueryHeaderParams>, 'url'> {
|
|
39
|
+
queryParams: V1ChangesetmetadataProjDbInstanceQueryQueryParams;
|
|
40
|
+
}
|
|
41
|
+
export declare function v1ChangesetmetadataProjDbInstance(props: V1ChangesetmetadataProjDbInstanceProps): Promise<V1ChangesetmetadataProjDbInstanceOkResponse>;
|
|
42
|
+
/**
|
|
43
|
+
* get changeset metadata
|
|
44
|
+
*/
|
|
45
|
+
export declare function useV1ChangesetmetadataProjDbInstanceQuery(props: V1ChangesetmetadataProjDbInstanceProps, options?: Omit<UseQueryOptions<V1ChangesetmetadataProjDbInstanceOkResponse, V1ChangesetmetadataProjDbInstanceErrorResponse>, 'queryKey' | 'queryFn'>): import("@tanstack/react-query").UseQueryResult<V1ChangesetmetadataProjDbInstanceOkResponse, 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 v1ChangesetmetadataProjDbInstance(props) {
|
|
7
|
+
return fetcher(Object.assign({ url: `/v1/orgs/${props.org}/projects/${props.project}/dbschema/${props.dbschema}/dbinstance/${props.dbinstance}/changesetmetadata`, method: 'GET' }, props));
|
|
8
|
+
}
|
|
9
|
+
/**
|
|
10
|
+
* get changeset metadata
|
|
11
|
+
*/
|
|
12
|
+
export function useV1ChangesetmetadataProjDbInstanceQuery(props, options) {
|
|
13
|
+
return useQuery([
|
|
14
|
+
'v1-changesetmetadata-proj-db-instance',
|
|
15
|
+
props.dbschema,
|
|
16
|
+
props.dbinstance,
|
|
17
|
+
props.org,
|
|
18
|
+
props.project,
|
|
19
|
+
props.queryParams,
|
|
20
|
+
], ({ signal }) => v1ChangesetmetadataProjDbInstance(Object.assign(Object.assign({}, props), { signal })), options);
|
|
21
|
+
}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import { UseMutationOptions } from '@tanstack/react-query';
|
|
2
|
+
import type { ErrorResponseResponse } from '../responses/ErrorResponseResponse';
|
|
3
|
+
import type { ResponseWithPagination } from '../helpers';
|
|
4
|
+
import { FetcherOptions } from '../../../../fetcher/index.js';
|
|
5
|
+
export interface V1DeleteDbSchemaMutationQueryParams {
|
|
6
|
+
orgIdentifier?: string;
|
|
7
|
+
projectIdentifier?: string;
|
|
8
|
+
parent_id?: string;
|
|
9
|
+
}
|
|
10
|
+
export interface V1DeleteDbSchemaMutationHeaderParams {
|
|
11
|
+
'Harness-Account': string;
|
|
12
|
+
}
|
|
13
|
+
export type V1DeleteDbSchemaOkResponse = ResponseWithPagination<unknown>;
|
|
14
|
+
export type V1DeleteDbSchemaErrorResponse = ErrorResponseResponse;
|
|
15
|
+
export interface V1DeleteDbSchemaProps extends Omit<FetcherOptions<V1DeleteDbSchemaMutationQueryParams, unknown, V1DeleteDbSchemaMutationHeaderParams>, 'url'> {
|
|
16
|
+
queryParams: V1DeleteDbSchemaMutationQueryParams;
|
|
17
|
+
}
|
|
18
|
+
export declare function v1DeleteDbSchema(props: V1DeleteDbSchemaProps): Promise<V1DeleteDbSchemaOkResponse>;
|
|
19
|
+
/**
|
|
20
|
+
* Delete schemas for a parentId with support for org/project as well
|
|
21
|
+
*/
|
|
22
|
+
export declare function useV1DeleteDbSchemaMutation(options?: Omit<UseMutationOptions<V1DeleteDbSchemaOkResponse, V1DeleteDbSchemaErrorResponse, V1DeleteDbSchemaProps>, 'mutationKey' | 'mutationFn'>): import("@tanstack/react-query").UseMutationResult<V1DeleteDbSchemaOkResponse, import("..").Error, V1DeleteDbSchemaProps, 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 v1DeleteDbSchema(props) {
|
|
7
|
+
return fetcher(Object.assign({ url: `/v1/dbops/dbschema`, method: 'DELETE' }, props));
|
|
8
|
+
}
|
|
9
|
+
/**
|
|
10
|
+
* Delete schemas for a parentId with support for org/project as well
|
|
11
|
+
*/
|
|
12
|
+
export function useV1DeleteDbSchemaMutation(options) {
|
|
13
|
+
return useMutation((mutateProps) => v1DeleteDbSchema(mutateProps), options);
|
|
14
|
+
}
|
|
@@ -0,0 +1,27 @@
|
|
|
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 V1GetPipelineExecutionStatusQueryPathParams {
|
|
7
|
+
org: string;
|
|
8
|
+
project: string;
|
|
9
|
+
pipelineIdentifier: string;
|
|
10
|
+
}
|
|
11
|
+
export interface V1GetPipelineExecutionStatusQueryQueryParams {
|
|
12
|
+
pipelineExecutionId: string;
|
|
13
|
+
stageNodeId?: string;
|
|
14
|
+
}
|
|
15
|
+
export interface V1GetPipelineExecutionStatusQueryHeaderParams {
|
|
16
|
+
'Harness-Account'?: string;
|
|
17
|
+
}
|
|
18
|
+
export type V1GetPipelineExecutionStatusOkResponse = ResponseWithPagination<PipelineStatusResponseResponse>;
|
|
19
|
+
export type V1GetPipelineExecutionStatusErrorResponse = ErrorResponseResponse;
|
|
20
|
+
export interface V1GetPipelineExecutionStatusProps extends V1GetPipelineExecutionStatusQueryPathParams, Omit<FetcherOptions<V1GetPipelineExecutionStatusQueryQueryParams, unknown, V1GetPipelineExecutionStatusQueryHeaderParams>, 'url'> {
|
|
21
|
+
queryParams: V1GetPipelineExecutionStatusQueryQueryParams;
|
|
22
|
+
}
|
|
23
|
+
export declare function v1GetPipelineExecutionStatus(props: V1GetPipelineExecutionStatusProps): Promise<V1GetPipelineExecutionStatusOkResponse>;
|
|
24
|
+
/**
|
|
25
|
+
* Api to get the pipeline execution status
|
|
26
|
+
*/
|
|
27
|
+
export declare function useV1GetPipelineExecutionStatusQuery(props: V1GetPipelineExecutionStatusProps, options?: Omit<UseQueryOptions<V1GetPipelineExecutionStatusOkResponse, V1GetPipelineExecutionStatusErrorResponse>, 'queryKey' | 'queryFn'>): import("@tanstack/react-query").UseQueryResult<V1GetPipelineExecutionStatusOkResponse, import("..").Error>;
|
|
@@ -0,0 +1,20 @@
|
|
|
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 v1GetPipelineExecutionStatus(props) {
|
|
7
|
+
return fetcher(Object.assign({ url: `/v1/orgs/${props.org}/projects/${props.project}/pipeline/${props.pipelineIdentifier}/status`, method: 'GET' }, props));
|
|
8
|
+
}
|
|
9
|
+
/**
|
|
10
|
+
* Api to get the pipeline execution status
|
|
11
|
+
*/
|
|
12
|
+
export function useV1GetPipelineExecutionStatusQuery(props, options) {
|
|
13
|
+
return useQuery([
|
|
14
|
+
'v1-get-pipeline-execution-status',
|
|
15
|
+
props.org,
|
|
16
|
+
props.project,
|
|
17
|
+
props.pipelineIdentifier,
|
|
18
|
+
props.queryParams,
|
|
19
|
+
], ({ signal }) => v1GetPipelineExecutionStatus(Object.assign(Object.assign({}, props), { signal })), options);
|
|
20
|
+
}
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
import { UseQueryOptions } from '@tanstack/react-query';
|
|
2
|
+
import type { DbSchemaOut } from '../schemas/DbSchemaOut';
|
|
3
|
+
import type { ErrorResponseResponse } from '../responses/ErrorResponseResponse';
|
|
4
|
+
import type { ResponseWithPagination } from '../helpers';
|
|
5
|
+
import { FetcherOptions } from '../../../../fetcher/index.js';
|
|
6
|
+
export interface V1ListDatabaseSchemaQueryQueryParams {
|
|
7
|
+
/**
|
|
8
|
+
* @format int64
|
|
9
|
+
* @default 0
|
|
10
|
+
*/
|
|
11
|
+
page?: number;
|
|
12
|
+
/**
|
|
13
|
+
* @default 10
|
|
14
|
+
*/
|
|
15
|
+
limit?: number;
|
|
16
|
+
search_term?: string;
|
|
17
|
+
/**
|
|
18
|
+
* @default "created"
|
|
19
|
+
*/
|
|
20
|
+
sort?: 'created' | 'name' | 'updated';
|
|
21
|
+
/**
|
|
22
|
+
* @default "DESC"
|
|
23
|
+
*/
|
|
24
|
+
order?: 'ASC' | 'DESC';
|
|
25
|
+
orgIdentifier?: string;
|
|
26
|
+
projectIdentifier?: string;
|
|
27
|
+
}
|
|
28
|
+
export interface V1ListDatabaseSchemaQueryHeaderParams {
|
|
29
|
+
'Harness-Account': string;
|
|
30
|
+
}
|
|
31
|
+
export type V1ListDatabaseSchemaOkResponse = ResponseWithPagination<DbSchemaOut[]>;
|
|
32
|
+
export type V1ListDatabaseSchemaErrorResponse = ErrorResponseResponse;
|
|
33
|
+
export interface V1ListDatabaseSchemaProps extends Omit<FetcherOptions<V1ListDatabaseSchemaQueryQueryParams, unknown, V1ListDatabaseSchemaQueryHeaderParams>, 'url'> {
|
|
34
|
+
queryParams: V1ListDatabaseSchemaQueryQueryParams;
|
|
35
|
+
}
|
|
36
|
+
export declare function v1ListDatabaseSchema(props: V1ListDatabaseSchemaProps): Promise<V1ListDatabaseSchemaOkResponse>;
|
|
37
|
+
/**
|
|
38
|
+
* List database schemas for an account
|
|
39
|
+
*/
|
|
40
|
+
export declare function useV1ListDatabaseSchemaQuery(props: V1ListDatabaseSchemaProps, options?: Omit<UseQueryOptions<V1ListDatabaseSchemaOkResponse, V1ListDatabaseSchemaErrorResponse>, 'queryKey' | 'queryFn'>): import("@tanstack/react-query").UseQueryResult<V1ListDatabaseSchemaOkResponse, 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 v1ListDatabaseSchema(props) {
|
|
7
|
+
return fetcher(Object.assign({ url: `/v1/dbops/dbschema`, method: 'GET' }, props));
|
|
8
|
+
}
|
|
9
|
+
/**
|
|
10
|
+
* List database schemas for an account
|
|
11
|
+
*/
|
|
12
|
+
export function useV1ListDatabaseSchemaQuery(props, options) {
|
|
13
|
+
return useQuery(['v1-list-database-schema', props.queryParams], ({ signal }) => v1ListDatabaseSchema(Object.assign(Object.assign({}, props), { signal })), options);
|
|
14
|
+
}
|
|
@@ -13,10 +13,14 @@ export type { GetV1SchemaInstanceMetadataErrorResponse, GetV1SchemaInstanceMetad
|
|
|
13
13
|
export { getV1SchemaInstanceMetadata, useGetV1SchemaInstanceMetadataMutation, } from './hooks/useGetV1SchemaInstanceMetadataMutation';
|
|
14
14
|
export type { V1ChangesetYamlProjDbInstanceErrorResponse, V1ChangesetYamlProjDbInstanceOkResponse, V1ChangesetYamlProjDbInstanceProps, V1ChangesetYamlProjDbInstanceQueryPathParams, V1ChangesetYamlProjDbInstanceQueryQueryParams, } from './hooks/useV1ChangesetYamlProjDbInstanceQuery';
|
|
15
15
|
export { useV1ChangesetYamlProjDbInstanceQuery, v1ChangesetYamlProjDbInstance, } from './hooks/useV1ChangesetYamlProjDbInstanceQuery';
|
|
16
|
+
export type { V1ChangesetmetadataProjDbInstanceErrorResponse, V1ChangesetmetadataProjDbInstanceOkResponse, V1ChangesetmetadataProjDbInstanceProps, V1ChangesetmetadataProjDbInstanceQueryPathParams, V1ChangesetmetadataProjDbInstanceQueryQueryParams, } from './hooks/useV1ChangesetmetadataProjDbInstanceQuery';
|
|
17
|
+
export { useV1ChangesetmetadataProjDbInstanceQuery, v1ChangesetmetadataProjDbInstance, } from './hooks/useV1ChangesetmetadataProjDbInstanceQuery';
|
|
16
18
|
export type { V1CreateProjDbSchemaInstanceErrorResponse, V1CreateProjDbSchemaInstanceMutationPathParams, V1CreateProjDbSchemaInstanceOkResponse, V1CreateProjDbSchemaInstanceProps, V1CreateProjDbSchemaInstanceRequestBody, } from './hooks/useV1CreateProjDbSchemaInstanceMutation';
|
|
17
19
|
export { useV1CreateProjDbSchemaInstanceMutation, v1CreateProjDbSchemaInstance, } from './hooks/useV1CreateProjDbSchemaInstanceMutation';
|
|
18
20
|
export type { V1CreateProjDbSchemaErrorResponse, V1CreateProjDbSchemaMutationPathParams, V1CreateProjDbSchemaOkResponse, V1CreateProjDbSchemaProps, V1CreateProjDbSchemaRequestBody, } from './hooks/useV1CreateProjDbSchemaMutation';
|
|
19
21
|
export { useV1CreateProjDbSchemaMutation, v1CreateProjDbSchema, } from './hooks/useV1CreateProjDbSchemaMutation';
|
|
22
|
+
export type { V1DeleteDbSchemaErrorResponse, V1DeleteDbSchemaMutationQueryParams, V1DeleteDbSchemaOkResponse, V1DeleteDbSchemaProps, } from './hooks/useV1DeleteDbSchemaMutation';
|
|
23
|
+
export { useV1DeleteDbSchemaMutation, v1DeleteDbSchema } from './hooks/useV1DeleteDbSchemaMutation';
|
|
20
24
|
export type { V1DeleteExecutionConfigErrorResponse, V1DeleteExecutionConfigOkResponse, V1DeleteExecutionConfigProps, } from './hooks/useV1DeleteExecutionConfigMutation';
|
|
21
25
|
export { useV1DeleteExecutionConfigMutation, v1DeleteExecutionConfig, } from './hooks/useV1DeleteExecutionConfigMutation';
|
|
22
26
|
export type { V1DeleteProjDbSchemaInstanceErrorResponse, V1DeleteProjDbSchemaInstanceMutationPathParams, V1DeleteProjDbSchemaInstanceOkResponse, V1DeleteProjDbSchemaInstanceProps, } from './hooks/useV1DeleteProjDbSchemaInstanceMutation';
|
|
@@ -35,12 +39,16 @@ export type { V1GetDefaultConfigErrorResponse, V1GetDefaultConfigOkResponse, V1G
|
|
|
35
39
|
export { useV1GetDefaultConfigQuery, v1GetDefaultConfig } from './hooks/useV1GetDefaultConfigQuery';
|
|
36
40
|
export type { V1GetDeployedStateErrorResponse, V1GetDeployedStateMutationPathParams, V1GetDeployedStateMutationQueryParams, V1GetDeployedStateOkResponse, V1GetDeployedStateProps, V1GetDeployedStateRequestBody, } from './hooks/useV1GetDeployedStateMutation';
|
|
37
41
|
export { useV1GetDeployedStateMutation, v1GetDeployedState, } from './hooks/useV1GetDeployedStateMutation';
|
|
42
|
+
export type { V1GetPipelineExecutionStatusErrorResponse, V1GetPipelineExecutionStatusOkResponse, V1GetPipelineExecutionStatusProps, V1GetPipelineExecutionStatusQueryPathParams, V1GetPipelineExecutionStatusQueryQueryParams, } from './hooks/useV1GetPipelineExecutionStatusQuery';
|
|
43
|
+
export { useV1GetPipelineExecutionStatusQuery, v1GetPipelineExecutionStatus, } from './hooks/useV1GetPipelineExecutionStatusQuery';
|
|
38
44
|
export type { V1GetProjDbSchemaInstanceErrorResponse, V1GetProjDbSchemaInstanceOkResponse, V1GetProjDbSchemaInstanceProps, V1GetProjDbSchemaInstanceQueryPathParams, } from './hooks/useV1GetProjDbSchemaInstanceQuery';
|
|
39
45
|
export { useV1GetProjDbSchemaInstanceQuery, v1GetProjDbSchemaInstance, } from './hooks/useV1GetProjDbSchemaInstanceQuery';
|
|
40
46
|
export type { V1GetProjDbSchemaErrorResponse, V1GetProjDbSchemaOkResponse, V1GetProjDbSchemaProps, V1GetProjDbSchemaQueryPathParams, } from './hooks/useV1GetProjDbSchemaQuery';
|
|
41
47
|
export { useV1GetProjDbSchemaQuery, v1GetProjDbSchema } from './hooks/useV1GetProjDbSchemaQuery';
|
|
42
48
|
export type { V1IngestLogsErrorResponse, V1IngestLogsMutationPathParams, V1IngestLogsOkResponse, V1IngestLogsProps, V1IngestLogsRequestBody, } from './hooks/useV1IngestLogsMutation';
|
|
43
49
|
export { useV1IngestLogsMutation, v1IngestLogs } from './hooks/useV1IngestLogsMutation';
|
|
50
|
+
export type { V1ListDatabaseSchemaErrorResponse, V1ListDatabaseSchemaOkResponse, V1ListDatabaseSchemaProps, V1ListDatabaseSchemaQueryQueryParams, } from './hooks/useV1ListDatabaseSchemaQuery';
|
|
51
|
+
export { useV1ListDatabaseSchemaQuery, v1ListDatabaseSchema, } from './hooks/useV1ListDatabaseSchemaQuery';
|
|
44
52
|
export type { V1ListProjDbSchemaInstanceErrorResponse, V1ListProjDbSchemaInstanceMutationPathParams, V1ListProjDbSchemaInstanceMutationQueryParams, V1ListProjDbSchemaInstanceOkResponse, V1ListProjDbSchemaInstanceProps, V1ListProjDbSchemaInstanceRequestBody, } from './hooks/useV1ListProjDbSchemaInstanceMutation';
|
|
45
53
|
export { useV1ListProjDbSchemaInstanceMutation, v1ListProjDbSchemaInstance, } from './hooks/useV1ListProjDbSchemaInstanceMutation';
|
|
46
54
|
export type { V1ListProjDbSchemaErrorResponse, V1ListProjDbSchemaOkResponse, V1ListProjDbSchemaProps, V1ListProjDbSchemaQueryPathParams, V1ListProjDbSchemaQueryQueryParams, } from './hooks/useV1ListProjDbSchemaQuery';
|
|
@@ -79,6 +87,7 @@ export type { MigrationStateGetRequestRequestBody } from './requestBodies/Migrat
|
|
|
79
87
|
export type { PluginStepInputsRequestRequestBody } from './requestBodies/PluginStepInputsRequestRequestBody';
|
|
80
88
|
export type { SchemaInstanceMetadataRequestRequestBody } from './requestBodies/SchemaInstanceMetadataRequestRequestBody';
|
|
81
89
|
export type { ChangeSetDeploymentYamlResponseResponse } from './responses/ChangeSetDeploymentYamlResponseResponse';
|
|
90
|
+
export type { ChangeSetMetadataResponseResponse } from './responses/ChangeSetMetadataResponseResponse';
|
|
82
91
|
export type { CustomOperationResponseResponse } from './responses/CustomOperationResponseResponse';
|
|
83
92
|
export type { DbInstanceListResponseResponse } from './responses/DbInstanceListResponseResponse';
|
|
84
93
|
export type { DbInstanceResponseResponse } from './responses/DbInstanceResponseResponse';
|
|
@@ -92,11 +101,13 @@ export type { InstanceMigrationStateResponseResponse } from './responses/Instanc
|
|
|
92
101
|
export type { MigrationStateResponseResponse } from './responses/MigrationStateResponseResponse';
|
|
93
102
|
export type { OverviewResponseResponse } from './responses/OverviewResponseResponse';
|
|
94
103
|
export type { ParsedLogResponseResponse } from './responses/ParsedLogResponseResponse';
|
|
104
|
+
export type { PipelineStatusResponseResponse } from './responses/PipelineStatusResponseResponse';
|
|
95
105
|
export type { PluginInputsResponseResponse } from './responses/PluginInputsResponseResponse';
|
|
96
106
|
export type { SchemaInstanceMetadataResponseResponse } from './responses/SchemaInstanceMetadataResponseResponse';
|
|
97
107
|
export type { ChangeLogScript } from './schemas/ChangeLogScript';
|
|
98
108
|
export type { ChangeSetDeploymentStatus } from './schemas/ChangeSetDeploymentStatus';
|
|
99
109
|
export type { ChangeSetDeploymentYamlOutput } from './schemas/ChangeSetDeploymentYamlOutput';
|
|
110
|
+
export type { ChangeSetMetadataOutput } from './schemas/ChangeSetMetadataOutput';
|
|
100
111
|
export type { Changelog } from './schemas/Changelog';
|
|
101
112
|
export type { Command } from './schemas/Command';
|
|
102
113
|
export type { CommandExecutionStatus } from './schemas/CommandExecutionStatus';
|
|
@@ -133,6 +144,7 @@ export type { OrderInstance } from './schemas/OrderInstance';
|
|
|
133
144
|
export type { OverviewResponseOutput } from './schemas/OverviewResponseOutput';
|
|
134
145
|
export type { ParsedLogOut } from './schemas/ParsedLogOut';
|
|
135
146
|
export type { PipelineExecutionMetadata } from './schemas/PipelineExecutionMetadata';
|
|
147
|
+
export type { PipelineStatusOutput } from './schemas/PipelineStatusOutput';
|
|
136
148
|
export type { SchemaInstanceMetadataInput } from './schemas/SchemaInstanceMetadataInput';
|
|
137
149
|
export type { SchemaInstanceMetadataOutput } from './schemas/SchemaInstanceMetadataOutput';
|
|
138
150
|
export type { SortInstance } from './schemas/SortInstance';
|
|
@@ -5,8 +5,10 @@ export { createV1StepPluginInputs, useCreateV1StepPluginInputsMutation, } from '
|
|
|
5
5
|
export { getV1CustomOperations, useGetV1CustomOperationsMutation, } from './hooks/useGetV1CustomOperationsMutation';
|
|
6
6
|
export { getV1SchemaInstanceMetadata, useGetV1SchemaInstanceMetadataMutation, } from './hooks/useGetV1SchemaInstanceMetadataMutation';
|
|
7
7
|
export { useV1ChangesetYamlProjDbInstanceQuery, v1ChangesetYamlProjDbInstance, } from './hooks/useV1ChangesetYamlProjDbInstanceQuery';
|
|
8
|
+
export { useV1ChangesetmetadataProjDbInstanceQuery, v1ChangesetmetadataProjDbInstance, } from './hooks/useV1ChangesetmetadataProjDbInstanceQuery';
|
|
8
9
|
export { useV1CreateProjDbSchemaInstanceMutation, v1CreateProjDbSchemaInstance, } from './hooks/useV1CreateProjDbSchemaInstanceMutation';
|
|
9
10
|
export { useV1CreateProjDbSchemaMutation, v1CreateProjDbSchema, } from './hooks/useV1CreateProjDbSchemaMutation';
|
|
11
|
+
export { useV1DeleteDbSchemaMutation, v1DeleteDbSchema } from './hooks/useV1DeleteDbSchemaMutation';
|
|
10
12
|
export { useV1DeleteExecutionConfigMutation, v1DeleteExecutionConfig, } from './hooks/useV1DeleteExecutionConfigMutation';
|
|
11
13
|
export { useV1DeleteProjDbSchemaInstanceMutation, v1DeleteProjDbSchemaInstance, } from './hooks/useV1DeleteProjDbSchemaInstanceMutation';
|
|
12
14
|
export { useV1DeleteProjDbSchemaMutation, v1DeleteProjDbSchema, } from './hooks/useV1DeleteProjDbSchemaMutation';
|
|
@@ -16,9 +18,11 @@ export { useV1GetDbOverviewQuery, v1GetDbOverview } from './hooks/useV1GetDbOver
|
|
|
16
18
|
export { useV1GetDbinstanceLogQuery, v1GetDbinstanceLog } from './hooks/useV1GetDbinstanceLogQuery';
|
|
17
19
|
export { useV1GetDefaultConfigQuery, v1GetDefaultConfig } from './hooks/useV1GetDefaultConfigQuery';
|
|
18
20
|
export { useV1GetDeployedStateMutation, v1GetDeployedState, } from './hooks/useV1GetDeployedStateMutation';
|
|
21
|
+
export { useV1GetPipelineExecutionStatusQuery, v1GetPipelineExecutionStatus, } from './hooks/useV1GetPipelineExecutionStatusQuery';
|
|
19
22
|
export { useV1GetProjDbSchemaInstanceQuery, v1GetProjDbSchemaInstance, } from './hooks/useV1GetProjDbSchemaInstanceQuery';
|
|
20
23
|
export { useV1GetProjDbSchemaQuery, v1GetProjDbSchema } from './hooks/useV1GetProjDbSchemaQuery';
|
|
21
24
|
export { useV1IngestLogsMutation, v1IngestLogs } from './hooks/useV1IngestLogsMutation';
|
|
25
|
+
export { useV1ListDatabaseSchemaQuery, v1ListDatabaseSchema, } from './hooks/useV1ListDatabaseSchemaQuery';
|
|
22
26
|
export { useV1ListProjDbSchemaInstanceMutation, v1ListProjDbSchemaInstance, } from './hooks/useV1ListProjDbSchemaInstanceMutation';
|
|
23
27
|
export { useV1ListProjDbSchemaQuery, v1ListProjDbSchema } from './hooks/useV1ListProjDbSchemaQuery';
|
|
24
28
|
export { useV1MigrationStateProjDbInstanceQuery, v1MigrationStateProjDbInstance, } from './hooks/useV1MigrationStateProjDbInstanceQuery';
|
|
@@ -54,6 +54,10 @@ export interface DbSchemaUpdateRequestRequestBody {
|
|
|
54
54
|
*
|
|
55
55
|
*/
|
|
56
56
|
name?: string;
|
|
57
|
+
/**
|
|
58
|
+
* This is the primary db instance identifier for advanced feature like LLM Authoring etc.
|
|
59
|
+
*/
|
|
60
|
+
primaryDbInstanceId?: string;
|
|
57
61
|
/**
|
|
58
62
|
* harness service corresponding to database schema
|
|
59
63
|
*
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* Type of the plugin command to run
|
|
3
3
|
*/
|
|
4
|
-
export type Command = 'Clone' | 'Custom' | 'History' | 'ParentWrapper' | 'Rollback' | 'RollbackCount' | 'RollbackCountSQL' | 'RollbackSQL' | 'Status' | 'Tag' | 'Update' | 'UpdateSQL' | 'Validate';
|
|
4
|
+
export type Command = 'Clone' | 'Custom' | 'DBOPSRollbackCountSQL' | 'DBOPSRollbackSQL' | 'DBOPSUpdateSQL' | 'History' | 'MarkNextChangesetRan' | 'ParentWrapper' | 'Rollback' | 'RollbackCount' | 'RollbackCountSQL' | 'RollbackSQL' | 'Status' | 'Tag' | 'Update' | 'UpdateSQL' | 'Validate';
|
|
@@ -25,6 +25,14 @@ export interface DbSchemaOut {
|
|
|
25
25
|
* name of the database schema
|
|
26
26
|
*/
|
|
27
27
|
name: string;
|
|
28
|
+
/**
|
|
29
|
+
* parentUniqueId for scope schema belongs to
|
|
30
|
+
*/
|
|
31
|
+
parentId: string;
|
|
32
|
+
/**
|
|
33
|
+
* Identifier for the primary dbInstance used for advanced feature like LLM Authoring etc.
|
|
34
|
+
*/
|
|
35
|
+
primaryDbInstanceId?: string;
|
|
28
36
|
schemaSourceType?: 'Artifactory' | 'Custom' | 'Git';
|
|
29
37
|
/**
|
|
30
38
|
* harness service corresponding to database schema
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Response body for Pipeline execution status
|
|
3
|
+
*/
|
|
4
|
+
export interface PipelineStatusOutput {
|
|
5
|
+
/**
|
|
6
|
+
* meta data of the api
|
|
7
|
+
*/
|
|
8
|
+
metadata: {
|
|
9
|
+
[key: string]: string;
|
|
10
|
+
};
|
|
11
|
+
/**
|
|
12
|
+
* response message for the pipeline stage api
|
|
13
|
+
*/
|
|
14
|
+
response: string;
|
|
15
|
+
/**
|
|
16
|
+
* status of the pipeline
|
|
17
|
+
*/
|
|
18
|
+
status: string;
|
|
19
|
+
}
|
package/package.json
CHANGED