1
0
Fork 0
mirror of synced 2024-07-01 04:21:06 +12:00
budibase/packages/types/src/sdk/koa.ts
2022-09-28 08:56:45 +01:00

14 lines
266 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 extends Context {
user?: ContextUser
body: any
}