Small correction for core.md

This commit is contained in:
ChronosX88 2019-12-15 19:08:48 +04:00
parent d8211d7eda
commit 45d05b572e
Signed by: ChronosXYZ
GPG Key ID: 085A69A82C8C511A

View File

@ -42,31 +42,31 @@ interface BaseMessage {
/** /**
* Message identifier (used to track the request-response chain) * Message identifier (used to track the request-response chain)
*/ */
id: string, // id: string,
/** /**
* Type of message (used to determine which extension this message belongs to) * Type of message (used to determine which extension this message belongs to)
*/ */
type: string, // type: string,
/** /**
* From which entity this message is send * From which entity this message is send
*/ */
from: EntityID, // from: EntityID,
/** /**
* Message recipient * Message recipient
*/ */
to: EntityID, // to: EntityID,
/** /**
* Operation success indicator (used to determine if the error happened while processing request) * Operation success indicator (used to determine if the error happened while processing request)
*/ */
ok: boolean, // ok: boolean,
/** /**
* Message payload (used to store extra information in message, list of permissible fields in the payload depends on "type" field) * Message payload (used to store extra information in message, list of permissible fields in the payload depends on "type" field)
*/ */
payload: Map<K,V> // payload: Map<K,V>
} }
``` ```