@firecms/core
Version:
Awesome Firebase/Firestore-based headless open-source CMS
13 lines (12 loc) • 530 B
TypeScript
import { AuthController, DataSource, DataSourceDelegate, NavigationController, PropertyConfig } from "../types";
/**
* Use this hook to build a {@link DataSource} based on Firestore
* @param firebaseApp
* @group Firebase
*/
export declare function useBuildDataSource({ delegate, propertyConfigs, navigationController, authController }: {
delegate: DataSourceDelegate;
propertyConfigs?: Record<string, PropertyConfig>;
navigationController: NavigationController;
authController: AuthController;
}): DataSource;