@better-giving/fundraiser 7.0.0 → 7.0.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/db.d.mts +1 -1
- package/dist/db.mjs +1 -1
- package/dist/interfaces.d.mts +1 -1
- package/package.json +1 -1
- package/src/db.mts +1 -1
- package/src/interfaces.mts +1 -1
package/dist/db.d.mts
CHANGED
|
@@ -30,7 +30,7 @@ export declare class FundDb extends Db {
|
|
|
30
30
|
readonly slug?: string | undefined;
|
|
31
31
|
readonly id: string;
|
|
32
32
|
readonly spam_score?: number;
|
|
33
|
-
readonly
|
|
33
|
+
readonly created_at?: string;
|
|
34
34
|
readonly env: import("@better-giving/schemas").Environment;
|
|
35
35
|
readonly active: boolean;
|
|
36
36
|
readonly verified: boolean;
|
package/dist/db.mjs
CHANGED
package/dist/interfaces.d.mts
CHANGED
package/package.json
CHANGED
package/src/db.mts
CHANGED
|
@@ -28,7 +28,7 @@ export class FundDb extends Db {
|
|
|
28
28
|
fund_record(data: IFund) {
|
|
29
29
|
return {
|
|
30
30
|
...this.key_fund(data.id),
|
|
31
|
-
...(data.
|
|
31
|
+
...(data.created_at && this.gsi1_funds_key(data.created_at)),
|
|
32
32
|
...data,
|
|
33
33
|
} as const;
|
|
34
34
|
}
|
package/src/interfaces.mts
CHANGED