@spytecgps/nova-orm 1.4.299 → 1.4.301
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.
|
@@ -14,7 +14,7 @@ export type ReferralCreditType = (typeof typeArray)[number];
|
|
|
14
14
|
* total earned = SUM(amountCents) WHERE type = 'earned'
|
|
15
15
|
* credit applied = -SUM(amountCents) WHERE type = 'applied'
|
|
16
16
|
* A negative overall balance is meaningful — it is a clawback of credit that an invoice had already
|
|
17
|
-
* consumed, and is settled by pushing a positive (debit) transaction
|
|
17
|
+
* consumed, and is settled by pushing a positive (debit) transaction to Stripe.
|
|
18
18
|
*/
|
|
19
19
|
export declare class ReferralCredit {
|
|
20
20
|
id: number;
|
|
@@ -30,9 +30,10 @@ export declare class ReferralCredit {
|
|
|
30
30
|
/** `issuedAt + 12 months`. Set on `earned` rows only. */
|
|
31
31
|
expiresAt: Date | null;
|
|
32
32
|
/**
|
|
33
|
-
* The provider's own reference for this movement, and the reason a retried drip cannot
|
|
34
|
-
* — it is uniquely indexed. A Stripe customer balance transaction id on the Stripe
|
|
35
|
-
* the debit id when a clawback is settled
|
|
33
|
+
* The provider's own reference for this movement, and the reason a retried drip cannot
|
|
34
|
+
* double-apply — it is uniquely indexed. A Stripe customer balance transaction id on the Stripe
|
|
35
|
+
* path, including the debit id when a clawback is settled; the discount id Loop returns on the
|
|
36
|
+
* Loop path.
|
|
36
37
|
*
|
|
37
38
|
* Deliberately not named for Stripe: the referrer's platform decides which sink is used, and a
|
|
38
39
|
* Loop-billed referrer is paid with a subscription discount rather than a balance transaction.
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
3
|
var _1684483704434AddLowerCaseIndex = require('../1684483704434-addLowerCaseIndex.js');
|
|
4
|
-
var _1684483705002UpdateSecurityUserViewsV2 = require('../1684483705002-updateSecurityUserViewsV2.js');
|
|
5
4
|
var _1684483705001UpdateSecurityUserViewsV1 = require('../1684483705001-updateSecurityUserViewsV1.js');
|
|
5
|
+
var _1684483705002UpdateSecurityUserViewsV2 = require('../1684483705002-updateSecurityUserViewsV2.js');
|
|
6
6
|
var _1746434400000AddQuickSearchFulltextIndexes = require('../1746434400000-addQuickSearchFulltextIndexes.js');
|
|
7
7
|
|
|
8
8
|
|
|
9
9
|
|
|
10
10
|
exports.addLowerCaseIndex1684483704434 = _1684483704434AddLowerCaseIndex.addLowerCaseIndex1684483704434;
|
|
11
|
-
exports.updateSecurityUserViewsV21684483705002 = _1684483705002UpdateSecurityUserViewsV2.updateSecurityUserViewsV21684483705002;
|
|
12
11
|
exports.updateSecurityUserViewsV11684483705001 = _1684483705001UpdateSecurityUserViewsV1.updateSecurityUserViewsV11684483705001;
|
|
12
|
+
exports.updateSecurityUserViewsV21684483705002 = _1684483705002UpdateSecurityUserViewsV2.updateSecurityUserViewsV21684483705002;
|
|
13
13
|
exports.addQuickSearchFulltextIndexes1746434400000 = _1746434400000AddQuickSearchFulltextIndexes.addQuickSearchFulltextIndexes1746434400000;
|
package/package.json
CHANGED
package/schema.sql
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
-- nova-orm-schema-checksum:
|
|
1
|
+
-- nova-orm-schema-checksum: 149086f9ee6810590d7d7c72b7849a67
|
|
2
2
|
-- Nova ORM Schema Dump
|
|
3
|
-
-- Generated at: 2026-09-
|
|
3
|
+
-- Generated at: 2026-09-02T23:29:09.511Z
|
|
4
4
|
|
|
5
5
|
SET FOREIGN_KEY_CHECKS = 0;
|
|
6
6
|
|