@magemetrics/ai 0.11.1 → 0.11.3
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 +4 -2
- package/dist/react/index.d.ts +38 -42
- package/dist/web-component/index.d.ts +38 -42
- package/dist/web-component/web-component.es.js +3976 -3969
- package/package.json +9 -9
package/dist/react/ai.js
CHANGED
|
@@ -12179,13 +12179,14 @@ const qB = Re({
|
|
|
12179
12179
|
initialFilters: e?.filters
|
|
12180
12180
|
});
|
|
12181
12181
|
Vt(() => {
|
|
12182
|
-
s?.({
|
|
12182
|
+
a.isPendingColumns || s?.({
|
|
12183
12183
|
pageIndex: a.pageIndex,
|
|
12184
12184
|
sorting: a.sorting,
|
|
12185
12185
|
filters: a.filters,
|
|
12186
12186
|
pageSize: a.pageSize
|
|
12187
12187
|
});
|
|
12188
12188
|
}, [
|
|
12189
|
+
a.isPendingColumns,
|
|
12189
12190
|
a.pageIndex,
|
|
12190
12191
|
a.sorting,
|
|
12191
12192
|
a.filters,
|
|
@@ -13709,13 +13710,14 @@ const Sv = 350, nz = 300, rz = 1, oz = 2, Cv = hi(
|
|
|
13709
13710
|
initialFilters: s?.filters
|
|
13710
13711
|
});
|
|
13711
13712
|
Vt(() => {
|
|
13712
|
-
n?.({
|
|
13713
|
+
c.isPendingColumns || n?.({
|
|
13713
13714
|
pageIndex: c.pageIndex,
|
|
13714
13715
|
sorting: c.sorting,
|
|
13715
13716
|
filters: c.filters,
|
|
13716
13717
|
pageSize: c.pageSize
|
|
13717
13718
|
});
|
|
13718
13719
|
}, [
|
|
13720
|
+
c.isPendingColumns,
|
|
13719
13721
|
c.pageIndex,
|
|
13720
13722
|
c.sorting,
|
|
13721
13723
|
c.filters,
|
package/dist/react/index.d.ts
CHANGED
|
@@ -333,8 +333,8 @@ declare const FrontendReportSchema: z.ZodObject<{
|
|
|
333
333
|
avg_length: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
334
334
|
}, z.core.$loose>>;
|
|
335
335
|
}, z.core.$loose>;
|
|
336
|
-
is_removed: z.ZodBoolean;
|
|
337
336
|
flow_id: z.ZodString;
|
|
337
|
+
is_removed: z.ZodBoolean;
|
|
338
338
|
is_materialized: z.ZodNullable<z.ZodBoolean>;
|
|
339
339
|
last_materialized_at: z.ZodNullable<z.ZodString>;
|
|
340
340
|
materialized_error_message: z.ZodNullable<z.ZodString>;
|
|
@@ -390,7 +390,6 @@ declare const FrontendVisualizationSchema: z.ZodObject<{
|
|
|
390
390
|
type: z.ZodLiteral<"pie">;
|
|
391
391
|
}, z.core.$strip>], "type">;
|
|
392
392
|
created_at: z.ZodString;
|
|
393
|
-
flow_data_id: z.ZodNumber;
|
|
394
393
|
flow_data: z.ZodOptional<z.ZodObject<{
|
|
395
394
|
is_materialized: z.ZodNullable<z.ZodBoolean>;
|
|
396
395
|
last_materialized_at: z.ZodNullable<z.ZodString>;
|
|
@@ -401,6 +400,7 @@ declare const FrontendVisualizationSchema: z.ZodObject<{
|
|
|
401
400
|
running: "running";
|
|
402
401
|
}>>;
|
|
403
402
|
}, z.core.$strip>>;
|
|
403
|
+
flow_data_id: z.ZodNumber;
|
|
404
404
|
}, z.core.$strip>;
|
|
405
405
|
|
|
406
406
|
declare const InputContainer: default_2.FC<{
|
|
@@ -792,7 +792,7 @@ export declare const useCreateFlow: (options?: UseMutationOptions<{
|
|
|
792
792
|
};
|
|
793
793
|
|
|
794
794
|
export declare const useDataReportColumnValue: (reportId: number, filters: ReportDataFilters) => UseQueryResult< {
|
|
795
|
-
[
|
|
795
|
+
[x: string]: unknown;
|
|
796
796
|
}[], Error>;
|
|
797
797
|
|
|
798
798
|
export declare const useDataTableContext: () => {
|
|
@@ -823,26 +823,26 @@ export declare const useDataTableContext: () => {
|
|
|
823
823
|
avg_length?: number | null | undefined;
|
|
824
824
|
}>;
|
|
825
825
|
};
|
|
826
|
-
is_removed: boolean;
|
|
827
826
|
flow_id: string;
|
|
827
|
+
is_removed: boolean;
|
|
828
828
|
is_materialized: boolean | null;
|
|
829
829
|
last_materialized_at: string | null;
|
|
830
830
|
materialized_error_message: string | null;
|
|
831
831
|
materialized_status: "completed" | "running" | "failed" | null;
|
|
832
832
|
};
|
|
833
833
|
fetchNextPage: (options?: FetchNextPageOptions) => Promise<InfiniteQueryObserverResult<InfiniteData< {
|
|
834
|
-
[
|
|
834
|
+
[x: string]: unknown;
|
|
835
835
|
}[], unknown>, Error>>;
|
|
836
836
|
pages: {
|
|
837
|
-
[
|
|
837
|
+
[x: string]: unknown;
|
|
838
838
|
}[][] | undefined;
|
|
839
839
|
columns: {
|
|
840
840
|
name: string;
|
|
841
841
|
data_type: string;
|
|
842
842
|
dataType: string;
|
|
843
|
-
renderType?: string;
|
|
844
|
-
unit?: string;
|
|
845
|
-
canonicalDataType?: "numeric" | "boolean" | "datetime" | "text" | "array" | "json" | "other";
|
|
843
|
+
renderType?: string | undefined;
|
|
844
|
+
unit?: string | undefined;
|
|
845
|
+
canonicalDataType?: "numeric" | "boolean" | "datetime" | "text" | "array" | "json" | "other" | undefined;
|
|
846
846
|
}[] | undefined;
|
|
847
847
|
isPendingColumns: boolean;
|
|
848
848
|
hasMoreData: boolean;
|
|
@@ -951,29 +951,27 @@ export declare const useReport: (reportId: number) => {
|
|
|
951
951
|
title: string;
|
|
952
952
|
request: string | null;
|
|
953
953
|
data_summary: {
|
|
954
|
+
[x: string]: unknown;
|
|
954
955
|
columns: {
|
|
955
|
-
[
|
|
956
|
-
|
|
956
|
+
[x: string]: {
|
|
957
|
+
[x: string]: unknown;
|
|
958
|
+
position?: number | undefined;
|
|
957
959
|
data_type: string;
|
|
958
960
|
null_count: number | null;
|
|
959
961
|
unique_count: number | null;
|
|
960
962
|
unique_percentage: number | null;
|
|
961
|
-
min_value?: number | null;
|
|
962
|
-
max_value?: number | null;
|
|
963
|
-
avg_value?: number | null;
|
|
964
|
-
median_value?: number | null;
|
|
965
|
-
std_value?: number | null;
|
|
966
|
-
min_date?: string | null;
|
|
967
|
-
max_date?: string | null;
|
|
968
|
-
min_length?: number | null;
|
|
969
|
-
max_length?: number | null;
|
|
970
|
-
avg_length?: number | null;
|
|
971
|
-
} & {
|
|
972
|
-
[key: string]: unknown;
|
|
963
|
+
min_value?: number | null | undefined;
|
|
964
|
+
max_value?: number | null | undefined;
|
|
965
|
+
avg_value?: number | null | undefined;
|
|
966
|
+
median_value?: number | null | undefined;
|
|
967
|
+
std_value?: number | null | undefined;
|
|
968
|
+
min_date?: string | null | undefined;
|
|
969
|
+
max_date?: string | null | undefined;
|
|
970
|
+
min_length?: number | null | undefined;
|
|
971
|
+
max_length?: number | null | undefined;
|
|
972
|
+
avg_length?: number | null | undefined;
|
|
973
973
|
};
|
|
974
974
|
};
|
|
975
|
-
} & {
|
|
976
|
-
[key: string]: unknown;
|
|
977
975
|
};
|
|
978
976
|
status: string | null;
|
|
979
977
|
is_removed: boolean;
|
|
@@ -993,29 +991,27 @@ export declare const useReport: (reportId: number) => {
|
|
|
993
991
|
title: string;
|
|
994
992
|
request: string | null;
|
|
995
993
|
data_summary: {
|
|
994
|
+
[x: string]: unknown;
|
|
996
995
|
columns: {
|
|
997
|
-
[
|
|
998
|
-
|
|
996
|
+
[x: string]: {
|
|
997
|
+
[x: string]: unknown;
|
|
998
|
+
position?: number | undefined;
|
|
999
999
|
data_type: string;
|
|
1000
1000
|
null_count: number | null;
|
|
1001
1001
|
unique_count: number | null;
|
|
1002
1002
|
unique_percentage: number | null;
|
|
1003
|
-
min_value?: number | null;
|
|
1004
|
-
max_value?: number | null;
|
|
1005
|
-
avg_value?: number | null;
|
|
1006
|
-
median_value?: number | null;
|
|
1007
|
-
std_value?: number | null;
|
|
1008
|
-
min_date?: string | null;
|
|
1009
|
-
max_date?: string | null;
|
|
1010
|
-
min_length?: number | null;
|
|
1011
|
-
max_length?: number | null;
|
|
1012
|
-
avg_length?: number | null;
|
|
1013
|
-
} & {
|
|
1014
|
-
[key: string]: unknown;
|
|
1003
|
+
min_value?: number | null | undefined;
|
|
1004
|
+
max_value?: number | null | undefined;
|
|
1005
|
+
avg_value?: number | null | undefined;
|
|
1006
|
+
median_value?: number | null | undefined;
|
|
1007
|
+
std_value?: number | null | undefined;
|
|
1008
|
+
min_date?: string | null | undefined;
|
|
1009
|
+
max_date?: string | null | undefined;
|
|
1010
|
+
min_length?: number | null | undefined;
|
|
1011
|
+
max_length?: number | null | undefined;
|
|
1012
|
+
avg_length?: number | null | undefined;
|
|
1015
1013
|
};
|
|
1016
1014
|
};
|
|
1017
|
-
} & {
|
|
1018
|
-
[key: string]: unknown;
|
|
1019
1015
|
};
|
|
1020
1016
|
status: string | null;
|
|
1021
1017
|
is_removed: boolean;
|
|
@@ -1068,7 +1064,6 @@ declare const V1FrontendVisualizationSchema: z.ZodObject<{
|
|
|
1068
1064
|
type: z.ZodLiteral<"pie">;
|
|
1069
1065
|
}, z.core.$strip>], "type">;
|
|
1070
1066
|
created_at: z.ZodString;
|
|
1071
|
-
flow_data_id: z.ZodNumber;
|
|
1072
1067
|
flow_data: z.ZodOptional<z.ZodObject<{
|
|
1073
1068
|
is_materialized: z.ZodNullable<z.ZodBoolean>;
|
|
1074
1069
|
last_materialized_at: z.ZodNullable<z.ZodString>;
|
|
@@ -1079,6 +1074,7 @@ declare const V1FrontendVisualizationSchema: z.ZodObject<{
|
|
|
1079
1074
|
running: "running";
|
|
1080
1075
|
}>>;
|
|
1081
1076
|
}, z.core.$strip>>;
|
|
1077
|
+
flow_data_id: z.ZodNumber;
|
|
1082
1078
|
}, z.core.$strip>;
|
|
1083
1079
|
|
|
1084
1080
|
export declare const Visualization: ForwardRefExoticComponent< {
|
|
@@ -333,8 +333,8 @@ declare const FrontendReportSchema: z.ZodObject<{
|
|
|
333
333
|
avg_length: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
334
334
|
}, z.core.$loose>>;
|
|
335
335
|
}, z.core.$loose>;
|
|
336
|
-
is_removed: z.ZodBoolean;
|
|
337
336
|
flow_id: z.ZodString;
|
|
337
|
+
is_removed: z.ZodBoolean;
|
|
338
338
|
is_materialized: z.ZodNullable<z.ZodBoolean>;
|
|
339
339
|
last_materialized_at: z.ZodNullable<z.ZodString>;
|
|
340
340
|
materialized_error_message: z.ZodNullable<z.ZodString>;
|
|
@@ -390,7 +390,6 @@ declare const FrontendVisualizationSchema: z.ZodObject<{
|
|
|
390
390
|
type: z.ZodLiteral<"pie">;
|
|
391
391
|
}, z.core.$strip>], "type">;
|
|
392
392
|
created_at: z.ZodString;
|
|
393
|
-
flow_data_id: z.ZodNumber;
|
|
394
393
|
flow_data: z.ZodOptional<z.ZodObject<{
|
|
395
394
|
is_materialized: z.ZodNullable<z.ZodBoolean>;
|
|
396
395
|
last_materialized_at: z.ZodNullable<z.ZodString>;
|
|
@@ -401,6 +400,7 @@ declare const FrontendVisualizationSchema: z.ZodObject<{
|
|
|
401
400
|
running: "running";
|
|
402
401
|
}>>;
|
|
403
402
|
}, z.core.$strip>>;
|
|
403
|
+
flow_data_id: z.ZodNumber;
|
|
404
404
|
}, z.core.$strip>;
|
|
405
405
|
|
|
406
406
|
declare const InputContainer: default_2.FC<{
|
|
@@ -792,7 +792,7 @@ export declare const useCreateFlow: (options?: UseMutationOptions<{
|
|
|
792
792
|
};
|
|
793
793
|
|
|
794
794
|
export declare const useDataReportColumnValue: (reportId: number, filters: ReportDataFilters) => UseQueryResult< {
|
|
795
|
-
[
|
|
795
|
+
[x: string]: unknown;
|
|
796
796
|
}[], Error>;
|
|
797
797
|
|
|
798
798
|
export declare const useDataTableContext: () => {
|
|
@@ -823,26 +823,26 @@ export declare const useDataTableContext: () => {
|
|
|
823
823
|
avg_length?: number | null | undefined;
|
|
824
824
|
}>;
|
|
825
825
|
};
|
|
826
|
-
is_removed: boolean;
|
|
827
826
|
flow_id: string;
|
|
827
|
+
is_removed: boolean;
|
|
828
828
|
is_materialized: boolean | null;
|
|
829
829
|
last_materialized_at: string | null;
|
|
830
830
|
materialized_error_message: string | null;
|
|
831
831
|
materialized_status: "completed" | "running" | "failed" | null;
|
|
832
832
|
};
|
|
833
833
|
fetchNextPage: (options?: FetchNextPageOptions) => Promise<InfiniteQueryObserverResult<InfiniteData< {
|
|
834
|
-
[
|
|
834
|
+
[x: string]: unknown;
|
|
835
835
|
}[], unknown>, Error>>;
|
|
836
836
|
pages: {
|
|
837
|
-
[
|
|
837
|
+
[x: string]: unknown;
|
|
838
838
|
}[][] | undefined;
|
|
839
839
|
columns: {
|
|
840
840
|
name: string;
|
|
841
841
|
data_type: string;
|
|
842
842
|
dataType: string;
|
|
843
|
-
renderType?: string;
|
|
844
|
-
unit?: string;
|
|
845
|
-
canonicalDataType?: "numeric" | "boolean" | "datetime" | "text" | "array" | "json" | "other";
|
|
843
|
+
renderType?: string | undefined;
|
|
844
|
+
unit?: string | undefined;
|
|
845
|
+
canonicalDataType?: "numeric" | "boolean" | "datetime" | "text" | "array" | "json" | "other" | undefined;
|
|
846
846
|
}[] | undefined;
|
|
847
847
|
isPendingColumns: boolean;
|
|
848
848
|
hasMoreData: boolean;
|
|
@@ -951,29 +951,27 @@ export declare const useReport: (reportId: number) => {
|
|
|
951
951
|
title: string;
|
|
952
952
|
request: string | null;
|
|
953
953
|
data_summary: {
|
|
954
|
+
[x: string]: unknown;
|
|
954
955
|
columns: {
|
|
955
|
-
[
|
|
956
|
-
|
|
956
|
+
[x: string]: {
|
|
957
|
+
[x: string]: unknown;
|
|
958
|
+
position?: number | undefined;
|
|
957
959
|
data_type: string;
|
|
958
960
|
null_count: number | null;
|
|
959
961
|
unique_count: number | null;
|
|
960
962
|
unique_percentage: number | null;
|
|
961
|
-
min_value?: number | null;
|
|
962
|
-
max_value?: number | null;
|
|
963
|
-
avg_value?: number | null;
|
|
964
|
-
median_value?: number | null;
|
|
965
|
-
std_value?: number | null;
|
|
966
|
-
min_date?: string | null;
|
|
967
|
-
max_date?: string | null;
|
|
968
|
-
min_length?: number | null;
|
|
969
|
-
max_length?: number | null;
|
|
970
|
-
avg_length?: number | null;
|
|
971
|
-
} & {
|
|
972
|
-
[key: string]: unknown;
|
|
963
|
+
min_value?: number | null | undefined;
|
|
964
|
+
max_value?: number | null | undefined;
|
|
965
|
+
avg_value?: number | null | undefined;
|
|
966
|
+
median_value?: number | null | undefined;
|
|
967
|
+
std_value?: number | null | undefined;
|
|
968
|
+
min_date?: string | null | undefined;
|
|
969
|
+
max_date?: string | null | undefined;
|
|
970
|
+
min_length?: number | null | undefined;
|
|
971
|
+
max_length?: number | null | undefined;
|
|
972
|
+
avg_length?: number | null | undefined;
|
|
973
973
|
};
|
|
974
974
|
};
|
|
975
|
-
} & {
|
|
976
|
-
[key: string]: unknown;
|
|
977
975
|
};
|
|
978
976
|
status: string | null;
|
|
979
977
|
is_removed: boolean;
|
|
@@ -993,29 +991,27 @@ export declare const useReport: (reportId: number) => {
|
|
|
993
991
|
title: string;
|
|
994
992
|
request: string | null;
|
|
995
993
|
data_summary: {
|
|
994
|
+
[x: string]: unknown;
|
|
996
995
|
columns: {
|
|
997
|
-
[
|
|
998
|
-
|
|
996
|
+
[x: string]: {
|
|
997
|
+
[x: string]: unknown;
|
|
998
|
+
position?: number | undefined;
|
|
999
999
|
data_type: string;
|
|
1000
1000
|
null_count: number | null;
|
|
1001
1001
|
unique_count: number | null;
|
|
1002
1002
|
unique_percentage: number | null;
|
|
1003
|
-
min_value?: number | null;
|
|
1004
|
-
max_value?: number | null;
|
|
1005
|
-
avg_value?: number | null;
|
|
1006
|
-
median_value?: number | null;
|
|
1007
|
-
std_value?: number | null;
|
|
1008
|
-
min_date?: string | null;
|
|
1009
|
-
max_date?: string | null;
|
|
1010
|
-
min_length?: number | null;
|
|
1011
|
-
max_length?: number | null;
|
|
1012
|
-
avg_length?: number | null;
|
|
1013
|
-
} & {
|
|
1014
|
-
[key: string]: unknown;
|
|
1003
|
+
min_value?: number | null | undefined;
|
|
1004
|
+
max_value?: number | null | undefined;
|
|
1005
|
+
avg_value?: number | null | undefined;
|
|
1006
|
+
median_value?: number | null | undefined;
|
|
1007
|
+
std_value?: number | null | undefined;
|
|
1008
|
+
min_date?: string | null | undefined;
|
|
1009
|
+
max_date?: string | null | undefined;
|
|
1010
|
+
min_length?: number | null | undefined;
|
|
1011
|
+
max_length?: number | null | undefined;
|
|
1012
|
+
avg_length?: number | null | undefined;
|
|
1015
1013
|
};
|
|
1016
1014
|
};
|
|
1017
|
-
} & {
|
|
1018
|
-
[key: string]: unknown;
|
|
1019
1015
|
};
|
|
1020
1016
|
status: string | null;
|
|
1021
1017
|
is_removed: boolean;
|
|
@@ -1068,7 +1064,6 @@ declare const V1FrontendVisualizationSchema: z.ZodObject<{
|
|
|
1068
1064
|
type: z.ZodLiteral<"pie">;
|
|
1069
1065
|
}, z.core.$strip>], "type">;
|
|
1070
1066
|
created_at: z.ZodString;
|
|
1071
|
-
flow_data_id: z.ZodNumber;
|
|
1072
1067
|
flow_data: z.ZodOptional<z.ZodObject<{
|
|
1073
1068
|
is_materialized: z.ZodNullable<z.ZodBoolean>;
|
|
1074
1069
|
last_materialized_at: z.ZodNullable<z.ZodString>;
|
|
@@ -1079,6 +1074,7 @@ declare const V1FrontendVisualizationSchema: z.ZodObject<{
|
|
|
1079
1074
|
running: "running";
|
|
1080
1075
|
}>>;
|
|
1081
1076
|
}, z.core.$strip>>;
|
|
1077
|
+
flow_data_id: z.ZodNumber;
|
|
1082
1078
|
}, z.core.$strip>;
|
|
1083
1079
|
|
|
1084
1080
|
export declare const Visualization: ForwardRefExoticComponent< {
|