mirror of
https://github.com/cadmium-im/cadmium-docs-legacy.git
synced 2024-11-09 12:11:03 +00:00
Small correction for core.md
This commit is contained in:
parent
d8211d7eda
commit
45d05b572e
@ -42,31 +42,31 @@ interface BaseMessage {
|
||||
/**
|
||||
* 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: string, //
|
||||
type: string,
|
||||
/**
|
||||
* From which entity this message is send
|
||||
*/
|
||||
from: EntityID, //
|
||||
from: EntityID,
|
||||
|
||||
/**
|
||||
* Message recipient
|
||||
*/
|
||||
to: EntityID, //
|
||||
to: EntityID,
|
||||
|
||||
/**
|
||||
* 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)
|
||||
*/
|
||||
payload: Map<K,V> //
|
||||
payload: Map<K,V>
|
||||
}
|
||||
```
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user