@master-chief/alpaca-ts
Version:
A TypeScript Node.js library for the https://alpaca.markets REST API and WebSocket streams.
24 lines (23 loc) • 591 B
TypeScript
/**
* A model representing images for news article. simply a url to the image along with a size parameter suggesting the display size of the image
*/
export declare type NewsImage = {
/**
* Possible values for size are thumb, small and large.
*/
readonly size: NewsImage.size;
/**
* url to image from news article
*/
readonly url: string;
};
export declare namespace NewsImage {
/**
* Possible values for size are thumb, small and large.
*/
enum size {
THUMB = "thumb",
SMALL = "small",
LARGE = "large"
}
}