Start new HTML export logic
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
2020-10-14 23:13:09 -05:00
parent 97d3ef6cae
commit 54d07754ac
36 changed files with 122598 additions and 1 deletions

View File

@@ -0,0 +1,17 @@
const { Model } = require('flitter-orm')
class ExportModel extends Model {
static get schema() {
return {
user_id: String,
create_date: { type: Date, default: () => new Date },
format: String, // 'html' | 'pdf' | 'markdown' | 'json'
subtree: { type: Boolean, default: true },
file_id: String,
PageId: String,
Active: { type: Boolean, default: true },
}
}
}
module.exports = exports = ExportModel