@lucidcms/core
Version:
The core of the Lucid CMS. It's responsible for spinning up the API and serving the CMS.
1 lines • 817 B
Source Map (JSON)
{"version":3,"file":"index.mjs","names":[],"sources":["../../../../../../src/libs/collection/custom-fields/fields/checkbox/index.ts"],"sourcesContent":["import { createValueFieldTypeGenerator } from \"../../../type-gen/custom-field.js\";\nimport { formatBooleanFilterValue } from \"../../utils/filter-values.js\";\nimport { checkboxFieldConfig } from \"./config.js\";\nimport CheckboxCustomField from \"./custom-field.js\";\n\nexport default {\n\tconfig: checkboxFieldConfig,\n\tclass: CheckboxCustomField,\n\tfetchRefs: null,\n\tvalidateInput: null,\n\tformatRef: null,\n\tformatFilterValue: formatBooleanFilterValue,\n\tclientTypeGen: createValueFieldTypeGenerator(\"boolean | null\"),\n};\n"],"mappings":"iPAKA,IAAA,EAAe,CACd,OAAQ,EACR,MAAO,EACP,UAAW,KACX,cAAe,KACf,UAAW,KACX,kBAAmB,EACnB,cAAe,EAA8B,gBAAgB,CAC9D"}