包含 DocumentSnapshot 或更改的 CloudEvent
签名:
export interface FirestoreEvent<T, Params = Record<string, string>> extends CloudEvent<T>
扩展: CloudEvent <T>
特性
财产 | 类型 | 描述 |
---|---|---|
数据库 | 细绳 | Firestore 数据库 |
文档 | 细绳 | 文档路径 |
地点 | 细绳 | Firestore 实例的位置 |
名称空间 | 细绳 | Firestore 命名空间 |
参数 | 参数 | 包含路径模式值的对象。仅填充命名的捕获组 - {钥匙} , {键=* } , {关键=** } |
项目 | 细绳 | 项目标识符 |
firestore.FirestoreEvent.database
Firestore 数据库
签名:
database: string;
firestore.FirestoreEvent.document
文档路径
签名:
document: string;
firestore.FirestoreEvent.location
Firestore 实例的位置
签名:
location: string;
firestore.FirestoreEvent.命名空间
Firestore 命名空间
签名:
namespace: string;
firestore.FirestoreEvent.params
包含路径模式值的对象。仅填充命名的捕获组 - {钥匙} , {键=* } , {关键=** }
签名:
params: Params;
firestore.FirestoreEvent.project
项目标识符
签名:
project: string;