Skip to main content
Version: Next

Interface: Crud

Auto-generated CRUD operations for an entity.

Create one with the crud constructor.

See Automatic CRUD.

Extends

  • BasePart<"crud">

Properties

entity

entity: string

Entity to generate operations for.


kind

kind: "crud"

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

Inherited from

BasePart.kind


name

name: string

Unique name for this CRUD.


operations

operations: CrudOperations

Which operations to generate and how to configure each one.