UNPKG

react-native-onyx

Version:

State management for React Native

11 lines (10 loc) 1.03 kB
import type { ConnectOptions, OnyxUpdate } from './Onyx'; import Onyx from './Onyx'; import type { CustomTypeOptions, KeyValueMapping, NullishDeep, OnyxCollection, OnyxEntry, OnyxKey, OnyxValue, Selector, OnyxInputValue, OnyxCollectionInputValue, OnyxInput, OnyxSetInput, OnyxMultiSetInput, OnyxMergeInput, OnyxMergeCollectionInput } from './types'; import type { FetchStatus, ResultMetadata, UseOnyxResult, UseOnyxOptions } from './useOnyx'; import type { Connection } from './OnyxConnectionManager'; import useOnyx from './useOnyx'; import type { OnyxSQLiteKeyValuePair } from './storage/providers/SQLiteProvider'; export default Onyx; export { useOnyx }; export type { ConnectOptions, CustomTypeOptions, FetchStatus, KeyValueMapping, NullishDeep, OnyxCollection, OnyxEntry, OnyxKey, OnyxInputValue, OnyxCollectionInputValue, OnyxInput, OnyxSetInput, OnyxMultiSetInput, OnyxMergeInput, OnyxMergeCollectionInput, OnyxUpdate, OnyxValue, ResultMetadata, Selector, UseOnyxResult, Connection, UseOnyxOptions, OnyxSQLiteKeyValuePair, };