"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.LogsStream = void 0;
const state_stream_1 = require("../state-stream");
/*
 * We're not storing logs in the state because of size of data
 * if process stays for to long it would consume too much memory
 * in this case, we're just streaming through events.
 */
class LogsStream extends state_stream_1.StateStream {
    constructor() {
        super(...arguments);
        this.get = async () => null;
        this.update = async () => null;
        this.delete = async () => null;
        this.getList = async () => [];
        this.getGroupId = () => null;
    }
    async create(_, data) {
        await this.send({ groupId: 'default' }, { type: 'log', data });
        return data;
    }
}
exports.LogsStream = LogsStream;
