Hi there! Are you looking for the official Deno documentation? Try docs.deno.com for all your Deno learning needs.

Codebase

import type { Codebase } from "https://googleapis.deno.dev/v1/firebaseapphosting:v1.ts";

The connection to an external source repository to watch for event-driven updates to the backend.

interface Codebase {
repository?: string;
rootDirectory?: string;
}

§Properties

§
repository?: string
[src]

Required. The resource name for the Developer Connect gitRepositoryLink connected to this backend, in the format: projects/{project}/locations/{location}/connections/{connection}/gitRepositoryLinks/{repositoryLink} The connection for the gitRepositoryLink must made be using the Firebase App Hosting GitHub App via the Firebase Console.

§
rootDirectory?: string
[src]

Optional. If repository is provided, the directory relative to the root of the repository to use as the root for the deployed web app.