@better-giving/endowment 4.0.33 → 4.0.34
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/schema.d.mts +1 -0
- package/dist/schema.mjs +1 -0
- package/package.json +1 -1
- package/src/schema.mts +1 -0
package/dist/schema.d.mts
CHANGED
|
@@ -848,6 +848,7 @@ export declare const npos_search: v.ObjectSchema<{
|
|
|
848
848
|
readonly kyc_only: v.OptionalSchema<v.SchemaWithPipe<[v.SchemaWithPipe<[v.LazySchema<v.SchemaWithPipe<[v.StringSchema<"required">, v.TrimAction]> | v.SchemaWithPipe<[v.SchemaWithPipe<[v.StringSchema<"required">, v.TrimAction]>, v.RegexAction<string, "invalid csv">]>>, v.TransformAction<string, string[]>, v.FilterItemsAction<string[]>]>, v.MapItemsAction<string[], boolean>, v.ArraySchema<v.BooleanSchema<undefined>, undefined>]>, never>;
|
|
849
849
|
readonly fund_opt_in: v.OptionalSchema<v.SchemaWithPipe<[v.SchemaWithPipe<[v.LazySchema<v.SchemaWithPipe<[v.StringSchema<"required">, v.TrimAction]> | v.SchemaWithPipe<[v.SchemaWithPipe<[v.StringSchema<"required">, v.TrimAction]>, v.RegexAction<string, "invalid csv">]>>, v.TransformAction<string, string[]>, v.FilterItemsAction<string[]>]>, v.MapItemsAction<string[], boolean>, v.ArraySchema<v.BooleanSchema<undefined>, undefined>]>, never>;
|
|
850
850
|
readonly claimed: v.OptionalSchema<v.SchemaWithPipe<[v.SchemaWithPipe<[v.LazySchema<v.SchemaWithPipe<[v.StringSchema<"required">, v.TrimAction]> | v.SchemaWithPipe<[v.SchemaWithPipe<[v.StringSchema<"required">, v.TrimAction]>, v.RegexAction<string, "invalid csv">]>>, v.TransformAction<string, string[]>, v.FilterItemsAction<string[]>]>, v.MapItemsAction<string[], boolean>, v.ArraySchema<v.BooleanSchema<undefined>, undefined>]>, never>;
|
|
851
|
+
readonly published: v.OptionalSchema<v.SchemaWithPipe<[v.SchemaWithPipe<[v.LazySchema<v.SchemaWithPipe<[v.StringSchema<"required">, v.TrimAction]> | v.SchemaWithPipe<[v.SchemaWithPipe<[v.StringSchema<"required">, v.TrimAction]>, v.RegexAction<string, "invalid csv">]>>, v.TransformAction<string, string[]>, v.FilterItemsAction<string[]>]>, v.MapItemsAction<string[], boolean>, v.ArraySchema<v.BooleanSchema<undefined>, undefined>]>, never>;
|
|
851
852
|
readonly countries: v.OptionalSchema<v.SchemaWithPipe<[v.SchemaWithPipe<[v.LazySchema<v.SchemaWithPipe<[v.StringSchema<"required">, v.TrimAction]> | v.SchemaWithPipe<[v.SchemaWithPipe<[v.StringSchema<"required">, v.TrimAction]>, v.RegexAction<string, "invalid csv">]>>, v.TransformAction<string, string[]>, v.FilterItemsAction<string[]>]>, v.ArraySchema<v.SchemaWithPipe<[v.StringSchema<"required">, v.TrimAction]>, undefined>]>, never>;
|
|
852
853
|
readonly fields: v.OptionalSchema<v.SchemaWithPipe<[v.SchemaWithPipe<[v.LazySchema<v.SchemaWithPipe<[v.StringSchema<"required">, v.TrimAction]> | v.SchemaWithPipe<[v.SchemaWithPipe<[v.StringSchema<"required">, v.TrimAction]>, v.RegexAction<string, "invalid csv">]>>, v.TransformAction<string, string[]>, v.FilterItemsAction<string[]>]>, v.ArraySchema<v.PicklistSchema<["tagline", "card_img", "active_in_countries", "sdgs", "published", "fund_opt_in", "target", "id", "env", "registration_number", "name", "endow_designation", "hq_country", "claimed", "kyc_donors_only", "contributions_total", "contributions_count"], undefined>, undefined>]>, never>;
|
|
853
854
|
}, undefined>;
|
package/dist/schema.mjs
CHANGED
|
@@ -152,6 +152,7 @@ export const npos_search = v.object({
|
|
|
152
152
|
kyc_only: v.optional(bool_csv),
|
|
153
153
|
fund_opt_in: v.optional(bool_csv),
|
|
154
154
|
claimed: v.optional(bool_csv),
|
|
155
|
+
published: v.optional(bool_csv),
|
|
155
156
|
countries: v.optional(v.pipe(csv_strs, v.array($))),
|
|
156
157
|
fields: v.optional(v.pipe(csv_strs, v.array(npo_item_fields))),
|
|
157
158
|
});
|
package/package.json
CHANGED
package/src/schema.mts
CHANGED
|
@@ -267,6 +267,7 @@ export const npos_search = v.object({
|
|
|
267
267
|
kyc_only: v.optional(bool_csv),
|
|
268
268
|
fund_opt_in: v.optional(bool_csv),
|
|
269
269
|
claimed: v.optional(bool_csv),
|
|
270
|
+
published: v.optional(bool_csv),
|
|
270
271
|
countries: v.optional(v.pipe(csv_strs, v.array($))),
|
|
271
272
|
fields: v.optional(v.pipe(csv_strs, v.array(npo_item_fields))),
|
|
272
273
|
});
|