@better-giving/endowment 4.0.4 → 4.0.6

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.
@@ -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 */
package/dist/schema.d.mts CHANGED
@@ -1,5 +1,5 @@
1
- import { $, $int_gte1, $req, $req_num_gt0, donate_method_id, donate_method_ids, env, int_gte1, org_designation, slug, unsdg_num } from "@better-giving/schemas";
2
- export { org_designation as endow_designation, env, unsdg_num, donate_method_id, donate_method_ids, $int_gte1, int_gte1, $, $req_num_gt0, $req, slug, };
1
+ import { $, $int_gte1, $req, $req_num_gt0, donate_method_id, donate_method_ids, env, https_url, int_gte1, org_designation, slug, unsdg_num } from "@better-giving/schemas";
2
+ export { org_designation as endow_designation, env, unsdg_num, donate_method_id, donate_method_ids, $int_gte1, int_gte1, $, $req_num_gt0, $req, slug, https_url };
3
3
  import * as v from "valibot";
4
4
  export declare const min_payout_amount = 50;
5
5
  export declare const csv: v.LazySchema<v.SchemaWithPipe<[v.StringSchema<undefined>, v.TrimAction]> | v.SchemaWithPipe<[v.SchemaWithPipe<[v.StringSchema<undefined>, v.TrimAction]>, v.RegexAction<string, "invalid csv">]>>;
package/dist/schema.mjs CHANGED
@@ -1,5 +1,5 @@
1
1
  import { $, $int_gte1, $req, $req_num_gt0, donate_method_id, donate_method_ids, env, https_url, int_gte1, org_designation, slug, unsdg_num, } from "@better-giving/schemas";
2
- export { org_designation as endow_designation, env, unsdg_num, donate_method_id, donate_method_ids, $int_gte1, int_gte1, $, $req_num_gt0, $req, slug, };
2
+ export { org_designation as endow_designation, env, unsdg_num, donate_method_id, donate_method_ids, $int_gte1, int_gte1, $, $req_num_gt0, $req, slug, https_url };
3
3
  import * as v from "valibot";
4
4
  export const min_payout_amount = 50;
5
5
  export const csv = v.lazy((x) => {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@better-giving/endowment",
3
- "version": "4.0.4",
3
+ "version": "4.0.6",
4
4
  "dependencies": {
5
5
  "ksuid": "3.0.0"
6
6
  },
@@ -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,
package/src/schema.mts CHANGED
@@ -24,6 +24,7 @@ export {
24
24
  $req_num_gt0,
25
25
  $req,
26
26
  slug,
27
+ https_url
27
28
  };
28
29
  import * as v from "valibot";
29
30