()
| 34 | module.exports = (Level = (function () { |
| 35 | Level = class Level extends CocoModel { |
| 36 | static initClass () { |
| 37 | this.className = 'Level' |
| 38 | this.schema = require('schemas/models/level') |
| 39 | this.levels = LevelConstants.levels |
| 40 | this.prototype.urlRoot = '/db/level' |
| 41 | this.prototype.editableByArtisans = true |
| 42 | |
| 43 | this.prototype.cachedLevelComponents = null |
| 44 | } |
| 45 | |
| 46 | serialize (options) { |
| 47 | let cached, otherSession, session, supermodel; |