UNPKG

@aimee-blue/ab-service-kit

Version:
28 lines (20 loc) 661 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.loggingAudit = loggingAudit; exports.onLoggingAudit = exports.LOGGING_AUDIT = void 0; var _time = require("../time"); var _eventBus = require("../eventBus"); var _ofType = require("../ofType"); const LOGGING_AUDIT = 'LOGGING/AUDIT'; exports.LOGGING_AUDIT = LOGGING_AUDIT; function loggingAudit() { return { type: LOGGING_AUDIT, timestamp: (0, _time.localNow)() }; } const onLoggingAudit = () => (0, _eventBus.fromEventBus)().pipe((0, _ofType.ofType)(LOGGING_AUDIT)); exports.onLoggingAudit = onLoggingAudit; //# sourceMappingURL=loggingAuditAction.js.map