UNPKG

@lucidcms/core

Version:

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

1 lines 657 B
{"version":3,"file":"index.mjs","names":[],"sources":["../../../../../../src/libs/collection/custom-fields/fields/text/index.ts"],"sourcesContent":["import { createValueFieldTypeGenerator } from \"../../../type-gen/custom-field.js\";\nimport { textFieldConfig } from \"./config.js\";\nimport TextCustomField from \"./custom-field.js\";\n\nexport default {\n\tconfig: textFieldConfig,\n\tclass: TextCustomField,\n\tfetchRefs: null,\n\tvalidateInput: null,\n\tformatRef: null,\n\tclientTypeGen: createValueFieldTypeGenerator(\"string | null\"),\n};\n"],"mappings":"oKAIA,IAAA,EAAe,CACd,OAAQ,EACR,MAAO,EACP,UAAW,KACX,cAAe,KACf,UAAW,KACX,cAAe,EAA8B,eAAe,CAC7D"}