UNPKG

narrative-studio-sdk

Version:

Narrative SDK for building apps on the Narrative Studio

16 lines (15 loc) 587 B
import { CommandConstructor, IParams } from './Narrative'; import { CommandBase } from './Commands'; import { EntityChanges } from './types'; export declare abstract class EventBase { readonly params?: IParams; readonly source?: CommandConstructor<CommandBase<IParams>>; protected static readonly eventType: string; get type(): string; static get type(): string; } export declare class ChangesSavedEvent extends EventBase { readonly changes: EntityChanges; protected static readonly eventType = "ChangesSavedEvent"; constructor(changes: EntityChanges); }