SYMBOL INDEX (3392 symbols across 534 files) FILE: backend/api/auth/v1/auth.go type AuthGetReq (line 9) | type AuthGetReq struct type AuthGetResp (line 14) | type AuthGetResp struct type AuthItem (line 22) | type AuthItem struct type AuthSetReq (line 32) | type AuthSetReq struct type AuthSetResp (line 40) | type AuthSetResp struct type AuthDeleteReq (line 42) | type AuthDeleteReq struct type AuthDeleteResp (line 47) | type AuthDeleteResp struct FILE: backend/api/conversation/v1/conversation.go type GetConversationDetailReq (line 3) | type GetConversationDetailReq struct type GetConversationDetailResp (line 8) | type GetConversationDetailResp struct type GetMessageDetailReq (line 11) | type GetMessageDetailReq struct type GetMessageDetailResp (line 16) | type GetMessageDetailResp struct FILE: backend/api/crawler/v1/confluence.go type ConfluenceParseReq (line 3) | type ConfluenceParseReq struct type ConfluenceParseItem (line 7) | type ConfluenceParseItem struct type ConfluenceParseResp (line 13) | type ConfluenceParseResp struct type ConfluenceScrapeReq (line 18) | type ConfluenceScrapeReq struct type ConfluenceScrapeResp (line 24) | type ConfluenceScrapeResp struct FILE: backend/api/crawler/v1/crawler.go type CrawlerParseReq (line 8) | type CrawlerParseReq struct type CrawlerParseResp (line 17) | type CrawlerParseResp struct type CrawlerExportReq (line 22) | type CrawlerExportReq struct type CrawlerExportResp (line 30) | type CrawlerExportResp struct type CrawlerResultReq (line 34) | type CrawlerResultReq struct type CrawlerResultResp (line 38) | type CrawlerResultResp struct type CrawlerResultsReq (line 43) | type CrawlerResultsReq struct type CrawlerResultsResp (line 47) | type CrawlerResultsResp struct type CrawlerResultItem (line 51) | type CrawlerResultItem struct FILE: backend/api/crawler/v1/epub.go type EpubParseReq (line 3) | type EpubParseReq struct type EpubParseResp (line 9) | type EpubParseResp struct FILE: backend/api/crawler/v1/feishu.go type FeishuSpaceListReq (line 3) | type FeishuSpaceListReq struct type FeishuSpaceListResp (line 8) | type FeishuSpaceListResp struct type FeishuSearchWikiReq (line 13) | type FeishuSearchWikiReq struct type FeishuSearchWikiResp (line 20) | type FeishuSearchWikiResp struct type FeishuListCloudDocReq (line 28) | type FeishuListCloudDocReq struct type FeishuListCloudDocResp (line 34) | type FeishuListCloudDocResp struct type FeishuGetDocReq (line 42) | type FeishuGetDocReq struct type FeishuGetDocResp (line 50) | type FeishuGetDocResp struct FILE: backend/api/crawler/v1/mindoc.go type MindocParseReq (line 3) | type MindocParseReq struct type MindocParseItem (line 7) | type MindocParseItem struct type MindocParseResp (line 13) | type MindocParseResp struct type MindocScrapeReq (line 18) | type MindocScrapeReq struct type MindocScrapeResp (line 24) | type MindocScrapeResp struct FILE: backend/api/crawler/v1/notion.go type NotionParseReq (line 3) | type NotionParseReq struct type NotionParseResp (line 6) | type NotionParseResp struct type NotionParseItem (line 11) | type NotionParseItem struct type NotionScrapeReq (line 16) | type NotionScrapeReq struct type NotionScrapeResp (line 22) | type NotionScrapeResp struct FILE: backend/api/crawler/v1/siyuan.go type SiyuanParseReq (line 3) | type SiyuanParseReq struct type SiyuanParseItem (line 7) | type SiyuanParseItem struct type SiyuanParseResp (line 13) | type SiyuanParseResp struct type SiyuanScrapeReq (line 18) | type SiyuanScrapeReq struct type SiyuanScrapeResp (line 24) | type SiyuanScrapeResp struct FILE: backend/api/crawler/v1/wikijs.go type WikijsParseReq (line 3) | type WikijsParseReq struct type WikijsParseItem (line 7) | type WikijsParseItem struct type WikijsParseResp (line 12) | type WikijsParseResp struct type WikijsScrapeReq (line 17) | type WikijsScrapeReq struct type WikijsScrapeResp (line 23) | type WikijsScrapeResp struct FILE: backend/api/crawler/v1/yuque.go type YuqueParseReq (line 3) | type YuqueParseReq struct type YuqueParseResp (line 9) | type YuqueParseResp struct type YuqueParseItem (line 13) | type YuqueParseItem struct FILE: backend/api/kb/v1/kb.go type KBUserListReq (line 7) | type KBUserListReq struct type KBUserListItemResp (line 11) | type KBUserListItemResp struct type KBUserInviteReq (line 18) | type KBUserInviteReq struct type KBUserInviteResp (line 24) | type KBUserInviteResp struct type KBUserUpdateReq (line 27) | type KBUserUpdateReq struct type KBUserUpdateResp (line 33) | type KBUserUpdateResp struct type KBUserDeleteReq (line 36) | type KBUserDeleteReq struct type KBUserDeleteResp (line 41) | type KBUserDeleteResp struct FILE: backend/api/nav/v1/nav.go type NavListReq (line 5) | type NavListReq struct type NavAddReq (line 9) | type NavAddReq struct type NavUpdateReq (line 15) | type NavUpdateReq struct type NavDeleteReq (line 21) | type NavDeleteReq struct type NavMoveReq (line 26) | type NavMoveReq struct type NavListResp (line 33) | type NavListResp struct FILE: backend/api/node/v1/node.go type GetNodeDetailReq (line 9) | type GetNodeDetailReq struct type NodeDetailResp (line 15) | type NodeDetailResp struct type NodePermissionReq (line 37) | type NodePermissionReq struct type NodePermissionResp (line 42) | type NodePermissionResp struct type NodePermissionEditReq (line 50) | type NodePermissionEditReq struct type NodePermissionEditResp (line 59) | type NodePermissionEditResp struct type NodeRestudyReq (line 62) | type NodeRestudyReq struct type NodeRestudyResp (line 67) | type NodeRestudyResp struct type NodeStatsReq (line 70) | type NodeStatsReq struct type NodeStatsResp (line 74) | type NodeStatsResp struct type NodeMoveNavReq (line 80) | type NodeMoveNavReq struct type NodeListGroupNavReq (line 86) | type NodeListGroupNavReq struct type NodeListGroupNavResp (line 92) | type NodeListGroupNavResp struct FILE: backend/api/openapi/v1/openapi.go type GitHubCallbackReq (line 3) | type GitHubCallbackReq struct type GitHubCallbackResp (line 8) | type GitHubCallbackResp struct FILE: backend/api/share/v1/auth.go type AuthLoginSimpleReq (line 5) | type AuthLoginSimpleReq struct type AuthLoginSimpleResp (line 9) | type AuthLoginSimpleResp struct type AuthGetReq (line 12) | type AuthGetReq struct type AuthGetResp (line 14) | type AuthGetResp struct type AuthGitHubReq (line 20) | type AuthGitHubReq struct type AuthGitHubResp (line 25) | type AuthGitHubResp struct type GitHubCallbackReq (line 29) | type GitHubCallbackReq struct type GitHubCallbackResp (line 34) | type GitHubCallbackResp struct FILE: backend/api/share/v1/common.go type ShareFileUploadReq (line 3) | type ShareFileUploadReq struct type FileUploadResp (line 9) | type FileUploadResp struct type ShareFileUploadUrlReq (line 13) | type ShareFileUploadUrlReq struct type ShareFileUploadUrlResp (line 19) | type ShareFileUploadUrlResp struct FILE: backend/api/share/v1/nav.go type ShareNavListReq (line 3) | type ShareNavListReq struct FILE: backend/api/share/v1/node.go type ShareNodeDetailResp (line 9) | type ShareNodeDetailResp struct type NodeListGroupNavResp (line 31) | type NodeListGroupNavResp struct FILE: backend/api/share/v1/wechat.go type WechatAppInfoResp (line 3) | type WechatAppInfoResp struct FILE: backend/api/stat/v1/stat.go type StatInstantCountReq (line 8) | type StatInstantCountReq struct type StatInstantPagesReq (line 12) | type StatInstantPagesReq struct type StatHotPagesReq (line 16) | type StatHotPagesReq struct type StatCountReq (line 21) | type StatCountReq struct type StatCountResp (line 26) | type StatCountResp struct type StatRefererHostsReq (line 33) | type StatRefererHostsReq struct type StatBrowsersReq (line 38) | type StatBrowsersReq struct type StatGeoCountReq (line 43) | type StatGeoCountReq struct type StatConversationDistributionReq (line 48) | type StatConversationDistributionReq struct type StatConversationDistributionResp (line 53) | type StatConversationDistributionResp struct FILE: backend/api/user/v1/user.go type CreateUserReq (line 9) | type CreateUserReq struct type CreateUserResp (line 15) | type CreateUserResp struct type UserInfoResp (line 19) | type UserInfoResp struct type UserListReq (line 28) | type UserListReq struct type UserListItemResp (line 31) | type UserListItemResp struct type LoginReq (line 39) | type LoginReq struct type LoginResp (line 44) | type LoginResp struct type UserListResp (line 48) | type UserListResp struct type ResetPasswordReq (line 52) | type ResetPasswordReq struct type DeleteUserReq (line 57) | type DeleteUserReq struct FILE: backend/apm/trace.go type Tracer (line 19) | type Tracer struct function NewTracer (line 23) | func NewTracer(config *config.Config) (*Tracer, error) { FILE: backend/cmd/api/main.go function main (line 17) | func main() { FILE: backend/cmd/api/wire.go function createApp (line 16) | func createApp() (*App, error) { type App (line 32) | type App struct FILE: backend/cmd/api/wire_gen.go function createApp (line 34) | func createApp() (*App, error) { type App (line 212) | type App struct FILE: backend/cmd/consumer/main.go function main (line 7) | func main() { FILE: backend/cmd/consumer/wire.go function createApp (line 14) | func createApp() (*App, error) { type App (line 26) | type App struct FILE: backend/cmd/consumer/wire_gen.go function createApp (line 28) | func createApp() (*App, error) { type App (line 108) | type App struct FILE: backend/cmd/migrate/main.go function main (line 3) | func main() { FILE: backend/cmd/migrate/wire.go function createApp (line 13) | func createApp() (*App, error) { type App (line 25) | type App struct FILE: backend/cmd/migrate/wire_gen.go function createApp (line 27) | func createApp() (*App, error) { type App (line 97) | type App struct FILE: backend/config/config.go type Config (line 11) | type Config struct method GetString (line 229) | func (*Config) GetString(key string) string { method GetInt (line 233) | func (*Config) GetInt(key string) int { method GetUint64 (line 237) | func (*Config) GetUint64(key string) uint64 { method GetBool (line 241) | func (*Config) GetBool(key string) bool { method GetStringSlice (line 245) | func (*Config) GetStringSlice(key string) []string { method GetFloat64 (line 249) | func (*Config) GetFloat64(key string) float64 { type LogConfig (line 26) | type LogConfig struct type HTTPConfig (line 30) | type HTTPConfig struct type PGConfig (line 34) | type PGConfig struct type MQConfig (line 38) | type MQConfig struct type NATSConfig (line 43) | type NATSConfig struct type RAGConfig (line 49) | type RAGConfig struct type CTRAGConfig (line 54) | type CTRAGConfig struct type RedisConfig (line 59) | type RedisConfig struct type AuthConfig (line 64) | type AuthConfig struct type JWTConfig (line 69) | type JWTConfig struct type S3Config (line 73) | type S3Config struct type SentryConfig (line 79) | type SentryConfig struct function NewConfig (line 84) | func NewConfig() (*Config, error) { function overrideWithEnv (line 162) | func overrideWithEnv(c *Config) { FILE: backend/consts/admin.go type UserKBPermission (line 3) | type UserKBPermission constant UserKBPermissionNull (line 6) | UserKBPermissionNull UserKBPermission = "" constant UserKBPermissionNotNull (line 7) | UserKBPermissionNotNull UserKBPermission = "not null" constant UserKBPermissionFullControl (line 8) | UserKBPermissionFullControl UserKBPermission = "full_control" constant UserKBPermissionDocManage (line 9) | UserKBPermissionDocManage UserKBPermission = "doc_manage" constant UserKBPermissionDataOperate (line 10) | UserKBPermissionDataOperate UserKBPermission = "data_operate" type UserRole (line 13) | type UserRole constant UserRoleAdmin (line 16) | UserRoleAdmin UserRole = "admin" constant UserRoleUser (line 17) | UserRoleUser UserRole = "user" FILE: backend/consts/app.go type CopySetting (line 3) | type CopySetting constant CopySettingNone (line 6) | CopySettingNone CopySetting = "" constant CopySettingAppend (line 7) | CopySettingAppend CopySetting = "append" constant CopySettingDisabled (line 8) | CopySettingDisabled CopySetting = "disabled" type WatermarkSetting (line 11) | type WatermarkSetting constant WatermarkDisabled (line 14) | WatermarkDisabled WatermarkSetting = "" constant WatermarkHidden (line 15) | WatermarkHidden WatermarkSetting = "hidden" constant WatermarkVisible (line 16) | WatermarkVisible WatermarkSetting = "visible" type HomePageSetting (line 19) | type HomePageSetting constant HomePageSettingDoc (line 22) | HomePageSettingDoc HomePageSetting = "doc" constant HomePageSettingCustom (line 23) | HomePageSettingCustom HomePageSetting = "custom" FILE: backend/consts/auth.go type SourceType (line 3) | type SourceType method Name (line 30) | func (s SourceType) Name() string { constant SourceTypeDingTalk (line 10) | SourceTypeDingTalk SourceType = "dingtalk" constant SourceTypeFeishu (line 11) | SourceTypeFeishu SourceType = "feishu" constant SourceTypeWeCom (line 12) | SourceTypeWeCom SourceType = "wecom" constant SourceTypeOAuth (line 13) | SourceTypeOAuth SourceType = "oauth" constant SourceTypeGitHub (line 14) | SourceTypeGitHub SourceType = "github" constant SourceTypeCAS (line 15) | SourceTypeCAS SourceType = "cas" constant SourceTypeLDAP (line 16) | SourceTypeLDAP SourceType = "ldap" constant SourceTypeWidget (line 17) | SourceTypeWidget SourceType = "widget" constant SourceTypeDingtalkBot (line 18) | SourceTypeDingtalkBot SourceType = "dingtalk_bot" constant SourceTypeFeishuBot (line 19) | SourceTypeFeishuBot SourceType = "feishu_bot" constant SourceTypeLarkBot (line 20) | SourceTypeLarkBot SourceType = "lark_bot" constant SourceTypeWechatBot (line 21) | SourceTypeWechatBot SourceType = "wechat_bot" constant SourceTypeWecomAIBot (line 22) | SourceTypeWecomAIBot SourceType = "wecom_ai_bot" constant SourceTypeWechatServiceBot (line 23) | SourceTypeWechatServiceBot SourceType = "wechat_service_bot" constant SourceTypeDiscordBot (line 24) | SourceTypeDiscordBot SourceType = "discord_bot" constant SourceTypeWechatOfficialAccount (line 25) | SourceTypeWechatOfficialAccount SourceType = "wechat_official_account" constant SourceTypeOpenAIAPI (line 26) | SourceTypeOpenAIAPI SourceType = "openai_api" constant SourceTypeMcpServer (line 27) | SourceTypeMcpServer SourceType = "mcp_server" type AuthType (line 57) | type AuthType constant AuthTypeNull (line 60) | AuthTypeNull AuthType = "" constant AuthTypeSimple (line 61) | AuthTypeSimple AuthType = "simple" constant AuthTypeEnterprise (line 62) | AuthTypeEnterprise AuthType = "enterprise" FILE: backend/consts/captcha.go type RedeemCaptchaReq (line 3) | type RedeemCaptchaReq struct FILE: backend/consts/consts.go type StatDay (line 3) | type StatDay constant StatDay1 (line 6) | StatDay1 StatDay = 1 constant StatDay7 (line 7) | StatDay7 StatDay = 7 constant StatDay30 (line 8) | StatDay30 StatDay = 30 constant StatDay90 (line 9) | StatDay90 StatDay = 90 FILE: backend/consts/contribute.go type ContributeStatus (line 3) | type ContributeStatus constant ContributeStatusPending (line 6) | ContributeStatusPending ContributeStatus = "pending" constant ContributeStatusApproved (line 7) | ContributeStatusApproved ContributeStatus = "approved" constant ContributeStatusRejected (line 8) | ContributeStatusRejected ContributeStatus = "rejected" type ContributeType (line 11) | type ContributeType constant ContributeTypeAdd (line 14) | ContributeTypeAdd ContributeType = "add" constant ContributeTypeEdit (line 15) | ContributeTypeEdit ContributeType = "edit" FILE: backend/consts/crawler.go type CrawlerStatus (line 3) | type CrawlerStatus constant CrawlerStatusPending (line 6) | CrawlerStatusPending CrawlerStatus = "pending" constant CrawlerStatusInProcess (line 7) | CrawlerStatusInProcess CrawlerStatus = "in_process" constant CrawlerStatusCompleted (line 8) | CrawlerStatusCompleted CrawlerStatus = "completed" constant CrawlerStatusFailed (line 9) | CrawlerStatusFailed CrawlerStatus = "failed" FILE: backend/consts/license.go type contextKey (line 7) | type contextKey constant ContextKeyEdition (line 9) | ContextKeyEdition contextKey = "edition" type LicenseEdition (line 11) | type LicenseEdition constant LicenseEditionFree (line 14) | LicenseEditionFree LicenseEdition = 0 constant LicenseEditionProfession (line 15) | LicenseEditionProfession LicenseEdition = 1 constant LicenseEditionEnterprise (line 16) | LicenseEditionEnterprise LicenseEdition = 2 constant LicenseEditionBusiness (line 17) | LicenseEditionBusiness LicenseEdition = 3 function GetLicenseEdition (line 20) | func GetLicenseEdition(c echo.Context) LicenseEdition { FILE: backend/consts/model.go type AutoModeDefaultModel (line 3) | type AutoModeDefaultModel constant AutoModeDefaultChatModel (line 6) | AutoModeDefaultChatModel AutoModeDefaultModel = "deepseek-chat" constant AutoModeDefaultEmbeddingModel (line 7) | AutoModeDefaultEmbeddingModel AutoModeDefaultModel = "bge-m3" constant AutoModeDefaultRerankModel (line 8) | AutoModeDefaultRerankModel AutoModeDefaultModel = "bge-reranker-v2-m3" constant AutoModeDefaultAnalysisModel (line 9) | AutoModeDefaultAnalysisModel AutoModeDefaultModel = "qwen2.5-3b-instruct" constant AutoModeDefaultAnalysisVLModel (line 10) | AutoModeDefaultAnalysisVLModel AutoModeDefaultModel = "qwen-vl-max-latest" function GetAutoModeDefaultModel (line 13) | func GetAutoModeDefaultModel(modelType string) string { type ModelSettingMode (line 30) | type ModelSettingMode constant ModelSettingModeManual (line 33) | ModelSettingModeManual ModelSettingMode = "manual" constant ModelSettingModeAuto (line 34) | ModelSettingModeAuto ModelSettingMode = "auto" constant AutoModeBaseURL (line 38) | AutoModeBaseURL = "https://model-square.app.baizhi.cloud/v1" FILE: backend/consts/node.go type NodeAccessPerm (line 3) | type NodeAccessPerm constant NodeAccessPermOpen (line 6) | NodeAccessPermOpen NodeAccessPerm = "open" constant NodeAccessPermPartial (line 7) | NodeAccessPermPartial NodeAccessPerm = "partial" constant NodeAccessPermClosed (line 8) | NodeAccessPermClosed NodeAccessPerm = "closed" type NodePermName (line 11) | type NodePermName constant NodePermNameVisible (line 14) | NodePermNameVisible NodePermName = "visible" constant NodePermNameVisitable (line 15) | NodePermNameVisitable NodePermName = "visitable" constant NodePermNameAnswerable (line 16) | NodePermNameAnswerable NodePermName = "answerable" type NodeRagInfoStatus (line 19) | type NodeRagInfoStatus constant NodeRagStatusPending (line 22) | NodeRagStatusPending NodeRagInfoStatus = "PENDING" constant NodeRagStatusRunning (line 23) | NodeRagStatusRunning NodeRagInfoStatus = "RUNNING" constant NodeRagStatusFailed (line 24) | NodeRagStatusFailed NodeRagInfoStatus = "FAILED" constant NodeRagStatusSucceeded (line 25) | NodeRagStatusSucceeded NodeRagInfoStatus = "SUCCEEDED" constant NodeRagStatusReindexing (line 26) | NodeRagStatusReindexing NodeRagInfoStatus = "REINDEX" FILE: backend/consts/parse.go type CrawlerSource (line 3) | type CrawlerSource method Type (line 32) | func (c CrawlerSource) Type() CrawlerSourceType { constant CrawlerSourceUrl (line 7) | CrawlerSourceUrl CrawlerSource = "url" constant CrawlerSourceRSS (line 8) | CrawlerSourceRSS CrawlerSource = "rss" constant CrawlerSourceSitemap (line 9) | CrawlerSourceSitemap CrawlerSource = "sitemap" constant CrawlerSourceNotion (line 10) | CrawlerSourceNotion CrawlerSource = "notion" constant CrawlerSourceFeishu (line 11) | CrawlerSourceFeishu CrawlerSource = "feishu" constant CrawlerSourceDingtalk (line 12) | CrawlerSourceDingtalk CrawlerSource = "dingtalk" constant CrawlerSourceFile (line 15) | CrawlerSourceFile CrawlerSource = "file" constant CrawlerSourceEpub (line 16) | CrawlerSourceEpub CrawlerSource = "epub" constant CrawlerSourceYuque (line 17) | CrawlerSourceYuque CrawlerSource = "yuque" constant CrawlerSourceSiyuan (line 18) | CrawlerSourceSiyuan CrawlerSource = "siyuan" constant CrawlerSourceMindoc (line 19) | CrawlerSourceMindoc CrawlerSource = "mindoc" constant CrawlerSourceWikijs (line 20) | CrawlerSourceWikijs CrawlerSource = "wikijs" constant CrawlerSourceConfluence (line 21) | CrawlerSourceConfluence CrawlerSource = "confluence" type CrawlerSourceType (line 24) | type CrawlerSourceType constant CrawlerSourceTypeFile (line 27) | CrawlerSourceTypeFile CrawlerSourceType = "file" constant CrawlerSourceTypeUrl (line 28) | CrawlerSourceTypeUrl CrawlerSourceType = "url" constant CrawlerSourceTypeKey (line 29) | CrawlerSourceTypeKey CrawlerSourceType = "key" FILE: backend/consts/system_setting.go type SystemSettingKey (line 3) | type SystemSettingKey constant SystemSettingModelMode (line 6) | SystemSettingModelMode SystemSettingKey = "model_setting_mode" constant SystemSettingUpload (line 7) | SystemSettingUpload SystemSettingKey = "upload" FILE: backend/docs/docs.go constant docTemplate (line 6) | docTemplate = `{ function init (line 9717) | func init() { FILE: backend/domain/api_token.go type APIToken (line 10) | type APIToken struct method TableName (line 21) | func (APIToken) TableName() string { type CtxAuthInfo (line 25) | type CtxAuthInfo struct type contextKey (line 32) | type contextKey constant CtxAuthInfoKey (line 35) | CtxAuthInfoKey contextKey = "ctx_auth_info" function GetAuthInfoFromCtx (line 38) | func GetAuthInfoFromCtx(c context.Context) *CtxAuthInfo { FILE: backend/domain/app.go type AppType (line 13) | type AppType method ToSourceType (line 45) | func (t AppType) ToSourceType() consts.SourceType { constant AppTypeWeb (line 16) | AppTypeWeb AppType = iota + 1 constant AppTypeWidget (line 17) | AppTypeWidget constant AppTypeDingTalkBot (line 18) | AppTypeDingTalkBot constant AppTypeFeishuBot (line 19) | AppTypeFeishuBot constant AppTypeWechatBot (line 20) | AppTypeWechatBot constant AppTypeWechatServiceBot (line 21) | AppTypeWechatServiceBot constant AppTypeDisCordBot (line 22) | AppTypeDisCordBot constant AppTypeWechatOfficialAccount (line 23) | AppTypeWechatOfficialAccount constant AppTypeOpenAIAPI (line 24) | AppTypeOpenAIAPI constant AppTypeWecomAIBot (line 25) | AppTypeWecomAIBot constant AppTypeLarkBot (line 26) | AppTypeLarkBot constant AppTypeMcpServer (line 27) | AppTypeMcpServer type App (line 74) | type App struct type AppSettings (line 86) | type AppSettings struct method Scan (line 464) | func (s *AppSettings) Scan(value any) error { method Value (line 472) | func (s AppSettings) Value() (driver.Value, error) { type WeChatAppAdvancedSetting (line 178) | type WeChatAppAdvancedSetting struct type StatsSetting (line 186) | type StatsSetting struct type ConversationSetting (line 190) | type ConversationSetting struct type WebAppLandingTheme (line 195) | type WebAppLandingTheme struct type MCPServerSettings (line 199) | type MCPServerSettings struct type MCPToolSettings (line 205) | type MCPToolSettings struct type LarkBotSettings (line 210) | type LarkBotSettings struct type BannerConfig (line 218) | type BannerConfig struct type BasicDocConfig (line 235) | type BasicDocConfig struct type DirDocConfig (line 240) | type DirDocConfig struct type SimpleDocConfig (line 246) | type SimpleDocConfig struct type CarouselConfig (line 251) | type CarouselConfig struct type FaqConfig (line 261) | type FaqConfig struct type TextConfig (line 271) | type TextConfig struct type MetricsConfig (line 275) | type MetricsConfig struct type CaseConfig (line 284) | type CaseConfig struct type CommentConfig (line 293) | type CommentConfig struct type FeatureConfig (line 304) | type FeatureConfig struct type ImgTextConfig (line 313) | type ImgTextConfig struct type TextImgConfig (line 322) | type TextImgConfig struct type QuestionConfig (line 331) | type QuestionConfig struct type BlockGridConfig (line 339) | type BlockGridConfig struct type WebAppLandingConfig (line 349) | type WebAppLandingConfig struct type WecomAIBotSettings (line 370) | type WecomAIBotSettings struct type DisclaimerSettings (line 376) | type DisclaimerSettings struct type ContributeSettings (line 380) | type ContributeSettings struct type OpenAIAPIBotSettings (line 384) | type OpenAIAPIBotSettings struct type WebAppCustomSettings (line 389) | type WebAppCustomSettings struct type SocialMediaAccount (line 397) | type SocialMediaAccount struct type WebAppCommentSettings (line 405) | type WebAppCommentSettings struct type AIFeedbackSettings (line 410) | type AIFeedbackSettings struct type ThemeAndStyle (line 415) | type ThemeAndStyle struct type CatalogSettings (line 420) | type CatalogSettings struct type FooterSettings (line 426) | type FooterSettings struct type WidgetBotSettings (line 436) | type WidgetBotSettings struct type BrandGroup (line 454) | type BrandGroup struct type Link (line 459) | type Link struct type AppDetailResp (line 476) | type AppDetailResp struct type AppSettingsResp (line 488) | type AppSettingsResp struct method Scan (line 604) | func (s *AppSettingsResp) Scan(value any) error { method Value (line 612) | func (s AppSettingsResp) Value() (driver.Value, error) { type WebAppLandingConfigResp (line 582) | type WebAppLandingConfigResp struct type UpdateAppReq (line 616) | type UpdateAppReq struct type CreateAppReq (line 622) | type CreateAppReq struct type AppInfoResp (line 629) | type AppInfoResp struct FILE: backend/domain/auth.go constant SessionCacheKey (line 17) | SessionCacheKey = "_session_store" constant SessionName (line 18) | SessionName = "_pw_auth_session" type Auth (line 21) | type Auth struct method TableName (line 33) | func (Auth) TableName() string { type AuthGroup (line 37) | type AuthGroup struct method TableName (line 55) | func (AuthGroup) TableName() string { type AuthConfig (line 59) | type AuthConfig struct method TableName (line 80) | func (AuthConfig) TableName() string { type AuthSetting (line 84) | type AuthSetting struct method Scan (line 68) | func (s *AuthSetting) Scan(value any) error { method Value (line 76) | func (s AuthSetting) Value() (driver.Value, error) { type AuthInfo (line 90) | type AuthInfo struct type AuthUserInfo (line 95) | type AuthUserInfo struct method Scan (line 101) | func (s *AuthUserInfo) Scan(value any) error { method Value (line 109) | func (s *AuthUserInfo) Value() (driver.Value, error) { function GetAuthID (line 113) | func GetAuthID(c echo.Context) uint { FILE: backend/domain/chat.go type ChatRequest (line 10) | type ChatRequest struct type ChatRagOnlyRequest (line 28) | type ChatRagOnlyRequest struct type ConversationInfo (line 37) | type ConversationInfo struct method Scan (line 51) | func (s *ConversationInfo) Scan(value any) error { method Value (line 59) | func (s ConversationInfo) Value() (driver.Value, error) { type UserInfo (line 41) | type UserInfo struct type MessageFrom (line 63) | type MessageFrom method String (line 70) | func (m MessageFrom) String() string { constant MessageFromGroup (line 66) | MessageFromGroup MessageFrom = iota + 1 constant MessageFromPrivate (line 67) | MessageFromPrivate type ChatSearchReq (line 81) | type ChatSearchReq struct type ChatSearchResp (line 91) | type ChatSearchResp struct FILE: backend/domain/comment.go type Comment (line 13) | type Comment struct method TableName (line 27) | func (Comment) TableName() string { type CommentInfo (line 31) | type CommentInfo struct method Value (line 47) | func (d *CommentInfo) Value() (driver.Value, error) { method Scan (line 51) | func (d *CommentInfo) Scan(value any) error { type CommentStatus (line 39) | type CommentStatus constant CommentStatusReject (line 42) | CommentStatusReject CommentStatus = -1 constant CommentStatusPending (line 43) | CommentStatusPending CommentStatus = 0 constant CommentStatusAccepted (line 44) | CommentStatusAccepted CommentStatus = 1 type CommentReq (line 59) | type CommentReq struct type CommentListReq (line 69) | type CommentListReq struct type CommentListItem (line 75) | type CommentListItem struct type DeleteCommentListReq (line 88) | type DeleteCommentListReq struct type ShareCommentListItem (line 92) | type ShareCommentListItem struct FILE: backend/domain/contribute.go type Contribute (line 9) | type Contribute struct method TableName (line 27) | func (Contribute) TableName() string { FILE: backend/domain/conversation.go type Conversation (line 13) | type Conversation struct type ConversationMessage (line 27) | type ConversationMessage struct type FeedBackInfo (line 55) | type FeedBackInfo struct method Value (line 61) | func (f *FeedBackInfo) Value() (driver.Value, error) { method Scan (line 65) | func (f *FeedBackInfo) Scan(value any) error { type ConversationReference (line 73) | type ConversationReference struct type ConversationListReq (line 82) | type ConversationListReq struct type ConversationListItem (line 93) | type ConversationListItem struct type ConversationDetailResp (line 109) | type ConversationDetailResp struct type MessageListReq (line 123) | type MessageListReq struct type ConversationMessageListItem (line 128) | type ConversationMessageListItem struct type ShareConversationDetailResp (line 148) | type ShareConversationDetailResp struct type ShareConversationMessage (line 155) | type ShareConversationMessage struct FILE: backend/domain/creation.go type TextReq (line 3) | type TextReq struct constant FIMPrefix (line 10) | FIMPrefix = "" constant FIMSuffix (line 11) | FIMSuffix = "" constant FIMMiddle (line 12) | FIMMiddle = "" type CompleteReq (line 15) | type CompleteReq struct FILE: backend/domain/epub.go type EpubReq (line 3) | type EpubReq struct type EpubResp (line 7) | type EpubResp struct FILE: backend/domain/file.go constant Bucket (line 4) | Bucket = "static-file" type ObjectUploadResp (line 7) | type ObjectUploadResp struct type UploadByUrlReq (line 12) | type UploadByUrlReq struct type AnydocUploadResp (line 17) | type AnydocUploadResp struct FILE: backend/domain/icon.go constant DefaultGitHubIconB64 (line 4) | DefaultGitHubIconB64 = `data:image/png;base64,iVBORw0KGgoAAAANSUhEUgA... constant DefaultPandaWikiIconB64 (line 5) | DefaultPandaWikiIconB64 = `data:image/png;base64,iVBORw0KGgoAAAANSUhEUgA... FILE: backend/domain/ip.go type IPAddress (line 3) | type IPAddress struct FILE: backend/domain/json.go type MapStrInt64 (line 9) | type MapStrInt64 method Value (line 11) | func (m *MapStrInt64) Value() (driver.Value, error) { method Scan (line 18) | func (m *MapStrInt64) Scan(value interface{}) error { FILE: backend/domain/knowledge_base.go type KnowledgeBase (line 15) | type KnowledgeBase struct type AccessSettings (line 28) | type AccessSettings struct method GetAuthType (line 51) | func (s *AccessSettings) GetAuthType() consts.AuthType { method Scan (line 61) | func (s *AccessSettings) Scan(value any) error { method Value (line 69) | func (s *AccessSettings) Value() (driver.Value, error) { method GetBaseUrl (line 73) | func (s *AccessSettings) GetBaseUrl() string { type SimpleAuth (line 42) | type SimpleAuth struct type EnterpriseAuth (line 47) | type EnterpriseAuth struct type CreateKnowledgeBaseReq (line 96) | type CreateKnowledgeBaseReq struct type UpdateKnowledgeBaseReq (line 107) | type UpdateKnowledgeBaseReq struct type KnowledgeBaseListItem (line 113) | type KnowledgeBaseListItem struct type KnowledgeBaseDetail (line 125) | type KnowledgeBaseDetail struct type KBRelease (line 138) | type KBRelease struct type KBReleaseNodeRelease (line 148) | type KBReleaseNodeRelease struct method TableName (line 158) | func (KBReleaseNodeRelease) TableName() string { type CreateKBReleaseReq (line 162) | type CreateKBReleaseReq struct type KBReleaseListItemResp (line 169) | type KBReleaseListItemResp struct type GetKBReleaseListReq (line 178) | type GetKBReleaseListReq struct FILE: backend/domain/license.go constant ContextKeyEditionLimitation (line 8) | ContextKeyEditionLimitation contextKey = "edition_limitation" type BaseEditionLimitation (line 10) | type BaseEditionLimitation struct function GetBaseEditionLimitation (line 32) | func GetBaseEditionLimitation(c context.Context) BaseEditionLimitation { FILE: backend/domain/llm.go constant PromptHeader (line 9) | PromptHeader = `你是一个专业的AI知识库问答助手,要按照以下步骤回答用户问题。 function processContentWithBaseURL (line 86) | func processContentWithBaseURL(content, baseURL string) string { function FormatNodeChunks (line 131) | func FormatNodeChunks(nodeChunks []*RankedNodeChunks, baseURL string) st... FILE: backend/domain/model.go type ModelProvider (line 13) | type ModelProvider constant ModelProviderBrandBaiZhiCloud (line 16) | ModelProviderBrandBaiZhiCloud ModelProvider = "BaiZhiCloud" type ModelType (line 19) | type ModelType constant ModelTypeChat (line 22) | ModelTypeChat ModelType = "chat" constant ModelTypeEmbedding (line 23) | ModelTypeEmbedding ModelType = "embedding" constant ModelTypeRerank (line 24) | ModelTypeRerank ModelType = "rerank" constant ModelTypeAnalysis (line 25) | ModelTypeAnalysis ModelType = "analysis" constant ModelTypeAnalysisVL (line 26) | ModelTypeAnalysisVL ModelType = "analysis-vl" type Model (line 29) | type Model struct method ToModelkitModel (line 52) | func (m *Model) ToModelkitModel() (*modelkitDomain.ModelMetadata, erro... type ModelListItem (line 68) | type ModelListItem struct type CreateModelReq (line 86) | type CreateModelReq struct type UpdateModelReq (line 91) | type UpdateModelReq struct type CheckModelReq (line 98) | type CheckModelReq struct type ModelParam (line 103) | type ModelParam struct method Map (line 113) | func (p ModelParam) Map() map[string]any { method Value (line 126) | func (p ModelParam) Value() (driver.Value, error) { method Scan (line 131) | func (p *ModelParam) Scan(value interface{}) error { type BaseModelInfo (line 146) | type BaseModelInfo struct type CheckModelResp (line 156) | type CheckModelResp struct type GetProviderModelListReq (line 161) | type GetProviderModelListReq struct type GetProviderModelListResp (line 169) | type GetProviderModelListResp struct type ProviderModelListItem (line 173) | type ProviderModelListItem struct type ActivateModelReq (line 177) | type ActivateModelReq struct type SwitchModeReq (line 181) | type SwitchModeReq struct type SwitchModeResp (line 187) | type SwitchModeResp struct FILE: backend/domain/mq.go constant VectorTaskTopic (line 4) | VectorTaskTopic = "apps.panda-wiki.vector.task" constant AnydocTaskExportTopic (line 5) | AnydocTaskExportTopic = "anydoc.persistence.doc.task.export" constant RagDocUpdateTopic (line 6) | RagDocUpdateTopic = "raglite.events.doc.update" type NodeReleaseVectorRequest (line 15) | type NodeReleaseVectorRequest struct type AnydocTaskExportEvent (line 25) | type AnydocTaskExportEvent struct type RagDocInfoUpdateEvent (line 35) | type RagDocInfoUpdateEvent struct FILE: backend/domain/nav.go type Nav (line 5) | type Nav struct method TableName (line 14) | func (Nav) TableName() string { type NavRelease (line 19) | type NavRelease struct method TableName (line 29) | func (NavRelease) TableName() string { FILE: backend/domain/node.go constant MaxPosition (line 16) | MaxPosition float64 = 1e38 constant MinPositionGap (line 17) | MinPositionGap float64 = 1e-5 type NodeType (line 20) | type NodeType constant NodeTypeFolder (line 23) | NodeTypeFolder NodeType = 1 constant NodeTypeDocument (line 24) | NodeTypeDocument NodeType = 2 type NodeStatus (line 27) | type NodeStatus constant NodeStatusUnreleased (line 30) | NodeStatusUnreleased NodeStatus = 0 constant NodeStatusDraft (line 31) | NodeStatusDraft NodeStatus = 1 constant NodeStatusReleased (line 32) | NodeStatusReleased NodeStatus = 2 constant ContentTypeMD (line 36) | ContentTypeMD string = "md" constant ContentTypeHTML (line 37) | ContentTypeHTML string = "html" type Node (line 41) | type Node struct method TableName (line 62) | func (Node) TableName() string { type RagInfo (line 66) | type RagInfo struct method Value (line 72) | func (d *RagInfo) Value() (driver.Value, error) { method Scan (line 76) | func (d *RagInfo) Scan(value any) error { type NodePermissions (line 84) | type NodePermissions struct method Scan (line 90) | func (s *NodePermissions) Scan(value any) error { method Value (line 98) | func (s *NodePermissions) Value() (driver.Value, error) { type NodeAuthGroup (line 102) | type NodeAuthGroup struct method TableName (line 110) | func (NodeAuthGroup) TableName() string { type NodeGroupDetail (line 114) | type NodeGroupDetail struct type NodeMeta (line 123) | type NodeMeta struct method Value (line 129) | func (d *NodeMeta) Value() (driver.Value, error) { method Scan (line 133) | func (d *NodeMeta) Scan(value any) error { type CreateNodeReq (line 141) | type CreateNodeReq struct type GetNodeListReq (line 155) | type GetNodeListReq struct type NodeListItemResp (line 161) | type NodeListItemResp struct type NodeContentChunk (line 183) | type NodeContentChunk struct type RankedNodeChunks (line 193) | type RankedNodeChunks struct method GetURL (line 202) | func (n *RankedNodeChunks) GetURL(baseURL string) string { type ChunkListItemResp (line 206) | type ChunkListItemResp struct type NodeContentChunkSSE (line 213) | type NodeContentChunkSSE struct type RecommendNodeListResp (line 221) | type RecommendNodeListResp struct type NodeActionReq (line 233) | type NodeActionReq struct type UpdateNodeReq (line 239) | type UpdateNodeReq struct type ShareNodeListItemResp (line 251) | type ShareNodeListItemResp struct method GetURL (line 277) | func (n *ShareNodeListItemResp) GetURL(baseURL string) string { type ShareNodeDetailItem (line 264) | type ShareNodeDetailItem struct type MoveNodeReq (line 281) | type MoveNodeReq struct type NodeSummaryReq (line 289) | type NodeSummaryReq struct type GetRecommendNodeListReq (line 294) | type GetRecommendNodeListReq struct type NodeRelease (line 300) | type NodeRelease struct method TableName (line 321) | func (NodeRelease) TableName() string { type NodeReleaseBackup (line 326) | type NodeReleaseBackup struct method TableName (line 344) | func (NodeReleaseBackup) TableName() string { type NodeReleaseWithDirPath (line 349) | type NodeReleaseWithDirPath struct type BatchMoveReq (line 354) | type BatchMoveReq struct type NodeCreateInfo (line 360) | type NodeCreateInfo struct type NodeReleaseWithPublisher (line 366) | type NodeReleaseWithPublisher struct FILE: backend/domain/notion.go type Page (line 3) | type Page struct type PageInfo (line 9) | type PageInfo struct FILE: backend/domain/openai.go type OpenAICompletionsRequest (line 10) | type OpenAICompletionsRequest struct type OpenAIStreamOptions (line 27) | type OpenAIStreamOptions struct type MessageContent (line 32) | type MessageContent struct method UnmarshalJSON (line 51) | func (mc *MessageContent) UnmarshalJSON(data []byte) error { method MarshalJSON (line 72) | func (mc *MessageContent) MarshalJSON() ([]byte, error) { method String (line 96) | func (mc *MessageContent) String() string { type OpenAIContentPart (line 39) | type OpenAIContentPart struct type OpenAIContentPartURL (line 46) | type OpenAIContentPartURL struct function NewStringContent (line 80) | func NewStringContent(s string) *MessageContent { function NewArrayContent (line 88) | func NewArrayContent(parts []OpenAIContentPart) *MessageContent { type OpenAIMessage (line 113) | type OpenAIMessage struct type OpenAITool (line 121) | type OpenAITool struct type OpenAIFunction (line 126) | type OpenAIFunction struct type OpenAIToolCall (line 132) | type OpenAIToolCall struct type OpenAIFunctionCall (line 138) | type OpenAIFunctionCall struct type OpenAIToolChoice (line 143) | type OpenAIToolChoice struct type OpenAIFunctionChoice (line 148) | type OpenAIFunctionChoice struct type OpenAIResponseFormat (line 152) | type OpenAIResponseFormat struct type OpenAICompletionsResponse (line 157) | type OpenAICompletionsResponse struct type OpenAIChoice (line 166) | type OpenAIChoice struct type OpenAIUsage (line 173) | type OpenAIUsage struct type OpenAIStreamResponse (line 180) | type OpenAIStreamResponse struct type OpenAIStreamChoice (line 189) | type OpenAIStreamChoice struct type OpenAIErrorResponse (line 196) | type OpenAIErrorResponse struct type OpenAIError (line 200) | type OpenAIError struct FILE: backend/domain/openai_test.go function TestMessageContent_UnmarshalJSON_String (line 11) | func TestMessageContent_UnmarshalJSON_String(t *testing.T) { function TestMessageContent_UnmarshalJSON_Array (line 36) | func TestMessageContent_UnmarshalJSON_Array(t *testing.T) { function TestMessageContent_UnmarshalJSON_Invalid (line 75) | func TestMessageContent_UnmarshalJSON_Invalid(t *testing.T) { function TestMessageContent_UnmarshalJSON_Null (line 95) | func TestMessageContent_UnmarshalJSON_Null(t *testing.T) { function TestMessageContent_MarshalJSON_String (line 102) | func TestMessageContent_MarshalJSON_String(t *testing.T) { function TestMessageContent_MarshalJSON_Array (line 109) | func TestMessageContent_MarshalJSON_Array(t *testing.T) { function TestMessageContent_Roundtrip_String (line 119) | func TestMessageContent_Roundtrip_String(t *testing.T) { function TestMessageContent_Roundtrip_Array (line 136) | func TestMessageContent_Roundtrip_Array(t *testing.T) { function TestNewStringContent (line 157) | func TestNewStringContent(t *testing.T) { function TestNewArrayContent (line 165) | func TestNewArrayContent(t *testing.T) { function TestMessageContent_String_EmptyArray (line 176) | func TestMessageContent_String_EmptyArray(t *testing.T) { function TestMessageContent_String_NoTextParts (line 181) | func TestMessageContent_String_NoTextParts(t *testing.T) { FILE: backend/domain/pager.go type Pager (line 3) | type Pager struct method Offset (line 12) | func (p *Pager) Offset() int { method Limit (line 20) | func (p *Pager) Limit() int { type PagerInfo (line 8) | type PagerInfo struct type PaginatedResult (line 31) | type PaginatedResult struct function NewPaginatedResult (line 36) | func NewPaginatedResult[T any](data T, total uint64) *PaginatedResult[T] { FILE: backend/domain/prompt.go type Prompt (line 3) | type Prompt struct FILE: backend/domain/response.go type PWResponse (line 3) | type PWResponse struct type PWResponseErrCode (line 10) | type PWResponseErrCode FILE: backend/domain/setting.go constant SettingKeySystemPrompt (line 9) | SettingKeySystemPrompt = "system_prompt" constant SettingBlockWords (line 10) | SettingBlockWords = "block_words" constant SettingCopyrightInfo (line 11) | SettingCopyrightInfo = "本网站由 PandaWiki 提供技术支持" type Setting (line 15) | type Setting struct type SettingRepo (line 25) | type SettingRepo interface FILE: backend/domain/siyuan.go type SiYuanReq (line 3) | type SiYuanReq struct type SiYuanResp (line 6) | type SiYuanResp struct FILE: backend/domain/sse_event.go type SSEEvent (line 3) | type SSEEvent struct FILE: backend/domain/stat.go type StatPageScene (line 7) | type StatPageScene constant StatPageSceneWelcome (line 10) | StatPageSceneWelcome StatPageScene = iota + 1 constant StatPageSceneNodeDetail (line 11) | StatPageSceneNodeDetail constant StatPageSceneChat (line 12) | StatPageSceneChat constant StatPageSceneLogin (line 13) | StatPageSceneLogin type StatPage (line 20) | type StatPage struct type StatPageReq (line 36) | type StatPageReq struct type HotPage (line 41) | type HotPage struct type HotRefererHost (line 48) | type HotRefererHost struct type HotBrowser (line 53) | type HotBrowser struct type BrowserCount (line 58) | type BrowserCount struct type InstantCountResp (line 63) | type InstantCountResp struct type InstantPageResp (line 68) | type InstantPageResp struct type ConversationDistribution (line 80) | type ConversationDistribution struct type StatPageHour (line 87) | type StatPageHour struct method TableName (line 105) | func (StatPageHour) TableName() string { type NodeStats (line 110) | type NodeStats struct method TableName (line 116) | func (NodeStats) TableName() string { FILE: backend/domain/system_setting.go type SystemSetting (line 10) | type SystemSetting struct method TableName (line 19) | func (SystemSetting) TableName() string { type ModelModeSetting (line 24) | type ModelModeSetting struct type UploadDeniedExtensionsSetting (line 33) | type UploadDeniedExtensionsSetting struct FILE: backend/domain/user.go type User (line 9) | type User struct type KBUsers (line 19) | type KBUsers struct method TableName (line 27) | func (KBUsers) TableName() string { type UserAccessTime (line 31) | type UserAccessTime struct FILE: backend/domain/userfeedback.go type FeedbackRequest (line 4) | type FeedbackRequest struct type FeedbackType (line 12) | type FeedbackType type ScoreType (line 14) | type ScoreType constant Like (line 18) | Like ScoreType = 1 constant DisLike (line 19) | DisLike ScoreType = -1 FILE: backend/domain/wechat.go type ConversationState (line 9) | type ConversationState struct type WechatStatic (line 21) | type WechatStatic struct FILE: backend/handler/base.go type BaseHandler (line 20) | type BaseHandler struct method NewResponseWithData (line 40) | func (h *BaseHandler) NewResponseWithData(c echo.Context, data any) er... method NewResponseWithErrCode (line 47) | func (h *BaseHandler) NewResponseWithErrCode(c echo.Context, resp doma... method NewResponseWithError (line 51) | func (h *BaseHandler) NewResponseWithError(c echo.Context, msg string,... function NewBaseHandler (line 29) | func NewBaseHandler(echo *echo.Echo, logger *log.Logger, config *config.... FILE: backend/handler/mq/cron.go type CronHandler (line 14) | type CronHandler struct method RemoveOldStatData (line 77) | func (h *CronHandler) RemoveOldStatData() { method AggregateHourlyStats (line 96) | func (h *CronHandler) AggregateHourlyStats() { method CleanupOldHourlyStats (line 106) | func (h *CronHandler) CleanupOldHourlyStats() { method SyncRagNodeStatus (line 116) | func (h *CronHandler) SyncRagNodeStatus() { method CleanupOldNodeReleaseBackups (line 126) | func (h *CronHandler) CleanupOldNodeReleaseBackups() { function NewCronHandler (line 22) | func NewCronHandler(logger *log.Logger, statRepo *pg.StatRepository, nod... FILE: backend/handler/mq/provider.go type MQHandlers (line 14) | type MQHandlers struct FILE: backend/handler/mq/rag.go type RAGMQHandler (line 17) | type RAGMQHandler struct method HandleNodeContentVectorRequest (line 43) | func (h *RAGMQHandler) HandleNodeContentVectorRequest(ctx context.Cont... function NewRAGMQHandler (line 27) | func NewRAGMQHandler(consumer mq.MQConsumer, logger *log.Logger, rag rag... FILE: backend/handler/mq/rag_doc_update.go type RagDocUpdateHandler (line 16) | type RagDocUpdateHandler struct method HandleRagDocUpdate (line 34) | func (h *RagDocUpdateHandler) HandleRagDocUpdate(ctx context.Context, ... function NewRagDocUpdateHandler (line 22) | func NewRagDocUpdateHandler(consumer mq.MQConsumer, logger *log.Logger, ... FILE: backend/handler/share/app.go type ShareAppHandler (line 20) | type ShareAppHandler struct method GetWebAppInfo (line 70) | func (h *ShareAppHandler) GetWebAppInfo(c echo.Context) error { method GetWidgetAppInfo (line 93) | func (h *ShareAppHandler) GetWidgetAppInfo(c echo.Context) error { method WechatAppInfo (line 115) | func (h *ShareAppHandler) WechatAppInfo(c echo.Context) error { method VerifyUrlWechatOfficialAccount (line 127) | func (h *ShareAppHandler) VerifyUrlWechatOfficialAccount(c echo.Contex... method WechatHandlerOfficialAccount (line 165) | func (h *ShareAppHandler) WechatHandlerOfficialAccount(c echo.Context)... function NewShareAppHandler (line 26) | func NewShareAppHandler( FILE: backend/handler/share/auth.go type ShareAuthHandler (line 18) | type ShareAuthHandler struct method AuthGet (line 60) | func (h *ShareAuthHandler) AuthGet(c echo.Context) error { method AuthLoginSimple (line 93) | func (h *ShareAuthHandler) AuthLoginSimple(c echo.Context) error { method AuthGitHub (line 156) | func (h *ShareAuthHandler) AuthGitHub(c echo.Context) error { function NewShareAuthHandler (line 25) | func NewShareAuthHandler( FILE: backend/handler/share/captcha.go type ShareCaptchaHandler (line 15) | type ShareCaptchaHandler struct method CreateCaptcha (line 47) | func (h *ShareCaptchaHandler) CreateCaptcha(c echo.Context) error { method RedeemCaptcha (line 70) | func (h *ShareCaptchaHandler) RedeemCaptcha(c echo.Context) error { function NewShareCaptchaHandler (line 20) | func NewShareCaptchaHandler( FILE: backend/handler/share/chat.go type ShareChatHandler (line 18) | type ShareChatHandler struct method ChatMessage (line 80) | func (h *ShareChatHandler) ChatMessage(c echo.Context) error { method ChatWidget (line 153) | func (h *ShareChatHandler) ChatWidget(c echo.Context) error { method sendErrMsg (line 209) | func (h *ShareChatHandler) sendErrMsg(c echo.Context, errMsg string) e... method writeSSEEvent (line 213) | func (h *ShareChatHandler) writeSSEEvent(c echo.Context, data any) err... method FeedBack (line 237) | func (h *ShareChatHandler) FeedBack(c echo.Context) error { method ChatCompletions (line 265) | func (h *ShareChatHandler) ChatCompletions(c echo.Context) error { method handleOpenAIStreamResponse (line 351) | func (h *ShareChatHandler) handleOpenAIStreamResponse(c echo.Context, ... method handleOpenAINonStreamResponse (line 401) | func (h *ShareChatHandler) handleOpenAINonStreamResponse(c echo.Contex... method sendOpenAIError (line 436) | func (h *ShareChatHandler) sendOpenAIError(c echo.Context, message, er... method writeOpenAIStreamEvent (line 446) | func (h *ShareChatHandler) writeOpenAIStreamEvent(c echo.Context, data... method ChatSearch (line 478) | func (h *ShareChatHandler) ChatSearch(c echo.Context) error { method WidgetSearch (line 522) | func (h *ShareChatHandler) WidgetSearch(c echo.Context) error { function NewShareChatHandler (line 28) | func NewShareChatHandler( function generateID (line 460) | func generateID() string { function stringPtr (line 464) | func stringPtr(s string) *string { FILE: backend/handler/share/comment.go type ShareCommentHandler (line 15) | type ShareCommentHandler struct method CreateComment (line 64) | func (h *ShareCommentHandler) CreateComment(c echo.Context) error { method GetCommentList (line 135) | func (h *ShareCommentHandler) GetCommentList(c echo.Context) error { function NewShareCommentHandler (line 22) | func NewShareCommentHandler( FILE: backend/handler/share/common.go type ShareCommonHandler (line 17) | type ShareCommonHandler struct method FileUpload (line 65) | func (h *ShareCommonHandler) FileUpload(c echo.Context) error { method FileUploadByUrl (line 118) | func (h *ShareCommonHandler) FileUploadByUrl(c echo.Context) error { function NewShareCommonHandler (line 23) | func NewShareCommonHandler( FILE: backend/handler/share/coversation.go type ShareConversationHandler (line 11) | type ShareConversationHandler struct method GetConversationDetail (line 48) | func (h *ShareConversationHandler) GetConversationDetail(c echo.Contex... function NewShareConversationHandler (line 17) | func NewShareConversationHandler( FILE: backend/handler/share/nav.go type ShareNavHandler (line 12) | type ShareNavHandler struct method ShareNavList (line 48) | func (h *ShareNavHandler) ShareNavList(c echo.Context) error { function NewShareNavHandler (line 18) | func NewShareNavHandler( FILE: backend/handler/share/node.go type ShareNodeHandler (line 12) | type ShareNodeHandler struct method ShareNodeList (line 49) | func (h *ShareNodeHandler) ShareNodeList(c echo.Context) error { method GetNodeDetail (line 76) | func (h *ShareNodeHandler) GetNodeDetail(c echo.Context) error { function NewShareNodeHandler (line 18) | func NewShareNodeHandler( FILE: backend/handler/share/openapi.go type OpenapiV1Handler (line 21) | type OpenapiV1Handler struct method GitHubCallback (line 63) | func (h *OpenapiV1Handler) GitHubCallback(c echo.Context) error { method LarkBot (line 97) | func (h *OpenapiV1Handler) LarkBot(c echo.Context) error { function NewOpenapiV1Handler (line 28) | func NewOpenapiV1Handler( FILE: backend/handler/share/provider.go type ShareHandler (line 9) | type ShareHandler struct FILE: backend/handler/share/sitemap.go type ShareSitemapHandler (line 13) | type ShareSitemapHandler struct method GetSitemap (line 34) | func (h *ShareSitemapHandler) GetSitemap(c echo.Context) error { function NewShareSitemapHandler (line 20) | func NewShareSitemapHandler(echo *echo.Echo, baseHandler *handler.BaseHa... FILE: backend/handler/share/stat.go type ShareStatHandler (line 16) | type ShareStatHandler struct method RecordPage (line 44) | func (h *ShareStatHandler) RecordPage(c echo.Context) error { function NewShareStatHandler (line 22) | func NewShareStatHandler(baseHandler *handler.BaseHandler, echo *echo.Ec... FILE: backend/handler/share/wechat.go type ShareWechatHandler (line 23) | type ShareWechatHandler struct method GetWechatAnswer (line 92) | func (h *ShareWechatHandler) GetWechatAnswer(c echo.Context) error { method sendErrMsg (line 160) | func (h *ShareWechatHandler) sendErrMsg(c echo.Context, errMsg string)... method writeSSEEvent (line 164) | func (h *ShareWechatHandler) writeSSEEvent(c echo.Context, data any) e... method VerifyUrlWechatService (line 179) | func (h *ShareWechatHandler) VerifyUrlWechatService(c echo.Context) er... method WechatHandlerService (line 227) | func (h *ShareWechatHandler) WechatHandlerService(c echo.Context) error { method VerifyUrlWechatApp (line 293) | func (h *ShareWechatHandler) VerifyUrlWechatApp(c echo.Context) error { method WechatHandlerApp (line 342) | func (h *ShareWechatHandler) WechatHandlerApp(c echo.Context) error { method WecomAIBotVerify (line 412) | func (h *ShareWechatHandler) WecomAIBotVerify(c echo.Context) error { method WecomAIBotHandle (line 452) | func (h *ShareWechatHandler) WecomAIBotHandle(c echo.Context) error { function NewShareWechatHandler (line 33) | func NewShareWechatHandler( FILE: backend/handler/v1/app.go type AppHandler (line 17) | type AppHandler struct method GetAppDetail (line 58) | func (h *AppHandler) GetAppDetail(c echo.Context) error { method UpdateApp (line 91) | func (h *AppHandler) UpdateApp(c echo.Context) error { method DeleteApp (line 126) | func (h *AppHandler) DeleteApp(c echo.Context) error { function NewAppHandler (line 27) | func NewAppHandler(e *echo.Echo, baseHandler *handler.BaseHandler, logge... FILE: backend/handler/v1/auth.go type AuthV1Handler (line 13) | type AuthV1Handler struct method OpenAuthGet (line 55) | func (h *AuthV1Handler) OpenAuthGet(c echo.Context) error { method OpenAuthSet (line 86) | func (h *AuthV1Handler) OpenAuthSet(c echo.Context) error { method OpenAuthDelete (line 116) | func (h *AuthV1Handler) OpenAuthDelete(c echo.Context) error { function NewAuthV1Handler (line 19) | func NewAuthV1Handler( FILE: backend/handler/v1/comment.go type CommentHandler (line 14) | type CommentHandler struct method GetCommentModeratedList (line 49) | func (h *CommentHandler) GetCommentModeratedList(c echo.Context) error { method DeleteCommentList (line 77) | func (h *CommentHandler) DeleteCommentList(c echo.Context) error { function NewCommentHandler (line 21) | func NewCommentHandler(e *echo.Echo, baseHandler *handler.BaseHandler, l... FILE: backend/handler/v1/conversation.go type ConversationHandler (line 15) | type ConversationHandler struct method GetConversationList (line 50) | func (h *ConversationHandler) GetConversationList(c echo.Context) error { method GetConversationDetail (line 76) | func (h *ConversationHandler) GetConversationDetail(c echo.Context) er... method GetMessageFeedBackList (line 105) | func (h *ConversationHandler) GetMessageFeedBackList(c echo.Context) e... method GetMessageDetail (line 129) | func (h *ConversationHandler) GetMessageDetail(c echo.Context) error { function NewConversationHandler (line 22) | func NewConversationHandler(echo *echo.Echo, baseHandler *handler.BaseHa... FILE: backend/handler/v1/crawler.go type CrawlerHandler (line 15) | type CrawlerHandler struct method CrawlerParse (line 57) | func (h *CrawlerHandler) CrawlerParse(c echo.Context) error { method CrawlerExport (line 99) | func (h *CrawlerHandler) CrawlerExport(c echo.Context) error { method CrawlerResult (line 124) | func (h *CrawlerHandler) CrawlerResult(c echo.Context) error { method CrawlerResults (line 150) | func (h *CrawlerHandler) CrawlerResults(c echo.Context) error { function NewCrawlerHandler (line 23) | func NewCrawlerHandler(echo *echo.Echo, FILE: backend/handler/v1/creation.go type CreationHandler (line 14) | type CreationHandler struct method Text (line 44) | func (h *CreationHandler) Text(c echo.Context) error { method TabComplete (line 83) | func (h *CreationHandler) TabComplete(c echo.Context) error { function NewCreationHandler (line 20) | func NewCreationHandler(echo *echo.Echo, baseHandler *handler.BaseHandle... FILE: backend/handler/v1/file.go type FileHandler (line 21) | type FileHandler struct method Upload (line 54) | func (h *FileHandler) Upload(c echo.Context) error { method UploadByUrl (line 85) | func (h *FileHandler) UploadByUrl(c echo.Context) error { method UploadAnydoc (line 122) | func (h *FileHandler) UploadAnydoc(c echo.Context) error { function NewFileHandler (line 29) | func NewFileHandler(echo *echo.Echo, baseHandler *handler.BaseHandler, l... FILE: backend/handler/v1/kb_user.go method KBUserList (line 22) | func (h *KnowledgeBaseHandler) KBUserList(c echo.Context) error { method KBUserInvite (line 50) | func (h *KnowledgeBaseHandler) KBUserInvite(c echo.Context) error { method KBUserUpdate (line 82) | func (h *KnowledgeBaseHandler) KBUserUpdate(c echo.Context) error { method KBUserDelete (line 114) | func (h *KnowledgeBaseHandler) KBUserDelete(c echo.Context) error { FILE: backend/handler/v1/knowledge_base.go type KnowledgeBaseHandler (line 17) | type KnowledgeBaseHandler struct method CreateKnowledgeBase (line 73) | func (h *KnowledgeBaseHandler) CreateKnowledgeBase(c echo.Context) err... method GetKnowledgeBaseList (line 121) | func (h *KnowledgeBaseHandler) GetKnowledgeBaseList(c echo.Context) er... method UpdateKnowledgeBase (line 141) | func (h *KnowledgeBaseHandler) UpdateKnowledgeBase(c echo.Context) err... method GetKnowledgeBaseDetail (line 176) | func (h *KnowledgeBaseHandler) GetKnowledgeBaseDetail(c echo.Context) ... method DeleteKnowledgeBase (line 218) | func (h *KnowledgeBaseHandler) DeleteKnowledgeBase(c echo.Context) err... method CreateKBRelease (line 242) | func (h *KnowledgeBaseHandler) CreateKBRelease(c echo.Context) error { method GetKBReleaseList (line 277) | func (h *KnowledgeBaseHandler) GetKBReleaseList(c echo.Context) error { function NewKnowledgeBaseHandler (line 25) | func NewKnowledgeBaseHandler( FILE: backend/handler/v1/model.go type ModelHandler (line 18) | type ModelHandler struct method GetModelList (line 58) | func (h *ModelHandler) GetModelList(c echo.Context) error { method CreateModel (line 79) | func (h *ModelHandler) CreateModel(c echo.Context) error { method UpdateModel (line 121) | func (h *ModelHandler) UpdateModel(c echo.Context) error { method CheckModel (line 152) | func (h *ModelHandler) CheckModel(c echo.Context) error { method GetProviderSupportedModelList (line 193) | func (h *ModelHandler) GetProviderSupportedModelList(c echo.Context) e... method SwitchMode (line 226) | func (h *ModelHandler) SwitchMode(c echo.Context) error { method GetModelModeSetting (line 255) | func (h *ModelHandler) GetModelModeSetting(c echo.Context) error { function NewModelHandler (line 27) | func NewModelHandler(echo *echo.Echo, baseHandler *handler.BaseHandler, ... FILE: backend/handler/v1/nav.go type NavHandler (line 14) | type NavHandler struct method NavList (line 56) | func (h *NavHandler) NavList(c echo.Context) error { method NavAdd (line 84) | func (h *NavHandler) NavAdd(c echo.Context) error { method NavDelete (line 113) | func (h *NavHandler) NavDelete(c echo.Context) error { method NavMove (line 141) | func (h *NavHandler) NavMove(c echo.Context) error { method NavUpdate (line 167) | func (h *NavHandler) NavUpdate(c echo.Context) error { function NewNavHandler (line 21) | func NewNavHandler( FILE: backend/handler/v1/node.go type NodeHandler (line 17) | type NodeHandler struct method CreateNode (line 74) | func (h *NodeHandler) CreateNode(c echo.Context) error { method NodeStats (line 114) | func (h *NodeHandler) NodeStats(c echo.Context) error { method GetNodeList (line 143) | func (h *NodeHandler) GetNodeList(c echo.Context) error { method NodeListGroupNav (line 170) | func (h *NodeHandler) NodeListGroupNav(c echo.Context) error { method GetNodeDetail (line 197) | func (h *NodeHandler) GetNodeDetail(c echo.Context) error { method NodeAction (line 226) | func (h *NodeHandler) NodeAction(c echo.Context) error { method UpdateNodeDetail (line 252) | func (h *NodeHandler) UpdateNodeDetail(c echo.Context) error { method MoveNode (line 284) | func (h *NodeHandler) MoveNode(c echo.Context) error { method NodeMoveNav (line 310) | func (h *NodeHandler) NodeMoveNav(c echo.Context) error { method SummaryNode (line 336) | func (h *NodeHandler) SummaryNode(c echo.Context) error { method RecommendNodes (line 368) | func (h *NodeHandler) RecommendNodes(c echo.Context) error { method BatchMoveNode (line 395) | func (h *NodeHandler) BatchMoveNode(c echo.Context) error { method NodePermission (line 422) | func (h *NodeHandler) NodePermission(c echo.Context) error { method NodePermissionEdit (line 452) | func (h *NodeHandler) NodePermissionEdit(c echo.Context) error { method NodeRestudy (line 486) | func (h *NodeHandler) NodeRestudy(c echo.Context) error { function NewNodeHandler (line 24) | func NewNodeHandler( FILE: backend/handler/v1/provider.go type APIHandlers (line 11) | type APIHandlers struct FILE: backend/handler/v1/stat.go type StatHandler (line 15) | type StatHandler struct method StatCount (line 57) | func (h *StatHandler) StatCount(c echo.Context) error { method StatGeoCountReq (line 90) | func (h *StatHandler) StatGeoCountReq(c echo.Context) error { method StatConversationDistribution (line 123) | func (h *StatHandler) StatConversationDistribution(c echo.Context) err... method StatHotPages (line 156) | func (h *StatHandler) StatHotPages(c echo.Context) error { method StatRefererHosts (line 188) | func (h *StatHandler) StatRefererHosts(c echo.Context) error { method StatBrowsers (line 220) | func (h *StatHandler) StatBrowsers(c echo.Context) error { method GetInstantCount (line 252) | func (h *StatHandler) GetInstantCount(c echo.Context) error { method GetInstantPages (line 280) | func (h *StatHandler) GetInstantPages(c echo.Context) error { function NewStatHandler (line 22) | func NewStatHandler(baseHandler *handler.BaseHandler, echo *echo.Echo, u... FILE: backend/handler/v1/user.go type UserHandler (line 22) | type UserHandler struct method CreateUser (line 63) | func (h *UserHandler) CreateUser(c echo.Context) error { method Login (line 97) | func (h *UserHandler) Login(c echo.Context) error { method GetUserInfo (line 138) | func (h *UserHandler) GetUserInfo(c echo.Context) error { method ListUsers (line 171) | func (h *UserHandler) ListUsers(c echo.Context) error { method ResetPassword (line 194) | func (h *UserHandler) ResetPassword(c echo.Context) error { method DeleteUser (line 254) | func (h *UserHandler) DeleteUser(c echo.Context) error { function NewUserHandler (line 31) | func NewUserHandler(e *echo.Echo, baseHandler *handler.BaseHandler, logg... FILE: backend/log/log.go type Logger (line 10) | type Logger struct method WithModule (line 19) | func (l *Logger) WithModule(module string) *Logger { function NewLogger (line 14) | func NewLogger(config *config.Config) *Logger { function Any (line 23) | func Any(key string, value any) slog.Attr { function String (line 27) | func String(key string, value string) slog.Attr { function Int (line 31) | func Int(key string, value int) slog.Attr { function Int64 (line 35) | func Int64(key string, value int64) slog.Attr { function Error (line 39) | func Error(err error) slog.Attr { FILE: backend/middleware/api_token.go type APITokenRepository (line 9) | type APITokenRepository interface FILE: backend/middleware/auth.go type AuthMiddleware (line 14) | type AuthMiddleware interface function NewAuthMiddleware (line 22) | func NewAuthMiddleware(config *config.Config, logger *log.Logger, userAc... FILE: backend/middleware/jwt.go type JWTMiddleware (line 23) | type JWTMiddleware struct method Authorize (line 51) | func (m *JWTMiddleware) Authorize(next echo.HandlerFunc) echo.HandlerF... method validateAPIToken (line 81) | func (m *JWTMiddleware) validateAPIToken(c echo.Context, token string,... method ValidateUserRole (line 112) | func (m *JWTMiddleware) ValidateUserRole(role consts.UserRole) echo.Mi... method ValidateKBUserPerm (line 148) | func (m *JWTMiddleware) ValidateKBUserPerm(perm consts.UserKBPermissio... method ValidateLicenseEdition (line 205) | func (m *JWTMiddleware) ValidateLicenseEdition(needEditions ...consts.... method MustGetUserID (line 229) | func (m *JWTMiddleware) MustGetUserID(c echo.Context) (string, bool) { function NewJWTMiddleware (line 31) | func NewJWTMiddleware(config *config.Config, logger *log.Logger, userAcc... function GetKbID (line 242) | func GetKbID(c echo.Context) (string, error) { FILE: backend/middleware/readonly.go type ReadOnlyMiddleware (line 13) | type ReadOnlyMiddleware struct method ReadOnly (line 24) | func (readonly *ReadOnlyMiddleware) ReadOnly(next echo.HandlerFunc) ec... function NewReadonlyMiddleware (line 17) | func NewReadonlyMiddleware(logger *log.Logger) *ReadOnlyMiddleware { function isReadOnlyMethod (line 50) | func isReadOnlyMethod(method string) bool { FILE: backend/middleware/session.go constant SessionKey (line 20) | SessionKey = "SessionKey" type SessionMiddleware (line 23) | type SessionMiddleware struct method Session (line 63) | func (s *SessionMiddleware) Session() echo.MiddlewareFunc { function NewSessionMiddleware (line 28) | func NewSessionMiddleware(logger *log.Logger, config *config.Config, cac... FILE: backend/middleware/share_auth.go type ShareAuthMiddleware (line 15) | type ShareAuthMiddleware struct method CheckForbidden (line 27) | func (h *ShareAuthMiddleware) CheckForbidden(next echo.HandlerFunc) ec... method Authorize (line 60) | func (h *ShareAuthMiddleware) Authorize(next echo.HandlerFunc) echo.Ha... function NewShareAuthMiddleware (line 20) | func NewShareAuthMiddleware(logger *log.Logger, kbUsecase *usecase.Knowl... FILE: backend/migration/fns/0001_migrate_node_version.go type MigrationNodeVersion (line 16) | type MigrationNodeVersion struct method Execute (line 34) | func (m *MigrationNodeVersion) Execute(tx *gorm.DB) error { function NewMigrationNodeVersion (line 24) | func NewMigrationNodeVersion(logger *log.Logger, nodeUsecase *usecase.No... FILE: backend/migration/fns/0002_create_bot_auth.go type MigrationCreateBotAuth (line 14) | type MigrationCreateBotAuth struct method Execute (line 26) | func (m *MigrationCreateBotAuth) Execute(tx *gorm.DB) error { function NewMigrationCreateBotAuth (line 19) | func NewMigrationCreateBotAuth(logger *log.Logger) *MigrationCreateBotAu... FILE: backend/migration/fns/0003_fix_group_ids.go type MigrationFixGroupIds (line 14) | type MigrationFixGroupIds struct method Execute (line 28) | func (m *MigrationFixGroupIds) Execute(tx *gorm.DB) error { function NewMigrationFixGroupIds (line 20) | func NewMigrationFixGroupIds(logger *log.Logger, ragRepo *mq.RAGReposito... FILE: backend/migration/fns/0004_update_node_status_unreleased.go type MigrationUpdateNodeStatusUnreleased (line 10) | type MigrationUpdateNodeStatusUnreleased struct method Execute (line 22) | func (m *MigrationUpdateNodeStatusUnreleased) Execute(tx *gorm.DB) err... function NewMigrationUpdateNodeStatusUnreleased (line 15) | func NewMigrationUpdateNodeStatusUnreleased(logger *log.Logger) *Migrati... FILE: backend/migration/fns/0005_create_first_nav_tabs.go type MigrationCreateFirstNavs (line 14) | type MigrationCreateFirstNavs struct method Execute (line 26) | func (m *MigrationCreateFirstNavs) Execute(tx *gorm.DB) error { function NewMigrationCreateFirstNavs (line 19) | func NewMigrationCreateFirstNavs(logger *log.Logger) *MigrationCreateFir... FILE: backend/migration/func.go type MigrationFuncs (line 7) | type MigrationFuncs struct method GetMigrationFuncs (line 15) | func (mf *MigrationFuncs) GetMigrationFuncs() []MigrationFunc { FILE: backend/migration/manager.go type GoMigrationFunc (line 13) | type GoMigrationFunc interface type MigrationFunc (line 18) | type MigrationFunc struct type Migration (line 24) | type Migration struct type Manager (line 31) | type Manager struct method Execute (line 47) | func (m *Manager) Execute() error { function NewManager (line 38) | func NewManager(db *pg.DB, logger *log.Logger, migrationFuncs *Migration... FILE: backend/mq/mq.go type Message (line 16) | type Message interface type MQConsumer (line 21) | type MQConsumer interface type MQProducer (line 27) | type MQProducer interface function NewMQConsumer (line 31) | func NewMQConsumer(config *config.Config, logger *log.Logger) (MQConsume... function NewMQProducer (line 38) | func NewMQProducer(config *config.Config, logger *log.Logger) (MQProduce... FILE: backend/mq/nats/consumer.go type MQConsumer (line 15) | type MQConsumer struct method RegisterHandler (line 54) | func (c *MQConsumer) RegisterHandler(topic string, handler func(ctx co... method registerCoreNATSHandler (line 69) | func (c *MQConsumer) registerCoreNATSHandler(topic string, handler fun... method registerJetStreamHandler (line 96) | func (c *MQConsumer) registerJetStreamHandler(topic string, handler fu... method StartConsumerHandlers (line 137) | func (c *MQConsumer) StartConsumerHandlers(ctx context.Context) error { method Close (line 142) | func (c *MQConsumer) Close() error { function NewMQConsumer (line 23) | func NewMQConsumer(logger *log.Logger, config *config.Config) (*MQConsum... FILE: backend/mq/nats/message.go type Message (line 9) | type Message struct method GetData (line 13) | func (m *Message) GetData() []byte { method GetTopic (line 17) | func (m *Message) GetTopic() string { FILE: backend/mq/nats/producer.go type MQProducer (line 14) | type MQProducer struct method EnsureStreams (line 20) | func (p *MQProducer) EnsureStreams() error { method Produce (line 106) | func (p *MQProducer) Produce(ctx context.Context, topic string, key st... method Close (line 125) | func (p *MQProducer) Close() error { function NewMQProducer (line 69) | func NewMQProducer(config *config.Config, logger *log.Logger) (*MQProduc... FILE: backend/mq/types/message.go type Message (line 4) | type Message interface FILE: backend/pkg/anydoc/anydoc.go type Client (line 22) | type Client struct method GetUrlList (line 75) | func (c *Client) GetUrlList(ctx context.Context, targetURL, id string)... method UrlExport (line 115) | func (c *Client) UrlExport(ctx context.Context, id, docID, kbId string... method ensureSubscribed (line 169) | func (c *Client) ensureSubscribed() error { method TaskWaitForCompletion (line 192) | func (c *Client) TaskWaitForCompletion(ctx context.Context, taskID str... method TaskListPoll (line 227) | func (c *Client) TaskListPoll(ctx context.Context, ids []string) (*Tas... method handleTaskExportEvent (line 246) | func (c *Client) handleTaskExportEvent(ctx context.Context, msg types.... method TaskList (line 272) | func (c *Client) TaskList(ctx context.Context, ids []string) (*TaskRes... method DownloadDoc (line 318) | func (c *Client) DownloadDoc(ctx context.Context, filepath string) ([]... constant apiUploaderUrl (line 33) | apiUploaderUrl = "http://panda-wiki-api:8000/api/v1/file/upload/anydoc" constant uploaderDir (line 34) | uploaderDir = "/image" constant crawlerServiceHost (line 35) | crawlerServiceHost = "http://panda-wiki-crawler:8080" constant SpaceIdCloud (line 36) | SpaceIdCloud = "cloud_disk" constant getUrlPath (line 37) | getUrlPath = "/api/docs/url/list" constant UrlExportPath (line 38) | UrlExportPath = "/api/docs/url/export" constant TaskListPath (line 39) | TaskListPath = "/api/tasks/list" type Status (line 42) | type Status constant StatusPending (line 45) | StatusPending Status = "pending" constant StatusInProgress (line 46) | StatusInProgress Status = "in_process" constant StatusCompleted (line 47) | StatusCompleted Status = "completed" constant StatusFailed (line 48) | StatusFailed Status = "failed" type UploaderType (line 51) | type UploaderType constant uploaderTypeDefault (line 54) | uploaderTypeDefault UploaderType = iota constant uploaderTypeHTTP (line 55) | uploaderTypeHTTP function NewClient (line 58) | func NewClient(logger *log.Logger, mqConsumer mq.MQConsumer) (*Client, e... FILE: backend/pkg/anydoc/confluence.go constant ConfluenceListPath (line 15) | ConfluenceListPath = "/api/docs/confluence/list" constant ConfluenceExportPath (line 16) | ConfluenceExportPath = "/api/docs/confluence/export" type ConfluenceListDocsRequest (line 20) | type ConfluenceListDocsRequest struct type ConfluenceExportDocRequest (line 27) | type ConfluenceExportDocRequest struct type ConfluenceExportDocResponse (line 33) | type ConfluenceExportDocResponse struct type ConfluenceExportDocData (line 40) | type ConfluenceExportDocData struct method ConfluenceListDocs (line 47) | func (c *Client) ConfluenceListDocs(ctx context.Context, confluenceURL, ... method ConfluenceExportDoc (line 99) | func (c *Client) ConfluenceExportDoc(ctx context.Context, uuid, docID, k... FILE: backend/pkg/anydoc/dingtalk.go constant dingtalkListPath (line 15) | dingtalkListPath = "/api/docs/dingtalk/list" constant dingtalkExportPath (line 16) | dingtalkExportPath = "/api/docs/dingtalk/export" method DingtalkListDocs (line 20) | func (c *Client) DingtalkListDocs(ctx context.Context, uuid string, ding... FILE: backend/pkg/anydoc/epub.go constant epubpListPath (line 15) | epubpListPath = "/api/docs/epubp/list" constant epubpExportPath (line 16) | epubpExportPath = "/api/docs/epubp/export" type EpubpListDocsRequest (line 20) | type EpubpListDocsRequest struct type EpubpListDocsResponse (line 27) | type EpubpListDocsResponse struct type EpubpListDocsData (line 34) | type EpubpListDocsData struct type EpubpDoc (line 39) | type EpubpDoc struct type EpubpExportDocRequest (line 46) | type EpubpExportDocRequest struct type EpubpExportDocResponse (line 52) | type EpubpExportDocResponse struct type EpubpExportDocData (line 59) | type EpubpExportDocData struct method EpubpListDocs (line 66) | func (c *Client) EpubpListDocs(ctx context.Context, epubpURL, filename, ... method EpubpExportDoc (line 118) | func (c *Client) EpubpExportDoc(ctx context.Context, uuid, docID, kbId s... FILE: backend/pkg/anydoc/feishu.go constant feishuListPath (line 15) | feishuListPath = "/api/docs/feishu/list" constant feishuExportPath (line 16) | feishuExportPath = "/api/docs/feishu/export" type FeishuListDocsRequest (line 20) | type FeishuListDocsRequest struct type FeishuListDocsResponse (line 27) | type FeishuListDocsResponse struct type FeishuListDocsData (line 34) | type FeishuListDocsData struct type FeishuDoc (line 39) | type FeishuDoc struct type FeishuExportDocRequest (line 47) | type FeishuExportDocRequest struct type FeishuExportDocResponse (line 53) | type FeishuExportDocResponse struct type FeishuExportDocData (line 60) | type FeishuExportDocData struct method FeishuListDocs (line 67) | func (c *Client) FeishuListDocs(ctx context.Context, uuid, appId, appSec... method FeishuExportDoc (line 118) | func (c *Client) FeishuExportDoc(ctx context.Context, uuid, docID, fileT... FILE: backend/pkg/anydoc/mindoc.go constant mindocListPath (line 15) | mindocListPath = "/api/docs/mindoc/list" constant mindocExportPath (line 16) | mindocExportPath = "/api/docs/mindoc/export" type MindocListDocsRequest (line 20) | type MindocListDocsRequest struct type MindocListDocsResponse (line 27) | type MindocListDocsResponse struct type MindocListDocsData (line 34) | type MindocListDocsData struct type MindocDoc (line 39) | type MindocDoc struct type MindocExportDocRequest (line 46) | type MindocExportDocRequest struct type MindocExportDocResponse (line 52) | type MindocExportDocResponse struct type MindocExportDocData (line 59) | type MindocExportDocData struct method MindocListDocs (line 66) | func (c *Client) MindocListDocs(ctx context.Context, mindocURL, filename... method MindocExportDoc (line 118) | func (c *Client) MindocExportDoc(ctx context.Context, uuid, docID, kbId ... FILE: backend/pkg/anydoc/notion.go constant notionListPath (line 15) | notionListPath = "/api/docs/notion/list" constant notionExportPath (line 16) | notionExportPath = "/api/docs/notion/export" type NotionListDocsResponse (line 20) | type NotionListDocsResponse struct type NotionListDocsData (line 27) | type NotionListDocsData struct type NotionDoc (line 32) | type NotionDoc struct type NotionExportDocResponse (line 39) | type NotionExportDocResponse struct method NotionListDocs (line 46) | func (c *Client) NotionListDocs(ctx context.Context, secret, uuid string... method NotionExportDoc (line 93) | func (c *Client) NotionExportDoc(ctx context.Context, uuid, docID, kbId ... FILE: backend/pkg/anydoc/req.go type FeishuSetting (line 3) | type FeishuSetting struct type DingtalkSetting (line 10) | type DingtalkSetting struct FILE: backend/pkg/anydoc/res.go type GetUrlListResponse (line 3) | type GetUrlListResponse struct type GetUrlListData (line 10) | type GetUrlListData struct type UrlExportRes (line 19) | type UrlExportRes struct type TaskRes (line 26) | type TaskRes struct type ListDocResponse (line 40) | type ListDocResponse struct type ListDocsData (line 48) | type ListDocsData struct type Value (line 52) | type Value struct type Child (line 60) | type Child struct FILE: backend/pkg/anydoc/rss.go constant rssListPath (line 15) | rssListPath = "/api/docs/rss/list" constant rssExportPath (line 16) | rssExportPath = "/api/docs/rss/export" type RssListDocsResponse (line 20) | type RssListDocsResponse struct type RssListDocsData (line 27) | type RssListDocsData struct type RssDoc (line 32) | type RssDoc struct type RssExportDocRequest (line 40) | type RssExportDocRequest struct type RssExportDocResponse (line 46) | type RssExportDocResponse struct type RssExportDocData (line 53) | type RssExportDocData struct method RssListDocs (line 60) | func (c *Client) RssListDocs(ctx context.Context, xmlUrl, uuid string) (... method RssExportDoc (line 106) | func (c *Client) RssExportDoc(ctx context.Context, uuid, docID, kbId str... FILE: backend/pkg/anydoc/sitemap.go constant sitemapListPath (line 15) | sitemapListPath = "/api/docs/sitemap/list" constant sitemapExportPath (line 16) | sitemapExportPath = "/api/docs/sitemap/export" type SitemapListDocsResponse (line 20) | type SitemapListDocsResponse struct type SitemapListDocsData (line 27) | type SitemapListDocsData struct type SitemapDoc (line 32) | type SitemapDoc struct type SitemapExportDocRequest (line 40) | type SitemapExportDocRequest struct type SitemapExportDocResponse (line 46) | type SitemapExportDocResponse struct type SitemapExportDocData (line 53) | type SitemapExportDocData struct method SitemapListDocs (line 60) | func (c *Client) SitemapListDocs(ctx context.Context, xmlUrl, uuid strin... method SitemapExportDoc (line 106) | func (c *Client) SitemapExportDoc(ctx context.Context, uuid, docID, kbId... FILE: backend/pkg/anydoc/siyuan.go constant siyuanListPath (line 15) | siyuanListPath = "/api/docs/siyuan/list" constant siyuanExportPath (line 16) | siyuanExportPath = "/api/docs/siyuan/export" type SiyuanListDocsRequest (line 20) | type SiyuanListDocsRequest struct type SiyuanListDocsResponse (line 27) | type SiyuanListDocsResponse struct type SiyuanListDocsData (line 34) | type SiyuanListDocsData struct type SiyuanDoc (line 39) | type SiyuanDoc struct type SiyuanExportDocRequest (line 46) | type SiyuanExportDocRequest struct type SiyuanExportDocResponse (line 52) | type SiyuanExportDocResponse struct type SiyuanExportDocData (line 59) | type SiyuanExportDocData struct method SiyuanListDocs (line 66) | func (c *Client) SiyuanListDocs(ctx context.Context, siyuanURL, filename... method SiyuanExportDoc (line 118) | func (c *Client) SiyuanExportDoc(ctx context.Context, uuid, docID, kbId ... FILE: backend/pkg/anydoc/wikijs.go constant wikijsListPath (line 15) | wikijsListPath = "/api/docs/wikijs/list" constant wikijsExportPath (line 16) | wikijsExportPath = "/api/docs/wikijs/export" type WikijsListDocsRequest (line 20) | type WikijsListDocsRequest struct type WikijsExportDocRequest (line 27) | type WikijsExportDocRequest struct type WikijsExportDocResponse (line 33) | type WikijsExportDocResponse struct type WikijsExportDocData (line 40) | type WikijsExportDocData struct method WikijsListDocs (line 47) | func (c *Client) WikijsListDocs(ctx context.Context, wikijsURL, filename... method WikijsExportDoc (line 99) | func (c *Client) WikijsExportDoc(ctx context.Context, uuid, docID, kbId ... FILE: backend/pkg/anydoc/yuque.go constant yuqueListPath (line 14) | yuqueListPath = "/api/docs/yuque/list" constant yuqueExportPath (line 15) | yuqueExportPath = "/api/docs/yuque/export" type YuqueListDocsRequest (line 19) | type YuqueListDocsRequest struct type YuqueListDocsResponse (line 26) | type YuqueListDocsResponse struct type YuqueListDocsData (line 33) | type YuqueListDocsData struct type YuqueDoc (line 38) | type YuqueDoc struct type YuqueExportDocRequest (line 45) | type YuqueExportDocRequest struct type YuqueExportDocResponse (line 51) | type YuqueExportDocResponse struct method YuqueListDocs (line 58) | func (c *Client) YuqueListDocs(ctx context.Context, yuqueURL, filename, ... method YuqueExportDoc (line 110) | func (c *Client) YuqueExportDoc(ctx context.Context, uuid, docID, kbId s... FILE: backend/pkg/bot/common.go type GetQAFun (line 9) | type GetQAFun FILE: backend/pkg/bot/dingtalk/stream.go type DingTalkClient (line 28) | type DingTalkClient struct method GetAccessToken (line 70) | func (c *DingTalkClient) GetAccessToken() (string, error) { method UpdateAIStreamCard (line 115) | func (c *DingTalkClient) UpdateAIStreamCard(trackID, content string, i... method CreateAndDeliverCard (line 140) | func (c *DingTalkClient) CreateAndDeliverCard(ctx context.Context, tra... method OnChatBotMessageReceived (line 194) | func (c *DingTalkClient) OnChatBotMessageReceived(ctx context.Context,... method Start (line 284) | func (c *DingTalkClient) Start() error { method Stop (line 299) | func (c *DingTalkClient) Stop() { method GetUserInfo (line 328) | func (c *DingTalkClient) GetUserInfo(userID string) (*UserDetailRespon... function NewDingTalkClient (line 45) | func NewDingTalkClient(ctx context.Context, cancel context.CancelFunc, c... type UserDetailResponse (line 304) | type UserDetailResponse struct type UserDetails (line 310) | type UserDetails struct FILE: backend/pkg/bot/discord/discord_test.go function TestDiscord (line 12) | func TestDiscord(t *testing.T) { FILE: backend/pkg/bot/discord/stream.go type DiscordClient (line 15) | type DiscordClient struct method Start (line 35) | func (d *DiscordClient) Start() error { method Stop (line 44) | func (d *DiscordClient) Stop() error { method handleMessage (line 48) | func (d *DiscordClient) handleMessage(s *discordgo.Session, m *discord... function NewDiscordClient (line 22) | func NewDiscordClient(logger *log.Logger, BotToken string, getQA bot.Get... FILE: backend/pkg/bot/feishu/stream.go type FeishuBotLogger (line 24) | type FeishuBotLogger struct method Info (line 28) | func (l *FeishuBotLogger) Info(ctx context.Context, args ...interface{... method Error (line 32) | func (l *FeishuBotLogger) Error(ctx context.Context, args ...interface... method Debug (line 36) | func (l *FeishuBotLogger) Debug(ctx context.Context, args ...interface... method Warn (line 40) | func (l *FeishuBotLogger) Warn(ctx context.Context, args ...interface{... type FeishuClient (line 44) | type FeishuClient struct method sendQACard (line 90) | func (c *FeishuClient) sendQACard(ctx context.Context, receiveIdType s... method Start (line 224) | func (c *FeishuClient) Start() error { method GetUserInfo (line 277) | func (c *FeishuClient) GetUserInfo(UserOpenId string) (*larkcontact.Us... method Stop (line 297) | func (c *FeishuClient) Stop() { function NewFeishuClient (line 55) | func NewFeishuClient(ctx context.Context, cancel context.CancelFunc, cli... type Message (line 220) | type Message struct FILE: backend/pkg/bot/lark/client.go type LarkBotLogger (line 25) | type LarkBotLogger struct method Info (line 29) | func (l *LarkBotLogger) Info(ctx context.Context, args ...interface{}) { method Error (line 33) | func (l *LarkBotLogger) Error(ctx context.Context, args ...interface{}) { method Debug (line 37) | func (l *LarkBotLogger) Debug(ctx context.Context, args ...interface{}) { method Warn (line 41) | func (l *LarkBotLogger) Warn(ctx context.Context, args ...interface{}) { type LarkClient (line 47) | type LarkClient struct method setupEventHandler (line 108) | func (c *LarkClient) setupEventHandler() { method GetEventHandler (line 149) | func (c *LarkClient) GetEventHandler() *dispatcher.EventDispatcher { method sendQACard (line 155) | func (c *LarkClient) sendQACard(ctx context.Context, receiveIdType str... method replaceMentions (line 296) | func (c *LarkClient) replaceMentions(text string, mentions []*larkim.M... method Start (line 314) | func (c *LarkClient) Start() error { method GetUserInfo (line 327) | func (c *LarkClient) GetUserInfo(UserOpenId string) (*larkcontact.User... method Stop (line 344) | func (c *LarkClient) Stop() { function NewLarkClient (line 64) | func NewLarkClient(ctx context.Context, cancel context.CancelFunc, clien... type Message (line 291) | type Message struct FILE: backend/pkg/bot/utils/utils.go function Markdown2HTML (line 7) | func Markdown2HTML(md string) string { FILE: backend/pkg/bot/wechat/domain.go type WechatConfig (line 13) | type WechatConfig struct type ReceivedMessage (line 28) | type ReceivedMessage struct type ResponseMessage (line 37) | type ResponseMessage struct type CDATA (line 46) | type CDATA struct type BackendRequest (line 50) | type BackendRequest struct type BackendResponse (line 55) | type BackendResponse struct type UserInfo (line 64) | type UserInfo struct type AccessToken (line 76) | type AccessToken struct type TokenCache (line 83) | type TokenCache struct function getTokenCacheKey (line 94) | func getTokenCacheKey(kbID, agentID string) string { type MediaUploadResponse (line 100) | type MediaUploadResponse struct FILE: backend/pkg/bot/wechat/wechat.go constant wechatMessageMaxBytes (line 23) | wechatMessageMaxBytes = 2000 function NewWechatAppConfig (line 25) | func NewWechatAppConfig(ctx context.Context, logger *log.Logger, kbId, C... method VerifyUrlWechatAPP (line 38) | func (cfg *WechatConfig) VerifyUrlWechatAPP(signature, timestamp, nonce,... method Wechat (line 55) | func (cfg *WechatConfig) Wechat(msg ReceivedMessage, getQA bot.GetQAFun,... method ProcessUrlMessage (line 78) | func (cfg *WechatConfig) ProcessUrlMessage(msg ReceivedMessage, GetQA bo... method ProcessTextMessage (line 126) | func (cfg *WechatConfig) ProcessTextMessage(msg ReceivedMessage, GetQA b... method SendURLToUser (line 175) | func (cfg *WechatConfig) SendURLToUser(touser, question, token, conversa... method SendResponseToUser (line 212) | func (cfg *WechatConfig) SendResponseToUser(response string, touser stri... method SendResponse (line 252) | func (cfg *WechatConfig) SendResponse(msg ReceivedMessage, content strin... method GetAccessToken (line 281) | func (cfg *WechatConfig) GetAccessToken() (string, error) { method GetUserInfo (line 335) | func (cfg *WechatConfig) GetUserInfo(username string) (*UserInfo, error) { method UnmarshalMsg (line 369) | func (cfg *WechatConfig) UnmarshalMsg(decryptMsg []byte) (*ReceivedMessa... method SendQuestionToAI (line 376) | func (cfg *WechatConfig) SendQuestionToAI(conversationID string, wcconte... FILE: backend/pkg/bot/wechat_official_account/official_account.go function Wechat (line 14) | func Wechat(ctx context.Context, GetQA bot.GetQAFun, userinfo *user.Info... FILE: backend/pkg/bot/wechat_service/domain.go type WechatServiceConfig (line 12) | type WechatServiceConfig struct type WeixinUserAskMsg (line 31) | type WeixinUserAskMsg struct type AccessToken (line 40) | type AccessToken struct type MsgRequest (line 47) | type MsgRequest struct type MsgRet (line 55) | type MsgRet struct type Msg (line 63) | type Msg struct type ReplyMsg (line 83) | type ReplyMsg struct type ReplyMsgUrl (line 94) | type ReplyMsgUrl struct type Link (line 102) | type Link struct type MediaUploadResponse (line 110) | type MediaUploadResponse struct type WechatCustomerResponse (line 119) | type WechatCustomerResponse struct type Customer (line 126) | type Customer struct type UerInfoRequest (line 134) | type UerInfoRequest struct type Status (line 140) | type Status struct type HumanList (line 147) | type HumanList struct type ServicerList (line 153) | type ServicerList struct type TokenCache (line 158) | type TokenCache struct function getTokenCacheKey (line 169) | func getTokenCacheKey(kbID, secret string) string { type UserImageCache (line 173) | type UserImageCache struct type DefaultImageCache (line 182) | type DefaultImageCache struct FILE: backend/pkg/bot/wechat_service/tools.go function getCursor (line 19) | func getCursor(openKfId string) string { function setCursor (line 26) | func setCursor(openKfId, cursor string) { function CheckSessionState (line 30) | func CheckSessionState(token, extrenaluserid, kfId string) (int, error) { function ChangeState (line 68) | func ChangeState(token, extrenaluserId, kfId string, state int, serviceI... function GetUserInfo (line 113) | func GetUserInfo(userid string, accessToken string) (*Customer, error) { function GetUserImageID (line 150) | func GetUserImageID(accessToken, filePath string) (string, error) { function GetDefaultImageID (line 172) | func GetDefaultImageID(accessToken, ImageBase64 string) (string, error) { function UploadMediaFromURL (line 193) | func UploadMediaFromURL(accessToken, fileURL string) (string, error) { function UploadMediaFromBase64 (line 219) | func UploadMediaFromBase64(accessToken, base64Data string) (string, erro... function uploadMediaToWechat (line 239) | func uploadMediaToWechat(accessToken string, reader io.Reader, fileName ... function getMsgs (line 285) | func getMsgs(accessToken string, msg *WeixinUserAskMsg) (*MsgRet, error) { function MarkdowntoText (line 319) | func MarkdowntoText(md string) string { FILE: backend/pkg/bot/wechat_service/wechat.go function NewWechatServiceConfig (line 25) | func NewWechatServiceConfig(ctx context.Context, logger *log.Logger, KbI... method VerifyUrlWechatService (line 40) | func (cfg *WechatServiceConfig) VerifyUrlWechatService(signature, timest... method Wechat (line 57) | func (cfg *WechatServiceConfig) Wechat(msg *WeixinUserAskMsg, getQA bot.... method Processmessage (line 81) | func (cfg *WechatServiceConfig) Processmessage(msgRet *MsgRet, Kfmsg *We... method getImageID (line 188) | func (cfg *WechatServiceConfig) getImageID(token, image string) (string,... method SendResponseToKfUrl (line 218) | func (cfg *WechatServiceConfig) SendResponseToKfUrl(userId, openkfId, co... method SendResponseToKfTxt (line 243) | func (cfg *WechatServiceConfig) SendResponseToKfTxt(userId string, openk... method SendMessage (line 261) | func (cfg *WechatServiceConfig) SendMessage(jsonData []byte, token strin... method GetAccessToken (line 297) | func (cfg *WechatServiceConfig) GetAccessToken() (string, error) { method UnmarshalMsg (line 352) | func (cfg *WechatServiceConfig) UnmarshalMsg(decryptMsg []byte) (*Weixin... method GetKfHumanList (line 358) | func (cfg *WechatServiceConfig) GetKfHumanList(token string, KfId string... method SendQuestionToAI (line 381) | func (cfg *WechatServiceConfig) SendQuestionToAI(conversationID string, ... FILE: backend/pkg/bot/wecom/ai_bot.go type AIBotClient (line 12) | type AIBotClient struct method VerifyUrlWecomService (line 66) | func (c *AIBotClient) VerifyUrlWecomService(signature, timestamp, nonc... method DecryptUserReq (line 85) | func (c *AIBotClient) DecryptUserReq(signature, timestamp, nonce, msg ... method MakeStreamResp (line 111) | func (c *AIBotClient) MakeStreamResp(nonce, id, content string, isFini... type UserReq (line 19) | type UserReq struct type UserResp (line 34) | type UserResp struct type Stream (line 39) | type Stream struct function NewAIBotClient (line 52) | func NewAIBotClient( FILE: backend/pkg/bot/wecom/crypt.go constant WXBizMsgCrypt_OK (line 23) | WXBizMsgCrypt_OK = 0 constant WXBizMsgCrypt_ValidateSignature_Error (line 24) | WXBizMsgCrypt_ValidateSignature_Error = 40001 constant WXBizMsgCrypt_ParseJson_Error (line 25) | WXBizMsgCrypt_ParseJson_Error = 40002 constant WXBizMsgCrypt_ComputeSignature_Error (line 26) | WXBizMsgCrypt_ComputeSignature_Error = 40003 constant WXBizMsgCrypt_IllegalAesKey (line 27) | WXBizMsgCrypt_IllegalAesKey = 40004 constant WXBizMsgCrypt_EncryptAES_Error (line 28) | WXBizMsgCrypt_EncryptAES_Error = 40005 constant WXBizMsgCrypt_DecryptAES_Error (line 29) | WXBizMsgCrypt_DecryptAES_Error = 40006 constant WXBizMsgCrypt_IllegalBuffer (line 30) | WXBizMsgCrypt_IllegalBuffer = 40007 constant WXBizMsgCrypt_ValidateCorpid_Error (line 31) | WXBizMsgCrypt_ValidateCorpid_Error = 40008 constant WXBizMsgCrypt_ValidateCorpid_Receive_Id (line 32) | WXBizMsgCrypt_ValidateCorpid_Receive_Id = 40009 constant WXBizMsgCrypt_ValidateCorpid_Mismatch (line 33) | WXBizMsgCrypt_ValidateCorpid_Mismatch = 40010 method getErrorMessage (line 50) | func (c *AIBotClient) getErrorMessage(code int) error { type SHA1 (line 60) | type SHA1 struct method GetSHA1 (line 64) | func (s *SHA1) GetSHA1(token, timestamp, nonce string, encrypt interfa... type JsonParse (line 91) | type JsonParse struct method Extract (line 102) | func (jp *JsonParse) Extract(jsonText string) (int, string) { method Generate (line 114) | func (jp *JsonParse) Generate(encrypt, signature, timestamp, nonce str... type aesTextResponse (line 93) | type aesTextResponse struct type PKCS7Encoder (line 126) | type PKCS7Encoder struct method Encode (line 134) | func (p *PKCS7Encoder) Encode(src []byte) []byte { method Decode (line 148) | func (p *PKCS7Encoder) Decode(decrypted []byte) ([]byte, error) { function NewPKCS7Encoder (line 130) | func NewPKCS7Encoder() *PKCS7Encoder { type Prpcrypt (line 161) | type Prpcrypt struct method Encrypt (line 171) | func (pc *Prpcrypt) Encrypt(plainText string, receiveID string) (int, ... method Decrypt (line 220) | func (pc *Prpcrypt) Decrypt(base64Cipher string, receiveID string) (in... function NewPrpcrypt (line 166) | func NewPrpcrypt(key []byte) *Prpcrypt { function getRandom16BytesAsDigits (line 270) | func getRandom16BytesAsDigits() ([]byte, error) { type WXBizJsonMsgCrypt (line 284) | type WXBizJsonMsgCrypt struct method VerifyURL (line 311) | func (w *WXBizJsonMsgCrypt) VerifyURL(sMsgSignature, sTimeStamp, sNonc... method EncryptMsg (line 327) | func (w *WXBizJsonMsgCrypt) EncryptMsg(sReplyMsg, sNonce string, times... method DecryptMsg (line 358) | func (w *WXBizJsonMsgCrypt) DecryptMsg(sPostData, sMsgSignature, sTime... function NewWXBizJsonMsgCrypt (line 292) | func NewWXBizJsonMsgCrypt(sToken, sEncodingAESKey, sReceiveID string) (*... FILE: backend/pkg/captcha/captcha.go type Captcha (line 5) | type Captcha struct function NewCaptcha (line 9) | func NewCaptcha() *Captcha { FILE: backend/pkg/cas/cas.go type Client (line 16) | type Client struct method GetLoginURL (line 125) | func (c *Client) GetLoginURL(state string) string { method ValidateTicket (line 135) | func (c *Client) ValidateTicket(ticket, state string) (*UserInfo, erro... method parseCAS2Response (line 173) | func (c *Client) parseCAS2Response(body []byte) (*UserInfo, error) { method parseCAS3Response (line 199) | func (c *Client) parseCAS3Response(body []byte) (*UserInfo, error) { type Config (line 23) | type Config struct type UserInfo (line 32) | type UserInfo struct type CAS2ServiceResponse (line 38) | type CAS2ServiceResponse struct type CAS2AuthenticationSuccess (line 44) | type CAS2AuthenticationSuccess struct type CAS3ServiceResponse (line 49) | type CAS3ServiceResponse struct type CAS3AuthenticationSuccess (line 55) | type CAS3AuthenticationSuccess struct type AuthenticationFailure (line 60) | type AuthenticationFailure struct type CAS3Attributes (line 65) | type CAS3Attributes struct constant defaultLoginPath (line 72) | defaultLoginPath = "/login" constant defaultValidatePathCAS2 (line 73) | defaultValidatePathCAS2 = "/serviceValidate" constant defaultValidatePathCAS3 (line 74) | defaultValidatePathCAS3 = "/p3/serviceValidate" constant callbackPath (line 75) | callbackPath = "/share/pro/v1/openapi/cas/callback" function NewClient (line 79) | func NewClient(ctx context.Context, logger *log.Logger, config Config) (... FILE: backend/pkg/dingtalk/dingtalk.go constant callbackPath (line 23) | callbackPath = "/share/pro/v1/openapi/dingtalk/callback" constant userInfoUrl (line 24) | userInfoUrl = "https://api.dingtalk.com/v1.0/contact/users/me" constant DepartmentListUrl (line 25) | DepartmentListUrl = "https://oapi.dingtalk.com/department/list" constant UserListUrl (line 27) | UserListUrl = "https://oapi.dingtalk.com/topapi/v2/user/list" type Client (line 30) | type Client struct method GenerateAuthURL (line 122) | func (c *Client) GenerateAuthURL(baseUrl string, state string) string { method GetAccessTokenByCode (line 140) | func (c *Client) GetAccessTokenByCode(code string) (string, error) { method GetAccessToken (line 155) | func (c *Client) GetAccessToken() (string, error) { method GetUserInfoByCode (line 193) | func (c *Client) GetUserInfoByCode(code string) (*UserInfo, error) { method GetDepartmentList (line 231) | func (c *Client) GetDepartmentList() (*DepartmentListRsp, error) { method GetAllUserList (line 276) | func (c *Client) GetAllUserList(deptID int) ([]UserDetail, error) { method GetUserList (line 297) | func (c *Client) GetUserList(deptID int) (*GetUserListResp, error) { type UserInfo (line 43) | type UserInfo struct type DepartmentListRsp (line 52) | type DepartmentListRsp struct type GetUserListResp (line 64) | type GetUserListResp struct type UserDetail (line 73) | type UserDetail struct function NewDingTalkClient (line 96) | func NewDingTalkClient(ctx context.Context, logger *log.Logger, clientId... FILE: backend/pkg/feishu/feishu.go constant AuthURL (line 16) | AuthURL = "https://accounts.feishu.cn/open-apis/authen/v1/authorize" constant TokenURL (line 17) | TokenURL = "https://open.feishu.cn/open-apis/authen/v2/oauth/token" constant UserInfoURL (line 18) | UserInfoURL = "https://open.feishu.cn/open-apis/authen/v1/user_info" constant callbackPath (line 19) | callbackPath = "/share/pro/v1/openapi/feishu/callback" type Client (line 28) | type Client struct method GenerateAuthURL (line 78) | func (c *Client) GenerateAuthURL(state string, verifier string) string { method GetAccessToken (line 83) | func (c *Client) GetAccessToken(ctx context.Context, code string, code... method GetUserInfoByCode (line 92) | func (c *Client) GetUserInfoByCode(ctx context.Context, code string, c... type Response (line 34) | type Response struct type UserInfo (line 39) | type UserInfo struct function NewClient (line 56) | func NewClient(ctx context.Context, logger *log.Logger, appID, appSecret... FILE: backend/pkg/ldap/ldap.go type Client (line 13) | type Client struct method Authenticate (line 79) | func (c *Client) Authenticate(username, password string) (*UserInfo, e... method searchUser (line 119) | func (c *Client) searchUser(conn *ldap.Conn, username string) (*UserIn... method getAttributeValue (line 184) | func (c *Client) getAttributeValue(entry *ldap.Entry, attrName string)... method TestConnection (line 193) | func (c *Client) TestConnection() error { type Config (line 19) | type Config struct type UserInfo (line 30) | type UserInfo struct constant defaultUserIDAttr (line 38) | defaultUserIDAttr = "uid" constant defaultUserNameAttr (line 39) | defaultUserNameAttr = "cn" constant defaultUserEmailAttr (line 40) | defaultUserEmailAttr = "mail" constant defaultUserFilter (line 41) | defaultUserFilter = "(&(objectClass=person)(uid=%s))" function NewClient (line 45) | func NewClient(ctx context.Context, logger *log.Logger, config Config) (... FILE: backend/pkg/oauth/github.go constant githubAuthorizeURL (line 19) | githubAuthorizeURL = "https://github.com/login/oauth/authorize" constant githubTokenURL (line 20) | githubTokenURL = "https://github.com/login/oauth/access_token" constant githubUserInfoURL (line 21) | githubUserInfoURL = "https://api.github.com/user" constant githubUserEmailURL (line 22) | githubUserEmailURL = "https://api.github.com/user/emails" constant githubCallbackPathPro (line 23) | githubCallbackPathPro = "/share/pro/v1/openapi/github/callback" constant githubCallbackPath (line 24) | githubCallbackPath = "/share/v1/openapi/github/callback" function NewGithubClient (line 27) | func NewGithubClient(ctx context.Context, logger *log.Logger, clientID, ... method GetGithubPrimaryEmail (line 97) | func (c *Client) GetGithubPrimaryEmail(token *oauth2.Token) (string, err... FILE: backend/pkg/oauth/oauth.go type Client (line 15) | type Client struct method GetAuthorizeURL (line 71) | func (c *Client) GetAuthorizeURL(state string) string { method GetUserInfo (line 75) | func (c *Client) GetUserInfo(code string) (*UserInfo, error) { constant callbackPath (line 24) | callbackPath = "/share/pro/v1/openapi/oauth/callback" type Config (line 27) | type Config struct type UserInfo (line 40) | type UserInfo struct function NewClient (line 48) | func NewClient(ctx context.Context, logger *log.Logger, baseUrl string, ... FILE: backend/pkg/ratelimit/rate_limiter.go type RateLimiter (line 15) | type RateLimiter struct method CheckIPLocked (line 38) | func (r *RateLimiter) CheckIPLocked(ctx context.Context, ip string) (b... method LockAttempt (line 54) | func (r *RateLimiter) LockAttempt(ctx context.Context, ip string) { method ResetLoginAttempts (line 90) | func (r *RateLimiter) ResetLoginAttempts(ctx context.Context, ip strin... function NewRateLimiter (line 20) | func NewRateLimiter(logger *log.Logger, cache *cache.Cache) *RateLimiter { constant LockThreshold1 (line 28) | LockThreshold1 = 5 constant LockThreshold2 (line 29) | LockThreshold2 = 10 constant LockThreshold3 (line 30) | LockThreshold3 = 15 constant AttemptsKeyExpiry (line 31) | AttemptsKeyExpiry = 24 * time.Hour FILE: backend/pkg/wecom/wecom.go constant AuthWebURL (line 21) | AuthWebURL = "https://login.work.weixin.qq.com/wwlogin/sso/login" constant AuthAPPURL (line 22) | AuthAPPURL = "https://open.weixin.qq.com/connect/oauth2/authorize" constant TokenURL (line 23) | TokenURL = "https://qyapi.weixin.qq.com/cgi-bin/gettoken" constant UserInfoURL (line 24) | UserInfoURL = "https://qyapi.weixin.qq.com/cgi-bin/auth/getuserinfo" constant UserDetailURL (line 25) | UserDetailURL = "https://qyapi.weixin.qq.com/cgi-bin/user/get" constant DepartmentListURL (line 27) | DepartmentListURL = "https://qyapi.weixin.qq.com/cgi-bin/department/list" constant UserListUrl (line 29) | UserListUrl = "https://qyapi.weixin.qq.com/cgi-bin/user/list" constant callbackPath (line 30) | callbackPath = "/share/pro/v1/openapi/wecom/callback" type Client (line 34) | type Client struct method GenerateAuthURL (line 148) | func (c *Client) GenerateAuthURL(state string) string { method GetAccessToken (line 166) | func (c *Client) GetAccessToken(ctx context.Context) (string, error) { method GetUserInfoByCode (line 201) | func (c *Client) GetUserInfoByCode(ctx context.Context, code string) (... method GetDepartmentList (line 268) | func (c *Client) GetDepartmentList(ctx context.Context) (*DepartmentLi... method GetUserList (line 308) | func (c *Client) GetUserList(ctx context.Context, deptID string) (*Use... type TokenResponse (line 44) | type TokenResponse struct type UserInfoResponse (line 51) | type UserInfoResponse struct type UserDetailResponse (line 60) | type UserDetailResponse struct type DepartmentListResponse (line 71) | type DepartmentListResponse struct type UserListResponse (line 84) | type UserListResponse struct function NewClient (line 114) | func NewClient(ctx context.Context, logger *log.Logger, corpID, corpSecr... FILE: backend/repo/cache/geo.go type GeoRepo (line 16) | type GeoRepo struct method SetGeo (line 30) | func (r *GeoRepo) SetGeo(ctx context.Context, kbID, field string) error { method GetLast24HourGeo (line 48) | func (r *GeoRepo) GetLast24HourGeo(ctx context.Context, kbID string) (... method GetGeoByHour (line 73) | func (r *GeoRepo) GetGeoByHour(ctx context.Context, kbID string, start... function NewGeoCache (line 22) | func NewGeoCache(cache *cache.Cache, db *pg.DB, logger *log.Logger) *Geo... FILE: backend/repo/cache/kb.go type KBRepo (line 13) | type KBRepo struct method GetKB (line 21) | func (r *KBRepo) GetKB(ctx context.Context, kbID string) (*domain.Know... method SetKB (line 41) | func (r *KBRepo) SetKB(ctx context.Context, kbID string, kb *domain.Kn... method DeleteKB (line 49) | func (r *KBRepo) DeleteKB(ctx context.Context, kbID string) error { method ClearSession (line 53) | func (r *KBRepo) ClearSession(ctx context.Context) error { function NewKBRepo (line 17) | func NewKBRepo(cache *cache.Cache) *KBRepo { FILE: backend/repo/ipdb/ip_addr.go type IPAddressRepo (line 13) | type IPAddressRepo struct method GetIPAddress (line 22) | func (r *IPAddressRepo) GetIPAddress(ctx context.Context, ip string) (... method GetIPAddresses (line 52) | func (r *IPAddressRepo) GetIPAddresses(ctx context.Context, ips []stri... function NewIPAddressRepo (line 18) | func NewIPAddressRepo(ipdb *ipdb.IPDB, logger *log.Logger) *IPAddressRepo { FILE: backend/repo/mq/rag.go type RAGRepository (line 11) | type RAGRepository struct method AsyncUpdateNodeReleaseVector (line 19) | func (r *RAGRepository) AsyncUpdateNodeReleaseVector(ctx context.Conte... function NewRAGRepository (line 15) | func NewRAGRepository(producer mq.MQProducer) *RAGRepository { FILE: backend/repo/pg/ap_token.go type APITokenRepo (line 17) | type APITokenRepo struct method GetByTokenWithCache (line 31) | func (r *APITokenRepo) GetByTokenWithCache(ctx context.Context, token ... function NewAPITokenRepo (line 23) | func NewAPITokenRepo(db *pg.DB, logger *log.Logger, cache *cache.Cache) ... FILE: backend/repo/pg/app.go type AppRepository (line 16) | type AppRepository struct method GetAppDetail (line 28) | func (r *AppRepository) GetAppDetail(ctx context.Context, id string) (... method UpdateApp (line 39) | func (r *AppRepository) UpdateApp(ctx context.Context, id, kbId string... method DeleteApp (line 50) | func (r *AppRepository) DeleteApp(ctx context.Context, id, kbId string... method GetOrCreateAppByKBIDAndType (line 54) | func (r *AppRepository) GetOrCreateAppByKBIDAndType(ctx context.Contex... method GetAppsByTypes (line 81) | func (r *AppRepository) GetAppsByTypes(ctx context.Context, appTypes [... method GetAppList (line 92) | func (r *AppRepository) GetAppList(ctx context.Context, kbID string) (... function NewAppRepository (line 21) | func NewAppRepository(db *pg.DB, logger *log.Logger) *AppRepository { FILE: backend/repo/pg/auth.go type AuthRepo (line 19) | type AuthRepo struct method GetAuthUserinfoByIDs (line 33) | func (r *AuthRepo) GetAuthUserinfoByIDs(ctx context.Context, authIDs [... method GetAuthGroupByAuthId (line 55) | func (r *AuthRepo) GetAuthGroupByAuthId(ctx context.Context, authID ui... method getAllAuthGroupsAsMap (line 68) | func (r *AuthRepo) getAllAuthGroupsAsMap(ctx context.Context) (map[uin... method getAuthGroupsWithParentsByAuthId (line 83) | func (r *AuthRepo) getAuthGroupsWithParentsByAuthId(ctx context.Contex... method GetAuthGroupWithParentsByAuthId (line 136) | func (r *AuthRepo) GetAuthGroupWithParentsByAuthId(ctx context.Context... method GetAuthGroupIdsByAuthId (line 150) | func (r *AuthRepo) GetAuthGroupIdsByAuthId(ctx context.Context, authID... method GetAuthGroupIdsWithParentsByAuthId (line 163) | func (r *AuthRepo) GetAuthGroupIdsWithParentsByAuthId(ctx context.Cont... method GetAuthBySourceType (line 177) | func (r *AuthRepo) GetAuthBySourceType(ctx context.Context, sourceType... method GetAuthByKBIDAndSourceType (line 185) | func (r *AuthRepo) GetAuthByKBIDAndSourceType(ctx context.Context, kbI... method CreateAuth (line 193) | func (r *AuthRepo) CreateAuth(ctx context.Context, auth *domain.Auth) ... method DeleteAuth (line 197) | func (r *AuthRepo) DeleteAuth(ctx context.Context, kbID string, authId... method CreateAuthConfig (line 201) | func (r *AuthRepo) CreateAuthConfig(ctx context.Context, authConfig *d... method GetAuthById (line 231) | func (r *AuthRepo) GetAuthById(ctx context.Context, kbID string, id ui... method GetAuthConfig (line 243) | func (r *AuthRepo) GetAuthConfig(ctx context.Context, kbID string, sou... method GetAuths (line 258) | func (r *AuthRepo) GetAuths(ctx context.Context, kbID string, sourceTy... method GetOrCreateAuth (line 272) | func (r *AuthRepo) GetOrCreateAuth(ctx context.Context, auth *domain.A... function NewAuthRepo (line 25) | func NewAuthRepo(db *pg.DB, logger *log.Logger, cache *cache.Cache) *Aut... FILE: backend/repo/pg/block_word.go type BlockWordRepo (line 14) | type BlockWordRepo struct method GetBlockWords (line 30) | func (r *BlockWordRepo) GetBlockWords(ctx context.Context, kbID string... type BlockWords (line 19) | type BlockWords struct function NewBlockWordRepo (line 23) | func NewBlockWordRepo(db *pg.DB, logger *log.Logger) *BlockWordRepo { FILE: backend/repo/pg/comment.go type CommentRepository (line 12) | type CommentRepository struct method CreateComment (line 21) | func (r *CommentRepository) CreateComment(ctx context.Context, comment... method GetCommentList (line 29) | func (r *CommentRepository) GetCommentList(ctx context.Context, nodeID... method GetCommentListByKbID (line 51) | func (r *CommentRepository) GetCommentListByKbID(ctx context.Context, ... method DeleteCommentList (line 85) | func (r *CommentRepository) DeleteCommentList(ctx context.Context, com... function NewCommentRepository (line 17) | func NewCommentRepository(db *pg.DB, logger *log.Logger) *CommentReposit... FILE: backend/repo/pg/conversation.go type ConversationRepository (line 16) | type ConversationRepository struct method CreateConversationMessage (line 25) | func (r *ConversationRepository) CreateConversationMessage(ctx context... method CreateConversation (line 37) | func (r *ConversationRepository) CreateConversation(ctx context.Contex... method GetConversationList (line 41) | func (r *ConversationRepository) GetConversationList(ctx context.Conte... method GetConversationDetail (line 72) | func (r *ConversationRepository) GetConversationDetail(ctx context.Con... method GetConversationReferences (line 87) | func (r *ConversationRepository) GetConversationReferences(ctx context... method GetConversationMessagesByID (line 98) | func (r *ConversationRepository) GetConversationMessagesByID(ctx conte... method ValidateConversationNonce (line 110) | func (r *ConversationRepository) ValidateConversationNonce(ctx context... method GetConversationDistribution (line 122) | func (r *ConversationRepository) GetConversationDistribution(ctx conte... method GetConversationCount (line 136) | func (r *ConversationRepository) GetConversationCount(ctx context.Cont... method GetConversationMessagesDetailByID (line 148) | func (r *ConversationRepository) GetConversationMessagesDetailByID(ctx... method GetConversationMessagesDetailByKbID (line 159) | func (r *ConversationRepository) GetConversationMessagesDetailByKbID(c... method UpdateMessageFeedback (line 172) | func (r *ConversationRepository) UpdateMessageFeedback(ctx context.Con... method GetConversationFeedBackInfoByIDs (line 189) | func (r *ConversationRepository) GetConversationFeedBackInfoByIDs(ctx ... method GetMessageFeedBackList (line 211) | func (r *ConversationRepository) GetMessageFeedBackList(ctx context.Co... method GetConversationDistributionByHour (line 248) | func (r *ConversationRepository) GetConversationDistributionByHour(ctx... method GetConversationCountByAppType (line 272) | func (r *ConversationRepository) GetConversationCountByAppType(ctx con... function NewConversationRepository (line 21) | func NewConversationRepository(db *pg.DB, logger *log.Logger) *Conversat... FILE: backend/repo/pg/knowledge_base.go type KnowledgeBaseRepository (line 29) | type KnowledgeBaseRepository struct method SyncKBAccessSettingsToCaddy (line 57) | func (r *KnowledgeBaseRepository) SyncKBAccessSettingsToCaddy(ctx cont... method CreateKnowledgeBase (line 342) | func (r *KnowledgeBaseRepository) CreateKnowledgeBase(ctx context.Cont... method checkUniquePortHost (line 440) | func (r *KnowledgeBaseRepository) checkUniquePortHost(kbList []*domain... method GetKnowledgeBaseList (line 469) | func (r *KnowledgeBaseRepository) GetKnowledgeBaseList(ctx context.Con... method GetKnowledgeBaseIds (line 480) | func (r *KnowledgeBaseRepository) GetKnowledgeBaseIds(ctx context.Cont... method GetKnowledgeBaseListByUserId (line 490) | func (r *KnowledgeBaseRepository) GetKnowledgeBaseListByUserId(ctx con... method UpdateDatasetID (line 544) | func (r *KnowledgeBaseRepository) UpdateDatasetID(ctx context.Context,... method UpdateKnowledgeBase (line 551) | func (r *KnowledgeBaseRepository) UpdateKnowledgeBase(ctx context.Cont... method GetKnowledgeBaseByID (line 600) | func (r *KnowledgeBaseRepository) GetKnowledgeBaseByID(ctx context.Con... method DeleteKnowledgeBase (line 608) | func (r *KnowledgeBaseRepository) DeleteKnowledgeBase(ctx context.Cont... method CreateKBRelease (line 633) | func (r *KnowledgeBaseRepository) CreateKBRelease(ctx context.Context,... method GetKBReleaseList (line 721) | func (r *KnowledgeBaseRepository) GetKBReleaseList(ctx context.Context... method GetLatestRelease (line 742) | func (r *KnowledgeBaseRepository) GetLatestRelease(ctx context.Context... method GetKBUserlist (line 753) | func (r *KnowledgeBaseRepository) GetKBUserlist(ctx context.Context, k... method CreateKBUser (line 785) | func (r *KnowledgeBaseRepository) CreateKBUser(ctx context.Context, kb... method UpdateKBUserPerm (line 790) | func (r *KnowledgeBaseRepository) UpdateKBUserPerm(ctx context.Context... method DeleteKBUser (line 797) | func (r *KnowledgeBaseRepository) DeleteKBUser(ctx context.Context, kb... method GetKBUser (line 803) | func (r *KnowledgeBaseRepository) GetKBUser(ctx context.Context, kbId,... method GetKBPermByUserId (line 814) | func (r *KnowledgeBaseRepository) GetKBPermByUserId(ctx context.Contex... function NewKnowledgeBaseRepository (line 36) | func NewKnowledgeBaseRepository(db *pg.DB, config *config.Config, logger... FILE: backend/repo/pg/mcp.go type MCPRepository (line 10) | type MCPRepository struct method GetMCPCallCount (line 19) | func (r *MCPRepository) GetMCPCallCount(ctx context.Context) (int64, e... function NewMCPRepository (line 15) | func NewMCPRepository(db *pg.DB, logger *log.Logger) *MCPRepository { FILE: backend/repo/pg/model.go type ModelRepository (line 14) | type ModelRepository struct method Create (line 23) | func (r *ModelRepository) Create(ctx context.Context, model *domain.Mo... method GetList (line 32) | func (r *ModelRepository) GetList(ctx context.Context) ([]*domain.Mode... method Update (line 43) | func (r *ModelRepository) Update(ctx context.Context, req *domain.Upda... method Updates (line 67) | func (r *ModelRepository) Updates(ctx context.Context, modelId string,... method Delete (line 74) | func (r *ModelRepository) Delete(ctx context.Context, id string) error { method GetChatModel (line 85) | func (r *ModelRepository) GetChatModel(ctx context.Context) (*domain.M... method GetModelByType (line 96) | func (r *ModelRepository) GetModelByType(ctx context.Context, modelTyp... method UpdateUsage (line 107) | func (r *ModelRepository) UpdateUsage(ctx context.Context, modelID str... function NewModelRepository (line 19) | func NewModelRepository(db *pg.DB, logger *log.Logger) *ModelRepository { FILE: backend/repo/pg/nav.go type NavRepository (line 15) | type NavRepository struct method GetById (line 24) | func (r *NavRepository) GetById(ctx context.Context, id string) (*doma... method GetList (line 33) | func (r *NavRepository) GetList(ctx context.Context, kbId string) ([]v... method getMaxPosByKbId (line 46) | func (r *NavRepository) getMaxPosByKbId(tx *gorm.DB, kbId string) (flo... method Create (line 57) | func (r *NavRepository) Create(ctx context.Context, nav *domain.Nav, p... method reorderPositionsTx (line 83) | func (r *NavRepository) reorderPositionsTx(tx *gorm.DB, kbId string) e... method Move (line 102) | func (r *NavRepository) Move(ctx context.Context, kbId, id, prevID, ne... method Delete (line 152) | func (r *NavRepository) Delete(ctx context.Context, kbId, id string) e... method Update (line 158) | func (r *NavRepository) Update(ctx context.Context, kbId, id, name str... method GetReleaseList (line 165) | func (r *NavRepository) GetReleaseList(ctx context.Context, kbId strin... function NewNavRepository (line 20) | func NewNavRepository(db *pg.DB, logger *log.Logger) *NavRepository { FILE: backend/repo/pg/node.go type NodeRepository (line 26) | type NodeRepository struct method Create (line 35) | func (r *NodeRepository) Create(ctx context.Context, req *domain.Creat... method GetList (line 129) | func (r *NodeRepository) GetList(ctx context.Context, req *domain.GetN... method GetLatestNodeReleaseByNodeIDs (line 150) | func (r *NodeRepository) GetLatestNodeReleaseByNodeIDs(ctx context.Con... method GetNodeReleasePublisherMap (line 164) | func (r *NodeRepository) GetNodeReleasePublisherMap(ctx context.Contex... method UpdateNodeContent (line 190) | func (r *NodeRepository) UpdateNodeContent(ctx context.Context, req *d... method GetByID (line 293) | func (r *NodeRepository) GetByID(ctx context.Context, id, kbId string)... method Delete (line 308) | func (r *NodeRepository) Delete(ctx context.Context, kbID string, ids ... method backupNodeReleasesTx (line 352) | func (r *NodeRepository) backupNodeReleasesTx(tx *gorm.DB, nodeIDs []s... method collectAllChildNodeIDs (line 387) | func (r *NodeRepository) collectAllChildNodeIDs(tx *gorm.DB, kbID stri... method GetNodeByID (line 413) | func (r *NodeRepository) GetNodeByID(ctx context.Context, id string) (... method GetNodesByIDs (line 425) | func (r *NodeRepository) GetNodesByIDs(ctx context.Context, ids []stri... method buildNodePath (line 444) | func (r *NodeRepository) buildNodePath(ctx context.Context, kbID strin... method GetNodeNameByNodeIDs (line 484) | func (r *NodeRepository) GetNodeNameByNodeIDs(ctx context.Context, ids... method GetNodeReleaseByID (line 502) | func (r *NodeRepository) GetNodeReleaseByID(ctx context.Context, id st... method GetLatestNodeReleaseByNodeID (line 513) | func (r *NodeRepository) GetLatestNodeReleaseByNodeID(ctx context.Cont... method GetLatestNodeReleaseWithPublishAccount (line 525) | func (r *NodeRepository) GetLatestNodeReleaseWithPublishAccount(ctx co... method GetNodeReleaseWithDirPathByID (line 540) | func (r *NodeRepository) GetNodeReleaseWithDirPathByID(ctx context.Con... method GetNodeReleasesByDocIDs (line 569) | func (r *NodeRepository) GetNodeReleasesByDocIDs(ctx context.Context, ... method GetNodeReleasesWithPathsByDocIDs (line 593) | func (r *NodeRepository) GetNodeReleasesWithPathsByDocIDs(ctx context.... method getNodePathsBatch (line 649) | func (r *NodeRepository) getNodePathsBatch(ctx context.Context, docIDs... method GetRecommendNodeListByIDs (line 716) | func (r *NodeRepository) GetRecommendNodeListByIDs(ctx context.Context... method GetRecommendNodeListByParentIDs (line 732) | func (r *NodeRepository) GetRecommendNodeListByParentIDs(ctx context.C... method GetNodeReleaseListByKBID (line 757) | func (r *NodeRepository) GetNodeReleaseListByKBID(ctx context.Context,... method GetNodeReleaseDetailByKBIDAndID (line 787) | func (r *NodeRepository) GetNodeReleaseDetailByKBIDAndID(ctx context.C... method MoveNodeBetween (line 813) | func (r *NodeRepository) MoveNodeBetween(ctx context.Context, id, pare... method UpdateNodeDocID (line 864) | func (r *NodeRepository) UpdateNodeDocID(ctx context.Context, id, docI... method UpdateNodeReleaseDocID (line 875) | func (r *NodeRepository) UpdateNodeReleaseDocID(ctx context.Context, i... method UpdateNodeSummary (line 885) | func (r *NodeRepository) UpdateNodeSummary(ctx context.Context, kbID, ... method UpdateNodeStatus (line 894) | func (r *NodeRepository) UpdateNodeStatus(ctx context.Context, kbID, n... method TraverseNodesByCursor (line 904) | func (r *NodeRepository) TraverseNodesByCursor(ctx context.Context, ca... method CreateNodeReleases (line 933) | func (r *NodeRepository) CreateNodeReleases(ctx context.Context, kbID,... method GetOldNodeDocIDsByNodeID (line 980) | func (r *NodeRepository) GetOldNodeDocIDsByNodeID(ctx context.Context,... method MoveNodeNav (line 1007) | func (r *NodeRepository) MoveNodeNav(ctx context.Context, kbID, navID ... method BatchMove (line 1034) | func (r *NodeRepository) BatchMove(ctx context.Context, req *domain.Ba... method reorderPositionsByParentID (line 1057) | func (r *NodeRepository) reorderPositionsByParentID(tx *gorm.DB, kbID,... method reorderPositions (line 1080) | func (r *NodeRepository) reorderPositions(tx *gorm.DB, nodes []*domain... method GetNodeIDsByReleaseID (line 1123) | func (r *NodeRepository) GetNodeIDsByReleaseID(ctx context.Context, re... method UpdateNodeByKbID (line 1134) | func (r *NodeRepository) UpdateNodeByKbID(ctx context.Context, id, kbI... method UpdateNodesByKbID (line 1142) | func (r *NodeRepository) UpdateNodesByKbID(ctx context.Context, ids []... method UpdateNodeGroupByKbIDAndNodeIds (line 1170) | func (r *NodeRepository) UpdateNodeGroupByKbIDAndNodeIds(ctx context.C... method GetNodeGroupByNodeId (line 1218) | func (r *NodeRepository) GetNodeGroupByNodeId(ctx context.Context, nod... method Update (line 1231) | func (r *NodeRepository) Update(ctx context.Context, id string, m map[... method GetNodeIdByDocId (line 1235) | func (r *NodeRepository) GetNodeIdByDocId(ctx context.Context, docId s... method GetNodeIdsWithoutStatusByKbId (line 1248) | func (r *NodeRepository) GetNodeIdsWithoutStatusByKbId(ctx context.Con... method GetNodeIdsByDocIds (line 1264) | func (r *NodeRepository) GetNodeIdsByDocIds(ctx context.Context, docId... method DeleteOldNodeReleaseBackups (line 1292) | func (r *NodeRepository) DeleteOldNodeReleaseBackups(ctx context.Conte... method GetNodeCount (line 1298) | func (r *NodeRepository) GetNodeCount(ctx context.Context) (int, error) { method CountNodeByNavId (line 1309) | func (r *NodeRepository) CountNodeByNavId(ctx context.Context, kbId, n... method GetNodeIDsByNavId (line 1321) | func (r *NodeRepository) GetNodeIDsByNavId(ctx context.Context, kbId, ... method GetNodeListByStatus (line 1332) | func (r *NodeRepository) GetNodeListByStatus(ctx context.Context, kbId... method GetNodeStats (line 1361) | func (r *NodeRepository) GetNodeStats(ctx context.Context, kbId string... function NewNodeRepository (line 31) | func NewNodeRepository(db *pg.DB, logger *log.Logger) *NodeRepository { type NodeReleaseWithPath (line 585) | type NodeReleaseWithPath struct type NodePathInfo (line 641) | type NodePathInfo struct FILE: backend/repo/pg/node_group.go method GetNodeGroupsByGroupIdsPerm (line 10) | func (r *NodeRepository) GetNodeGroupsByGroupIdsPerm(ctx context.Context... method GetNodeAuthGroupIdsByNodeId (line 22) | func (r *NodeRepository) GetNodeAuthGroupIdsByNodeId(ctx context.Context... FILE: backend/repo/pg/node_stats.go method GetNodeStatsByNodeId (line 13) | func (r *NodeRepository) GetNodeStatsByNodeId(ctx context.Context, nodeI... FILE: backend/repo/pg/prompt.go type PromptRepo (line 17) | type PromptRepo struct method GetPromptContent (line 29) | func (r *PromptRepo) GetPromptContent(ctx context.Context, kbID string... method GetSummaryPrompt (line 53) | func (r *PromptRepo) GetSummaryPrompt(ctx context.Context, kbID string... method buildPresetPrompt (line 74) | func (r *PromptRepo) buildPresetPrompt(prompt domain.Prompt) string { function NewPromptRepo (line 22) | func NewPromptRepo(db *pg.DB, logger *log.Logger) *PromptRepo { FILE: backend/repo/pg/stat.go type StatRepository (line 16) | type StatRepository struct method CreateStatPage (line 28) | func (r *StatRepository) CreateStatPage(ctx context.Context, stat *dom... method GetHotPages (line 32) | func (r *StatRepository) GetHotPages(ctx context.Context, kbID string)... method GetHotPagesNoLimit (line 48) | func (r *StatRepository) GetHotPagesNoLimit(ctx context.Context, kbID ... method GetHotScene (line 62) | func (r *StatRepository) GetHotScene(ctx context.Context, kbID string)... method GetHotRefererHosts (line 76) | func (r *StatRepository) GetHotRefererHosts(ctx context.Context, kbID ... method GetHotBrowsers (line 90) | func (r *StatRepository) GetHotBrowsers(ctx context.Context, kbID stri... method GetStatPageCount (line 121) | func (r *StatRepository) GetStatPageCount(ctx context.Context, kbID st... method GetInstantCount (line 132) | func (r *StatRepository) GetInstantCount(ctx context.Context, kbID str... method GetInstantPages (line 145) | func (r *StatRepository) GetInstantPages(ctx context.Context, kbID str... method RemoveOldData (line 158) | func (r *StatRepository) RemoveOldData(ctx context.Context) error { method GetYesterdayPVByNode (line 168) | func (r *StatRepository) GetYesterdayPVByNode(ctx context.Context) (ma... method UpsertNodeStats (line 193) | func (r *StatRepository) UpsertNodeStats(ctx context.Context, nodeID s... function NewStatRepository (line 21) | func NewStatRepository(db *pg.DB, cahe *cache.Cache) *StatRepository { FILE: backend/repo/pg/stat_hour.go method GetConversationCountOneHour (line 17) | func (r *StatRepository) GetConversationCountOneHour(ctx context.Context... method GetStatPageOneHour (line 29) | func (r *StatRepository) GetStatPageOneHour(ctx context.Context, kbID st... method GetGeCountOneHour (line 47) | func (r *StatRepository) GetGeCountOneHour(ctx context.Context, kbID str... method GetConversationDistributionOneHour (line 66) | func (r *StatRepository) GetConversationDistributionOneHour(ctx context.... method GetHotRefererHostOneHour (line 90) | func (r *StatRepository) GetHotRefererHostOneHour(ctx context.Context, k... method GetHotRefererHostsByHour (line 114) | func (r *StatRepository) GetHotRefererHostsByHour(ctx context.Context, k... method CreateStatPageHour (line 162) | func (r *StatRepository) CreateStatPageHour(ctx context.Context, statPag... method CheckStatPageHourExists (line 167) | func (r *StatRepository) CheckStatPageHourExists(ctx context.Context, kb... method CleanupOldHourlyStats (line 179) | func (r *StatRepository) CleanupOldHourlyStats(ctx context.Context) error { method GetHotPagesOneHour (line 185) | func (r *StatRepository) GetHotPagesOneHour(ctx context.Context, kbID st... method GetHotPagesByHour (line 210) | func (r *StatRepository) GetHotPagesByHour(ctx context.Context, kbID str... method GetHotBrowsersOneHour (line 230) | func (r *StatRepository) GetHotBrowsersOneHour(ctx context.Context, kbID... method GetHotOSOneHour (line 253) | func (r *StatRepository) GetHotOSOneHour(ctx context.Context, kbID strin... method GetStatPageCountByHour (line 276) | func (r *StatRepository) GetStatPageCountByHour(ctx context.Context, kbI... method GetHotBrowsersByHour (line 288) | func (r *StatRepository) GetHotBrowsersByHour(ctx context.Context, kbID ... FILE: backend/repo/pg/system_setting.go type SystemSettingRepo (line 12) | type SystemSettingRepo struct method GetSystemSetting (line 24) | func (r *SystemSettingRepo) GetSystemSetting(ctx context.Context, key ... method UpdateSystemSetting (line 34) | func (r *SystemSettingRepo) UpdateSystemSetting(ctx context.Context, k... function NewSystemSettingRepo (line 17) | func NewSystemSettingRepo(db *pg.DB, logger *log.Logger) *SystemSettingR... FILE: backend/repo/pg/user.go type UserRepository (line 19) | type UserRepository struct method UpsertDefaultUser (line 31) | func (r *UserRepository) UpsertDefaultUser(ctx context.Context, user *... method CreateUser (line 56) | func (r *UserRepository) CreateUser(ctx context.Context, user *domain.... method VerifyUser (line 78) | func (r *UserRepository) VerifyUser(ctx context.Context, account strin... method GetUser (line 90) | func (r *UserRepository) GetUser(ctx context.Context, userID string) (... method ListUsers (line 101) | func (r *UserRepository) ListUsers(ctx context.Context) ([]v1.UserList... method GetUsersAccountMap (line 113) | func (r *UserRepository) GetUsersAccountMap(ctx context.Context) (map[... method UpdateUserPassword (line 129) | func (r *UserRepository) UpdateUserPassword(ctx context.Context, userI... method DeleteUser (line 137) | func (r *UserRepository) DeleteUser(ctx context.Context, userID string... function NewUserRepository (line 24) | func NewUserRepository(db *pg.DB, logger *log.Logger) *UserRepository { FILE: backend/repo/pg/user_access.go type UserAccessRepository (line 16) | type UserAccessRepository struct method UpdateAccessTime (line 34) | func (r *UserAccessRepository) UpdateAccessTime(userID string) { method GetAccessTime (line 39) | func (r *UserAccessRepository) GetAccessTime(userID string) (time.Time... method startSyncTask (line 47) | func (r *UserAccessRepository) startSyncTask() { method syncToDatabase (line 57) | func (r *UserAccessRepository) syncToDatabase() { method ValidateRole (line 106) | func (r *UserAccessRepository) ValidateRole(userID string, role consts... method ValidateKBPerm (line 123) | func (r *UserAccessRepository) ValidateKBPerm(kbId, userId string, per... function NewUserAccessRepository (line 22) | func NewUserAccessRepository(db *pg.DB, logger *log.Logger) *UserAccessR... FILE: backend/repo/pg/wechat.go type WechatRepository (line 11) | type WechatRepository struct method GetWechatStatic (line 20) | func (r *WechatRepository) GetWechatStatic(ctx context.Context, kbID s... method GetWechatBaseURL (line 32) | func (r *WechatRepository) GetWechatBaseURL(ctx context.Context, kbID ... function NewWechatRepository (line 16) | func NewWechatRepository(db *pg.DB, logger *log.Logger) *WechatRepository { FILE: backend/server/http/http.go type HTTPServer (line 25) | type HTTPServer struct type echoValidator (line 29) | type echoValidator struct method Validate (line 33) | func (v *echoValidator) Validate(i any) error { function NewEcho (line 40) | func NewEcho( type MyBinder (line 130) | type MyBinder struct method Bind (line 134) | func (b *MyBinder) Bind(i interface{}, c echo.Context) (err error) { FILE: backend/setup/cert.go constant keyFile (line 16) | keyFile = "/app/etc/nginx/ssl/panda-wiki.key" constant certFile (line 17) | certFile = "/app/etc/nginx/ssl/panda-wiki.crt" function CheckInitCert (line 21) | func CheckInitCert() error { function createSelfSignedCerts (line 42) | func createSelfSignedCerts() error { FILE: backend/store/cache/redis.go type Cache (line 12) | type Cache struct method GetOrSet (line 30) | func (cache *Cache) GetOrSet(ctx context.Context, key string, value in... method DeleteKeysWithPrefix (line 46) | func (cache *Cache) DeleteKeysWithPrefix(ctx context.Context, prefix s... method AcquireLock (line 59) | func (cache *Cache) AcquireLock(ctx context.Context, key string) bool { method ReleaseLock (line 67) | func (cache *Cache) ReleaseLock(ctx context.Context, key string) bool { function NewCache (line 16) | func NewCache(config *config.Config) (*Cache, error) { FILE: backend/store/ipdb/ipdb.go type IPDB (line 18) | type IPDB struct method Lookup (line 35) | func (a *IPDB) Lookup(ip string) (*domain.IPAddress, error) { function NewIPDB (line 23) | func NewIPDB(config *config.Config, logger *log.Logger) (*IPDB, error) { FILE: backend/store/pg/migration/000001_init.up.sql type "public" (line 2) | CREATE TABLE type "public" (line 15) | CREATE INDEX "idx_apps_kb_id" ON "public"."apps" ("kb_id") type "public" (line 18) | CREATE TABLE type "public" (line 36) | CREATE INDEX "idx_conversation_messages_app_id" ON "public"."conversatio... type "public" (line 39) | CREATE INDEX "idx_conversation_messages_conversation_id" ON "public"."co... type "public" (line 42) | CREATE TABLE type "public" (line 53) | CREATE INDEX "idx_conversation_references_conversation_id" ON "public"."... type "public" (line 56) | CREATE TABLE type "public" (line 69) | CREATE INDEX "idx_conversations_kb_id" ON "public"."conversations" ("kb_... type "public" (line 72) | CREATE INDEX "idx_conversations_app_id" ON "public"."conversations" ("ap... type "public" (line 75) | CREATE TABLE type "public" (line 92) | CREATE INDEX "idx_nodes_kb_id" ON "public"."nodes" ("kb_id") type "public" (line 95) | CREATE INDEX "idx_nodes_doc_id" ON "public"."nodes" ("doc_id") type "public" (line 98) | CREATE INDEX "idx_nodes_parent_id" ON "public"."nodes" ("parent_id") type "public" (line 101) | CREATE TABLE type "public" (line 112) | CREATE TABLE type "public" (line 131) | CREATE TABLE type "public" (line 142) | CREATE UNIQUE INDEX "idx_users_account" ON "public"."users" ("account") FILE: backend/store/pg/migration/000002_add_type_for_model.up.sql type idx_models_type (line 5) | create unique index idx_models_type on models (type) FILE: backend/store/pg/migration/000005_app_kb_id_type_uniq.down.sql type "public" (line 5) | CREATE INDEX "idx_apps_kb_id" ON "public"."apps" ("kb_id") FILE: backend/store/pg/migration/000005_app_kb_id_type_uniq.up.sql type "public" (line 2) | CREATE UNIQUE INDEX "idx_apps_kb_id_type" ON "public"."apps" ("kb_id", "... FILE: backend/store/pg/migration/000006_node_version.up.sql type "public" (line 2) | CREATE TABLE type "public" (line 20) | CREATE INDEX "idx_node_releases_kb_id" ON "public"."node_releases" ("kb_... type "public" (line 21) | CREATE INDEX "idx_node_releases_node_id" ON "public"."node_releases" ("n... type "public" (line 22) | CREATE INDEX "idx_node_releases_doc_id" ON "public"."node_releases" ("do... type "public" (line 25) | CREATE TABLE type "public" (line 36) | CREATE INDEX "idx_kb_releases_kb_id" ON "public"."kb_releases" ("kb_id") type "public" (line 39) | CREATE TABLE type "public" (line 51) | CREATE INDEX "idx_kb_release_node_releases_kb_id" ON "public"."kb_releas... type "public" (line 52) | CREATE INDEX "idx_kb_release_node_releases_release_id_node_release_id" O... type "public" (line 53) | CREATE INDEX "idx_kb_release_node_releases_node_id" ON "public"."kb_rele... type "public" (line 64) | CREATE TABLE "public"."migrations" ( type "public" (line 71) | CREATE UNIQUE INDEX "idx_migrations_name" ON "public"."migrations" ("name") FILE: backend/store/pg/migration/000009_create_stat_pages.up.sql type stat_pages (line 2) | CREATE TABLE IF NOT EXISTS stat_pages ( type idx_stat_pages_kb_id_node_id (line 18) | CREATE INDEX IF NOT EXISTS idx_stat_pages_kb_id_node_id ON stat_pages(kb... FILE: backend/store/pg/migration/000011_create_user_comment.up.sql type "public" (line 1) | CREATE TABLE "public"."comments" ( type "public" (line 14) | CREATE INDEX "idx_comments_node_id" ON "public"."comments" ("node_id") type "public" (line 15) | CREATE INDEX "idx_comments_kb_id" ON "public"."comments"("kb_id") FILE: backend/store/pg/migration/000013_create_license.up.sql type licenses (line 2) | CREATE TABLE IF NOT EXISTS licenses ( FILE: backend/store/pg/migration/000015_create_auth.up.sql type auths (line 2) | CREATE TABLE IF NOT EXISTS auths ( type auth_configs (line 14) | CREATE TABLE IF NOT EXISTS auth_configs ( FILE: backend/store/pg/migration/000016_create_document_feedback.up.sql type document_feedbacks (line 1) | CREATE TABLE IF NOT EXISTS document_feedbacks ( FILE: backend/store/pg/migration/000018_create_settings.up.sql type settings (line 2) | CREATE TABLE IF NOT EXISTS settings ( type idx_settings_kb_id_key (line 13) | CREATE UNIQUE INDEX idx_settings_kb_id_key ON settings (kb_id, key) FILE: backend/store/pg/migration/000020_add_user_role_and_kb_users.up.sql type "public" (line 8) | CREATE TABLE "public"."kb_users" ( FILE: backend/store/pg/migration/000021_create_auth_groups.up.sql type auth_groups (line 2) | CREATE TABLE IF NOT EXISTS auth_groups ( type node_auth_groups (line 12) | CREATE TABLE IF NOT EXISTS node_auth_groups ( FILE: backend/store/pg/migration/000023_create_stat_page_hours.up.sql type stat_page_hours (line 1) | CREATE TABLE IF NOT EXISTS stat_page_hours ( type idx_stat_page_hours_hour (line 19) | CREATE INDEX IF NOT EXISTS idx_stat_page_hours_hour ON stat_page_hours (... FILE: backend/store/pg/migration/000025_create_api_tokens_table.up.sql type api_tokens (line 1) | CREATE TABLE IF NOT EXISTS api_tokens ( FILE: backend/store/pg/migration/000027_create_contributes_table.up.sql type contributes (line 1) | CREATE TABLE IF NOT EXISTS contributes ( FILE: backend/store/pg/migration/000032_create_system_settings.up.sql type system_settings (line 2) | CREATE TABLE IF NOT EXISTS system_settings ( type idx_uniq_system_settings_key (line 11) | CREATE UNIQUE INDEX idx_uniq_system_settings_key ON system_settings(key) FILE: backend/store/pg/migration/000033_create_mcp_calls.up.sql type mcp_calls (line 1) | CREATE TABLE IF NOT EXISTS mcp_calls ( FILE: backend/store/pg/migration/000034_create_node_stats.up.sql type node_stats (line 1) | CREATE TABLE IF NOT EXISTS node_stats ( FILE: backend/store/pg/migration/000037_create_nav_tabs.up.sql type navs (line 1) | CREATE TABLE IF NOT EXISTS navs ( type nav_releases (line 12) | CREATE TABLE IF NOT EXISTS nav_releases ( type idx_nav_releases_release_id (line 22) | CREATE INDEX IF NOT EXISTS idx_nav_releases_release_id ON nav_releases(r... type idx_nav_releases_kb_id (line 23) | CREATE INDEX IF NOT EXISTS idx_nav_releases_kb_id ON nav_releases(kb_id) FILE: backend/store/pg/migration/000038_create_node_release_backups.up.sql type node_release_backup (line 1) | CREATE TABLE IF NOT EXISTS node_release_backup ( type node_release_backup_deleted_at_idx (line 20) | CREATE INDEX IF NOT EXISTS node_release_backup_deleted_at_idx ON node_re... FILE: backend/store/pg/pg.go type DB (line 20) | type DB struct function NewDB (line 24) | func NewDB(config *config.Config) (*DB, error) { function doMigrate (line 57) | func doMigrate(dsn string) error { FILE: backend/store/rag/ct.go type CTRAG (line 19) | type CTRAG struct method CreateKnowledgeBase (line 40) | func (s *CTRAG) CreateKnowledgeBase(ctx context.Context) (string, erro... method QueryRecords (line 50) | func (s *CTRAG) QueryRecords(ctx context.Context, req *QueryRecordsReq... method UpsertRecords (line 97) | func (s *CTRAG) UpsertRecords(ctx context.Context, req *UpsertRecordsR... method DeleteRecords (line 128) | func (s *CTRAG) DeleteRecords(ctx context.Context, datasetID string, d... method DeleteKnowledgeBase (line 138) | func (s *CTRAG) DeleteKnowledgeBase(ctx context.Context, datasetID str... method AddModel (line 145) | func (s *CTRAG) AddModel(ctx context.Context, model *domain.Model) (st... method UpsertModel (line 171) | func (s *CTRAG) UpsertModel(ctx context.Context, model *domain.Model) ... method UpdateModel (line 199) | func (s *CTRAG) UpdateModel(ctx context.Context, model *domain.Model) ... method DeleteModel (line 226) | func (s *CTRAG) DeleteModel(ctx context.Context, model *domain.Model) ... method GetModelList (line 234) | func (s *CTRAG) GetModelList(ctx context.Context) ([]*domain.Model, er... method UpdateDocumentGroupIDs (line 252) | func (s *CTRAG) UpdateDocumentGroupIDs(ctx context.Context, datasetID ... method ListDocuments (line 268) | func (s *CTRAG) ListDocuments(ctx context.Context, datasetID string, d... function NewCTRAG (line 25) | func NewCTRAG(config *config.Config, logger *log.Logger) (*CTRAG, error) { FILE: backend/store/rag/html2md.go function NewHTML2MDConverter (line 15) | func NewHTML2MDConverter() *converter.Converter { function renderAttachment (line 37) | func renderAttachment(ctx converter.Context, w converter.Writer, node *h... function renderTaskList (line 77) | func renderTaskList(ctx converter.Context, w converter.Writer, node *htm... function getTextFromTaskItem (line 114) | func getTextFromTaskItem(node *html.Node) string { function renderFlowchart (line 133) | func renderFlowchart(ctx converter.Context, w converter.Writer, node *ht... FILE: backend/store/rag/rag.go type QueryRecordsRequest (line 15) | type QueryRecordsRequest struct type UpsertRecordsRequest (line 25) | type UpsertRecordsRequest struct type DocumentMetadata (line 35) | type DocumentMetadata struct type Document (line 39) | type Document struct type RAGService (line 49) | type RAGService interface function NewRAGService (line 65) | func NewRAGService(config *config.Config, logger *log.Logger) (RAGServic... FILE: backend/store/s3/minio.go type MinioClient (line 15) | type MinioClient struct method SignURL (line 65) | func (c *MinioClient) SignURL(ctx context.Context, bucket, object stri... function NewMinioClient (line 20) | func NewMinioClient(config *config.Config) (*MinioClient, error) { FILE: backend/telemetry/aes.go function Encrypt (line 10) | func Encrypt(key []byte, data []byte) (string, error) { FILE: backend/telemetry/client.go constant machineIDFile (line 26) | machineIDFile = "/data/.machine_id" constant reportInterval (line 27) | reportInterval = time.Hour type Client (line 31) | type Client struct method GetMachineID (line 90) | func (c *Client) GetMachineID() string { method getOrCreateMachineID (line 94) | func (c *Client) getOrCreateMachineID() (string, error) { method startPeriodicReport (line 159) | func (c *Client) startPeriodicReport() { method nextReportDataDelay (line 185) | func (c *Client) nextReportDataDelay() time.Duration { method reportInstallation (line 225) | func (c *Client) reportInstallation() error { method reportData (line 279) | func (c *Client) reportData() error { method isAdminLoggedInYesterday (line 376) | func (c *Client) isAdminLoggedInYesterday() (bool, error) { method Stop (line 394) | func (c *Client) Stop() { function NewClient (line 49) | func NewClient(logger *log.Logger, repo *pg.KnowledgeBaseRepository, mod... type InstallationEvent (line 399) | type InstallationEvent struct type DailyReportEvent (line 407) | type DailyReportEvent struct FILE: backend/usecase/app.go type AppUsecase (line 24) | type AppUsecase struct method ValidateUpdateApp (line 94) | func (u *AppUsecase) ValidateUpdateApp(ctx context.Context, id string,... method UpdateApp (line 162) | func (u *AppUsecase) UpdateApp(ctx context.Context, id string, appRequ... method getQAFunc (line 190) | func (u *AppUsecase) getQAFunc(kbID string, appType domain.AppType) bo... method updateFeishuBot (line 257) | func (u *AppUsecase) updateFeishuBot(app *domain.App) { method updateLarkBot (line 297) | func (u *AppUsecase) updateLarkBot(app *domain.App) { method updateDingTalkBot (line 343) | func (u *AppUsecase) updateDingTalkBot(app *domain.App) { method updateDisCordBot (line 388) | func (u *AppUsecase) updateDisCordBot(app *domain.App) { method DeleteApp (line 424) | func (u *AppUsecase) DeleteApp(ctx context.Context, id, kbID string) e... method GetLarkBotClient (line 430) | func (u *AppUsecase) GetLarkBotClient(appID string) (*lark.LarkClient,... method GetAppDetailByKBIDAndAppType (line 437) | func (u *AppUsecase) GetAppDetailByKBIDAndAppType(ctx context.Context,... method GetMCPServerAppInfo (line 586) | func (u *AppUsecase) GetMCPServerAppInfo(ctx context.Context, kbID str... method ShareGetWebAppInfo (line 599) | func (u *AppUsecase) ShareGetWebAppInfo(ctx context.Context, kbID stri... method GetWidgetAppInfo (line 708) | func (u *AppUsecase) GetWidgetAppInfo(ctx context.Context, kbID string... method GetWechatAppInfo (line 746) | func (u *AppUsecase) GetWechatAppInfo(ctx context.Context, kbID string... method handleBotAuths (line 767) | func (u *AppUsecase) handleBotAuths(ctx context.Context, id string, ne... method handleBotAuth (line 860) | func (u *AppUsecase) handleBotAuth(ctx context.Context, kbID, appId st... method GetOpenAIAPIAppInfo (line 895) | func (u *AppUsecase) GetOpenAIAPIAppInfo(ctx context.Context, kbID str... method GetRecommendNodesByIds (line 909) | func (u *AppUsecase) GetRecommendNodesByIds(ctx context.Context, kbId ... function NewAppUsecase (line 44) | func NewAppUsecase( FILE: backend/usecase/auth.go type AuthUsecase (line 25) | type AuthUsecase struct method GetAuthBySourceType (line 48) | func (u *AuthUsecase) GetAuthBySourceType(ctx context.Context, sourceT... method DeleteAuth (line 52) | func (u *AuthUsecase) DeleteAuth(ctx context.Context, req v1.AuthDelet... method SetAuth (line 56) | func (u *AuthUsecase) SetAuth(ctx context.Context, req v1.AuthSetReq) ... method GetAuthInfo (line 71) | func (u *AuthUsecase) GetAuthInfo(ctx context.Context, kbId string, au... method GetAuth (line 81) | func (u *AuthUsecase) GetAuth(ctx context.Context, kbID string, source... method ValidateRedirectUrl (line 119) | func (u *AuthUsecase) ValidateRedirectUrl(ctx context.Context, kbId, r... method genState (line 140) | func (u *AuthUsecase) genState(ctx context.Context, stateInfo StateInf... method SaveNewSession (line 155) | func (u *AuthUsecase) SaveNewSession(c echo.Context, auth *domain.Auth... function NewAuthUsecase (line 32) | func NewAuthUsecase(authRepo *pg.AuthRepo, logger *log.Logger, kbRepo *p... type StateInfo (line 42) | type StateInfo struct FILE: backend/usecase/auth_github.go method getGitHubClient (line 14) | func (u *AuthUsecase) getGitHubClient(ctx context.Context, kbId, redirec... method GenerateGitHubAuthUrl (line 25) | func (u *AuthUsecase) GenerateGitHubAuthUrl(ctx context.Context, req sha... method GitHubCallback (line 43) | func (u *AuthUsecase) GitHubCallback(ctx context.Context, req shareV1.Gi... method getStateInfo (line 79) | func (u *AuthUsecase) getStateInfo(ctx context.Context, state string) (*... FILE: backend/usecase/chat.go type ChatUsecase (line 23) | type ChatUsecase struct method initDFA (line 58) | func (u *ChatUsecase) initDFA() error { method Chat (line 79) | func (u *ChatUsecase) Chat(ctx context.Context, req *domain.ChatReques... method ChatRagOnly (line 309) | func (u *ChatUsecase) ChatRagOnly(ctx context.Context, req *domain.Cha... method CreateAcOnChunk (line 374) | func (u *ChatUsecase) CreateAcOnChunk(ctx context.Context, kbID string... method replaceWithSimpleString (line 431) | func (u *ChatUsecase) replaceWithSimpleString(content string, filter *... method Search (line 436) | func (u *ChatUsecase) Search(ctx context.Context, req *domain.ChatSear... function NewChatUsecase (line 36) | func NewChatUsecase(llmUsecase *LLMUsecase, kbRepo *pg.KnowledgeBaseRepo... FILE: backend/usecase/comment.go type CommentUsecase (line 18) | type CommentUsecase struct method CreateComment (line 37) | func (u *CommentUsecase) CreateComment(ctx context.Context, commentReq... method GetCommentListByNodeID (line 75) | func (u *CommentUsecase) GetCommentListByNodeID(ctx context.Context, n... method GetCommentListByKbID (line 120) | func (u *CommentUsecase) GetCommentListByKbID(ctx context.Context, req... method DeleteCommentList (line 163) | func (u *CommentUsecase) DeleteCommentList(ctx context.Context, req *d... function NewCommentUsecase (line 26) | func NewCommentUsecase(commentRepo *pg.CommentRepository, logger *log.Lo... function maskIP (line 171) | func maskIP(ip string) string { FILE: backend/usecase/conversation.go type ConversationUsecase (line 17) | type ConversationUsecase struct method CreateChatConversationMessage (line 44) | func (u *ConversationUsecase) CreateChatConversationMessage(ctx contex... method GetConversationList (line 49) | func (u *ConversationUsecase) GetConversationList(ctx context.Context,... method GetConversationDetail (line 107) | func (u *ConversationUsecase) GetConversationDetail(ctx context.Contex... method ValidateConversationNonce (line 168) | func (u *ConversationUsecase) ValidateConversationNonce(ctx context.Co... method CreateConversation (line 172) | func (u *ConversationUsecase) CreateConversation(ctx context.Context, ... method FeedBack (line 189) | func (u *ConversationUsecase) FeedBack(ctx context.Context, feedback *... method GetMessageList (line 209) | func (u *ConversationUsecase) GetMessageList(ctx context.Context, req ... method GetMessageDetail (line 254) | func (u *ConversationUsecase) GetMessageDetail(ctx context.Context, kb... method GetShareConversationDetail (line 262) | func (u *ConversationUsecase) GetShareConversationDetail(ctx context.C... function NewConversationUsecase (line 26) | func NewConversationUsecase( function extractReferencesBlock (line 134) | func extractReferencesBlock(conversationID, appID, text string) []*domai... FILE: backend/usecase/crawler.go type CrawlerUsecase (line 21) | type CrawlerUsecase struct method ParseUrl (line 47) | func (u *CrawlerUsecase) ParseUrl(ctx context.Context, req *v1.Crawler... method ExportDoc (line 145) | func (u *CrawlerUsecase) ExportDoc(ctx context.Context, req *v1.Crawle... method ScrapeGetResult (line 166) | func (u *CrawlerUsecase) ScrapeGetResult(ctx context.Context, taskId s... method ScrapeGetResults (line 197) | func (u *CrawlerUsecase) ScrapeGetResults(ctx context.Context, taskIds... function NewCrawlerUsecase (line 28) | func NewCrawlerUsecase(logger *log.Logger, mqConsumer mq.MQConsumer, cac... FILE: backend/usecase/creation.go type CreationUsecase (line 15) | type CreationUsecase struct method TextCreation (line 32) | func (u *CreationUsecase) TextCreation(ctx context.Context, req *domai... method TabComplete (line 84) | func (u *CreationUsecase) TabComplete(ctx context.Context, req *domain... function NewCreationUsecase (line 22) | func NewCreationUsecase(logger *log.Logger, llm *LLMUsecase, model *Mode... FILE: backend/usecase/dingtalk_bot.go type DingTalkBotUsecase (line 7) | type DingTalkBotUsecase struct function NewDingTalkBotUsecase (line 12) | func NewDingTalkBotUsecase(logger *log.Logger, appUsecase *AppUsecase) *... FILE: backend/usecase/file.go type FileUsecase (line 30) | type FileUsecase struct method UploadFileGetUrl (line 58) | func (u *FileUsecase) UploadFileGetUrl(ctx context.Context, kbID strin... method UploadFile (line 66) | func (u *FileUsecase) UploadFile(ctx context.Context, kbID string, fil... method UploadFileFromBytes (line 109) | func (u *FileUsecase) UploadFileFromBytes(ctx context.Context, kbID st... method UploadFileFromReader (line 150) | func (u *FileUsecase) UploadFileFromReader( method AnyDocUploadFile (line 194) | func (u *FileUsecase) AnyDocUploadFile(ctx context.Context, file *mult... method UploadFileByUrl (line 235) | func (u *FileUsecase) UploadFileByUrl(ctx context.Context, kbID string... method checkDeniedExtension (line 311) | func (u *FileUsecase) checkDeniedExtension(ctx context.Context, ext st... function NewFileUsecase (line 38) | func NewFileUsecase(logger *log.Logger, s3Client *s3.MinioClient, config... FILE: backend/usecase/knowledge_base.go type KnowledgeBaseUsecase (line 21) | type KnowledgeBaseUsecase struct method CreateKnowledgeBase (line 48) | func (u *KnowledgeBaseUsecase) CreateKnowledgeBase(ctx context.Context... method GetKnowledgeBaseList (line 84) | func (u *KnowledgeBaseUsecase) GetKnowledgeBaseList(ctx context.Contex... method GetKnowledgeBaseListByUserId (line 92) | func (u *KnowledgeBaseUsecase) GetKnowledgeBaseListByUserId(ctx contex... method UpdateKnowledgeBase (line 100) | func (u *KnowledgeBaseUsecase) UpdateKnowledgeBase(ctx context.Context... method GetKnowledgeBase (line 119) | func (u *KnowledgeBaseUsecase) GetKnowledgeBase(ctx context.Context, k... method GetKnowledgeBasePerm (line 137) | func (u *KnowledgeBaseUsecase) GetKnowledgeBasePerm(ctx context.Contex... method DeleteKnowledgeBase (line 147) | func (u *KnowledgeBaseUsecase) DeleteKnowledgeBase(ctx context.Context... method CreateKBRelease (line 161) | func (u *KnowledgeBaseUsecase) CreateKBRelease(ctx context.Context, re... method GetKBReleaseList (line 199) | func (u *KnowledgeBaseUsecase) GetKBReleaseList(ctx context.Context, r... method GetKBUserList (line 208) | func (u *KnowledgeBaseUsecase) GetKBUserList(ctx context.Context, req ... method KBUserInvite (line 217) | func (u *KnowledgeBaseUsecase) KBUserInvite(ctx context.Context, req v... method UpdateUserKB (line 238) | func (u *KnowledgeBaseUsecase) UpdateUserKB(ctx context.Context, req v... method KBUserDelete (line 267) | func (u *KnowledgeBaseUsecase) KBUserDelete(ctx context.Context, req v... function NewKnowledgeBaseUsecase (line 33) | func NewKnowledgeBaseUsecase(repo *pg.KnowledgeBaseRepository, nodeRepo ... FILE: backend/usecase/llm.go type LLMUsecase (line 28) | type LLMUsecase struct method BuildConversationMessageWithRAG (line 61) | func (u *LLMUsecase) BuildConversationMessageWithRAG( method ChatWithAgent (line 142) | func (u *LLMUsecase) ChatWithAgent( method Generate (line 196) | func (u *LLMUsecase) Generate( method SummaryNode (line 208) | func (u *LLMUsecase) SummaryNode(ctx context.Context, kbID string, mod... method trimThinking (line 259) | func (u *LLMUsecase) trimThinking(summary string) string { method requestSummary (line 270) | func (u *LLMUsecase) requestSummary(ctx context.Context, kbID string, ... method SplitByTokenLimit (line 292) | func (u *LLMUsecase) SplitByTokenLimit(text string, maxTokens int) ([]... method GetRankNodes (line 332) | func (u *LLMUsecase) GetRankNodes(ctx context.Context, req GetRankNode... method formatMessageWithImages (line 382) | func (u *LLMUsecase) formatMessageWithImages(message string, imagePath... constant summaryChunkTokenLimit (line 41) | summaryChunkTokenLimit = 30720 constant summaryMaxChunks (line 42) | summaryMaxChunks = 4 function NewLLMUsecase (line 45) | func NewLLMUsecase(config *config.Config, rag rag.RAGService, conversati... type GetRankNodesRequest (line 323) | type GetRankNodesRequest struct FILE: backend/usecase/model.go type ModelUsecase (line 22) | type ModelUsecase struct method Create (line 50) | func (u *ModelUsecase) Create(ctx context.Context, model *domain.Model... method GetList (line 67) | func (u *ModelUsecase) GetList(ctx context.Context) ([]*domain.ModelLi... method TriggerUpsertRecords (line 72) | func (u *ModelUsecase) TriggerUpsertRecords(ctx context.Context) error { method Update (line 111) | func (u *ModelUsecase) Update(ctx context.Context, req *domain.UpdateM... method GetChatModel (line 146) | func (u *ModelUsecase) GetChatModel(ctx context.Context) (*domain.Mode... method GetModelByType (line 176) | func (u *ModelUsecase) GetModelByType(ctx context.Context, modelType d... method UpdateUsage (line 180) | func (u *ModelUsecase) UpdateUsage(ctx context.Context, modelID string... method SwitchMode (line 184) | func (u *ModelUsecase) SwitchMode(ctx context.Context, req *domain.Swi... method updateModeSettingConfig (line 257) | func (u *ModelUsecase) updateModeSettingConfig(ctx context.Context, mo... method GetModelModeSetting (line 293) | func (u *ModelUsecase) GetModelModeSetting(ctx context.Context) (domai... method updateRAGModelsByMode (line 310) | func (u *ModelUsecase) updateRAGModelsByMode(ctx context.Context, mode... function NewModelUsecase (line 34) | func NewModelUsecase(modelRepo *pg.ModelRepository, nodeRepo *pg.NodeRep... FILE: backend/usecase/nav.go type NavUsecase (line 16) | type NavUsecase struct method GetList (line 37) | func (u *NavUsecase) GetList(ctx context.Context, kbID string) ([]v1.N... method GetReleaseList (line 45) | func (u *NavUsecase) GetReleaseList(ctx context.Context, kbID string) ... method Add (line 53) | func (u *NavUsecase) Add(ctx context.Context, req *v1.NavAddReq) error { method Move (line 67) | func (u *NavUsecase) Move(ctx context.Context, req *v1.NavMoveReq) err... method Delete (line 71) | func (u *NavUsecase) Delete(ctx context.Context, req *v1.NavDeleteReq)... method Update (line 98) | func (u *NavUsecase) Update(ctx context.Context, req *v1.NavUpdateReq)... function NewNavUsecase (line 23) | func NewNavUsecase( FILE: backend/usecase/node.go type NodeUsecase (line 29) | type NodeUsecase struct method Create (line 79) | func (u *NodeUsecase) Create(ctx context.Context, req *domain.CreateNo... method GetList (line 87) | func (u *NodeUsecase) GetList(ctx context.Context, req *domain.GetNode... method GetNodeByKBID (line 110) | func (u *NodeUsecase) GetNodeByKBID(ctx context.Context, id, kbId, for... method NodeAction (line 142) | func (u *NodeUsecase) NodeAction(ctx context.Context, req *domain.Node... method Update (line 164) | func (u *NodeUsecase) Update(ctx context.Context, req *domain.UpdateNo... method ValidateNodePerm (line 178) | func (u *NodeUsecase) ValidateNodePerm(ctx context.Context, kbID, node... method GetNodeReleaseDetailByKBIDAndID (line 219) | func (u *NodeUsecase) GetNodeReleaseDetailByKBIDAndID(ctx context.Cont... method MoveNode (line 266) | func (u *NodeUsecase) MoveNode(ctx context.Context, req *domain.MoveNo... method SummaryNode (line 270) | func (u *NodeUsecase) SummaryNode(ctx context.Context, req *domain.Nod... method GetRecommendNodeList (line 305) | func (u *NodeUsecase) GetRecommendNodeList(ctx context.Context, req *d... method BatchMoveNode (line 351) | func (u *NodeUsecase) BatchMoveNode(ctx context.Context, req *domain.B... method MoveNodeNav (line 355) | func (u *NodeUsecase) MoveNodeNav(ctx context.Context, req *v1.NodeMov... method convertMDToHTML (line 369) | func (u *NodeUsecase) convertMDToHTML(mdStr string) string { method GetShareNodeList (line 384) | func (u *NodeUsecase) GetShareNodeList(ctx context.Context, kbId strin... method GetNodeReleaseListByParentID (line 437) | func (u *NodeUsecase) GetNodeReleaseListByParentID(ctx context.Context... method buildNodeTree (line 475) | func (u *NodeUsecase) buildNodeTree(parentID string, childrenMap map[s... method GetNodeIdsByAuthId (line 506) | func (u *NodeUsecase) GetNodeIdsByAuthId(ctx context.Context, authId u... method GetNodePermissionsByID (line 530) | func (u *NodeUsecase) GetNodePermissionsByID(ctx context.Context, id, ... method ValidateNodePermissionsEdit (line 562) | func (u *NodeUsecase) ValidateNodePermissionsEdit(req v1.NodePermissio... method NodePermissionsEdit (line 574) | func (u *NodeUsecase) NodePermissionsEdit(ctx context.Context, req v1.... method SyncRagNodeStatus (line 642) | func (u *NodeUsecase) SyncRagNodeStatus(ctx context.Context) error { method NodeRestudy (line 731) | func (u *NodeUsecase) NodeRestudy(ctx context.Context, req *v1.NodeRes... method GetNodeStats (line 763) | func (u *NodeUsecase) GetNodeStats(ctx context.Context, kbId string) (... method GetNodeListGroupByNav (line 793) | func (u *NodeUsecase) GetNodeListGroupByNav(ctx context.Context, kbId,... function NewNodeUsecase (line 45) | func NewNodeUsecase( constant ragSyncChunkSize (line 77) | ragSyncChunkSize = 100 FILE: backend/usecase/sitemap.go type SitemapUsecase (line 14) | type SitemapUsecase struct method GetSitemap (line 24) | func (u *SitemapUsecase) GetSitemap(ctx context.Context, kbID string) ... function NewSitemapUsecase (line 20) | func NewSitemapUsecase(nodeUsecase *pg.NodeRepository, appUsecase *pg.Kn... FILE: backend/usecase/stat.go type StatUseCase (line 23) | type StatUseCase struct method RecordPage (line 49) | func (u *StatUseCase) RecordPage(ctx context.Context, stat *domain.Sta... method ValidateStatDay (line 66) | func (u *StatUseCase) ValidateStatDay(statDay consts.StatDay, edition ... method GetHotPages (line 86) | func (u *StatUseCase) GetHotPages(ctx context.Context, kbID string, da... method GetHotRefererHosts (line 158) | func (u *StatUseCase) GetHotRefererHosts(ctx context.Context, kbID str... method GetHotBrowsers (line 193) | func (u *StatUseCase) GetHotBrowsers(ctx context.Context, kbID string,... method GetStatCount (line 212) | func (u *StatUseCase) GetStatCount(ctx context.Context, kbID string, d... method GetInstantCount (line 238) | func (u *StatUseCase) GetInstantCount(ctx context.Context, kbID string... method GetInstantPages (line 246) | func (u *StatUseCase) GetInstantPages(ctx context.Context, kbID string... method GetGeoCount (line 309) | func (u *StatUseCase) GetGeoCount(ctx context.Context, kbID string, da... method GetConversationDistribution (line 328) | func (u *StatUseCase) GetConversationDistribution(ctx context.Context,... method AggregateHourlyStats (line 382) | func (u *StatUseCase) AggregateHourlyStats(ctx context.Context) error { method CleanupOldHourlyStats (line 461) | func (u *StatUseCase) CleanupOldHourlyStats(ctx context.Context) error { method MigrateYesterdayPVToNodeStats (line 466) | func (u *StatUseCase) MigrateYesterdayPVToNodeStats(ctx context.Contex... function NewStatUseCase (line 35) | func NewStatUseCase(repo *pg.StatRepository, nodeRepo *pg.NodeRepository... FILE: backend/usecase/user.go type UserUsecase (line 19) | type UserUsecase struct method CreateUser (line 43) | func (u *UserUsecase) CreateUser(ctx context.Context, user *domain.Use... method VerifyUserAndGenerateToken (line 47) | func (u *UserUsecase) VerifyUserAndGenerateToken(ctx context.Context, ... method GetUser (line 62) | func (u *UserUsecase) GetUser(ctx context.Context, userID string) (*do... method ListUsers (line 66) | func (u *UserUsecase) ListUsers(ctx context.Context) (*v1.UserListResp... method ResetPassword (line 75) | func (u *UserUsecase) ResetPassword(ctx context.Context, req *v1.Reset... method DeleteUser (line 79) | func (u *UserUsecase) DeleteUser(ctx context.Context, userID string) e... function NewUserUsecase (line 25) | func NewUserUsecase(repo *pg.UserRepository, logger *log.Logger, config ... FILE: backend/usecase/wechat_app.go type WechatAppUsecase (line 13) | type WechatAppUsecase struct method VerifyUrlWechatAPP (line 33) | func (u *WechatAppUsecase) VerifyUrlWechatAPP(ctx context.Context, sig... method Wechat (line 42) | func (u *WechatAppUsecase) Wechat(ctx context.Context, msg *wechat.Rec... method NewWechatConfig (line 66) | func (u *WechatAppUsecase) NewWechatConfig(ctx context.Context, appInf... method getQAFunc (line 79) | func (u *WechatAppUsecase) getQAFunc(kbID string, appType domain.AppTy... function NewWechatAppUsecase (line 22) | func NewWechatAppUsecase(logger *log.Logger, AppUsecase *AppUsecase, cha... FILE: backend/usecase/wechat_official_account.go method GetWechatOfficialAccountResponse (line 15) | func (u *AppUsecase) GetWechatOfficialAccountResponse(ctx context.Contex... method SendCustomerServiceMessage (line 38) | func (u *AppUsecase) SendCustomerServiceMessage(oa *officialaccount.Offi... FILE: backend/usecase/wechat_service.go type WechatServiceUsecase (line 13) | type WechatServiceUsecase struct method VerifyUrlWechatService (line 31) | func (u *WechatServiceUsecase) VerifyUrlWechatService(ctx context.Cont... method WechatService (line 41) | func (u *WechatServiceUsecase) WechatService(ctx context.Context, msg ... method NewWechatServiceConfig (line 53) | func (u *WechatServiceUsecase) NewWechatServiceConfig(ctx context.Cont... method getQAFunc (line 68) | func (u *WechatServiceUsecase) getQAFunc(kbID string, appType domain.A... function NewWechatUsecase (line 21) | func NewWechatUsecase(logger *log.Logger, AppUsecase *AppUsecase, chatUs... FILE: backend/usecase/wecom.go type WecomUsecase (line 18) | type WecomUsecase struct method createAIBotClient (line 36) | func (u *WecomUsecase) createAIBotClient(ctx context.Context, appInfo ... method VerifyUrlService (line 45) | func (u *WecomUsecase) VerifyUrlService(ctx context.Context, signature... method HandleMsg (line 71) | func (u *WecomUsecase) HandleMsg(ctx context.Context, kbID, signature,... method SendQuestionToAI (line 213) | func (u *WecomUsecase) SendQuestionToAI(conversationID string, eventCh... function NewWecomUsecase (line 26) | func NewWecomUsecase(logger *log.Logger, cache *cache.Cache, AppUsecase ... FILE: backend/utils/DFA.go type DFAInstance (line 13) | type DFAInstance struct function GetDFA (line 19) | func GetDFA(kbID string) *DFAInstance { function InitDFA (line 26) | func InitDFA(kbID string, words []string) { type TrieNode (line 49) | type TrieNode struct function NewTrieNode (line 55) | func NewTrieNode() *TrieNode { type DFA (line 63) | type DFA struct method AddWord (line 68) | func (d *DFA) AddWord(word string) { method UpdateOldWord (line 80) | func (d *DFA) UpdateOldWord(oldWord, newWord string) { method DeleteWord (line 86) | func (d *DFA) DeleteWord(word string) bool { method DeleteWordBatch (line 124) | func (d *DFA) DeleteWordBatch(words []string) { method Filter (line 137) | func (d *DFA) Filter(text string) string { method Check (line 160) | func (d *DFA) Check(text string) error { FILE: backend/utils/epub.go type EpubConverter (line 27) | type EpubConverter struct method Convert (line 49) | func (e *EpubConverter) Convert(ctx context.Context, kbID string, data... method uploadFile (line 158) | func (e *EpubConverter) uploadFile(ctx context.Context, kbID string, z... method processFile (line 194) | func (e *EpubConverter) processFile(ctx context.Context, f *zip.File, ... method exchangeUrl (line 226) | func (e *EpubConverter) exchangeUrl(ctx context.Context, content strin... function NewEpubConverter (line 39) | func NewEpubConverter(logger *log.Logger, minio *s3.MinioClient) *EpubCo... function clearFileName (line 153) | func clearFileName(str string) string { function isSkippableFile (line 221) | func isSkippableFile(name string) bool { function getFullPath (line 259) | func getFullPath(zipReader *zip.Reader) (string, error) { function valid (line 298) | func valid(zipReader *zip.Reader) error { type Package (line 319) | type Package struct type Spine (line 332) | type Spine struct type ItemRef (line 338) | type ItemRef struct type Guide (line 343) | type Guide struct type Reference (line 348) | type Reference struct type Item (line 355) | type Item struct function getOpf (line 361) | func getOpf(zipReader *zip.Reader) (*Package, error) { type NCX (line 387) | type NCX struct type NavMap (line 392) | type NavMap struct type NavPoint (line 396) | type NavPoint struct type NavLabel (line 403) | type NavLabel struct type Content (line 407) | type Content struct function ParseNCX (line 412) | func ParseNCX(r io.Reader) ([]map[string]string, error) { FILE: backend/utils/feed.go type FeedItem (line 17) | type FeedItem struct type Feed (line 25) | type Feed struct function cleanXMLContent (line 33) | func cleanXMLContent(content string) string { function ParseFeed (line 50) | func ParseFeed(url string) (*Feed, error) { function parseRSS (line 79) | func parseRSS(content []byte) (*Feed, error) { function parseAtom (line 151) | func parseAtom(content []byte) (*Feed, error) { function parseJSONFeed (line 203) | func parseJSONFeed(content []byte) (*Feed, error) { FILE: backend/utils/file.go function IsImageFile (line 9) | func IsImageFile(filename string) bool { FILE: backend/utils/ip_addr.go function GetClientIPFromRemoteAddr (line 21) | func GetClientIPFromRemoteAddr(c echo.Context) string { function ExtractHostFromRemoteAddr (line 25) | func ExtractHostFromRemoteAddr(r *http.Request) string { function IsPrivateOrReservedIP (line 38) | func IsPrivateOrReservedIP(ipStr string) bool { function isDocumentationIP (line 84) | func isDocumentationIP(ip net.IP) bool { function isOtherReservedIP (line 102) | func isOtherReservedIP(ip net.IP) bool { function IsIPv6 (line 140) | func IsIPv6(ipStr string) bool { function ValidateURLForSSRF (line 151) | func ValidateURLForSSRF(urlStr string) error { FILE: backend/utils/processor.go type Node (line 10) | type Node struct function newNode (line 15) | func newNode() *Node { type ProcessorTree (line 19) | type ProcessorTree struct method GetNode (line 34) | func (t *ProcessorTree) GetNode(farther *Node) (*Node, error) { method Add (line 45) | func (t *ProcessorTree) Add(node *Node, data []byte) error { method GetResult (line 55) | func (t *ProcessorTree) GetResult() ([]byte, error) { method getRes (line 62) | func (t *ProcessorTree) getRes(node *Node) error { function NewProcessorTree (line 25) | func NewProcessorTree() *ProcessorTree { FILE: backend/utils/time.go function GetTimeHourOffset (line 5) | func GetTimeHourOffset(hours int64) time.Time { FILE: backend/utils/utils.go function HTTPGet (line 35) | func HTTPGet(url string) ([]byte, error) { function DecodeBytes (line 59) | func DecodeBytes(data []byte) string { function IsURLValid (line 71) | func IsURLValid(urlStr string) bool { function URLNormalize (line 80) | func URLNormalize(urlStr string) string { function URLRemovePath (line 102) | func URLRemovePath(rawURL string) (string, error) { function decode (line 117) | func decode(data []byte, encoding string) (string, error) { function GetHeaderMap (line 124) | func GetHeaderMap(header string) map[string]string { function UrlEncode (line 134) | func UrlEncode(s string) string { function RemoveFirstDir (line 148) | func RemoveFirstDir(path string) string { function RemoveURLParams (line 160) | func RemoveURLParams(rawURL string) (string, error) { function UploadImage (line 174) | func UploadImage(ctx context.Context, minioClient *s3.MinioClient, image... function GetTitleFromMarkdown (line 248) | func GetTitleFromMarkdown(markdown string) string { function ExchangeMarkDownImageUrl (line 257) | func ExchangeMarkDownImageUrl( type Localloader (line 345) | type Localloader struct method LoadTiktokenBpe (line 347) | func (m *Localloader) LoadTiktokenBpe(_ string) (map[string]int, error) { function GetFileNameWithoutExt (line 353) | func GetFileNameWithoutExt(path string) string { function IsUUID (line 358) | func IsUUID(s string) bool { function IsLikelyHTML (line 363) | func IsLikelyHTML(text string) bool { FILE: sdk/rag/chunk.go method AddChunk (line 9) | func (c *Client) AddChunk(ctx context.Context, datasetID, documentID str... method ListChunks (line 23) | func (c *Client) ListChunks(ctx context.Context, datasetID, documentID s... method DeleteChunks (line 42) | func (c *Client) DeleteChunks(ctx context.Context, datasetID, documentID... method UpdateChunk (line 54) | func (c *Client) UpdateChunk(ctx context.Context, datasetID, documentID,... method ParseDocuments (line 65) | func (c *Client) ParseDocuments(ctx context.Context, datasetID string, d... method StopParseDocuments (line 77) | func (c *Client) StopParseDocuments(ctx context.Context, datasetID strin... FILE: sdk/rag/client.go constant defaultBaseURL (line 16) | defaultBaseURL = "http://localhost:8080/api/v1" constant defaultTimeout (line 17) | defaultTimeout = 30 * time.Second type Client (line 21) | type Client struct method newRequest (line 51) | func (c *Client) newRequest(ctx context.Context, method, path string, ... method do (line 74) | func (c *Client) do(req *http.Request, v interface{}) error { type ClientOption (line 27) | type ClientOption function New (line 30) | func New(apiBase string, apiKey string, opts ...ClientOption) *Client { function WithHTTPClient (line 44) | func WithHTTPClient(httpClient *http.Client) ClientOption { function parseErrorResponse (line 102) | func parseErrorResponse(resp *http.Response) error { FILE: sdk/rag/dataset.go method CreateDataset (line 9) | func (c *Client) CreateDataset(ctx context.Context, req CreateDatasetReq... method DeleteDatasets (line 22) | func (c *Client) DeleteDatasets(ctx context.Context, ids []string) error { method UpdateDataset (line 33) | func (c *Client) UpdateDataset(ctx context.Context, datasetID string, re... method ListDatasets (line 44) | func (c *Client) ListDatasets(ctx context.Context, req ListDatasetsReque... FILE: sdk/rag/document.go method UploadDocumentsAndParse (line 17) | func (c *Client) UploadDocumentsAndParse(ctx context.Context, datasetID ... method UploadDocuments (line 40) | func (c *Client) UploadDocuments(ctx context.Context, datasetID string, ... method DownloadDocument (line 107) | func (c *Client) DownloadDocument(ctx context.Context, datasetID, docume... method ListDocuments (line 135) | func (c *Client) ListDocuments(ctx context.Context, datasetID string, pa... method DeleteDocuments (line 155) | func (c *Client) DeleteDocuments(ctx context.Context, datasetID string, ... method UpdateDocument (line 167) | func (c *Client) UpdateDocument(ctx context.Context, datasetID, document... method UpdateDocumentGroupIDs (line 178) | func (c *Client) UpdateDocumentGroupIDs(ctx context.Context, datasetID, ... method UpdateDocumentsGroupIDsBatch (line 193) | func (c *Client) UpdateDocumentsGroupIDsBatch(ctx context.Context, datas... method UploadDocumentText (line 211) | func (c *Client) UploadDocumentText(ctx context.Context, datasetID strin... method UploadDocumentTextAndParse (line 346) | func (c *Client) UploadDocumentTextAndParse(ctx context.Context, dataset... method UpdateDocumentText (line 370) | func (c *Client) UpdateDocumentText(ctx context.Context, datasetID strin... FILE: sdk/rag/model_config.go method AddModelConfig (line 8) | func (c *Client) AddModelConfig(ctx context.Context, req AddModelConfigR... method GetModelConfigList (line 20) | func (c *Client) GetModelConfigList(ctx context.Context) ([]ModelConfig,... method DeleteModelConfig (line 32) | func (c *Client) DeleteModelConfig(ctx context.Context, models []ModelIt... FILE: sdk/rag/models.go type CommonResponse (line 5) | type CommonResponse struct type Chunk (line 11) | type Chunk struct type AddChunkRequest (line 25) | type AddChunkRequest struct type AddChunkResponse (line 31) | type AddChunkResponse struct type ListChunksResponse (line 39) | type ListChunksResponse struct type DeleteChunksRequest (line 48) | type DeleteChunksRequest struct type DeleteChunksResponse (line 52) | type DeleteChunksResponse struct type UpdateChunkRequest (line 57) | type UpdateChunkRequest struct type UpdateChunkResponse (line 63) | type UpdateChunkResponse struct type ParseDocumentsRequest (line 70) | type ParseDocumentsRequest struct type ParseDocumentsResponse (line 74) | type ParseDocumentsResponse struct type StopParseDocumentsRequest (line 81) | type StopParseDocumentsRequest struct type StopParseDocumentsResponse (line 85) | type StopParseDocumentsResponse struct type Dataset (line 91) | type Dataset struct type RaptorConfig (line 119) | type RaptorConfig struct type GraphragConfig (line 131) | type GraphragConfig struct type ParserConfig (line 140) | type ParserConfig struct type CreateDatasetRequest (line 157) | type CreateDatasetRequest struct type CreateDatasetResponse (line 168) | type CreateDatasetResponse struct type UpdateDatasetRequest (line 174) | type UpdateDatasetRequest struct type UpdateDatasetResponse (line 185) | type UpdateDatasetResponse struct type ListDatasetsRequest (line 190) | type ListDatasetsRequest struct type ListDatasetsResponse (line 199) | type ListDatasetsResponse struct type DeleteDatasetsRequest (line 205) | type DeleteDatasetsRequest struct type DeleteDatasetsResponse (line 209) | type DeleteDatasetsResponse struct type Document (line 214) | type Document struct type UploadDocumentResponse (line 242) | type UploadDocumentResponse struct type ListDocumentsResponse (line 248) | type ListDocumentsResponse struct type DeleteDocumentsRequest (line 257) | type DeleteDocumentsRequest struct type DeleteDocumentsResponse (line 261) | type DeleteDocumentsResponse struct type UpdateDocumentRequest (line 266) | type UpdateDocumentRequest struct type UpdateDocumentResponse (line 273) | type UpdateDocumentResponse struct type DocumentMetadata (line 278) | type DocumentMetadata struct type ChatMessage (line 286) | type ChatMessage struct type RetrievalRequest (line 292) | type RetrievalRequest struct type RetrievalChunk (line 309) | type RetrievalChunk struct type RetrievalResponse (line 326) | type RetrievalResponse struct type RelatedQuestionsRequest (line 336) | type RelatedQuestionsRequest struct type RelatedQuestionsResponse (line 341) | type RelatedQuestionsResponse struct type ModelConfig (line 348) | type ModelConfig struct type AddModelConfigRequest (line 368) | type AddModelConfigRequest struct type AddModelConfigResponse (line 387) | type AddModelConfigResponse struct type ListModelConfigsResponse (line 392) | type ListModelConfigsResponse struct type ModelItem (line 397) | type ModelItem struct type DeleteModelConfigsRequest (line 402) | type DeleteModelConfigsRequest struct FILE: sdk/rag/retrieval.go method RetrieveChunks (line 8) | func (c *Client) RetrieveChunks(ctx context.Context, req RetrievalReques... method RelatedQuestions (line 22) | func (c *Client) RelatedQuestions(ctx context.Context, loginToken string... FILE: web/admin/scripts/generate-routes.js function sortRoutesBySpecificity (line 15) | function sortRoutesBySpecificity(routes) { function buildFullPath (line 60) | function buildFullPath(path, parentPath) { function normalizePath (line 77) | function normalizePath(path) { function parseRouteObject (line 85) | function parseRouteObject(objContent, parentPath = '') { function parseRoutes (line 166) | function parseRoutes(content) { function updateIndexHtml (line 199) | function updateIndexHtml() { FILE: web/admin/src/App.tsx function App (line 14) | function App() { FILE: web/admin/src/api/request.ts type BasicResponse (line 9) | type BasicResponse = { type ErrorResponse (line 15) | type ErrorResponse = { type Response (line 21) | type Response = BasicResponse | ErrorResponse; FILE: web/admin/src/api/type.ts type Paging (line 7) | type Paging = { type ResposeList (line 12) | type ResposeList = { type BaseItem (line 17) | interface BaseItem { type TrendData (line 21) | type TrendData = { count: number; name: string; color?: string }; type UserForm (line 24) | type UserForm = { type UserInfo (line 29) | type UserInfo = { type UpdateUserInfo (line 36) | type UpdateUserInfo = { type UpdateKnowledgeBaseData (line 42) | type UpdateKnowledgeBaseData = { type KnowledgeBaseFormData (line 57) | interface KnowledgeBaseFormData { type KnowledgeBaseAccessSettings (line 68) | type KnowledgeBaseAccessSettings = { type KnowledgeBaseStats (line 79) | type KnowledgeBaseStats = { type KnowledgeBaseListItem (line 85) | type KnowledgeBaseListItem = Pick< type CardWebHeaderBtn (line 95) | interface CardWebHeaderBtn { type ReleaseListItem (line 105) | type ReleaseListItem = { type AuthSetting (line 113) | type AuthSetting = { type NodeListItem (line 119) | type NodeListItem = { type GetNodeRecommendData (line 132) | type GetNodeRecommendData = { type CreateNodeSummaryData (line 137) | type CreateNodeSummaryData = { type NodeDetail (line 142) | type NodeDetail = { type CreateNodeData (line 158) | type CreateNodeData = { type NodeListFilterData (line 167) | type NodeListFilterData = { type NodeAction (line 172) | type NodeAction = 'delete' | 'public' | 'private'; type UpdateNodeActionData (line 174) | type UpdateNodeActionData = { type UpdateNodeData (line 180) | type UpdateNodeData = { type ITreeItem (line 190) | interface ITreeItem { type NodeReleaseItem (line 211) | interface NodeReleaseItem { type NodeReleaseDetail (line 225) | interface NodeReleaseDetail { type ScrapeRSSItem (line 236) | type ScrapeRSSItem = { type AppCommonInfo (line 245) | type AppCommonInfo = { type AppStats (line 250) | type AppStats = { type AppListItem (line 256) | type AppListItem = { type DingBotSetting (line 265) | type DingBotSetting = { type WechatOfficeAccountSetting (line 273) | type WechatOfficeAccountSetting = { type WecomBotSetting (line 281) | type WecomBotSetting = { type WecomBotServiceSetting (line 290) | type WecomBotServiceSetting = { type FeishuBotSetting (line 298) | type FeishuBotSetting = { type DiscordBotSetting (line 305) | type DiscordBotSetting = { type HeaderSetting (line 310) | type HeaderSetting = { type WelcomeSetting (line 316) | type WelcomeSetting = { type SEOSetting (line 323) | type SEOSetting = { type CustomCodeSetting (line 328) | type CustomCodeSetting = { type ThemeAndStyleSetting (line 333) | type ThemeAndStyleSetting = { type ThemeMode (line 338) | type ThemeMode = { type FooterSetting (line 342) | type FooterSetting = { type CatalogSetting (line 358) | type CatalogSetting = { type WebComponentSetting (line 364) | type WebComponentSetting = { type OtherSetting (line 371) | type OtherSetting = { type CustomSetting (line 379) | type CustomSetting = { type DomainSocialMediaAccount (line 388) | interface DomainSocialMediaAccount { type AppSetting (line 396) | type AppSetting = HeaderSetting & type RecommendNode (line 410) | type RecommendNode = { type AppDetail (line 420) | type AppDetail = { type UpdateAppDetailData (line 429) | type UpdateAppDetailData = { type AppConfigEditData (line 434) | type AppConfigEditData = { type GetModelNameData (line 448) | type GetModelNameData = { type CreateModelData (line 457) | type CreateModelData = { type CheckModelData (line 462) | type CheckModelData = { type UpdateModelData (line 466) | type UpdateModelData = { type DomainModelParam (line 471) | interface DomainModelParam { type ModelListItem (line 481) | type ModelListItem = { type GetConversationListData (line 494) | type GetConversationListData = { type ConversationListItem (line 500) | type ConversationListItem = { type FeedbackListItem (line 527) | type FeedbackListItem = { type FeedbackInfo (line 546) | type FeedbackInfo = { type ConversationDetail (line 552) | type ConversationDetail = { type ChatConversationItem (line 583) | type ChatConversationItem = { type ChatConversationPair (line 588) | type ChatConversationPair = { type StatInstantPageItme (line 602) | type StatInstantPageItme = { type RefererHostItem (line 620) | type RefererHostItem = { type HotDocsItem (line 625) | type HotDocsItem = { type StatTypeItem (line 631) | type StatTypeItem = { type ConversationDistributionItem (line 637) | type ConversationDistributionItem = { type LicenseInfo (line 644) | type LicenseInfo = { FILE: web/admin/src/components/Avatar/index.tsx type AvatarProps (line 6) | interface AvatarProps { FILE: web/admin/src/components/BarTrend/index.tsx type ECharts (line 5) | type ECharts = ReturnType; type PropsData (line 6) | interface PropsData { FILE: web/admin/src/components/Card/index.tsx type CardProps (line 3) | interface CardProps { FILE: web/admin/src/components/Cascader/index.tsx type Item (line 4) | interface Item { type CascaderProps (line 16) | interface CascaderProps { FILE: web/admin/src/components/CreateWikiModal/steps/Step1Model.tsx type Step1ModelProps (line 17) | interface Step1ModelProps { FILE: web/admin/src/components/CreateWikiModal/steps/Step2Config.tsx constant VALIDATION_RULES (line 24) | const VALIDATION_RULES = { type Step2ConfigProps (line 76) | interface Step2ConfigProps { FILE: web/admin/src/components/CreateWikiModal/steps/Step3Import.tsx type Step3ImportProps (line 8) | interface Step3ImportProps { FILE: web/admin/src/components/CreateWikiModal/steps/Step6Decorate.tsx type Step6DecorateProps (line 8) | interface Step6DecorateProps { FILE: web/admin/src/components/CreateWikiModal/steps/initData.ts constant INIT_DOC_DATA (line 4) | const INIT_DOC_DATA = [ constant INIT_LADING_DATA (line 35) | const INIT_LADING_DATA = { FILE: web/admin/src/components/CustomImage/index.tsx type ImageProps (line 6) | interface ImageProps { FILE: web/admin/src/components/CustomModal/components/ShowContent.tsx type ShowContentProps (line 37) | interface ShowContentProps { type SortableItemProps (line 48) | interface SortableItemProps { FILE: web/admin/src/components/CustomModal/components/basicComponents/DragBrand/Item.tsx type ItemProps (line 32) | type ItemProps = Omit, 'onChange'> & { type LinkItemProps (line 46) | interface LinkItemProps extends HTMLAttributes { FILE: web/admin/src/components/CustomModal/components/basicComponents/DragBrand/SortableItem.tsx type SortableItemProps (line 6) | type SortableItemProps = Omit< FILE: web/admin/src/components/CustomModal/components/basicComponents/DragBrand/index.tsx type BrandGroup (line 26) | interface BrandGroup { type DragBrandProps (line 34) | interface DragBrandProps { FILE: web/admin/src/components/CustomModal/components/basicComponents/DragBtn/Item.tsx type ItemProps (line 26) | type ItemProps = Omit, 'onChange'> & { FILE: web/admin/src/components/CustomModal/components/basicComponents/DragBtn/SortableItem.tsx type SortableItemProps (line 6) | type SortableItemProps = ItemProps & {}; FILE: web/admin/src/components/CustomModal/components/basicComponents/DragBtn/index.tsx type DragBtnProps (line 24) | interface DragBtnProps { FILE: web/admin/src/components/CustomModal/components/basicComponents/DragSocialInfo/Item.tsx type SocialInfoProps (line 24) | interface SocialInfoProps extends HTMLAttributes { FILE: web/admin/src/components/CustomModal/components/basicComponents/DragSocialInfo/SortableItem.tsx type SortableItemProps (line 6) | type SortableItemProps = SocialInfoProps & {}; FILE: web/admin/src/components/CustomModal/components/basicComponents/DragSocialInfo/index.tsx type DragSocialInfoProps (line 24) | interface DragSocialInfoProps { FILE: web/admin/src/components/CustomModal/components/components/ColorPickerField.tsx type ColorPickerFieldProps (line 8) | type ColorPickerFieldProps = { FILE: web/admin/src/components/CustomModal/components/components/ComponentBar.tsx type ComponentBarProps (line 38) | interface ComponentBarProps { FILE: web/admin/src/components/CustomModal/components/components/DragList.tsx type DragListProps (line 30) | interface DragListProps { function DragList (line 54) | function DragList({ FILE: web/admin/src/components/CustomModal/components/components/SortableItem.tsx type SortableItemProps (line 5) | interface SortableItemProps { function SortableItem (line 14) | function SortableItem({ FILE: web/admin/src/components/CustomModal/components/config/BannerConfig/HotSearchItem.tsx type HotSearchItem (line 11) | type HotSearchItem = { type HotSearchItemProps (line 16) | type HotSearchItemProps = Omit< FILE: web/admin/src/components/CustomModal/components/config/BannerConfig/Item.tsx type Item (line 20) | type Item = { type ItemProps (line 27) | type ItemProps = Omit, 'onChange'> & { FILE: web/admin/src/components/CustomModal/components/config/BasicDocConfig/Item.tsx type ItemProps (line 14) | type ItemProps = HTMLAttributes & { FILE: web/admin/src/components/CustomModal/components/config/BlockGridConfig/Item.tsx type ItemType (line 12) | type ItemType = { type ItemProps (line 18) | type ItemProps = Omit, 'onChange'> & { FILE: web/admin/src/components/CustomModal/components/config/CarouselConfig/Item.tsx type Item (line 12) | type Item = { type ItemProps (line 19) | type ItemProps = Omit, 'onChange'> & { FILE: web/admin/src/components/CustomModal/components/config/CaseConfig/Item.tsx type ItemType (line 11) | type ItemType = { type ItemTypeProps (line 17) | type ItemTypeProps = Omit, 'onChange'> & { FILE: web/admin/src/components/CustomModal/components/config/CommentConfig/Item.tsx type ItemType (line 12) | type ItemType = { type ItemTypeProps (line 20) | type ItemTypeProps = Omit, 'onChange'> & { FILE: web/admin/src/components/CustomModal/components/config/ConfigBar.tsx type ConfigBarProps (line 6) | interface ConfigBarProps { FILE: web/admin/src/components/CustomModal/components/config/DirDocConfig/Item.tsx type ItemProps (line 14) | type ItemProps = HTMLAttributes & { FILE: web/admin/src/components/CustomModal/components/config/FaqConfig/Item.tsx type FaqItem (line 11) | type FaqItem = { type FaqItemProps (line 17) | type FaqItemProps = Omit, 'onChange'> & { FILE: web/admin/src/components/CustomModal/components/config/FeatureConfig/Item.tsx type ItemType (line 11) | type ItemType = { type ItemProps (line 17) | type ItemProps = Omit, 'onChange'> & { FILE: web/admin/src/components/CustomModal/components/config/FooterConfig.tsx type FooterConfigProps (line 22) | interface FooterConfigProps { type Option (line 27) | interface Option { FILE: web/admin/src/components/CustomModal/components/config/HeaderConfig.tsx type CardWebHeaderProps (line 11) | interface CardWebHeaderProps { FILE: web/admin/src/components/CustomModal/components/config/MetricsConfig/Item.tsx type ItemType (line 11) | type ItemType = { type ItemTypeProps (line 17) | type ItemTypeProps = Omit, 'onChange'> & { FILE: web/admin/src/components/CustomModal/components/config/QuestionConfig/Item.tsx type ItemType (line 11) | type ItemType = { type ItemProps (line 16) | type ItemProps = Omit, 'onChange'> & { FILE: web/admin/src/components/CustomModal/components/config/SimpleDocConfig/Item.tsx type ItemProps (line 12) | type ItemProps = HTMLAttributes & { FILE: web/admin/src/components/CustomModal/components/config/type.ts type ConfigProps (line 3) | interface ConfigProps { FILE: web/admin/src/components/CustomModal/constants.tsx constant DEFAULT_DATA (line 20) | const DEFAULT_DATA = { constant COMPONENTS_MAP (line 133) | const COMPONENTS_MAP = { constant TYPE_TO_CONFIG_LABEL (line 303) | const TYPE_TO_CONFIG_LABEL = { FILE: web/admin/src/components/CustomModal/index.tsx type WebAppLandingConfigWithId (line 27) | type WebAppLandingConfigWithId = DomainWebAppLandingConfigResp & { id: s... type CustomModalProps (line 29) | interface CustomModalProps { type Component (line 38) | interface Component { FILE: web/admin/src/components/Drag/DragRecommend/Item.tsx type ItemProps (line 9) | type ItemProps = HTMLAttributes & { FILE: web/admin/src/components/Drag/DragRecommend/SortableItem.tsx type SortableItemProps (line 6) | type SortableItemProps = ItemProps & { FILE: web/admin/src/components/Drag/DragRecommend/index.tsx type DragRecommendProps (line 23) | interface DragRecommendProps { FILE: web/admin/src/components/Drag/DragTree/TreeItem.tsx constant ANSWERABLE_PERMISSIONS_MAP (line 54) | const ANSWERABLE_PERMISSIONS_MAP = { constant VISITABLE_PERMISSIONS_MAP (line 69) | const VISITABLE_PERMISSIONS_MAP = { constant VISIBLE_PERMISSIONS_MAP (line 84) | const VISIBLE_PERMISSIONS_MAP = { FILE: web/admin/src/components/Drag/DragTree/TreeMenu.tsx type TreeMenuItem (line 7) | type TreeMenuItem = { type TreeMenuOptions (line 22) | type TreeMenuOptions = { FILE: web/admin/src/components/Drag/DragTree/index.tsx type DragTreeHandle (line 14) | type DragTreeHandle = { FILE: web/admin/src/components/Emoji/index.tsx type EmojiPickerProps (line 12) | interface EmojiPickerProps { FILE: web/admin/src/components/EmptyState/index.tsx type EmptyStateProps (line 4) | interface EmptyStateProps { FILE: web/admin/src/components/FreeSoloAutocomplete/index.tsx type FreeSoloAutocompleteProps (line 12) | type FreeSoloAutocompleteProps = { function FreeSoloAutocomplete (line 28) | function FreeSoloAutocomplete({ FILE: web/admin/src/components/KB/KBCreate.tsx constant VALIDATION_RULES (line 19) | const VALIDATION_RULES = { FILE: web/admin/src/components/KB/KBDelete.tsx type KBDeleteProps (line 10) | interface KBDeleteProps { FILE: web/admin/src/components/KB/KBModify.tsx type KBModifyProps (line 8) | interface KBModifyProps { FILE: web/admin/src/components/Loading/index.tsx type LoadingProps (line 3) | interface LoadingProps { FILE: web/admin/src/components/MapChart/index.tsx type Props (line 7) | interface Props { type EchartsGlobal (line 81) | type EchartsGlobal = { init: (el: HTMLDivElement) => ECharts }; FILE: web/admin/src/components/MarkDown/index.tsx type MarkDownProps (line 17) | interface MarkDownProps { method code (line 177) | code({ FILE: web/admin/src/components/PieTrend/index.tsx type ECharts (line 5) | type ECharts = ReturnType; type PropsData (line 6) | interface PropsData { FILE: web/admin/src/components/ShowText/index.tsx type ShowTextProps (line 7) | interface ShowTextProps { FILE: web/admin/src/components/Sidebar/AuthTypeModal.tsx type AuthTypeModalProps (line 22) | interface AuthTypeModalProps { FILE: web/admin/src/components/Sidebar/index.tsx constant MENUS (line 25) | const MENUS = [ FILE: web/admin/src/components/System/component/AutoModelConfig.tsx type AutoModelConfigRef (line 16) | interface AutoModelConfigRef { type AutoModelConfigProps (line 23) | interface AutoModelConfigProps { FILE: web/admin/src/components/System/component/MemberAdd.tsx type Role (line 17) | type Role = 'admin' | 'user'; constant PERM_MAP (line 19) | const PERM_MAP = { constant VERSION_MAP (line 25) | const VERSION_MAP = { FILE: web/admin/src/components/System/component/MemberDelete.tsx type MemberDeleteProps (line 10) | interface MemberDeleteProps { FILE: web/admin/src/components/System/component/MemberUpdate.tsx type UpdateMemberProps (line 12) | type UpdateMemberProps = { FILE: web/admin/src/components/System/component/ModelConfig.tsx type ModelConfigRef (line 46) | interface ModelConfigRef { type ModelConfigProps (line 52) | interface ModelConfigProps { FILE: web/admin/src/components/TreeDragSortable/SortableTree.tsx type TreeDragHandlers (line 55) | type TreeDragHandlers = { type SortableTreeProps (line 63) | type SortableTreeProps< type SortableTreeHandle (line 88) | type SortableTreeHandle = { method keyframes (line 98) | keyframes({ transform }) { method sideEffects (line 112) | sideEffects({ active }) { function SortableTreeInner (line 120) | function SortableTreeInner< FILE: web/admin/src/components/TreeDragSortable/SortableTreeItem.tsx type TreeItemProps (line 13) | interface TreeItemProps extends HTMLAttributes { type SortableTreeItemProps (line 39) | type SortableTreeItemProps< FILE: web/admin/src/components/TreeDragSortable/types.ts type TreeItem (line 4) | type TreeItem = { type TreeItems (line 26) | type TreeItems> = TreeItem[]; type TreeItemComponentProps (line 27) | type TreeItemComponentProps = { type TreeItemComponentType (line 140) | type TreeItemComponentType = React.FC< type FlattenedItem (line 144) | type FlattenedItem = { type SensorContext (line 163) | type SensorContext = MutableRefObject<{ type ItemChangedReason (line 171) | type ItemChangedReason = FILE: web/admin/src/components/TreeDragSortable/utilities.ts function getDragDepth (line 11) | function getDragDepth(offset: number, indentationWidth: number) { function getProjection (line 16) | function getProjection( function flatten (line 149) | function flatten>( function flattenTree (line 172) | function flattenTree>( function buildTree (line 178) | function buildTree>( function findItem (line 197) | function findItem(items: TreeItem[], itemId: UniqueIdentifier) { function findItemDeep (line 201) | function findItemDeep>( function removeItem (line 224) | function removeItem>( function setProperty (line 245) | function setProperty< function countChildren (line 268) | function countChildren(items: TreeItem[], count = 0): number { function getChildCount (line 278) | function getChildCount>( function removeChildrenOf (line 291) | function removeChildrenOf( function getIsOverParent (line 309) | function getIsOverParent( FILE: web/admin/src/components/UploadFile/Drag.tsx constant FILE_EXTENSION_TO_MIME (line 8) | const FILE_EXTENSION_TO_MIME: Record = { type UploadProps (line 29) | interface UploadProps { FILE: web/admin/src/components/UploadFile/FileText.tsx type FileTextProps (line 7) | interface FileTextProps { FILE: web/admin/src/components/UploadFile/index.tsx type UploadFileProps (line 9) | interface UploadFileProps { FILE: web/admin/src/constant/area.ts function getCountryChineseName (line 332) | function getCountryChineseName(s?: string) { FILE: web/admin/src/constant/enums.tsx constant MAC_SYMBOLS (line 830) | const MAC_SYMBOLS = { FILE: web/admin/src/constant/rag.ts constant RAG_SOURCES (line 3) | const RAG_SOURCES = { FILE: web/admin/src/constant/version.ts constant PROFESSION_VERSION_PERMISSION (line 8) | const PROFESSION_VERSION_PERMISSION = [ constant BUSINESS_VERSION_PERMISSION (line 14) | const BUSINESS_VERSION_PERMISSION = [ constant ENTERPRISE_VERSION_PERMISSION (line 19) | const ENTERPRISE_VERSION_PERMISSION = [ type FeatureStatus (line 57) | enum FeatureStatus { type VersionInfo (line 71) | interface VersionInfo { constant VERSION_INFO (line 128) | const VERSION_INFO: Record = { constant FEATURE_LABELS (line 246) | const FEATURE_LABELS: Record = { constant FEATURE_STATUS_LABELS (line 275) | const FEATURE_STATUS_LABELS: Record = { function getFeatureValue (line 285) | function getFeatureValue( FILE: web/admin/src/hooks/useBindCaptcha.ts function useBindCaptcha (line 4) | function useBindCaptcha( FILE: web/admin/src/hooks/useCommitPendingInput.tsx function useCommitPendingInput (line 3) | function useCommitPendingInput({ FILE: web/admin/src/pages/contribution/ContributePreviewModal.tsx type ContributePreviewModalProps (line 16) | type ContributePreviewModalProps = { function ContributePreviewModal (line 24) | function ContributePreviewModal( FILE: web/admin/src/pages/contribution/DocModal.tsx type DocDeleteProps (line 16) | interface DocDeleteProps { FILE: web/admin/src/pages/contribution/MarkdownPreviewModal.tsx type MarkdownPreviewModalProps (line 16) | type MarkdownPreviewModalProps = { FILE: web/admin/src/pages/contribution/index.tsx function ContributionPage (line 50) | function ContributionPage() { FILE: web/admin/src/pages/document/component/AddDocBtn.tsx type InputContentProps (line 8) | interface InputContentProps { FILE: web/admin/src/pages/document/component/AddDocByType/FileParse/index.tsx type FileParseProps (line 16) | interface FileParseProps { FILE: web/admin/src/pages/document/component/AddDocByType/FormSubmit/FormInput.tsx type FormInputProps (line 5) | interface FormInputProps { type FieldConfig (line 11) | interface FieldConfig { FILE: web/admin/src/pages/document/component/AddDocByType/FormSubmit/index.tsx type FormSubmitProps (line 16) | interface FormSubmitProps { FILE: web/admin/src/pages/document/component/AddDocByType/ListRender/Action.tsx type BatchActionBarProps (line 25) | interface BatchActionBarProps { FILE: web/admin/src/pages/document/component/AddDocByType/ListRender/Item.tsx type ListRenderItemProps (line 29) | interface ListRenderItemProps { FILE: web/admin/src/pages/document/component/AddDocByType/ListRender/index.tsx type ListRenderProps (line 10) | interface ListRenderProps { type FlattenedItem (line 22) | interface FlattenedItem { FILE: web/admin/src/pages/document/component/AddDocByType/components/StatusBackground.tsx type StatusBackgroundProps (line 4) | interface StatusBackgroundProps { FILE: web/admin/src/pages/document/component/AddDocByType/components/StatusBadge.tsx type StatusBadgeProps (line 4) | interface StatusBadgeProps { type StatusConfigItem (line 11) | type StatusConfigItem = { FILE: web/admin/src/pages/document/component/AddDocByType/constants.ts constant DOCUMENT_STATUS (line 4) | const DOCUMENT_STATUS = { constant ITEM_TYPE (line 19) | const ITEM_TYPE = { constant UPLOAD_FILE_TYPES (line 31) | const UPLOAD_FILE_TYPES: readonly ConstsCrawlerSource[] = [ constant PARSE_TYPES (line 42) | const PARSE_TYPES: readonly ConstsCrawlerSource[] = [ constant SCRAPE_TYPES (line 51) | const SCRAPE_TYPES: readonly ConstsCrawlerSource[] = [ constant TYPE_CONFIG (line 57) | const TYPE_CONFIG: Record< FILE: web/admin/src/pages/document/component/AddDocByType/hooks/useGlobalQueue.ts type QueueTask (line 3) | interface QueueTask { FILE: web/admin/src/pages/document/component/AddDocByType/index.tsx type AddDocByTypeProps (line 15) | interface AddDocByTypeProps { type ListDataItem (line 23) | interface ListDataItem { FILE: web/admin/src/pages/document/component/AddDocByType/util.ts type FormData (line 11) | type FormData = { FILE: web/admin/src/pages/document/component/DocAddByCustomText.tsx type FormValues (line 16) | type FormValues = { name: string; emoji: string; content_type: string }; type DocAddByCustomTextProps (line 18) | interface DocAddByCustomTextProps { FILE: web/admin/src/pages/document/component/DocDelete.tsx type DocDeleteProps (line 11) | interface DocDeleteProps { FILE: web/admin/src/pages/document/component/DocPropertiesModal.tsx type DocPropertiesModalProps (line 38) | interface DocPropertiesModalProps { constant PER_OPTIONS (line 51) | const PER_OPTIONS = [ FILE: web/admin/src/pages/document/component/DocStatus.tsx type DocStatusProps (line 11) | interface DocStatusProps { FILE: web/admin/src/pages/document/component/DocSummary.tsx type DocSummaryProps (line 11) | interface DocSummaryProps { FILE: web/admin/src/pages/document/component/MoveDocs.tsx type DocDeleteProps (line 14) | interface DocDeleteProps { FILE: web/admin/src/pages/document/component/RagErrorReStart.tsx function normalizeNavGroupResponse (line 16) | function normalizeNavGroupResponse( function getNavNodeList (line 28) | function getNavNodeList( type RagErrorReStartProps (line 42) | interface RagErrorReStartProps { FILE: web/admin/src/pages/document/component/Summary.tsx type SummaryProps (line 8) | interface SummaryProps { FILE: web/admin/src/pages/document/component/VersionRollback.tsx type VersionRollbackProps (line 6) | interface VersionRollbackProps { FILE: web/admin/src/pages/document/editor/Catalog/index.tsx function getFirstDocIdInTree (line 38) | function getFirstDocIdInTree(items: ITreeItem[]): string | undefined { function getFirstDocId (line 49) | function getFirstDocId( type CatalogProps (line 56) | interface CatalogProps { FILE: web/admin/src/pages/document/editor/edit/AIGenerate.tsx type AIGenerateProps (line 7) | interface AIGenerateProps { FILE: web/admin/src/pages/document/editor/edit/FullTextEditor.tsx type FullTextEditorProps (line 7) | interface FullTextEditorProps { FILE: web/admin/src/pages/document/editor/edit/Header.tsx type HeaderProps (line 34) | interface HeaderProps { FILE: web/admin/src/pages/document/editor/edit/Summary.tsx type SummaryProps (line 14) | interface SummaryProps { FILE: web/admin/src/pages/document/editor/edit/Toc.tsx type TocProps (line 15) | interface TocProps { FILE: web/admin/src/pages/document/editor/edit/Toolbar.tsx type ToolbarProps (line 8) | interface ToolbarProps { FILE: web/admin/src/pages/document/editor/edit/Wrap.tsx type WrapProps (line 45) | interface WrapProps { FILE: web/admin/src/pages/document/editor/history/index.tsx constant CATALOG_WIDTH (line 41) | const CATALOG_WIDTH = 292; FILE: web/admin/src/pages/document/editor/index.tsx type WrapContext (line 23) | interface WrapContext { FILE: web/admin/src/pages/document/layout/DocPageHeader/index.tsx type DocPageHeaderProps (line 8) | interface DocPageHeaderProps { FILE: web/admin/src/pages/document/layout/DocPageList/DocListModals.tsx type DocListModalsProps (line 13) | interface DocListModalsProps { FILE: web/admin/src/pages/document/layout/DocPageList/DocPageListContent.tsx type DocPageListContentProps (line 23) | interface DocPageListContentProps { FILE: web/admin/src/pages/document/layout/DocPageList/types.ts type DocPageListContainerProps (line 12) | interface DocPageListContainerProps { type DocTreeMenuHandlers (line 25) | interface DocTreeMenuHandlers { type DocTreeMenuFn (line 34) | type DocTreeMenuFn = (opra: TreeMenuOptions) => TreeMenuItem[]; FILE: web/admin/src/pages/document/layout/DocPageList/useDocTreeMenu.tsx constant IMPORT_SOURCES (line 11) | const IMPORT_SOURCES: { key: ConstsCrawlerSource; label: string }[] = [ function useDocTreeMenu (line 30) | function useDocTreeMenu( FILE: web/admin/src/pages/document/layout/DocPageList/utils.ts function removeDeep (line 5) | function removeDeep( function findNodeInTree (line 21) | function findNodeInTree( function pickNodesFromTree (line 36) | function pickNodesFromTree( function collectAncestorFolderIds (line 60) | function collectAncestorFolderIds( function expandAncestorsToTarget (line 82) | function expandAncestorsToTarget( function applyMoveToTree (line 100) | function applyMoveToTree( function findItemInTree (line 131) | function findItemInTree( function collectOpenFolderIds (line 157) | function collectOpenFolderIds(items: ITreeItem[]): Set { function reopenFolders (line 169) | function reopenFolders( FILE: web/admin/src/pages/document/layout/DocPageNavs/NavEditModal.tsx type FormValues (line 8) | type FormValues = { name: string }; type NavEditModalProps (line 10) | interface NavEditModalProps { FILE: web/admin/src/pages/document/layout/DocPageNavs/index.tsx type DocPageNavsProps (line 222) | interface DocPageNavsProps { FILE: web/admin/src/pages/release/components/VersionDelete.tsx type VersionDeleteProps (line 8) | interface VersionDeleteProps { FILE: web/admin/src/pages/release/components/VersionPublish.tsx function normalizeNavGroupResponse (line 25) | function normalizeNavGroupResponse( function getNavNodeList (line 37) | function getNavNodeList( type VersionPublishProps (line 51) | interface VersionPublishProps { FILE: web/admin/src/pages/release/components/VersionReset.tsx type VersionResetProps (line 8) | interface VersionResetProps { FILE: web/admin/src/pages/setting/component/AddRecommendContent.tsx type AddRecommendContentProps (line 13) | interface AddRecommendContentProps { FILE: web/admin/src/pages/setting/component/AddRole.tsx type AddRoleProps (line 20) | interface AddRoleProps { FILE: web/admin/src/pages/setting/component/CardAI.tsx type CardAIProps (line 20) | interface CardAIProps { FILE: web/admin/src/pages/setting/component/CardAuth.tsx type CardAuthProps (line 36) | interface CardAuthProps { constant EXTEND_CONSTS_SOURCE_TYPE (line 41) | const EXTEND_CONSTS_SOURCE_TYPE = { type ExtendConstsSourceType (line 46) | type ExtendConstsSourceType = FILE: web/admin/src/pages/setting/component/CardCatalog.tsx type CardCatalogProps (line 17) | interface CardCatalogProps { FILE: web/admin/src/pages/setting/component/CardCustom.tsx type CardCustomProps (line 24) | interface CardCustomProps { FILE: web/admin/src/pages/setting/component/CardFeedback.tsx type CardCommentProps (line 24) | interface CardCommentProps { constant AI_FEEDBACK_OPTIONS (line 139) | const AI_FEEDBACK_OPTIONS = ['内容不准确', '答非所问', '其他']; FILE: web/admin/src/pages/setting/component/CardKB.tsx type ApiTokenPermission (line 48) | type ApiTokenPermission = function maskString (line 51) | function maskString(str: string) { FILE: web/admin/src/pages/setting/component/CardListen.tsx constant VALIDATION_RULES (line 11) | const VALIDATION_RULES = { FILE: web/admin/src/pages/setting/component/CardMCP.tsx type CardMCPProps (line 19) | interface CardMCPProps { FILE: web/admin/src/pages/setting/component/CardRobot/WebComponent/index.tsx type CardRobotWebComponentProps (line 31) | interface CardRobotWebComponentProps { FILE: web/admin/src/pages/setting/component/CardRobotWecom.tsx constant AI_FEEDBACK_OPTIONS (line 24) | const AI_FEEDBACK_OPTIONS = ['内容不准确', '答非所问', '其他']; FILE: web/admin/src/pages/setting/component/CardStyle.tsx type CardStyleProps (line 21) | interface CardStyleProps { FILE: web/admin/src/pages/setting/component/CardWeb.tsx type CardWebProps (line 20) | interface CardWebProps { FILE: web/admin/src/pages/setting/component/CardWebCustomCode.tsx type CardWebCustomCodeProps (line 11) | interface CardWebCustomCodeProps { FILE: web/admin/src/pages/setting/component/CardWebSEO.tsx type CardWebSEOProps (line 11) | interface CardWebSEOProps { FILE: web/admin/src/pages/setting/component/CardWebStats.tsx type CardWebStatsProps (line 12) | interface CardWebStatsProps { type StatsFormData (line 18) | interface StatsFormData { FILE: web/admin/src/pages/setting/component/Common.tsx type SettingCardItemMore (line 240) | type SettingCardItemMore = FILE: web/admin/src/pages/setting/component/UserGroup/GroupTree.tsx type TreeNode (line 32) | type TreeNode = { type GroupTreeProps (line 44) | interface GroupTreeProps { type IContext (line 65) | interface IContext { FILE: web/admin/src/pages/setting/component/UserGroup/index.tsx type UserGroupProps (line 21) | interface UserGroupProps { FILE: web/admin/src/pages/setting/component/UserGroupModal.tsx type UserGroupModalProps (line 28) | interface UserGroupModalProps { FILE: web/admin/src/pages/stat/Statistic/index.tsx type ActiveTab (line 25) | type ActiveTab = 1 | 7 | 30 | 90; FILE: web/admin/src/request/httpClient.ts type QueryParamsType (line 22) | type QueryParamsType = Record; type FullRequestParams (line 24) | interface FullRequestParams type RequestParams (line 40) | type RequestParams = Omit< type ApiConfig (line 45) | interface ApiConfig type ContentType (line 54) | enum ContentType { type ExtractDataProp (line 70) | type ExtractDataProp = T extends { data?: infer U } ? U : T; class HttpClient (line 72) | class HttpClient { method constructor (line 79) | constructor({ method mergeRequestParams (line 123) | protected mergeRequestParams( method stringifyFormItem (line 145) | protected stringifyFormItem(formItem: unknown) { method createFormData (line 153) | protected createFormData(input: Record): FormData { FILE: web/admin/src/request/pro/httpClient.ts type QueryParamsType (line 22) | type QueryParamsType = Record; type FullRequestParams (line 24) | interface FullRequestParams type RequestParams (line 40) | type RequestParams = Omit< type ApiConfig (line 45) | interface ApiConfig type ContentType (line 54) | enum ContentType { type ExtractDataProp (line 70) | type ExtractDataProp = T extends { data?: infer U } ? U : T; class HttpClient (line 72) | class HttpClient { method constructor (line 79) | constructor({ method mergeRequestParams (line 123) | protected mergeRequestParams( method stringifyFormItem (line 145) | protected stringifyFormItem(formItem: unknown) { method createFormData (line 153) | protected createFormData(input: Record): FormData { FILE: web/admin/src/request/pro/types.ts type DomainCommentStatus (line 14) | enum DomainCommentStatus { type ConstsUserKBPermission (line 20) | enum ConstsUserKBPermission { type ConstsSourceType (line 33) | enum ConstsSourceType { type ConstsLicenseEdition (line 55) | enum ConstsLicenseEdition { type ConstsContributeType (line 66) | enum ConstsContributeType { type ConstsContributeStatus (line 71) | enum ConstsContributeStatus { type DomainCommentModerateListReq (line 77) | interface DomainCommentModerateListReq { type DomainDocumentFeedbackInfo (line 82) | interface DomainDocumentFeedbackInfo { type DomainDocumentFeedbackListItem (line 94) | interface DomainDocumentFeedbackListItem { type DomainGetNodeReleaseDetailResp (line 107) | interface DomainGetNodeReleaseDetailResp { type DomainIPAddress (line 120) | interface DomainIPAddress { type DomainLicenseResp (line 127) | interface DomainLicenseResp { type DomainNodeMeta (line 134) | interface DomainNodeMeta { type DomainNodeReleaseListItem (line 140) | interface DomainNodeReleaseListItem { type DomainPWResponse (line 157) | interface DomainPWResponse { type DomainPrompt (line 164) | interface DomainPrompt { type DomainResponse (line 176) | interface DomainResponse { type DomainUpdatePromptReq (line 182) | interface DomainUpdatePromptReq { type GithubComChaitinPandaWikiProApiAuthV1AuthGetResp (line 192) | interface GithubComChaitinPandaWikiProApiAuthV1AuthGetResp { type GithubComChaitinPandaWikiProApiAuthV1AuthGroupCreateReq (line 222) | interface GithubComChaitinPandaWikiProApiAuthV1AuthGroupCreateReq { type GithubComChaitinPandaWikiProApiAuthV1AuthGroupCreateResp (line 234) | type GithubComChaitinPandaWikiProApiAuthV1AuthGroupCreateResp = Record< type GithubComChaitinPandaWikiProApiAuthV1AuthGroupDetailResp (line 239) | interface GithubComChaitinPandaWikiProApiAuthV1AuthGroupDetailResp { type GithubComChaitinPandaWikiProApiAuthV1AuthGroupListItem (line 251) | interface GithubComChaitinPandaWikiProApiAuthV1AuthGroupListItem { type GithubComChaitinPandaWikiProApiAuthV1AuthGroupListResp (line 262) | interface GithubComChaitinPandaWikiProApiAuthV1AuthGroupListResp { type GithubComChaitinPandaWikiProApiAuthV1AuthGroupMoveReq (line 267) | interface GithubComChaitinPandaWikiProApiAuthV1AuthGroupMoveReq { type GithubComChaitinPandaWikiProApiAuthV1AuthGroupSyncReq (line 275) | interface GithubComChaitinPandaWikiProApiAuthV1AuthGroupSyncReq { type GithubComChaitinPandaWikiProApiAuthV1AuthGroupSyncResp (line 280) | type GithubComChaitinPandaWikiProApiAuthV1AuthGroupSyncResp = Record< type GithubComChaitinPandaWikiProApiAuthV1AuthGroupTreeItem (line 285) | interface GithubComChaitinPandaWikiProApiAuthV1AuthGroupTreeItem { type GithubComChaitinPandaWikiProApiAuthV1AuthGroupTreeResp (line 298) | interface GithubComChaitinPandaWikiProApiAuthV1AuthGroupTreeResp { type GithubComChaitinPandaWikiProApiAuthV1AuthGroupUpdateReq (line 302) | interface GithubComChaitinPandaWikiProApiAuthV1AuthGroupUpdateReq { type GithubComChaitinPandaWikiProApiAuthV1AuthItem (line 311) | interface GithubComChaitinPandaWikiProApiAuthV1AuthItem { type GithubComChaitinPandaWikiProApiAuthV1AuthSetReq (line 321) | interface GithubComChaitinPandaWikiProApiAuthV1AuthSetReq { type GithubComChaitinPandaWikiProApiContributeV1ContributeAuditReq (line 351) | interface GithubComChaitinPandaWikiProApiContributeV1ContributeAuditReq { type GithubComChaitinPandaWikiProApiContributeV1ContributeAuditResp (line 360) | interface GithubComChaitinPandaWikiProApiContributeV1ContributeAuditResp { type GithubComChaitinPandaWikiProApiContributeV1ContributeDetailResp (line 364) | interface GithubComChaitinPandaWikiProApiContributeV1ContributeDetailResp { type GithubComChaitinPandaWikiProApiContributeV1ContributeItem (line 384) | interface GithubComChaitinPandaWikiProApiContributeV1ContributeItem { type GithubComChaitinPandaWikiProApiContributeV1ContributeListResp (line 404) | interface GithubComChaitinPandaWikiProApiContributeV1ContributeListResp { type GithubComChaitinPandaWikiProApiContributeV1NodeMeta (line 409) | interface GithubComChaitinPandaWikiProApiContributeV1NodeMeta { type GithubComChaitinPandaWikiProApiContributeV1OriginalNodeInfo (line 415) | interface GithubComChaitinPandaWikiProApiContributeV1OriginalNodeInfo { type GithubComChaitinPandaWikiProApiShareV1AuthCASReq (line 422) | interface GithubComChaitinPandaWikiProApiShareV1AuthCASReq { type GithubComChaitinPandaWikiProApiShareV1AuthCASResp (line 427) | interface GithubComChaitinPandaWikiProApiShareV1AuthCASResp { type GithubComChaitinPandaWikiProApiShareV1AuthDingTalkReq (line 431) | interface GithubComChaitinPandaWikiProApiShareV1AuthDingTalkReq { type GithubComChaitinPandaWikiProApiShareV1AuthDingTalkResp (line 436) | interface GithubComChaitinPandaWikiProApiShareV1AuthDingTalkResp { type GithubComChaitinPandaWikiProApiShareV1AuthFeishuReq (line 440) | interface GithubComChaitinPandaWikiProApiShareV1AuthFeishuReq { type GithubComChaitinPandaWikiProApiShareV1AuthFeishuResp (line 445) | interface GithubComChaitinPandaWikiProApiShareV1AuthFeishuResp { type GithubComChaitinPandaWikiProApiShareV1AuthGitHubReq (line 449) | interface GithubComChaitinPandaWikiProApiShareV1AuthGitHubReq { type GithubComChaitinPandaWikiProApiShareV1AuthGitHubResp (line 454) | interface GithubComChaitinPandaWikiProApiShareV1AuthGitHubResp { type GithubComChaitinPandaWikiProApiShareV1AuthInfoResp (line 458) | interface GithubComChaitinPandaWikiProApiShareV1AuthInfoResp { type GithubComChaitinPandaWikiProApiShareV1AuthLDAPReq (line 466) | interface GithubComChaitinPandaWikiProApiShareV1AuthLDAPReq { type GithubComChaitinPandaWikiProApiShareV1AuthLDAPResp (line 472) | type GithubComChaitinPandaWikiProApiShareV1AuthLDAPResp = Record< type GithubComChaitinPandaWikiProApiShareV1AuthLogoutResp (line 477) | type GithubComChaitinPandaWikiProApiShareV1AuthLogoutResp = Record< type GithubComChaitinPandaWikiProApiShareV1AuthOAuthReq (line 482) | interface GithubComChaitinPandaWikiProApiShareV1AuthOAuthReq { type GithubComChaitinPandaWikiProApiShareV1AuthOAuthResp (line 487) | interface GithubComChaitinPandaWikiProApiShareV1AuthOAuthResp { type GithubComChaitinPandaWikiProApiShareV1AuthWecomReq (line 491) | interface GithubComChaitinPandaWikiProApiShareV1AuthWecomReq { type GithubComChaitinPandaWikiProApiShareV1AuthWecomResp (line 497) | interface GithubComChaitinPandaWikiProApiShareV1AuthWecomResp { type GithubComChaitinPandaWikiProApiShareV1CASCallbackResp (line 501) | type GithubComChaitinPandaWikiProApiShareV1CASCallbackResp = Record< type GithubComChaitinPandaWikiProApiShareV1DingtalkCallbackResp (line 506) | type GithubComChaitinPandaWikiProApiShareV1DingtalkCallbackResp = Record< type GithubComChaitinPandaWikiProApiShareV1FeishuCallbackResp (line 511) | type GithubComChaitinPandaWikiProApiShareV1FeishuCallbackResp = Record< type GithubComChaitinPandaWikiProApiShareV1FileUploadResp (line 516) | interface GithubComChaitinPandaWikiProApiShareV1FileUploadResp { type GithubComChaitinPandaWikiProApiShareV1GitHubCallbackResp (line 520) | type GithubComChaitinPandaWikiProApiShareV1GitHubCallbackResp = Record< type GithubComChaitinPandaWikiProApiShareV1OAuthCallbackResp (line 525) | type GithubComChaitinPandaWikiProApiShareV1OAuthCallbackResp = Record< type GithubComChaitinPandaWikiProApiShareV1SubmitContributeReq (line 530) | interface GithubComChaitinPandaWikiProApiShareV1SubmitContributeReq { type GithubComChaitinPandaWikiProApiShareV1SubmitContributeResp (line 541) | type GithubComChaitinPandaWikiProApiShareV1SubmitContributeResp = Record< type GithubComChaitinPandaWikiProApiShareV1WecomCallbackResp (line 546) | type GithubComChaitinPandaWikiProApiShareV1WecomCallbackResp = Record< type GithubComChaitinPandaWikiProApiTokenV1APITokenListItem (line 551) | interface GithubComChaitinPandaWikiProApiTokenV1APITokenListItem { type GithubComChaitinPandaWikiProApiTokenV1CreateAPITokenReq (line 560) | interface GithubComChaitinPandaWikiProApiTokenV1CreateAPITokenReq { type GithubComChaitinPandaWikiProApiTokenV1UpdateAPITokenReq (line 566) | interface GithubComChaitinPandaWikiProApiTokenV1UpdateAPITokenReq { type GithubComChaitinPandaWikiProDomainBlockWords (line 573) | interface GithubComChaitinPandaWikiProDomainBlockWords { type GithubComChaitinPandaWikiProDomainCreateBlockWordsReq (line 577) | interface GithubComChaitinPandaWikiProDomainCreateBlockWordsReq { type HandlerV1DocFeedBackLists (line 582) | interface HandlerV1DocFeedBackLists { type DeleteApiProV1AuthDeleteParams (line 587) | interface DeleteApiProV1AuthDeleteParams { type GetApiProV1AuthGetParams (line 592) | interface GetApiProV1AuthGetParams { type DeleteApiProV1AuthGroupDeleteParams (line 615) | interface DeleteApiProV1AuthGroupDeleteParams { type GetApiProV1AuthGroupDetailParams (line 620) | interface GetApiProV1AuthGroupDetailParams { type GetApiProV1AuthGroupListParams (line 625) | interface GetApiProV1AuthGroupListParams { type GetApiProV1AuthGroupTreeParams (line 633) | interface GetApiProV1AuthGroupTreeParams { type GetApiProV1BlockParams (line 637) | interface GetApiProV1BlockParams { type GetApiProV1ContributeDetailParams (line 642) | interface GetApiProV1ContributeDetailParams { type GetApiProV1ContributeListParams (line 647) | interface GetApiProV1ContributeListParams { type DeleteApiProV1DocumentFeedbackParams (line 658) | interface DeleteApiProV1DocumentFeedbackParams { type GetApiProV1DocumentListParams (line 663) | interface GetApiProV1DocumentListParams { type GetApiProV1NodeReleaseDetailParams (line 671) | interface GetApiProV1NodeReleaseDetailParams { type GetApiProV1NodeReleaseListParams (line 676) | interface GetApiProV1NodeReleaseListParams { type GetApiProV1PromptParams (line 681) | interface GetApiProV1PromptParams { type DeleteApiProV1TokenDeleteParams (line 686) | interface DeleteApiProV1TokenDeleteParams { type GetApiProV1TokenListParams (line 691) | interface GetApiProV1TokenListParams { type PostApiV1LicensePayload (line 696) | interface PostApiV1LicensePayload { type PostShareProV1DocumentFeedbackPayload (line 708) | interface PostShareProV1DocumentFeedbackPayload { type PostShareProV1FileUploadPayload (line 722) | interface PostShareProV1FileUploadPayload { type GetShareProV1OpenapiCasCallbackParams (line 727) | interface GetShareProV1OpenapiCasCallbackParams { type GetShareProV1OpenapiDingtalkCallbackParams (line 732) | interface GetShareProV1OpenapiDingtalkCallbackParams { type GetShareProV1OpenapiFeishuCallbackParams (line 737) | interface GetShareProV1OpenapiFeishuCallbackParams { type GetShareProV1OpenapiGithubCallbackParams (line 742) | interface GetShareProV1OpenapiGithubCallbackParams { type GetShareProV1OpenapiOauthCallbackParams (line 747) | interface GetShareProV1OpenapiOauthCallbackParams { type GetShareProV1OpenapiWecomCallbackParams (line 752) | interface GetShareProV1OpenapiWecomCallbackParams { FILE: web/admin/src/request/types.ts type SchemaRoleType (line 13) | enum SchemaRoleType { type GithubComChaitinPandaWikiDomainModelProvider (line 20) | enum GithubComChaitinPandaWikiDomainModelProvider { type DomainStatPageScene (line 24) | enum DomainStatPageScene { type DomainScoreType (line 31) | enum DomainScoreType { type DomainNodeType (line 37) | enum DomainNodeType { type DomainNodeStatus (line 43) | enum DomainNodeStatus { type DomainModelType (line 52) | enum DomainModelType { type DomainMessageFrom (line 60) | enum DomainMessageFrom { type DomainCommentStatus (line 66) | enum DomainCommentStatus { type DomainAppType (line 73) | enum DomainAppType { type ConstsWatermarkSetting (line 88) | enum ConstsWatermarkSetting { type ConstsUserRole (line 97) | enum ConstsUserRole { type ConstsUserKBPermission (line 104) | enum ConstsUserKBPermission { type ConstsStatDay (line 117) | enum ConstsStatDay { type ConstsSourceType (line 124) | enum ConstsSourceType { type ConstsNodeRagInfoStatus (line 145) | enum ConstsNodeRagInfoStatus { type ConstsNodePermName (line 158) | enum ConstsNodePermName { type ConstsNodeAccessPerm (line 167) | enum ConstsNodeAccessPerm { type ConstsModelSettingMode (line 176) | enum ConstsModelSettingMode { type ConstsLicenseEdition (line 182) | enum ConstsLicenseEdition { type ConstsHomePageSetting (line 193) | enum ConstsHomePageSetting { type ConstsCrawlerStatus (line 200) | enum ConstsCrawlerStatus { type ConstsCrawlerSource (line 207) | enum ConstsCrawlerSource { type ConstsCopySetting (line 223) | enum ConstsCopySetting { type ConstsAuthType (line 232) | enum ConstsAuthType { type AnydocChild (line 241) | interface AnydocChild { type AnydocDingtalkSetting (line 246) | interface AnydocDingtalkSetting { type AnydocFeishuSetting (line 254) | interface AnydocFeishuSetting { type AnydocValue (line 261) | interface AnydocValue { type ConstsRedeemCaptchaReq (line 269) | interface ConstsRedeemCaptchaReq { type DomainAIFeedbackSettings (line 274) | interface DomainAIFeedbackSettings { type DomainAccessSettings (line 279) | interface DomainAccessSettings { type DomainAnydocUploadResp (line 295) | interface DomainAnydocUploadResp { type DomainAppDetailResp (line 301) | interface DomainAppDetailResp { type DomainAppInfoResp (line 310) | interface DomainAppInfoResp { type DomainAppSettings (line 317) | interface DomainAppSettings { type DomainAppSettingsResp (line 407) | interface DomainAppSettingsResp { type DomainAuthUserInfo (line 496) | interface DomainAuthUserInfo { type DomainBannerConfig (line 502) | interface DomainBannerConfig { type DomainBasicDocConfig (line 520) | interface DomainBasicDocConfig { type DomainBatchMoveReq (line 526) | interface DomainBatchMoveReq { type DomainBlockGridConfig (line 532) | interface DomainBlockGridConfig { type DomainBrandGroup (line 542) | interface DomainBrandGroup { type DomainBrowserCount (line 547) | interface DomainBrowserCount { type DomainCarouselConfig (line 552) | interface DomainCarouselConfig { type DomainCaseConfig (line 563) | interface DomainCaseConfig { type DomainCatalogSettings (line 573) | interface DomainCatalogSettings { type DomainChatRequest (line 582) | interface DomainChatRequest { type DomainChatSearchReq (line 592) | interface DomainChatSearchReq { type DomainChatSearchResp (line 597) | interface DomainChatSearchResp { type DomainCommentConfig (line 601) | interface DomainCommentConfig { type DomainCommentInfo (line 613) | interface DomainCommentInfo { type DomainCommentListItem (line 622) | interface DomainCommentListItem { type DomainCommentReq (line 638) | interface DomainCommentReq { type DomainCompleteReq (line 648) | interface DomainCompleteReq { type DomainContributeSettings (line 654) | interface DomainContributeSettings { type DomainConversationDetailResp (line 658) | interface DomainConversationDetailResp { type DomainConversationInfo (line 669) | interface DomainConversationInfo { type DomainConversationListItem (line 673) | interface DomainConversationListItem { type DomainConversationMessage (line 687) | interface DomainConversationMessage { type DomainConversationMessageListItem (line 710) | interface DomainConversationMessageListItem { type DomainConversationReference (line 726) | interface DomainConversationReference { type DomainConversationSetting (line 734) | interface DomainConversationSetting { type DomainCreateKBReleaseReq (line 739) | interface DomainCreateKBReleaseReq { type DomainCreateKnowledgeBaseReq (line 747) | interface DomainCreateKnowledgeBaseReq { type DomainCreateModelReq (line 756) | interface DomainCreateModelReq { type DomainCreateNodeReq (line 768) | interface DomainCreateNodeReq { type DomainDirDocConfig (line 781) | interface DomainDirDocConfig { type DomainDisclaimerSettings (line 787) | interface DomainDisclaimerSettings { type DomainEnterpriseAuth (line 791) | interface DomainEnterpriseAuth { type DomainFaqConfig (line 795) | interface DomainFaqConfig { type DomainFeatureConfig (line 806) | interface DomainFeatureConfig { type DomainFeedBackInfo (line 816) | interface DomainFeedBackInfo { type DomainFeedbackRequest (line 822) | interface DomainFeedbackRequest { type DomainFooterSettings (line 836) | interface DomainFooterSettings { type DomainGetKBReleaseListResp (line 846) | interface DomainGetKBReleaseListResp { type DomainGetProviderModelListReq (line 851) | interface DomainGetProviderModelListReq { type DomainGetProviderModelListResp (line 859) | interface DomainGetProviderModelListResp { type DomainHotBrowser (line 863) | interface DomainHotBrowser { type DomainHotPage (line 868) | interface DomainHotPage { type DomainHotRefererHost (line 875) | interface DomainHotRefererHost { type DomainIPAddress (line 880) | interface DomainIPAddress { type DomainImgTextConfig (line 887) | interface DomainImgTextConfig { type DomainInstantCountResp (line 897) | interface DomainInstantCountResp { type DomainInstantPageResp (line 902) | interface DomainInstantPageResp { type DomainKBReleaseListItemResp (line 913) | interface DomainKBReleaseListItemResp { type DomainKnowledgeBaseDetail (line 922) | interface DomainKnowledgeBaseDetail { type DomainKnowledgeBaseListItem (line 933) | interface DomainKnowledgeBaseListItem { type DomainLarkBotSettings (line 942) | interface DomainLarkBotSettings { type DomainLink (line 950) | interface DomainLink { type DomainMCPServerSettings (line 955) | interface DomainMCPServerSettings { type DomainMCPToolSettings (line 961) | interface DomainMCPToolSettings { type DomainMessageContent (line 966) | type DomainMessageContent = Record; type DomainMetricsConfig (line 968) | interface DomainMetricsConfig { type DomainModelModeSetting (line 978) | interface DomainModelModeSetting { type DomainMoveNodeReq (line 989) | interface DomainMoveNodeReq { type DomainNodeActionReq (line 997) | interface DomainNodeActionReq { type DomainNodeContentChunkSSE (line 1003) | interface DomainNodeContentChunkSSE { type DomainNodeGroupDetail (line 1011) | interface DomainNodeGroupDetail { type DomainNodeListItemResp (line 1020) | interface DomainNodeListItemResp { type DomainNodeMeta (line 1042) | interface DomainNodeMeta { type DomainNodePermissions (line 1048) | interface DomainNodePermissions { type DomainNodeSummaryReq (line 1057) | interface DomainNodeSummaryReq { type DomainObjectUploadResp (line 1062) | interface DomainObjectUploadResp { type DomainOpenAIAPIBotSettings (line 1067) | interface DomainOpenAIAPIBotSettings { type DomainOpenAIChoice (line 1072) | interface DomainOpenAIChoice { type DomainOpenAICompletionsRequest (line 1080) | interface DomainOpenAICompletionsRequest { type DomainOpenAICompletionsResponse (line 1097) | interface DomainOpenAICompletionsResponse { type DomainOpenAIError (line 1106) | interface DomainOpenAIError { type DomainOpenAIErrorResponse (line 1113) | interface DomainOpenAIErrorResponse { type DomainOpenAIFunction (line 1117) | interface DomainOpenAIFunction { type DomainOpenAIFunctionCall (line 1123) | interface DomainOpenAIFunctionCall { type DomainOpenAIFunctionChoice (line 1128) | interface DomainOpenAIFunctionChoice { type DomainOpenAIMessage (line 1132) | interface DomainOpenAIMessage { type DomainOpenAIResponseFormat (line 1140) | interface DomainOpenAIResponseFormat { type DomainOpenAIStreamOptions (line 1144) | interface DomainOpenAIStreamOptions { type DomainOpenAITool (line 1148) | interface DomainOpenAITool { type DomainOpenAIToolCall (line 1153) | interface DomainOpenAIToolCall { type DomainOpenAIToolChoice (line 1159) | interface DomainOpenAIToolChoice { type DomainOpenAIUsage (line 1164) | interface DomainOpenAIUsage { type DomainPWResponse (line 1170) | interface DomainPWResponse { type DomainPaginatedResultArrayDomainConversationMessageListItem (line 1177) | interface DomainPaginatedResultArrayDomainConversationMessageListItem { type DomainProviderModelListItem (line 1182) | interface DomainProviderModelListItem { type DomainQuestionConfig (line 1186) | interface DomainQuestionConfig { type DomainRagInfo (line 1195) | interface DomainRagInfo { type DomainRecommendNodeListResp (line 1201) | interface DomainRecommendNodeListResp { type DomainResponse (line 1213) | interface DomainResponse { type DomainShareCommentListItem (line 1219) | interface DomainShareCommentListItem { type DomainShareConversationDetailResp (line 1233) | interface DomainShareConversationDetailResp { type DomainShareConversationMessage (line 1240) | interface DomainShareConversationMessage { type DomainShareNodeDetailItem (line 1247) | interface DomainShareNodeDetailItem { type DomainSimpleAuth (line 1260) | interface DomainSimpleAuth { type DomainSimpleDocConfig (line 1265) | interface DomainSimpleDocConfig { type DomainSocialMediaAccount (line 1271) | interface DomainSocialMediaAccount { type DomainStatPageReq (line 1279) | interface DomainStatPageReq { type DomainStatsSetting (line 1284) | interface DomainStatsSetting { type DomainSwitchModeReq (line 1288) | interface DomainSwitchModeReq { type DomainSwitchModeResp (line 1296) | interface DomainSwitchModeResp { type DomainTextConfig (line 1300) | interface DomainTextConfig { type DomainTextImgConfig (line 1305) | interface DomainTextImgConfig { type DomainTextReq (line 1315) | interface DomainTextReq { type DomainThemeAndStyle (line 1321) | interface DomainThemeAndStyle { type DomainUpdateAppReq (line 1326) | interface DomainUpdateAppReq { type DomainUpdateKnowledgeBaseReq (line 1332) | interface DomainUpdateKnowledgeBaseReq { type DomainUpdateModelReq (line 1338) | interface DomainUpdateModelReq { type DomainUpdateNodeReq (line 1352) | interface DomainUpdateNodeReq { type DomainUploadByUrlReq (line 1364) | interface DomainUploadByUrlReq { type DomainUserInfo (line 1369) | interface DomainUserInfo { type DomainWeChatAppAdvancedSetting (line 1380) | interface DomainWeChatAppAdvancedSetting { type DomainWebAppCommentSettings (line 1388) | interface DomainWebAppCommentSettings { type DomainWebAppCustomSettings (line 1393) | interface DomainWebAppCustomSettings { type DomainWebAppLandingConfig (line 1401) | interface DomainWebAppLandingConfig { type DomainWebAppLandingConfigResp (line 1422) | interface DomainWebAppLandingConfigResp { type DomainWebAppLandingTheme (line 1444) | interface DomainWebAppLandingTheme { type DomainWecomAIBotSettings (line 1448) | interface DomainWecomAIBotSettings { type DomainWidgetBotSettings (line 1454) | interface DomainWidgetBotSettings { type GithubComChaitinPandaWikiApiAuthV1AuthGetResp (line 1472) | interface GithubComChaitinPandaWikiApiAuthV1AuthGetResp { type GithubComChaitinPandaWikiApiNodeV1NodeListGroupNavResp (line 1480) | interface GithubComChaitinPandaWikiApiNodeV1NodeListGroupNavResp { type GithubComChaitinPandaWikiApiShareV1AuthGetResp (line 1489) | interface GithubComChaitinPandaWikiApiShareV1AuthGetResp { type GithubComChaitinPandaWikiApiShareV1GitHubCallbackResp (line 1495) | type GithubComChaitinPandaWikiApiShareV1GitHubCallbackResp = Record< type GithubComChaitinPandaWikiDomainCheckModelReq (line 1500) | interface GithubComChaitinPandaWikiDomainCheckModelReq { type GithubComChaitinPandaWikiDomainCheckModelResp (line 1512) | interface GithubComChaitinPandaWikiDomainCheckModelResp { type GithubComChaitinPandaWikiDomainModelListItem (line 1517) | interface GithubComChaitinPandaWikiDomainModelListItem { type GithubComChaitinPandaWikiDomainModelParam (line 1534) | interface GithubComChaitinPandaWikiDomainModelParam { type GocapChallengeData (line 1544) | interface GocapChallengeData { type GocapChallengeItem (line 1552) | interface GocapChallengeItem { type GocapVerificationResult (line 1561) | interface GocapVerificationResult { type ShareShareCommentLists (line 1570) | interface ShareShareCommentLists { type V1AuthGitHubReq (line 1575) | interface V1AuthGitHubReq { type V1AuthGitHubResp (line 1580) | interface V1AuthGitHubResp { type V1AuthItem (line 1584) | interface V1AuthItem { type V1AuthLoginSimpleReq (line 1594) | interface V1AuthLoginSimpleReq { type V1AuthSetReq (line 1598) | interface V1AuthSetReq { type V1CommentLists (line 1606) | interface V1CommentLists { type V1ConversationListItems (line 1611) | interface V1ConversationListItems { type V1CrawlerExportReq (line 1616) | interface V1CrawlerExportReq { type V1CrawlerExportResp (line 1624) | interface V1CrawlerExportResp { type V1CrawlerParseReq (line 1628) | interface V1CrawlerParseReq { type V1CrawlerParseResp (line 1637) | interface V1CrawlerParseResp { type V1CrawlerResultItem (line 1642) | interface V1CrawlerResultItem { type V1CrawlerResultReq (line 1648) | interface V1CrawlerResultReq { type V1CrawlerResultResp (line 1652) | interface V1CrawlerResultResp { type V1CrawlerResultsReq (line 1657) | interface V1CrawlerResultsReq { type V1CrawlerResultsResp (line 1661) | interface V1CrawlerResultsResp { type V1CreateUserReq (line 1666) | interface V1CreateUserReq { type V1CreateUserResp (line 1673) | interface V1CreateUserResp { type V1FileUploadResp (line 1677) | interface V1FileUploadResp { type V1KBUserInviteReq (line 1681) | interface V1KBUserInviteReq { type V1KBUserListItemResp (line 1687) | interface V1KBUserListItemResp { type V1KBUserUpdateReq (line 1694) | interface V1KBUserUpdateReq { type V1LoginReq (line 1700) | interface V1LoginReq { type V1LoginResp (line 1705) | interface V1LoginResp { type V1NavAddReq (line 1709) | interface V1NavAddReq { type V1NavListResp (line 1715) | interface V1NavListResp { type V1NavMoveReq (line 1723) | interface V1NavMoveReq { type V1NavUpdateReq (line 1730) | interface V1NavUpdateReq { type V1NodeDetailResp (line 1736) | interface V1NodeDetailResp { type V1NodeMoveNavReq (line 1758) | interface V1NodeMoveNavReq { type V1NodePermissionEditReq (line 1765) | interface V1NodePermissionEditReq { type V1NodePermissionEditResp (line 1777) | type V1NodePermissionEditResp = Record; type V1NodePermissionResp (line 1779) | interface V1NodePermissionResp { type V1NodeRestudyReq (line 1790) | interface V1NodeRestudyReq { type V1NodeRestudyResp (line 1796) | type V1NodeRestudyResp = Record; type V1NodeStatsResp (line 1798) | interface V1NodeStatsResp { type V1ResetPasswordReq (line 1807) | interface V1ResetPasswordReq { type V1ShareFileUploadUrlReq (line 1813) | interface V1ShareFileUploadUrlReq { type V1ShareFileUploadUrlResp (line 1818) | interface V1ShareFileUploadUrlResp { type V1ShareNodeDetailResp (line 1822) | interface V1ShareNodeDetailResp { type V1StatConversationDistributionResp (line 1844) | interface V1StatConversationDistributionResp { type V1StatCountResp (line 1849) | interface V1StatCountResp { type V1UserInfoResp (line 1856) | interface V1UserInfoResp { type V1UserListItemResp (line 1865) | interface V1UserListItemResp { type V1UserListResp (line 1873) | interface V1UserListResp { type V1WechatAppInfoResp (line 1877) | interface V1WechatAppInfoResp { type PutApiV1AppParams (line 1884) | interface PutApiV1AppParams { type DeleteApiV1AppParams (line 1889) | interface DeleteApiV1AppParams { type GetApiV1AppDetailParams (line 1896) | interface GetApiV1AppDetailParams { type DeleteApiV1AuthDeleteParams (line 1903) | interface DeleteApiV1AuthDeleteParams { type GetApiV1AuthGetParams (line 1908) | interface GetApiV1AuthGetParams { type GetApiV1CommentParams (line 1931) | interface GetApiV1CommentParams { type DeleteApiV1CommentListParams (line 1941) | interface DeleteApiV1CommentListParams { type GetApiV1ConversationParams (line 1945) | interface GetApiV1ConversationParams { type GetApiV1ConversationDetailParams (line 1956) | interface GetApiV1ConversationDetailParams { type GetApiV1ConversationMessageDetailParams (line 1961) | interface GetApiV1ConversationMessageDetailParams { type GetApiV1ConversationMessageListParams (line 1966) | interface GetApiV1ConversationMessageListParams { type PostApiV1FileUploadPayload (line 1974) | interface PostApiV1FileUploadPayload { type PostApiV1FileUploadAnydocPayload (line 1984) | interface PostApiV1FileUploadAnydocPayload { type GetApiV1KnowledgeBaseDetailParams (line 1994) | interface GetApiV1KnowledgeBaseDetailParams { type DeleteApiV1KnowledgeBaseDetailParams (line 1999) | interface DeleteApiV1KnowledgeBaseDetailParams { type GetApiV1KnowledgeBaseReleaseListParams (line 2004) | interface GetApiV1KnowledgeBaseReleaseListParams { type DeleteApiV1KnowledgeBaseUserDeleteParams (line 2009) | interface DeleteApiV1KnowledgeBaseUserDeleteParams { type GetApiV1KnowledgeBaseUserListParams (line 2014) | interface GetApiV1KnowledgeBaseUserListParams { type DeleteApiV1NavDeleteParams (line 2019) | interface DeleteApiV1NavDeleteParams { type GetApiV1NavListParams (line 2024) | interface GetApiV1NavListParams { type GetApiV1NodeDetailParams (line 2028) | interface GetApiV1NodeDetailParams { type GetApiV1NodeListParams (line 2034) | interface GetApiV1NodeListParams { type GetApiV1NodeListGroupNavParams (line 2040) | interface GetApiV1NodeListGroupNavParams { type GetApiV1NodePermissionParams (line 2046) | interface GetApiV1NodePermissionParams { type GetApiV1NodeRecommendNodesParams (line 2051) | interface GetApiV1NodeRecommendNodesParams { type GetApiV1NodeStatsParams (line 2056) | interface GetApiV1NodeStatsParams { type GetApiV1StatBrowsersParams (line 2060) | interface GetApiV1StatBrowsersParams { type GetApiV1StatConversationDistributionParams (line 2065) | interface GetApiV1StatConversationDistributionParams { type GetApiV1StatCountParams (line 2070) | interface GetApiV1StatCountParams { type GetApiV1StatGeoCountParams (line 2075) | interface GetApiV1StatGeoCountParams { type GetApiV1StatHotPagesParams (line 2080) | interface GetApiV1StatHotPagesParams { type GetApiV1StatInstantCountParams (line 2085) | interface GetApiV1StatInstantCountParams { type GetApiV1StatInstantPagesParams (line 2089) | interface GetApiV1StatInstantPagesParams { type GetApiV1StatRefererHostsParams (line 2093) | interface GetApiV1StatRefererHostsParams { type DeleteApiV1UserDeleteParams (line 2098) | interface DeleteApiV1UserDeleteParams { type GetShareV1AppWechatServiceAnswerParams (line 2102) | interface GetShareV1AppWechatServiceAnswerParams { type PostShareV1ChatMessageParams (line 2107) | interface PostShareV1ChatMessageParams { type PostShareV1ChatWidgetParams (line 2112) | interface PostShareV1ChatWidgetParams { type GetShareV1CommentListParams (line 2117) | interface GetShareV1CommentListParams { type PostShareV1CommonFileUploadPayload (line 2122) | interface PostShareV1CommonFileUploadPayload { type GetShareV1ConversationDetailParams (line 2129) | interface GetShareV1ConversationDetailParams { type GetShareV1NavListParams (line 2134) | interface GetShareV1NavListParams { type GetShareV1NodeDetailParams (line 2138) | interface GetShareV1NodeDetailParams { type GetShareV1OpenapiGithubCallbackParams (line 2145) | interface GetShareV1OpenapiGithubCallbackParams { type PostShareV1OpenapiLarkBotKbIdParams (line 2150) | interface PostShareV1OpenapiLarkBotKbIdParams { FILE: web/admin/src/services/modelService.ts method createModel (line 115) | async createModel(data: UICreateModelData) { method listModel (line 127) | async listModel(data: UIGetModelNameData) { method checkModel (line 141) | async checkModel(data: UICheckModelData) { method updateModel (line 150) | async updateModel(data: UIUpdateModelData) { FILE: web/admin/src/store/index.ts type RootState (line 18) | type RootState = ReturnType; type AppDispatch (line 19) | type AppDispatch = typeof store.dispatch; FILE: web/admin/src/store/slices/breadcrumb.ts type breadcrumb (line 3) | type breadcrumb = { method setPageName (line 15) | setPageName(state, { payload }) { FILE: web/admin/src/store/slices/config.ts type config (line 11) | interface config { method setUser (line 55) | setUser(state, { payload }) { method setKbId (line 58) | setKbId(state, { payload }) { method setNavId (line 62) | setNavId(state, { payload }) { method setKbList (line 72) | setKbList(state, { payload }) { method setKbC (line 75) | setKbC(state, { payload }) { method setModelList (line 78) | setModelList(state, { payload }) { method setModelStatus (line 81) | setModelStatus(state, { payload }) { method setLicense (line 84) | setLicense(state, { payload }) { method setAppPreviewData (line 87) | setAppPreviewData(state, { payload }) { method setKbDetail (line 90) | setKbDetail(state, { payload }) { method setRefreshAdminRequest (line 93) | setRefreshAdminRequest(state, { payload }) { method setIsRefreshDocList (line 96) | setIsRefreshDocList(state, { payload }) { method setIsCreateWikiModalOpen (line 99) | setIsCreateWikiModalOpen(state, { payload }) { FILE: web/admin/src/utils/drag.ts type TreeDragHandlers (line 11) | type TreeDragHandlers = { type DragTreeProps (line 19) | interface DragTreeProps { type AppContextType (line 40) | interface AppContextType { function convertToTree (line 97) | function convertToTree(data: DomainNodeListItemResp[]) { function getSiblingItemIds (line 162) | function getSiblingItemIds( FILE: web/admin/src/utils/fetch.ts type SSECallback (line 1) | type SSECallback = (data: T) => void; type SSEErrorCallback (line 2) | type SSEErrorCallback = (error: Error) => void; type SSECompleteCallback (line 3) | type SSECompleteCallback = () => void; type SSEClientOptions (line 5) | interface SSEClientOptions { class SSEClient (line 13) | class SSEClient { method constructor (line 18) | constructor(private options: SSEClientOptions) { method subscribe (line 24) | public subscribe(body: BodyInit, onMessage: SSECallback) { method processChunk (line 81) | private processChunk( method unsubscribe (line 91) | public unsubscribe() { FILE: web/admin/src/utils/getBasename.ts type Window (line 4) | interface Window { type RouteConfig (line 10) | type RouteConfig = { function extractAllPaths (line 16) | function extractAllPaths( function getBasename (line 67) | function getBasename(pathname: string): string { function isAbsoluteUrl (line 212) | function isAbsoluteUrl(url: string): boolean { function startsWithBasename (line 217) | function startsWithBasename(url: string, basename: string): boolean { function processUrl (line 228) | function processUrl(url: string, basename: string): string { function wrapWindowOpen (line 248) | function wrapWindowOpen(basename: string): void { function initBasename (line 268) | function initBasename(): string { FILE: web/admin/src/utils/index.ts function addOpacityToColor (line 7) | function addOpacityToColor(color: string, opacity: number) { function addCommasToNumber (line 30) | function addCommasToNumber(num: number = 0) { function filterEmpty (line 35) | function filterEmpty(obj: Record) { function generatePassword (line 59) | function generatePassword(length = 8) { type CompleteLinksOptions (line 174) | interface CompleteLinksOptions { function completeIncompleteLinks (line 218) | function completeIncompleteLinks( FILE: web/admin/src/utils/loadScript.ts function loadScript (line 1) | function loadScript(url: string): Promise { function loadScriptsInOrder (line 39) | async function loadScriptsInOrder(urls: string[]): Promise { FILE: web/admin/src/utils/render.ts constant MARK (line 3) | const MARK = '__ct_react_root__'; type ContainerType (line 5) | type ContainerType = (Element | DocumentFragment) & { function render (line 9) | function render(node: React.ReactElement, container: ContainerType) { function unmount (line 17) | async function unmount(container: ContainerType) { FILE: web/admin/vite.config.ts function generateRoutesPlugin (line 8) | function generateRoutesPlugin(): Plugin { FILE: web/app/new-types.d.ts type CapOptions (line 4) | interface CapOptions { class Cap (line 8) | class Cap { type Window (line 17) | interface Window { FILE: web/app/next.config.ts method headers (line 19) | async headers() { method rewrites (line 32) | async rewrites() { FILE: web/app/public/widget-bot.js function applyTheme (line 28) | function applyTheme(theme_mode) { function updateThemeClasses (line 34) | function updateThemeClasses() { function fetchWidgetInfo (line 44) | async function fetchWidgetInfo() { function applyButtonPosition (line 103) | function applyButtonPosition(button, position) { function createSideStickyButton (line 133) | function createSideStickyButton() { function createHoverBallButton (line 194) | function createHoverBallButton() { function createWidget (line 241) | function createWidget() { function createCustomTrigger (line 265) | function createCustomTrigger() { function handleButtonClick (line 357) | function handleButtonClick(e) { function handleKeyDown (line 368) | function handleKeyDown(e) { function handleTouchStart (line 378) | function handleTouchStart(e) { function handleTouchMove (line 384) | function handleTouchMove(e) { function handleTouchEnd (line 391) | function handleTouchEnd(e) { function createModal (line 408) | function createModal() { function isMobile (line 467) | function isMobile() { function positionModalFollow (line 472) | function positionModalFollow(modalContent) { function showModal (line 617) | function showModal() { function handleEscKey (line 655) | function handleEscKey(e) { function hideModal (line 663) | function hideModal() { function startDrag (line 679) | function startDrag(e) { function drag (line 739) | function drag(e) { function stopDrag (line 785) | function stopDrag() { function setButtonState (line 861) | function setButtonState(state) { function updateThemeMode (line 876) | function updateThemeMode(theme_mode) { function init (line 925) | function init() { FILE: web/app/src/app/(pages)/(doc)/editor/[[...id]]/page.tsx function EditorPage (line 3) | function EditorPage() { FILE: web/app/src/app/(pages)/(doc)/node/NodeClientLayout.tsx function NodeClientLayout (line 100) | function NodeClientLayout({ FILE: web/app/src/app/(pages)/(doc)/node/[id]/page.tsx type PageProps (line 7) | interface PageProps { function generateMetadata (line 16) | async function generateMetadata( FILE: web/app/src/app/(pages)/(doc)/node/layout.tsx function Layout (line 12) | async function Layout({ FILE: web/app/src/app/(pages)/layout.tsx method replace (line 11) | replace(domNode: DOMNode) { FILE: web/app/src/app/(pages)/not-found.tsx function NotFound (line 6) | function NotFound() { FILE: web/app/src/app/error.tsx function Error (line 6) | function Error({ FILE: web/app/src/app/global-error.tsx function GlobalError (line 11) | function GlobalError({ FILE: web/app/src/app/layout.tsx function generateMetadata (line 41) | async function generateMetadata(): Promise { FILE: web/app/src/app/not-found.tsx function NotFound (line 6) | function NotFound() { FILE: web/app/src/assets/type/index.ts type NavBtn (line 9) | interface NavBtn { type Heading (line 19) | interface Heading { type FooterSetting (line 25) | interface FooterSetting { type BrandGroup (line 35) | interface BrandGroup { type AuthSetting (line 43) | interface AuthSetting { type CatalogSetting (line 48) | interface CatalogSetting { type ThemeAndStyleSetting (line 54) | interface ThemeAndStyleSetting { type KBDetail (line 59) | interface KBDetail { type DomainSocialMediaAccount (line 97) | interface DomainSocialMediaAccount { type WidgetInfo (line 105) | type WidgetInfo = { type RecommendNode (line 133) | type RecommendNode = { type NodeDetail (line 144) | interface NodeDetail { type NodeListItem (line 161) | interface NodeListItem { type ChunkResultItem (line 174) | interface ChunkResultItem { type ITreeItem (line 180) | interface ITreeItem { type ConversationItem (line 198) | interface ConversationItem { FILE: web/app/src/components/QaModal/AiQaContent.tsx type ConversationItem (line 77) | interface ConversationItem { FILE: web/app/src/components/QaModal/SearchDocContent.tsx type SearchDocContentProps (line 74) | interface SearchDocContentProps { FILE: web/app/src/components/QaModal/constants.ts constant MAX_IMAGES (line 2) | const MAX_IMAGES = 9; constant MAX_IMAGE_SIZE (line 3) | const MAX_IMAGE_SIZE = 10 * 1024 * 1024; constant CONVERSATION_MAX_HEIGHT (line 4) | const CONVERSATION_MAX_HEIGHT = 'calc(100vh - 334px)'; constant FUZZY_SUGGESTIONS_LIMIT (line 5) | const FUZZY_SUGGESTIONS_LIMIT = 5; type AnswerStatusType (line 15) | type AnswerStatusType = keyof typeof AnswerStatus; FILE: web/app/src/components/QaModal/index.tsx type SearchSuggestion (line 21) | interface SearchSuggestion { type QaModalProps (line 28) | interface QaModalProps { FILE: web/app/src/components/QaModal/types.ts type ConversationItem (line 3) | interface ConversationItem { type UploadedImage (line 14) | interface UploadedImage { type SSEMessageData (line 20) | interface SSEMessageData { type ChatRequestData (line 26) | interface ChatRequestData { FILE: web/app/src/components/commentInput/index.tsx type ImageItem (line 24) | interface ImageItem { type CommentInputProps (line 32) | interface CommentInputProps { type CommentInputRef (line 45) | interface CommentInputRef { FILE: web/app/src/components/docSkeleton/index.tsx type DocSkeletonProps (line 5) | interface DocSkeletonProps { FILE: web/app/src/components/emoji/index.tsx type EmojiPickerProps (line 13) | interface EmojiPickerProps { FILE: web/app/src/components/emptyDocPlaceholder/index.tsx type EmptyDocPlaceholderProps (line 7) | interface EmptyDocPlaceholderProps { FILE: web/app/src/components/error/index.tsx constant CODE_MAP (line 10) | const CODE_MAP = { constant DEFAULT_ERROR (line 25) | const DEFAULT_ERROR = { function Error (line 30) | function Error({ FILE: web/app/src/components/feedback/index.tsx type FeedbackProps (line 7) | interface FeedbackProps { FILE: web/app/src/components/footer/Overlay.tsx type OverlayProps (line 5) | interface OverlayProps { FILE: web/app/src/components/header/index.tsx type HeaderProps (line 19) | interface HeaderProps { FILE: web/app/src/components/markdown/index.tsx type MarkDownProps (line 18) | interface MarkDownProps { method code (line 210) | code({ FILE: web/app/src/components/markdown/mermaid.tsx constant MERMAID_CONFIG (line 7) | const MERMAID_CONFIG = { FILE: web/app/src/components/markdown2/imageRenderer.tsx type ImageComponentProps (line 108) | interface ImageComponentProps { type ImageRendererOptions (line 261) | interface ImageRendererOptions { FILE: web/app/src/components/markdown2/incrementalRenderer.tsx type DiffResult (line 5) | interface DiffResult { function findHtmlDiffs (line 15) | function findHtmlDiffs( function incrementalRender (line 60) | function incrementalRender( FILE: web/app/src/components/markdown2/index.tsx type MarkDown2Props (line 28) | interface MarkDown2Props { FILE: web/app/src/components/markdown2/mermaidRenderer.tsx constant MERMAID_CONFIG (line 6) | const MERMAID_CONFIG = { FILE: web/app/src/components/markdown2/thinkingRenderer.tsx type ThinkingComponentProps (line 11) | interface ThinkingComponentProps { type ThinkingRendererOptions (line 82) | interface ThinkingRendererOptions { FILE: web/app/src/components/menuSelect/index.tsx type Item (line 4) | interface Item { type MenuSelectProps (line 16) | interface MenuSelectProps { FILE: web/app/src/components/scrollToTopFab/index.tsx type ScrollToTopFabProps (line 7) | interface ScrollToTopFabProps { FILE: web/app/src/components/watermark/index.tsx type WatermarkProps (line 5) | type WatermarkProps = { type GenerateOptions (line 27) | type GenerateOptions = { function generateWatermarkDataUrl (line 42) | function generateWatermarkDataUrl(options: GenerateOptions): string | nu... function Watermark (line 137) | function Watermark(props: WatermarkProps) { FILE: web/app/src/constant/index.ts constant CONTENT_GAP (line 13) | const CONTENT_GAP = 96; constant DOC_ANCHOR_WIDTH (line 14) | const DOC_ANCHOR_WIDTH = 240; constant NAV_BAR_HEIGHT (line 15) | const NAV_BAR_HEIGHT = 44; constant BASE_SCROLL_OFFSET (line 16) | const BASE_SCROLL_OFFSET = 80; FILE: web/app/src/hooks/useCopy.tsx type CopyControlMode (line 5) | type CopyControlMode = 'disable' | 'allow'; type UseCopyOptions (line 7) | interface UseCopyOptions { type UseCopyReturn (line 22) | interface UseCopyReturn { function useCopy (line 32) | function useCopy(options: UseCopyOptions = {}): UseCopyReturn { FILE: web/app/src/hooks/useSmartScroll.ts type UseSmartScrollOptions (line 3) | interface UseSmartScrollOptions { type UseSmartScrollReturn (line 35) | interface UseSmartScrollReturn { function useSmartScroll (line 70) | function useSmartScroll( FILE: web/app/src/hooks/useSyncNavByDocId.ts function useSyncNavByDocId (line 6) | function useSyncNavByDocId() { FILE: web/app/src/instrumentation.ts function register (line 3) | async function register() { FILE: web/app/src/provider/index.tsx type StoreContextType (line 25) | interface StoreContextType { function StoreProvider (line 62) | function StoreProvider({ FILE: web/app/src/proxy.ts function proxy (line 134) | async function proxy(request: NextRequest) { FILE: web/app/src/request/httpClient.ts type QueryParamsType (line 21) | type QueryParamsType = Record; type ResponseFormat (line 22) | type ResponseFormat = keyof Omit; type FullRequestParams (line 24) | interface FullRequestParams extends Omit { type RequestParams (line 43) | type RequestParams = Omit< type DomainResponse (line 48) | interface DomainResponse { type ExtractDataProp (line 56) | type ExtractDataProp = T extends { data?: infer U } ? U : never; type ApiConfig (line 58) | interface ApiConfig { type HttpResponse (line 67) | interface HttpResponse type CancelToken (line 73) | type CancelToken = Symbol | string | number; type ContentType (line 75) | enum ContentType { class HttpClient (line 93) | class HttpClient { method constructor (line 108) | constructor(apiConfig: ApiConfig = {}) { method encodeQueryParam (line 116) | protected encodeQueryParam(key: string, value: any) { method addQueryParam (line 121) | protected addQueryParam(query: QueryParamsType, key: string) { method addArrayQueryParam (line 125) | protected addArrayQueryParam(query: QueryParamsType, key: string) { method toQueryString (line 130) | protected toQueryString(rawQuery?: QueryParamsType): string { method addQueryParams (line 144) | protected addQueryParams(rawQuery?: QueryParamsType): string { method mergeRequestParams (line 174) | protected mergeRequestParams( FILE: web/app/src/request/pro/httpClient.ts type QueryParamsType (line 21) | type QueryParamsType = Record; type ResponseFormat (line 22) | type ResponseFormat = keyof Omit; type FullRequestParams (line 24) | interface FullRequestParams extends Omit { type RequestParams (line 43) | type RequestParams = Omit< type DomainResponse (line 48) | interface DomainResponse { type ExtractDataProp (line 56) | type ExtractDataProp = T extends { data?: infer U } ? U : never; type ApiConfig (line 58) | interface ApiConfig { type HttpResponse (line 67) | interface HttpResponse type CancelToken (line 73) | type CancelToken = Symbol | string | number; type ContentType (line 75) | enum ContentType { class HttpClient (line 93) | class HttpClient { method constructor (line 108) | constructor(apiConfig: ApiConfig = {}) { method encodeQueryParam (line 116) | protected encodeQueryParam(key: string, value: any) { method addQueryParam (line 121) | protected addQueryParam(query: QueryParamsType, key: string) { method addArrayQueryParam (line 125) | protected addArrayQueryParam(query: QueryParamsType, key: string) { method toQueryString (line 130) | protected toQueryString(rawQuery?: QueryParamsType): string { method addQueryParams (line 144) | protected addQueryParams(rawQuery?: QueryParamsType): string { method mergeRequestParams (line 174) | protected mergeRequestParams( FILE: web/app/src/request/pro/types.ts type DomainCommentStatus (line 14) | enum DomainCommentStatus { type ConstsUserKBPermission (line 20) | enum ConstsUserKBPermission { type ConstsSourceType (line 33) | enum ConstsSourceType { type ConstsLicenseEdition (line 55) | enum ConstsLicenseEdition { type ConstsContributeType (line 66) | enum ConstsContributeType { type ConstsContributeStatus (line 71) | enum ConstsContributeStatus { type DomainCommentModerateListReq (line 77) | interface DomainCommentModerateListReq { type DomainCreatePromptReq (line 82) | interface DomainCreatePromptReq { type DomainDocumentFeedbackInfo (line 88) | interface DomainDocumentFeedbackInfo { type DomainDocumentFeedbackListItem (line 100) | interface DomainDocumentFeedbackListItem { type DomainGetNodeReleaseDetailResp (line 113) | interface DomainGetNodeReleaseDetailResp { type DomainIPAddress (line 126) | interface DomainIPAddress { type DomainLicenseResp (line 133) | interface DomainLicenseResp { type DomainNodeMeta (line 140) | interface DomainNodeMeta { type DomainNodeReleaseListItem (line 146) | interface DomainNodeReleaseListItem { type DomainPWResponse (line 163) | interface DomainPWResponse { type DomainPrompt (line 170) | interface DomainPrompt { type DomainResponse (line 175) | interface DomainResponse { type GithubComChaitinPandaWikiProApiAuthV1AuthGetResp (line 181) | interface GithubComChaitinPandaWikiProApiAuthV1AuthGetResp { type GithubComChaitinPandaWikiProApiAuthV1AuthGroupCreateReq (line 211) | interface GithubComChaitinPandaWikiProApiAuthV1AuthGroupCreateReq { type GithubComChaitinPandaWikiProApiAuthV1AuthGroupCreateResp (line 223) | type GithubComChaitinPandaWikiProApiAuthV1AuthGroupCreateResp = Record< type GithubComChaitinPandaWikiProApiAuthV1AuthGroupDetailResp (line 228) | interface GithubComChaitinPandaWikiProApiAuthV1AuthGroupDetailResp { type GithubComChaitinPandaWikiProApiAuthV1AuthGroupListItem (line 240) | interface GithubComChaitinPandaWikiProApiAuthV1AuthGroupListItem { type GithubComChaitinPandaWikiProApiAuthV1AuthGroupListResp (line 251) | interface GithubComChaitinPandaWikiProApiAuthV1AuthGroupListResp { type GithubComChaitinPandaWikiProApiAuthV1AuthGroupMoveReq (line 256) | interface GithubComChaitinPandaWikiProApiAuthV1AuthGroupMoveReq { type GithubComChaitinPandaWikiProApiAuthV1AuthGroupSyncReq (line 264) | interface GithubComChaitinPandaWikiProApiAuthV1AuthGroupSyncReq { type GithubComChaitinPandaWikiProApiAuthV1AuthGroupSyncResp (line 269) | type GithubComChaitinPandaWikiProApiAuthV1AuthGroupSyncResp = Record< type GithubComChaitinPandaWikiProApiAuthV1AuthGroupTreeItem (line 274) | interface GithubComChaitinPandaWikiProApiAuthV1AuthGroupTreeItem { type GithubComChaitinPandaWikiProApiAuthV1AuthGroupTreeResp (line 287) | interface GithubComChaitinPandaWikiProApiAuthV1AuthGroupTreeResp { type GithubComChaitinPandaWikiProApiAuthV1AuthGroupUpdateReq (line 291) | interface GithubComChaitinPandaWikiProApiAuthV1AuthGroupUpdateReq { type GithubComChaitinPandaWikiProApiAuthV1AuthItem (line 300) | interface GithubComChaitinPandaWikiProApiAuthV1AuthItem { type GithubComChaitinPandaWikiProApiAuthV1AuthSetReq (line 310) | interface GithubComChaitinPandaWikiProApiAuthV1AuthSetReq { type GithubComChaitinPandaWikiProApiContributeV1ContributeAuditReq (line 340) | interface GithubComChaitinPandaWikiProApiContributeV1ContributeAuditReq { type GithubComChaitinPandaWikiProApiContributeV1ContributeAuditResp (line 349) | interface GithubComChaitinPandaWikiProApiContributeV1ContributeAuditResp { type GithubComChaitinPandaWikiProApiContributeV1ContributeDetailResp (line 353) | interface GithubComChaitinPandaWikiProApiContributeV1ContributeDetailResp { type GithubComChaitinPandaWikiProApiContributeV1ContributeItem (line 373) | interface GithubComChaitinPandaWikiProApiContributeV1ContributeItem { type GithubComChaitinPandaWikiProApiContributeV1ContributeListResp (line 393) | interface GithubComChaitinPandaWikiProApiContributeV1ContributeListResp { type GithubComChaitinPandaWikiProApiContributeV1NodeMeta (line 398) | interface GithubComChaitinPandaWikiProApiContributeV1NodeMeta { type GithubComChaitinPandaWikiProApiContributeV1OriginalNodeInfo (line 404) | interface GithubComChaitinPandaWikiProApiContributeV1OriginalNodeInfo { type GithubComChaitinPandaWikiProApiShareV1AuthCASReq (line 411) | interface GithubComChaitinPandaWikiProApiShareV1AuthCASReq { type GithubComChaitinPandaWikiProApiShareV1AuthCASResp (line 416) | interface GithubComChaitinPandaWikiProApiShareV1AuthCASResp { type GithubComChaitinPandaWikiProApiShareV1AuthDingTalkReq (line 420) | interface GithubComChaitinPandaWikiProApiShareV1AuthDingTalkReq { type GithubComChaitinPandaWikiProApiShareV1AuthDingTalkResp (line 425) | interface GithubComChaitinPandaWikiProApiShareV1AuthDingTalkResp { type GithubComChaitinPandaWikiProApiShareV1AuthFeishuReq (line 429) | interface GithubComChaitinPandaWikiProApiShareV1AuthFeishuReq { type GithubComChaitinPandaWikiProApiShareV1AuthFeishuResp (line 434) | interface GithubComChaitinPandaWikiProApiShareV1AuthFeishuResp { type GithubComChaitinPandaWikiProApiShareV1AuthGitHubReq (line 438) | interface GithubComChaitinPandaWikiProApiShareV1AuthGitHubReq { type GithubComChaitinPandaWikiProApiShareV1AuthGitHubResp (line 443) | interface GithubComChaitinPandaWikiProApiShareV1AuthGitHubResp { type GithubComChaitinPandaWikiProApiShareV1AuthInfoResp (line 447) | interface GithubComChaitinPandaWikiProApiShareV1AuthInfoResp { type GithubComChaitinPandaWikiProApiShareV1AuthLDAPReq (line 455) | interface GithubComChaitinPandaWikiProApiShareV1AuthLDAPReq { type GithubComChaitinPandaWikiProApiShareV1AuthLDAPResp (line 461) | type GithubComChaitinPandaWikiProApiShareV1AuthLDAPResp = Record< type GithubComChaitinPandaWikiProApiShareV1AuthLogoutResp (line 466) | type GithubComChaitinPandaWikiProApiShareV1AuthLogoutResp = Record< type GithubComChaitinPandaWikiProApiShareV1AuthOAuthReq (line 471) | interface GithubComChaitinPandaWikiProApiShareV1AuthOAuthReq { type GithubComChaitinPandaWikiProApiShareV1AuthOAuthResp (line 476) | interface GithubComChaitinPandaWikiProApiShareV1AuthOAuthResp { type GithubComChaitinPandaWikiProApiShareV1AuthWecomReq (line 480) | interface GithubComChaitinPandaWikiProApiShareV1AuthWecomReq { type GithubComChaitinPandaWikiProApiShareV1AuthWecomResp (line 486) | interface GithubComChaitinPandaWikiProApiShareV1AuthWecomResp { type GithubComChaitinPandaWikiProApiShareV1CASCallbackResp (line 490) | type GithubComChaitinPandaWikiProApiShareV1CASCallbackResp = Record< type GithubComChaitinPandaWikiProApiShareV1DingtalkCallbackResp (line 495) | type GithubComChaitinPandaWikiProApiShareV1DingtalkCallbackResp = Record< type GithubComChaitinPandaWikiProApiShareV1FeishuCallbackResp (line 500) | type GithubComChaitinPandaWikiProApiShareV1FeishuCallbackResp = Record< type GithubComChaitinPandaWikiProApiShareV1FileUploadResp (line 505) | interface GithubComChaitinPandaWikiProApiShareV1FileUploadResp { type GithubComChaitinPandaWikiProApiShareV1GitHubCallbackResp (line 509) | type GithubComChaitinPandaWikiProApiShareV1GitHubCallbackResp = Record< type GithubComChaitinPandaWikiProApiShareV1OAuthCallbackResp (line 514) | type GithubComChaitinPandaWikiProApiShareV1OAuthCallbackResp = Record< type GithubComChaitinPandaWikiProApiShareV1SubmitContributeReq (line 519) | interface GithubComChaitinPandaWikiProApiShareV1SubmitContributeReq { type GithubComChaitinPandaWikiProApiShareV1SubmitContributeResp (line 530) | type GithubComChaitinPandaWikiProApiShareV1SubmitContributeResp = Record< type GithubComChaitinPandaWikiProApiShareV1WecomCallbackResp (line 535) | type GithubComChaitinPandaWikiProApiShareV1WecomCallbackResp = Record< type GithubComChaitinPandaWikiProApiTokenV1APITokenListItem (line 540) | interface GithubComChaitinPandaWikiProApiTokenV1APITokenListItem { type GithubComChaitinPandaWikiProApiTokenV1CreateAPITokenReq (line 549) | interface GithubComChaitinPandaWikiProApiTokenV1CreateAPITokenReq { type GithubComChaitinPandaWikiProApiTokenV1UpdateAPITokenReq (line 555) | interface GithubComChaitinPandaWikiProApiTokenV1UpdateAPITokenReq { type GithubComChaitinPandaWikiProDomainBlockWords (line 562) | interface GithubComChaitinPandaWikiProDomainBlockWords { type GithubComChaitinPandaWikiProDomainCreateBlockWordsReq (line 566) | interface GithubComChaitinPandaWikiProDomainCreateBlockWordsReq { type HandlerV1DocFeedBackLists (line 571) | interface HandlerV1DocFeedBackLists { type DeleteApiProV1AuthDeleteParams (line 576) | interface DeleteApiProV1AuthDeleteParams { type GetApiProV1AuthGetParams (line 581) | interface GetApiProV1AuthGetParams { type DeleteApiProV1AuthGroupDeleteParams (line 604) | interface DeleteApiProV1AuthGroupDeleteParams { type GetApiProV1AuthGroupDetailParams (line 609) | interface GetApiProV1AuthGroupDetailParams { type GetApiProV1AuthGroupListParams (line 614) | interface GetApiProV1AuthGroupListParams { type GetApiProV1AuthGroupTreeParams (line 622) | interface GetApiProV1AuthGroupTreeParams { type GetApiProV1BlockParams (line 626) | interface GetApiProV1BlockParams { type GetApiProV1ContributeDetailParams (line 631) | interface GetApiProV1ContributeDetailParams { type GetApiProV1ContributeListParams (line 636) | interface GetApiProV1ContributeListParams { type DeleteApiProV1DocumentFeedbackParams (line 647) | interface DeleteApiProV1DocumentFeedbackParams { type GetApiProV1DocumentListParams (line 652) | interface GetApiProV1DocumentListParams { type GetApiProV1NodeReleaseDetailParams (line 660) | interface GetApiProV1NodeReleaseDetailParams { type GetApiProV1NodeReleaseListParams (line 665) | interface GetApiProV1NodeReleaseListParams { type GetApiProV1PromptParams (line 670) | interface GetApiProV1PromptParams { type DeleteApiProV1TokenDeleteParams (line 675) | interface DeleteApiProV1TokenDeleteParams { type GetApiProV1TokenListParams (line 680) | interface GetApiProV1TokenListParams { type PostApiV1LicensePayload (line 685) | interface PostApiV1LicensePayload { type PostShareProV1DocumentFeedbackPayload (line 697) | interface PostShareProV1DocumentFeedbackPayload { type PostShareProV1FileUploadPayload (line 711) | interface PostShareProV1FileUploadPayload { type GetShareProV1OpenapiCasCallbackParams (line 716) | interface GetShareProV1OpenapiCasCallbackParams { type GetShareProV1OpenapiDingtalkCallbackParams (line 721) | interface GetShareProV1OpenapiDingtalkCallbackParams { type GetShareProV1OpenapiFeishuCallbackParams (line 726) | interface GetShareProV1OpenapiFeishuCallbackParams { type GetShareProV1OpenapiGithubCallbackParams (line 731) | interface GetShareProV1OpenapiGithubCallbackParams { type GetShareProV1OpenapiOauthCallbackParams (line 736) | interface GetShareProV1OpenapiOauthCallbackParams { type GetShareProV1OpenapiWecomCallbackParams (line 741) | interface GetShareProV1OpenapiWecomCallbackParams { FILE: web/app/src/request/types.ts type SchemaRoleType (line 13) | enum SchemaRoleType { type GithubComChaitinPandaWikiDomainModelProvider (line 20) | enum GithubComChaitinPandaWikiDomainModelProvider { type DomainStatPageScene (line 24) | enum DomainStatPageScene { type DomainScoreType (line 31) | enum DomainScoreType { type DomainNodeType (line 37) | enum DomainNodeType { type DomainNodeStatus (line 43) | enum DomainNodeStatus { type DomainModelType (line 52) | enum DomainModelType { type DomainMessageFrom (line 60) | enum DomainMessageFrom { type DomainCommentStatus (line 66) | enum DomainCommentStatus { type DomainAppType (line 73) | enum DomainAppType { type ConstsWatermarkSetting (line 88) | enum ConstsWatermarkSetting { type ConstsUserRole (line 97) | enum ConstsUserRole { type ConstsUserKBPermission (line 104) | enum ConstsUserKBPermission { type ConstsStatDay (line 117) | enum ConstsStatDay { type ConstsSourceType (line 124) | enum ConstsSourceType { type ConstsNodeRagInfoStatus (line 145) | enum ConstsNodeRagInfoStatus { type ConstsNodePermName (line 158) | enum ConstsNodePermName { type ConstsNodeAccessPerm (line 167) | enum ConstsNodeAccessPerm { type ConstsModelSettingMode (line 176) | enum ConstsModelSettingMode { type ConstsLicenseEdition (line 182) | enum ConstsLicenseEdition { type ConstsHomePageSetting (line 193) | enum ConstsHomePageSetting { type ConstsCrawlerStatus (line 200) | enum ConstsCrawlerStatus { type ConstsCrawlerSource (line 207) | enum ConstsCrawlerSource { type ConstsCopySetting (line 223) | enum ConstsCopySetting { type ConstsAuthType (line 232) | enum ConstsAuthType { type AnydocChild (line 241) | interface AnydocChild { type AnydocDingtalkSetting (line 246) | interface AnydocDingtalkSetting { type AnydocFeishuSetting (line 254) | interface AnydocFeishuSetting { type AnydocValue (line 261) | interface AnydocValue { type ConstsRedeemCaptchaReq (line 269) | interface ConstsRedeemCaptchaReq { type DomainAIFeedbackSettings (line 274) | interface DomainAIFeedbackSettings { type DomainAccessSettings (line 279) | interface DomainAccessSettings { type DomainAnydocUploadResp (line 295) | interface DomainAnydocUploadResp { type DomainAppDetailResp (line 301) | interface DomainAppDetailResp { type DomainAppInfoResp (line 310) | interface DomainAppInfoResp { type DomainAppSettings (line 317) | interface DomainAppSettings { type DomainAppSettingsResp (line 406) | interface DomainAppSettingsResp { type DomainAuthUserInfo (line 494) | interface DomainAuthUserInfo { type DomainBannerConfig (line 500) | interface DomainBannerConfig { type DomainBasicDocConfig (line 518) | interface DomainBasicDocConfig { type DomainBatchMoveReq (line 524) | interface DomainBatchMoveReq { type DomainBlockGridConfig (line 530) | interface DomainBlockGridConfig { type DomainBrandGroup (line 540) | interface DomainBrandGroup { type DomainBrowserCount (line 545) | interface DomainBrowserCount { type DomainCarouselConfig (line 550) | interface DomainCarouselConfig { type DomainCaseConfig (line 561) | interface DomainCaseConfig { type DomainCatalogSettings (line 571) | interface DomainCatalogSettings { type DomainChatRequest (line 580) | interface DomainChatRequest { type DomainChatSearchReq (line 590) | interface DomainChatSearchReq { type DomainChatSearchResp (line 595) | interface DomainChatSearchResp { type DomainCommentConfig (line 599) | interface DomainCommentConfig { type DomainCommentInfo (line 611) | interface DomainCommentInfo { type DomainCommentListItem (line 620) | interface DomainCommentListItem { type DomainCommentReq (line 636) | interface DomainCommentReq { type DomainCompleteReq (line 646) | interface DomainCompleteReq { type DomainContributeSettings (line 652) | interface DomainContributeSettings { type DomainConversationDetailResp (line 656) | interface DomainConversationDetailResp { type DomainConversationInfo (line 667) | interface DomainConversationInfo { type DomainConversationListItem (line 671) | interface DomainConversationListItem { type DomainConversationMessage (line 685) | interface DomainConversationMessage { type DomainConversationMessageListItem (line 708) | interface DomainConversationMessageListItem { type DomainConversationReference (line 724) | interface DomainConversationReference { type DomainConversationSetting (line 732) | interface DomainConversationSetting { type DomainCreateKBReleaseReq (line 737) | interface DomainCreateKBReleaseReq { type DomainCreateKnowledgeBaseReq (line 745) | interface DomainCreateKnowledgeBaseReq { type DomainCreateModelReq (line 754) | interface DomainCreateModelReq { type DomainCreateNodeReq (line 766) | interface DomainCreateNodeReq { type DomainDirDocConfig (line 779) | interface DomainDirDocConfig { type DomainDisclaimerSettings (line 785) | interface DomainDisclaimerSettings { type DomainEnterpriseAuth (line 789) | interface DomainEnterpriseAuth { type DomainFaqConfig (line 793) | interface DomainFaqConfig { type DomainFeatureConfig (line 804) | interface DomainFeatureConfig { type DomainFeedBackInfo (line 814) | interface DomainFeedBackInfo { type DomainFeedbackRequest (line 820) | interface DomainFeedbackRequest { type DomainFooterSettings (line 834) | interface DomainFooterSettings { type DomainGetKBReleaseListResp (line 844) | interface DomainGetKBReleaseListResp { type DomainGetProviderModelListReq (line 849) | interface DomainGetProviderModelListReq { type DomainGetProviderModelListResp (line 857) | interface DomainGetProviderModelListResp { type DomainHotBrowser (line 861) | interface DomainHotBrowser { type DomainHotPage (line 866) | interface DomainHotPage { type DomainHotRefererHost (line 873) | interface DomainHotRefererHost { type DomainIPAddress (line 878) | interface DomainIPAddress { type DomainImgTextConfig (line 885) | interface DomainImgTextConfig { type DomainInstantCountResp (line 895) | interface DomainInstantCountResp { type DomainInstantPageResp (line 900) | interface DomainInstantPageResp { type DomainKBReleaseListItemResp (line 911) | interface DomainKBReleaseListItemResp { type DomainKnowledgeBaseDetail (line 920) | interface DomainKnowledgeBaseDetail { type DomainKnowledgeBaseListItem (line 931) | interface DomainKnowledgeBaseListItem { type DomainLarkBotSettings (line 940) | interface DomainLarkBotSettings { type DomainLink (line 948) | interface DomainLink { type DomainMCPServerSettings (line 953) | interface DomainMCPServerSettings { type DomainMCPToolSettings (line 959) | interface DomainMCPToolSettings { type DomainMessageContent (line 964) | type DomainMessageContent = Record; type DomainMetricsConfig (line 966) | interface DomainMetricsConfig { type DomainModelModeSetting (line 976) | interface DomainModelModeSetting { type DomainMoveNodeReq (line 987) | interface DomainMoveNodeReq { type DomainNodeActionReq (line 995) | interface DomainNodeActionReq { type DomainNodeContentChunkSSE (line 1001) | interface DomainNodeContentChunkSSE { type DomainNodeGroupDetail (line 1009) | interface DomainNodeGroupDetail { type DomainNodeListItemResp (line 1018) | interface DomainNodeListItemResp { type DomainNodeMeta (line 1040) | interface DomainNodeMeta { type DomainNodePermissions (line 1046) | interface DomainNodePermissions { type DomainNodeSummaryReq (line 1055) | interface DomainNodeSummaryReq { type DomainObjectUploadResp (line 1060) | interface DomainObjectUploadResp { type DomainOpenAIAPIBotSettings (line 1065) | interface DomainOpenAIAPIBotSettings { type DomainOpenAIChoice (line 1070) | interface DomainOpenAIChoice { type DomainOpenAICompletionsRequest (line 1078) | interface DomainOpenAICompletionsRequest { type DomainOpenAICompletionsResponse (line 1095) | interface DomainOpenAICompletionsResponse { type DomainOpenAIError (line 1104) | interface DomainOpenAIError { type DomainOpenAIErrorResponse (line 1111) | interface DomainOpenAIErrorResponse { type DomainOpenAIFunction (line 1115) | interface DomainOpenAIFunction { type DomainOpenAIFunctionCall (line 1121) | interface DomainOpenAIFunctionCall { type DomainOpenAIFunctionChoice (line 1126) | interface DomainOpenAIFunctionChoice { type DomainOpenAIMessage (line 1130) | interface DomainOpenAIMessage { type DomainOpenAIResponseFormat (line 1138) | interface DomainOpenAIResponseFormat { type DomainOpenAIStreamOptions (line 1142) | interface DomainOpenAIStreamOptions { type DomainOpenAITool (line 1146) | interface DomainOpenAITool { type DomainOpenAIToolCall (line 1151) | interface DomainOpenAIToolCall { type DomainOpenAIToolChoice (line 1157) | interface DomainOpenAIToolChoice { type DomainOpenAIUsage (line 1162) | interface DomainOpenAIUsage { type DomainPWResponse (line 1168) | interface DomainPWResponse { type DomainPaginatedResultArrayDomainConversationMessageListItem (line 1175) | interface DomainPaginatedResultArrayDomainConversationMessageListItem { type DomainProviderModelListItem (line 1180) | interface DomainProviderModelListItem { type DomainQuestionConfig (line 1184) | interface DomainQuestionConfig { type DomainRagInfo (line 1193) | interface DomainRagInfo { type DomainRecommendNodeListResp (line 1199) | interface DomainRecommendNodeListResp { type DomainResponse (line 1211) | interface DomainResponse { type DomainShareCommentListItem (line 1217) | interface DomainShareCommentListItem { type DomainShareConversationDetailResp (line 1231) | interface DomainShareConversationDetailResp { type DomainShareConversationMessage (line 1238) | interface DomainShareConversationMessage { type DomainShareNodeDetailItem (line 1245) | interface DomainShareNodeDetailItem { type DomainSimpleAuth (line 1258) | interface DomainSimpleAuth { type DomainSimpleDocConfig (line 1263) | interface DomainSimpleDocConfig { type DomainSocialMediaAccount (line 1269) | interface DomainSocialMediaAccount { type DomainStatPageReq (line 1277) | interface DomainStatPageReq { type DomainStatsSetting (line 1282) | interface DomainStatsSetting { type DomainSwitchModeReq (line 1286) | interface DomainSwitchModeReq { type DomainSwitchModeResp (line 1294) | interface DomainSwitchModeResp { type DomainTextConfig (line 1298) | interface DomainTextConfig { type DomainTextImgConfig (line 1303) | interface DomainTextImgConfig { type DomainTextReq (line 1313) | interface DomainTextReq { type DomainThemeAndStyle (line 1319) | interface DomainThemeAndStyle { type DomainUpdateAppReq (line 1324) | interface DomainUpdateAppReq { type DomainUpdateKnowledgeBaseReq (line 1330) | interface DomainUpdateKnowledgeBaseReq { type DomainUpdateModelReq (line 1336) | interface DomainUpdateModelReq { type DomainUpdateNodeReq (line 1350) | interface DomainUpdateNodeReq { type DomainUploadByUrlReq (line 1362) | interface DomainUploadByUrlReq { type DomainUserInfo (line 1367) | interface DomainUserInfo { type DomainWeChatAppAdvancedSetting (line 1378) | interface DomainWeChatAppAdvancedSetting { type DomainWebAppCommentSettings (line 1386) | interface DomainWebAppCommentSettings { type DomainWebAppCustomSettings (line 1391) | interface DomainWebAppCustomSettings { type DomainWebAppLandingConfig (line 1399) | interface DomainWebAppLandingConfig { type DomainWebAppLandingConfigResp (line 1420) | interface DomainWebAppLandingConfigResp { type DomainWebAppLandingTheme (line 1442) | interface DomainWebAppLandingTheme { type DomainWecomAIBotSettings (line 1446) | interface DomainWecomAIBotSettings { type DomainWidgetBotSettings (line 1452) | interface DomainWidgetBotSettings { type GithubComChaitinPandaWikiApiAuthV1AuthGetResp (line 1470) | interface GithubComChaitinPandaWikiApiAuthV1AuthGetResp { type GithubComChaitinPandaWikiApiNodeV1NodeListGroupNavResp (line 1478) | interface GithubComChaitinPandaWikiApiNodeV1NodeListGroupNavResp { type GithubComChaitinPandaWikiApiShareV1AuthGetResp (line 1486) | interface GithubComChaitinPandaWikiApiShareV1AuthGetResp { type GithubComChaitinPandaWikiApiShareV1GitHubCallbackResp (line 1492) | type GithubComChaitinPandaWikiApiShareV1GitHubCallbackResp = Record< type GithubComChaitinPandaWikiDomainCheckModelReq (line 1497) | interface GithubComChaitinPandaWikiDomainCheckModelReq { type GithubComChaitinPandaWikiDomainCheckModelResp (line 1509) | interface GithubComChaitinPandaWikiDomainCheckModelResp { type GithubComChaitinPandaWikiDomainModelListItem (line 1514) | interface GithubComChaitinPandaWikiDomainModelListItem { type GithubComChaitinPandaWikiDomainModelParam (line 1531) | interface GithubComChaitinPandaWikiDomainModelParam { type GocapChallengeData (line 1541) | interface GocapChallengeData { type GocapChallengeItem (line 1549) | interface GocapChallengeItem { type GocapVerificationResult (line 1558) | interface GocapVerificationResult { type ShareShareCommentLists (line 1567) | interface ShareShareCommentLists { type V1AuthGitHubReq (line 1572) | interface V1AuthGitHubReq { type V1AuthGitHubResp (line 1577) | interface V1AuthGitHubResp { type V1AuthItem (line 1581) | interface V1AuthItem { type V1AuthLoginSimpleReq (line 1591) | interface V1AuthLoginSimpleReq { type V1AuthSetReq (line 1595) | interface V1AuthSetReq { type V1CommentLists (line 1603) | interface V1CommentLists { type V1ConversationListItems (line 1608) | interface V1ConversationListItems { type V1CrawlerExportReq (line 1613) | interface V1CrawlerExportReq { type V1CrawlerExportResp (line 1621) | interface V1CrawlerExportResp { type V1CrawlerParseReq (line 1625) | interface V1CrawlerParseReq { type V1CrawlerParseResp (line 1634) | interface V1CrawlerParseResp { type V1CrawlerResultItem (line 1639) | interface V1CrawlerResultItem { type V1CrawlerResultReq (line 1645) | interface V1CrawlerResultReq { type V1CrawlerResultResp (line 1649) | interface V1CrawlerResultResp { type V1CrawlerResultsReq (line 1654) | interface V1CrawlerResultsReq { type V1CrawlerResultsResp (line 1658) | interface V1CrawlerResultsResp { type V1CreateUserReq (line 1663) | interface V1CreateUserReq { type V1CreateUserResp (line 1670) | interface V1CreateUserResp { type V1FileUploadResp (line 1674) | interface V1FileUploadResp { type V1KBUserInviteReq (line 1678) | interface V1KBUserInviteReq { type V1KBUserListItemResp (line 1684) | interface V1KBUserListItemResp { type V1KBUserUpdateReq (line 1691) | interface V1KBUserUpdateReq { type V1LoginReq (line 1697) | interface V1LoginReq { type V1LoginResp (line 1702) | interface V1LoginResp { type V1NavAddReq (line 1706) | interface V1NavAddReq { type V1NavListResp (line 1712) | interface V1NavListResp { type V1NavMoveReq (line 1720) | interface V1NavMoveReq { type V1NavUpdateReq (line 1727) | interface V1NavUpdateReq { type V1NodeDetailResp (line 1733) | interface V1NodeDetailResp { type V1NodePermissionEditReq (line 1755) | interface V1NodePermissionEditReq { type V1NodePermissionEditResp (line 1767) | type V1NodePermissionEditResp = Record; type V1NodePermissionResp (line 1769) | interface V1NodePermissionResp { type V1NodeRestudyReq (line 1780) | interface V1NodeRestudyReq { type V1NodeRestudyResp (line 1786) | type V1NodeRestudyResp = Record; type V1NodeStatsResp (line 1788) | interface V1NodeStatsResp { type V1ResetPasswordReq (line 1795) | interface V1ResetPasswordReq { type V1ShareFileUploadUrlReq (line 1801) | interface V1ShareFileUploadUrlReq { type V1ShareFileUploadUrlResp (line 1806) | interface V1ShareFileUploadUrlResp { type V1ShareNodeDetailResp (line 1810) | interface V1ShareNodeDetailResp { type V1StatConversationDistributionResp (line 1832) | interface V1StatConversationDistributionResp { type V1StatCountResp (line 1837) | interface V1StatCountResp { type V1UserInfoResp (line 1844) | interface V1UserInfoResp { type V1UserListItemResp (line 1853) | interface V1UserListItemResp { type V1UserListResp (line 1861) | interface V1UserListResp { type V1WechatAppInfoResp (line 1865) | interface V1WechatAppInfoResp { type PutApiV1AppParams (line 1872) | interface PutApiV1AppParams { type DeleteApiV1AppParams (line 1877) | interface DeleteApiV1AppParams { type GetApiV1AppDetailParams (line 1884) | interface GetApiV1AppDetailParams { type DeleteApiV1AuthDeleteParams (line 1891) | interface DeleteApiV1AuthDeleteParams { type GetApiV1AuthGetParams (line 1896) | interface GetApiV1AuthGetParams { type GetApiV1CommentParams (line 1919) | interface GetApiV1CommentParams { type DeleteApiV1CommentListParams (line 1929) | interface DeleteApiV1CommentListParams { type GetApiV1ConversationParams (line 1933) | interface GetApiV1ConversationParams { type GetApiV1ConversationDetailParams (line 1944) | interface GetApiV1ConversationDetailParams { type GetApiV1ConversationMessageDetailParams (line 1949) | interface GetApiV1ConversationMessageDetailParams { type GetApiV1ConversationMessageListParams (line 1954) | interface GetApiV1ConversationMessageListParams { type PostApiV1FileUploadPayload (line 1962) | interface PostApiV1FileUploadPayload { type PostApiV1FileUploadAnydocPayload (line 1972) | interface PostApiV1FileUploadAnydocPayload { type GetApiV1KnowledgeBaseDetailParams (line 1982) | interface GetApiV1KnowledgeBaseDetailParams { type DeleteApiV1KnowledgeBaseDetailParams (line 1987) | interface DeleteApiV1KnowledgeBaseDetailParams { type GetApiV1KnowledgeBaseReleaseListParams (line 1992) | interface GetApiV1KnowledgeBaseReleaseListParams { type DeleteApiV1KnowledgeBaseUserDeleteParams (line 1997) | interface DeleteApiV1KnowledgeBaseUserDeleteParams { type GetApiV1KnowledgeBaseUserListParams (line 2002) | interface GetApiV1KnowledgeBaseUserListParams { type DeleteApiV1NavDeleteParams (line 2007) | interface DeleteApiV1NavDeleteParams { type GetApiV1NavListParams (line 2012) | interface GetApiV1NavListParams { type GetApiV1NodeDetailParams (line 2016) | interface GetApiV1NodeDetailParams { type GetApiV1NodeListParams (line 2022) | interface GetApiV1NodeListParams { type GetApiV1NodeListGroupNavParams (line 2028) | interface GetApiV1NodeListGroupNavParams { type GetApiV1NodePermissionParams (line 2034) | interface GetApiV1NodePermissionParams { type GetApiV1NodeRecommendNodesParams (line 2039) | interface GetApiV1NodeRecommendNodesParams { type GetApiV1NodeStatsParams (line 2044) | interface GetApiV1NodeStatsParams { type GetApiV1StatBrowsersParams (line 2048) | interface GetApiV1StatBrowsersParams { type GetApiV1StatConversationDistributionParams (line 2053) | interface GetApiV1StatConversationDistributionParams { type GetApiV1StatCountParams (line 2058) | interface GetApiV1StatCountParams { type GetApiV1StatGeoCountParams (line 2063) | interface GetApiV1StatGeoCountParams { type GetApiV1StatHotPagesParams (line 2068) | interface GetApiV1StatHotPagesParams { type GetApiV1StatInstantCountParams (line 2073) | interface GetApiV1StatInstantCountParams { type GetApiV1StatInstantPagesParams (line 2077) | interface GetApiV1StatInstantPagesParams { type GetApiV1StatRefererHostsParams (line 2081) | interface GetApiV1StatRefererHostsParams { type DeleteApiV1UserDeleteParams (line 2086) | interface DeleteApiV1UserDeleteParams { type GetShareV1AppWechatServiceAnswerParams (line 2090) | interface GetShareV1AppWechatServiceAnswerParams { type PostShareV1ChatMessageParams (line 2095) | interface PostShareV1ChatMessageParams { type PostShareV1ChatWidgetParams (line 2100) | interface PostShareV1ChatWidgetParams { type GetShareV1CommentListParams (line 2105) | interface GetShareV1CommentListParams { type PostShareV1CommonFileUploadPayload (line 2110) | interface PostShareV1CommonFileUploadPayload { type GetShareV1ConversationDetailParams (line 2117) | interface GetShareV1ConversationDetailParams { type GetShareV1NavListParams (line 2122) | interface GetShareV1NavListParams { type GetShareV1NodeDetailParams (line 2126) | interface GetShareV1NodeDetailParams { type GetShareV1OpenapiGithubCallbackParams (line 2133) | interface GetShareV1OpenapiGithubCallbackParams { type PostShareV1OpenapiLarkBotKbIdParams (line 2138) | interface PostShareV1OpenapiLarkBotKbIdParams { FILE: web/app/src/utils/cookie.ts function clearCookie (line 1) | async function clearCookie() { FILE: web/app/src/utils/fetch.ts type SSECallback (line 1) | type SSECallback = (data: T) => void; type SSEErrorCallback (line 2) | type SSEErrorCallback = (error: Error) => void; type SSECompleteCallback (line 3) | type SSECompleteCallback = () => void; class SSEHttpError (line 5) | class SSEHttpError extends Error { method constructor (line 7) | constructor(status: number, message: string) { type SSEClientOptions (line 14) | interface SSEClientOptions { class SSEClient (line 24) | class SSEClient { method constructor (line 30) | constructor(private options: SSEClientOptions) { method subscribe (line 37) | public subscribe(body: BodyInit, onMessage: SSECallback) { method processChunk (line 110) | private processChunk( method unsubscribe (line 147) | public unsubscribe() { FILE: web/app/src/utils/getDocContentSx.ts type GetDocContentSxOptions (line 4) | interface GetDocContentSxOptions { function getDocContentSx (line 12) | function getDocContentSx( FILE: web/app/src/utils/getServerHeader.ts function getServerHeader (line 2) | async function getServerHeader(): Promise> { function getServerPathname (line 23) | async function getServerPathname(): Promise { function getServerSearch (line 33) | async function getServerSearch(): Promise { function getServerBasePath (line 40) | async function getServerBasePath(): Promise { FILE: web/app/src/utils/index.ts function addOpacityToColor (line 7) | function addOpacityToColor(color: string, opacity: number) { FILE: web/app/src/utils/tree.ts type NavItem (line 5) | interface NavItem { function findParentPath (line 14) | function findParentPath( function parseNodeListResponse (line 35) | function parseNodeListResponse( function findNavIdByNodeId (line 86) | function findNavIdByNodeId( function convertToTree (line 99) | function convertToTree(data: NodeListItem[]) { FILE: web/app/src/views/auth/login.tsx function isWeComByUA (line 54) | function isWeComByUA() { function Login (line 101) | function Login() { FILE: web/app/src/views/chat/ChatLoading.tsx type ChatLoadingProps (line 6) | interface ChatLoadingProps { FILE: web/app/src/views/editor/edit/AIGenerate.tsx type AIGenerateProps (line 8) | interface AIGenerateProps { FILE: web/app/src/views/editor/edit/ConfirmModal.tsx type ConfirmModalProps (line 8) | interface ConfirmModalProps { FILE: web/app/src/views/editor/edit/Header.tsx type HeaderProps (line 10) | interface HeaderProps { FILE: web/app/src/views/editor/edit/Summary.tsx type SummaryProps (line 8) | interface SummaryProps { FILE: web/app/src/views/editor/edit/Toc.tsx type TocProps (line 15) | interface TocProps { FILE: web/app/src/views/editor/edit/Toolbar.tsx type ToolbarProps (line 5) | interface ToolbarProps { FILE: web/app/src/views/editor/edit/Wrap.tsx type WrapProps (line 31) | interface WrapProps { FILE: web/app/src/views/editor/index.tsx type WrapContext (line 10) | interface WrapContext { FILE: web/app/src/views/h5Chat/index.tsx type Message (line 28) | interface Message { constant SOURCE_TO_API (line 172) | const SOURCE_TO_API = { FILE: web/app/src/views/node/CatalogFolder.tsx type CatalogFolderProps (line 11) | interface CatalogFolderProps { FILE: web/app/src/views/node/DocAnchor.tsx type DocAnchorProps (line 14) | interface DocAnchorProps { type TreeHeading (line 18) | interface TreeHeading extends TocItem { FILE: web/app/src/views/node/components/AdjacentDocNav.tsx type AdjacentDocNavProps (line 8) | interface AdjacentDocNavProps { FILE: web/app/src/views/node/components/CommentSection.tsx type CommentItem (line 19) | interface CommentItem { type CommentSectionProps (line 33) | interface CommentSectionProps { FILE: web/app/src/views/node/components/DocMetaInfo.tsx type DocMetaInfoProps (line 10) | interface DocMetaInfoProps { FILE: web/app/src/views/node/folderList.tsx type StyledStackProps (line 60) | interface StyledStackProps { type StyledExpandIconProps (line 104) | interface StyledExpandIconProps { type FolderListProps (line 165) | interface FolderListProps { FILE: web/app/src/views/widget/AiQaContent.tsx type ConversationItem (line 76) | interface ConversationItem { FILE: web/app/src/views/widget/SearchDocContent.tsx type SearchDocContentProps (line 74) | interface SearchDocContentProps { FILE: web/app/src/views/widget/constants.ts constant MAX_IMAGES (line 2) | const MAX_IMAGES = 9; constant MAX_IMAGE_SIZE (line 3) | const MAX_IMAGE_SIZE = 10 * 1024 * 1024; constant CONVERSATION_MAX_HEIGHT (line 4) | const CONVERSATION_MAX_HEIGHT = 'calc(100vh - 334px)'; constant FUZZY_SUGGESTIONS_LIMIT (line 5) | const FUZZY_SUGGESTIONS_LIMIT = 5; type AnswerStatusType (line 15) | type AnswerStatusType = keyof typeof AnswerStatus; FILE: web/app/src/views/widget/types.ts type ConversationItem (line 3) | interface ConversationItem { type UploadedImage (line 14) | interface UploadedImage { type SSEMessageData (line 20) | interface SSEMessageData { type ChatRequestData (line 26) | interface ChatRequestData { FILE: web/packages/icons/scripts/generate.ts function downloadAndExtractSVGs (line 8) | async function downloadAndExtractSVGs(url) { function start (line 99) | async function start(url) { FILE: web/packages/themes/src/constants.ts constant THEME_LIST (line 14) | const THEME_LIST = [ constant THEME_TO_PALETTE (line 67) | const THEME_TO_PALETTE = THEME_LIST.reduce( FILE: web/packages/themes/theme.d.ts type TypeText (line 4) | interface TypeText { type Palette (line 8) | interface Palette { type PaletteOptions (line 15) | interface PaletteOptions { type ButtonPropsColorOverrides (line 25) | interface ButtonPropsColorOverrides { type PaginationPropsColorOverrides (line 32) | interface PaginationPropsColorOverrides { type TypeBackground (line 41) | interface TypeBackground { type TypeTable (line 49) | interface TypeTable { FILE: web/packages/ui/env.d.ts type TypeBackground (line 39) | interface TypeBackground { FILE: web/packages/ui/src/banner/index.tsx type SearchSuggestion (line 110) | interface SearchSuggestion { type BannerProps (line 117) | interface BannerProps { FILE: web/packages/ui/src/basicDoc/index.tsx type BasicDocProps (line 12) | interface BasicDocProps { FILE: web/packages/ui/src/blockGrid/index.tsx type BlockGridProps (line 11) | interface BlockGridProps { FILE: web/packages/ui/src/carousel/index.tsx type CarouselProps (line 15) | interface CarouselProps { FILE: web/packages/ui/src/case/index.tsx type CaseProps (line 11) | interface CaseProps { FILE: web/packages/ui/src/comment/index.tsx type Props (line 11) | interface Props { FILE: web/packages/ui/src/constants/index.ts constant PROJECT_NAME (line 17) | const PROJECT_NAME = FILE: web/packages/ui/src/dirDoc/index.tsx type DirDocProps (line 18) | interface DirDocProps { FILE: web/packages/ui/src/faq/index.tsx type FaqProps (line 12) | interface FaqProps { FILE: web/packages/ui/src/feature/index.tsx type FeatureProps (line 12) | interface FeatureProps { FILE: web/packages/ui/src/footer/Overlay.tsx type OverlayProps (line 5) | interface OverlayProps { FILE: web/packages/ui/src/footer/index.tsx type DomainSocialMediaAccount (line 11) | interface DomainSocialMediaAccount { type CustomStyle (line 19) | interface CustomStyle { type BrandGroup (line 27) | interface BrandGroup { type FooterSetting (line 35) | interface FooterSetting { FILE: web/packages/ui/src/header/NavBtns.tsx type NavBtn (line 5) | interface NavBtn { type NavBtnsProps (line 15) | interface NavBtnsProps { FILE: web/packages/ui/src/header/index.tsx type SearchSuggestion (line 23) | interface SearchSuggestion { type HeaderProps (line 30) | interface HeaderProps { FILE: web/packages/ui/src/imgText/index.tsx type ImgTextProps (line 8) | interface ImgTextProps { FILE: web/packages/ui/src/metrics/index.tsx type MetricsProps (line 11) | interface MetricsProps { FILE: web/packages/ui/src/question/index.tsx type QuestionProps (line 12) | interface QuestionProps { FILE: web/packages/ui/src/simpleDoc/index.tsx type SimpleDocProps (line 19) | interface SimpleDocProps { FILE: web/packages/ui/src/text/index.tsx type TextProps (line 5) | interface TextProps { FILE: web/packages/ui/src/welcomeFooter/Overlay.tsx type OverlayProps (line 5) | interface OverlayProps { FILE: web/packages/ui/src/welcomeFooter/index.tsx type DomainSocialMediaAccount (line 10) | interface DomainSocialMediaAccount { type CustomStyle (line 18) | interface CustomStyle { type BrandGroup (line 26) | interface BrandGroup { type FooterSetting (line 34) | interface FooterSetting { FILE: web/packages/ui/src/welcomeHeader/NavBtns.tsx type NavBtn (line 5) | interface NavBtn { type NavBtnsProps (line 15) | interface NavBtnsProps { FILE: web/packages/ui/src/welcomeHeader/index.tsx type SearchSuggestion (line 36) | interface SearchSuggestion { type HeaderProps (line 43) | interface HeaderProps {