@better-giving/fundraiser 2.0.7 → 2.0.8
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 +16 -44
- package/package.json +3 -3
package/dist/schema.d.mts
CHANGED
|
@@ -21,7 +21,7 @@ export declare const newFund: import("valibot").ObjectSchema<{
|
|
|
21
21
|
readonly target: import("valibot").UnionSchema<[import("valibot").LiteralSchema<"smart", undefined>, import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").TransformAction<string, number>, import("valibot").NumberSchema<undefined>, import("valibot").MinValueAction<number, 0, undefined>, import("valibot").TransformAction<number, string>]>], undefined>;
|
|
22
22
|
readonly videos: import("valibot").ArraySchema<import("valibot").SchemaWithPipe<[import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").TrimAction]>, import("valibot").UrlAction<string, undefined>]>, undefined>;
|
|
23
23
|
readonly npo_owner: import("valibot").SchemaWithPipe<[import("valibot").NumberSchema<undefined>, import("valibot").IntegerAction<number, undefined>, import("valibot").MinValueAction<number, 0, undefined>]>;
|
|
24
|
-
readonly slug: import("valibot").OptionalSchema<
|
|
24
|
+
readonly slug: import("valibot").OptionalSchema<any, never>;
|
|
25
25
|
}, undefined>;
|
|
26
26
|
export declare const fundUpdate: Omit<Omit<import("valibot").ObjectSchema<{
|
|
27
27
|
readonly name: import("valibot").SchemaWithPipe<[import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").TrimAction]>, import("valibot").NonEmptyAction<string, "required">]>;
|
|
@@ -36,7 +36,7 @@ export declare const fundUpdate: Omit<Omit<import("valibot").ObjectSchema<{
|
|
|
36
36
|
readonly target: import("valibot").UnionSchema<[import("valibot").LiteralSchema<"smart", undefined>, import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").TransformAction<string, number>, import("valibot").NumberSchema<undefined>, import("valibot").MinValueAction<number, 0, undefined>, import("valibot").TransformAction<number, string>]>], undefined>;
|
|
37
37
|
readonly videos: import("valibot").ArraySchema<import("valibot").SchemaWithPipe<[import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").TrimAction]>, import("valibot").UrlAction<string, undefined>]>, undefined>;
|
|
38
38
|
readonly npo_owner: import("valibot").SchemaWithPipe<[import("valibot").NumberSchema<undefined>, import("valibot").IntegerAction<number, undefined>, import("valibot").MinValueAction<number, 0, undefined>]>;
|
|
39
|
-
readonly slug: import("valibot").OptionalSchema<
|
|
39
|
+
readonly slug: import("valibot").OptionalSchema<any, never>;
|
|
40
40
|
}, undefined>, "_types" | "_run" | "entries"> & {
|
|
41
41
|
readonly entries: Pick<{
|
|
42
42
|
readonly name: import("valibot").SchemaWithPipe<[import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").TrimAction]>, import("valibot").NonEmptyAction<string, "required">]>;
|
|
@@ -51,18 +51,11 @@ export declare const fundUpdate: Omit<Omit<import("valibot").ObjectSchema<{
|
|
|
51
51
|
readonly target: import("valibot").UnionSchema<[import("valibot").LiteralSchema<"smart", undefined>, import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").TransformAction<string, number>, import("valibot").NumberSchema<undefined>, import("valibot").MinValueAction<number, 0, undefined>, import("valibot").TransformAction<number, string>]>], undefined>;
|
|
52
52
|
readonly videos: import("valibot").ArraySchema<import("valibot").SchemaWithPipe<[import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").TrimAction]>, import("valibot").UrlAction<string, undefined>]>, undefined>;
|
|
53
53
|
readonly npo_owner: import("valibot").SchemaWithPipe<[import("valibot").NumberSchema<undefined>, import("valibot").IntegerAction<number, undefined>, import("valibot").MinValueAction<number, 0, undefined>]>;
|
|
54
|
-
readonly slug: import("valibot").OptionalSchema<
|
|
54
|
+
readonly slug: import("valibot").OptionalSchema<any, never>;
|
|
55
55
|
}, "name" | "description" | "banner" | "logo" | "target" | "videos" | "slug" | "featured">;
|
|
56
|
-
_run(dataset: import("valibot").Dataset<unknown, never>, config: import("valibot").Config<
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
banner: string;
|
|
60
|
-
logo: string;
|
|
61
|
-
target: string;
|
|
62
|
-
videos: string[];
|
|
63
|
-
featured: boolean;
|
|
64
|
-
slug?: string | undefined;
|
|
65
|
-
}, import("valibot").StringIssue | import("valibot").NumberIssue | import("valibot").MinValueIssue<number, 0> | import("valibot").NonEmptyIssue<string> | import("valibot").UrlIssue<string> | import("valibot").ArrayIssue | import("valibot").BooleanIssue | import("valibot").LiteralIssue | import("valibot").UnionIssue<import("valibot").StringIssue | import("valibot").NumberIssue | import("valibot").MinValueIssue<number, 0> | import("valibot").LiteralIssue> | import("valibot").CustomIssue | import("valibot").MaxLengthIssue<string, 30> | import("valibot").RegexIssue<string> | import("valibot").ExcludesIssue<string, ".."> | import("valibot").ObjectIssue>;
|
|
56
|
+
_run(dataset: import("valibot").Dataset<unknown, never>, config: import("valibot").Config<any>): import("valibot").Dataset<{
|
|
57
|
+
[x: string]: any;
|
|
58
|
+
}, any>;
|
|
66
59
|
readonly _types?: {
|
|
67
60
|
readonly input: {
|
|
68
61
|
name: string;
|
|
@@ -72,19 +65,12 @@ export declare const fundUpdate: Omit<Omit<import("valibot").ObjectSchema<{
|
|
|
72
65
|
target: string;
|
|
73
66
|
videos: string[];
|
|
74
67
|
featured: boolean;
|
|
75
|
-
slug?:
|
|
68
|
+
slug?: any;
|
|
76
69
|
};
|
|
77
70
|
readonly output: {
|
|
78
|
-
|
|
79
|
-
description: string;
|
|
80
|
-
banner: string;
|
|
81
|
-
logo: string;
|
|
82
|
-
target: string;
|
|
83
|
-
videos: string[];
|
|
84
|
-
featured: boolean;
|
|
85
|
-
slug?: string | undefined;
|
|
71
|
+
[x: string]: any;
|
|
86
72
|
};
|
|
87
|
-
readonly issue:
|
|
73
|
+
readonly issue: any;
|
|
88
74
|
} | undefined;
|
|
89
75
|
}, "_types" | "_run" | "entries"> & {
|
|
90
76
|
readonly entries: {
|
|
@@ -94,19 +80,12 @@ export declare const fundUpdate: Omit<Omit<import("valibot").ObjectSchema<{
|
|
|
94
80
|
readonly logo: import("valibot").OptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").TrimAction]>, import("valibot").UrlAction<string, undefined>]>, never>;
|
|
95
81
|
readonly target: import("valibot").OptionalSchema<import("valibot").UnionSchema<[import("valibot").LiteralSchema<"smart", undefined>, import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").TransformAction<string, number>, import("valibot").NumberSchema<undefined>, import("valibot").MinValueAction<number, 0, undefined>, import("valibot").TransformAction<number, string>]>], undefined>, never>;
|
|
96
82
|
readonly videos: import("valibot").OptionalSchema<import("valibot").ArraySchema<import("valibot").SchemaWithPipe<[import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").TrimAction]>, import("valibot").UrlAction<string, undefined>]>, undefined>, never>;
|
|
97
|
-
readonly slug: import("valibot").OptionalSchema<import("valibot").OptionalSchema<
|
|
83
|
+
readonly slug: import("valibot").OptionalSchema<import("valibot").OptionalSchema<any, never>, never>;
|
|
98
84
|
readonly featured: import("valibot").OptionalSchema<import("valibot").BooleanSchema<undefined>, never>;
|
|
99
85
|
};
|
|
100
|
-
_run(dataset: import("valibot").Dataset<unknown, never>, config: import("valibot").Config<
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
banner?: string | undefined;
|
|
104
|
-
logo?: string | undefined;
|
|
105
|
-
target?: string | undefined;
|
|
106
|
-
videos?: string[] | undefined;
|
|
107
|
-
slug?: string | undefined;
|
|
108
|
-
featured?: boolean | undefined;
|
|
109
|
-
}, import("valibot").StringIssue | import("valibot").NumberIssue | import("valibot").MinValueIssue<number, 0> | import("valibot").NonEmptyIssue<string> | import("valibot").UrlIssue<string> | import("valibot").ArrayIssue | import("valibot").BooleanIssue | import("valibot").LiteralIssue | import("valibot").UnionIssue<import("valibot").StringIssue | import("valibot").NumberIssue | import("valibot").MinValueIssue<number, 0> | import("valibot").LiteralIssue> | import("valibot").CustomIssue | import("valibot").MaxLengthIssue<string, 30> | import("valibot").RegexIssue<string> | import("valibot").ExcludesIssue<string, ".."> | import("valibot").ObjectIssue>;
|
|
86
|
+
_run(dataset: import("valibot").Dataset<unknown, never>, config: import("valibot").Config<any>): import("valibot").Dataset<{
|
|
87
|
+
[x: string]: any;
|
|
88
|
+
}, any>;
|
|
110
89
|
readonly _types?: {
|
|
111
90
|
readonly input: {
|
|
112
91
|
name?: string | undefined;
|
|
@@ -115,20 +94,13 @@ export declare const fundUpdate: Omit<Omit<import("valibot").ObjectSchema<{
|
|
|
115
94
|
logo?: string | undefined;
|
|
116
95
|
target?: string | undefined;
|
|
117
96
|
videos?: string[] | undefined;
|
|
118
|
-
slug?:
|
|
97
|
+
slug?: any;
|
|
119
98
|
featured?: boolean | undefined;
|
|
120
99
|
};
|
|
121
100
|
readonly output: {
|
|
122
|
-
|
|
123
|
-
description?: string | undefined;
|
|
124
|
-
banner?: string | undefined;
|
|
125
|
-
logo?: string | undefined;
|
|
126
|
-
target?: string | undefined;
|
|
127
|
-
videos?: string[] | undefined;
|
|
128
|
-
slug?: string | undefined;
|
|
129
|
-
featured?: boolean | undefined;
|
|
101
|
+
[x: string]: any;
|
|
130
102
|
};
|
|
131
|
-
readonly issue:
|
|
103
|
+
readonly issue: any;
|
|
132
104
|
} | undefined;
|
|
133
105
|
};
|
|
134
106
|
export declare const fundsParams: import("valibot").ObjectSchema<{
|
package/package.json
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@better-giving/fundraiser",
|
|
3
|
-
"version": "2.0.
|
|
3
|
+
"version": "2.0.8",
|
|
4
4
|
"peerDependencies": {
|
|
5
5
|
"valibot": "0.42.0",
|
|
6
|
-
"@better-giving/endowment": "
|
|
7
|
-
"@better-giving/schemas": "1.2.
|
|
6
|
+
"@better-giving/endowment": "3.0.2",
|
|
7
|
+
"@better-giving/schemas": "1.2.3",
|
|
8
8
|
"@better-giving/types": "1.1.8"
|
|
9
9
|
},
|
|
10
10
|
"devDependencies": {
|