Skip to content

Commit

Permalink
fix: removes delete and unlock from baseField type and schema
Browse files Browse the repository at this point in the history
  • Loading branch information
JarrodMFlesch committed Dec 30, 2020
1 parent 5823a86 commit 4fa942f
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 4 deletions.
2 changes: 0 additions & 2 deletions src/fields/config/schema.ts
Original file line number Diff line number Diff line change
Expand Up @@ -33,8 +33,6 @@ 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
2 changes: 0 additions & 2 deletions src/fields/config/types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -64,8 +64,6 @@ export interface FieldBase {
create?: Access;
read?: Access;
update?: Access;
delete?: Access;
unlock?: Access;
};
}

Expand Down

0 comments on commit 4fa942f

Please sign in to comment.