@copilotkit/shared 2.0.0-rc.48 → 2.0.0-rc.49
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/generative-ui/standard/checks.d.cts +4 -4
- package/dist/generative-ui/standard/checks.d.mts +4 -4
- package/dist/generative-ui/standard/composites.d.cts +4 -4
- package/dist/generative-ui/standard/composites.d.mts +4 -4
- package/dist/generative-ui/standard/declarations.d.cts +91 -91
- package/dist/generative-ui/standard/declarations.d.mts +91 -91
- package/dist/generative-ui/standard/inputs.d.cts +60 -60
- package/dist/generative-ui/standard/inputs.d.mts +60 -60
- package/dist/generative-ui/standard/layout.d.cts +90 -90
- package/dist/generative-ui/standard/layout.d.mts +90 -90
- package/dist/generative-ui/standard/media.d.cts +4 -4
- package/dist/generative-ui/standard/media.d.mts +4 -4
- package/dist/generative-ui/standard/text.d.cts +22 -22
- package/dist/generative-ui/standard/text.d.mts +22 -22
- package/dist/index.umd.js +1 -1
- package/dist/package.cjs +1 -1
- package/dist/package.mjs +1 -1
- package/package.json +1 -1
|
@@ -9,9 +9,9 @@ import { z } from "zod";
|
|
|
9
9
|
* component sees a boolean or a `ValidationResult`.
|
|
10
10
|
*/
|
|
11
11
|
declare const severity: z.ZodEnum<{
|
|
12
|
-
info: "info";
|
|
13
|
-
warning: "warning";
|
|
14
12
|
error: "error";
|
|
13
|
+
warning: "warning";
|
|
14
|
+
info: "info";
|
|
15
15
|
}>;
|
|
16
16
|
/** The first failed check of a control, as the control shows it. */
|
|
17
17
|
interface FailedCheck {
|
|
@@ -27,9 +27,9 @@ declare const checksProp: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
|
27
27
|
message: z.ZodOptional<z.ZodString>;
|
|
28
28
|
code: z.ZodOptional<z.ZodString>;
|
|
29
29
|
severity: z.ZodOptional<z.ZodEnum<{
|
|
30
|
-
info: "info";
|
|
31
|
-
warning: "warning";
|
|
32
30
|
error: "error";
|
|
31
|
+
warning: "warning";
|
|
32
|
+
info: "info";
|
|
33
33
|
}>>;
|
|
34
34
|
}, z.core.$loose>]>>;
|
|
35
35
|
message: z.ZodOptional<z.ZodString>;
|
|
@@ -9,9 +9,9 @@ import { z } from "zod";
|
|
|
9
9
|
* component sees a boolean or a `ValidationResult`.
|
|
10
10
|
*/
|
|
11
11
|
declare const severity: z.ZodEnum<{
|
|
12
|
-
info: "info";
|
|
13
|
-
warning: "warning";
|
|
14
12
|
error: "error";
|
|
13
|
+
warning: "warning";
|
|
14
|
+
info: "info";
|
|
15
15
|
}>;
|
|
16
16
|
/** The first failed check of a control, as the control shows it. */
|
|
17
17
|
interface FailedCheck {
|
|
@@ -27,9 +27,9 @@ declare const checksProp: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
|
27
27
|
message: z.ZodOptional<z.ZodString>;
|
|
28
28
|
code: z.ZodOptional<z.ZodString>;
|
|
29
29
|
severity: z.ZodOptional<z.ZodEnum<{
|
|
30
|
-
info: "info";
|
|
31
|
-
warning: "warning";
|
|
32
30
|
error: "error";
|
|
31
|
+
warning: "warning";
|
|
32
|
+
info: "info";
|
|
33
33
|
}>>;
|
|
34
34
|
}, z.core.$loose>]>>;
|
|
35
35
|
message: z.ZodOptional<z.ZodString>;
|
|
@@ -51,11 +51,11 @@ declare const entityCardSchema: z.ZodObject<{
|
|
|
51
51
|
badge: z.ZodOptional<z.ZodObject<{
|
|
52
52
|
label: z.ZodString;
|
|
53
53
|
color: z.ZodOptional<z.ZodEnum<{
|
|
54
|
-
secondary: "secondary";
|
|
55
54
|
success: "success";
|
|
56
|
-
info: "info";
|
|
57
55
|
warning: "warning";
|
|
56
|
+
info: "info";
|
|
58
57
|
danger: "danger";
|
|
58
|
+
secondary: "secondary";
|
|
59
59
|
discovery: "discovery";
|
|
60
60
|
}>>;
|
|
61
61
|
}, z.core.$strip>>;
|
|
@@ -169,11 +169,11 @@ declare const compositeDeclarations: {
|
|
|
169
169
|
badge: z.ZodOptional<z.ZodObject<{
|
|
170
170
|
label: z.ZodString;
|
|
171
171
|
color: z.ZodOptional<z.ZodEnum<{
|
|
172
|
-
secondary: "secondary";
|
|
173
172
|
success: "success";
|
|
174
|
-
info: "info";
|
|
175
173
|
warning: "warning";
|
|
174
|
+
info: "info";
|
|
176
175
|
danger: "danger";
|
|
176
|
+
secondary: "secondary";
|
|
177
177
|
discovery: "discovery";
|
|
178
178
|
}>>;
|
|
179
179
|
}, z.core.$strip>>;
|
|
@@ -51,11 +51,11 @@ declare const entityCardSchema: z.ZodObject<{
|
|
|
51
51
|
badge: z.ZodOptional<z.ZodObject<{
|
|
52
52
|
label: z.ZodString;
|
|
53
53
|
color: z.ZodOptional<z.ZodEnum<{
|
|
54
|
-
secondary: "secondary";
|
|
55
54
|
success: "success";
|
|
56
|
-
info: "info";
|
|
57
55
|
warning: "warning";
|
|
56
|
+
info: "info";
|
|
58
57
|
danger: "danger";
|
|
58
|
+
secondary: "secondary";
|
|
59
59
|
discovery: "discovery";
|
|
60
60
|
}>>;
|
|
61
61
|
}, z.core.$strip>>;
|
|
@@ -169,11 +169,11 @@ declare const compositeDeclarations: {
|
|
|
169
169
|
badge: z.ZodOptional<z.ZodObject<{
|
|
170
170
|
label: z.ZodString;
|
|
171
171
|
color: z.ZodOptional<z.ZodEnum<{
|
|
172
|
-
secondary: "secondary";
|
|
173
172
|
success: "success";
|
|
174
|
-
info: "info";
|
|
175
173
|
warning: "warning";
|
|
174
|
+
info: "info";
|
|
176
175
|
danger: "danger";
|
|
176
|
+
secondary: "secondary";
|
|
177
177
|
discovery: "discovery";
|
|
178
178
|
}>>;
|
|
179
179
|
}, z.core.$strip>>;
|