{"version":3,"file":"FeatureProvider.types.mjs","sources":["../../../../src/components/FeatureProvider/FeatureProvider.types.ts"],"sourcesContent":["import { type ChildrenProps } from '~/src/types/props'\n\nexport enum FeatureType {\n  SmoothCorners = 'smooth-corners',\n}\n\nexport interface Feature {\n  readonly name: FeatureType\n  activate: () => Promise<boolean>\n}\n\nexport type FeatureFlag = Record<FeatureType, boolean>\n\ninterface FeatureProviderOwnProps {\n  /**\n   * Features to activate.\n   */\n  features: Feature[]\n}\n\nexport interface FeatureProviderProps\n  extends ChildrenProps,\n    FeatureProviderOwnProps {}\n"],"names":["FeatureType"],"mappings":"AAEYA,IAAAA,WAAW,0BAAXA,WAAW,EAAA;EAAXA,WAAW,CAAA,eAAA,CAAA,GAAA,gBAAA;AAAA,EAAA,OAAXA,WAAW;AAAA,CAAA,CAAA,EAAA;;;;"}