@better-giving/fundraiser 3.0.7 → 3.0.9
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.mjs +1 -1
- package/dist/index.d.mts +2 -0
- package/dist/index.mjs +1 -0
- package/dist/interfaces.d.mts +1 -1
- package/package.json +1 -1
- package/src/db.mts +3 -3
- package/src/index.mts +2 -0
- package/src/interfaces.mts +1 -1
package/dist/db.mjs
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { Db, UpdateBuilder } from "@better-giving/db";
|
|
2
1
|
import { QueryCommand, UpdateCommand, } from "@aws-sdk/lib-dynamodb";
|
|
2
|
+
import { Db, UpdateBuilder } from "@better-giving/db";
|
|
3
3
|
import { UUID_REGEX } from "valibot";
|
|
4
4
|
export class FundDb extends Db {
|
|
5
5
|
static table = "funds";
|
package/dist/index.d.mts
CHANGED
|
@@ -1,3 +1,5 @@
|
|
|
1
1
|
export type { CloudsearchFund as FundItem } from "./cloudsearch.mjs";
|
|
2
2
|
export type { IFundNew, IFundUpdate, IFundsNpoMemberOfSearchObj, IFundsSearchObj, DonateMethodId, Environment, } from "./schema.mjs";
|
|
3
|
+
export type * from "./interfaces.mjs";
|
|
4
|
+
export { FundDb } from "./db.mjs";
|
|
3
5
|
export declare const MAX_EXPIRATION = "9999-12-31T23:59:59Z";
|
package/dist/index.mjs
CHANGED
package/dist/interfaces.d.mts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import type { DonateMethodId, Environment } from "@better-giving/schemas";
|
|
2
|
-
import type { IFundNew } from "./schema.mjs";
|
|
3
2
|
import type { IPageNumbered } from "@better-giving/types/api";
|
|
4
3
|
import type { CloudsearchFund } from "./cloudsearch.mjs";
|
|
4
|
+
import type { IFundNew } from "./schema.mjs";
|
|
5
5
|
export interface IFundSettings {
|
|
6
6
|
hide_bg_tip: boolean;
|
|
7
7
|
donateMethods?: DonateMethodId[];
|
package/package.json
CHANGED
package/src/db.mts
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import { Db, UpdateBuilder, type TxType } from "@better-giving/db";
|
|
2
|
-
import type { IFund } from "./interfaces.mjs";
|
|
3
1
|
import {
|
|
4
2
|
QueryCommand,
|
|
5
|
-
UpdateCommand,
|
|
6
3
|
type QueryCommandInput,
|
|
4
|
+
UpdateCommand,
|
|
7
5
|
} from "@aws-sdk/lib-dynamodb";
|
|
6
|
+
import { Db, type TxType, UpdateBuilder } from "@better-giving/db";
|
|
8
7
|
import { UUID_REGEX } from "valibot";
|
|
8
|
+
import type { IFund } from "./interfaces.mjs";
|
|
9
9
|
import type { IFundUpdate } from "./schema.mjs";
|
|
10
10
|
|
|
11
11
|
export class FundDb extends Db {
|
package/src/index.mts
CHANGED
package/src/interfaces.mts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import type { DonateMethodId, Environment } from "@better-giving/schemas";
|
|
2
|
-
import type { IFundNew } from "./schema.mjs";
|
|
3
2
|
import type { IPageNumbered } from "@better-giving/types/api";
|
|
4
3
|
import type { CloudsearchFund } from "./cloudsearch.mjs";
|
|
4
|
+
import type { IFundNew } from "./schema.mjs";
|
|
5
5
|
|
|
6
6
|
export interface IFundSettings {
|
|
7
7
|
hide_bg_tip: boolean;
|