mirror of
https://github.com/IT4Change/gradido.git
synced 2026-02-06 09:56:05 +00:00
correct imports after shifting code to core modul
This commit is contained in:
parent
0c6d8b4ba1
commit
d4b2f5494c
@ -3,7 +3,7 @@ import { GraphQLClient, gql } from 'graphql-request'
|
||||
|
||||
import { CONFIG } from '@/config'
|
||||
import { LOG4JS_BASE_CATEGORY_NAME } from '@/config/const'
|
||||
import { TransactionTypeId } from 'core/src/graphql/enum/TransactionTypeId'
|
||||
import { TransactionTypeId } from 'core'
|
||||
import { LogError } from '@/server/LogError'
|
||||
import { getLogger } from 'log4js'
|
||||
|
||||
|
||||
@ -4,7 +4,7 @@ import { httpAgent, httpsAgent } from '@/apis/ConnectionAgents'
|
||||
import { LOG4JS_BASE_CATEGORY_NAME } from '@/config/const'
|
||||
import { CONFIG } from '@/config'
|
||||
import { LogError } from '@/server/LogError'
|
||||
import { ensureUrlEndsWithSlash } from '@/util/utilities'
|
||||
import { ensureUrlEndsWithSlash } from 'core'
|
||||
import { getLogger } from 'log4js'
|
||||
|
||||
import { GmsUser } from './model/GmsUser'
|
||||
|
||||
@ -1,7 +1,7 @@
|
||||
import { Decimal } from 'decimal.js-light'
|
||||
|
||||
import { CONFIG } from '@/config'
|
||||
import { decimalSeparatorByLanguage } from '@/util/utilities'
|
||||
import { decimalSeparatorByLanguage } from 'core'
|
||||
|
||||
import { sendEmailTranslated } from './sendEmailTranslated'
|
||||
|
||||
|
||||
@ -1,7 +1,7 @@
|
||||
import { FederatedCommunity as DbFederatedCommunity } from 'database'
|
||||
import { Field, Int, ObjectType } from 'type-graphql'
|
||||
|
||||
import { ensureUrlEndsWithSlash } from '@/util/utilities'
|
||||
import { ensureUrlEndsWithSlash } from 'core'
|
||||
|
||||
@ObjectType()
|
||||
export class FederatedCommunity {
|
||||
|
||||
@ -7,14 +7,14 @@ import { Balance } from '@model/Balance'
|
||||
|
||||
import { RIGHTS } from '@/auth/RIGHTS'
|
||||
import { BalanceLoggingView } from '@/logging/BalanceLogging.view'
|
||||
import { DecayLoggingView } from 'core/src/graphql/logging/DecayLogging.view'
|
||||
import { Context, getUser } from '@/server/context'
|
||||
import { DecayLoggingView } from 'core'
|
||||
import { calculateDecay } from 'shared'
|
||||
|
||||
import { getLogger } from 'log4js'
|
||||
import { LOG4JS_BASE_CATEGORY_NAME } from '@/config/const'
|
||||
import { GdtResolver } from './GdtResolver'
|
||||
import { getLastTransaction } from 'database'
|
||||
import { getLogger } from 'log4js'
|
||||
import { GdtResolver } from './GdtResolver'
|
||||
import { transactionLinkSummary } from './util/transactionLinkSummary'
|
||||
|
||||
@Resolver()
|
||||
|
||||
@ -85,7 +85,7 @@ import { Context, getClientTimezoneOffset, getUser } from '@/server/context'
|
||||
import { communityDbUser } from '@/util/communityUser'
|
||||
import { hasElopageBuys } from '@/util/hasElopageBuys'
|
||||
import { durationInMinutesFromDates, getTimeDurationObject, printTimeDuration } from '@/util/time'
|
||||
import { delay } from '@/util/utilities'
|
||||
import { delay } from 'core'
|
||||
|
||||
import random from 'random-bigint'
|
||||
import { randombytes_random } from 'sodium-native'
|
||||
|
||||
@ -4,7 +4,7 @@ import { verifyAuthToken } from '@/apis/gms/GmsClient'
|
||||
import { CONFIG } from '@/config'
|
||||
import { GmsUserAuthenticationResult } from '@/graphql/model/GmsUserAuthenticationResult'
|
||||
import { LOG4JS_BASE_CATEGORY_NAME } from '@/config/const'
|
||||
import { ensureUrlEndsWithSlash } from '@/util/utilities'
|
||||
import { ensureUrlEndsWithSlash } from 'core'
|
||||
import { getLogger } from 'log4js'
|
||||
|
||||
const logger = getLogger(
|
||||
|
||||
@ -6,7 +6,7 @@ import { OpenCreation } from '@model/OpenCreation'
|
||||
import { FULL_CREATION_AVAILABLE, MAX_CREATION_AMOUNT } from '@/graphql/resolver/const/const'
|
||||
import { LOG4JS_BASE_CATEGORY_NAME } from '@/config/const'
|
||||
import { LogError } from '@/server/LogError'
|
||||
import { getFirstDayOfPreviousNMonth } from '@/util/utilities'
|
||||
import { getFirstDayOfPreviousNMonth } from 'core'
|
||||
import { AppDatabase } from 'database'
|
||||
import { getLogger } from 'log4js'
|
||||
|
||||
|
||||
@ -2,7 +2,7 @@ import { Transaction as dbTransaction } from 'database'
|
||||
import { Decimal } from 'decimal.js-light'
|
||||
import { RemoveOptions, SaveOptions } from 'typeorm'
|
||||
|
||||
import { TransactionTypeId } from 'core/src/graphql/enum/TransactionTypeId'
|
||||
import { TransactionTypeId } from 'core'
|
||||
import { Transaction } from '@model/Transaction'
|
||||
import { User } from '@model/User'
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user