Files
talk/src/core/server/events
Wyatt Johnson dcb2a10e72 [CORL-845] Account Linking (#2818)
* feat: added new linking backend

* feat: added duplicateEmail to hash

* fix: stored the duplicate email on the user

* feat: initial implmentation of account linking in auth

* test: fix unit tests

* fix+test: translations and tests added

* chore+test: rename view to LINK_ACCOUNT + more tests

* feat+test: account linking admin + more tests

* feat: Handle incomplete accounts

* chore: add some comments

* feat: expose duplicateEmail through graphql and impl for stream

* feat: admin to use duplicateEmail from graphql

* fix: no need to validate password for account linking

* fix: dont validate password

* fix: no need to render error message when account was incomplete

* chore: log to console when encountering incomplete account

* chore: adjust comment

* chore: simplify + add comments

* chore: wording

* chore: comments

Co-authored-by: Vinh <vinh@vinh.tech>
Co-authored-by: Kim Gardner <kgardnr@gmail.com>
2020-02-25 15:46:32 -05:00
..
2020-02-18 13:25:48 -05:00
2020-02-18 13:25:48 -05:00
2020-02-18 13:25:48 -05:00
2020-02-18 13:25:48 -05:00
2020-02-18 13:25:48 -05:00
2020-02-25 15:46:32 -05:00
2020-02-18 13:25:48 -05:00

Table of Contents

events

This is the events package for Coral.

Adding new events

You can add new events by adding to the events.ts file. Each event must export a { eventName }Payload type and a { eventName } Coral Event.

Adding new event listeners

You can add a new event listener by adding to the listeners/ folder. These events must implement the CoralEventListener abstract class. You can then register this listener in the src/core/server/index.ts file by registering it on the broker.