@zeplin/sdk
Version:
Zeplin API client for JavaScript
65 lines (64 loc) • 1.63 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 { ScreenAnnotationNoteType } from './screen-annotation-note-type';
import { ScreenAnnotationPosition } from './screen-annotation-position';
import { User } from './user';
export declare const transformScreenAnnotationToJSON: (value: ScreenAnnotation) => any;
export declare const transformJSONToScreenAnnotation: (value: any) => ScreenAnnotation;
/**
*
* @export
* @interface ScreenAnnotation
*/
export interface ScreenAnnotation {
/**
* The unique id of the annotation
* @type {string}
* @memberof ScreenAnnotation
*/
id: string;
/**
* The text of the annotation
* @type {string}
* @memberof ScreenAnnotation
*/
content: string;
/**
*
* @type {ScreenAnnotationNoteType}
* @memberof ScreenAnnotation
*/
type: ScreenAnnotationNoteType;
/**
*
* @type {ScreenAnnotationPosition}
* @memberof ScreenAnnotation
*/
position: ScreenAnnotationPosition;
/**
*
* @type {User}
* @memberof ScreenAnnotation
*/
creator: User;
/**
* The unix timestamp when the annotation was last updated
* @type {number}
* @memberof ScreenAnnotation
*/
updated: number;
/**
* The unix timestamp when the annotation was created
* @type {number}
* @memberof ScreenAnnotation
*/
created: number;
}