UNPKG

@marceloclp/monzojs

Version:

Unofficial wrapper for the Monzo API written in TypeScript.

31 lines (30 loc) 964 B
export declare type Types = 'basic'; export declare type BasicParams = { /** The title to display. */ title: string; /** * URL of the image to display. This will be displayed as an icon in * the feed, and on the expanded page if no url has been provided. */ image_url: string; /** * Hex value for the background colour of the feed item in the format * #RRGGBB. Defaults to to standard app colours (ie. white background). */ background_color: string; /** * Hex value for the colour of the body text in the format #RRGGBB. * Defaults to standard app colours. */ body_color: string; /** * Hex value for the colour of the title text in the format #RRGGBB. * Defaults to standard app colours. */ title_color: string; /** The body text of the feed item. */ body: string; }; export declare type Params<T extends Types = 'basic'> = { basic: BasicParams; }[T];