feat: design applications and first api calls
Co-authored-by: Walid <87608619+WalidKorchi@users.noreply.github.com>
This commit is contained in:
18
cypress/fixtures/handler.ts
Normal file
18
cypress/fixtures/handler.ts
Normal file
@ -0,0 +1,18 @@
|
||||
import { getUsersCurrentHandler } from './users/current/get'
|
||||
import { postUsersRefreshTokenHandler } from './users/refresh-token/post'
|
||||
|
||||
export interface Handler {
|
||||
method: 'GET' | 'POST' | 'PUT' | 'DELETE'
|
||||
url: string
|
||||
response: {
|
||||
body: any
|
||||
statusCode: number
|
||||
}
|
||||
}
|
||||
|
||||
export type Handlers = Handler[]
|
||||
|
||||
export const authenticationHandlers = [
|
||||
getUsersCurrentHandler,
|
||||
postUsersRefreshTokenHandler
|
||||
]
|
Reference in New Issue
Block a user