@harnessio/react-har-service-client 0.74.0 → 0.76.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/har-service/src/services/hooks/useGetConanPackageDetailV3Query.d.ts +23 -0
- package/dist/har-service/src/services/hooks/useGetConanPackageDetailV3Query.js +20 -0
- package/dist/har-service/src/services/hooks/useGetConanPackageRevisionDetailV3Query.d.ts +24 -0
- package/dist/har-service/src/services/hooks/useGetConanPackageRevisionDetailV3Query.js +21 -0
- package/dist/har-service/src/services/hooks/useGetConanRecipeRevisionDetailV3Query.d.ts +22 -0
- package/dist/har-service/src/services/hooks/useGetConanRecipeRevisionDetailV3Query.js +14 -0
- package/dist/har-service/src/services/hooks/useGetFilePreviewV3Query.d.ts +24 -0
- package/dist/har-service/src/services/hooks/useGetFilePreviewV3Query.js +15 -0
- package/dist/har-service/src/services/hooks/useListConanPackageRevisionsV3Query.d.ts +33 -0
- package/dist/har-service/src/services/hooks/useListConanPackageRevisionsV3Query.js +20 -0
- package/dist/har-service/src/services/hooks/useListConanPackagesV3Query.d.ts +32 -0
- package/dist/har-service/src/services/hooks/useListConanPackagesV3Query.js +14 -0
- package/dist/har-service/src/services/hooks/useListConanRecipeRevisionsV3Query.d.ts +31 -0
- package/dist/har-service/src/services/hooks/useListConanRecipeRevisionsV3Query.js +14 -0
- package/dist/har-service/src/services/index.d.ts +31 -0
- package/dist/har-service/src/services/index.js +7 -0
- package/dist/har-service/src/services/responses/ConanPackageDetailResponseV3Response.d.ts +4 -0
- package/dist/har-service/src/services/responses/ConanPackageDetailResponseV3Response.js +1 -0
- package/dist/har-service/src/services/responses/ConanPackageRevisionDetailResponseV3Response.d.ts +4 -0
- package/dist/har-service/src/services/responses/ConanPackageRevisionDetailResponseV3Response.js +1 -0
- package/dist/har-service/src/services/responses/ConanPackageRevisionsResponseV3Response.d.ts +2 -0
- package/dist/har-service/src/services/responses/ConanPackageRevisionsResponseV3Response.js +1 -0
- package/dist/har-service/src/services/responses/ConanPackagesResponseV3Response.d.ts +2 -0
- package/dist/har-service/src/services/responses/ConanPackagesResponseV3Response.js +1 -0
- package/dist/har-service/src/services/responses/ConanRecipeRevisionDetailResponseV3Response.d.ts +4 -0
- package/dist/har-service/src/services/responses/ConanRecipeRevisionDetailResponseV3Response.js +1 -0
- package/dist/har-service/src/services/responses/ConanRecipeRevisionsResponseV3Response.d.ts +2 -0
- package/dist/har-service/src/services/responses/ConanRecipeRevisionsResponseV3Response.js +1 -0
- package/dist/har-service/src/services/responses/FilePreviewResponseV3Response.d.ts +2 -0
- package/dist/har-service/src/services/responses/FilePreviewResponseV3Response.js +1 -0
- package/dist/har-service/src/services/schemas/ArtifactDetail.d.ts +2 -1
- package/dist/har-service/src/services/schemas/ConanArtifactDetailConfig.d.ts +8 -0
- package/dist/har-service/src/services/schemas/ConanArtifactDetailConfig.js +4 -0
- package/dist/har-service/src/services/schemas/ConanPackageDetailV3.d.ts +35 -0
- package/dist/har-service/src/services/schemas/ConanPackageDetailV3.js +4 -0
- package/dist/har-service/src/services/schemas/ConanPackageMetadataV3.d.ts +29 -0
- package/dist/har-service/src/services/schemas/ConanPackageMetadataV3.js +4 -0
- package/dist/har-service/src/services/schemas/ConanPackageRevisionDetailV3.d.ts +21 -0
- package/dist/har-service/src/services/schemas/ConanPackageRevisionDetailV3.js +1 -0
- package/dist/har-service/src/services/schemas/ConanRecipeRevisionDetailV3.d.ts +33 -0
- package/dist/har-service/src/services/schemas/ConanRecipeRevisionDetailV3.js +4 -0
- package/dist/har-service/src/services/schemas/FileMetadataV3.d.ts +2 -0
- package/dist/har-service/src/services/schemas/FilePreviewDataV3.d.ts +30 -0
- package/dist/har-service/src/services/schemas/FilePreviewDataV3.js +4 -0
- package/dist/har-service/src/services/schemas/FilePreviewResponseBodyV3.d.ts +7 -0
- package/dist/har-service/src/services/schemas/FilePreviewResponseBodyV3.js +1 -0
- package/dist/har-service/src/services/schemas/ListConanPackageRevisionsResponseBodyV3.d.ts +5 -0
- package/dist/har-service/src/services/schemas/ListConanPackageRevisionsResponseBodyV3.js +1 -0
- package/dist/har-service/src/services/schemas/ListConanPackagesResponseBodyV3.d.ts +5 -0
- package/dist/har-service/src/services/schemas/ListConanPackagesResponseBodyV3.js +1 -0
- package/dist/har-service/src/services/schemas/ListConanRecipeRevisionsResponseBodyV3.d.ts +5 -0
- package/dist/har-service/src/services/schemas/ListConanRecipeRevisionsResponseBodyV3.js +1 -0
- package/package.json +1 -1
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import { UseQueryOptions } from '@tanstack/react-query';
|
|
2
|
+
import type { ConanPackageDetailResponseV3Response } from '../responses/ConanPackageDetailResponseV3Response';
|
|
3
|
+
import type { ErrorV3 } from '../schemas/ErrorV3';
|
|
4
|
+
import type { ResponseWithPagination } from '../helpers';
|
|
5
|
+
import { FetcherOptions } from '../../../../fetcher/index.js';
|
|
6
|
+
export interface GetConanPackageDetailV3QueryPathParams {
|
|
7
|
+
id: string;
|
|
8
|
+
recipe_revision: string;
|
|
9
|
+
package_id: string;
|
|
10
|
+
}
|
|
11
|
+
export interface GetConanPackageDetailV3QueryQueryParams {
|
|
12
|
+
account_identifier: string;
|
|
13
|
+
}
|
|
14
|
+
export type GetConanPackageDetailV3OkResponse = ResponseWithPagination<ConanPackageDetailResponseV3Response>;
|
|
15
|
+
export type GetConanPackageDetailV3ErrorResponse = ErrorV3;
|
|
16
|
+
export interface GetConanPackageDetailV3Props extends GetConanPackageDetailV3QueryPathParams, Omit<FetcherOptions<GetConanPackageDetailV3QueryQueryParams, unknown>, 'url'> {
|
|
17
|
+
queryParams: GetConanPackageDetailV3QueryQueryParams;
|
|
18
|
+
}
|
|
19
|
+
export declare function getConanPackageDetailV3(props: GetConanPackageDetailV3Props): Promise<GetConanPackageDetailV3OkResponse>;
|
|
20
|
+
/**
|
|
21
|
+
* Get a Conan package (PKGID) detail with its package revisions.
|
|
22
|
+
*/
|
|
23
|
+
export declare function useGetConanPackageDetailV3Query(props: GetConanPackageDetailV3Props, options?: Omit<UseQueryOptions<GetConanPackageDetailV3OkResponse, GetConanPackageDetailV3ErrorResponse>, 'queryKey' | 'queryFn'>): import("@tanstack/react-query").UseQueryResult<GetConanPackageDetailV3OkResponse, ErrorV3>;
|
|
@@ -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 getConanPackageDetailV3(props) {
|
|
7
|
+
return fetcher(Object.assign({ url: `/v3/versions/${props.id}/conan/recipe-revisions/${props.recipe_revision}/packages/${props.package_id}/details`, method: 'GET' }, props));
|
|
8
|
+
}
|
|
9
|
+
/**
|
|
10
|
+
* Get a Conan package (PKGID) detail with its package revisions.
|
|
11
|
+
*/
|
|
12
|
+
export function useGetConanPackageDetailV3Query(props, options) {
|
|
13
|
+
return useQuery([
|
|
14
|
+
'GetConanPackageDetailV3',
|
|
15
|
+
props.id,
|
|
16
|
+
props.recipe_revision,
|
|
17
|
+
props.package_id,
|
|
18
|
+
props.queryParams,
|
|
19
|
+
], ({ signal }) => getConanPackageDetailV3(Object.assign(Object.assign({}, props), { signal })), options);
|
|
20
|
+
}
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
import { UseQueryOptions } from '@tanstack/react-query';
|
|
2
|
+
import type { ConanPackageRevisionDetailResponseV3Response } from '../responses/ConanPackageRevisionDetailResponseV3Response';
|
|
3
|
+
import type { ErrorV3 } from '../schemas/ErrorV3';
|
|
4
|
+
import type { ResponseWithPagination } from '../helpers';
|
|
5
|
+
import { FetcherOptions } from '../../../../fetcher/index.js';
|
|
6
|
+
export interface GetConanPackageRevisionDetailV3QueryPathParams {
|
|
7
|
+
id: string;
|
|
8
|
+
recipe_revision: string;
|
|
9
|
+
package_id: string;
|
|
10
|
+
package_revision: string;
|
|
11
|
+
}
|
|
12
|
+
export interface GetConanPackageRevisionDetailV3QueryQueryParams {
|
|
13
|
+
account_identifier: string;
|
|
14
|
+
}
|
|
15
|
+
export type GetConanPackageRevisionDetailV3OkResponse = ResponseWithPagination<ConanPackageRevisionDetailResponseV3Response>;
|
|
16
|
+
export type GetConanPackageRevisionDetailV3ErrorResponse = ErrorV3;
|
|
17
|
+
export interface GetConanPackageRevisionDetailV3Props extends GetConanPackageRevisionDetailV3QueryPathParams, Omit<FetcherOptions<GetConanPackageRevisionDetailV3QueryQueryParams, unknown>, 'url'> {
|
|
18
|
+
queryParams: GetConanPackageRevisionDetailV3QueryQueryParams;
|
|
19
|
+
}
|
|
20
|
+
export declare function getConanPackageRevisionDetailV3(props: GetConanPackageRevisionDetailV3Props): Promise<GetConanPackageRevisionDetailV3OkResponse>;
|
|
21
|
+
/**
|
|
22
|
+
* Get a Conan package revision (PREV) detail.
|
|
23
|
+
*/
|
|
24
|
+
export declare function useGetConanPackageRevisionDetailV3Query(props: GetConanPackageRevisionDetailV3Props, options?: Omit<UseQueryOptions<GetConanPackageRevisionDetailV3OkResponse, GetConanPackageRevisionDetailV3ErrorResponse>, 'queryKey' | 'queryFn'>): import("@tanstack/react-query").UseQueryResult<GetConanPackageRevisionDetailV3OkResponse, ErrorV3>;
|
|
@@ -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 getConanPackageRevisionDetailV3(props) {
|
|
7
|
+
return fetcher(Object.assign({ url: `/v3/versions/${props.id}/conan/recipe-revisions/${props.recipe_revision}/packages/${props.package_id}/package-revisions/${props.package_revision}/details`, method: 'GET' }, props));
|
|
8
|
+
}
|
|
9
|
+
/**
|
|
10
|
+
* Get a Conan package revision (PREV) detail.
|
|
11
|
+
*/
|
|
12
|
+
export function useGetConanPackageRevisionDetailV3Query(props, options) {
|
|
13
|
+
return useQuery([
|
|
14
|
+
'GetConanPackageRevisionDetailV3',
|
|
15
|
+
props.id,
|
|
16
|
+
props.recipe_revision,
|
|
17
|
+
props.package_id,
|
|
18
|
+
props.package_revision,
|
|
19
|
+
props.queryParams,
|
|
20
|
+
], ({ signal }) => getConanPackageRevisionDetailV3(Object.assign(Object.assign({}, props), { signal })), options);
|
|
21
|
+
}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import { UseQueryOptions } from '@tanstack/react-query';
|
|
2
|
+
import type { ConanRecipeRevisionDetailResponseV3Response } from '../responses/ConanRecipeRevisionDetailResponseV3Response';
|
|
3
|
+
import type { ErrorV3 } from '../schemas/ErrorV3';
|
|
4
|
+
import type { ResponseWithPagination } from '../helpers';
|
|
5
|
+
import { FetcherOptions } from '../../../../fetcher/index.js';
|
|
6
|
+
export interface GetConanRecipeRevisionDetailV3QueryPathParams {
|
|
7
|
+
id: string;
|
|
8
|
+
recipe_revision: string;
|
|
9
|
+
}
|
|
10
|
+
export interface GetConanRecipeRevisionDetailV3QueryQueryParams {
|
|
11
|
+
account_identifier: string;
|
|
12
|
+
}
|
|
13
|
+
export type GetConanRecipeRevisionDetailV3OkResponse = ResponseWithPagination<ConanRecipeRevisionDetailResponseV3Response>;
|
|
14
|
+
export type GetConanRecipeRevisionDetailV3ErrorResponse = ErrorV3;
|
|
15
|
+
export interface GetConanRecipeRevisionDetailV3Props extends GetConanRecipeRevisionDetailV3QueryPathParams, Omit<FetcherOptions<GetConanRecipeRevisionDetailV3QueryQueryParams, unknown>, 'url'> {
|
|
16
|
+
queryParams: GetConanRecipeRevisionDetailV3QueryQueryParams;
|
|
17
|
+
}
|
|
18
|
+
export declare function getConanRecipeRevisionDetailV3(props: GetConanRecipeRevisionDetailV3Props): Promise<GetConanRecipeRevisionDetailV3OkResponse>;
|
|
19
|
+
/**
|
|
20
|
+
* Get a Conan recipe revision (RREV) detail.
|
|
21
|
+
*/
|
|
22
|
+
export declare function useGetConanRecipeRevisionDetailV3Query(props: GetConanRecipeRevisionDetailV3Props, options?: Omit<UseQueryOptions<GetConanRecipeRevisionDetailV3OkResponse, GetConanRecipeRevisionDetailV3ErrorResponse>, 'queryKey' | 'queryFn'>): import("@tanstack/react-query").UseQueryResult<GetConanRecipeRevisionDetailV3OkResponse, ErrorV3>;
|
|
@@ -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 getConanRecipeRevisionDetailV3(props) {
|
|
7
|
+
return fetcher(Object.assign({ url: `/v3/versions/${props.id}/conan/recipe-revisions/${props.recipe_revision}/details`, method: 'GET' }, props));
|
|
8
|
+
}
|
|
9
|
+
/**
|
|
10
|
+
* Get a Conan recipe revision (RREV) detail.
|
|
11
|
+
*/
|
|
12
|
+
export function useGetConanRecipeRevisionDetailV3Query(props, options) {
|
|
13
|
+
return useQuery(['GetConanRecipeRevisionDetailV3', props.id, props.recipe_revision, props.queryParams], ({ signal }) => getConanRecipeRevisionDetailV3(Object.assign(Object.assign({}, props), { signal })), options);
|
|
14
|
+
}
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
import { UseQueryOptions } from '@tanstack/react-query';
|
|
2
|
+
import type { FilePreviewResponseV3Response } from '../responses/FilePreviewResponseV3Response';
|
|
3
|
+
import type { ErrorV3 } from '../schemas/ErrorV3';
|
|
4
|
+
import type { ResponseWithPagination } from '../helpers';
|
|
5
|
+
import { FetcherOptions } from '../../../../fetcher/index.js';
|
|
6
|
+
export interface GetFilePreviewV3QueryPathParams {
|
|
7
|
+
id: string;
|
|
8
|
+
}
|
|
9
|
+
export interface GetFilePreviewV3QueryQueryParams {
|
|
10
|
+
account_identifier: string;
|
|
11
|
+
org_identifier?: string;
|
|
12
|
+
project_identifier?: string;
|
|
13
|
+
}
|
|
14
|
+
export type GetFilePreviewV3OkResponse = ResponseWithPagination<FilePreviewResponseV3Response>;
|
|
15
|
+
export type GetFilePreviewV3ErrorResponse = ErrorV3;
|
|
16
|
+
export interface GetFilePreviewV3Props extends GetFilePreviewV3QueryPathParams, Omit<FetcherOptions<GetFilePreviewV3QueryQueryParams, unknown>, 'url'> {
|
|
17
|
+
queryParams: GetFilePreviewV3QueryQueryParams;
|
|
18
|
+
}
|
|
19
|
+
export declare function getFilePreviewV3(props: GetFilePreviewV3Props): Promise<GetFilePreviewV3OkResponse>;
|
|
20
|
+
/**
|
|
21
|
+
* Returns a URL for rendering a file inline in the browser. For cloud (S3/GCS) deployments the URL is a presigned URL with inline Content-Disposition and a forced Content-Type baked in, expiring after 20 minutes. For filesystem deployments the URL routes back through the protocol API with preview=true and relies on the caller's session. The endpoint enforces the preview allowlist and a configured maximum size before returning a URL.
|
|
22
|
+
*
|
|
23
|
+
*/
|
|
24
|
+
export declare function useGetFilePreviewV3Query(props: GetFilePreviewV3Props, options?: Omit<UseQueryOptions<GetFilePreviewV3OkResponse, GetFilePreviewV3ErrorResponse>, 'queryKey' | 'queryFn'>): import("@tanstack/react-query").UseQueryResult<GetFilePreviewV3OkResponse, ErrorV3>;
|
|
@@ -0,0 +1,15 @@
|
|
|
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 getFilePreviewV3(props) {
|
|
7
|
+
return fetcher(Object.assign({ url: `/v3/files/${props.id}/preview`, method: 'GET' }, props));
|
|
8
|
+
}
|
|
9
|
+
/**
|
|
10
|
+
* Returns a URL for rendering a file inline in the browser. For cloud (S3/GCS) deployments the URL is a presigned URL with inline Content-Disposition and a forced Content-Type baked in, expiring after 20 minutes. For filesystem deployments the URL routes back through the protocol API with preview=true and relies on the caller's session. The endpoint enforces the preview allowlist and a configured maximum size before returning a URL.
|
|
11
|
+
*
|
|
12
|
+
*/
|
|
13
|
+
export function useGetFilePreviewV3Query(props, options) {
|
|
14
|
+
return useQuery(['GetFilePreviewV3', props.id, props.queryParams], ({ signal }) => getFilePreviewV3(Object.assign(Object.assign({}, props), { signal })), options);
|
|
15
|
+
}
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
import { UseQueryOptions } from '@tanstack/react-query';
|
|
2
|
+
import type { ConanPackageRevisionsResponseV3Response } from '../responses/ConanPackageRevisionsResponseV3Response';
|
|
3
|
+
import type { ErrorV3 } from '../schemas/ErrorV3';
|
|
4
|
+
import type { ResponseWithPagination } from '../helpers';
|
|
5
|
+
import { FetcherOptions } from '../../../../fetcher/index.js';
|
|
6
|
+
export interface ListConanPackageRevisionsV3QueryPathParams {
|
|
7
|
+
id: string;
|
|
8
|
+
recipe_revision: string;
|
|
9
|
+
package_id: string;
|
|
10
|
+
}
|
|
11
|
+
export interface ListConanPackageRevisionsV3QueryQueryParams {
|
|
12
|
+
account_identifier: string;
|
|
13
|
+
/**
|
|
14
|
+
* @format int64
|
|
15
|
+
* @default 0
|
|
16
|
+
*/
|
|
17
|
+
page?: number;
|
|
18
|
+
/**
|
|
19
|
+
* @format int64
|
|
20
|
+
* @default 20
|
|
21
|
+
*/
|
|
22
|
+
size?: number;
|
|
23
|
+
}
|
|
24
|
+
export type ListConanPackageRevisionsV3OkResponse = ResponseWithPagination<ConanPackageRevisionsResponseV3Response>;
|
|
25
|
+
export type ListConanPackageRevisionsV3ErrorResponse = ErrorV3;
|
|
26
|
+
export interface ListConanPackageRevisionsV3Props extends ListConanPackageRevisionsV3QueryPathParams, Omit<FetcherOptions<ListConanPackageRevisionsV3QueryQueryParams, unknown>, 'url'> {
|
|
27
|
+
queryParams: ListConanPackageRevisionsV3QueryQueryParams;
|
|
28
|
+
}
|
|
29
|
+
export declare function listConanPackageRevisionsV3(props: ListConanPackageRevisionsV3Props): Promise<ListConanPackageRevisionsV3OkResponse>;
|
|
30
|
+
/**
|
|
31
|
+
* List the package revisions (PREVs) under a Conan package.
|
|
32
|
+
*/
|
|
33
|
+
export declare function useListConanPackageRevisionsV3Query(props: ListConanPackageRevisionsV3Props, options?: Omit<UseQueryOptions<ListConanPackageRevisionsV3OkResponse, ListConanPackageRevisionsV3ErrorResponse>, 'queryKey' | 'queryFn'>): import("@tanstack/react-query").UseQueryResult<ListConanPackageRevisionsV3OkResponse, ErrorV3>;
|
|
@@ -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 listConanPackageRevisionsV3(props) {
|
|
7
|
+
return fetcher(Object.assign({ url: `/v3/versions/${props.id}/conan/recipe-revisions/${props.recipe_revision}/packages/${props.package_id}/package-revisions`, method: 'GET' }, props));
|
|
8
|
+
}
|
|
9
|
+
/**
|
|
10
|
+
* List the package revisions (PREVs) under a Conan package.
|
|
11
|
+
*/
|
|
12
|
+
export function useListConanPackageRevisionsV3Query(props, options) {
|
|
13
|
+
return useQuery([
|
|
14
|
+
'ListConanPackageRevisionsV3',
|
|
15
|
+
props.id,
|
|
16
|
+
props.recipe_revision,
|
|
17
|
+
props.package_id,
|
|
18
|
+
props.queryParams,
|
|
19
|
+
], ({ signal }) => listConanPackageRevisionsV3(Object.assign(Object.assign({}, props), { signal })), options);
|
|
20
|
+
}
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
import { UseQueryOptions } from '@tanstack/react-query';
|
|
2
|
+
import type { ConanPackagesResponseV3Response } from '../responses/ConanPackagesResponseV3Response';
|
|
3
|
+
import type { ErrorV3 } from '../schemas/ErrorV3';
|
|
4
|
+
import type { ResponseWithPagination } from '../helpers';
|
|
5
|
+
import { FetcherOptions } from '../../../../fetcher/index.js';
|
|
6
|
+
export interface ListConanPackagesV3QueryPathParams {
|
|
7
|
+
id: string;
|
|
8
|
+
recipe_revision: string;
|
|
9
|
+
}
|
|
10
|
+
export interface ListConanPackagesV3QueryQueryParams {
|
|
11
|
+
account_identifier: string;
|
|
12
|
+
/**
|
|
13
|
+
* @format int64
|
|
14
|
+
* @default 0
|
|
15
|
+
*/
|
|
16
|
+
page?: number;
|
|
17
|
+
/**
|
|
18
|
+
* @format int64
|
|
19
|
+
* @default 20
|
|
20
|
+
*/
|
|
21
|
+
size?: number;
|
|
22
|
+
}
|
|
23
|
+
export type ListConanPackagesV3OkResponse = ResponseWithPagination<ConanPackagesResponseV3Response>;
|
|
24
|
+
export type ListConanPackagesV3ErrorResponse = ErrorV3;
|
|
25
|
+
export interface ListConanPackagesV3Props extends ListConanPackagesV3QueryPathParams, Omit<FetcherOptions<ListConanPackagesV3QueryQueryParams, unknown>, 'url'> {
|
|
26
|
+
queryParams: ListConanPackagesV3QueryQueryParams;
|
|
27
|
+
}
|
|
28
|
+
export declare function listConanPackagesV3(props: ListConanPackagesV3Props): Promise<ListConanPackagesV3OkResponse>;
|
|
29
|
+
/**
|
|
30
|
+
* List the packages (PKGIDs) under a Conan recipe revision.
|
|
31
|
+
*/
|
|
32
|
+
export declare function useListConanPackagesV3Query(props: ListConanPackagesV3Props, options?: Omit<UseQueryOptions<ListConanPackagesV3OkResponse, ListConanPackagesV3ErrorResponse>, 'queryKey' | 'queryFn'>): import("@tanstack/react-query").UseQueryResult<ListConanPackagesV3OkResponse, ErrorV3>;
|
|
@@ -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 listConanPackagesV3(props) {
|
|
7
|
+
return fetcher(Object.assign({ url: `/v3/versions/${props.id}/conan/recipe-revisions/${props.recipe_revision}/packages`, method: 'GET' }, props));
|
|
8
|
+
}
|
|
9
|
+
/**
|
|
10
|
+
* List the packages (PKGIDs) under a Conan recipe revision.
|
|
11
|
+
*/
|
|
12
|
+
export function useListConanPackagesV3Query(props, options) {
|
|
13
|
+
return useQuery(['ListConanPackagesV3', props.id, props.recipe_revision, props.queryParams], ({ signal }) => listConanPackagesV3(Object.assign(Object.assign({}, props), { signal })), options);
|
|
14
|
+
}
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
import { UseQueryOptions } from '@tanstack/react-query';
|
|
2
|
+
import type { ConanRecipeRevisionsResponseV3Response } from '../responses/ConanRecipeRevisionsResponseV3Response';
|
|
3
|
+
import type { ErrorV3 } from '../schemas/ErrorV3';
|
|
4
|
+
import type { ResponseWithPagination } from '../helpers';
|
|
5
|
+
import { FetcherOptions } from '../../../../fetcher/index.js';
|
|
6
|
+
export interface ListConanRecipeRevisionsV3QueryPathParams {
|
|
7
|
+
id: string;
|
|
8
|
+
}
|
|
9
|
+
export interface ListConanRecipeRevisionsV3QueryQueryParams {
|
|
10
|
+
account_identifier: string;
|
|
11
|
+
/**
|
|
12
|
+
* @format int64
|
|
13
|
+
* @default 0
|
|
14
|
+
*/
|
|
15
|
+
page?: number;
|
|
16
|
+
/**
|
|
17
|
+
* @format int64
|
|
18
|
+
* @default 20
|
|
19
|
+
*/
|
|
20
|
+
size?: number;
|
|
21
|
+
}
|
|
22
|
+
export type ListConanRecipeRevisionsV3OkResponse = ResponseWithPagination<ConanRecipeRevisionsResponseV3Response>;
|
|
23
|
+
export type ListConanRecipeRevisionsV3ErrorResponse = ErrorV3;
|
|
24
|
+
export interface ListConanRecipeRevisionsV3Props extends ListConanRecipeRevisionsV3QueryPathParams, Omit<FetcherOptions<ListConanRecipeRevisionsV3QueryQueryParams, unknown>, 'url'> {
|
|
25
|
+
queryParams: ListConanRecipeRevisionsV3QueryQueryParams;
|
|
26
|
+
}
|
|
27
|
+
export declare function listConanRecipeRevisionsV3(props: ListConanRecipeRevisionsV3Props): Promise<ListConanRecipeRevisionsV3OkResponse>;
|
|
28
|
+
/**
|
|
29
|
+
* List finalized Conan recipe revisions for a version.
|
|
30
|
+
*/
|
|
31
|
+
export declare function useListConanRecipeRevisionsV3Query(props: ListConanRecipeRevisionsV3Props, options?: Omit<UseQueryOptions<ListConanRecipeRevisionsV3OkResponse, ListConanRecipeRevisionsV3ErrorResponse>, 'queryKey' | 'queryFn'>): import("@tanstack/react-query").UseQueryResult<ListConanRecipeRevisionsV3OkResponse, ErrorV3>;
|
|
@@ -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 listConanRecipeRevisionsV3(props) {
|
|
7
|
+
return fetcher(Object.assign({ url: `/v3/versions/${props.id}/conan/recipe-revisions`, method: 'GET' }, props));
|
|
8
|
+
}
|
|
9
|
+
/**
|
|
10
|
+
* List finalized Conan recipe revisions for a version.
|
|
11
|
+
*/
|
|
12
|
+
export function useListConanRecipeRevisionsV3Query(props, options) {
|
|
13
|
+
return useQuery(['ListConanRecipeRevisionsV3', props.id, props.queryParams], ({ signal }) => listConanRecipeRevisionsV3(Object.assign(Object.assign({}, props), { signal })), options);
|
|
14
|
+
}
|
|
@@ -109,6 +109,12 @@ export type { GetBulkScanEvaluationStatusV3ErrorResponse, GetBulkScanEvaluationS
|
|
|
109
109
|
export { getBulkScanEvaluationStatusV3, useGetBulkScanEvaluationStatusV3Query, } from './hooks/useGetBulkScanEvaluationStatusV3Query';
|
|
110
110
|
export type { GetClientSetupDetailsErrorResponse, GetClientSetupDetailsOkResponse, GetClientSetupDetailsProps, GetClientSetupDetailsQueryPathParams, GetClientSetupDetailsQueryQueryParams, } from './hooks/useGetClientSetupDetailsQuery';
|
|
111
111
|
export { getClientSetupDetails, useGetClientSetupDetailsQuery, } from './hooks/useGetClientSetupDetailsQuery';
|
|
112
|
+
export type { GetConanPackageDetailV3ErrorResponse, GetConanPackageDetailV3OkResponse, GetConanPackageDetailV3Props, GetConanPackageDetailV3QueryPathParams, GetConanPackageDetailV3QueryQueryParams, } from './hooks/useGetConanPackageDetailV3Query';
|
|
113
|
+
export { getConanPackageDetailV3, useGetConanPackageDetailV3Query, } from './hooks/useGetConanPackageDetailV3Query';
|
|
114
|
+
export type { GetConanPackageRevisionDetailV3ErrorResponse, GetConanPackageRevisionDetailV3OkResponse, GetConanPackageRevisionDetailV3Props, GetConanPackageRevisionDetailV3QueryPathParams, GetConanPackageRevisionDetailV3QueryQueryParams, } from './hooks/useGetConanPackageRevisionDetailV3Query';
|
|
115
|
+
export { getConanPackageRevisionDetailV3, useGetConanPackageRevisionDetailV3Query, } from './hooks/useGetConanPackageRevisionDetailV3Query';
|
|
116
|
+
export type { GetConanRecipeRevisionDetailV3ErrorResponse, GetConanRecipeRevisionDetailV3OkResponse, GetConanRecipeRevisionDetailV3Props, GetConanRecipeRevisionDetailV3QueryPathParams, GetConanRecipeRevisionDetailV3QueryQueryParams, } from './hooks/useGetConanRecipeRevisionDetailV3Query';
|
|
117
|
+
export { getConanRecipeRevisionDetailV3, useGetConanRecipeRevisionDetailV3Query, } from './hooks/useGetConanRecipeRevisionDetailV3Query';
|
|
112
118
|
export type { GetDockerArtifactDetailsErrorResponse, GetDockerArtifactDetailsOkResponse, GetDockerArtifactDetailsProps, GetDockerArtifactDetailsQueryPathParams, GetDockerArtifactDetailsQueryQueryParams, } from './hooks/useGetDockerArtifactDetailsQuery';
|
|
113
119
|
export { getDockerArtifactDetails, useGetDockerArtifactDetailsQuery, } from './hooks/useGetDockerArtifactDetailsQuery';
|
|
114
120
|
export type { GetDockerArtifactIntegrationDetailsErrorResponse, GetDockerArtifactIntegrationDetailsOkResponse, GetDockerArtifactIntegrationDetailsProps, GetDockerArtifactIntegrationDetailsQueryPathParams, GetDockerArtifactIntegrationDetailsQueryQueryParams, } from './hooks/useGetDockerArtifactIntegrationDetailsQuery';
|
|
@@ -121,6 +127,8 @@ export type { GetDockerArtifactManifestsErrorResponse, GetDockerArtifactManifest
|
|
|
121
127
|
export { getDockerArtifactManifests, useGetDockerArtifactManifestsQuery, } from './hooks/useGetDockerArtifactManifestsQuery';
|
|
122
128
|
export type { GetFileMetadataV3ErrorResponse, GetFileMetadataV3OkResponse, GetFileMetadataV3Props, GetFileMetadataV3QueryPathParams, GetFileMetadataV3QueryQueryParams, } from './hooks/useGetFileMetadataV3Query';
|
|
123
129
|
export { getFileMetadataV3, useGetFileMetadataV3Query } from './hooks/useGetFileMetadataV3Query';
|
|
130
|
+
export type { GetFilePreviewV3ErrorResponse, GetFilePreviewV3OkResponse, GetFilePreviewV3Props, GetFilePreviewV3QueryPathParams, GetFilePreviewV3QueryQueryParams, } from './hooks/useGetFilePreviewV3Query';
|
|
131
|
+
export { getFilePreviewV3, useGetFilePreviewV3Query } from './hooks/useGetFilePreviewV3Query';
|
|
124
132
|
export type { GetFileErrorResponse, GetFileOkResponse, GetFileProps, GetFileQueryPathParams, GetFileQueryQueryParams, } from './hooks/useGetFileQuery';
|
|
125
133
|
export { getFile, useGetFileQuery } from './hooks/useGetFileQuery';
|
|
126
134
|
export type { GetFileV3ErrorResponse, GetFileV3OkResponse, GetFileV3Props, GetFileV3QueryPathParams, GetFileV3QueryQueryParams, } from './hooks/useGetFileV3Query';
|
|
@@ -171,6 +179,12 @@ export type { InitiateBulkScanEvaluationV3ErrorResponse, InitiateBulkScanEvaluat
|
|
|
171
179
|
export { initiateBulkScanEvaluationV3, useInitiateBulkScanEvaluationV3Mutation, } from './hooks/useInitiateBulkScanEvaluationV3Mutation';
|
|
172
180
|
export type { ListArtifactLabelsErrorResponse, ListArtifactLabelsOkResponse, ListArtifactLabelsProps, ListArtifactLabelsQueryPathParams, ListArtifactLabelsQueryQueryParams, } from './hooks/useListArtifactLabelsQuery';
|
|
173
181
|
export { listArtifactLabels, useListArtifactLabelsQuery } from './hooks/useListArtifactLabelsQuery';
|
|
182
|
+
export type { ListConanPackageRevisionsV3ErrorResponse, ListConanPackageRevisionsV3OkResponse, ListConanPackageRevisionsV3Props, ListConanPackageRevisionsV3QueryPathParams, ListConanPackageRevisionsV3QueryQueryParams, } from './hooks/useListConanPackageRevisionsV3Query';
|
|
183
|
+
export { listConanPackageRevisionsV3, useListConanPackageRevisionsV3Query, } from './hooks/useListConanPackageRevisionsV3Query';
|
|
184
|
+
export type { ListConanPackagesV3ErrorResponse, ListConanPackagesV3OkResponse, ListConanPackagesV3Props, ListConanPackagesV3QueryPathParams, ListConanPackagesV3QueryQueryParams, } from './hooks/useListConanPackagesV3Query';
|
|
185
|
+
export { listConanPackagesV3, useListConanPackagesV3Query, } from './hooks/useListConanPackagesV3Query';
|
|
186
|
+
export type { ListConanRecipeRevisionsV3ErrorResponse, ListConanRecipeRevisionsV3OkResponse, ListConanRecipeRevisionsV3Props, ListConanRecipeRevisionsV3QueryPathParams, ListConanRecipeRevisionsV3QueryQueryParams, } from './hooks/useListConanRecipeRevisionsV3Query';
|
|
187
|
+
export { listConanRecipeRevisionsV3, useListConanRecipeRevisionsV3Query, } from './hooks/useListConanRecipeRevisionsV3Query';
|
|
174
188
|
export type { ListFilesV3ErrorResponse, ListFilesV3OkResponse, ListFilesV3Props, ListFilesV3QueryQueryParams, } from './hooks/useListFilesV3Query';
|
|
175
189
|
export { listFilesV3, useListFilesV3Query } from './hooks/useListFilesV3Query';
|
|
176
190
|
export type { ListFirewallExceptionVersionsV3ErrorResponse, ListFirewallExceptionVersionsV3OkResponse, ListFirewallExceptionVersionsV3Props, ListFirewallExceptionVersionsV3QueryQueryParams, } from './hooks/useListFirewallExceptionVersionsV3Query';
|
|
@@ -315,6 +329,12 @@ export type { BadRequestResponse } from './responses/BadRequestResponse';
|
|
|
315
329
|
export type { BulkScanEvaluationAcceptedV3Response } from './responses/BulkScanEvaluationAcceptedV3Response';
|
|
316
330
|
export type { BulkScanEvaluationStatusResponseV3Response } from './responses/BulkScanEvaluationStatusResponseV3Response';
|
|
317
331
|
export type { ClientSetupDetailsResponseResponse } from './responses/ClientSetupDetailsResponseResponse';
|
|
332
|
+
export type { ConanPackageDetailResponseV3Response } from './responses/ConanPackageDetailResponseV3Response';
|
|
333
|
+
export type { ConanPackageRevisionDetailResponseV3Response } from './responses/ConanPackageRevisionDetailResponseV3Response';
|
|
334
|
+
export type { ConanPackageRevisionsResponseV3Response } from './responses/ConanPackageRevisionsResponseV3Response';
|
|
335
|
+
export type { ConanPackagesResponseV3Response } from './responses/ConanPackagesResponseV3Response';
|
|
336
|
+
export type { ConanRecipeRevisionDetailResponseV3Response } from './responses/ConanRecipeRevisionDetailResponseV3Response';
|
|
337
|
+
export type { ConanRecipeRevisionsResponseV3Response } from './responses/ConanRecipeRevisionsResponseV3Response';
|
|
318
338
|
export type { CopyResponseResponse } from './responses/CopyResponseResponse';
|
|
319
339
|
export type { CreateBulkDownloadRequestAcceptedV3Response } from './responses/CreateBulkDownloadRequestAcceptedV3Response';
|
|
320
340
|
export type { CreateBulkDownloadRequestResponseResponse } from './responses/CreateBulkDownloadRequestResponseResponse';
|
|
@@ -326,6 +346,7 @@ export type { DockerManifestsResponseResponse } from './responses/DockerManifest
|
|
|
326
346
|
export type { DownloadFileResponseResponse } from './responses/DownloadFileResponseResponse';
|
|
327
347
|
export type { DownloadFileResponseV3Response } from './responses/DownloadFileResponseV3Response';
|
|
328
348
|
export type { FileDetailResponseResponse } from './responses/FileDetailResponseResponse';
|
|
349
|
+
export type { FilePreviewResponseV3Response } from './responses/FilePreviewResponseV3Response';
|
|
329
350
|
export type { FirewallExceptionApprovedV3Response } from './responses/FirewallExceptionApprovedV3Response';
|
|
330
351
|
export type { FirewallExceptionCreatedV3Response } from './responses/FirewallExceptionCreatedV3Response';
|
|
331
352
|
export type { FirewallExceptionUpdatedV3Response } from './responses/FirewallExceptionUpdatedV3Response';
|
|
@@ -440,6 +461,11 @@ export type { ClientSetupStepConfig } from './schemas/ClientSetupStepConfig';
|
|
|
440
461
|
export type { ClientSetupStepType } from './schemas/ClientSetupStepType';
|
|
441
462
|
export type { CompletedAtMsV3 } from './schemas/CompletedAtMsV3';
|
|
442
463
|
export type { ComposerArtifactDetailConfig } from './schemas/ComposerArtifactDetailConfig';
|
|
464
|
+
export type { ConanArtifactDetailConfig } from './schemas/ConanArtifactDetailConfig';
|
|
465
|
+
export type { ConanPackageDetailV3 } from './schemas/ConanPackageDetailV3';
|
|
466
|
+
export type { ConanPackageMetadataV3 } from './schemas/ConanPackageMetadataV3';
|
|
467
|
+
export type { ConanPackageRevisionDetailV3 } from './schemas/ConanPackageRevisionDetailV3';
|
|
468
|
+
export type { ConanRecipeRevisionDetailV3 } from './schemas/ConanRecipeRevisionDetailV3';
|
|
443
469
|
export type { CondaArtifactDetailConfig } from './schemas/CondaArtifactDetailConfig';
|
|
444
470
|
export type { CopyResourceItemV3 } from './schemas/CopyResourceItemV3';
|
|
445
471
|
export type { CopySourceRefV3 } from './schemas/CopySourceRefV3';
|
|
@@ -471,6 +497,8 @@ export type { ExtraHeader } from './schemas/ExtraHeader';
|
|
|
471
497
|
export type { FileDetail } from './schemas/FileDetail';
|
|
472
498
|
export type { FileMetadata } from './schemas/FileMetadata';
|
|
473
499
|
export type { FileMetadataV3 } from './schemas/FileMetadataV3';
|
|
500
|
+
export type { FilePreviewDataV3 } from './schemas/FilePreviewDataV3';
|
|
501
|
+
export type { FilePreviewResponseBodyV3 } from './schemas/FilePreviewResponseBodyV3';
|
|
474
502
|
export type { FirewallExceptionApprovalRequestV3 } from './schemas/FirewallExceptionApprovalRequestV3';
|
|
475
503
|
export type { FirewallExceptionCreateRequestV3 } from './schemas/FirewallExceptionCreateRequestV3';
|
|
476
504
|
export type { FirewallExceptionMetaV3 } from './schemas/FirewallExceptionMetaV3';
|
|
@@ -516,6 +544,9 @@ export type { LifecycleStatsResponseV3 } from './schemas/LifecycleStatsResponseV
|
|
|
516
544
|
export type { ListArtifact } from './schemas/ListArtifact';
|
|
517
545
|
export type { ListArtifactLabel } from './schemas/ListArtifactLabel';
|
|
518
546
|
export type { ListArtifactVersion } from './schemas/ListArtifactVersion';
|
|
547
|
+
export type { ListConanPackageRevisionsResponseBodyV3 } from './schemas/ListConanPackageRevisionsResponseBodyV3';
|
|
548
|
+
export type { ListConanPackagesResponseBodyV3 } from './schemas/ListConanPackagesResponseBodyV3';
|
|
549
|
+
export type { ListConanRecipeRevisionsResponseBodyV3 } from './schemas/ListConanRecipeRevisionsResponseBodyV3';
|
|
519
550
|
export type { ListFileDetail } from './schemas/ListFileDetail';
|
|
520
551
|
export type { ListFilesResponseBodyV3 } from './schemas/ListFilesResponseBodyV3';
|
|
521
552
|
export type { ListFirewallExceptionsResponseBodyV3 } from './schemas/ListFirewallExceptionsResponseBodyV3';
|
|
@@ -53,12 +53,16 @@ export { getBulkDownloadRequestStatus, useGetBulkDownloadRequestStatusQuery, } f
|
|
|
53
53
|
export { getBulkDownloadRequestStatusV3, useGetBulkDownloadRequestStatusV3Query, } from './hooks/useGetBulkDownloadRequestStatusV3Query';
|
|
54
54
|
export { getBulkScanEvaluationStatusV3, useGetBulkScanEvaluationStatusV3Query, } from './hooks/useGetBulkScanEvaluationStatusV3Query';
|
|
55
55
|
export { getClientSetupDetails, useGetClientSetupDetailsQuery, } from './hooks/useGetClientSetupDetailsQuery';
|
|
56
|
+
export { getConanPackageDetailV3, useGetConanPackageDetailV3Query, } from './hooks/useGetConanPackageDetailV3Query';
|
|
57
|
+
export { getConanPackageRevisionDetailV3, useGetConanPackageRevisionDetailV3Query, } from './hooks/useGetConanPackageRevisionDetailV3Query';
|
|
58
|
+
export { getConanRecipeRevisionDetailV3, useGetConanRecipeRevisionDetailV3Query, } from './hooks/useGetConanRecipeRevisionDetailV3Query';
|
|
56
59
|
export { getDockerArtifactDetails, useGetDockerArtifactDetailsQuery, } from './hooks/useGetDockerArtifactDetailsQuery';
|
|
57
60
|
export { getDockerArtifactIntegrationDetails, useGetDockerArtifactIntegrationDetailsQuery, } from './hooks/useGetDockerArtifactIntegrationDetailsQuery';
|
|
58
61
|
export { getDockerArtifactLayers, useGetDockerArtifactLayersQuery, } from './hooks/useGetDockerArtifactLayersQuery';
|
|
59
62
|
export { getDockerArtifactManifest, useGetDockerArtifactManifestQuery, } from './hooks/useGetDockerArtifactManifestQuery';
|
|
60
63
|
export { getDockerArtifactManifests, useGetDockerArtifactManifestsQuery, } from './hooks/useGetDockerArtifactManifestsQuery';
|
|
61
64
|
export { getFileMetadataV3, useGetFileMetadataV3Query } from './hooks/useGetFileMetadataV3Query';
|
|
65
|
+
export { getFilePreviewV3, useGetFilePreviewV3Query } from './hooks/useGetFilePreviewV3Query';
|
|
62
66
|
export { getFile, useGetFileQuery } from './hooks/useGetFileQuery';
|
|
63
67
|
export { getFileV3, useGetFileV3Query } from './hooks/useGetFileV3Query';
|
|
64
68
|
export { getHelmArtifactDetails, useGetHelmArtifactDetailsQuery, } from './hooks/useGetHelmArtifactDetailsQuery';
|
|
@@ -84,6 +88,9 @@ export { getWebhookExecution, useGetWebhookExecutionQuery, } from './hooks/useGe
|
|
|
84
88
|
export { getWebhook, useGetWebhookQuery } from './hooks/useGetWebhookQuery';
|
|
85
89
|
export { initiateBulkScanEvaluationV3, useInitiateBulkScanEvaluationV3Mutation, } from './hooks/useInitiateBulkScanEvaluationV3Mutation';
|
|
86
90
|
export { listArtifactLabels, useListArtifactLabelsQuery } from './hooks/useListArtifactLabelsQuery';
|
|
91
|
+
export { listConanPackageRevisionsV3, useListConanPackageRevisionsV3Query, } from './hooks/useListConanPackageRevisionsV3Query';
|
|
92
|
+
export { listConanPackagesV3, useListConanPackagesV3Query, } from './hooks/useListConanPackagesV3Query';
|
|
93
|
+
export { listConanRecipeRevisionsV3, useListConanRecipeRevisionsV3Query, } from './hooks/useListConanRecipeRevisionsV3Query';
|
|
87
94
|
export { listFilesV3, useListFilesV3Query } from './hooks/useListFilesV3Query';
|
|
88
95
|
export { listFirewallExceptionVersionsV3, useListFirewallExceptionVersionsV3Query, } from './hooks/useListFirewallExceptionVersionsV3Query';
|
|
89
96
|
export { listFirewallExceptionsV3, useListFirewallExceptionsV3Query, } from './hooks/useListFirewallExceptionsV3Query';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
package/dist/har-service/src/services/responses/ConanPackageRevisionDetailResponseV3Response.js
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
package/dist/har-service/src/services/responses/ConanRecipeRevisionDetailResponseV3Response.js
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -16,13 +16,14 @@ import type { SwiftArtifactDetailConfig } from '../schemas/SwiftArtifactDetailCo
|
|
|
16
16
|
import type { PuppetArtifactDetailConfig } from '../schemas/PuppetArtifactDetailConfig';
|
|
17
17
|
import type { HelmHttpArtifactDetailConfig } from '../schemas/HelmHttpArtifactDetailConfig';
|
|
18
18
|
import type { DebianArtifactDetailConfig } from '../schemas/DebianArtifactDetailConfig';
|
|
19
|
+
import type { ConanArtifactDetailConfig } from '../schemas/ConanArtifactDetailConfig';
|
|
19
20
|
import type { ArtifactType } from '../schemas/ArtifactType';
|
|
20
21
|
import type { UserInfo } from '../schemas/UserInfo';
|
|
21
22
|
import type { PackageType } from '../schemas/PackageType';
|
|
22
23
|
/**
|
|
23
24
|
* Artifact Detail
|
|
24
25
|
*/
|
|
25
|
-
export type ArtifactDetail = (DockerArtifactDetailConfig | HelmArtifactDetailConfig | GenericArtifactDetailConfig | MavenArtifactDetailConfig | PythonArtifactDetailConfig | NpmArtifactDetailConfig | RpmArtifactDetailConfig | NugetArtifactDetailConfig | CargoArtifactDetailConfig | GoArtifactDetailConfig | HuggingFaceArtifactDetailConfig | CondaArtifactDetailConfig | DartArtifactDetailConfig | ComposerArtifactDetailConfig | SwiftArtifactDetailConfig | PuppetArtifactDetailConfig | HelmHttpArtifactDetailConfig | DebianArtifactDetailConfig) & {
|
|
26
|
+
export type ArtifactDetail = (DockerArtifactDetailConfig | HelmArtifactDetailConfig | GenericArtifactDetailConfig | MavenArtifactDetailConfig | PythonArtifactDetailConfig | NpmArtifactDetailConfig | RpmArtifactDetailConfig | NugetArtifactDetailConfig | CargoArtifactDetailConfig | GoArtifactDetailConfig | HuggingFaceArtifactDetailConfig | CondaArtifactDetailConfig | DartArtifactDetailConfig | ComposerArtifactDetailConfig | SwiftArtifactDetailConfig | PuppetArtifactDetailConfig | HelmHttpArtifactDetailConfig | DebianArtifactDetailConfig | ConanArtifactDetailConfig) & {
|
|
26
27
|
artifactKey?: {
|
|
27
28
|
[key: string]: string;
|
|
28
29
|
};
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* A Conan package (PKGID) detail. The package revisions are listed via the package-revisions endpoint.
|
|
3
|
+
*/
|
|
4
|
+
export interface ConanPackageDetailV3 {
|
|
5
|
+
/**
|
|
6
|
+
* Total downloads across every finalized package revision of this package.
|
|
7
|
+
* @format int64
|
|
8
|
+
*/
|
|
9
|
+
downloadCount?: number;
|
|
10
|
+
/**
|
|
11
|
+
* Most recent download time (Unix milliseconds), if any.
|
|
12
|
+
* @format int64
|
|
13
|
+
*/
|
|
14
|
+
lastDownloadedAt?: number | null;
|
|
15
|
+
/**
|
|
16
|
+
* Build options parsed from conaninfo.txt.
|
|
17
|
+
*/
|
|
18
|
+
options?: {
|
|
19
|
+
[key: string]: any;
|
|
20
|
+
};
|
|
21
|
+
packageId: string;
|
|
22
|
+
/**
|
|
23
|
+
* Number of finalized package revisions (PREVs) of this package.
|
|
24
|
+
* @format int64
|
|
25
|
+
*/
|
|
26
|
+
packageRevisionCount?: number;
|
|
27
|
+
recipeRevision?: string;
|
|
28
|
+
/**
|
|
29
|
+
* Build settings parsed from conaninfo.txt.
|
|
30
|
+
*/
|
|
31
|
+
settings?: {
|
|
32
|
+
[key: string]: any;
|
|
33
|
+
};
|
|
34
|
+
size?: string;
|
|
35
|
+
}
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* A Conan package (PKGID).
|
|
3
|
+
*/
|
|
4
|
+
export interface ConanPackageMetadataV3 {
|
|
5
|
+
/**
|
|
6
|
+
* The newest finalized package revision hash.
|
|
7
|
+
*/
|
|
8
|
+
latestPackageRevision?: string;
|
|
9
|
+
/**
|
|
10
|
+
* Build options parsed from conaninfo.txt.
|
|
11
|
+
*/
|
|
12
|
+
options?: {
|
|
13
|
+
[key: string]: any;
|
|
14
|
+
};
|
|
15
|
+
/**
|
|
16
|
+
* The package id hash.
|
|
17
|
+
*/
|
|
18
|
+
packageId: string;
|
|
19
|
+
/**
|
|
20
|
+
* Build settings parsed from conaninfo.txt.
|
|
21
|
+
*/
|
|
22
|
+
settings?: {
|
|
23
|
+
[key: string]: any;
|
|
24
|
+
};
|
|
25
|
+
/**
|
|
26
|
+
* Size of the latest finalized package revision.
|
|
27
|
+
*/
|
|
28
|
+
size?: string;
|
|
29
|
+
}
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import type { CreatedAtMsV3 } from '../schemas/CreatedAtMsV3';
|
|
2
|
+
/**
|
|
3
|
+
* A Conan package revision (PREV).
|
|
4
|
+
*/
|
|
5
|
+
export interface ConanPackageRevisionDetailV3 {
|
|
6
|
+
createdAt?: CreatedAtMsV3;
|
|
7
|
+
/**
|
|
8
|
+
* @format int64
|
|
9
|
+
*/
|
|
10
|
+
downloadCount?: number;
|
|
11
|
+
/**
|
|
12
|
+
* Last-downloaded time (Unix milliseconds), if any.
|
|
13
|
+
* @format int64
|
|
14
|
+
*/
|
|
15
|
+
lastDownloadedAt?: number | null;
|
|
16
|
+
/**
|
|
17
|
+
* The package revision (PREV) hash.
|
|
18
|
+
*/
|
|
19
|
+
packageRevision: string;
|
|
20
|
+
size?: string;
|
|
21
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* A Conan recipe revision (RREV).
|
|
3
|
+
*/
|
|
4
|
+
export interface ConanRecipeRevisionDetailV3 {
|
|
5
|
+
/**
|
|
6
|
+
* Total downloads across every finalized package revision under this revision.
|
|
7
|
+
* @format int64
|
|
8
|
+
*/
|
|
9
|
+
downloadCount?: number;
|
|
10
|
+
/**
|
|
11
|
+
* Most recent download time (Unix milliseconds), if any.
|
|
12
|
+
* @format int64
|
|
13
|
+
*/
|
|
14
|
+
lastDownloadedAt?: number | null;
|
|
15
|
+
/**
|
|
16
|
+
* Finalization time (Unix milliseconds).
|
|
17
|
+
* @format int64
|
|
18
|
+
*/
|
|
19
|
+
lastPushedAt?: number | null;
|
|
20
|
+
/**
|
|
21
|
+
* Number of packages with at least one finalized package revision.
|
|
22
|
+
* @format int64
|
|
23
|
+
*/
|
|
24
|
+
packageCount?: number;
|
|
25
|
+
/**
|
|
26
|
+
* The recipe revision (RREV) hash.
|
|
27
|
+
*/
|
|
28
|
+
recipeRevision: string;
|
|
29
|
+
/**
|
|
30
|
+
* Recipe files plus all package binaries under this revision.
|
|
31
|
+
*/
|
|
32
|
+
size?: string;
|
|
33
|
+
}
|
|
@@ -1,9 +1,11 @@
|
|
|
1
1
|
import type { CreatedAtMsV3 } from '../schemas/CreatedAtMsV3';
|
|
2
|
+
import type { UserInfoV3 } from '../schemas/UserInfoV3';
|
|
2
3
|
/**
|
|
3
4
|
* File Metadata
|
|
4
5
|
*/
|
|
5
6
|
export interface FileMetadataV3 {
|
|
6
7
|
createdAt: CreatedAtMsV3;
|
|
8
|
+
createdBy?: UserInfoV3;
|
|
7
9
|
downloadUrl?: string;
|
|
8
10
|
id: string;
|
|
9
11
|
md5: string;
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Inline preview details for a file.
|
|
3
|
+
*/
|
|
4
|
+
export interface FilePreviewDataV3 {
|
|
5
|
+
/**
|
|
6
|
+
* Content-Type the file will be served with for preview. HTML and SVG are forced to text/plain to mitigate stored XSS.
|
|
7
|
+
*
|
|
8
|
+
*/
|
|
9
|
+
contentType: string;
|
|
10
|
+
/**
|
|
11
|
+
* When the preview URL expires (Unix ms). Set for cloud presigned URLs (now + 20m); null for filesystem deployments whose URL does not expire.
|
|
12
|
+
*
|
|
13
|
+
* @format int64
|
|
14
|
+
*/
|
|
15
|
+
expiresAt?: number | null;
|
|
16
|
+
/**
|
|
17
|
+
* File name (leaf of the node path).
|
|
18
|
+
*/
|
|
19
|
+
fileName: string;
|
|
20
|
+
/**
|
|
21
|
+
* URL the browser can open to render the file inline. A presigned URL for cloud deployments, or a protocol-API URL with preview=true for filesystem deployments.
|
|
22
|
+
*
|
|
23
|
+
*/
|
|
24
|
+
previewUrl: string;
|
|
25
|
+
/**
|
|
26
|
+
* File size in bytes.
|
|
27
|
+
* @format int64
|
|
28
|
+
*/
|
|
29
|
+
size: number;
|
|
30
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import type { ConanPackageRevisionDetailV3 } from '../schemas/ConanPackageRevisionDetailV3';
|
|
2
|
+
import type { PageInfoV3 } from '../schemas/PageInfoV3';
|
|
3
|
+
export interface ListConanPackageRevisionsResponseBodyV3 extends PageInfoV3 {
|
|
4
|
+
items: ConanPackageRevisionDetailV3[];
|
|
5
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import type { ConanRecipeRevisionDetailV3 } from '../schemas/ConanRecipeRevisionDetailV3';
|
|
2
|
+
import type { PageInfoV3 } from '../schemas/PageInfoV3';
|
|
3
|
+
export interface ListConanRecipeRevisionsResponseBodyV3 extends PageInfoV3 {
|
|
4
|
+
items: ConanRecipeRevisionDetailV3[];
|
|
5
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|