UNPKG

@zeplin/sdk

Version:
45 lines (44 loc) 1.39 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 { AssetContent } from './asset-content'; export declare const transformAssetToJSON: (value: Asset) => any; export declare const transformJSONToAsset: (value: any) => Asset; /** * Assets are automatically generated while exporting designs based on the platform the design is exported. Asset formats and densities change according to these platforms. Platform | Formats ---|---|--- Base | PNG (1.0, 1.5, 2.0, 3.0, 4.0), and PDF Web | PNG (1.0, 2.0, 3.0), SVG, and JPG (bitmap image) iOS | PNG (1.0, 2.0, 3.0), and PDF Android | PNG (1.0, 1.5, 2.0, 3.0, 4.0), and SVG * @export * @interface Asset */ export interface Asset { /** * Layer\'s identifier in the design tool * @type {string} * @memberof Asset */ layerSourceId?: string; /** * Display name of the asset * @type {string} * @memberof Asset */ displayName: string; /** * Name of the layer containing the asset * @type {string} * @memberof Asset */ layerName?: string; /** * * @type {Array<AssetContent>} * @memberof Asset */ contents: Array<AssetContent>; }