Common Package
Shared utilities, schemas, and services consumed by both the API service and
worker. Imported as @95octane/common.
Package Exports
import { Effect, Schema, schemaParser, withSpan } from "@95octane/common/effect";
import { MyFirebase, MyFirebaseAuth, MyFirestore, MyMessaging } from "@95octane/common/firebase";
import { MyAppServices } from "@95octane/common/services";
import { MyError, logError, logInfo, generateId, StatusCodes } from "@95octane/common/utils";
import { TelemetryLayers } from "@95octane/common/telemetry";
import { UserSchema, RideSchema, ... } from "@95octane/common/schemas/<domain>";
import { searchPlace } from "@95octane/common/maps/places";
import { computeRoutes } from "@95octane/common/maps/routing";
Modules
- Effect Utilities — Re-exports, schema parsing, tracing helpers
- Firebase Services — Auth, Firestore, Messaging wrappers
- Service Composition — MyAppServices dependency bundle
- Schemas — Effect Schema definitions per domain
- Telemetry — OpenTelemetry observability setup
- Audit Logging — Structured audit trail for account management events
- Google Maps — Places and Routing API clients
- Utilities — Error handling, logging, HTTP client, ID generation