eureka/component-crud

1.0.1 2019-06-26 20:51 UTC

This package is auto-updated.

Last update: 2024-10-27 08:55:08 UTC


README

Component crud to help to build a crud service

Interfaces

Interface HandleReadInterface

Interface for CRUD service to implement handle "Read" action.

Interface HandleCreateInterface

Interface for CRUD service to implement handle "Create" action.

Interface HandleUpdateInterface

Interface for CRUD service to implement handle "Update" action.

Interface HandleDeleteInterface

Interface for CRUD service to implement handle "Delete" action.

Interface CrudInterface

Meta interface for a full CRUD service.

Result object

The previous methods implementation MUST return an instance of ResultInterface. A basic Result class is provided in this component.