@magemetrics/ai 0.10.0-rc1 → 0.10.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 +3 -6
- package/dist/react/index.d.ts +5 -5
- package/dist/styles.css +1 -1
- package/dist/web-component/index.d.ts +5 -5
- package/dist/web-component/web-component.es.js +6005 -5986
- package/package.json +9 -9
package/dist/react/ai.js
CHANGED
|
@@ -3044,8 +3044,7 @@ const h5 = E.object({
|
|
|
3044
3044
|
title: E.string().nullable(),
|
|
3045
3045
|
user_id: E.string().nullable(),
|
|
3046
3046
|
application_id: E.number().nullable().optional(),
|
|
3047
|
-
flow_steps: E.array(g5)
|
|
3048
|
-
flow_chat_messages: E.array(E.object({ count: E.number() }))
|
|
3047
|
+
flow_steps: E.array(g5)
|
|
3049
3048
|
});
|
|
3050
3049
|
E.object({
|
|
3051
3050
|
table: E.string(),
|
|
@@ -3053,11 +3052,9 @@ E.object({
|
|
|
3053
3052
|
database: E.string()
|
|
3054
3053
|
});
|
|
3055
3054
|
const x5 = $y.omit({
|
|
3056
|
-
flow_chat_messages: !0,
|
|
3057
3055
|
flow_steps: !0
|
|
3058
3056
|
}), b5 = $y.omit({
|
|
3059
|
-
flow_steps: !0
|
|
3060
|
-
flow_chat_messages: !0
|
|
3057
|
+
flow_steps: !0
|
|
3061
3058
|
}), y5 = E.looseObject({
|
|
3062
3059
|
position: E.number().nonnegative().optional(),
|
|
3063
3060
|
data_type: E.string(),
|
|
@@ -30544,8 +30541,8 @@ export {
|
|
|
30544
30541
|
Pu as useChatContext,
|
|
30545
30542
|
bT as useChatInputContext,
|
|
30546
30543
|
_u as useCreateFlow,
|
|
30547
|
-
Uz as useCustomReportData,
|
|
30548
30544
|
Gz as useDataReportColumnValue,
|
|
30545
|
+
Uz as useDataTableContext,
|
|
30549
30546
|
e9 as useDownloadReportData,
|
|
30550
30547
|
Wz as useMageMetricsApiUrl,
|
|
30551
30548
|
bi as useMageMetricsClient,
|
package/dist/react/index.d.ts
CHANGED
|
@@ -647,7 +647,11 @@ export declare const useCreateFlow: (options?: UseMutationOptions<{
|
|
|
647
647
|
}, Error, CreateFlowParam, unknown>;
|
|
648
648
|
};
|
|
649
649
|
|
|
650
|
-
export declare const
|
|
650
|
+
export declare const useDataReportColumnValue: (reportId: number, filters: ReportDataFilters) => UseQueryResult< {
|
|
651
|
+
[key: string]: unknown;
|
|
652
|
+
}[], Error>;
|
|
653
|
+
|
|
654
|
+
export declare const useDataTableContext: () => {
|
|
651
655
|
report: {
|
|
652
656
|
status: string | null;
|
|
653
657
|
id: number;
|
|
@@ -707,10 +711,6 @@ export declare const useCustomReportData: () => {
|
|
|
707
711
|
filters: TableFilters;
|
|
708
712
|
};
|
|
709
713
|
|
|
710
|
-
export declare const useDataReportColumnValue: (reportId: number, filters: ReportDataFilters) => UseQueryResult< {
|
|
711
|
-
[key: string]: unknown;
|
|
712
|
-
}[], Error>;
|
|
713
|
-
|
|
714
714
|
export declare const useDownloadReportData: (options?: UseMutationOptions<ExportReportDataResult, Error, ExportReportDataParams>) => {
|
|
715
715
|
download: UseMutateFunction<ExportReportDataResult, Error, ExportReportDataParams, unknown>;
|
|
716
716
|
data: undefined;
|