UNPKG

@sno2/pex

Version:

An unofficial promise-based Pexels API wrapper with top-notch TypeScript support.

101 lines (55 loc) 1.39 kB
[@sno2/pex](../README.md) / [Modules](../modules.md) / [types](../modules/types.md) / Photo # Interface: Photo [types](../modules/types.md).Photo ## Table of contents ### Properties - [avg\_color](types.photo.md#avg_color) - [height](types.photo.md#height) - [id](types.photo.md#id) - [liked](types.photo.md#liked) - [photographer](types.photo.md#photographer) - [photographer\_id](types.photo.md#photographer_id) - [photographer\_url](types.photo.md#photographer_url) - [src](types.photo.md#src) - [url](types.photo.md#url) - [width](types.photo.md#width) ## Properties ### avg\_color • **avg\_color**: *null* \| *string* Defined in: types/photo.ts:13 ___ ### height • **height**: *number* Defined in: types/photo.ts:8 ___ ### id**id**: *number* Defined in: types/photo.ts:6 ___ ### liked • **liked**: *boolean* Defined in: types/photo.ts:15 ___ ### photographer**photographer**: *string* Defined in: types/photo.ts:10 ___ ### photographer\_id • **photographer\_id**: *number* Defined in: types/photo.ts:12 ___ ### photographer\_url • **photographer\_url**: *string* Defined in: types/photo.ts:11 ___ ### src • **src**: [*PhotoSource*](types.photosource.md) Defined in: types/photo.ts:14 ___ ### url**url**: *string* Defined in: types/photo.ts:9 ___ ### width • **width**: *number* Defined in: types/photo.ts:7