Interface EntityCommandPayload<V>

Command payload for a CRDT entity.

interface EntityCommandPayload {
    cmd: {
        [attr: string]: EntityAttrCommand<V>;
    };
    type?: string;
}

Type Parameters

  • V

Properties

Properties

cmd: {
    [attr: string]: EntityAttrCommand<V>;
}

Commands on attributes.

Type declaration

type?: string

Type of the entity.

Generated using TypeDoc