UNPKG

@zeplin/sdk

Version:
71 lines (70 loc) 1.8 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 { ResourceSource } from './resource-source'; import { VariableGroup } from './variable-group'; import { VariableMode } from './variable-mode'; export declare const transformVariableCollectionToJSON: (value: VariableCollection) => any; export declare const transformJSONToVariableCollection: (value: any) => VariableCollection; /** * * @export * @interface VariableCollection */ export interface VariableCollection { /** * The unique id of the variable collection * @type {string} * @memberof VariableCollection */ id: string; /** * The unix timestamp when the variable collection was created * @type {number} * @memberof VariableCollection */ created: number; /** * The name of the variable collection * @type {string} * @memberof VariableCollection */ name: string; /** * The description of the variable collection * @type {string} * @memberof VariableCollection */ description?: string; /** * * @type {Array<VariableMode>} * @memberof VariableCollection */ modes: Array<VariableMode>; /** * * @type {Array<VariableGroup>} * @memberof VariableCollection */ groups: Array<VariableGroup>; /** * Variable collection\'s identifier in the design tool * @type {string} * @memberof VariableCollection */ sourceId: string; /** * * @type {ResourceSource} * @memberof VariableCollection */ source?: ResourceSource; }