@magemetrics/ai 0.15.0 → 0.16.0
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/react/ai.js +28191 -28322
- package/dist/react/index.d.ts +6 -5
- package/dist/styles.css +1 -1
- package/dist/web-component/web-component.es.js +25504 -25176
- package/package.json +14 -14
package/dist/react/index.d.ts
CHANGED
|
@@ -143,6 +143,7 @@ export declare interface ChatInputContextValue {
|
|
|
143
143
|
isLoading: boolean;
|
|
144
144
|
isStreaming: boolean;
|
|
145
145
|
isError: boolean;
|
|
146
|
+
isErrorRetryable: boolean;
|
|
146
147
|
isAwaitingUserAnswer: boolean;
|
|
147
148
|
onRetry?: () => void;
|
|
148
149
|
onStop?: () => void;
|
|
@@ -387,8 +388,8 @@ declare const FrontendReportSchema: z.ZodObject<{
|
|
|
387
388
|
title: z.ZodString;
|
|
388
389
|
id: z.ZodNumber;
|
|
389
390
|
uuid: z.ZodString;
|
|
390
|
-
request: z.ZodNullable<z.ZodString>;
|
|
391
391
|
created_at: z.ZodString;
|
|
392
|
+
request: z.ZodNullable<z.ZodString>;
|
|
392
393
|
data_summary: z.ZodObject<{
|
|
393
394
|
columns: z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
394
395
|
position: z.ZodOptional<z.ZodNumber>;
|
|
@@ -424,6 +425,7 @@ declare type FrontendVisualization = z.output<typeof FrontendVisualizationSchema
|
|
|
424
425
|
declare const FrontendVisualizationSchema: z.ZodObject<{
|
|
425
426
|
id: z.ZodNumber;
|
|
426
427
|
uuid: z.ZodString;
|
|
428
|
+
created_at: z.ZodString;
|
|
427
429
|
configuration: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
428
430
|
config_version: z.ZodLiteral<2>;
|
|
429
431
|
xAxisLabel: z.ZodString;
|
|
@@ -464,7 +466,6 @@ declare const FrontendVisualizationSchema: z.ZodObject<{
|
|
|
464
466
|
title: z.ZodString;
|
|
465
467
|
type: z.ZodLiteral<"pie">;
|
|
466
468
|
}, z.core.$strip>], "type">;
|
|
467
|
-
created_at: z.ZodString;
|
|
468
469
|
flow_data_id: z.ZodNumber;
|
|
469
470
|
report_uuid: z.ZodString;
|
|
470
471
|
flow_data: z.ZodOptional<z.ZodObject<{
|
|
@@ -909,8 +910,8 @@ export declare const useDataTableContext: () => {
|
|
|
909
910
|
title: string;
|
|
910
911
|
id: number;
|
|
911
912
|
uuid: string;
|
|
912
|
-
request: string | null;
|
|
913
913
|
created_at: string;
|
|
914
|
+
request: string | null;
|
|
914
915
|
data_summary: {
|
|
915
916
|
[x: string]: unknown;
|
|
916
917
|
columns: Record<string, {
|
|
@@ -1051,8 +1052,8 @@ export declare const useMageMetricsReady: () => false | MageMetricsClient;
|
|
|
1051
1052
|
export declare const useRecentFlows: (limit?: number) => UseQueryResult<NoInfer<{
|
|
1052
1053
|
title: string | null;
|
|
1053
1054
|
id: string;
|
|
1054
|
-
request: string;
|
|
1055
1055
|
created_at: string;
|
|
1056
|
+
request: string;
|
|
1056
1057
|
user_id: string | null;
|
|
1057
1058
|
application_id?: number | null | undefined;
|
|
1058
1059
|
}[]>, Error>;
|
|
@@ -1151,6 +1152,7 @@ declare type V1FrontendVisualization = z.output<typeof V1FrontendVisualizationSc
|
|
|
1151
1152
|
declare const V1FrontendVisualizationSchema: z.ZodObject<{
|
|
1152
1153
|
id: z.ZodNumber;
|
|
1153
1154
|
uuid: z.ZodString;
|
|
1155
|
+
created_at: z.ZodString;
|
|
1154
1156
|
configuration: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
1155
1157
|
xAxisLabel: z.ZodString;
|
|
1156
1158
|
yAxisLabel: z.ZodString;
|
|
@@ -1184,7 +1186,6 @@ declare const V1FrontendVisualizationSchema: z.ZodObject<{
|
|
|
1184
1186
|
title: z.ZodString;
|
|
1185
1187
|
type: z.ZodLiteral<"pie">;
|
|
1186
1188
|
}, z.core.$strip>], "type">;
|
|
1187
|
-
created_at: z.ZodString;
|
|
1188
1189
|
flow_data_id: z.ZodNumber;
|
|
1189
1190
|
report_uuid: z.ZodString;
|
|
1190
1191
|
flow_data: z.ZodOptional<z.ZodObject<{
|