UNPKG

event-driven

Version:

makes building event-driven-architecture easy

10 lines (9 loc) 403 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.StreamSummary = void 0; const mongoose_1 = require("mongoose"); const StreamSummarySchema = new mongoose_1.Schema({ stream: { type: String, required: true }, subjects: [{ type: String, required: true }], }, { timestamps: true }); exports.StreamSummary = mongoose_1.model('StreamSummary', StreamSummarySchema);