Compare commits
2 Commits
9a0e51154d
...
ffe6f37b6c
| Author | SHA1 | Date | |
|---|---|---|---|
| ffe6f37b6c | |||
| 023e136e23 |
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@teacinema/contracts",
|
||||
"version": "1.0.9",
|
||||
"version": "1.1.0",
|
||||
"description": "Protocol Buffers contracts for microservices",
|
||||
"scripts": {
|
||||
"build": "tsc -p tsconfig.build.json",
|
||||
|
||||
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