@mastra/playground-ui 4.0.4-alpha.4 → 4.0.4-alpha.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.
@@ -1,7 +1,8 @@
1
1
  import { ReactNode } from '../../../../node_modules/@types/react';
2
2
 
3
- export declare function AgentTraces({ agentName, baseUrl, sidebarChild, }: {
3
+ export interface AgentTracesProps {
4
4
  agentName: string;
5
5
  baseUrl: string;
6
6
  sidebarChild: ReactNode;
7
- }): import("react/jsx-runtime").JSX.Element;
7
+ }
8
+ export declare function AgentTraces({ agentName, baseUrl, sidebarChild }: AgentTracesProps): import("react/jsx-runtime").JSX.Element;
@@ -0,0 +1,5 @@
1
+ import { Span } from '../types';
2
+
3
+ export declare const useOpenTrace: () => {
4
+ openTrace: (trace: Span[], traceIndex: number) => void;
5
+ };
@@ -0,0 +1,9 @@
1
+ import { ReactNode } from '../../../node_modules/@types/react';
2
+
3
+ export interface TracesSidebarProps {
4
+ className?: string;
5
+ onResize?: (width: number) => void;
6
+ width: number;
7
+ children: ReactNode;
8
+ }
9
+ export declare const TracesSidebar: ({ className, onResize, width, children }: TracesSidebarProps) => import("react/jsx-runtime").JSX.Element;
@@ -0,0 +1,10 @@
1
+ import { RefinedTrace } from './types';
2
+
3
+ export interface TracesTableProps {
4
+ traces: RefinedTrace[];
5
+ isLoading: boolean;
6
+ error?: {
7
+ message: string;
8
+ } | null;
9
+ }
10
+ export declare const TracesTable: ({ traces, isLoading, error }: TracesTableProps) => import("react/jsx-runtime").JSX.Element;
@@ -1,7 +1,8 @@
1
1
  import { ReactNode } from '../../../../node_modules/@types/react';
2
2
 
3
- export declare function WorkflowTraces({ workflowName, baseUrl, sidebarChild, }: {
3
+ export interface WorkflowTracesProps {
4
4
  workflowName: string;
5
5
  baseUrl: string;
6
6
  sidebarChild: ReactNode;
7
- }): import("react/jsx-runtime").JSX.Element;
7
+ }
8
+ export declare function WorkflowTraces({ workflowName, baseUrl, sidebarChild }: WorkflowTracesProps): import("react/jsx-runtime").JSX.Element;
@@ -0,0 +1,3 @@
1
+ import { default as React } from '../../../node_modules/@types/react';
2
+
3
+ export declare const SpanIcon: (props: React.SVGProps<SVGSVGElement>) => import("react/jsx-runtime").JSX.Element;