MCPcopy Create free account

hub / github.com/TryHarder-L/NiniMenu / functions

Functions414 in github.com/TryHarder-L/NiniMenu

↓ 2,583 callersFunctionst
(text string, minutes int)
backend/internal/dishes/catalog.go:181
↓ 1,264 callersFunctionitems
(pairs ...string)
backend/internal/dishes/catalog.go:173
↓ 632 callersFunctionr
(name, image, mealType, difficulty, taste string, cookTime int, ingredients []item, seasonings []item, steps [
backend/internal/dishes/catalog.go:157
↓ 105 callersFunctionauto
(code, name, description, icon string)
backend/internal/achievements/catalog.go:130
↓ 55 callersFunctionapi
(method: string, url: string, data?: unknown)
frontend/src/api/client.ts:41
↓ 21 callersFunctionmotionDuration
(duration: number)
frontend/src/lib/gsap.ts:17
↓ 17 callersFunctionasArray
(value: unknown, fallback: T[] = [])
frontend/src/lib/utils.ts:10
↓ 13 callersFunctionasString
(value: unknown, fallback = "")
frontend/src/lib/utils.ts:24
↓ 11 callersFunctionpack
(name, category string, recipes ...RecipeSpec)
backend/internal/dishes/catalog.go:153
↓ 9 callersFunctiongetEnv
(key, fallback string)
backend/internal/config/config.go:86
↓ 7 callersFunctionminiCls
(active: boolean, variant?: "mint" | "red")
frontend/src/pages/admin/Dishes.tsx:118
↓ 7 callersFunctionnormalizedCookTime
(cookTime int)
backend/internal/handlers/favorite.go:279
↓ 6 callersFunctioncontainsTaste
(raw string, target string)
backend/internal/services/pick_service.go:260
↓ 6 callersFunctionisValidShoppingCategory
(category string)
backend/internal/services/plan_service.go:550
↓ 6 callersFunctionupdateMeal
(meal: MealType, updater: (prev: Dish[]) => Dish[])
frontend/src/pages/Tomorrow.tsx:755
↓ 5 callersFunctionError
(c *gin.Context, httpStatus int, code int, msg string)
backend/internal/utils/response.go:31
↓ 5 callersFunctiongetMeal
(meal: MealType)
frontend/src/pages/Tomorrow.tsx:751
↓ 5 callersFunctionisWhite
(c color.Color, threshold int)
backend/cmd/imgtool/main.go:105
↓ 5 callersFunctionjsonField
jsonField 把数据库里存的 JSON 字符串转成可直接内联的 JSON 片段。 合法 JSON 原样输出(数组/对象不再被转义为字符串);空值或非法内容回退为 []。
backend/internal/models/dish.go:36
↓ 5 callersFunctionrequestTomorrowDishes
( meal: MealType, count: number, nextProfile = profile, excludeIds: number[] = [], )
frontend/src/pages/Tomorrow.tsx:766
↓ 5 callersFunctionshoppingItemPriority
(item ShoppingItem)
backend/internal/services/plan_service.go:408
↓ 4 callersFunctioncontainsTag
(tags []string, target string)
backend/internal/services/plan_service.go:218
↓ 4 callersFunctiondateValue
(value: string)
frontend/src/pages/Favorites.tsx:42
↓ 4 callersFunctionfilterTomorrowPool
(dishes []models.Dish, profile string, excluded map[uint]bool, recent map[uint]bool, strictProfile bool)
backend/internal/services/pick_service.go:135
↓ 4 callersFunctiongenerateAll
(nextProfile = profile, nextTargets = targets)
frontend/src/pages/Tomorrow.tsx:862
↓ 4 callersFunctiongetUploadErrorMessage
(err: unknown, fallback = "上传失败")
frontend/src/api/client.ts:54
↓ 4 callersFunctionhasKeyword
(s string, keywords []string)
backend/internal/services/plan_service.go:622
↓ 4 callersFunctionisImageUrl
(url: string | undefined)
frontend/src/components/DishImage.tsx:13
↓ 4 callersFunctionjsonArrayLen
(raw string)
backend/internal/dishes/catalog_test.go:101
↓ 4 callersFunctionjsonArrayString
(values []string)
backend/internal/database/database.go:145
↓ 4 callersFunctionjsonString
(v any)
backend/internal/dishes/catalog.go:185
↓ 4 callersFunctionopenRating
(r: MealRecord)
frontend/src/pages/History.tsx:194
↓ 3 callersFunctionDefaultCategories
()
backend/internal/dishes/catalog.go:92
↓ 3 callersFunctiondiffLabel
(difficulty: string)
frontend/src/pages/Tomorrow.tsx:92
↓ 3 callersFunctiongetDishImageUrl
(d: Dish)
frontend/src/components/DishImage.tsx:18
↓ 3 callersFunctiongetEnvInt
(key string, fallback int)
backend/internal/config/config.go:93
↓ 3 callersFunctiongoToStep
(idx: number)
frontend/src/pages/CookMode.tsx:90
↓ 3 callersFunctionhandlePickMeal
(mealType: "lunch" | "dinner")
frontend/src/pages/Home.tsx:230
↓ 3 callersFunctionisImageURL
(url string)
backend/internal/handlers/record.go:91
↓ 3 callersFunctionjsonArrayLen
(raw string)
backend/internal/services/achievement_service.go:579
↓ 3 callersFunctionlaunchConfetti
(container: HTMLDivElement | null, count = 80)
frontend/src/lib/confetti.ts:5
↓ 3 callersFunctionlimitFavoriteItems
(items []FavoriteOverviewItem, limit int)
backend/internal/handlers/favorite.go:328
↓ 3 callersFunctionmatchesTomorrowProfile
(d models.Dish, profile string)
backend/internal/services/pick_service.go:165
↓ 3 callersFunctionmealRecords
(records: MealRecord[], meal: MealType)
frontend/src/pages/Tomorrow.tsx:125
↓ 3 callersFunctionparsePhotos
(photosStr: string)
frontend/src/pages/History.tsx:233
↓ 3 callersFunctionpillClass
(active: boolean)
frontend/src/pages/admin/Records.tsx:47
↓ 3 callersFunctionremoveDish
(meal: MealType, dishId: number)
frontend/src/pages/Tomorrow.tsx:858
↓ 3 callersFunctionresetForm
()
frontend/src/pages/admin/Quotes.tsx:62
↓ 3 callersFunctionresetForm
()
frontend/src/pages/admin/Achievements.tsx:47
↓ 3 callersFunctionscrollToElement
( element: HTMLElement | null, options: { block?: "start" | "center"; offset?: number; duration?: number }
frontend/src/lib/gsap.ts:34
↓ 3 callersFunctionshuffleDishes
(dishes []models.Dish)
backend/internal/handlers/pick.go:180
↓ 3 callersFunctiontasteTokens
(raw string)
backend/internal/services/achievement_service.go:595
↓ 3 callersFunctiontotalCookTime
(dishes: Dish[])
frontend/src/pages/Tomorrow.tsx:108
↓ 2 callersFunctionGenerateWeekPlan
()
backend/internal/services/plan_service.go:99
↓ 2 callersFunctionQueueAutoAchievementSync
()
backend/internal/services/achievement_service.go:117
↓ 2 callersFunctionaddShoppingItems
(dishID uint, dishName string, mealType string, mealDate string)
backend/internal/handlers/record.go:21
↓ 2 callersFunctionappendMissingStringValues
(existing []string, defaults []string)
backend/internal/database/database.go:196
↓ 2 callersFunctionapply
(value: number, animate = false)
frontend/src/components/SwipeDeleteRow.tsx:17
↓ 2 callersFunctionbearerToken
(c *gin.Context)
backend/internal/middleware/middleware.go:26
↓ 2 callersFunctionbuildShoppingCategoryExact
(terms map[string][]string)
backend/internal/services/plan_service.go:305
↓ 2 callersFunctionchangeMonth
(dir: number)
frontend/src/pages/History.tsx:362
↓ 2 callersFunctionclassifyShoppingItem
(name string, overrides map[string]string)
backend/internal/services/plan_service.go:488
↓ 2 callersFunctioncompactShoppingAmounts
(amounts []string)
backend/internal/services/plan_service.go:327
↓ 2 callersFunctioncookTimeText
(dish: Dish)
frontend/src/pages/Tomorrow.tsx:104
↓ 2 callersFunctioncopyStrings
(values []string)
backend/internal/dishes/catalog.go:200
↓ 2 callersFunctioncountMapValues
(m map[string]int)
backend/internal/services/achievement_service.go:715
↓ 2 callersFunctiondiffColor
(d: string)
frontend/src/pages/DishList.tsx:24
↓ 2 callersFunctiondiffLabel
(d: string)
frontend/src/pages/DishList.tsx:23
↓ 2 callersFunctiondiffLabel
(d: string)
frontend/src/pages/Home.tsx:36
↓ 2 callersFunctionfillMeal
(meal: MealType)
frontend/src/pages/Tomorrow.tsx:782
↓ 2 callersFunctionfilterAvailable
(dishes []models.Dish, used map[uint]bool)
backend/internal/services/plan_service.go:202
↓ 2 callersFunctionfilterAvailableBoth
(dishes []models.Dish, globalUsed map[uint]bool, dayUsed map[uint]bool)
backend/internal/services/plan_service.go:185
↓ 2 callersFunctionformatDate
(value: string)
frontend/src/pages/Favorites.tsx:35
↓ 2 callersFunctionformatRelativeDate
(dateStr: string)
frontend/src/pages/DishDetail.tsx:77
↓ 2 callersFunctiongetCurrentWeekKey
()
backend/internal/services/plan_service.go:34
↓ 2 callersFunctiongetDishEmoji
(d: Dish)
frontend/src/components/DishImage.tsx:9
↓ 2 callersFunctiongetPickCount
(c *gin.Context)
backend/internal/handlers/pick.go:169
↓ 2 callersFunctiongetSettingInt
(key string, defaultVal int)
backend/internal/services/plan_service.go:44
↓ 2 callersFunctionisQuickDish
(d models.Dish)
backend/internal/services/achievement_service.go:617
↓ 2 callersFunctionloadFavoriteDishEntries
()
backend/internal/handlers/favorite.go:19
↓ 2 callersFunctionloadKnownCodes
()
frontend/src/components/AchievementUnlockOverlay.tsx:10
↓ 2 callersFunctionlongestRecordRun
(records []achievementRecordInfo, match func(achievementRecordInfo) bool)
backend/internal/services/achievement_service.go:664
↓ 2 callersFunctionnormalizeIngredients
(raw: unknown[])
frontend/src/pages/DishDetail.tsx:32
↓ 2 callersFunctionparseAdminToken
(rawToken string)
backend/internal/middleware/middleware.go:16
↓ 2 callersFunctionparseIngredients
(text: string)
frontend/src/pages/admin/DishEdit.tsx:130
↓ 2 callersFunctionparseList
(raw: unknown, fallback: string[])
frontend/src/pages/DishList.tsx:18
↓ 2 callersFunctionparseList
(raw: unknown, fallback: string[])
frontend/src/pages/admin/DishEdit.tsx:21
↓ 2 callersFunctionparseMealDate
(raw string)
backend/internal/services/achievement_service.go:642
↓ 2 callersFunctionparseStringArray
(raw string)
backend/internal/database/database.go:188
↓ 2 callersFunctionpickNDishes
(pool []models.Dish, count int, globalUsed map[uint]bool, dayUsed map[uint]bool, r *rand.Rand)
backend/internal/services/plan_service.go:158
↓ 2 callersFunctionpillClass
(active: boolean)
frontend/src/pages/admin/DishEdit.tsx:266
↓ 2 callersFunctionpillCls
(active: boolean)
frontend/src/pages/admin/Dishes.tsx:115
↓ 2 callersFunctionprefersReducedMotion
()
frontend/src/lib/gsap.ts:13
↓ 2 callersFunctionrecentDishIDMap
(days int)
backend/internal/services/pick_service.go:243
↓ 2 callersFunctionrecipeCount
(packs []DishPack)
backend/internal/dishes/catalog.go:219
↓ 2 callersFunctionreplaceMeal
(meal: MealType)
frontend/src/pages/Tomorrow.tsx:806
↓ 2 callersFunctionresetBlindBox
()
frontend/src/pages/Home.tsx:224
↓ 2 callersFunctionsameStringValues
(a, b []string)
backend/internal/database/database.go:226
↓ 2 callersFunctionsaveKnownCodes
(codes: Set<string>)
frontend/src/components/AchievementUnlockOverlay.tsx:20
↓ 2 callersFunctionsavePNG
(img *image.RGBA, path string)
backend/cmd/imgtool/main.go:208
next →1–100 of 414, ranked by callers