neos-script
Version:
[neos-script-sample](https://github.com/rheniumNV/neos-script-sample)
23 lines (22 loc) • 6.81 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.AssetMetadata = void 0;
var jsx_runtime_1 = require("neos-script/jsx-runtime");
var core_1 = require("../../core");
function AssetMetadata(props) {
var id = props.id, persistentId = props.persistentId, updateOrder = props.updateOrder, Enabled = props.Enabled, LocationName = props.LocationName, LocationURL = props.LocationURL, LocationHost = props.LocationHost, LocationAccessLevel = props.LocationAccessLevel, LocationHiddenFromListing = props.LocationHiddenFromListing, TimeTaken = props.TimeTaken, TakenBy = props.TakenBy, NeosVersion = props.NeosVersion, PresentUsers = props.PresentUsers;
return ((0, jsx_runtime_1.jsxs)(core_1.Component, __assign({ type: "FrooxEngine.AssetMetadata", 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.Sync`1[System.String]", name: "LocationName", id: typeof LocationName === "object" && "id" in LocationName ? LocationName === null || LocationName === void 0 ? void 0 : LocationName.id : undefined, value: typeof LocationName === "object" && "value" in LocationName ? LocationName === null || LocationName === void 0 ? void 0 : LocationName.value : LocationName, isRaw: typeof LocationName === "object" && "isRaw" in LocationName && LocationName.isRaw ? true : undefined }), (0, jsx_runtime_1.jsx)(core_1.Member, { type: "FrooxEngine.Sync`1[System.Uri]", name: "LocationURL", id: typeof LocationURL === "object" && "id" in LocationURL ? LocationURL === null || LocationURL === void 0 ? void 0 : LocationURL.id : undefined, value: typeof LocationURL === "object" && "value" in LocationURL ? LocationURL === null || LocationURL === void 0 ? void 0 : LocationURL.value : LocationURL, isRaw: typeof LocationURL === "object" && "isRaw" in LocationURL && LocationURL.isRaw ? true : undefined }), (0, jsx_runtime_1.jsx)(core_1.Member, { type: "FrooxEngine.UserRef", name: "LocationHost", id: typeof LocationHost === "object" && "id" in LocationHost ? LocationHost === null || LocationHost === void 0 ? void 0 : LocationHost.id : undefined, value: typeof LocationHost === "object" && "value" in LocationHost ? LocationHost === null || LocationHost === void 0 ? void 0 : LocationHost.value : LocationHost, isRaw: typeof LocationHost === "object" && "isRaw" in LocationHost && LocationHost.isRaw ? true : undefined }), (0, jsx_runtime_1.jsx)(core_1.Member, { type: "FrooxEngine.Sync`1[System.Nullable`1[CloudX.Shared.SessionAccessLevel]]", name: "LocationAccessLevel", id: typeof LocationAccessLevel === "object" && "id" in LocationAccessLevel ? LocationAccessLevel === null || LocationAccessLevel === void 0 ? void 0 : LocationAccessLevel.id : undefined, value: typeof LocationAccessLevel === "object" && "value" in LocationAccessLevel ? LocationAccessLevel === null || LocationAccessLevel === void 0 ? void 0 : LocationAccessLevel.value : LocationAccessLevel, isRaw: typeof LocationAccessLevel === "object" && "isRaw" in LocationAccessLevel && LocationAccessLevel.isRaw ? true : undefined }), (0, jsx_runtime_1.jsx)(core_1.Member, { type: "FrooxEngine.Sync`1[System.Nullable`1[System.Boolean]]", name: "LocationHiddenFromListing", id: typeof LocationHiddenFromListing === "object" && "id" in LocationHiddenFromListing ? LocationHiddenFromListing === null || LocationHiddenFromListing === void 0 ? void 0 : LocationHiddenFromListing.id : undefined, value: typeof LocationHiddenFromListing === "object" && "value" in LocationHiddenFromListing ? LocationHiddenFromListing === null || LocationHiddenFromListing === void 0 ? void 0 : LocationHiddenFromListing.value : LocationHiddenFromListing, isRaw: typeof LocationHiddenFromListing === "object" && "isRaw" in LocationHiddenFromListing && LocationHiddenFromListing.isRaw ? true : undefined }), (0, jsx_runtime_1.jsx)(core_1.Member, { type: "FrooxEngine.Sync`1[System.DateTime]", name: "TimeTaken", id: typeof TimeTaken === "object" && "id" in TimeTaken ? TimeTaken === null || TimeTaken === void 0 ? void 0 : TimeTaken.id : undefined, value: typeof TimeTaken === "object" && "value" in TimeTaken ? TimeTaken === null || TimeTaken === void 0 ? void 0 : TimeTaken.value : TimeTaken, isRaw: typeof TimeTaken === "object" && "isRaw" in TimeTaken && TimeTaken.isRaw ? true : undefined }), (0, jsx_runtime_1.jsx)(core_1.Member, { type: "FrooxEngine.UserRef", name: "TakenBy", id: typeof TakenBy === "object" && "id" in TakenBy ? TakenBy === null || TakenBy === void 0 ? void 0 : TakenBy.id : undefined, value: typeof TakenBy === "object" && "value" in TakenBy ? TakenBy === null || TakenBy === void 0 ? void 0 : TakenBy.value : TakenBy, isRaw: typeof TakenBy === "object" && "isRaw" in TakenBy && TakenBy.isRaw ? true : undefined }), (0, jsx_runtime_1.jsx)(core_1.Member, { type: "FrooxEngine.Sync`1[System.String]", name: "NeosVersion", id: typeof NeosVersion === "object" && "id" in NeosVersion ? NeosVersion === null || NeosVersion === void 0 ? void 0 : NeosVersion.id : undefined, value: typeof NeosVersion === "object" && "value" in NeosVersion ? NeosVersion === null || NeosVersion === void 0 ? void 0 : NeosVersion.value : NeosVersion, isRaw: typeof NeosVersion === "object" && "isRaw" in NeosVersion && NeosVersion.isRaw ? true : undefined }), (0, jsx_runtime_1.jsx)(core_1.Member, { type: "FrooxEngine.SyncList`1[FrooxEngine.UserRef]", name: "PresentUsers", id: typeof PresentUsers === "object" && "id" in PresentUsers ? PresentUsers === null || PresentUsers === void 0 ? void 0 : PresentUsers.id : undefined, value: typeof PresentUsers === "object" && "value" in PresentUsers ? PresentUsers === null || PresentUsers === void 0 ? void 0 : PresentUsers.value : PresentUsers, isRaw: typeof PresentUsers === "object" && "isRaw" in PresentUsers && PresentUsers.isRaw ? true : undefined })] })));
}
exports.AssetMetadata = AssetMetadata;
;