Start new HTML export logic
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
This commit is contained in:
17
app/models/api/Export.model.js
Normal file
17
app/models/api/Export.model.js
Normal 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
|
||||
Reference in New Issue
Block a user