|
@@ -96,13 +96,13 @@ module.exports = (crowi) => {
|
|
|
const validator = {
|
|
const validator = {
|
|
|
themeAssetPath: [
|
|
themeAssetPath: [
|
|
|
query('themeName').isString().isIn([
|
|
query('themeName').isString().isIn([
|
|
|
- 'default', 'nature', 'mono-blue', 'wood', 'island', 'christmas', 'antarctic', 'default-dark', 'future', 'blue-night', 'halloween', 'spring',
|
|
|
|
|
|
|
+ 'default', 'nature', 'mono-blue', 'wood', 'island', 'christmas', 'antarctic', 'future', 'blue-night', 'halloween', 'spring',
|
|
|
]),
|
|
]),
|
|
|
],
|
|
],
|
|
|
layoutTheme: [
|
|
layoutTheme: [
|
|
|
body('layoutType').isString().isIn(['growi', 'kibela', 'crowi']),
|
|
body('layoutType').isString().isIn(['growi', 'kibela', 'crowi']),
|
|
|
body('themeType').isString().isIn([
|
|
body('themeType').isString().isIn([
|
|
|
- 'default', 'nature', 'mono-blue', 'wood', 'island', 'christmas', 'antarctic', 'default-dark', 'future', 'blue-night', 'halloween', 'spring',
|
|
|
|
|
|
|
+ 'default', 'nature', 'mono-blue', 'wood', 'island', 'christmas', 'antarctic', 'future', 'blue-night', 'halloween', 'spring',
|
|
|
]),
|
|
]),
|
|
|
],
|
|
],
|
|
|
behavior: [
|
|
behavior: [
|