@better-giving/fundraiser 1.0.9-bg758.2 → 1.0.9-bg758.4

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,7 +1,7 @@
1
1
  import type { ToDoc, ToHitFields, ToUpdate } from "@better-giving/types/cloudsearch";
2
2
  import type { FundInternal, NewFund } from "./schema.mjs";
3
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
- /** iso | "9999-12-31T23:59:59.000Z" year 9999 */
4
+ /** iso | "9999-12-31T23:59:59Z" year 9999 */
5
5
  expiration: string;
6
6
  }
7
7
  /** uuidv4 */
package/dist/index.d.mts CHANGED
@@ -16,3 +16,4 @@ export interface FundsPage {
16
16
  page: number;
17
17
  numPages: number;
18
18
  }
19
+ export declare const MAX_EXPIRATION = "9999-12-31T23:59:59Z";
package/dist/index.mjs CHANGED
@@ -1 +1 @@
1
- export {};
1
+ export const MAX_EXPIRATION = "9999-12-31T23:59:59Z";
package/package.json CHANGED
@@ -1,25 +1,25 @@
1
1
  {
2
- "name": "@better-giving/fundraiser",
3
- "version": "1.0.9-bg758.2",
4
- "peerDependencies": {
5
- "@better-giving/schemas": "1.0.2",
6
- "@better-giving/types": "1.0.2"
7
- },
8
- "devDependencies": {
9
- "@better-giving/config": "workspace:*"
10
- },
11
- "files": [
12
- "src",
13
- "dist"
14
- ],
15
- "exports": {
16
- ".": "./dist/index.mjs",
17
- "./schema": "./dist/schema.mjs",
18
- "./db": "./dist/db.mjs",
19
- "./cloudsearch": "./dist/cloudsearch.mjs"
20
- },
21
- "scripts": {
22
- "publish": "npm publish --access public",
23
- "build": "tsc --outDir dist"
24
- }
2
+ "name": "@better-giving/fundraiser",
3
+ "version": "1.0.9-bg758.4",
4
+ "peerDependencies": {
5
+ "@better-giving/schemas": "1.0.2",
6
+ "@better-giving/types": "1.0.3"
7
+ },
8
+ "devDependencies": {
9
+ "@better-giving/config": "workspace:*"
10
+ },
11
+ "files": [
12
+ "src",
13
+ "dist"
14
+ ],
15
+ "exports": {
16
+ ".": "./dist/index.mjs",
17
+ "./schema": "./dist/schema.mjs",
18
+ "./db": "./dist/db.mjs",
19
+ "./cloudsearch": "./dist/cloudsearch.mjs"
20
+ },
21
+ "scripts": {
22
+ "publish": "npm publish --access public",
23
+ "build": "tsc --outDir dist"
24
+ }
25
25
  }
@@ -26,7 +26,7 @@ export interface CloudsearchFund
26
26
  | "creator_id"
27
27
  | "creator_name"
28
28
  > {
29
- /** iso | "9999-12-31T23:59:59.000Z" year 9999 */
29
+ /** iso | "9999-12-31T23:59:59Z" year 9999 */
30
30
  expiration: string;
31
31
  }
32
32
 
package/src/index.mts CHANGED
@@ -26,3 +26,5 @@ export interface FundsPage {
26
26
  page: number;
27
27
  numPages: number;
28
28
  }
29
+
30
+ export const MAX_EXPIRATION = "9999-12-31T23:59:59Z";