mirror of
https://github.com/wassname/talk.git
synced 2026-10-30 13:50:47 +08:00
Merge branch 'plugin' of github.com:coralproject/talk into plugin
This commit is contained in:
commit
8b9e69e8a6
1 file changed
+3
-3
+3
-3
@@ -39,13 +39,13 @@ const hookSchemas = {
|
||||
passport: Joi.func().arity(1),
|
||||
router: Joi.func().arity(1),
|
||||
context: Joi.object().pattern(/\w/, Joi.func().maxArity(1)),
|
||||
hooks: Joi.object({
|
||||
hooks: Joi.object().pattern(/\w/, Joi.object().pattern(/(?:__resolveType|\w+)/, Joi.object({
|
||||
pre: Joi.func(),
|
||||
post: Joi.func()
|
||||
}),
|
||||
}))),
|
||||
loaders: Joi.object().pattern(/\w/, Joi.object().pattern(/\w/, Joi.func())),
|
||||
mutators: Joi.object().pattern(/\w/, Joi.object().pattern(/\w/, Joi.func())),
|
||||
resolvers: Joi.object().pattern(/\w/, Joi.object().pattern(/\w/, Joi.func())),
|
||||
resolvers: Joi.object().pattern(/\w/, Joi.object().pattern(/(?:__resolveType|\w+)/, Joi.func())),
|
||||
typeDefs: Joi.string()
|
||||
};
|
||||
|
||||
|
||||
Reference in new issue
Block a user