@better-giving/endowment 4.0.24 → 4.0.25
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.d.mts +1 -1
- package/dist/db.mjs +1 -1
- package/package.json +1 -1
- package/src/db.mts +1 -4
package/dist/db.d.mts
CHANGED
|
@@ -136,7 +136,7 @@ export declare class NpoDb extends Db {
|
|
|
136
136
|
npo<T extends TNpoDbKeys[]>(id: string | number, fields?: T): Promise<TNpoDbProjectedTo<T> | undefined>;
|
|
137
137
|
npo_update_comps({ target, slug, social_media_urls, ...update }: INpoUpdate): UpdateComps;
|
|
138
138
|
npo_update(id: number, update: INpoUpdate): Promise<import("@aws-sdk/lib-dynamodb").UpdateCommandOutput>;
|
|
139
|
-
npo_update_txi(id: number, update: INpoUpdate):
|
|
139
|
+
npo_update_txi(id: number, update: INpoUpdate): TxType["Update"];
|
|
140
140
|
prog_milestones(id: string): Promise<IMilestone[]>;
|
|
141
141
|
prog_milestone_delete(pid: string, mid: string): Promise<import("@aws-sdk/lib-dynamodb").DeleteCommandOutput>;
|
|
142
142
|
prog_milestone_put(pid: string, content: IMilestoneNew): Promise<string>;
|
package/dist/db.mjs
CHANGED
package/package.json
CHANGED
package/src/db.mts
CHANGED
|
@@ -379,10 +379,7 @@ export class NpoDb extends Db {
|
|
|
379
379
|
});
|
|
380
380
|
return this.client.send(cmd);
|
|
381
381
|
}
|
|
382
|
-
|
|
383
|
-
id: number,
|
|
384
|
-
update: INpoUpdate
|
|
385
|
-
): Promise<TxType["Update"]> {
|
|
382
|
+
npo_update_txi(id: number, update: INpoUpdate): TxType["Update"] {
|
|
386
383
|
const upd8 = this.npo_update_comps(update);
|
|
387
384
|
return {
|
|
388
385
|
TableName: NpoDb.table,
|