"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.loadAppStatusPublications = loadAppStatusPublications;
var app_status_collection_1 = require("../collections/app-status.collection");
function loadAppStatusPublications(subscriptionManager) {
    subscriptionManager.publications({
        appstatus: {
            function: function () {
                return app_status_collection_1.AppStatus.findOne({}, { sort: { createdAt: -1 } });
            },
            collections: ['app-statuses']
        }
    });
}

//# sourceMappingURL=app-status.js.map
