mirror of
https://github.com/n8n-io/n8n.git
synced 2026-10-17 13:39:44 +02:00
refactor(core): Move billable execution helper to backend services (no-changelog) (#40146)
This commit is contained in:
parent
0ae0b6b3c2
commit
87ca4e8bf7
|
|
@ -1,4 +1,5 @@
|
|||
export { EventService, type EventMap } from './events/event.service';
|
||||
export { isBillableExecution } from './executions/is-billable-execution';
|
||||
export {
|
||||
CredentialsFinderService,
|
||||
CREDENTIAL_USABILITY_SCOPES,
|
||||
|
|
|
|||
|
|
@ -1,4 +1,5 @@
|
|||
import { Logger } from '@n8n/backend-common';
|
||||
import { isBillableExecution } from '@n8n/backend-services';
|
||||
import { SharedWorkflowRepository } from '@n8n/db';
|
||||
import { OnLifecycleEvent, type WorkflowExecuteAfterContext } from '@n8n/decorators';
|
||||
import { Service } from '@n8n/di';
|
||||
|
|
@ -8,7 +9,6 @@ import { IRun, type ExecutionStatus, type WorkflowExecuteMode } from 'n8n-workfl
|
|||
|
||||
import { InsightsMetadata } from '@/modules/insights/database/entities/insights-metadata';
|
||||
import { InsightsRaw } from '@/modules/insights/database/entities/insights-raw';
|
||||
import { isBillableExecution } from '@/utils/is-billable-execution';
|
||||
|
||||
import { InsightsMetadataRepository } from './database/repositories/insights-metadata.repository';
|
||||
import { InsightsRawRepository } from './database/repositories/insights-raw.repository';
|
||||
|
|
|
|||
|
|
@ -1,5 +1,5 @@
|
|||
import { Logger, TypedEmitter } from '@n8n/backend-common';
|
||||
import { EventService } from '@n8n/backend-services';
|
||||
import { EventService, isBillableExecution } from '@n8n/backend-services';
|
||||
import { DatabaseConfig } from '@n8n/config';
|
||||
import type { CrashedExecution } from '@n8n/db';
|
||||
import {
|
||||
|
|
@ -21,7 +21,6 @@ import {
|
|||
} from 'n8n-workflow';
|
||||
|
||||
import { UserService } from '@/services/user.service';
|
||||
import { isBillableExecution } from '@/utils/is-billable-execution';
|
||||
|
||||
import { INSTANCE_ACTIVATED_SETTINGS_KEY } from './instance-activation.service';
|
||||
import { OwnershipService } from './ownership.service';
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user