@lpdjs/firestore-repo-service 2.6.16 → 2.6.18

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.d.cts CHANGED
@@ -209,6 +209,14 @@ declare class RepositoryMapping<T extends Record<string, any>> {
209
209
  * @private
210
210
  */
211
211
  private get db();
212
+ /**
213
+ * Raw repository configs (the `mapping` passed to the factory), readable
214
+ * **without** triggering lazy Firestore resolution. Lets definition-time
215
+ * consumers (e.g. `createHistoryTriggers`) introspect static config such as
216
+ * the collection `path` / `history` settings before `initializeApp()` /
217
+ * `getFirestore()` would otherwise run.
218
+ */
219
+ get rawMapping(): T;
212
220
  /**
213
221
  * Build every repository once, on first access, so cross-references and
214
222
  * circular relations are wired in a single two-pass init.
package/dist/index.d.ts CHANGED
@@ -209,6 +209,14 @@ declare class RepositoryMapping<T extends Record<string, any>> {
209
209
  * @private
210
210
  */
211
211
  private get db();
212
+ /**
213
+ * Raw repository configs (the `mapping` passed to the factory), readable
214
+ * **without** triggering lazy Firestore resolution. Lets definition-time
215
+ * consumers (e.g. `createHistoryTriggers`) introspect static config such as
216
+ * the collection `path` / `history` settings before `initializeApp()` /
217
+ * `getFirestore()` would otherwise run.
218
+ */
219
+ get rawMapping(): T;
212
220
  /**
213
221
  * Build every repository once, on first access, so cross-references and
214
222
  * circular relations are wired in a single two-pass init.