UNPKG

@berry-cloud/ngx-unsplash

Version:

Lightweight Angular wrapper for the Unsplash API.

44 lines (43 loc) 906 B
import { User } from './user'; export interface Photo { id: string; created_at: string; updated_at: string; promoted_at?: string; width: number; height: number; color: string; blur_hash?: string; description?: string; alt_description?: string; urls: { raw: string; full: string; regular: string; small: string; thumb: string; }; links: { self: string; html: string; download: string; download_location: string; }; categories: any[]; likes: number; liked_by_user: boolean; current_user_collections: any[]; sponsorship?: Sponsorship; user: User; tags: Tag[]; } export interface Tag { type: string; title: string; } export interface Sponsorship { impression_urls: string[]; tagline: string; tagline_url: string; sponsor: User; }