@zeplin/sdk
Version:
Zeplin API client for JavaScript
83 lines (82 loc) • 2.06 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';
import { ScreenAnnotationNoteType } from './screen-annotation-note-type';
export declare const transformFlowBoardAnnotationNodeToJSON: (value: FlowBoardAnnotationNode) => any;
export declare const transformJSONToFlowBoardAnnotationNode: (value: any) => FlowBoardAnnotationNode;
/**
*
* @export
* @interface FlowBoardAnnotationNode
*/
export interface FlowBoardAnnotationNode {
/**
* The unique id of the screen node
* @type {string}
* @memberof FlowBoardAnnotationNode
*/
id: string;
/**
*
* @type {string}
* @memberof FlowBoardAnnotationNode
*/
type: 'AnnotationNode';
/**
*
* @type {FlowBoardPosition}
* @memberof FlowBoardAnnotationNode
*/
position: FlowBoardPosition;
/**
*
* @type {number}
* @memberof FlowBoardAnnotationNode
*/
width: number;
/**
*
* @type {number}
* @memberof FlowBoardAnnotationNode
*/
height: number;
/**
*
* @type {FlowBoardNodeColor}
* @memberof FlowBoardAnnotationNode
*/
color: FlowBoardNodeColor;
/**
*
* @type {string}
* @memberof FlowBoardAnnotationNode
*/
fontSize: 'small' | 'medium' | 'large' | 'xlarge';
/**
*
* @type {string}
* @memberof FlowBoardAnnotationNode
*/
fontType: 'simple' | 'book-style' | 'technical' | 'handwritten';
/**
* The text content of the annotation
* @type {string}
* @memberof FlowBoardAnnotationNode
*/
text: string;
/**
*
* @type {ScreenAnnotationNoteType}
* @memberof FlowBoardAnnotationNode
*/
noteType?: ScreenAnnotationNoteType;
}