@better-giving/fundraiser 1.0.9-bg758.1 → 1.0.9-bg758.2
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/cloudsearch.d.mts +1 -1
- package/dist/schema.d.mts +3 -2
- package/package.json +1 -1
- package/src/cloudsearch.mts +7 -2
- package/src/schema.mts +3 -2
package/dist/cloudsearch.d.mts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import type { ToDoc, ToHitFields, ToUpdate } from "@better-giving/types/cloudsearch";
|
|
2
2
|
import type { FundInternal, NewFund } from "./schema.mjs";
|
|
3
|
-
export interface CloudsearchFund extends Pick<NewFund, "name" | "description" | "logo" | "banner" | "featured" | "members" | "target"
|
|
3
|
+
export interface CloudsearchFund extends Pick<NewFund, "name" | "description" | "logo" | "banner" | "featured" | "members" | "target">, Pick<FundInternal, "id" | "env" | "active" | "verified" | "donation_total_usd" | "creator_id" | "creator_name"> {
|
|
4
4
|
/** iso | "9999-12-31T23:59:59.000Z" year 9999 */
|
|
5
5
|
expiration: string;
|
|
6
6
|
}
|
package/dist/schema.d.mts
CHANGED
|
@@ -151,7 +151,8 @@ export interface FundInternal {
|
|
|
151
151
|
verified: boolean;
|
|
152
152
|
/** to date received: initialized to `0` */
|
|
153
153
|
donation_total_usd: number;
|
|
154
|
-
/**
|
|
155
|
-
|
|
154
|
+
/** "{number}" - endow id, "{email} - user*/
|
|
155
|
+
creator_id: string;
|
|
156
|
+
creator_name: string;
|
|
156
157
|
settings: FundSettings;
|
|
157
158
|
}
|
package/package.json
CHANGED
package/src/cloudsearch.mts
CHANGED
|
@@ -15,11 +15,16 @@ export interface CloudsearchFund
|
|
|
15
15
|
| "featured"
|
|
16
16
|
| "members"
|
|
17
17
|
| "target"
|
|
18
|
-
| "npo_owner"
|
|
19
18
|
>,
|
|
20
19
|
Pick<
|
|
21
20
|
FundInternal,
|
|
22
|
-
|
|
21
|
+
| "id"
|
|
22
|
+
| "env"
|
|
23
|
+
| "active"
|
|
24
|
+
| "verified"
|
|
25
|
+
| "donation_total_usd"
|
|
26
|
+
| "creator_id"
|
|
27
|
+
| "creator_name"
|
|
23
28
|
> {
|
|
24
29
|
/** iso | "9999-12-31T23:59:59.000Z" year 9999 */
|
|
25
30
|
expiration: string;
|
package/src/schema.mts
CHANGED
|
@@ -133,7 +133,8 @@ export interface FundInternal {
|
|
|
133
133
|
verified: boolean;
|
|
134
134
|
/** to date received: initialized to `0` */
|
|
135
135
|
donation_total_usd: number;
|
|
136
|
-
/**
|
|
137
|
-
|
|
136
|
+
/** "{number}" - endow id, "{email} - user*/
|
|
137
|
+
creator_id: string;
|
|
138
|
+
creator_name: string;
|
|
138
139
|
settings: FundSettings;
|
|
139
140
|
}
|