UNPKG

@lucidcms/core

Version:

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

2 lines 1.12 kB
import e from"./parents/static-repository.mjs";import t from"zod";var n=class extends e{constructor(e,t){super(e,t,`lucid_email_attachments`)}tableSchema=t.object({id:t.number(),email_id:t.number(),type:t.literal(`url`),url:t.string(),filename:t.string(),content_type:t.string().nullable(),disposition:t.union([t.literal(`attachment`),t.literal(`inline`)]),content_id:t.string().nullable(),order:t.number(),created_at:t.union([t.string(),t.date()]).nullable(),updated_at:t.union([t.string(),t.date()]).nullable()});columnFormats={id:this.dbAdapter.getDataType(`primary`),email_id:this.dbAdapter.getDataType(`integer`),type:this.dbAdapter.getDataType(`text`),url:this.dbAdapter.getDataType(`text`),filename:this.dbAdapter.getDataType(`text`),content_type:this.dbAdapter.getDataType(`text`),disposition:this.dbAdapter.getDataType(`text`),content_id:this.dbAdapter.getDataType(`text`),order:this.dbAdapter.getDataType(`integer`),created_at:this.dbAdapter.getDataType(`timestamp`),updated_at:this.dbAdapter.getDataType(`timestamp`)};queryConfig=void 0};export{n as default}; //# sourceMappingURL=email-attachments.mjs.map