@better-giving/endowment 1.0.5 → 1.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.
- package/dist/schema.d.mts +2 -0
- package/dist/schema.mjs +1 -0
- package/package.json +1 -1
- package/src/schema.mts +1 -0
package/dist/schema.d.mts
CHANGED
|
@@ -1,4 +1,6 @@
|
|
|
1
|
+
import { env, orgDesignation, unSdgNum } from "@better-giving/schemas";
|
|
1
2
|
export type { OrgDesignation as EndowDesignation, Environment, UnSdgNum, } from "@better-giving/schemas";
|
|
3
|
+
export { orgDesignation as endowDesignation, env, unSdgNum };
|
|
2
4
|
import { type InferInput, type InferOutput } from "valibot";
|
|
3
5
|
export declare const allocation: import("valibot").SchemaWithPipe<[import("valibot").ObjectSchema<{
|
|
4
6
|
readonly cash: import("valibot").SchemaWithPipe<[import("valibot").NumberSchema<undefined>, import("valibot").IntegerAction<number, undefined>, import("valibot").MinValueAction<number, 0, undefined>, import("valibot").MaxValueAction<number, 100, undefined>]>;
|
package/dist/schema.mjs
CHANGED
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { env, orgDesignation, unSdgNum } from "@better-giving/schemas";
|
|
2
|
+
export { orgDesignation as endowDesignation, env, unSdgNum };
|
|
2
3
|
import { url, array, boolean, check, custom, excludes, integer, isoDate, keyof, lazy, maxLength, maxValue, minLength, minValue, nonEmpty, nullish, number, object, omit, optional, partial, picklist, pipe, regex, string, transform, trim, uuid, } from "valibot";
|
|
3
4
|
const str = pipe(string(), trim());
|
|
4
5
|
const pct = pipe(number(), integer(), minValue(0), maxValue(100));
|
package/package.json
CHANGED