@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.
@@ -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
- card_img?: string;
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
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@better-giving/fundraiser",
3
- "version": "1.0.2",
3
+ "version": "1.0.3",
4
4
  "peerDependencies": {
5
5
  "@better-giving/types": "1.0.1"
6
6
  },
@@ -12,7 +12,13 @@ export interface CloudsearchFund
12
12
  >,
13
13
  Pick<
14
14
  FundInternal,
15
- "id" | "env" | "active" | "verified" | "donation_total_usd" | "approvers"
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
@@ -6,7 +6,8 @@ export type { FundItem };
6
6
  export interface FundMember {
7
7
  id: number;
8
8
  name: string;
9
- card_img?: string;
9
+ logo: string | undefined;
10
+ banner: string | undefined;
10
11
  }
11
12
 
12
13
  export interface SingleFund extends Omit<NewFund, "members">, FundInternal {