neos-script
Version:
[neos-script-sample](https://github.com/rheniumNV/neos-script-sample)
23 lines (22 loc) • 9.59 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.PhotoMetadata = void 0;
var jsx_runtime_1 = require("neos-script/jsx-runtime");
var core_1 = require("../../core");
function PhotoMetadata(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, CameraManufacturer = props.CameraManufacturer, CameraModel = props.CameraModel, CameraFOV = props.CameraFOV, Is360 = props.Is360, StereoLayout = props.StereoLayout;
return ((0, jsx_runtime_1.jsxs)(core_1.Component, __assign({ type: "FrooxEngine.PhotoMetadata", id: id, persistentId: persistentId, updateOrder: updateOrder, version: 1 }, { 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 }), (0, jsx_runtime_1.jsx)(core_1.Member, { type: "FrooxEngine.Sync`1[System.String]", name: "CameraManufacturer", id: typeof CameraManufacturer === "object" && "id" in CameraManufacturer ? CameraManufacturer === null || CameraManufacturer === void 0 ? void 0 : CameraManufacturer.id : undefined, value: typeof CameraManufacturer === "object" && "value" in CameraManufacturer ? CameraManufacturer === null || CameraManufacturer === void 0 ? void 0 : CameraManufacturer.value : CameraManufacturer, isRaw: typeof CameraManufacturer === "object" && "isRaw" in CameraManufacturer && CameraManufacturer.isRaw ? true : undefined }), (0, jsx_runtime_1.jsx)(core_1.Member, { type: "FrooxEngine.Sync`1[System.String]", name: "CameraModel", id: typeof CameraModel === "object" && "id" in CameraModel ? CameraModel === null || CameraModel === void 0 ? void 0 : CameraModel.id : undefined, value: typeof CameraModel === "object" && "value" in CameraModel ? CameraModel === null || CameraModel === void 0 ? void 0 : CameraModel.value : CameraModel, isRaw: typeof CameraModel === "object" && "isRaw" in CameraModel && CameraModel.isRaw ? true : undefined }), (0, jsx_runtime_1.jsx)(core_1.Member, { type: "FrooxEngine.Sync`1[System.Single]", name: "CameraFOV", id: typeof CameraFOV === "object" && "id" in CameraFOV ? CameraFOV === null || CameraFOV === void 0 ? void 0 : CameraFOV.id : undefined, value: typeof CameraFOV === "object" && "value" in CameraFOV ? CameraFOV === null || CameraFOV === void 0 ? void 0 : CameraFOV.value : CameraFOV, isRaw: typeof CameraFOV === "object" && "isRaw" in CameraFOV && CameraFOV.isRaw ? true : undefined }), (0, jsx_runtime_1.jsx)(core_1.Member, { type: "FrooxEngine.Sync`1[System.Boolean]", name: "Is360", id: typeof Is360 === "object" && "id" in Is360 ? Is360 === null || Is360 === void 0 ? void 0 : Is360.id : undefined, value: typeof Is360 === "object" && "value" in Is360 ? Is360 === null || Is360 === void 0 ? void 0 : Is360.value : Is360, isRaw: typeof Is360 === "object" && "isRaw" in Is360 && Is360.isRaw ? true : undefined }), (0, jsx_runtime_1.jsx)(core_1.Member, { type: "FrooxEngine.Sync`1[FrooxEngine.StereoLayout]", name: "StereoLayout", id: typeof StereoLayout === "object" && "id" in StereoLayout ? StereoLayout === null || StereoLayout === void 0 ? void 0 : StereoLayout.id : undefined, value: typeof StereoLayout === "object" && "value" in StereoLayout ? StereoLayout === null || StereoLayout === void 0 ? void 0 : StereoLayout.value : StereoLayout, isRaw: typeof StereoLayout === "object" && "isRaw" in StereoLayout && StereoLayout.isRaw ? true : undefined })] })));
}
exports.PhotoMetadata = PhotoMetadata;
;