Skip to content

Commit

Permalink
fix: adds delete and unlock to joi baseField schema
Browse files Browse the repository at this point in the history
  • Loading branch information
JarrodMFlesch committed Dec 30, 2020
1 parent 60c1d1d commit 36d51de
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/fields/config/schema.ts
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,8 @@ export const baseField = joi.object().keys({
create: joi.func(),
read: joi.func(),
update: joi.func(),
delete: joi.func(),
unlock: joi.func(),
}),
hooks: joi.object()
.keys({
Expand Down

0 comments on commit 36d51de

Please sign in to comment.