@lucidcms/core
Version:
The core of the Lucid CMS. It's responsible for spinning up the API and serving the CMS.
2 lines • 439 B
JavaScript
const e=(e,t)=>({source:t,name:e.name,canAutoRemove:`canAutoRemove`in e?e.canAutoRemove??!0:!0,type:e.type,nullable:e.nullable??!1,default:e.default??null,foreignKey:e.foreignKey?{table:e.foreignKey.table,column:e.foreignKey.column,onDelete:e.foreignKey.onDelete??`no action`,onUpdate:e.foreignKey.onUpdate??`no action`}:void 0,unique:e.unique??!1,primary:e.primary??!1});export{e as default};
//# sourceMappingURL=normalise-column.mjs.map