mirror of
https://github.com/labring/laf.git
synced 2026-02-01 16:57:03 +00:00
fix(web): cloud function ctx types error (#869)
This commit is contained in:
parent
c3b39d9dbb
commit
757c38e878
@ -18,12 +18,12 @@ export interface FunctionContext {
|
||||
*/
|
||||
auth?: any
|
||||
user?: any
|
||||
requestId: string
|
||||
requestId?: string
|
||||
method?: string
|
||||
socket?: WebSocket
|
||||
request?: Request
|
||||
response?: Response
|
||||
__function_name: string
|
||||
__function_name?: string
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
@ -47,7 +47,7 @@ export interface FunctionContext {
|
||||
socket?: WebSocket
|
||||
request?: Request
|
||||
response?: Response
|
||||
__function_name: string
|
||||
__function_name?: string
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
@ -78,7 +78,7 @@ interface FunctionContext {
|
||||
/**
|
||||
* Express response object
|
||||
*/
|
||||
response: HttpResponse
|
||||
response?: HttpResponse
|
||||
|
||||
/**
|
||||
* WebSocket object
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user