init
This commit is contained in:
10
server/src/config/index.ts
Normal file
10
server/src/config/index.ts
Normal file
@@ -0,0 +1,10 @@
|
||||
import { Config } from '../types';
|
||||
|
||||
export default {
|
||||
default: () => ({ contentVersionLimit: 50 }),
|
||||
validator: (config: Config) => {
|
||||
if (typeof config.contentVersionLimit !== 'number') {
|
||||
throw new Error('contentVersionLimit has to be a boolean');
|
||||
}
|
||||
},
|
||||
};
|
||||
Reference in New Issue
Block a user