You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
OneAuth/oaer/lib/api/index.ts

27 lines
380 B
TypeScript

import * as user from "./user"
import * as token from "./token"
import * as role from "./role"
import * as app from "./app"
import * as access from "./access"
import webapi, { token as apitoken } from "./webapi"
const info = () => {
return webapi.Get<{
id: string
}>('/', {})
}
export {
apitoken
}
export default {
info,
user,
token,
role,
app,
access
}