一键导入
instantiating-firestore-source
FirestoreSource seamlessly connects Cloud Firestore streams to a SourceList.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
FirestoreSource seamlessly connects Cloud Firestore streams to a SourceList.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
| name | instantiating-firestore-source |
| description | FirestoreSource seamlessly connects Cloud Firestore streams to a SourceList. |
| metadata | {"last_modified":"Sat, 18 Apr 2026 1:52:50 GMT"} |
pkg:data_layer_firestore provides a FirestoreSource class which implements the WatchableSource interface to seamlessly integrate Cloud Firestore into your data_layer ecosystem. This source handles all necessary translation between data_layer's request details and Firestore's querying syntax, while also supporting real-time data streaming.
Instances of a FirestoreSource are meant to be used within the context of a SourceList.
SourceList(
sources: [
LocalMemorySource(...),
FirestoreSource(
FirebaseFirestore.instance,
bindings: User.bindings,
collectionName: 'users',
),
],
)
Understand how sources declare operation capabilities via supportedOperations and how SourceList respects them.
FirestoreAdminSource connects google_cloud_firestore for server-side Dart applications to a SourceList.
Perform untyped Firestore document merges using the raw method on Firestore sources.
Cached data is mapped uniquely per request hash (RequestDetails with specific filter and pagination), supporting a powerful request-based caching behavior.
The SourceList class manages the delegation of read/write attempts to various configured Sources, with a read-thru cache system prioritizing local Sources.
ConnectivityPlusStream provides a stream of network statuses based on connectivity_plus so DefaultRetryPolicy can intelligently manage failed Operations.