Files
HiveGrid-Wireframes/03 Quellen und Referenzen/hivegrid-cloud/packages/feature-flags/src/index.ts
T

24 lines
609 B
TypeScript

// Public entry. Grows with subsequent commits (evaluate, cache, hook).
export * from "./targeting/index.js";
export {
evaluateFlag,
getFeatureFlagVariant,
type EvaluateFlagOptions,
type EvaluateFlagResult,
type FlagLoader,
type FlagVariant,
type StoredFeatureFlag,
} from "./evaluate.js";
export {
FEATURE_FLAGS_INVALIDATION_CHANNEL,
buildCacheKey,
createFlagEvalCache,
hashContext,
type FlagEvalCache,
} from "./cache.js";
export {
publishFeatureFlagInvalidationOnce,
publishFeatureFlagInvalidationViaStore,
type PublishFeatureFlagInvalidationOptions,
} from "./publisher.js";