mirror of
https://github.com/wassname/talk.git
synced 2026-07-27 11:28:12 +08:00
added subscription hooks
This commit is contained in:
@@ -57,6 +57,10 @@ const hookSchemas = {
|
||||
resolvers: Joi.object().pattern(/\w/, Joi.object().pattern(/(?:__resolveType|\w+)/, Joi.func())),
|
||||
typeDefs: Joi.string(),
|
||||
schemaLevelResolveFunction: Joi.func(),
|
||||
websockets: Joi.object({
|
||||
onConnect: Joi.func(),
|
||||
onDisconnect: Joi.func(),
|
||||
}),
|
||||
};
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user