@omnia/fx
Version:
Provide Omnia Fx typings and tooling for clientside Omnia development.
32 lines (31 loc) • 674 B
TypeScript
import { ImageItem } from "../../../../models";
interface UnsplashImageSource {
full: string;
raw: string;
regular: string;
small: string;
small_s3: string;
thumb: string;
}
export interface UnsplashServerImage {
id: number;
width: number;
height: number;
color: string;
urls: UnsplashImageSource;
user: UnsplashUser;
slug: string;
}
export interface UnsplashImage extends ImageItem {
serverImage: UnsplashServerImage;
}
export interface UnsplashUser {
id: string;
username: string;
name: string;
}
export interface UnsplashResponse {
images: Array<UnsplashImage>;
totalPages: number;
}
export {};