Skip to content

FlowPages ​

Manipulate with the flow, but be aware that you cannot manipulate with the platform. So, if the platform are moving to another flowpage (for intance if game is running out of time) then it will go there nomatter what.

The way we imagined usage of these actions are when an event happens, you are supposed to suspense and pause the application, and if you want to force the user into an alternative flowpage then the next in line, you can reject() the promise there.

getAll() ​

Returns full set of all FlowPage[]

type ​

typescript
function getAll():Promise<FlowPage[]>

makeActive() ​

type ​

typescript
function makeActive(id: number): Promise<void>

showMessage() ​

Send user to a page with a title and a description - useful if you want get the user out of the flow, based on your own logic - showing a custom error page

type ​

typescript
function showMessage(title: string, description: string): Promise<void>

FlowPage ​

propertyaccesstype
idread onlynumber
titleread onlystring or undefined
formFieldsread onlyFormField[]
rowsread onlyRow[]

Row ​

propertyaccesstype
idread onlynumber
labelread onlystring or undefined
columnsread onlyColumn[]

Column ​

propertyaccesstype
idread onlynumber
labelread onlystring or undefined
addonsread onlyAddon[]

Addon ​

propertyaccesstype
aliasread onlystring
formFields**read onlyFormField