@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":"config.mjs","names":["constants"],"sources":["../../../../../../src/libs/collection/custom-fields/fields/user/config.ts"],"sourcesContent":["import constants from \"../../../../../constants/constants.js\";\nimport type { FieldStaticConfig } from \"../../types.js\";\n\nexport const userFieldConfig = {\n\ttype: \"user\",\n\tdatabase: {\n\t\tmode: \"relation-table\",\n\t\tseparator: \"usr\",\n\t\ttableType: `${constants.db.customFieldTablePrefix}user`,\n\t},\n\tcapabilities: {\n\t\tfilterable: true,\n\t\tsortable: false,\n\t},\n} as const satisfies FieldStaticConfig<\"user\">;\n\nexport type UserFieldType = typeof userFieldConfig.type;\n"],"mappings":"sDAGA,MAAa,EAAkB,CAC9B,KAAM,OACN,SAAU,CACT,KAAM,iBACN,UAAW,MACX,UAAW,GAAGA,EAAU,GAAG,uBAAuB,KACnD,EACA,aAAc,CACb,WAAY,GACZ,SAAU,EACX,CACD"}