@harnessio/react-har-service-client 0.0.14 → 0.0.15
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.
|
@@ -7,14 +7,10 @@ import type { InternalServerErrorResponse } from '../responses/InternalServerErr
|
|
|
7
7
|
import type { RegistryRequestRequestBody } from '../requestBodies/RegistryRequestRequestBody';
|
|
8
8
|
import type { ResponseWithPagination } from '../helpers';
|
|
9
9
|
import { FetcherOptions } from '../../../../fetcher/index.js';
|
|
10
|
-
export interface CreateRegistryMutationQueryParams {
|
|
11
|
-
parent_ref: string;
|
|
12
|
-
}
|
|
13
10
|
export type CreateRegistryRequestBody = RegistryRequestRequestBody;
|
|
14
11
|
export type CreateRegistryOkResponse = ResponseWithPagination<RegistryResponseResponse>;
|
|
15
12
|
export type CreateRegistryErrorResponse = BadRequestResponse | UnauthenticatedResponse | UnauthorizedResponse | InternalServerErrorResponse;
|
|
16
|
-
export interface CreateRegistryProps extends Omit<FetcherOptions<
|
|
17
|
-
queryParams: CreateRegistryMutationQueryParams;
|
|
13
|
+
export interface CreateRegistryProps extends Omit<FetcherOptions<unknown, CreateRegistryRequestBody>, 'url'> {
|
|
18
14
|
body: CreateRegistryRequestBody;
|
|
19
15
|
}
|
|
20
16
|
export declare function createRegistry(props: CreateRegistryProps): Promise<CreateRegistryOkResponse>;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
export type { GetPathParamsType, ResponseWithPagination } from './helpers';
|
|
2
|
-
export type { CreateRegistryErrorResponse,
|
|
2
|
+
export type { CreateRegistryErrorResponse, CreateRegistryOkResponse, CreateRegistryProps, CreateRegistryRequestBody, } from './hooks/useCreateRegistryMutation';
|
|
3
3
|
export { createRegistry, useCreateRegistryMutation } from './hooks/useCreateRegistryMutation';
|
|
4
4
|
export type { DeleteArtifactErrorResponse, DeleteArtifactMutationPathParams, DeleteArtifactOkResponse, DeleteArtifactProps, } from './hooks/useDeleteArtifactMutation';
|
|
5
5
|
export { deleteArtifact, useDeleteArtifactMutation } from './hooks/useDeleteArtifactMutation';
|