包含 DataSnapshot 或更改的 CloudEvent
簽名:
export interface DatabaseEvent<T, Params = Record<string, string>> extends CloudEvent<T>
擴充: CloudEvent <T>
特性
財產 | 類型 | 描述 |
---|---|---|
firebase資料庫主機 | 細繩 | 資料庫執行個體的域 |
實例 | 細繩 | 完全限定資源名稱的實例 ID 部分 |
地點 | 細繩 | 資料庫的位置 |
參數 | 參數 | 包含路徑模式值的物件。僅填充命名的捕獲組 - {鑰匙} , {鍵=* } , {關鍵=** } |
參考 | 細繩 | 資料庫引用路徑 |
資料庫.DatabaseEvent.firebaseDatabaseHost
資料庫執行個體的域
簽名:
firebaseDatabaseHost: string;
資料庫.DatabaseEvent.instance
完全限定資源名稱的實例 ID 部分
簽名:
instance: string;
資料庫.DatabaseEvent.location
資料庫的位置
簽名:
location: string;
資料庫.DatabaseEvent.params
包含路徑模式值的物件。僅填充命名的捕獲組 - {鑰匙} , {鍵=* } , {關鍵=** }
簽名:
params: Params;
資料庫.DatabaseEvent.ref
資料庫引用路徑
簽名:
ref: string;