@better-giving/endowment 4.0.3 → 4.0.5
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/interfaces.d.mts +2 -2
- package/package.json +1 -1
- package/src/interfaces.mts +6 -1
package/dist/interfaces.d.mts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import type { IPageKeyed } from "@better-giving/types/api";
|
|
2
2
|
import type { Ensure } from "@better-giving/types/utils";
|
|
3
3
|
import type { IMediaUpdate, INpo, TMediaType } from "./schema.mjs";
|
|
4
|
-
export type { IAllocation, INpo, INpoFields, INposSearch, INpoUpdate, IIncrement, IMediaSearch, IMediaSearchObj, TMediaType, IMediaUpdate, IMilestone, IMilestoneUpdate, IMilestoneNew, IProgramNew, IProgramUpdate, ISocialMediaURLs, } from "./schema.mjs";
|
|
4
|
+
export type { IAllocation, INpo, INpoFields, INposSearch, INpoUpdate, IIncrement, IMediaSearch, IMediaSearchObj, TMediaType, IMediaUpdate, IMilestone, IMilestoneUpdate, IMilestoneNew, IProgram, IProgramDb, IProgramNew, IProgramUpdate, ISocialMediaURLs, } from "./schema.mjs";
|
|
5
5
|
export { type OrgDesignation as EndowDesignation, type Environment, type UnSdgNum, type DonateMethodId, https_url, } from "@better-giving/schemas";
|
|
6
6
|
export interface INpoDb extends INpo {
|
|
7
7
|
/** will only be present for unclaimed NPOs */
|
|
@@ -19,7 +19,7 @@ export interface INpoReferredBy extends Ensure<INpo, "referrer" | "referrer_expi
|
|
|
19
19
|
}
|
|
20
20
|
export interface INpoWithRid extends Ensure<INpo, "referral_id"> {
|
|
21
21
|
}
|
|
22
|
-
export interface INpoWithRegNum extends Pick<INpo, "claimed" | "name" | "hq_country" | "id"> {
|
|
22
|
+
export interface INpoWithRegNum extends Pick<INpo, "registration_number" | "env" | "claimed" | "name" | "hq_country" | "id"> {
|
|
23
23
|
}
|
|
24
24
|
export interface IMedia extends Required<IMediaUpdate> {
|
|
25
25
|
id: string;
|
package/package.json
CHANGED
package/src/interfaces.mts
CHANGED
|
@@ -16,6 +16,8 @@ export type {
|
|
|
16
16
|
IMilestone,
|
|
17
17
|
IMilestoneUpdate,
|
|
18
18
|
IMilestoneNew,
|
|
19
|
+
IProgram,
|
|
20
|
+
IProgramDb,
|
|
19
21
|
IProgramNew,
|
|
20
22
|
IProgramUpdate,
|
|
21
23
|
ISocialMediaURLs,
|
|
@@ -48,7 +50,10 @@ export interface INpoReferredBy
|
|
|
48
50
|
export interface INpoWithRid extends Ensure<INpo, "referral_id"> {}
|
|
49
51
|
|
|
50
52
|
export interface INpoWithRegNum
|
|
51
|
-
extends Pick<
|
|
53
|
+
extends Pick<
|
|
54
|
+
INpo,
|
|
55
|
+
"registration_number" | "env" | "claimed" | "name" | "hq_country" | "id"
|
|
56
|
+
> {}
|
|
52
57
|
|
|
53
58
|
export interface IMedia extends Required<IMediaUpdate> {
|
|
54
59
|
id: string;
|