1
0
Fork 0
mirror of synced 2024-07-01 04:21:06 +12:00
budibase/packages/types/src/sdk/koa.ts
2022-10-14 20:10:44 +01:00

19 lines
313 B
TypeScript

import { Context } from "koa"
import { User } from "../documents"
import { License } from "../sdk"
export interface ContextUser extends User {
globalId?: string
license: License
}
export interface BBContext {
user?: ContextUser
request: {
body: any
}
params: any
body?: any
redirect?: any
}