@harnessio/react-idp-service-client 0.24.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.
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { UseMutationOptions } from '@tanstack/react-query';
|
|
2
|
+
import type { LayoutResponseResponse } from '../responses/LayoutResponseResponse';
|
|
2
3
|
import type { LayoutIngestRequest } from '../schemas/LayoutIngestRequest';
|
|
3
4
|
import type { ResponseWithPagination } from '../helpers';
|
|
4
5
|
import { FetcherOptions } from './../../fetcher';
|
|
@@ -6,7 +7,7 @@ export interface LayoutIngestMutationHeaderParams {
|
|
|
6
7
|
'Harness-Account'?: string;
|
|
7
8
|
}
|
|
8
9
|
export type LayoutIngestRequestBody = LayoutIngestRequest;
|
|
9
|
-
export type LayoutIngestOkResponse = ResponseWithPagination<
|
|
10
|
+
export type LayoutIngestOkResponse = ResponseWithPagination<LayoutResponseResponse>;
|
|
10
11
|
export type LayoutIngestErrorResponse = unknown;
|
|
11
12
|
export interface LayoutIngestProps extends Omit<FetcherOptions<unknown, LayoutIngestRequestBody, LayoutIngestMutationHeaderParams>, 'url'> {
|
|
12
13
|
body: LayoutIngestRequestBody;
|