@magemetrics/ai 0.10.0-rc1 → 0.10.0-rc2
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
CHANGED
|
@@ -30544,8 +30544,8 @@ export {
|
|
|
30544
30544
|
Pu as useChatContext,
|
|
30545
30545
|
bT as useChatInputContext,
|
|
30546
30546
|
_u as useCreateFlow,
|
|
30547
|
-
Uz as useCustomReportData,
|
|
30548
30547
|
Gz as useDataReportColumnValue,
|
|
30548
|
+
Uz as useDataTableContext,
|
|
30549
30549
|
e9 as useDownloadReportData,
|
|
30550
30550
|
Wz as useMageMetricsApiUrl,
|
|
30551
30551
|
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;
|
|
@@ -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;
|
|
@@ -28624,7 +28624,7 @@ var yZ = "X-Client-Version", vZ = "sp-access-token", Xhe = "X-Api-Key", ks = cla
|
|
|
28624
28624
|
return t.headers.set(Xhe, e), t;
|
|
28625
28625
|
}
|
|
28626
28626
|
}), wZ = {
|
|
28627
|
-
version: "0.10.0-
|
|
28627
|
+
version: "0.10.0-rc2"
|
|
28628
28628
|
}, Khe = class {
|
|
28629
28629
|
listeners = /* @__PURE__ */ new Map();
|
|
28630
28630
|
addEventListener(e, t, n) {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@magemetrics/ai",
|
|
3
|
-
"version": "0.10.0-
|
|
3
|
+
"version": "0.10.0-rc2",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"dependencies": {
|
|
6
6
|
"@ai-sdk/react": "2.0.123",
|
|
@@ -45,7 +45,7 @@
|
|
|
45
45
|
"turndown": "^7.2.2",
|
|
46
46
|
"usehooks-ts": "^3.1.1",
|
|
47
47
|
"zod": "^4.3.5",
|
|
48
|
-
"@magemetrics/core": "0.10.0-
|
|
48
|
+
"@magemetrics/core": "0.10.0-rc2"
|
|
49
49
|
},
|
|
50
50
|
"peerDependencies": {
|
|
51
51
|
"react": "^18.2.0 || ^19.0.0",
|