Function: defineApp()
function defineApp<G>(definition): AppDefinition<G>;Defined in: packages/relate/src/app.ts:235
Type Parameters
| Type Parameter |
|---|
G extends Graph |
Parameters
| Parameter | Type |
|---|---|
definition | { graph: G; setup?: (context) => AppBindings<G> | Promise<AppBindings<G>>; } |
definition.graph | G |
definition.setup? | (context) => AppBindings<G> | Promise<AppBindings<G>> |
Returns
AppDefinition<G>