neos-script
Version:
[neos-script-sample](https://github.com/rheniumNV/neos-script-sample)
23 lines (22 loc) • 5.44 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.StorageUsageStatus = void 0;
var jsx_runtime_1 = require("neos-script/jsx-runtime");
var core_1 = require("../../../core");
function StorageUsageStatus(props) {
var id = props.id, persistentId = props.persistentId, updateOrder = props.updateOrder, Enabled = props.Enabled, HasValidData = props.HasValidData, StorageBytes = props.StorageBytes, UsageBytes = props.UsageBytes, UsageRatio = props.UsageRatio, StorageString = props.StorageString, UsageString = props.UsageString, RatioString = props.RatioString;
return ((0, jsx_runtime_1.jsxs)(core_1.Component, __assign({ type: "FrooxEngine.StorageUsageStatus", 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.Boolean]", name: "HasValidData", id: typeof HasValidData === "object" && "id" in HasValidData ? HasValidData === null || HasValidData === void 0 ? void 0 : HasValidData.id : undefined, value: typeof HasValidData === "object" && "value" in HasValidData ? HasValidData === null || HasValidData === void 0 ? void 0 : HasValidData.value : HasValidData, isRaw: typeof HasValidData === "object" && "isRaw" in HasValidData && HasValidData.isRaw ? true : undefined }), (0, jsx_runtime_1.jsx)(core_1.Member, { type: "FrooxEngine.RawOutput`1[System.Int64]", name: "StorageBytes", id: typeof StorageBytes === "object" && "id" in StorageBytes ? StorageBytes === null || StorageBytes === void 0 ? void 0 : StorageBytes.id : undefined, value: typeof StorageBytes === "object" && "value" in StorageBytes ? StorageBytes === null || StorageBytes === void 0 ? void 0 : StorageBytes.value : StorageBytes, isRaw: typeof StorageBytes === "object" && "isRaw" in StorageBytes && StorageBytes.isRaw ? true : undefined }), (0, jsx_runtime_1.jsx)(core_1.Member, { type: "FrooxEngine.RawOutput`1[System.Int64]", name: "UsageBytes", id: typeof UsageBytes === "object" && "id" in UsageBytes ? UsageBytes === null || UsageBytes === void 0 ? void 0 : UsageBytes.id : undefined, value: typeof UsageBytes === "object" && "value" in UsageBytes ? UsageBytes === null || UsageBytes === void 0 ? void 0 : UsageBytes.value : UsageBytes, isRaw: typeof UsageBytes === "object" && "isRaw" in UsageBytes && UsageBytes.isRaw ? true : undefined }), (0, jsx_runtime_1.jsx)(core_1.Member, { type: "FrooxEngine.RawOutput`1[System.Single]", name: "UsageRatio", id: typeof UsageRatio === "object" && "id" in UsageRatio ? UsageRatio === null || UsageRatio === void 0 ? void 0 : UsageRatio.id : undefined, value: typeof UsageRatio === "object" && "value" in UsageRatio ? UsageRatio === null || UsageRatio === void 0 ? void 0 : UsageRatio.value : UsageRatio, isRaw: typeof UsageRatio === "object" && "isRaw" in UsageRatio && UsageRatio.isRaw ? true : undefined }), (0, jsx_runtime_1.jsx)(core_1.Member, { type: "FrooxEngine.RawOutput`1[System.String]", name: "StorageString", id: typeof StorageString === "object" && "id" in StorageString ? StorageString === null || StorageString === void 0 ? void 0 : StorageString.id : undefined, value: typeof StorageString === "object" && "value" in StorageString ? StorageString === null || StorageString === void 0 ? void 0 : StorageString.value : StorageString, isRaw: typeof StorageString === "object" && "isRaw" in StorageString && StorageString.isRaw ? true : undefined }), (0, jsx_runtime_1.jsx)(core_1.Member, { type: "FrooxEngine.RawOutput`1[System.String]", name: "UsageString", id: typeof UsageString === "object" && "id" in UsageString ? UsageString === null || UsageString === void 0 ? void 0 : UsageString.id : undefined, value: typeof UsageString === "object" && "value" in UsageString ? UsageString === null || UsageString === void 0 ? void 0 : UsageString.value : UsageString, isRaw: typeof UsageString === "object" && "isRaw" in UsageString && UsageString.isRaw ? true : undefined }), (0, jsx_runtime_1.jsx)(core_1.Member, { type: "FrooxEngine.RawOutput`1[System.String]", name: "RatioString", id: typeof RatioString === "object" && "id" in RatioString ? RatioString === null || RatioString === void 0 ? void 0 : RatioString.id : undefined, value: typeof RatioString === "object" && "value" in RatioString ? RatioString === null || RatioString === void 0 ? void 0 : RatioString.value : RatioString, isRaw: typeof RatioString === "object" && "isRaw" in RatioString && RatioString.isRaw ? true : undefined })] })));
}
exports.StorageUsageStatus = StorageUsageStatus;
;