@better-giving/endowment 1.1.12 → 1.1.14

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/db.d.mts CHANGED
@@ -24,6 +24,9 @@ export declare namespace Endow {
24
24
  gsi1PK?: `ReferredBy#${string}`;
25
25
  /** expiry / date onboarded */
26
26
  gsi1SK?: string;
27
+ /** Rid#referral_id */
28
+ gsi2PK?: `Rid#${string}`;
29
+ gsi2SK?: `Rid#${string}`;
27
30
  /** will only be present for unclaimed NPOs */
28
31
  updated_at_auto?: string;
29
32
  /** in USD @deprecated */
@@ -106,4 +109,12 @@ export declare namespace Gsi1 {
106
109
  }
107
110
  }
108
111
  }
112
+ export declare namespace Gsi2 {
113
+ namespace Rid {
114
+ interface Keys extends Required<Pick<Endow.NonKeyAttributes, "gsi1PK" | "gsi1SK">> {
115
+ }
116
+ interface DbRecord extends Ensure<Endow.DbRecord, "gsi1PK" | "gsi1SK" | "referral_id"> {
117
+ }
118
+ }
119
+ }
109
120
  export type DbRecord = Endow.DbRecord | Program.DbRecord;