UNPKG

@zeplin/sdk

Version:
66 lines (65 loc) 1.74 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 { Code } from './code'; import { ConnectedComponentLink } from './connected-component-link'; import { EntityReference } from './entity-reference'; import { ResourceSource } from './resource-source'; export declare const transformConnectedComponentToJSON: (value: ConnectedComponent) => any; export declare const transformJSONToConnectedComponent: (value: any) => ConnectedComponent; /** * * @export * @interface ConnectedComponent */ export interface ConnectedComponent { /** * Components that are connected * @type {Array<EntityReference>} * @memberof ConnectedComponent */ components: Array<EntityReference>; /** * File path of the connected component from the source code * @type {string} * @memberof ConnectedComponent */ filePath?: string; /** * Name of the connected component * @type {string} * @memberof ConnectedComponent */ name?: string; /** * Description of the connected component * @type {string} * @memberof ConnectedComponent */ description?: string; /** * * @type {Code} * @memberof ConnectedComponent */ code?: Code; /** * Links of the connected component * @type {Array<ConnectedComponentLink>} * @memberof ConnectedComponent */ links: Array<ConnectedComponentLink>; /** * * @type {ResourceSource} * @memberof ConnectedComponent */ source?: ResourceSource; }