@zeplin/sdk
Version:
Zeplin API client for JavaScript
70 lines (69 loc) • 1.57 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 { FlowBoardNodeColor } from './flow-board-node-color';
import { FlowBoardPosition } from './flow-board-position';
export declare const transformFlowBoardShapeNodeToJSON: (value: FlowBoardShapeNode) => any;
export declare const transformJSONToFlowBoardShapeNode: (value: any) => FlowBoardShapeNode;
/**
*
* @export
* @interface FlowBoardShapeNode
*/
export interface FlowBoardShapeNode {
/**
* The unique id of the shape node
* @type {string}
* @memberof FlowBoardShapeNode
*/
id: string;
/**
*
* @type {string}
* @memberof FlowBoardShapeNode
*/
type: 'ShapeNode';
/**
*
* @type {string}
* @memberof FlowBoardShapeNode
*/
shapeType: 'rectangle' | 'pill' | 'diamond';
/**
*
* @type {FlowBoardPosition}
* @memberof FlowBoardShapeNode
*/
position: FlowBoardPosition;
/**
*
* @type {string}
* @memberof FlowBoardShapeNode
*/
text: string;
/**
*
* @type {number}
* @memberof FlowBoardShapeNode
*/
width: number;
/**
*
* @type {number}
* @memberof FlowBoardShapeNode
*/
height: number;
/**
*
* @type {FlowBoardNodeColor}
* @memberof FlowBoardShapeNode
*/
color: FlowBoardNodeColor;
}