@@ -3,15 +3,15 @@ import type { AxiosInstance } from 'contentful-sdk-core'
33import copy from 'fast-copy'
44import type { SetOptional } from 'type-fest'
55import type {
6- ExoCursorPaginatedCollectionProp ,
76 GetComponentTypeParams ,
87 GetSpaceEnvironmentParams ,
98} from '../../../common-types'
10- import type {
11- ComponentTypeProps ,
12- ComponentTypeQueryOptions ,
13- CreateComponentTypeProps ,
14- UpdateComponentTypeProps ,
9+ import {
10+ ComponentTypeCollection ,
11+ type ComponentTypeProps ,
12+ type ComponentTypeQueryOptions ,
13+ type CreateComponentTypeProps ,
14+ type UpdateComponentTypeProps ,
1515} from '../../../entities/component-type'
1616import type { RestEndpoint } from '../types'
1717import * as raw from './raw'
@@ -24,7 +24,7 @@ export const getMany: RestEndpoint<'ComponentType', 'getMany'> = (
2424 params : GetSpaceEnvironmentParams & { query : ComponentTypeQueryOptions } ,
2525 headers ?: RawAxiosRequestHeaders ,
2626) => {
27- return raw . get < ExoCursorPaginatedCollectionProp < ComponentTypeProps > > ( http , getBaseUrl ( params ) , {
27+ return raw . get < ComponentTypeCollection > ( http , getBaseUrl ( params ) , {
2828 params : params . query ,
2929 headers,
3030 } )
0 commit comments