@better-giving/endowment 1.0.14 → 1.0.16
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/index.d.mts +1 -1
- package/dist/schema.d.mts +1 -0
- package/package.json +1 -1
- package/src/index.mts +1 -0
- package/src/schema.mts +1 -0
package/dist/index.d.mts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import type { Fields as FundItem } from "./cloudsearch.mjs";
|
|
2
2
|
import type { Endow as NEndow, Media } from "./db.mjs";
|
|
3
|
-
export type { Allocation, DonateMethodId, EndowByEinParams, EndowDesignation, EndowQueryParam, EndowsQueryParams, EndowUpdate, Environment, Increment, Milestone, MilestoneUpdate, NewMilestone, NewProgram, Program, ProgramUpdate, SocialMediaURLs, UnSdgNum, MediaQueryParams, MediaType, MediaUpdate, } from "./schema.mjs";
|
|
3
|
+
export type { Allocation, DonateMethodId, EndowByEinParams, EndowDesignation, EndowQueryParam, EndowsQueryParams, EndowUpdate, Environment, Increment, Milestone, MilestoneUpdate, NewMilestone, NewProgram, Program, ProgramUpdate, SocialMediaURLs, UnSdgNum, MediaQueryParams, MediaQueryParamsObj, MediaType, MediaUpdate, } from "./schema.mjs";
|
|
4
4
|
export type { FundItem };
|
|
5
5
|
export type Endow = Pick<NEndow.DbRecord, "id" | "slug" | "active_in_countries" | "endow_designation" | "fiscal_sponsored" | "hide_bg_tip" | "hq_country" | "image" | "card_img" | "kyc_donors_only" | "logo" | "name" | "overview" | "published" | "registration_number" | "sdgs" | "social_media_urls" | "street_address" | "tagline" | "url" | "claimed" | "progDonationsAllowed" | "donateMethods" | "allocation" | "increments" | "receiptMsg">;
|
|
6
6
|
/** web-app format */
|
package/dist/schema.d.mts
CHANGED
|
@@ -750,3 +750,4 @@ export declare const mediaQueryParams: import("valibot").ObjectSchema<{
|
|
|
750
750
|
readonly limit: import("valibot").OptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").TransformAction<string, number>, import("valibot").NumberSchema<undefined>, import("valibot").IntegerAction<number, undefined>, import("valibot").MinValueAction<number, 1, undefined>]>, never>;
|
|
751
751
|
}, undefined>;
|
|
752
752
|
export type MediaQueryParams = InferInput<typeof mediaQueryParams>;
|
|
753
|
+
export type MediaQueryParamsObj = InferOutput<typeof mediaQueryParams>;
|
package/package.json
CHANGED
package/src/index.mts
CHANGED
package/src/schema.mts
CHANGED