Skip to content

Function: usePostListWithCollections()

ts
function usePostListWithCollections(params?): ComputedRef<Post[]>;

Defined in: packages/valaxy/client/composables/post/index.ts:177

Experimental

Get post list merged with collapsed collection entries. Collapsed collections are represented by a single synthetic entry (card) that is appended and re-sorted with the existing posts.

Parameters

params?

type?

string

Returns

ComputedRef<Post[]>