mirror of
https://github.com/outline/outline.git
synced 2026-12-04 02:20:17 +03:00
11 lines
189 B
TypeScript
11 lines
189 B
TypeScript
import { Context } from "koa";
|
|
import { User } from "./models";
|
|
|
|
export type ContextWithState = {
|
|
state: {
|
|
user: User,
|
|
token: string,
|
|
authType: "app" | "api"
|
|
}
|
|
} & Context;
|