@zeplin/sdk
Version:
Zeplin API client for JavaScript
51 lines (50 loc) • 1.14 kB
TypeScript
/**
* 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 { VariableValue } from './variable-value';
export declare const transformVariableToJSON: (value: Variable) => any;
export declare const transformJSONToVariable: (value: any) => Variable;
/**
*
* @export
* @interface Variable
*/
export interface Variable {
/**
* The unique id of the variable
* @type {string}
* @memberof Variable
*/
id: string;
/**
* The name of the variable
* @type {string}
* @memberof Variable
*/
name: string;
/**
* The description of the variable
* @type {string}
* @memberof Variable
*/
description?: string;
/**
* Variable\'s identifier in the design tool
* @type {string}
* @memberof Variable
*/
sourceId: string;
/**
*
* @type {Array<VariableValue>}
* @memberof Variable
*/
values: Array<VariableValue>;
}