UNPKG

appcenter-cli

Version:

Command line tool for Visual Studio App Center

61 lines (56 loc) 1.42 kB
/* * Copyright (c) Microsoft Corporation. All rights reserved. * Licensed under the MIT License. See License.txt in the project root for * license information. * * Code generated by Microsoft (R) AutoRest Code Generator. * Changes may cause incorrect behavior and will be lost if the code is * regenerated. */ 'use strict'; /** * Class representing a JavaScriptSolution. */ class JavaScriptSolution { /** * Create a JavaScriptSolution. * @property {string} packageJsonPath The path to the detected package.json * @property {string} [reactNativeVersion] Version of React Native from * package.json files */ constructor() { } /** * Defines the metadata of JavaScriptSolution * * @returns {object} metadata of JavaScriptSolution * */ mapper() { return { required: false, serializedName: 'JavaScriptSolution', type: { name: 'Composite', className: 'JavaScriptSolution', modelProperties: { packageJsonPath: { required: true, serializedName: 'packageJsonPath', type: { name: 'String' } }, reactNativeVersion: { required: false, serializedName: 'reactNativeVersion', type: { name: 'String' } } } } }; } } module.exports = JavaScriptSolution;