@plyaz/types 1.29.1 → 1.29.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -592,6 +592,13 @@ export type CoreExtractServiceInstance<T> = T extends CoreInitializableDomainSer
|
|
|
592
592
|
export interface CoreFeatureFlagInitConfig {
|
|
593
593
|
/** Whether to enable feature flags (default: true) */
|
|
594
594
|
enabled?: boolean;
|
|
595
|
+
/**
|
|
596
|
+
* Provider type for feature flags
|
|
597
|
+
* - 'memory': Flags stored in memory only (no API calls, for testing/local)
|
|
598
|
+
* - 'api': Flags fetched from API endpoint (for production)
|
|
599
|
+
* @default 'api'
|
|
600
|
+
*/
|
|
601
|
+
provider?: 'memory' | 'api';
|
|
595
602
|
/** Default flag values */
|
|
596
603
|
defaults?: Record<string, FeatureFlagValue>;
|
|
597
604
|
/** Polling configuration */
|
package/package.json
CHANGED