142 lines
5.7 KiB
Go
142 lines
5.7 KiB
Go
/*
|
|
* Licensed to the Apache Software Foundation (ASF) under one
|
|
* or more contributor license agreements. See the NOTICE file
|
|
* distributed with this work for additional information
|
|
* regarding copyright ownership. The ASF licenses this file
|
|
* to you under the Apache License, Version 2.0 (the
|
|
* "License"); you may not use this file except in compliance
|
|
* with the License. You may obtain a copy of the License at
|
|
*
|
|
* http://www.apache.org/licenses/LICENSE-2.0
|
|
*
|
|
* Unless required by applicable law or agreed to in writing,
|
|
* software distributed under the License is distributed on an
|
|
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
|
|
* KIND, either express or implied. See the License for the
|
|
* specific language governing permissions and limitations
|
|
* under the License.
|
|
*/
|
|
|
|
package service
|
|
|
|
import (
|
|
"github.com/apache/answer/internal/service/action"
|
|
"github.com/apache/answer/internal/service/activity"
|
|
"github.com/apache/answer/internal/service/activity_common"
|
|
"github.com/apache/answer/internal/service/activityqueue"
|
|
"github.com/apache/answer/internal/service/ai_conversation"
|
|
answercommon "github.com/apache/answer/internal/service/answer_common"
|
|
"github.com/apache/answer/internal/service/apikey"
|
|
"github.com/apache/answer/internal/service/auth"
|
|
"github.com/apache/answer/internal/service/badge"
|
|
"github.com/apache/answer/internal/service/collection"
|
|
collectioncommon "github.com/apache/answer/internal/service/collection_common"
|
|
"github.com/apache/answer/internal/service/comment"
|
|
"github.com/apache/answer/internal/service/comment_common"
|
|
"github.com/apache/answer/internal/service/config"
|
|
"github.com/apache/answer/internal/service/content"
|
|
"github.com/apache/answer/internal/service/dashboard"
|
|
"github.com/apache/answer/internal/service/embedding"
|
|
"github.com/apache/answer/internal/service/eventqueue"
|
|
"github.com/apache/answer/internal/service/export"
|
|
"github.com/apache/answer/internal/service/feature_toggle"
|
|
"github.com/apache/answer/internal/service/file_record"
|
|
"github.com/apache/answer/internal/service/follow"
|
|
"github.com/apache/answer/internal/service/importer"
|
|
"github.com/apache/answer/internal/service/meta"
|
|
metacommon "github.com/apache/answer/internal/service/meta_common"
|
|
"github.com/apache/answer/internal/service/noticequeue"
|
|
"github.com/apache/answer/internal/service/notification"
|
|
notficationcommon "github.com/apache/answer/internal/service/notification_common"
|
|
"github.com/apache/answer/internal/service/object_info"
|
|
"github.com/apache/answer/internal/service/plugin_common"
|
|
questioncommon "github.com/apache/answer/internal/service/question_common"
|
|
"github.com/apache/answer/internal/service/rank"
|
|
"github.com/apache/answer/internal/service/reason"
|
|
"github.com/apache/answer/internal/service/report"
|
|
"github.com/apache/answer/internal/service/report_handle"
|
|
"github.com/apache/answer/internal/service/review"
|
|
"github.com/apache/answer/internal/service/revision_common"
|
|
"github.com/apache/answer/internal/service/role"
|
|
"github.com/apache/answer/internal/service/search_parser"
|
|
"github.com/apache/answer/internal/service/siteinfo"
|
|
"github.com/apache/answer/internal/service/siteinfo_common"
|
|
"github.com/apache/answer/internal/service/tag"
|
|
tagcommon "github.com/apache/answer/internal/service/tag_common"
|
|
"github.com/apache/answer/internal/service/uploader"
|
|
"github.com/apache/answer/internal/service/user_admin"
|
|
usercommon "github.com/apache/answer/internal/service/user_common"
|
|
"github.com/apache/answer/internal/service/user_external_login"
|
|
"github.com/apache/answer/internal/service/user_notification_config"
|
|
"github.com/apache/answer/internal/service/vector_sync"
|
|
"github.com/google/wire"
|
|
)
|
|
|
|
// ProviderSetService is providers.
|
|
var ProviderSetService = wire.NewSet(
|
|
comment.NewCommentService,
|
|
comment_common.NewCommentCommonService,
|
|
report.NewReportService,
|
|
content.NewVoteService,
|
|
tag.NewTagService,
|
|
follow.NewFollowService,
|
|
collection.NewCollectionGroupService,
|
|
collection.NewCollectionService,
|
|
action.NewCaptchaService,
|
|
auth.NewAuthService,
|
|
content.NewUserService,
|
|
content.NewQuestionService,
|
|
content.NewAnswerService,
|
|
export.NewEmailService,
|
|
tagcommon.NewTagCommonService,
|
|
usercommon.NewUserCommon,
|
|
questioncommon.NewQuestionCommon,
|
|
answercommon.NewAnswerCommon,
|
|
uploader.NewUploaderService,
|
|
collectioncommon.NewCollectionCommon,
|
|
revision_common.NewRevisionService,
|
|
content.NewRevisionService,
|
|
rank.NewRankService,
|
|
search_parser.NewSearchParser,
|
|
content.NewSearchService,
|
|
metacommon.NewMetaCommonService,
|
|
object_info.NewObjService,
|
|
report_handle.NewReportHandle,
|
|
user_admin.NewUserAdminService,
|
|
reason.NewReasonService,
|
|
siteinfo_common.NewSiteInfoCommonService,
|
|
siteinfo.NewSiteInfoService,
|
|
notficationcommon.NewNotificationCommon,
|
|
notification.NewNotificationService,
|
|
activity.NewAnswerActivityService,
|
|
dashboard.NewDashboardService,
|
|
activity_common.NewActivityCommon,
|
|
activity.NewActivityService,
|
|
role.NewRoleService,
|
|
role.NewUserRoleRelService,
|
|
role.NewRolePowerRelService,
|
|
user_external_login.NewUserExternalLoginService,
|
|
user_external_login.NewUserCenterLoginService,
|
|
plugin_common.NewPluginCommonService,
|
|
config.NewConfigService,
|
|
noticequeue.NewService,
|
|
activityqueue.NewService,
|
|
user_notification_config.NewUserNotificationConfigService,
|
|
notification.NewExternalNotificationService,
|
|
noticequeue.NewExternalService,
|
|
review.NewReviewService,
|
|
meta.NewMetaService,
|
|
eventqueue.NewService,
|
|
badge.NewBadgeService,
|
|
badge.NewBadgeEventService,
|
|
badge.NewBadgeAwardService,
|
|
badge.NewBadgeGroupService,
|
|
importer.NewImporterService,
|
|
file_record.NewFileRecordService,
|
|
apikey.NewAPIKeyService,
|
|
ai_conversation.NewAIConversationService,
|
|
feature_toggle.NewFeatureToggleService,
|
|
embedding.NewEmbeddingService,
|
|
vector_sync.NewService,
|
|
)
|