UNPKG

@becomes/cms

Version:

Simple CMS for building APIs.

19 lines 672 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.WebhookFactory = void 0; var webhook_model_1 = require("../models/webhook.model"); var mongoose_1 = require("mongoose"); var WebhookFactory = (function () { function WebhookFactory() { } Object.defineProperty(WebhookFactory, "instance", { get: function () { return new webhook_model_1.Webhook(new mongoose_1.Types.ObjectId(), Date.now(), Date.now(), '', '', '{}'); }, enumerable: false, configurable: true }); return WebhookFactory; }()); exports.WebhookFactory = WebhookFactory; //# sourceMappingURL=webhook.factory.js.map