@magemetrics/ai 0.11.5 → 0.11.6
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 +7446 -7345
- package/dist/react/index.d.ts +14 -0
- package/dist/web-component/web-component.es.js +17859 -17692
- package/package.json +5 -5
package/dist/react/index.d.ts
CHANGED
|
@@ -368,6 +368,12 @@ declare const FrontendCanvasSchema: z.ZodObject<{
|
|
|
368
368
|
is_public: z.ZodBoolean;
|
|
369
369
|
}, z.core.$strip>;
|
|
370
370
|
|
|
371
|
+
declare const FrontendRecommendationsSchema: z.ZodObject<{
|
|
372
|
+
starter: z.ZodString;
|
|
373
|
+
explanation: z.ZodString;
|
|
374
|
+
type: z.ZodString;
|
|
375
|
+
}, z.core.$strip>;
|
|
376
|
+
|
|
371
377
|
declare const FrontendReportSchema: z.ZodObject<{
|
|
372
378
|
status: z.ZodNullable<z.ZodString>;
|
|
373
379
|
title: z.ZodString;
|
|
@@ -600,6 +606,8 @@ export declare type PublicChatProps = Omit<ConversationContentProps, "children">
|
|
|
600
606
|
appearance?: AppearanceConfig;
|
|
601
607
|
};
|
|
602
608
|
|
|
609
|
+
export declare type Recommendation = z.infer<typeof FrontendRecommendationsSchema>;
|
|
610
|
+
|
|
603
611
|
declare type Report_2 = z.infer<typeof FrontendReportSchema>;
|
|
604
612
|
export { Report_2 as Report }
|
|
605
613
|
|
|
@@ -1025,6 +1033,12 @@ user_id: string | null;
|
|
|
1025
1033
|
application_id?: number | null | undefined;
|
|
1026
1034
|
}[], Error>;
|
|
1027
1035
|
|
|
1036
|
+
export declare const useRecommendations: (count: number) => UseQueryResult< {
|
|
1037
|
+
starter: string;
|
|
1038
|
+
explanation: string;
|
|
1039
|
+
type: string;
|
|
1040
|
+
}[], Error>;
|
|
1041
|
+
|
|
1028
1042
|
export declare const useReport: (reportId: number) => {
|
|
1029
1043
|
data: {
|
|
1030
1044
|
created_at: string;
|