@magemetrics/ai 0.14.1 → 0.15.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.
@@ -763,13 +763,13 @@ declare const TableFilterValueSchema: z.ZodObject<{
763
763
  * }
764
764
  * ```
765
765
  */
766
- export declare const useCanvas: (canvasId: string | undefined | null, options?: Omit<UseQueryOptions<FrontendCanvas, unknown>, "queryKey" | "queryFn">) => UseQueryResult<{
766
+ export declare const useCanvas: (canvasId: string | undefined | null, options?: Omit<UseQueryOptions<FrontendCanvas, unknown>, "queryKey" | "queryFn">) => UseQueryResult<NoInfer<{
767
767
  title: string | null;
768
768
  id: string;
769
769
  nodes: any[];
770
770
  edges: any[];
771
771
  is_public: boolean;
772
- }, unknown>;
772
+ }>, unknown>;
773
773
 
774
774
  export declare const useChatContext: () => ChatContextValue;
775
775
 
@@ -899,9 +899,9 @@ export declare const useCreateFlow: (options?: UseMutationOptions<{
899
899
  }, Error, CreateFlowParam, unknown>;
900
900
  };
901
901
 
902
- export declare const useDataReportColumnValue: (reportId: string, filters: ReportDataFilters) => UseQueryResult<{
902
+ export declare const useDataReportColumnValue: (reportId: string, filters: ReportDataFilters) => UseQueryResult<NoInfer<{
903
903
  [x: string]: unknown;
904
- }[], Error>;
904
+ }[]>, Error>;
905
905
 
906
906
  export declare const useDataTableContext: () => {
907
907
  report: {
@@ -1048,23 +1048,23 @@ export declare const useMageMetricsClient: () => MageMetricsClient;
1048
1048
 
1049
1049
  export declare const useMageMetricsReady: () => false | MageMetricsClient;
1050
1050
 
1051
- export declare const useRecentFlows: (limit?: number) => UseQueryResult<{
1051
+ export declare const useRecentFlows: (limit?: number) => UseQueryResult<NoInfer<{
1052
1052
  title: string | null;
1053
1053
  id: string;
1054
1054
  request: string;
1055
1055
  created_at: string;
1056
1056
  user_id: string | null;
1057
1057
  application_id?: number | null | undefined;
1058
- }[], Error>;
1058
+ }[]>, Error>;
1059
1059
 
1060
- export declare const useRecommendations: (count: number) => UseQueryResult<{
1060
+ export declare const useRecommendations: (count: number) => UseQueryResult<NoInfer<{
1061
1061
  starter: string;
1062
1062
  explanation: string;
1063
1063
  type: string;
1064
- }[], Error>;
1064
+ }[]>, Error>;
1065
1065
 
1066
1066
  export declare const useReport: (reportId: string | undefined) => {
1067
- data: {
1067
+ data: NoInfer<{
1068
1068
  created_at: string;
1069
1069
  id: number;
1070
1070
  uuid: string;
@@ -1099,12 +1099,12 @@ export declare const useReport: (reportId: string | undefined) => {
1099
1099
  last_materialized_at: string | null;
1100
1100
  materialized_error_message: string | null;
1101
1101
  materialized_status: "completed" | "running" | "failed" | null;
1102
- } | null | undefined;
1102
+ } | null> | undefined;
1103
1103
  isLoading: boolean;
1104
1104
  error: Error | null;
1105
1105
  isError: boolean;
1106
1106
  isSuccess: boolean;
1107
- refetch: (options?: RefetchOptions) => Promise< QueryObserverResult<{
1107
+ refetch: (options?: RefetchOptions) => Promise< QueryObserverResult<NoInfer<{
1108
1108
  created_at: string;
1109
1109
  id: number;
1110
1110
  uuid: string;
@@ -1139,7 +1139,7 @@ export declare const useReport: (reportId: string | undefined) => {
1139
1139
  last_materialized_at: string | null;
1140
1140
  materialized_error_message: string | null;
1141
1141
  materialized_status: "completed" | "running" | "failed" | null;
1142
- } | null, Error>>;
1142
+ } | null>, Error>>;
1143
1143
  isRefetching: boolean;
1144
1144
  isFetching: boolean;
1145
1145
  };