@amityco/ts-sdk-react-native
Version:
Amity Social Cloud Typescript SDK
9 lines • 418 B
TypeScript
/**
* Finds the name of the store for a given unknown model
*
* @param model one of the {@link Amity.Models} to identify
* @returns the name of the corresponding store
*/
export declare const identifyModel: (model: Record<string, unknown>) => keyof Amity.Models | undefined;
export declare const identifyModelKey: (model: Record<string, unknown>) => string | undefined;
//# sourceMappingURL=identifyModel.d.ts.map