Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
'use strict';
Object.defineProperty(exports, "__esModule", {
value: true
});
var _minidb = require('minidb');
var _fulcrumCore = require('fulcrum-core');
class ClassificationSet extends _fulcrumCore.ClassificationSet {
static get tableName() {
return 'classification_sets';
}
static get columns() {
return [{ name: 'accountRowID', column: 'account_id', type: 'integer', null: false }, { name: 'id', column: 'resource_id', type: 'string', null: false }, { name: 'name', column: 'name', type: 'string', null: false }, { name: 'description', column: 'description', type: 'string' }, { name: 'itemsJSON', column: 'items', type: 'json', null: false }, { name: 'createdAt', column: 'created_at', type: 'datetime', null: false }, { name: 'updatedAt', column: 'updated_at', type: 'datetime', null: false }, { name: 'deletedAt', column: 'deleted_at', type: 'datetime' }];
}
}
exports.default = ClassificationSet;
_minidb.PersistentObject.register(ClassificationSet);
//# sourceMappingURL=classification-set.js.map
'use strict';
Object.defineProperty(exports, "__esModule", {
value: true
});
var _minidb = require('minidb');
var _fulcrumCore = require('fulcrum-core');
class ClassificationSet extends _fulcrumCore.ClassificationSet {
static get tableName() {
return 'classification_sets';
}
static get columns() {
return [{ name: 'accountRowID', column: 'account_id', type: 'integer', null: false }, { name: 'id', column: 'resource_id', type: 'string', null: false }, { name: 'name', column: 'name', type: 'string', null: false }, { name: 'description', column: 'description', type: 'string' }, { name: 'version', column: 'version', type: 'integer', null: false }, { name: 'itemsJSON', column: 'items', type: 'json', null: false }, { name: 'createdAt', column: 'server_created_at', type: 'datetime' }, { name: 'updatedAt', column: 'server_updated_at', type: 'datetime' }, { name: 'deletedAt', column: 'deleted_at', type: 'datetime' }];
}
}
exports.default = ClassificationSet;
_minidb.PersistentObject.register(ClassificationSet);
//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uLy4uL3NyYy9tYWluL21vZGVscy9jbGFzc2lmaWNhdGlvbi1zZXQuanMiXSwibmFtZXMiOlsiQ2xhc3NpZmljYXRp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