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