UNPKG

@datalayer/core

Version:
28 lines (27 loc) 716 B
/* * Copyright (c) 2023-2025 Datalayer, Inc. * Distributed under the terms of the Modified BSD License. */ export const AI_AGENTS_URL_KEY = "aiagents_url_s"; export const CAN_INVITE_URL_KEY = "can_invite_b"; export class UserSettings { _aiAgentsUrl; _canInvite; constructor(s) { this._aiAgentsUrl = s[AI_AGENTS_URL_KEY] ?? undefined; this._canInvite = s[CAN_INVITE_URL_KEY] ?? undefined; } get aiAgentsUrl() { return this._aiAgentsUrl; } set aiAgentsUrl(value) { this._aiAgentsUrl = value; } get canInvite() { return this._canInvite; } set canInvite(value) { this._canInvite = value; } } export default UserSettings;