@harnessio/react-idp-service-client 0.57.0 → 0.58.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,5 +1,5 @@
1
1
  import { UseQueryOptions } from '@tanstack/react-query';
2
- import type { FacetsResponseResponse } from '../responses/FacetsResponseResponse';
2
+ import type { EntityFiltersResponseBodyListResponse } from '../responses/EntityFiltersResponseBodyListResponse';
3
3
  import type { ResponseWithPagination } from '../helpers';
4
4
  import { FetcherOptions } from '../../../../fetcher/index.js';
5
5
  export interface GetEntityFacetsQueryQueryParams {
@@ -8,7 +8,7 @@ export interface GetEntityFacetsQueryQueryParams {
8
8
  export interface GetEntityFacetsQueryHeaderParams {
9
9
  'Harness-Account'?: string;
10
10
  }
11
- export type GetEntityFacetsOkResponse = ResponseWithPagination<FacetsResponseResponse>;
11
+ export type GetEntityFacetsOkResponse = ResponseWithPagination<EntityFiltersResponseBodyListResponse>;
12
12
  export type GetEntityFacetsErrorResponse = unknown;
13
13
  export interface GetEntityFacetsProps extends Omit<FetcherOptions<GetEntityFacetsQueryQueryParams, unknown, GetEntityFacetsQueryHeaderParams>, 'url'> {
14
14
  queryParams: GetEntityFacetsQueryQueryParams;
@@ -221,7 +221,6 @@ export type { EntityKindsResponseBodyResponse } from './responses/EntityKindsRes
221
221
  export type { EntityRefsResponseResponse } from './responses/EntityRefsResponseResponse';
222
222
  export type { EntityResponseBodyListResponse } from './responses/EntityResponseBodyListResponse';
223
223
  export type { EntityResponseBodyResponse } from './responses/EntityResponseBodyResponse';
224
- export type { FacetsResponseResponse } from './responses/FacetsResponseResponse';
225
224
  export type { GenerateYamlResponseResponse } from './responses/GenerateYamlResponseResponse';
226
225
  export type { GroupResponseListResponse } from './responses/GroupResponseListResponse';
227
226
  export type { GroupResponseResponse } from './responses/GroupResponseResponse';
@@ -309,7 +308,6 @@ export type { EntityRequest } from './schemas/EntityRequest';
309
308
  export type { EntityResponse } from './schemas/EntityResponse';
310
309
  export type { ExportDetails } from './schemas/ExportDetails';
311
310
  export type { Exports } from './schemas/Exports';
312
- export type { Facets } from './schemas/Facets';
313
311
  export type { GenerateYamlRequest } from './schemas/GenerateYamlRequest';
314
312
  export type { GenerateYamlResponse } from './schemas/GenerateYamlResponse';
315
313
  export type { GitIntegrationRequest } from './schemas/GitIntegrationRequest';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@harnessio/react-idp-service-client",
3
- "version": "0.57.0",
3
+ "version": "0.58.0",
4
4
  "description": "Harness React idp service client - IDP APIs integrated with react hooks",
5
5
  "author": "Harness Inc",
6
6
  "license": "MIT",
@@ -1,2 +0,0 @@
1
- import type { Facets } from '../schemas/Facets';
2
- export type FacetsResponseResponse = Facets;
@@ -1,6 +0,0 @@
1
- export interface Facets {
2
- lifecycle: string[];
3
- owners: string[];
4
- tags: string[];
5
- type: string[];
6
- }
@@ -1,4 +0,0 @@
1
- /* eslint-disable */
2
- // This code is autogenerated using @harnessio/oats-cli.
3
- // Please do not modify this code directly.
4
- export {};