@timardex/cluemart-server-shared 2.2.30 → 2.3.0
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.cjs.map +1 -1
- package/dist/index.d.mts +6 -6
- package/dist/index.d.ts +6 -6
- package/dist/index.mjs.map +1 -1
- package/dist/service/index.cjs.map +1 -1
- package/dist/service/index.d.mts +6 -6
- package/dist/service/index.d.ts +6 -6
- package/dist/service/index.mjs.map +1 -1
- package/package.json +2 -2
package/dist/service/index.d.mts
CHANGED
|
@@ -214,9 +214,9 @@ declare function buildUserHasEnoughPointsFilter(amount: number): {
|
|
|
214
214
|
* 0 and dropping emptied ones. Pair with `buildUserHasEnoughPointsFilter` so
|
|
215
215
|
* the full amount is always covered.
|
|
216
216
|
*
|
|
217
|
-
* Non-array `overallPoints` values are handled by `buildLedgerWriteExpr`:
|
|
218
|
-
*
|
|
219
|
-
*
|
|
217
|
+
* Non-array `overallPoints` values are handled by `buildLedgerWriteExpr`:
|
|
218
|
+
* null/missing becomes an empty ledger, while any other shape is left untouched
|
|
219
|
+
* rather than replaced.
|
|
220
220
|
*/
|
|
221
221
|
declare function buildUserPointDebitPipeline(amount: number): {
|
|
222
222
|
$set: {
|
|
@@ -234,9 +234,9 @@ declare function buildUserPointDebitPipeline(amount: number): {
|
|
|
234
234
|
* alone would remove an unrelated award of the same type (e.g. checking out of
|
|
235
235
|
* one event stripping a different event's check-in points).
|
|
236
236
|
*
|
|
237
|
-
* Non-array `overallPoints` values are handled by `buildLedgerWriteExpr`:
|
|
238
|
-
*
|
|
239
|
-
*
|
|
237
|
+
* Non-array `overallPoints` values are handled by `buildLedgerWriteExpr`:
|
|
238
|
+
* null/missing becomes an empty ledger, while any other shape is left untouched
|
|
239
|
+
* rather than replaced.
|
|
240
240
|
*/
|
|
241
241
|
declare function buildUserPointEntryRemovalPipeline(pointType: EnumPointType, sourceId?: string): {
|
|
242
242
|
$set: {
|
package/dist/service/index.d.ts
CHANGED
|
@@ -214,9 +214,9 @@ declare function buildUserHasEnoughPointsFilter(amount: number): {
|
|
|
214
214
|
* 0 and dropping emptied ones. Pair with `buildUserHasEnoughPointsFilter` so
|
|
215
215
|
* the full amount is always covered.
|
|
216
216
|
*
|
|
217
|
-
* Non-array `overallPoints` values are handled by `buildLedgerWriteExpr`:
|
|
218
|
-
*
|
|
219
|
-
*
|
|
217
|
+
* Non-array `overallPoints` values are handled by `buildLedgerWriteExpr`:
|
|
218
|
+
* null/missing becomes an empty ledger, while any other shape is left untouched
|
|
219
|
+
* rather than replaced.
|
|
220
220
|
*/
|
|
221
221
|
declare function buildUserPointDebitPipeline(amount: number): {
|
|
222
222
|
$set: {
|
|
@@ -234,9 +234,9 @@ declare function buildUserPointDebitPipeline(amount: number): {
|
|
|
234
234
|
* alone would remove an unrelated award of the same type (e.g. checking out of
|
|
235
235
|
* one event stripping a different event's check-in points).
|
|
236
236
|
*
|
|
237
|
-
* Non-array `overallPoints` values are handled by `buildLedgerWriteExpr`:
|
|
238
|
-
*
|
|
239
|
-
*
|
|
237
|
+
* Non-array `overallPoints` values are handled by `buildLedgerWriteExpr`:
|
|
238
|
+
* null/missing becomes an empty ledger, while any other shape is left untouched
|
|
239
|
+
* rather than replaced.
|
|
240
240
|
*/
|
|
241
241
|
declare function buildUserPointEntryRemovalPipeline(pointType: EnumPointType, sourceId?: string): {
|
|
242
242
|
$set: {
|