@harnessio/react-har-service-client 0.76.0 → 0.77.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.
@@ -5,7 +5,7 @@ import type { ResponseWithPagination } from '../helpers';
5
5
  import { FetcherOptions } from '../../../../fetcher/index.js';
6
6
  export interface GetConanPackageDetailV3QueryPathParams {
7
7
  id: string;
8
- recipe_revision: string;
8
+ recipe_revision_id: string;
9
9
  package_id: string;
10
10
  }
11
11
  export interface GetConanPackageDetailV3QueryQueryParams {
@@ -4,7 +4,7 @@
4
4
  import { useQuery } from '@tanstack/react-query';
5
5
  import { fetcher } from '../../../../fetcher/index.js';
6
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));
7
+ return fetcher(Object.assign({ url: `/v3/versions/${props.id}/conan/recipe-revisions/${props.recipe_revision_id}/packages/${props.package_id}/details`, method: 'GET' }, props));
8
8
  }
9
9
  /**
10
10
  * Get a Conan package (PKGID) detail with its package revisions.
@@ -13,7 +13,7 @@ export function useGetConanPackageDetailV3Query(props, options) {
13
13
  return useQuery([
14
14
  'GetConanPackageDetailV3',
15
15
  props.id,
16
- props.recipe_revision,
16
+ props.recipe_revision_id,
17
17
  props.package_id,
18
18
  props.queryParams,
19
19
  ], ({ signal }) => getConanPackageDetailV3(Object.assign(Object.assign({}, props), { signal })), options);
@@ -5,9 +5,9 @@ import type { ResponseWithPagination } from '../helpers';
5
5
  import { FetcherOptions } from '../../../../fetcher/index.js';
6
6
  export interface GetConanPackageRevisionDetailV3QueryPathParams {
7
7
  id: string;
8
- recipe_revision: string;
8
+ recipe_revision_id: string;
9
9
  package_id: string;
10
- package_revision: string;
10
+ package_revision_id: string;
11
11
  }
12
12
  export interface GetConanPackageRevisionDetailV3QueryQueryParams {
13
13
  account_identifier: string;
@@ -4,7 +4,7 @@
4
4
  import { useQuery } from '@tanstack/react-query';
5
5
  import { fetcher } from '../../../../fetcher/index.js';
6
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));
7
+ return fetcher(Object.assign({ url: `/v3/versions/${props.id}/conan/recipe-revisions/${props.recipe_revision_id}/packages/${props.package_id}/package-revisions/${props.package_revision_id}/details`, method: 'GET' }, props));
8
8
  }
9
9
  /**
10
10
  * Get a Conan package revision (PREV) detail.
@@ -13,9 +13,9 @@ export function useGetConanPackageRevisionDetailV3Query(props, options) {
13
13
  return useQuery([
14
14
  'GetConanPackageRevisionDetailV3',
15
15
  props.id,
16
- props.recipe_revision,
16
+ props.recipe_revision_id,
17
17
  props.package_id,
18
- props.package_revision,
18
+ props.package_revision_id,
19
19
  props.queryParams,
20
20
  ], ({ signal }) => getConanPackageRevisionDetailV3(Object.assign(Object.assign({}, props), { signal })), options);
21
21
  }
@@ -5,7 +5,7 @@ import type { ResponseWithPagination } from '../helpers';
5
5
  import { FetcherOptions } from '../../../../fetcher/index.js';
6
6
  export interface GetConanRecipeRevisionDetailV3QueryPathParams {
7
7
  id: string;
8
- recipe_revision: string;
8
+ recipe_revision_id: string;
9
9
  }
10
10
  export interface GetConanRecipeRevisionDetailV3QueryQueryParams {
11
11
  account_identifier: string;
@@ -4,11 +4,11 @@
4
4
  import { useQuery } from '@tanstack/react-query';
5
5
  import { fetcher } from '../../../../fetcher/index.js';
6
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));
7
+ return fetcher(Object.assign({ url: `/v3/versions/${props.id}/conan/recipe-revisions/${props.recipe_revision_id}/details`, method: 'GET' }, props));
8
8
  }
9
9
  /**
10
10
  * Get a Conan recipe revision (RREV) detail.
11
11
  */
12
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);
13
+ return useQuery(['GetConanRecipeRevisionDetailV3', props.id, props.recipe_revision_id, props.queryParams], ({ signal }) => getConanRecipeRevisionDetailV3(Object.assign(Object.assign({}, props), { signal })), options);
14
14
  }
@@ -5,7 +5,7 @@ import type { ResponseWithPagination } from '../helpers';
5
5
  import { FetcherOptions } from '../../../../fetcher/index.js';
6
6
  export interface ListConanPackageRevisionsV3QueryPathParams {
7
7
  id: string;
8
- recipe_revision: string;
8
+ recipe_revision_id: string;
9
9
  package_id: string;
10
10
  }
11
11
  export interface ListConanPackageRevisionsV3QueryQueryParams {
@@ -4,7 +4,7 @@
4
4
  import { useQuery } from '@tanstack/react-query';
5
5
  import { fetcher } from '../../../../fetcher/index.js';
6
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));
7
+ return fetcher(Object.assign({ url: `/v3/versions/${props.id}/conan/recipe-revisions/${props.recipe_revision_id}/packages/${props.package_id}/package-revisions`, method: 'GET' }, props));
8
8
  }
