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.