MCPcopy Create free account

hub / github.com/Renhuai123/ziwei-doushu / functions

Functions176 in github.com/Renhuai123/ziwei-doushu

↓ 41 callersFunctionhasStar
(palace: Palace, name: string)
lib/ziwei/patterns.ts:51
↓ 31 callersFunctionsanFangAllStars
(chart: ZiweiChart)
lib/ziwei/patterns.ts:84
↓ 23 callersFunctionfindStarPalace
(chart: ZiweiChart, name: string)
lib/ziwei/patterns.ts:54
↓ 16 callersFunctiongetStarSiHua
(palace: Palace, starName: string)
lib/ziwei/patterns.ts:98
↓ 15 callersFunctionhasShaInPalace
(palace: Palace, list: string[] = SHA_NAMES)
lib/ziwei/patterns.ts:63
↓ 8 callersFunctiongetSanFangPalaces
(chart: ZiweiChart)
lib/ziwei/patterns.ts:66
↓ 7 callersFunctiongetJiaPalaces
(chart: ZiweiChart, branch: number)
lib/ziwei/patterns.ts:78
↓ 7 callersFunctiongetKnowledge
(star: string, topic: TopicKey)
lib/seo/knowledge.ts:120
↓ 6 callersFunctionsanFangShaCount
(chart: ZiweiChart, list: string[] = SHA_HARD)
lib/ziwei/patterns.ts:87
↓ 6 callersFunctionshowErr
(field: string)
components/BirthForm.tsx:201
↓ 5 callersFunctiongetSiHuaByStem
(stemIndex: number)
lib/ziwei/sihua.ts:18
↓ 5 callersFunctionisBright
(palace: Palace, starName: string)
lib/ziwei/patterns.ts:90
↓ 5 callersFunctionisInSanFang
(chart: ZiweiChart, branch: number)
lib/ziwei/patterns.ts:71
↓ 5 callersFunctionsendMessage
(text: string, hidden = false)
components/InsightPanel.tsx:320
↓ 5 callersFunctionuseTheme
()
components/ThemeProvider.tsx:50
↓ 4 callersFunctionbuildSiHuaOverlay
(stemIndex: number)
components/TimeNav.tsx:22
↓ 4 callersFunctionformToBirthInfo
(form: BirthFormState)
lib/ziwei/share.ts:20
↓ 4 callersFunctiongetMajorStarNames
(palace: Palace)
lib/ziwei/patterns.ts:45
↓ 3 callersFunctionescapeHtml
(s: string)
lib/classics/index.ts:100
↓ 3 callersFunctionfindStar
(palace: Palace, name: string)
lib/ziwei/patterns.ts:48
↓ 3 callersFunctionformToSearchParams
(form: BirthFormState)
lib/ziwei/share.ts:51
↓ 3 callersFunctiongetBookBySlug
(slug: string)
lib/classics/index.ts:27
↓ 3 callersFunctiongetPalaceByBranch
(chart: ZiweiChart, branch: number)
lib/ziwei/patterns.ts:57
↓ 3 callersFunctionisDim
(palace: Palace, starName: string)
lib/ziwei/patterns.ts:94
↓ 3 callersFunctionsendMessage
(text: string)
components/ChatPanel.tsx:36
↓ 2 callersFunctiondetectPatterns
(chart: ZiweiChart)
lib/ziwei/patterns.ts:1018
↓ 2 callersFunctiongenerateChart
(birthInfo: BirthInfo)
lib/ziwei/algorithm.ts:66
↓ 2 callersFunctiongetAllKnowledgeRoutes
()
lib/seo/knowledge.ts:135
↓ 2 callersFunctiongetChapter
(bookSlug: string, chapterIdx: number)
lib/classics/index.ts:32
↓ 2 callersFunctiongetYearStemIndex
(year: number)
components/TimeNav.tsx:17
↓ 2 callersFunctionhandleSubmit
(info: BirthInfo)
app/chart/page.tsx:55
↓ 2 callersFunctionisFormReady
(f: BirthFormState | null)
app/heming/page.tsx:85
↓ 2 callersFunctionshaCountInPalace
(palace: Palace, list: string[] = SHA_HARD)
lib/ziwei/patterns.ts:60
↓ 1 callersFunctioncalcTrueSolarBranch
根据北京时间 + 经度计算真太阳时时辰支 (0-11)
components/BirthForm.tsx:35
↓ 1 callersFunctioncalcTrueSolarBranch
(clockHour: number, clockMinute: number, longitude: number)
lib/ziwei/share.ts:5
↓ 1 callersFunctioncaptureShareCard
()
components/ShareCardCanvas.tsx:274
↓ 1 callersFunctiondetectChangQuJiaMing
昌曲夹命
lib/ziwei/patterns.ts:586
↓ 1 callersFunctiondetectChangQuTongHui
昌曲同会:文昌+文曲都在命三方四正
lib/ziwei/patterns.ts:950
↓ 1 callersFunctiondetectFuBiJiaMing
辅弼夹命
lib/ziwei/patterns.ts:561
↓ 1 callersFunctiondetectFuBiTongHui
辅弼同会:左辅+右弼都在命三方四正
lib/ziwei/patterns.ts:969
↓ 1 callersFunctiondetectFuXiangChaoYuan
府相朝垣:天府、天相分别坐守命宫的三方四正
lib/ziwei/patterns.ts:162
↓ 1 callersFunctiondetectHuaJiRuMingQian
化忌入命/迁
lib/ziwei/patterns.ts:688
↓ 1 callersFunctiondetectHuaKeRuMingShen
化科入命/身:科名加身
lib/ziwei/patterns.ts:911
↓ 1 callersFunctiondetectHuaLuRuCai
化禄入财:财帛宫主星化禄
lib/ziwei/patterns.ts:879
↓ 1 callersFunctiondetectHuaLuRuMing
化禄入命/官/财
lib/ziwei/patterns.ts:671
↓ 1 callersFunctiondetectHuaQuanRuGuan
化权入官:官禄宫主星化权
lib/ziwei/patterns.ts:895
↓ 1 callersFunctiondetectHuoLingJiaMing
火铃夹命:火星铃星分居命宫前后
lib/ziwei/patterns.ts:735
↓ 1 callersFunctiondetectHuoTanLingTan
火贪格 / 铃贪格:贪狼+火星 或 贪狼+铃星 同宫或会照
lib/ziwei/patterns.ts:221
↓ 1 callersFunctiondetectJiYueTongLiang
机月同梁:天机、太阴、天同、天梁四星齐入命迁财官
lib/ziwei/patterns.ts:312
↓ 1 callersFunctiondetectJiYueTongLiangPartial
机月同梁三星会(降级版):天机/太阴/天同/天梁 任 3 星齐入三方四正
lib/ziwei/patterns.ts:932
↓ 1 callersFunctiondetectJuHuoYang
巨火羊:巨门、火星、擎羊会照
lib/ziwei/patterns.ts:786
↓ 1 callersFunctiondetectJuRiTongGong
巨日同宫:巨门太阳同入寅或申
lib/ziwei/patterns.ts:464
↓ 1 callersFunctiondetectJunChenQingHui
君臣庆会:紫微入命,左辅右弼同会(同宫或三方)
lib/ziwei/patterns.ts:106
↓ 1 callersFunctiondetectKeQuanShuangHui
科权双会:化科 + 化权 同会三方四正
lib/ziwei/patterns.ts:997
↓ 1 callersFunctiondetectKongJieJiaMing
空劫夹命:地空地劫分居命宫前后
lib/ziwei/patterns.ts:753
↓ 1 callersFunctiondetectKuiYueJiaMing
魁钺夹命
lib/ziwei/patterns.ts:606
↓ 1 callersFunctiondetectKuiYueTongHui
魁钺同会:天魁+天钺都在命三方四正
lib/ziwei/patterns.ts:983
↓ 1 callersFunctiondetectLianShaYang
廉杀羊:廉贞、七杀、擎羊三星会照(流年大限最凶)
lib/ziwei/patterns.ts:771
↓ 1 callersFunctiondetectLianXiang
廉贞天相:同宫
lib/ziwei/patterns.ts:336
↓ 1 callersFunctiondetectLingChangTuoWu
铃昌陀武:铃星、文昌、陀罗、武曲会照(限至投河)
lib/ziwei/patterns.ts:801
↓ 1 callersFunctiondetectLuCunShouShen
禄存守身:禄存入身宫(或命宫与身宫同宫)
lib/ziwei/patterns.ts:841
↓ 1 callersFunctiondetectMaTouDaiJian
马头带箭:擎羊在午宫坐命
lib/ziwei/patterns.ts:816
↓ 1 callersFunctiondetectMingZhuChuHai
明珠出海:命宫在未空宫,对宫丑宫为太阳太阴
lib/ziwei/patterns.ts:513
↓ 1 callersFunctiondetectRiYueJiaMing
日月夹命:太阳太阴在命宫前后两宫
lib/ziwei/patterns.ts:434
↓ 1 callersFunctiondetectRiYueTongGong
日月同宫:太阳太阴丑或未宫同宫
lib/ziwei/patterns.ts:409
↓ 1 callersFunctiondetectSanQiJiaHui
三奇加会:化禄 化权 化科 同会三方
lib/ziwei/patterns.ts:648
↓ 1 callersFunctiondetectSelfSihua
(palace: Palace)
lib/ziwei/sihua.ts:121
↓ 1 callersFunctiondetectShaPoLang
杀破狼:七杀、破军、贪狼三方齐聚
lib/ziwei/patterns.ts:288
↓ 1 callersFunctiondetectShiZhongYinYu
石中隐玉:巨门入命于子午宫
lib/ziwei/patterns.ts:490
↓ 1 callersFunctiondetectShuangLuChaoYuan
双禄朝垣:化禄 + 禄存 同会三方
lib/ziwei/patterns.ts:624
↓ 1 callersFunctiondetectTianMaRuMing
天马入命/迁:驿马星动
lib/ziwei/patterns.ts:860
↓ 1 callersFunctiondetectTongLiang
天同天梁:同宫
lib/ziwei/patterns.ts:386
↓ 1 callersFunctiondetectWuQiSha
武曲七杀:同宫,将星配财星
lib/ziwei/patterns.ts:361
↓ 1 callersFunctiondetectWuTan
武贪格:武曲+贪狼 同宫(丑、未) 或 对照
lib/ziwei/patterns.ts:257
↓ 1 callersFunctiondetectYangLiangChangLu
阳梁昌禄:太阳+天梁+文昌+禄存四星会命宫,大贵格
lib/ziwei/patterns.ts:189
↓ 1 callersFunctiondetectYangTuoJiaJi
羊陀夹忌:化忌坐宫,左右被擎羊陀罗夹
lib/ziwei/patterns.ts:710
↓ 1 callersFunctiondetectZiFu
紫府同宫:紫微+天府于命宫(限寅、申宫)
lib/ziwei/patterns.ts:132
↓ 1 callersFunctiondetectZiWeiInMing
紫微独坐入命
lib/ziwei/patterns.ts:538
↓ 1 callersFunctiondownloadDataURL
(dataURL: string, filename: string)
components/ShareCardCanvas.tsx:292
↓ 1 callersFunctiondraw
()
components/StarField.tsx:40
↓ 1 callersFunctiongetDuiGong
(chart: ZiweiChart, branch: number)
lib/ziwei/patterns.ts:75
↓ 1 callersFunctiongetLiuYueStemIndex
(yearStem: number, month: number)
lib/ziwei/sihua.ts:84
↓ 1 callersFunctiongetLunarInfo
(year: number, month: number, day: number)
lib/ziwei/algorithm.ts:14
↓ 1 callersFunctiongetMingGongSummary
(chart: ZiweiChart)
lib/ziwei/patterns.ts:1078
↓ 1 callersFunctiongetOverlayInfo
()
components/TimeNav.tsx:50
↓ 1 callersFunctiongetParagraphById
(id: string)
lib/classics/index.ts:41
↓ 1 callersFunctiongetSanFangSiZheng
三方四正:本宫 + 对宫 + 两个三合宫
components/ChartBoard.tsx:44
↓ 1 callersFunctiongetYearStemIndex
(year: number)
lib/ziwei/sihua.ts:33
↓ 1 callersFunctionhandleCity
(cityName: string)
components/BirthForm.tsx:136
↓ 1 callersFunctionhandleLoadHistory
(form: BirthFormState)
app/chart/page.tsx:105
↓ 1 callersFunctionhandlePalaceClick
(branch: number)
components/ChartBoard.tsx:77
↓ 1 callersFunctionhandleProvince
(prov: string)
components/BirthForm.tsx:130
↓ 1 callersFunctionhandleSend
()
components/InsightPanel.tsx:343
↓ 1 callersFunctionhandleTopicClick
(topicKey: string)
components/InsightPanel.tsx:337
↓ 1 callersFunctionisValidDate
检查日期是否合法
components/BirthForm.tsx:44
↓ 1 callersFunctionmapBrightness
(b?: string)
lib/ziwei/algorithm.ts:31
↓ 1 callersFunctionmapStarType
(starName: string, iztroType: string)
lib/ziwei/algorithm.ts:45
↓ 1 callersFunctionparseStarContent
(content: string)
lib/seo/knowledge.ts:85
↓ 1 callersFunctionparseWuxingJu
(name: string)
lib/ziwei/algorithm.ts:56
↓ 1 callersFunctionresize
()
components/StarField.tsx:15
next →1–100 of 176, ranked by callers