@omnia/fx
Version:
Provide Omnia Fx typings and tooling for clientside Omnia development.
28 lines (27 loc) • 604 B
TypeScript
import { ImageItem } from "../../../../models";
interface PexelImageSource {
original: string;
large2x: string;
large: string;
medium: string;
small: string;
portrait: string;
landscape: string;
tiny: string;
}
export interface PexelServerImage {
id: number;
width: number;
height: number;
url: string;
photographer: string;
photographer_url: string;
photographer_id: number;
avg_color: string;
src: PexelImageSource;
liked: boolean;
}
export interface PexelImage extends ImageItem {
serverImage: PexelServerImage;
}
export {};