firestore.DocumentOptions interface

DocumentOptions extend EventHandlerOptions with provided document and optional database and namespace.

Signature:

export interface DocumentOptions<Document extends string = string> extends EventHandlerOptions 

Extends: EventHandlerOptions

Properties

Property Type Description
database string | Expression<string> The Firestore database
document Document | Expression<string> The document path
namespace string | Expression<string> The Firestore namespace

firestore.DocumentOptions.database

The Firestore database

Signature:

database?: string | Expression<string>;

firestore.DocumentOptions.document

The document path

Signature:

document: Document | Expression<string>;

firestore.DocumentOptions.namespace

The Firestore namespace

Signature:

namespace?: string | Expression<string>;