@berry-cloud/ngx-unsplash
Version:
Lightweight Angular wrapper for the Unsplash API.
38 lines (37 loc) • 819 B
TypeScript
export interface User {
id: string;
updated_at: string;
username: string;
name: string;
first_name: string;
last_name?: string;
twitter_username?: string;
portfolio_url: string;
bio: string;
location: string;
links: {
self: string;
html?: string;
photos: string;
likes: string;
};
profile_image: ProfileImage;
instagram_username: string;
total_collections: number;
total_likes: number;
total_photos: number;
accepted_tos: boolean;
for_hire: boolean;
social: Social;
}
export interface ProfileImage {
small: string;
medium: string;
large: string;
}
export interface Social {
instagram_username?: string;
portfolio_url?: string;
twitter_username?: string;
paypal_email?: string;
}