Interface: usePostOrPostResponse<T>
Defined in: packages/core/src/react/hooks/useFetchPostOrPosts.ts:14
Extends
Type Parameters
T
T extends PostEntity = PostEntity
Properties
data
data:
object
Defined in: packages/core/src/react/hooks/useFetchPostOrPosts.ts:15
post?
optionalpost:T
posts?
optionalposts:T[]
Overrides
error?
optionalerror:string
Defined in: packages/core/src/react/hooks/types.ts:6
Inherited from
isArchive
isArchive:
boolean
Defined in: packages/core/src/react/hooks/useFetchPostOrPosts.ts:17
isMainQuery
isMainQuery:
boolean
Defined in: packages/core/src/react/hooks/types.ts:8
Inherited from
isSingle
isSingle:
boolean
Defined in: packages/core/src/react/hooks/useFetchPostOrPosts.ts:16
loading
loading:
boolean
Defined in: packages/core/src/react/hooks/types.ts:7