MCPcopy Create free account
hub / github.com/pollinations/pollinations / getPollenPackByKey

Function getPollenPackByKey

shared/pollen-packs.ts:58–59  ·  view source on GitHub ↗
(packKey: string)

Source from the content-addressed store, hash-verified

56 PACK_KEY_SET.has(value as PollenPackKey);
57
58export const getPollenPackByKey = (packKey: string): PollenPack | undefined =>
59 POLLEN_PACKS.find((pack) => pack.packKey === packKey);
60
61// Amount-based lookup is kept only for auto-top-up, whose enrollment API is
62// genuinely amount-based (amountUsd as the user-facing knob). The checkout

Callers 4

stripe.test.tsFile · 0.90
stripe.tsFile · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected