Skip to main content
Version: 0.24

Interface: Crud

Auto-generated CRUD operations for an entity.

Create one with the crud constructor.

See Automatic CRUD.

Extends

  • BaseSpecElement<"crud">

Properties

entity

entity: string

Entity to generate operations for.


kind

kind: "crud"

The internal Wasp type of a SpecElement. Used by the compiler. You should not set this field directly, instead use the dedicated constructors.

Inherited from

BaseSpecElement.kind


name

name: string

Unique name for this CRUD.


operations

operations: CrudOperations

Which operations to generate and how to configure each one.