Service Composition

import { MyAppServices } from "@95octane/common/services"

MyAppServices

A Context.Tag that bundles all Firebase services into a single dependency.

interface MyAppServices {
  auth: MyFirebaseAuth;
  firebase: MyFirebase;
  firestore: MyFirestore;
  messaging: MyMessaging;
}

makeMyAppServicesLive(useEmulator) — Factory that builds the live Layer with all dependencies wired up. Pass true to connect to Firebase emulators for local development and testing.