@lpdjs/firestore-repo-service 2.2.8 → 2.2.9-beta.1
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/{create-servers-BGtAS0oG.d.cts → create-servers-CfLtucbQ.d.cts} +27 -3
- package/dist/{create-servers-DMszgNtg.d.ts → create-servers-xx0m3wwM.d.ts} +27 -3
- package/dist/history/index.cjs +1 -1
- package/dist/history/index.cjs.map +1 -1
- package/dist/history/index.d.cts +2 -2
- package/dist/history/index.d.ts +2 -2
- package/dist/history/index.js +1 -1
- package/dist/history/index.js.map +1 -1
- package/dist/{index-D7oj3Pft.d.cts → index-BvKyjs6k.d.cts} +9 -1
- package/dist/{index-BSZP0Gz9.d.ts → index-Njwf8jvu.d.ts} +9 -1
- package/dist/index.cjs +93 -93
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +6 -6
- package/dist/index.d.ts +6 -6
- package/dist/index.js +93 -93
- package/dist/index.js.map +1 -1
- package/dist/{openapi-BdqIkSjO.d.ts → openapi-BHZ2XHgn.d.ts} +1 -1
- package/dist/{openapi-lY43PZXy.d.cts → openapi-DXUE_MEP.d.cts} +1 -1
- package/dist/{read-DfXXxhO4.d.cts → read-D4xAmsbE.d.cts} +139 -9
- package/dist/{read-DfXXxhO4.d.ts → read-D4xAmsbE.d.ts} +139 -9
- package/dist/servers/admin/index.cjs +45 -45
- package/dist/servers/admin/index.cjs.map +1 -1
- package/dist/servers/admin/index.d.cts +3 -3
- package/dist/servers/admin/index.d.ts +3 -3
- package/dist/servers/admin/index.js +45 -45
- package/dist/servers/admin/index.js.map +1 -1
- package/dist/servers/crud/index.d.cts +5 -5
- package/dist/servers/crud/index.d.ts +5 -5
- package/dist/servers/index.cjs +88 -88
- package/dist/servers/index.cjs.map +1 -1
- package/dist/servers/index.d.cts +7 -7
- package/dist/servers/index.d.ts +7 -7
- package/dist/servers/index.js +88 -88
- package/dist/servers/index.js.map +1 -1
- package/dist/{types-BESS89Fu.d.cts → types-C822D0dX.d.ts} +2 -2
- package/dist/{types-BVUFVcpl.d.ts → types-Z1Zy-2hs.d.cts} +2 -2
- package/package.json +2 -2
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import * as zod from 'zod';
|
|
2
2
|
import { z } from 'zod';
|
|
3
3
|
import { HttpsOptions } from 'firebase-functions/v2/https';
|
|
4
|
-
import { H as HistoryConfigForModel,
|
|
4
|
+
import { H as HistoryConfigForModel, b as HistoryMethods } from './read-D4xAmsbE.js';
|
|
5
5
|
import { DocumentReference, Firestore, DocumentSnapshot, WhereFilterOp, Query, CollectionReference, WriteBatch, Transaction } from 'firebase-admin/firestore';
|
|
6
6
|
|
|
7
7
|
/**
|
|
@@ -529,7 +529,7 @@ type ConfiguredRepository<T extends RepositoryConfig<any, any, any, any, any, an
|
|
|
529
529
|
* Kept optional (rather than conditional) so `ConfiguredRepository<any>`
|
|
530
530
|
* stays assignable from any concrete repo config.
|
|
531
531
|
*/
|
|
532
|
-
history?: HistoryMethods<T["type"]
|
|
532
|
+
history?: HistoryMethods<T["type"], Parameters<T["documentRef"]>>;
|
|
533
533
|
};
|
|
534
534
|
|
|
535
535
|
/**
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import * as zod from 'zod';
|
|
2
2
|
import { z } from 'zod';
|
|
3
3
|
import { HttpsOptions } from 'firebase-functions/v2/https';
|
|
4
|
-
import { H as HistoryConfigForModel,
|
|
4
|
+
import { H as HistoryConfigForModel, b as HistoryMethods } from './read-D4xAmsbE.cjs';
|
|
5
5
|
import { DocumentReference, Firestore, DocumentSnapshot, WhereFilterOp, Query, CollectionReference, WriteBatch, Transaction } from 'firebase-admin/firestore';
|
|
6
6
|
|
|
7
7
|
/**
|
|
@@ -529,7 +529,7 @@ type ConfiguredRepository<T extends RepositoryConfig<any, any, any, any, any, an
|
|
|
529
529
|
* Kept optional (rather than conditional) so `ConfiguredRepository<any>`
|
|
530
530
|
* stays assignable from any concrete repo config.
|
|
531
531
|
*/
|
|
532
|
-
history?: HistoryMethods<T["type"]
|
|
532
|
+
history?: HistoryMethods<T["type"], Parameters<T["documentRef"]>>;
|
|
533
533
|
};
|
|
534
534
|
|
|
535
535
|
/**
|
package/package.json
CHANGED