mirror of
https://github.com/outline/outline.git
synced 2026-01-23 11:50:35 -06:00
13 lines
219 B
JavaScript
13 lines
219 B
JavaScript
// @flow
|
|
import { type Context } from "koa";
|
|
import { User } from "./models";
|
|
|
|
export type ContextWithState = {|
|
|
...$Exact<Context>,
|
|
state: {
|
|
user: User,
|
|
token: string,
|
|
authType: "app" | "api",
|
|
},
|
|
|};
|