UNPKG

swipelime-client-node

Version:

swipelime-client-node is the official swipelime Node.js client library

19 lines (18 loc) 649 B
"use strict"; // Copyright (c) 2024 swipelime (https://swipelime.com) // Use of this source code is governed by an MIT // license that can be found in the LICENSE file. var __importDefault = (this && this.__importDefault) || function (mod) { return (mod && mod.__esModule) ? mod : { "default": mod }; }; Object.defineProperty(exports, "__esModule", { value: true }); const extend_1 = __importDefault(require("lodash/extend")); class SystemAlert { data; dateCreated; constructor(doc, dateCreated) { (0, extend_1.default)(this, doc); this.dateCreated = dateCreated ?? new Date(); } } exports.default = SystemAlert;