mirror of
https://github.com/outline/outline.git
synced 2026-06-22 07:44:23 +03:00
16 lines
410 B
JavaScript
16 lines
410 B
JavaScript
// @flow
|
|
import { AuthenticationProvider } from "../models";
|
|
|
|
export default function present(
|
|
authenticationProvider: AuthenticationProvider
|
|
) {
|
|
return {
|
|
id: authenticationProvider.id,
|
|
name: authenticationProvider.name,
|
|
providerId: authenticationProvider.providerId,
|
|
createdAt: authenticationProvider.createdAt,
|
|
isEnabled: authenticationProvider.enabled,
|
|
isConnected: true,
|
|
};
|
|
}
|