/*
 * Copyright (c) 2022.
 * Author Peter Placzek (tada5hi)
 * For the full copyright and license information,
 * view the LICENSE file that was distributed with this source code.
 */

export interface MemoryMessagePayload {
    type?: string,
    id?: number | string,
    data?: any,
    meta?: {[key: string] : any}
}

export interface MemoryEventMessage {
    event: string,
    payload: MemoryMessagePayload
}
