@farmart-tech/brave-firebase-adapter
    Preparing search index...

      @farmart-tech/brave-firebase-adapter

      Brave Ship Firebase Adapter - Firebase-based read operations for feature flags and maintenance windows

      This package provides the implementation for reading feature flag data, segments, and maintenance window configurations directly from Firebase Firestore.

      import { FeatureFlagReader } from '@farmart-tech/brave-firebase-adapter';
      import { initializeApp } from 'firebase/app';
      import { getFirestore } from 'firebase/firestore';

      const app = initializeApp(firebaseConfig);
      const db = getFirestore(app);

      const reader = new FeatureFlagReader({
      db,
      workspace: 'production'
      });

      const feature = await reader.getFeatureFlag('my_feature');

      Classes

      FeatureFlagReader
      FeatureReader
      LocalFeatureData
      LogReader
      WindowReader

      Interfaces

      DeviceContext
      Feature
      FeatureConfig
      FeatureData
      FeatureEvaluationResult
      FeatureReleasePlan
      FeatureRemoteConfig
      IFeatureFlagReaderOptions
      IFeatureReaderOptions
      ILog
      ISegmentGroup
      IWindowReaderOptions
      SegmentGroup
      User
      UserContext

      Type Aliases

      FeatureCondition
      MaintenanceStrategy
      TConnection