feat: notification event
This commit is contained in:
parent
9a0e51154d
commit
023e136e23
1
src/events/auth/index.ts
Normal file
1
src/events/auth/index.ts
Normal file
@ -0,0 +1 @@
|
||||
export * from './otp-requested.interface'
|
||||
5
src/events/auth/otp-requested.interface.ts
Normal file
5
src/events/auth/otp-requested.interface.ts
Normal file
@ -0,0 +1,5 @@
|
||||
export interface OtpRequestedEvent {
|
||||
identifier: string
|
||||
code: string
|
||||
type: 'email' | 'phone'
|
||||
}
|
||||
1
src/events/index.ts
Normal file
1
src/events/index.ts
Normal file
@ -0,0 +1 @@
|
||||
export * from './auth'
|
||||
@ -1 +1,2 @@
|
||||
export * from './proto'
|
||||
export * from './events'
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user