Interface: CrudOperations
Mapping of CRUD operations to their options.
Each key enables the matching operation; an empty object enables it with
Wasp's defaults. Default get, update, and delete implementations use
the field marked with @id in the Prisma schema as the entity ID.
Extends
Partial<Record<CrudOperation,CrudOperationOptions>>
Properties
create?
optionalcreate?:CrudOperationOptions
Inherited from
CrudOperations.create
delete?
optionaldelete?:CrudOperationOptions
Inherited from
CrudOperations.delete
get?
optionalget?:CrudOperationOptions
Inherited from
CrudOperations.get
getAll?
optionalgetAll?:CrudOperationOptions
Inherited from
CrudOperations.getAll
update?
optionalupdate?:CrudOperationOptions
Inherited from
CrudOperations.update