9
9
  /**
10
10
  * List the package revisions (PREVs) under a Conan package.
@@ -13,7 +13,7 @@ export function useListConanPackageRevisionsV3Query(props, options) {
13
13
  return useQuery([
14
14
  'ListConanPackageRevisionsV3',
15
15
  props.id,
16
- props.recipe_revision,
16
+ props.recipe_revision_id,
17
17
  props.package_id,
18
18
  props.queryParams,
19
19
  ], ({ signal }) => listConanPackageRevisionsV3(Object.assign(Object.assign({}, props), { signal })), options);
@@ -5,7 +5,7 @@ import type { ResponseWithPagination } from '../helpers';
5
5
  import { FetcherOptions } from '../../../../fetcher/index.js';
6
6
  export interface ListConanPackagesV3QueryPathParams {
7
7
  id: string;
8
- recipe_revision: string;
8
+ recipe_revision_id: string;
9
9
  }
10
10
  export interface ListConanPackagesV3QueryQueryParams {
11
11
  account_identifier: string;
@@ -4,11 +4,11 @@
4
4
  import { useQuery } from '@tanstack/react-query';
5
5
  import { fetcher } from '../../../../fetcher/index.js';
6
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));
7
+ return fetcher(Object.assign({ url: `/v3/versions/${props.id}/conan/recipe-revisions/${props.recipe_revision_id}/packages`, method: 'GET' }, props));
8
8
  }
9
9
  /**
10
10
  * List the packages (PKGIDs) under a Conan recipe revision.
11
11
  */
12
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);
13
+ return useQuery(['ListConanPackagesV3', props.id, props.recipe_revision_id, props.queryParams], ({ signal }) => listConanPackagesV3(Object.assign(Object.assign({}, props), { signal })), options);
14
14
  }
@@ -10,6 +10,8 @@ export interface ListFilesV3QueryQueryParams {
10
10
  registry_id?: string;
11
11
  package_id?: string;
12
12
  version_id?: string;
13
+ recipe_revision_id?: string;
14
+ package_revision_id?: string;
13
15
  /**
14
16
  * @format int64
15
17
  * @default 0
@@ -7,6 +7,11 @@ export interface ConanPackageDetailV3 {
7
7
  * @format int64
8
8
  */
9
9
  downloadCount?: number;
10
+ /**
11
+ * The stable UUID of the package row.
12
+ * @format uuid
13
+ */
14
+ id: string;
10
15
  /**
11
16
  * Most recent download time (Unix milliseconds), if any.
12
17
  * @format int64
@@ -2,6 +2,11 @@
2
2
  * A Conan package (PKGID).
3
3
  */
4
4
  export interface ConanPackageMetadataV3 {
5
+ /**
6
+ * The stable UUID of the package row.
7
+ * @format uuid
8
+ */
9
+ id: string;
5
10
  /**
6
11
  * The newest finalized package revision hash.
7
12
  */
@@ -8,6 +8,11 @@ export interface ConanPackageRevisionDetailV3 {
8
8
  * @format int64
9
9
  */
10
10
  downloadCount?: number;
11
+ /**
12
+ * The stable UUID of the package revision row.
13
+ * @format uuid
14
+ */
15
+ id: string;
11
16
  /**
12
17
  * Last-downloaded time (Unix milliseconds), if any.
13
18
  * @format int64
@@ -7,6 +7,11 @@ export interface ConanRecipeRevisionDetailV3 {
7
7
  * @format int64
8
8
  */
9
9
  downloadCount?: number;
10
+ /**
11
+ * The stable UUID of the recipe revision row.
12
+ * @format uuid
13
+ */
14
+ id: string;
10
15
  /**
11
16
  * Most recent download time (Unix milliseconds), if any.
12
17
  * @format int64
@@ -15,6 +15,6 @@ export interface UpstreamConfig {
15
15
  *
16
16
  */
17
17
  remoteUrlSuffix?: string;
18
- source?: 'Anaconda' | 'AwsEcr' | 'Crates' | 'Custom' | 'Dockerhub' | 'GoProxy' | 'HelmChartRepo' | 'HuggingFace' | 'MavenCentral' | 'NpmJs' | 'NugetOrg' | 'Packagist' | 'Pubdev' | 'PuppetForge' | 'PyPi';
18
+ source?: 'Anaconda' | 'AwsEcr' | 'ConanCenter' | 'Crates' | 'Custom' | 'Dockerhub' | 'GoProxy' | 'HelmChartRepo' | 'HuggingFace' | 'MavenCentral' | 'NpmJs' | 'NugetOrg' | 'Packagist' | 'Pubdev' | 'PuppetForge' | 'PyPi';
19
19
  url?: string;
20
20
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@harnessio/react-har-service-client",
3
- "version": "0.76.0",
3
+ "version": "0.77.0",
4
4
  "description": "Harness HAR Service APIs integrated with react hooks",
5
5
  "author": "Harness Inc",
6
6
  "license": "MIT",