@lucidcms/core
Version:
The core of the Lucid CMS. It's responsible for spinning up the API and serving the CMS.
1 lines • 845 B
Source Map (JSON)
{"version":3,"file":"config.mjs","names":["constants"],"sources":["../../../../../../src/libs/collection/custom-fields/fields/relation/config.ts"],"sourcesContent":["import constants from \"../../../../../constants/constants.js\";\nimport type { FieldStaticConfig } from \"../../types.js\";\n\nexport const relationFieldConfig = {\n\ttype: \"relation\",\n\tdatabase: {\n\t\tmode: \"relation-table\",\n\t\tseparator: \"rel\",\n\t\ttableType: `${constants.db.customFieldTablePrefix}relation`,\n\t},\n\tcapabilities: {\n\t\tfilterable: true,\n\t\tsortable: false,\n\t},\n} as const satisfies FieldStaticConfig<\"relation\">;\n\nexport type RelationFieldType = typeof relationFieldConfig.type;\n"],"mappings":"sDAGA,MAAa,EAAsB,CAClC,KAAM,WACN,SAAU,CACT,KAAM,iBACN,UAAW,MACX,UAAW,GAAGA,EAAU,GAAG,uBAAuB,SACnD,EACA,aAAc,CACb,WAAY,GACZ,SAAU,EACX,CACD"}