@zeplin/sdk
Version:
Zeplin API client for JavaScript
48 lines (45 loc) • 1.92 kB
JavaScript
;
require("core-js/modules/es.object.define-property.js");
Object.defineProperty(exports, "__esModule", {
value: true
});
exports.transformProjectNoteCommentReactionEventContextToJSON = exports.transformJSONToProjectNoteCommentReactionEventContext = void 0;
var _project = require("./project");
var _screen = require("./screen");
var _screenNote = require("./screen-note");
var _screenNoteComment = require("./screen-note-comment");
/* tslint:disable */
/* eslint-disable */
/**
* 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.
*/
var transformProjectNoteCommentReactionEventContextToJSON = function transformProjectNoteCommentReactionEventContextToJSON(value) {
return {
project: (0, _project.transformProjectToJSON)(value.project),
screen: (0, _screen.transformScreenToJSON)(value.screen),
note: (0, _screenNote.transformScreenNoteToJSON)(value.note),
comment: (0, _screenNoteComment.transformScreenNoteCommentToJSON)(value.comment)
};
};
exports.transformProjectNoteCommentReactionEventContextToJSON = transformProjectNoteCommentReactionEventContextToJSON;
var transformJSONToProjectNoteCommentReactionEventContext = function transformJSONToProjectNoteCommentReactionEventContext(value) {
return {
project: (0, _project.transformJSONToProject)(value.project),
screen: (0, _screen.transformJSONToScreen)(value.screen),
note: (0, _screenNote.transformJSONToScreenNote)(value.note),
comment: (0, _screenNoteComment.transformJSONToScreenNoteComment)(value.comment)
};
};
/**
*
* @export
* @interface ProjectNoteCommentReactionEventContext
*/
exports.transformJSONToProjectNoteCommentReactionEventContext = transformJSONToProjectNoteCommentReactionEventContext;