mirror of
https://github.com/Unleash/unleash.git
synced 2025-01-25 00:07:47 +01:00
parent
2ec816946f
commit
00ce76f9c5
@ -1,13 +1,12 @@
|
||||
'use strict';
|
||||
|
||||
const joi = require('joi');
|
||||
const { nameType } = require('./util');
|
||||
|
||||
const applicationSchema = joi
|
||||
.object()
|
||||
.options({ stripUnknown: false })
|
||||
.keys({
|
||||
appName: nameType,
|
||||
appName: joi.string().required(),
|
||||
sdkVersion: joi.string().optional(),
|
||||
strategies: joi
|
||||
.array()
|
||||
|
Loading…
Reference in New Issue
Block a user