Files
automatisch/packages/backend/src/models/config.js
2024-01-05 19:08:04 +01:00

19 lines
348 B
JavaScript

import Base from './base.js';
class Config extends Base {
static tableName = 'config';
static jsonSchema = {
type: 'object',
required: ['key', 'value'],
properties: {
id: { type: 'string', format: 'uuid' },
key: { type: 'string', minLength: 1 },
value: { type: 'object' },
},
};
}
export default Config;