@lucidcms/core
Version:
The core of the Lucid CMS. It's responsible for spinning up the API and serving the CMS.
2 lines • 1 kB
JavaScript
import e from"./parents/static-repository.mjs";import t from"zod";var n=class extends e{constructor(e,t){super(e,t,`lucid_locales`)}tableSchema=t.object({code:t.string(),is_deleted:t.union([t.literal(this.dbAdapter.config.defaults.boolean.true),t.literal(this.dbAdapter.config.defaults.boolean.false)]),is_deleted_at:t.union([t.string(),t.date()]).nullable(),created_at:t.union([t.string(),t.date()]).nullable(),updated_at:t.union([t.string(),t.date()]).nullable()});columnFormats={code:this.dbAdapter.getDataType(`text`),is_deleted:this.dbAdapter.getDataType(`boolean`),is_deleted_at:this.dbAdapter.getDataType(`timestamp`),created_at:this.dbAdapter.getDataType(`timestamp`),updated_at:this.dbAdapter.getDataType(`timestamp`)};queryConfig={tableKeys:{filters:{code:`code`,isDeleted:`is_deleted`},sorts:{code:`code`,isDeleted:`is_deleted`,isDeletedAt:`is_deleted_at`,createdAt:`created_at`,updatedAt:`updated_at`}},operators:{code:`contains`}}};export{n as default};
//# sourceMappingURL=locales.mjs.map