@accounts/module-magic-link
Index
Functions
Interfaces
Type Aliases
- AuthenticateParamsInput
- DirectiveResolverFn
- EmailRecord
- EmailRecordResolvers
- Exact
- ImpersonateReturn
- ImpersonateReturnResolvers
- ImpersonationUserIdentityInput
- Incremental
- InputMaybe
- IsTypeOfResolverFn
- LoginResult
- LoginResultResolvers
- MakeEmpty
- MakeMaybe
- MakeOptional
- Maybe
- Mutation
- MutationAuthenticateArgs
- MutationImpersonateArgs
- MutationRefreshTokensArgs
- MutationRequestMagicLinkEmailArgs
- MutationResolvers
- MutationVerifyAuthenticationArgs
- NextResolverFn
- Query
- QueryResolvers
- RequireFields
- Resolver
- ResolverFn
- ResolverTypeWrapper
- Resolvers
- ResolversParentTypes
- ResolversTypes
- Scalars
- SubscriptionObject
- SubscriptionResolveFn
- SubscriptionResolver
- SubscriptionSubscribeFn
- Tokens
- TokensResolvers
- TypeResolveFn
- User
- UserInput
- UserResolvers
Type Aliases
AuthenticateParamsInput
Type declaration
optionalaccess_token?: InputMaybe<Scalars[String][input]>
optionalaccess_token_secret?: InputMaybe<Scalars[String][input]>
optionalcode?: InputMaybe<Scalars[String][input]>
optionalpassword?: InputMaybe<Scalars[String][input]>
optionalprovider?: InputMaybe<Scalars[String][input]>
optionaltoken?: InputMaybe<Scalars[String][input]>
optionaluser?: InputMaybe<UserInput>
DirectiveResolverFn
Type parameters
- TResult = {}
- TParent = {}
- TContext = {}
- TArgs = {}
Type declaration
Parameters
next: NextResolverFn<TResult>
parent: TParent
args: TArgs
context: TContext
info: GraphQLResolveInfo
Returns TResult | Promise<TResult>
EmailRecord
EmailRecordResolvers
Type parameters
- ContextType = AccountsContextGraphQLModules
- ParentType: ResolversParentTypes[EmailRecord] = ResolversParentTypes[EmailRecord]
Type declaration
optional__isTypeOf?: IsTypeOfResolverFn<ParentType, ContextType>
optionaladdress?: Resolver<Maybe<ResolversTypes[String]>, ParentType, ContextType>
optionalverified?: Resolver<Maybe<ResolversTypes[Boolean]>, ParentType, ContextType>
Exact
Type parameters
- T: {}
ImpersonateReturn
ImpersonateReturnResolvers
Type parameters
- ContextType = AccountsContextGraphQLModules
- ParentType: ResolversParentTypes[ImpersonateReturn] = ResolversParentTypes[ImpersonateReturn]
Type declaration
optional__isTypeOf?: IsTypeOfResolverFn<ParentType, ContextType>
optionalauthorized?: Resolver<Maybe<ResolversTypes[Boolean]>, ParentType, ContextType>
optionaltokens?: Resolver<Maybe<ResolversTypes[Tokens]>, ParentType, ContextType>
optionaluser?: Resolver<Maybe<ResolversTypes[User]>, ParentType, ContextType>
ImpersonationUserIdentityInput
Type declaration
optionalemail?: InputMaybe<Scalars[String][input]>
optionaluserId?: InputMaybe<Scalars[String][input]>
optionalusername?: InputMaybe<Scalars[String][input]>
Incremental
Type parameters
- T
InputMaybe
Type parameters
- T
IsTypeOfResolverFn
Type parameters
- T = {}
- TContext = {}
Type declaration
Parameters
obj: T
context: TContext
info: GraphQLResolveInfo
Returns boolean | Promise<boolean>
LoginResult
LoginResultResolvers
Type parameters
- ContextType = AccountsContextGraphQLModules
- ParentType: ResolversParentTypes[LoginResult] = ResolversParentTypes[LoginResult]
Type declaration
optional__isTypeOf?: IsTypeOfResolverFn<ParentType, ContextType>
optionalsessionId?: Resolver<Maybe<ResolversTypes[String]>, ParentType, ContextType>
optionaltokens?: Resolver<Maybe<ResolversTypes[Tokens]>, ParentType, ContextType>
optionaluser?: Resolver<Maybe<ResolversTypes[User]>, ParentType, ContextType>
MakeEmpty
Type parameters
- T: {}
- K: keyof T
MakeMaybe
Type parameters
- T
- K: keyof T
MakeOptional
Type parameters
- T
- K: keyof T
Maybe
Type parameters
- T
Mutation
Type declaration
optional__typename?: Mutation
optionalauthenticate?: Maybe<LoginResult>
optionalimpersonate?: Maybe<ImpersonateReturn>
optionallogout?: Maybe<Scalars[Boolean][output]>
optionalrefreshTokens?: Maybe<LoginResult>
optionalrequestMagicLinkEmail?: Maybe<Scalars[Boolean][output]>
optionalverifyAuthentication?: Maybe<Scalars[Boolean][output]>
MutationAuthenticateArgs
Type declaration
params: AuthenticateParamsInput
serviceName: Scalars[String][input]
MutationImpersonateArgs
Type declaration
accessToken: Scalars[String][input]
impersonated: ImpersonationUserIdentityInput
MutationRefreshTokensArgs
MutationRequestMagicLinkEmailArgs
Type declaration
email: Scalars[String][input]
MutationResolvers
Type parameters
- ContextType = AccountsContextGraphQLModules
- ParentType: ResolversParentTypes[Mutation] = ResolversParentTypes[Mutation]
Type declaration
optionalauthenticate?: Resolver<Maybe<ResolversTypes[LoginResult]>, ParentType, ContextType, RequireFields<MutationAuthenticateArgs, params | serviceName>>
optionalimpersonate?: Resolver<Maybe<ResolversTypes[ImpersonateReturn]>, ParentType, ContextType, RequireFields<MutationImpersonateArgs, accessToken | impersonated>>
optionallogout?: Resolver<Maybe<ResolversTypes[Boolean]>, ParentType, ContextType>
optionalrefreshTokens?: Resolver<Maybe<ResolversTypes[LoginResult]>, ParentType, ContextType, RequireFields<MutationRefreshTokensArgs, accessToken | refreshToken>>
optionalrequestMagicLinkEmail?: Resolver<Maybe<ResolversTypes[Boolean]>, ParentType, ContextType, RequireFields<MutationRequestMagicLinkEmailArgs, email>>
optionalverifyAuthentication?: Resolver<Maybe<ResolversTypes[Boolean]>, ParentType, ContextType, RequireFields<MutationVerifyAuthenticationArgs, params | serviceName>>
MutationVerifyAuthenticationArgs
Type declaration
params: AuthenticateParamsInput
serviceName: Scalars[String][input]
NextResolverFn
Type parameters
- T
Type declaration
Returns Promise<T>
Query
QueryResolvers
Type parameters
- ContextType = AccountsContextGraphQLModules
- ParentType: ResolversParentTypes[Query] = ResolversParentTypes[Query]
Type declaration
optionalgetUser?: Resolver<Maybe<ResolversTypes[User]>, ParentType, ContextType>
RequireFields
Type parameters
- T
- K: keyof T
Resolver
Type parameters
- TResult
- TParent = {}
- TContext = {}
- TArgs = {}
ResolverFn
Type parameters
- TResult
- TParent
- TContext
- TArgs
Type declaration
Parameters
parent: TParent
args: TArgs
context: TContext
info: GraphQLResolveInfo
Returns Promise<TResult> | TResult
ResolverTypeWrapper
Type parameters
- T
Resolvers
Type parameters
- ContextType = AccountsContextGraphQLModules
Type declaration
optionalEmailRecord?: EmailRecordResolvers<ContextType>
optionalImpersonateReturn?: ImpersonateReturnResolvers<ContextType>
optionalLoginResult?: LoginResultResolvers<ContextType>
optionalMutation?: MutationResolvers<ContextType>
optionalQuery?: QueryResolvers<ContextType>
optionalTokens?: TokensResolvers<ContextType>
optionalUser?: UserResolvers<ContextType>
ResolversParentTypes
Type declaration
AuthenticateParamsInput: AuthenticateParamsInput
Boolean: Scalars[Boolean][output]
EmailRecord: EmailRecord
ID: Scalars[ID][output]
ImpersonateReturn: ImpersonateReturn
ImpersonationUserIdentityInput: ImpersonationUserIdentityInput
LoginResult: LoginResult
Mutation: {}
Query: {}
String: Scalars[String][output]
Tokens: Tokens
User: User
UserInput: UserInput
ResolversTypes
Mapping between all available schema types and the resolvers types
Type declaration
AuthenticateParamsInput: AuthenticateParamsInput
Boolean: ResolverTypeWrapper<Scalars[Boolean][output]>
EmailRecord: ResolverTypeWrapper<EmailRecord>
ID: ResolverTypeWrapper<Scalars[ID][output]>
ImpersonateReturn: ResolverTypeWrapper<ImpersonateReturn>
ImpersonationUserIdentityInput: ImpersonationUserIdentityInput
LoginResult: ResolverTypeWrapper<LoginResult>
Mutation: ResolverTypeWrapper<{}>
Query: ResolverTypeWrapper<{}>
String: ResolverTypeWrapper<Scalars[String][output]>
Tokens: ResolverTypeWrapper<Tokens>
User: ResolverTypeWrapper<User>
UserInput: UserInput
Scalars
All built-in and custom scalars, mapped to their actual values
Type declaration
Boolean: { input: boolean; output: boolean }
input: boolean
output: boolean
Float: { input: number; output: number }
input: number
output: number
ID: { input: string; output: string }
input: string
output: string
Int: { input: number; output: number }
input: number
output: number
String: { input: string; output: string }
input: string
output: string
SubscriptionObject
Type parameters
- TResult
- TKey: string
- TParent
- TContext
- TArgs
SubscriptionResolveFn
Type parameters
- TResult
- TParent
- TContext
- TArgs
Type declaration
Parameters
parent: TParent
args: TArgs
context: TContext
info: GraphQLResolveInfo
Returns TResult | Promise<TResult>
SubscriptionResolver
Type parameters
- TResult
- TKey: string
- TParent = {}
- TContext = {}
- TArgs = {}
SubscriptionSubscribeFn
Type parameters
- TResult
- TParent
- TContext
- TArgs
Type declaration
Parameters
parent: TParent
args: TArgs
context: TContext
info: GraphQLResolveInfo
Returns AsyncIterable<TResult> | Promise<AsyncIterable<TResult>>
Tokens
TokensResolvers
Type parameters
- ContextType = AccountsContextGraphQLModules
- ParentType: ResolversParentTypes[Tokens] = ResolversParentTypes[Tokens]
Type declaration
optional__isTypeOf?: IsTypeOfResolverFn<ParentType, ContextType>
optionalaccessToken?: Resolver<Maybe<ResolversTypes[String]>, ParentType, ContextType>
optionalrefreshToken?: Resolver<Maybe<ResolversTypes[String]>, ParentType, ContextType>
TypeResolveFn
User
Type declaration
optional__typename?: User
optionalemails?: Maybe<EmailRecord[]>
id: Scalars[ID][output]
optionalusername?: Maybe<Scalars[String][output]>
UserInput
Type declaration
optionalemail?: InputMaybe<Scalars[String][input]>
optionalid?: InputMaybe<Scalars[ID][input]>
optionalusername?: InputMaybe<Scalars[String][input]>
UserResolvers
Type parameters
- ContextType = AccountsContextGraphQLModules
- ParentType: ResolversParentTypes[User] = ResolversParentTypes[User]
Type declaration
optional__isTypeOf?: IsTypeOfResolverFn<ParentType, ContextType>
optionalemails?: Resolver<Maybe<ResolversTypes[EmailRecord][]>, ParentType, ContextType>
optionalid?: Resolver<ResolversTypes[ID], ParentType, ContextType>
optionalusername?: Resolver<Maybe<ResolversTypes[String]>, ParentType, ContextType>
Mapping between all available schema types and the resolvers parents