CrudUnit

flitter-crud/CrudUnit~ CrudUnit

Unit to register functionality provided by the flitter-crud package.

Constructor

new CrudUnit()

Source:

Methods

(async) go(app, context) → {Promise.<void>}

Source:

Bootstrap the unit's functionality.

Parameters:
Name Type Description
app module:libflitter/app/FlitterApp~FlitterApp

the Flitter app

context module:libflitter/Context~Context
Returns:
Type
Promise.<void>

name() → {string}

Source:

Get the name of the unit.

Returns:

"crud"

Type
string

templates() → {Object}

Source:

Get the templates provided by this unit. Currently, module:flitter-crud/templates/crud assigned as "crud".

Returns:
Type
Object