mirror of
https://github.com/IT4Change/gradido.git
synced 2025-12-13 07:45:54 +00:00
Fix linting
This commit is contained in:
parent
0345e8420d
commit
d326f00c0b
@ -1,5 +1,6 @@
|
||||
import { User as DbUser } from '@entity/User'
|
||||
import { Event as DbEvent } from '@entity/Event'
|
||||
import { User as DbUser } from '@entity/User'
|
||||
|
||||
import { Event, EventType } from './Event'
|
||||
|
||||
export const EVENT_SUBSCRIBE_NEWSLETTER = async (user: DbUser): Promise<DbEvent> =>
|
||||
|
||||
@ -1,5 +1,6 @@
|
||||
import { User as DbUser } from '@entity/User'
|
||||
import { Event as DbEvent } from '@entity/Event'
|
||||
import { User as DbUser } from '@entity/User'
|
||||
|
||||
import { Event, EventType } from './Event'
|
||||
|
||||
export const EVENT_UNSUBSCRIBE_NEWSLETTER = async (user: DbUser): Promise<DbEvent> =>
|
||||
|
||||
@ -8,6 +8,7 @@
|
||||
import { Community as DbCommunity } from '@entity/Community'
|
||||
|
||||
import { testEnvironment } from '@test/helpers'
|
||||
|
||||
import { getCommunities } from '@/seeds/graphql/queries'
|
||||
|
||||
let query: any
|
||||
|
||||
@ -2,15 +2,17 @@
|
||||
/* eslint-disable @typescript-eslint/no-unsafe-assignment */
|
||||
/* eslint-disable @typescript-eslint/no-unsafe-call */
|
||||
/* eslint-disable @typescript-eslint/no-unsafe-member-access */
|
||||
import { GraphQLError } from 'graphql'
|
||||
import { UserContact } from '@entity/UserContact'
|
||||
import { Event as DbEvent } from '@entity/Event'
|
||||
import { logger, i18n as localization } from '@test/testSetup'
|
||||
import { UserContact } from '@entity/UserContact'
|
||||
import { GraphQLError } from 'graphql'
|
||||
|
||||
import { cleanDB, resetToken, testEnvironment } from '@test/helpers'
|
||||
import { logger, i18n as localization } from '@test/testSetup'
|
||||
|
||||
import { EventType } from '@/event/Event'
|
||||
import { userFactory } from '@/seeds/factory/user'
|
||||
import { login, subscribeNewsletter, unsubscribeNewsletter } from '@/seeds/graphql/mutations'
|
||||
import { bibiBloxberg } from '@/seeds/users/bibi-bloxberg'
|
||||
import { userFactory } from '@/seeds/factory/user'
|
||||
import { EventType } from '@/event/Event'
|
||||
|
||||
let testEnv: any, mutate: any, con: any
|
||||
|
||||
|
||||
@ -1,8 +1,8 @@
|
||||
import { Resolver, Authorized, Mutation, Ctx } from 'type-graphql'
|
||||
|
||||
import { unsubscribe, klicktippSignIn } from '@/apis/KlicktippController'
|
||||
import { EVENT_UNSUBSCRIBE_NEWSLETTER, EVENT_SUBSCRIBE_NEWSLETTER } from '@/event/Event'
|
||||
import { RIGHTS } from '@/auth/RIGHTS'
|
||||
import { EVENT_UNSUBSCRIBE_NEWSLETTER, EVENT_SUBSCRIBE_NEWSLETTER } from '@/event/Event'
|
||||
import { Context, getUser } from '@/server/context'
|
||||
|
||||
@Resolver()
|
||||
|
||||
@ -6,8 +6,7 @@ import { MiddlewareFn } from 'type-graphql'
|
||||
|
||||
import { KlickTipp } from '@model/KlickTipp'
|
||||
|
||||
import { /* klicktippSignIn, */ getKlickTippUser } from '@/apis/KlicktippController'
|
||||
import CONFIG from '@/config'
|
||||
import { getKlickTippUser } from '@/apis/KlicktippController'
|
||||
import { klickTippLogger as logger } from '@/server/logger'
|
||||
|
||||
// export const klicktippRegistrationMiddleware: MiddlewareFn = async (
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user