Skip to content
TypeScript
316 B
Raw Blame
import * as GCP from "@alchemy.run/gcp";

/**
 * One Firestore document per note, at `notes/{id}`. The project's
 * `(default)` database may be Datastore-mode, so the example brings its own
 * named Native-mode database.
 */
export const NotesDb = GCP.Firestore.Database("NotesDb", {
  type: "FIRESTORE_NATIVE",
});