mirror of
https://github.com/outline/outline.git
synced 2026-06-13 03:14:59 +03:00
bf45e97641
* Update types * fix circular dep * type imports * lint type imports and --fix
13 lines
310 B
TypeScript
13 lines
310 B
TypeScript
import { signin } from "@shared/utils/routeHelpers";
|
|
import type { Plugin, Hook } from "@server/utils/PluginManager";
|
|
|
|
export default function presentProviderConfig(
|
|
config: Plugin<Hook.AuthProvider>
|
|
) {
|
|
return {
|
|
id: config.value.id,
|
|
name: config.name,
|
|
authUrl: signin(config.value.id),
|
|
};
|
|
}
|