UNPKG

neos-script

Version:

[neos-script-sample](https://github.com/rheniumNV/neos-script-sample)

23 lines (22 loc) 14.5 kB
"use strict"; 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.SessionInfoSource = void 0; var jsx_runtime_1 = require("neos-script/jsx-runtime"); var core_1 = require("../../core"); function SessionInfoSource(props) { var id = props.id, persistentId = props.persistentId, updateOrder = props.updateOrder, Enabled = props.Enabled, SessionId = props.SessionId, IsOpen = props.IsOpen, LastUpdated = props.LastUpdated, Name = props.Name, Description = props.Description, Tags = props.Tags, CorrespondingRecordId = props.CorrespondingRecordId, CorrespondingOwnerId = props.CorrespondingOwnerId, HostUserId = props.HostUserId, HostUsername = props.HostUsername, SanitizedHostUsername = props.SanitizedHostUsername, NeosVersion = props.NeosVersion, HeadlessHost = props.HeadlessHost, SessionURLs = props.SessionURLs, Thumbnail = props.Thumbnail, JoinedUsers = props.JoinedUsers, ActiveUsers = props.ActiveUsers, TotalJoinedUsers = props.TotalJoinedUsers, TotalActiveUsers = props.TotalActiveUsers, MaximumUsers = props.MaximumUsers, MobileFriendly = props.MobileFriendly, AccessLevel = props.AccessLevel, IsOnLAN = props.IsOnLAN; return ((0, jsx_runtime_1.jsxs)(core_1.Component, __assign({ type: "FrooxEngine.SessionInfoSource", 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: "SessionId", id: typeof SessionId === "object" && "id" in SessionId ? SessionId === null || SessionId === void 0 ? void 0 : SessionId.id : undefined, value: typeof SessionId === "object" && "value" in SessionId ? SessionId === null || SessionId === void 0 ? void 0 : SessionId.value : SessionId, isRaw: typeof SessionId === "object" && "isRaw" in SessionId && SessionId.isRaw ? true : undefined }), (0, jsx_runtime_1.jsx)(core_1.Member, { type: "FrooxEngine.Sync`1[System.Boolean]", name: "IsOpen", id: typeof IsOpen === "object" && "id" in IsOpen ? IsOpen === null || IsOpen === void 0 ? void 0 : IsOpen.id : undefined, value: typeof IsOpen === "object" && "value" in IsOpen ? IsOpen === null || IsOpen === void 0 ? void 0 : IsOpen.value : IsOpen, isRaw: typeof IsOpen === "object" && "isRaw" in IsOpen && IsOpen.isRaw ? true : undefined }), (0, jsx_runtime_1.jsx)(core_1.Member, { type: "FrooxEngine.Sync`1[System.DateTime]", name: "LastUpdated", id: typeof LastUpdated === "object" && "id" in LastUpdated ? LastUpdated === null || LastUpdated === void 0 ? void 0 : LastUpdated.id : undefined, value: typeof LastUpdated === "object" && "value" in LastUpdated ? LastUpdated === null || LastUpdated === void 0 ? void 0 : LastUpdated.value : LastUpdated, isRaw: typeof LastUpdated === "object" && "isRaw" in LastUpdated && LastUpdated.isRaw ? true : undefined }), (0, jsx_runtime_1.jsx)(core_1.Member, { type: "FrooxEngine.Sync`1[System.String]", name: "Name", id: typeof Name === "object" && "id" in Name ? Name === null || Name === void 0 ? void 0 : Name.id : undefined, value: typeof Name === "object" && "value" in Name ? Name === null || Name === void 0 ? void 0 : Name.value : Name, isRaw: typeof Name === "object" && "isRaw" in Name && Name.isRaw ? true : undefined }), (0, jsx_runtime_1.jsx)(core_1.Member, { type: "FrooxEngine.Sync`1[System.String]", name: "Description", id: typeof Description === "object" && "id" in Description ? Description === null || Description === void 0 ? void 0 : Description.id : undefined, value: typeof Description === "object" && "value" in Description ? Description === null || Description === void 0 ? void 0 : Description.value : Description, isRaw: typeof Description === "object" && "isRaw" in Description && Description.isRaw ? true : undefined }), (0, jsx_runtime_1.jsx)(core_1.Member, { type: "FrooxEngine.SyncFieldList`1[System.String]", name: "Tags", id: typeof Tags === "object" && "id" in Tags ? Tags === null || Tags === void 0 ? void 0 : Tags.id : undefined, value: typeof Tags === "object" && "value" in Tags ? Tags === null || Tags === void 0 ? void 0 : Tags.value : Tags, isRaw: typeof Tags === "object" && "isRaw" in Tags && Tags.isRaw ? true : undefined }), (0, jsx_runtime_1.jsx)(core_1.Member, { type: "FrooxEngine.Sync`1[System.String]", name: "CorrespondingRecordId", id: typeof CorrespondingRecordId === "object" && "id" in CorrespondingRecordId ? CorrespondingRecordId === null || CorrespondingRecordId === void 0 ? void 0 : CorrespondingRecordId.id : undefined, value: typeof CorrespondingRecordId === "object" && "value" in CorrespondingRecordId ? CorrespondingRecordId === null || CorrespondingRecordId === void 0 ? void 0 : CorrespondingRecordId.value : CorrespondingRecordId, isRaw: typeof CorrespondingRecordId === "object" && "isRaw" in CorrespondingRecordId && CorrespondingRecordId.isRaw ? true : undefined }), (0, jsx_runtime_1.jsx)(core_1.Member, { type: "FrooxEngine.Sync`1[System.String]", name: "CorrespondingOwnerId", id: typeof CorrespondingOwnerId === "object" && "id" in CorrespondingOwnerId ? CorrespondingOwnerId === null || CorrespondingOwnerId === void 0 ? void 0 : CorrespondingOwnerId.id : undefined, value: typeof CorrespondingOwnerId === "object" && "value" in CorrespondingOwnerId ? CorrespondingOwnerId === null || CorrespondingOwnerId === void 0 ? void 0 : CorrespondingOwnerId.value : CorrespondingOwnerId, isRaw: typeof CorrespondingOwnerId === "object" && "isRaw" in CorrespondingOwnerId && CorrespondingOwnerId.isRaw ? true : undefined }), (0, jsx_runtime_1.jsx)(core_1.Member, { type: "FrooxEngine.Sync`1[System.String]", name: "HostUserId", id: typeof HostUserId === "object" && "id" in HostUserId ? HostUserId === null || HostUserId === void 0 ? void 0 : HostUserId.id : undefined, value: typeof HostUserId === "object" && "value" in HostUserId ? HostUserId === null || HostUserId === void 0 ? void 0 : HostUserId.value : HostUserId, isRaw: typeof HostUserId === "object" && "isRaw" in HostUserId && HostUserId.isRaw ? true : undefined }), (0, jsx_runtime_1.jsx)(core_1.Member, { type: "FrooxEngine.Sync`1[System.String]", name: "HostUsername", id: typeof HostUsername === "object" && "id" in HostUsername ? HostUsername === null || HostUsername === void 0 ? void 0 : HostUsername.id : undefined, value: typeof HostUsername === "object" && "value" in HostUsername ? HostUsername === null || HostUsername === void 0 ? void 0 : HostUsername.value : HostUsername, isRaw: typeof HostUsername === "object" && "isRaw" in HostUsername && HostUsername.isRaw ? true : undefined }), (0, jsx_runtime_1.jsx)(core_1.Member, { type: "FrooxEngine.Sync`1[System.String]", name: "SanitizedHostUsername", id: typeof SanitizedHostUsername === "object" && "id" in SanitizedHostUsername ? SanitizedHostUsername === null || SanitizedHostUsername === void 0 ? void 0 : SanitizedHostUsername.id : undefined, value: typeof SanitizedHostUsername === "object" && "value" in SanitizedHostUsername ? SanitizedHostUsername === null || SanitizedHostUsername === void 0 ? void 0 : SanitizedHostUsername.value : SanitizedHostUsername, isRaw: typeof SanitizedHostUsername === "object" && "isRaw" in SanitizedHostUsername && SanitizedHostUsername.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.Sync`1[System.Boolean]", name: "HeadlessHost", id: typeof HeadlessHost === "object" && "id" in HeadlessHost ? HeadlessHost === null || HeadlessHost === void 0 ? void 0 : HeadlessHost.id : undefined, value: typeof HeadlessHost === "object" && "value" in HeadlessHost ? HeadlessHost === null || HeadlessHost === void 0 ? void 0 : HeadlessHost.value : HeadlessHost, isRaw: typeof HeadlessHost === "object" && "isRaw" in HeadlessHost && HeadlessHost.isRaw ? true : undefined }), (0, jsx_runtime_1.jsx)(core_1.Member, { type: "FrooxEngine.SyncFieldList`1[System.String]", name: "SessionURLs", id: typeof SessionURLs === "object" && "id" in SessionURLs ? SessionURLs === null || SessionURLs === void 0 ? void 0 : SessionURLs.id : undefined, value: typeof SessionURLs === "object" && "value" in SessionURLs ? SessionURLs === null || SessionURLs === void 0 ? void 0 : SessionURLs.value : SessionURLs, isRaw: typeof SessionURLs === "object" && "isRaw" in SessionURLs && SessionURLs.isRaw ? true : undefined }), (0, jsx_runtime_1.jsx)(core_1.Member, { type: "FrooxEngine.Sync`1[System.String]", name: "Thumbnail", id: typeof Thumbnail === "object" && "id" in Thumbnail ? Thumbnail === null || Thumbnail === void 0 ? void 0 : Thumbnail.id : undefined, value: typeof Thumbnail === "object" && "value" in Thumbnail ? Thumbnail === null || Thumbnail === void 0 ? void 0 : Thumbnail.value : Thumbnail, isRaw: typeof Thumbnail === "object" && "isRaw" in Thumbnail && Thumbnail.isRaw ? true : undefined }), (0, jsx_runtime_1.jsx)(core_1.Member, { type: "FrooxEngine.Sync`1[System.Int32]", name: "JoinedUsers", id: typeof JoinedUsers === "object" && "id" in JoinedUsers ? JoinedUsers === null || JoinedUsers === void 0 ? void 0 : JoinedUsers.id : undefined, value: typeof JoinedUsers === "object" && "value" in JoinedUsers ? JoinedUsers === null || JoinedUsers === void 0 ? void 0 : JoinedUsers.value : JoinedUsers, isRaw: typeof JoinedUsers === "object" && "isRaw" in JoinedUsers && JoinedUsers.isRaw ? true : undefined }), (0, jsx_runtime_1.jsx)(core_1.Member, { type: "FrooxEngine.Sync`1[System.Int32]", name: "ActiveUsers", id: typeof ActiveUsers === "object" && "id" in ActiveUsers ? ActiveUsers === null || ActiveUsers === void 0 ? void 0 : ActiveUsers.id : undefined, value: typeof ActiveUsers === "object" && "value" in ActiveUsers ? ActiveUsers === null || ActiveUsers === void 0 ? void 0 : ActiveUsers.value : ActiveUsers, isRaw: typeof ActiveUsers === "object" && "isRaw" in ActiveUsers && ActiveUsers.isRaw ? true : undefined }), (0, jsx_runtime_1.jsx)(core_1.Member, { type: "FrooxEngine.Sync`1[System.Int32]", name: "TotalJoinedUsers", id: typeof TotalJoinedUsers === "object" && "id" in TotalJoinedUsers ? TotalJoinedUsers === null || TotalJoinedUsers === void 0 ? void 0 : TotalJoinedUsers.id : undefined, value: typeof TotalJoinedUsers === "object" && "value" in TotalJoinedUsers ? TotalJoinedUsers === null || TotalJoinedUsers === void 0 ? void 0 : TotalJoinedUsers.value : TotalJoinedUsers, isRaw: typeof TotalJoinedUsers === "object" && "isRaw" in TotalJoinedUsers && TotalJoinedUsers.isRaw ? true : undefined }), (0, jsx_runtime_1.jsx)(core_1.Member, { type: "FrooxEngine.Sync`1[System.Int32]", name: "TotalActiveUsers", id: typeof TotalActiveUsers === "object" && "id" in TotalActiveUsers ? TotalActiveUsers === null || TotalActiveUsers === void 0 ? void 0 : TotalActiveUsers.id : undefined, value: typeof TotalActiveUsers === "object" && "value" in TotalActiveUsers ? TotalActiveUsers === null || TotalActiveUsers === void 0 ? void 0 : TotalActiveUsers.value : TotalActiveUsers, isRaw: typeof TotalActiveUsers === "object" && "isRaw" in TotalActiveUsers && TotalActiveUsers.isRaw ? true : undefined }), (0, jsx_runtime_1.jsx)(core_1.Member, { type: "FrooxEngine.Sync`1[System.Int32]", name: "MaximumUsers", id: typeof MaximumUsers === "object" && "id" in MaximumUsers ? MaximumUsers === null || MaximumUsers === void 0 ? void 0 : MaximumUsers.id : undefined, value: typeof MaximumUsers === "object" && "value" in MaximumUsers ? MaximumUsers === null || MaximumUsers === void 0 ? void 0 : MaximumUsers.value : MaximumUsers, isRaw: typeof MaximumUsers === "object" && "isRaw" in MaximumUsers && MaximumUsers.isRaw ? true : undefined }), (0, jsx_runtime_1.jsx)(core_1.Member, { type: "FrooxEngine.Sync`1[System.Boolean]", name: "MobileFriendly", id: typeof MobileFriendly === "object" && "id" in MobileFriendly ? MobileFriendly === null || MobileFriendly === void 0 ? void 0 : MobileFriendly.id : undefined, value: typeof MobileFriendly === "object" && "value" in MobileFriendly ? MobileFriendly === null || MobileFriendly === void 0 ? void 0 : MobileFriendly.value : MobileFriendly, isRaw: typeof MobileFriendly === "object" && "isRaw" in MobileFriendly && MobileFriendly.isRaw ? true : undefined }), (0, jsx_runtime_1.jsx)(core_1.Member, { type: "FrooxEngine.Sync`1[CloudX.Shared.SessionAccessLevel]", name: "AccessLevel", id: typeof AccessLevel === "object" && "id" in AccessLevel ? AccessLevel === null || AccessLevel === void 0 ? void 0 : AccessLevel.id : undefined, value: typeof AccessLevel === "object" && "value" in AccessLevel ? AccessLevel === null || AccessLevel === void 0 ? void 0 : AccessLevel.value : AccessLevel, isRaw: typeof AccessLevel === "object" && "isRaw" in AccessLevel && AccessLevel.isRaw ? true : undefined }), (0, jsx_runtime_1.jsx)(core_1.Member, { type: "FrooxEngine.Sync`1[System.Boolean]", name: "IsOnLAN", id: typeof IsOnLAN === "object" && "id" in IsOnLAN ? IsOnLAN === null || IsOnLAN === void 0 ? void 0 : IsOnLAN.id : undefined, value: typeof IsOnLAN === "object" && "value" in IsOnLAN ? IsOnLAN === null || IsOnLAN === void 0 ? void 0 : IsOnLAN.value : IsOnLAN, isRaw: typeof IsOnLAN === "object" && "isRaw" in IsOnLAN && IsOnLAN.isRaw ? true : undefined })] }))); } exports.SessionInfoSource = SessionInfoSource; ;