@better-giving/fundraiser 1.0.2 → 1.0.3
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/index.d.mts +2 -1
- package/package.json +1 -1
- package/src/cloudsearch.mts +7 -1
- package/src/index.mts +2 -1
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" | "featured" | "members" | "target">, Pick<FundInternal, "id" | "env" | "active" | "verified" | "donation_total_usd" | "approvers"> {
|
|
3
|
+
export interface CloudsearchFund extends Pick<NewFund, "name" | "description" | "logo" | "featured" | "members" | "target">, Pick<FundInternal, "id" | "env" | "active" | "verified" | "donation_total_usd" | "approvers" | "creator"> {
|
|
4
4
|
/** iso | "9999-12-31T23:59:59.000Z" year 9999 */
|
|
5
5
|
expiration: string;
|
|
6
6
|
}
|
package/dist/index.d.mts
CHANGED
|
@@ -5,7 +5,8 @@ export type { FundItem };
|
|
|
5
5
|
export interface FundMember {
|
|
6
6
|
id: number;
|
|
7
7
|
name: string;
|
|
8
|
-
|
|
8
|
+
logo: string | undefined;
|
|
9
|
+
banner: string | undefined;
|
|
9
10
|
}
|
|
10
11
|
export interface SingleFund extends Omit<NewFund, "members">, FundInternal {
|
|
11
12
|
members: FundMember[];
|
package/package.json
CHANGED
package/src/cloudsearch.mts
CHANGED
|
@@ -12,7 +12,13 @@ export interface CloudsearchFund
|
|
|
12
12
|
>,
|
|
13
13
|
Pick<
|
|
14
14
|
FundInternal,
|
|
15
|
-
|
|
15
|
+
| "id"
|
|
16
|
+
| "env"
|
|
17
|
+
| "active"
|
|
18
|
+
| "verified"
|
|
19
|
+
| "donation_total_usd"
|
|
20
|
+
| "approvers"
|
|
21
|
+
| "creator"
|
|
16
22
|
> {
|
|
17
23
|
/** iso | "9999-12-31T23:59:59.000Z" year 9999 */
|
|
18
24
|
expiration: string;
|
package/src/index.mts
CHANGED