UNPKG

@lucidcms/core

Version:

The core of the Lucid CMS. It's responsible for spinning up the API and serving the CMS.

2 lines 327 B
import e from"../../libs/repositories/processed-images.mjs";import t from"../../libs/formatters/index.mjs";const n=async n=>{let r=await new e(n.db.client,n.config.db).count({validation:{enabled:!0}});return r.error?r:{error:void 0,data:t.parseCount(r.data?.count)}};export{n as default}; //# sourceMappingURL=get-count.mjs.map