@better-giving/endowment 1.0.11 → 1.0.13
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 { Media, Endow as NEndow } 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, } from "./schema.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";
|
|
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
|
@@ -740,6 +740,7 @@ export declare const mediaUpdate: import("valibot").ObjectSchema<{
|
|
|
740
740
|
readonly url: import("valibot").OptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").TrimAction]>, import("valibot").UrlAction<string, undefined>]>, never>;
|
|
741
741
|
readonly featured: import("valibot").OptionalSchema<import("valibot").BooleanSchema<undefined>, never>;
|
|
742
742
|
}, undefined>;
|
|
743
|
+
export type MediaUpdate = InferOutput<typeof mediaUpdate>;
|
|
743
744
|
export type MediaId = InferOutput<typeof mediaKsuid>;
|
|
744
745
|
export declare const mediaQueryParams: import("valibot").ObjectSchema<{
|
|
745
746
|
readonly type: import("valibot").PicklistSchema<readonly ["album", "article", "video"], undefined>;
|
package/package.json
CHANGED
package/src/index.mts
CHANGED
package/src/schema.mts
CHANGED