Compare commits

..

2 Commits

Author SHA1 Message Date
ffe6f37b6c 1.1.0
All checks were successful
Publish / Publish npm package action (push) Successful in 20s
2026-02-23 11:00:25 +03:00
023e136e23 feat: notification event 2026-02-23 11:00:17 +03:00
5 changed files with 9 additions and 1 deletions

View File

@ -1,6 +1,6 @@
{ {
"name": "@teacinema/contracts", "name": "@teacinema/contracts",
"version": "1.0.9", "version": "1.1.0",
"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",

1
src/events/auth/index.ts Normal file
View File

@ -0,0 +1 @@
export * from './otp-requested.interface'

View File

@ -0,0 +1,5 @@
export interface OtpRequestedEvent {
identifier: string
code: string
type: 'email' | 'phone'
}

1
src/events/index.ts Normal file
View File

@ -0,0 +1 @@
export * from './auth'

View File

@ -1 +1,2 @@
export * from './proto' export * from './proto'
export * from './events'