Compare commits
2 Commits
ffe6f37b6c
...
28cf6b55ed
| Author | SHA1 | Date | |
|---|---|---|---|
| 28cf6b55ed | |||
| 97b5c29899 |
@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "@teacinema/contracts",
|
"name": "@teacinema/contracts",
|
||||||
"version": "1.1.0",
|
"version": "1.1.1",
|
||||||
"description": "Protocol Buffers contracts for microservices",
|
"description": "Protocol Buffers contracts for microservices",
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"build": "tsc -p tsconfig.build.json",
|
"build": "tsc -p tsconfig.build.json",
|
||||||
|
|||||||
4
src/events/account/email-changed.interface.ts
Normal file
4
src/events/account/email-changed.interface.ts
Normal file
@ -0,0 +1,4 @@
|
|||||||
|
export interface EmailChangedEvent {
|
||||||
|
email: string
|
||||||
|
code: string
|
||||||
|
}
|
||||||
2
src/events/account/index.ts
Normal file
2
src/events/account/index.ts
Normal file
@ -0,0 +1,2 @@
|
|||||||
|
export * from './email-changed.interface'
|
||||||
|
export * from './phone-changed.interface'
|
||||||
4
src/events/account/phone-changed.interface.ts
Normal file
4
src/events/account/phone-changed.interface.ts
Normal file
@ -0,0 +1,4 @@
|
|||||||
|
export interface PhoneChangedEvent {
|
||||||
|
phone: string
|
||||||
|
code: string
|
||||||
|
}
|
||||||
@ -1 +1,2 @@
|
|||||||
export * from './auth'
|
export * from './auth'
|
||||||
|
export * from './account'
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user