-
-
Notifications
You must be signed in to change notification settings - Fork 768
/
Copy pathservices.ts
136 lines (135 loc) · 7.92 KB
/
services.ts
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
import type { AccessService } from '../services/access-service';
import type AddonService from '../services/addon-service';
import type ProjectService from '../features/project/project-service';
import type StrategyService from '../services/strategy-service';
import type TagTypeService from '../features/tag-type/tag-type-service';
import type TagService from '../services/tag-service';
import type ClientInstanceService from '../features/metrics/instance/instance-service';
import type ContextService from '../features/context/context-service';
import type VersionService from '../services/version-service';
import type { ApiTokenService } from '../services/api-token-service';
import type { EmailService } from '../services/email-service';
import type UserService from '../services/user-service';
import type ResetTokenService from '../services/reset-token-service';
import type FeatureTypeService from '../services/feature-type-service';
import type EventService from '../features/events/event-service';
import type HealthService from '../services/health-service';
import type SettingService from '../services/setting-service';
import type SessionService from '../services/session-service';
import type UserFeedbackService from '../services/user-feedback-service';
import type FeatureToggleService from '../features/feature-toggle/feature-toggle-service';
import type EnvironmentService from '../features/project-environments/environment-service';
import type FeatureTagService from '../services/feature-tag-service';
import type ProjectHealthService from '../services/project-health-service';
import type ClientMetricsServiceV2 from '../features/metrics/client-metrics/metrics-service-v2';
import type UserSplashService from '../services/user-splash-service';
import type { OpenApiService } from '../services/openapi-service';
import type { ClientSpecService } from '../services/client-spec-service';
import type { PlaygroundService } from '../features/playground/playground-service';
import type { GroupService } from '../services/group-service';
import type { FrontendApiService } from '../features/frontend-api/frontend-api-service';
import type EdgeService from '../services/edge-service';
import type PatService from '../services/pat-service';
import type { PublicSignupTokenService } from '../services/public-signup-token-service';
import type { LastSeenService } from '../features/metrics/last-seen/last-seen-service';
import type { InstanceStatsService } from '../features/instance-stats/instance-stats-service';
import type { FavoritesService } from '../services/favorites-service';
import type MaintenanceService from '../features/maintenance/maintenance-service';
import type { AccountService } from '../services/account-service';
import type { SchedulerService } from '../features/scheduler/scheduler-service';
import type { Knex } from 'knex';
import type {
IExportService,
IImportService,
} from '../features/export-import-toggles/export-import-service';
import type { ISegmentService } from '../features/segment/segment-service-interface';
import type ConfigurationRevisionService from '../features/feature-toggle/configuration-revision-service';
import type EventAnnouncerService from '../services/event-announcer-service';
import type { IPrivateProjectChecker } from '../features/private-project/privateProjectCheckerType';
import type { DependentFeaturesService } from '../features/dependent-features/dependent-features-service';
import type { WithTransactional } from '../db/transaction';
import type { ClientFeatureToggleService } from '../features/client-feature-toggles/client-feature-toggle-service';
import type { FeatureSearchService } from '../features/feature-search/feature-search-service';
import type { InactiveUsersService } from '../users/inactive/inactive-users-service';
import type { ProjectInsightsService } from '../features/project-insights/project-insights-service';
import type { JobService } from '../features/scheduler/job-service';
import type { FeatureLifecycleService } from '../features/feature-lifecycle/feature-lifecycle-service';
import type { IntegrationEventsService } from '../features/integration-events/integration-events-service';
import type { OnboardingService } from '../features/onboarding/onboarding-service';
import type { PersonalDashboardService } from '../features/personal-dashboard/personal-dashboard-service';
import type { ProjectStatusService } from '../features/project-status/project-status-service';
import type { UserSubscriptionsService } from '../features/user-subscriptions/user-subscriptions-service';
import type { UniqueConnectionService } from '../features/unique-connection/unique-connection-service';
import type { IFeatureLifecycleReadModel } from '../features/feature-lifecycle/feature-lifecycle-read-model-type';
export interface IUnleashServices {
transactionalAccessService: WithTransactional<AccessService>;
accessService: AccessService;
accountService: AccountService;
addonService: AddonService;
apiTokenService: ApiTokenService;
clientInstanceService: ClientInstanceService;
clientMetricsServiceV2: ClientMetricsServiceV2;
contextService: ContextService;
transactionalContextService: WithTransactional<ContextService>;
emailService: EmailService;
environmentService: EnvironmentService;
transactionalEnvironmentService: WithTransactional<EnvironmentService>;
eventService: EventService;
edgeService: EdgeService;
featureTagService: FeatureTagService;
featureToggleService: FeatureToggleService;
featureTypeService: FeatureTypeService;
groupService: GroupService;
healthService: HealthService;
projectHealthService: ProjectHealthService;
projectService: ProjectService;
transactionalProjectService: WithTransactional<ProjectService>;
playgroundService: PlaygroundService;
frontendApiService: FrontendApiService;
publicSignupTokenService: PublicSignupTokenService;
resetTokenService: ResetTokenService;
sessionService: SessionService;
settingService: SettingService;
strategyService: StrategyService;
tagService: TagService;
tagTypeService: TagTypeService;
transactionalTagTypeService: WithTransactional<TagTypeService>;
userFeedbackService: UserFeedbackService;
userService: UserService;
versionService: VersionService;
userSplashService: UserSplashService;
segmentService: ISegmentService;
openApiService: OpenApiService;
clientSpecService: ClientSpecService;
patService: PatService;
lastSeenService: LastSeenService;
instanceStatsService: InstanceStatsService;
favoritesService: FavoritesService;
maintenanceService: MaintenanceService;
exportService: IExportService;
importService: WithTransactional<IImportService>;
configurationRevisionService: ConfigurationRevisionService;
schedulerService: SchedulerService;
eventAnnouncerService: EventAnnouncerService;
transactionalFeatureToggleService: (
db: Knex.Transaction,
) => FeatureToggleService;
transactionalGroupService: (db: Knex.Transaction) => GroupService;
privateProjectChecker: IPrivateProjectChecker;
dependentFeaturesService: DependentFeaturesService;
transactionalDependentFeaturesService: WithTransactional<DependentFeaturesService>;
clientFeatureToggleService: ClientFeatureToggleService;
featureSearchService: FeatureSearchService;
inactiveUsersService: InactiveUsersService;
projectInsightsService: ProjectInsightsService;
jobService: JobService;
featureLifecycleService: FeatureLifecycleService;
transactionalFeatureLifecycleService: WithTransactional<FeatureLifecycleService>;
integrationEventsService: IntegrationEventsService;
onboardingService: OnboardingService;
personalDashboardService: PersonalDashboardService;
projectStatusService: ProjectStatusService;
transactionalUserSubscriptionsService: WithTransactional<UserSubscriptionsService>;
uniqueConnectionService: UniqueConnectionService;
featureLifecycleReadModel: IFeatureLifecycleReadModel;
}