parse-mobx
Version:
A wrapper for ParseJS SDK to make Parse Objects observable in Mobx
21 lines (20 loc) • 628 B
TypeScript
/**
* Configure the Parse instance to use with ParseMobx
* @param parse - The Parse instance (from 'parse')
*/
export declare function configureParseMobx(parse: any): void;
/**
* Get the configured Parse instance
* @returns The configured Parse instance
* @throws Error if Parse has not been configured
*/
export declare function getParseInstance(): any;
/**
* Check if Parse has been configured
* @returns true if Parse is configured, false otherwise
*/
export declare function isConfigured(): boolean;
/**
* Reset the Parse configuration (mainly for testing)
*/
export declare function resetConfiguration(): void;