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

29 lines
440 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
}>('/', {})
}
const set_base_host = webapi.set_base_host
export {
apitoken,
set_base_host
}
export default {
info,
user,
token,
role,
app,
access
}