Codewise
Courses
My learning
Ideas
Leaderboard
YouTube
Courses
My learning
Ideas
Leaderboard
YouTube
Sign in
libs/common/src/interfaces/response.interface.ts · EventFlow: NestJS Microservices | Codewise
EventFlow: NestJS Microservices
nestjs-microservices
/
libs
/
common
/
src
/
interfaces
/
response.interface.ts
response.interface.ts
37 lines, 640 B
Raw
1
export
interface
AuthResponse
{
2
accessToken
:
string
;
3
}
4
5
export
interface
UserProfileResponse
{
6
id
:
string
;
7
email
:
string
;
8
name
:
string
;
9
role
:
string
;
10
createdAt
:
string
;
11
updatedAt
:
string
;
12
}
13
14
export
interface
EventResponse
{
15
id
:
string
;
16
title
:
string
;
17
description
:
string
;
18
date
:
string
;
19
location
:
string
;
20
capacity
:
number
;
21
price
:
number
;
22
status
:
string
;
23
organizerId
:
string
;
24
createdAt
:
string
;
25
updatedAt
:
string
;
26
}
27
28
export
interface
TicketResponse
{
29
id
:
string
;
30
ticketCode
:
string
;
31
eventId
:
string
;
32
userId
:
string
;
33
quantity
:
number
;
34
status
:
string
;
35
createdAt
:
string
;
36
updatedAt
:
string
;
37
}