Index
Type aliases
Pagination Iterator
Functions
Const add Widget Listener
Parameters
arg: { programId: string }
program
Id: string
callback: WidgetListenerCallback
Returns any
Const get Paginated Unclaimed Rewards
Parameters
args: { programId: string }
program
Id: string
Returns Promise<AsyncIterator<Object, Function, Function>>
Const get Paginated Widgets
Parameters
__namedParameters: Object
Returns Promise<PaginationIterator>
Const get Posted Widgets
Get list of widgets that have already been posted.
Parameters
__namedParameters: Object
Returns Promise<IPostedWidgetsPayload>
Const get Widget
Gets widget object from passed kind and id
Parameters
args: IWidgetCreationArgs
Returns Promise<IWidgetPayload>
Const get Widget Interactions
Parameters
args: IWidgetInteractionArgs
Returns Promise<any>
Const get Widgets
Parameters
args: IWidgetArgs
Returns Promise<IPaginatedResponse<IWidgetPayload>>
Const register Widget Mode
Registers a custom widget state transition mode. The name argument is used to pass to one of the widget instantiation methods to choose
Parameters
name: string
mode: WidgetMode
Returns any
Const remove Widget Listener
Parameters
arg: { programId: string }
program
Id: string
callback: WidgetListenerCallback
Returns void
Generated using TypeDoc
2.4.0