UNPKG

@react-native-firebase/remote-config

Version:

React Native Firebase - React Native Firebase provides native integration with Remote Config, allowing you to change the appearance and/or functionality of your app without requiring an app update.

28 lines (23 loc) 647 B
import type { ValueSource as ValueSourceType } from './types/remote-config'; interface LastFetchStatusStatics { SUCCESS: 'success'; FAILURE: 'failure'; THROTTLED: 'throttled'; NO_FETCH_YET: 'no_fetch_yet'; } interface ValueSourceStatics { REMOTE: ValueSourceType; DEFAULT: ValueSourceType; STATIC: ValueSourceType; } export const LastFetchStatus = { SUCCESS: 'success', FAILURE: 'failure', THROTTLED: 'throttled', NO_FETCH_YET: 'no_fetch_yet', } as const satisfies LastFetchStatusStatics; export const ValueSource = { REMOTE: 'remote', DEFAULT: 'default', STATIC: 'static', } as const satisfies ValueSourceStatics;