keystone-6-oauth
Version:
Keystone6 Plugin that enables social logins such as Google, Twitter, Github, Facebook and others.
13 lines (12 loc) • 540 B
TypeScript
import type { BaseItem } from '@keystone-6/core/types';
import { graphql } from '@keystone-6/core';
export declare function getBaseAuthSchema({ listKey, base, }: {
listKey: string;
base: graphql.BaseSchemaMeta;
}): {
extension: {
query: {
authenticatedItem: import("@graphql-ts/schema").Field<unknown, {}, import("@graphql-ts/schema").UnionType<BaseItem, graphql.Context>, string, import("@keystone-6/core/types").KeystoneContext<import("@keystone-6/core/types").BaseKeystoneTypeInfo>>;
};
};
};