CommitSerializer
Hierarchy
- CommitSerializer
Implements
- CommitSerializer
- CommitSerializer
Index
Methods
Methods
deserialize
▸ deserialize(serializedCommit
: Record‹string, any›): Commit
Implementation of CommitSerializer
Deserializes serialized commit.
Parameters:
Name | Type | Description |
---|---|---|
serializedCommit | Record‹string, any› | Serialized commit. |
Returns: Commit
Instance implementing Commit
interface.
serialize
▸ serialize(commit
: Commit): Record‹string, any›
Implementation of CommitSerializer
Serializes commit.
Parameters:
Name | Type | Description |
---|---|---|
commit | Commit | Instance implementing Commit interface. |
Returns: Record‹string, any›
Serialized commit as a plain object compatible with MongoDB document structure.