UNPKG

@lucidcms/core

Version:

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

2 lines 301 B
import e from"./index.mjs";const t=e=>e.options.map(e=>n({option:e})),n=t=>({name:t.option.name,valueText:t.option.value_text,valueInt:t.option.value_int,valueBool:e.formatBoolean(t.option.value_bool)});var r={formatMultiple:t,formatSingle:n};export{r as default}; //# sourceMappingURL=options.mjs.map