Skip to content

TypeScript API / @laikacms/vite-plugin / readItem

Function: readItem() ​

ts
function readItem(repos, id): Promise<ReadResult>;

Read one content item by its LaikaId, dispatching on the namespace.

Parameters ​

ParameterType
reposLaikaRepositories
idLaikaId

Returns ​

Promise<ReadResult>

Released under the MIT License.