UNPKG

scheunemann-interfaces

Version:
26 lines (25 loc) 934 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.ClaudeSettingsEntity = void 0; var global_settings_type_enum_1 = require("../enums/global-settings-type.enum"); var ClaudeSettingsEntity = /** @class */ (function () { function ClaudeSettingsEntity(data) { this.active = true; this.createdAt = new Date(); this.id = ''; this.anthropicVersion = '2023-06-01'; this.apiKey = ''; this.apiUrl = 'https://api.anthropic.com/v1'; this.type = global_settings_type_enum_1.EGlobalSettingsType.CHATCLAUDE_CONFIG; this.updatedAt = new Date(); if (data) { for (var key in data) { if (data.hasOwnProperty(key) && key in this) { this[key] = data[key]; } } } } return ClaudeSettingsEntity; }()); exports.ClaudeSettingsEntity = ClaudeSettingsEntity;