UNPKG

@zeplin/sdk

Version:
104 lines (103 loc) 2.4 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 { ColorData } from './color-data'; 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 transformScreenVersionSummaryToJSON: (value: ScreenVersionSummary) => any; export declare const transformJSONToScreenVersionSummary: (value: any) => ScreenVersionSummary; /** * * @export * @interface ScreenVersionSummary */ export interface ScreenVersionSummary { /** * The unique id of the version * @type {string} * @memberof ScreenVersionSummary */ id: string; /** * * @type {User} * @memberof ScreenVersionSummary */ creator?: User; /** * * @type {VersionCommit} * @memberof ScreenVersionSummary */ commit?: VersionCommit; /** * URL of the image for the version * @type {string} * @memberof ScreenVersionSummary */ imageUrl: string; /** * * @type {Thumbnails} * @memberof ScreenVersionSummary */ thumbnails: Thumbnails; /** * * @type {SourceEnum} * @memberof ScreenVersionSummary */ source: SourceEnum; /** * Source file url of the version * @type {string} * @memberof ScreenVersionSummary */ sourceFileUrl?: string; /** * Width of the version * @type {number} * @memberof ScreenVersionSummary */ width: number; /** * Height of the version * @type {number} * @memberof ScreenVersionSummary */ height: number; /** * * @type {ColorData} * @memberof ScreenVersionSummary */ backgroundColor?: ColorData; /** * Pixel density * @type {number} * @memberof ScreenVersionSummary */ densityScale: number; /** * * @type {Array<Link>} * @memberof ScreenVersionSummary */ links: Array<Link>; /** * The unix timestamp when the screen version was created * @type {number} * @memberof ScreenVersionSummary */ created: number; }