Skip to content
Source
Sign inSign up
Open History to see the last commit

resources.ts

10 lines316 Bytes

1import * as GCP from "@alchemy.run/gcp";
2​
3/**
4 * One Firestore document per note, at `notes/{id}`. The project's
5 * `(default)` database may be Datastore-mode, so the example brings its own
6 * named Native-mode database.
7 */
8export const NotesDb = GCP.Firestore.Database("NotesDb", {
9 type: "FIRESTORE_NATIVE",
10});