UNPKG

@zeplin/sdk

Version:
119 lines (118 loc) 2.6 kB
/** * Zeplin API * Access your resources in Zeplin * * Contact: support@zeplin.io * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech * Do not edit the class manually. */ import { Asset } from './asset'; import { ColorData } from './color-data'; import { Grid } from './grid'; import { Layer } from './layer'; import { Link } from './link'; import { SourceEnum } from './source-enum'; import { Thumbnails } from './thumbnails'; import { User } from './user'; import { VersionCommit } from './version-commit'; export declare const transformScreenVersionToJSON: (value: ScreenVersion) => any; export declare const transformJSONToScreenVersion: (value: any) => ScreenVersion; /** * * @export * @interface ScreenVersion */ export interface ScreenVersion { /** * The unique id of the version * @type {string} * @memberof ScreenVersion */ id: string; /** * * @type {User} * @memberof ScreenVersion */ creator?: User; /** * * @type {VersionCommit} * @memberof ScreenVersion */ commit?: VersionCommit; /** * URL of the image for the version * @type {string} * @memberof ScreenVersion */ imageUrl?: string; /** * * @type {Thumbnails} * @memberof ScreenVersion */ thumbnails?: Thumbnails; /** * * @type {SourceEnum} * @memberof ScreenVersion */ source: SourceEnum; /** * Width of the version * @type {number} * @memberof ScreenVersion */ width: number; /** * Height of the version * @type {number} * @memberof ScreenVersion */ height: number; /** * * @type {ColorData} * @memberof ScreenVersion */ backgroundColor?: ColorData; /** * Pixel density * @type {number} * @memberof ScreenVersion */ densityScale: number; /** * * @type {Array<Link>} * @memberof ScreenVersion */ links: Array<Link>; /** * * @type {Grid} * @memberof ScreenVersion */ grid?: Grid; /** * Layers of the screen version * @type {Array<Layer>} * @memberof ScreenVersion */ layers: Array<Layer>; /** * Assets of the screen version * @type {Array<Asset>} * @memberof ScreenVersion */ assets: Array<Asset>; /** * The unix timestamp when the screen version was created * @type {number} * @memberof ScreenVersion */ created: number; }