UNPKG

@yoroi/types

Version:
41 lines (39 loc) 865 B
/** * Flowtype definitions for actions * Generated by Flowgen from a Typescript Definition * Flowgen v1.21.0 */ export type ScanActionSendOnlyReceiver = $ReadOnly<{ action: "send-only-receiver", receiver: string, ... }>; export type ScanActionSendSinglePt = $ReadOnly<{ action: "send-single-pt", receiver: string, params: { amount: number | void, memo: string | void, message: string | void, ... } | void, ... }>; export type ScanActionClaim = $ReadOnly<{ action: "claim", url: string, code: string, params: { [key: string]: any, ... } | void, ... }>; export type ScanActionLaunchUrl = $ReadOnly<{ action: "launch-url", url: string, ... }>; export type ScanAction = | ScanActionSendOnlyReceiver | ScanActionSendSinglePt | ScanActionClaim | ScanActionLaunchUrl; export type ScanFeature = "send" | "scan";