UNPKG

@zeplin/sdk

Version:
85 lines (84 loc) 2.1 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 { ComponentSectionReference } from './component-section-reference'; import { ComponentVariantProperty } from './component-variant-property'; import { ComponentVersion } from './component-version'; import { ResourceSource } from './resource-source'; import { SnapshotImage } from './snapshot-image'; export declare const transformComponentToJSON: (value: Component) => any; export declare const transformJSONToComponent: (value: any) => Component; /** * * @export * @interface Component */ export interface Component { /** * The unique id of the component * @type {string} * @memberof Component */ id: string; /** * The name of the component * @type {string} * @memberof Component */ name: string; /** * The description of the component * @type {string} * @memberof Component */ description?: string; /** * * @type {SnapshotImage} * @memberof Component */ image: SnapshotImage; /** * The unix timestamp when the component was created * @type {number} * @memberof Component */ created: number; /** * The unix timestamp when the component was updated * @type {number} * @memberof Component */ updated?: number; /** * * @type {ComponentSectionReference} * @memberof Component */ section?: ComponentSectionReference; /** * Variant properties of the component * @type {Array<ComponentVariantProperty>} * @memberof Component */ variantProperties?: Array<ComponentVariantProperty>; /** * * @type {ResourceSource} * @memberof Component */ source?: ResourceSource; /** * * @type {ComponentVersion} * @memberof Component */ latestVersion?: ComponentVersion; }