neos-script
Version:
[neos-script-sample](https://github.com/rheniumNV/neos-script-sample)
23 lines (22 loc) • 5.45 kB
JavaScript
;
var __assign = (this && this.__assign) || function () {
__assign = Object.assign || function(t) {
for (var s, i = 1, n = arguments.length; i < n; i++) {
s = arguments[i];
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))
t[p] = s[p];
}
return t;
};
return __assign.apply(this, arguments);
};
Object.defineProperty(exports, "__esModule", { value: true });
exports.NeosVersion = void 0;
var jsx_runtime_1 = require("neos-script/jsx-runtime");
var core_1 = require("../../core");
function NeosVersion(props) {
var id = props.id, persistentId = props.persistentId, updateOrder = props.updateOrder, Enabled = props.Enabled, VersionNumber = props.VersionNumber, VersionName = props.VersionName, FullVersionString = props.FullVersionString, BuildYear = props.BuildYear, BuildMonth = props.BuildMonth, BuildDay = props.BuildDay, BuildTimeOfDay = props.BuildTimeOfDay;
return ((0, jsx_runtime_1.jsxs)(core_1.Component, __assign({ type: "FrooxEngine.NeosVersion", id: id, persistentId: persistentId, updateOrder: updateOrder }, { children: [(0, jsx_runtime_1.jsx)(core_1.Member, { type: "FrooxEngine.Sync`1[System.Boolean]", name: "Enabled", id: typeof Enabled === "object" && "id" in Enabled ? Enabled === null || Enabled === void 0 ? void 0 : Enabled.id : undefined, value: typeof Enabled === "object" && "value" in Enabled ? Enabled === null || Enabled === void 0 ? void 0 : Enabled.value : Enabled !== null && Enabled !== void 0 ? Enabled : true, isRaw: typeof Enabled === "object" && "isRaw" in Enabled && Enabled.isRaw ? true : undefined }), (0, jsx_runtime_1.jsx)(core_1.Member, { type: "FrooxEngine.RawOutput`1[System.String]", name: "VersionNumber", id: typeof VersionNumber === "object" && "id" in VersionNumber ? VersionNumber === null || VersionNumber === void 0 ? void 0 : VersionNumber.id : undefined, value: typeof VersionNumber === "object" && "value" in VersionNumber ? VersionNumber === null || VersionNumber === void 0 ? void 0 : VersionNumber.value : VersionNumber, isRaw: typeof VersionNumber === "object" && "isRaw" in VersionNumber && VersionNumber.isRaw ? true : undefined }), (0, jsx_runtime_1.jsx)(core_1.Member, { type: "FrooxEngine.RawOutput`1[System.String]", name: "VersionName", id: typeof VersionName === "object" && "id" in VersionName ? VersionName === null || VersionName === void 0 ? void 0 : VersionName.id : undefined, value: typeof VersionName === "object" && "value" in VersionName ? VersionName === null || VersionName === void 0 ? void 0 : VersionName.value : VersionName, isRaw: typeof VersionName === "object" && "isRaw" in VersionName && VersionName.isRaw ? true : undefined }), (0, jsx_runtime_1.jsx)(core_1.Member, { type: "FrooxEngine.RawOutput`1[System.String]", name: "FullVersionString", id: typeof FullVersionString === "object" && "id" in FullVersionString ? FullVersionString === null || FullVersionString === void 0 ? void 0 : FullVersionString.id : undefined, value: typeof FullVersionString === "object" && "value" in FullVersionString ? FullVersionString === null || FullVersionString === void 0 ? void 0 : FullVersionString.value : FullVersionString, isRaw: typeof FullVersionString === "object" && "isRaw" in FullVersionString && FullVersionString.isRaw ? true : undefined }), (0, jsx_runtime_1.jsx)(core_1.Member, { type: "FrooxEngine.RawOutput`1[System.Int32]", name: "BuildYear", id: typeof BuildYear === "object" && "id" in BuildYear ? BuildYear === null || BuildYear === void 0 ? void 0 : BuildYear.id : undefined, value: typeof BuildYear === "object" && "value" in BuildYear ? BuildYear === null || BuildYear === void 0 ? void 0 : BuildYear.value : BuildYear, isRaw: typeof BuildYear === "object" && "isRaw" in BuildYear && BuildYear.isRaw ? true : undefined }), (0, jsx_runtime_1.jsx)(core_1.Member, { type: "FrooxEngine.RawOutput`1[System.Int32]", name: "BuildMonth", id: typeof BuildMonth === "object" && "id" in BuildMonth ? BuildMonth === null || BuildMonth === void 0 ? void 0 : BuildMonth.id : undefined, value: typeof BuildMonth === "object" && "value" in BuildMonth ? BuildMonth === null || BuildMonth === void 0 ? void 0 : BuildMonth.value : BuildMonth, isRaw: typeof BuildMonth === "object" && "isRaw" in BuildMonth && BuildMonth.isRaw ? true : undefined }), (0, jsx_runtime_1.jsx)(core_1.Member, { type: "FrooxEngine.RawOutput`1[System.Int32]", name: "BuildDay", id: typeof BuildDay === "object" && "id" in BuildDay ? BuildDay === null || BuildDay === void 0 ? void 0 : BuildDay.id : undefined, value: typeof BuildDay === "object" && "value" in BuildDay ? BuildDay === null || BuildDay === void 0 ? void 0 : BuildDay.value : BuildDay, isRaw: typeof BuildDay === "object" && "isRaw" in BuildDay && BuildDay.isRaw ? true : undefined }), (0, jsx_runtime_1.jsx)(core_1.Member, { type: "FrooxEngine.RawOutput`1[System.Int32]", name: "BuildTimeOfDay", id: typeof BuildTimeOfDay === "object" && "id" in BuildTimeOfDay ? BuildTimeOfDay === null || BuildTimeOfDay === void 0 ? void 0 : BuildTimeOfDay.id : undefined, value: typeof BuildTimeOfDay === "object" && "value" in BuildTimeOfDay ? BuildTimeOfDay === null || BuildTimeOfDay === void 0 ? void 0 : BuildTimeOfDay.value : BuildTimeOfDay, isRaw: typeof BuildTimeOfDay === "object" && "isRaw" in BuildTimeOfDay && BuildTimeOfDay.isRaw ? true : undefined })] })));
}
exports.NeosVersion = NeosVersion;
;