@assistant-ui/react-devtools 1.2.19 → 1.2.21
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/DevToolsModal.d.ts +10 -13
- package/dist/DevToolsModal.d.ts.map +1 -1
- package/dist/DevToolsModalImpl.d.ts +3 -5
- package/dist/DevToolsModalImpl.d.ts.map +1 -1
- package/dist/data/createInProcessClient.d.ts +3 -6
- package/dist/data/createInProcessClient.d.ts.map +1 -1
- package/dist/data/projectApi.d.ts +6 -8
- package/dist/data/projectApi.d.ts.map +1 -1
- package/dist/data/projectApi.js +2 -2
- package/dist/data/projectApi.js.map +1 -1
- package/dist/data/types.d.ts +33 -35
- package/dist/data/types.d.ts.map +1 -1
- package/dist/data/useDevToolsClient.d.ts +7 -10
- package/dist/data/useDevToolsClient.d.ts.map +1 -1
- package/dist/index.d.ts +10 -10
- package/dist/index.d.ts.map +1 -0
- package/dist/shell/DevToolsOverlay.d.ts +7 -10
- package/dist/shell/DevToolsOverlay.d.ts.map +1 -1
- package/dist/shell/DevToolsPanel.d.ts +12 -15
- package/dist/shell/DevToolsPanel.d.ts.map +1 -1
- package/dist/shell/ShadowRoot.d.ts +7 -10
- package/dist/shell/ShadowRoot.d.ts.map +1 -1
- package/dist/shell/SplitLayout.d.ts +13 -16
- package/dist/shell/SplitLayout.d.ts.map +1 -1
- package/dist/shell/registry.d.ts +34 -37
- package/dist/shell/registry.d.ts.map +1 -1
- package/dist/shell/tabs/ActivityTab.d.ts +2 -5
- package/dist/shell/tabs/ActivityTab.d.ts.map +1 -1
- package/dist/shell/tabs/ContextTab.d.ts +2 -5
- package/dist/shell/tabs/ContextTab.d.ts.map +1 -1
- package/dist/shell/tabs/RawTab.d.ts +2 -5
- package/dist/shell/tabs/RawTab.d.ts.map +1 -1
- package/dist/shell/tabs/ThreadTab.d.ts +2 -5
- package/dist/shell/tabs/ThreadTab.d.ts.map +1 -1
- package/dist/shell/tabs/navSelection.d.ts +1 -4
- package/dist/shell/tabs/navSelection.d.ts.map +1 -1
- package/dist/styles/panel.generated.d.ts +1 -4
- package/dist/styles/panel.generated.d.ts.map +1 -1
- package/dist/types.d.ts +6 -9
- package/dist/types.d.ts.map +1 -1
- package/dist/utils/common.d.ts +13 -16
- package/dist/utils/common.d.ts.map +1 -1
- package/dist/utils/diff.d.ts +6 -9
- package/dist/utils/diff.d.ts.map +1 -1
- package/dist/utils/serialization.d.ts +7 -10
- package/dist/utils/serialization.d.ts.map +1 -1
- package/dist/utils/serialization.js +17 -0
- package/dist/utils/serialization.js.map +1 -1
- package/dist/utils/toolNormalization.d.ts +14 -17
- package/dist/utils/toolNormalization.d.ts.map +1 -1
- package/dist/utils/unserializable.d.ts +2 -5
- package/dist/utils/unserializable.d.ts.map +1 -1
- package/dist/views/activity/EventLogRow.d.ts +12 -15
- package/dist/views/activity/EventLogRow.d.ts.map +1 -1
- package/dist/views/activity/EventStreamPane.d.ts +3 -6
- package/dist/views/activity/EventStreamPane.d.ts.map +1 -1
- package/dist/views/activity/OrphansPane.d.ts +3 -6
- package/dist/views/activity/OrphansPane.d.ts.map +1 -1
- package/dist/views/activity/RunDetailPane.d.ts +3 -6
- package/dist/views/activity/RunDetailPane.d.ts.map +1 -1
- package/dist/views/activity/activityNodes.d.ts +29 -32
- package/dist/views/activity/activityNodes.d.ts.map +1 -1
- package/dist/views/activity/index.d.ts +7 -6
- package/dist/views/activity/index.d.ts.map +1 -0
- package/dist/views/attachments/AttachmentList.d.ts +5 -8
- package/dist/views/attachments/AttachmentList.d.ts.map +1 -1
- package/dist/views/attachments/MediaPartView.d.ts +10 -13
- package/dist/views/attachments/MediaPartView.d.ts.map +1 -1
- package/dist/views/attachments/formatBytes.d.ts +3 -6
- package/dist/views/attachments/formatBytes.d.ts.map +1 -1
- package/dist/views/attachments/index.d.ts +5 -5
- package/dist/views/attachments/index.d.ts.map +1 -0
- package/dist/views/attachments/parseAttachment.d.ts +3 -6
- package/dist/views/attachments/parseAttachment.d.ts.map +1 -1
- package/dist/views/attachments/types.d.ts +12 -15
- package/dist/views/attachments/types.d.ts.map +1 -1
- package/dist/views/context/ContextDetail.d.ts +5 -8
- package/dist/views/context/ContextDetail.d.ts.map +1 -1
- package/dist/views/context/ToolUIsView.d.ts +2 -5
- package/dist/views/context/ToolUIsView.d.ts.map +1 -1
- package/dist/views/context/contextNodes.d.ts +21 -24
- package/dist/views/context/contextNodes.d.ts.map +1 -1
- package/dist/views/context/index.d.ts +5 -4
- package/dist/views/context/index.d.ts.map +1 -0
- package/dist/views/mcp/McpView.d.ts +3 -6
- package/dist/views/mcp/McpView.d.ts.map +1 -1
- package/dist/views/mcp/index.d.ts +2 -2
- package/dist/views/mcp/index.d.ts.map +1 -0
- package/dist/views/mcp/parse.d.ts +2 -5
- package/dist/views/mcp/parse.d.ts.map +1 -1
- package/dist/views/mcp/types.d.ts +15 -18
- package/dist/views/mcp/types.d.ts.map +1 -1
- package/dist/views/message/ChainOfThought.d.ts +3 -6
- package/dist/views/message/ChainOfThought.d.ts.map +1 -1
- package/dist/views/message/MessageDetailPane.d.ts +4 -7
- package/dist/views/message/MessageDetailPane.d.ts.map +1 -1
- package/dist/views/message/MessageItem.d.ts +5 -8
- package/dist/views/message/MessageItem.d.ts.map +1 -1
- package/dist/views/message/MessageList.d.ts +4 -7
- package/dist/views/message/MessageList.d.ts.map +1 -1
- package/dist/views/message/MessageMetrics.d.ts +3 -6
- package/dist/views/message/MessageMetrics.d.ts.map +1 -1
- package/dist/views/message/MessageTimeline.d.ts +7 -10
- package/dist/views/message/MessageTimeline.d.ts.map +1 -1
- package/dist/views/message/PartDisclosure.d.ts +6 -9
- package/dist/views/message/PartDisclosure.d.ts.map +1 -1
- package/dist/views/message/PartView.d.ts +4 -7
- package/dist/views/message/PartView.d.ts.map +1 -1
- package/dist/views/message/RoleLabel.d.ts +3 -6
- package/dist/views/message/RoleLabel.d.ts.map +1 -1
- package/dist/views/message/StatusBadge.d.ts +7 -10
- package/dist/views/message/StatusBadge.d.ts.map +1 -1
- package/dist/views/message/ToolCallView.d.ts +4 -7
- package/dist/views/message/ToolCallView.d.ts.map +1 -1
- package/dist/views/message/TtftBar.d.ts +3 -6
- package/dist/views/message/TtftBar.d.ts.map +1 -1
- package/dist/views/message/index.d.ts +6 -6
- package/dist/views/message/index.d.ts.map +1 -0
- package/dist/views/message/messagePlainText.d.ts +2 -5
- package/dist/views/message/messagePlainText.d.ts.map +1 -1
- package/dist/views/message/parse.d.ts +5 -8
- package/dist/views/message/parse.d.ts.map +1 -1
- package/dist/views/message/types.d.ts +108 -110
- package/dist/views/message/types.d.ts.map +1 -1
- package/dist/views/model-context/ModelContextView.d.ts +9 -12
- package/dist/views/model-context/ModelContextView.d.ts.map +1 -1
- package/dist/views/nav.d.ts +10 -13
- package/dist/views/nav.d.ts.map +1 -1
- package/dist/views/raw/RawDetail.d.ts +5 -8
- package/dist/views/raw/RawDetail.d.ts.map +1 -1
- package/dist/views/raw/index.d.ts +4 -3
- package/dist/views/raw/index.d.ts.map +1 -0
- package/dist/views/raw/rawNodes.d.ts +13 -16
- package/dist/views/raw/rawNodes.d.ts.map +1 -1
- package/dist/views/raw/statePreview.d.ts +1 -4
- package/dist/views/raw/statePreview.d.ts.map +1 -1
- package/dist/views/runs/PayloadDiff.d.ts +3 -6
- package/dist/views/runs/PayloadDiff.d.ts.map +1 -1
- package/dist/views/runs/parse.d.ts +3 -6
- package/dist/views/runs/parse.d.ts.map +1 -1
- package/dist/views/runs/types.d.ts +18 -21
- package/dist/views/runs/types.d.ts.map +1 -1
- package/dist/views/scopes/ScopesView.d.ts +2 -5
- package/dist/views/scopes/ScopesView.d.ts.map +1 -1
- package/dist/views/scopes/index.d.ts +2 -2
- package/dist/views/scopes/index.d.ts.map +1 -0
- package/dist/views/scopes/parse.d.ts +2 -5
- package/dist/views/scopes/parse.d.ts.map +1 -1
- package/dist/views/scopes/types.d.ts +5 -8
- package/dist/views/scopes/types.d.ts.map +1 -1
- package/dist/views/thread/ComposerAttachments.d.ts +3 -6
- package/dist/views/thread/ComposerAttachments.d.ts.map +1 -1
- package/dist/views/thread/ComposerFlags.d.ts +3 -6
- package/dist/views/thread/ComposerFlags.d.ts.map +1 -1
- package/dist/views/thread/ComposerQueue.d.ts +3 -6
- package/dist/views/thread/ComposerQueue.d.ts.map +1 -1
- package/dist/views/thread/ConversationList.d.ts +7 -10
- package/dist/views/thread/ConversationList.d.ts.map +1 -1
- package/dist/views/thread/ConversationStatusDot.d.ts +12 -15
- package/dist/views/thread/ConversationStatusDot.d.ts.map +1 -1
- package/dist/views/thread/ThreadDetails.d.ts +4 -7
- package/dist/views/thread/ThreadDetails.d.ts.map +1 -1
- package/dist/views/thread/Transcript.d.ts +8 -11
- package/dist/views/thread/Transcript.d.ts.map +1 -1
- package/dist/views/thread/index.d.ts +10 -10
- package/dist/views/thread/index.d.ts.map +1 -0
- package/dist/views/thread/resolve.d.ts +3 -6
- package/dist/views/thread/resolve.d.ts.map +1 -1
- package/dist/views/thread/types.d.ts +40 -42
- package/dist/views/thread/types.d.ts.map +1 -1
- package/dist/views/thread/utils.d.ts +5 -8
- package/dist/views/thread/utils.d.ts.map +1 -1
- package/dist/views/ui/CenteredMessage.d.ts +3 -6
- package/dist/views/ui/CenteredMessage.d.ts.map +1 -1
- package/dist/views/ui/Chip.d.ts +4 -7
- package/dist/views/ui/Chip.d.ts.map +1 -1
- package/dist/views/ui/ControlButton.d.ts +2 -5
- package/dist/views/ui/ControlButton.d.ts.map +1 -1
- package/dist/views/ui/CopyButton.d.ts +7 -10
- package/dist/views/ui/CopyButton.d.ts.map +1 -1
- package/dist/views/ui/EmptyState.d.ts +3 -6
- package/dist/views/ui/EmptyState.d.ts.map +1 -1
- package/dist/views/ui/InfoCard.d.ts +6 -9
- package/dist/views/ui/InfoCard.d.ts.map +1 -1
- package/dist/views/ui/JSONTree.d.ts +4 -7
- package/dist/views/ui/JSONTree.d.ts.map +1 -1
- package/dist/views/ui/PaneHeader.d.ts +8 -11
- package/dist/views/ui/PaneHeader.d.ts.map +1 -1
- package/dist/views/ui/RailTime.d.ts +3 -6
- package/dist/views/ui/RailTime.d.ts.map +1 -1
- package/dist/views/ui/SectionLabel.d.ts +3 -6
- package/dist/views/ui/SectionLabel.d.ts.map +1 -1
- package/dist/views/ui/SelectableRow.d.ts +8 -11
- package/dist/views/ui/SelectableRow.d.ts.map +1 -1
- package/dist/views/ui/Sparkline.d.ts +3 -6
- package/dist/views/ui/Sparkline.d.ts.map +1 -1
- package/dist/views/ui/SummaryItem.d.ts +6 -9
- package/dist/views/ui/SummaryItem.d.ts.map +1 -1
- package/dist/views/ui/ToneBadge.d.ts +7 -10
- package/dist/views/ui/ToneBadge.d.ts.map +1 -1
- package/dist/views/ui/badgeTone.d.ts +13 -16
- package/dist/views/ui/badgeTone.d.ts.map +1 -1
- package/dist/views/ui/getInlineJson.d.ts +1 -4
- package/dist/views/ui/getInlineJson.d.ts.map +1 -1
- package/dist/views/ui/index.d.ts +17 -16
- package/dist/views/ui/index.d.ts.map +1 -0
- package/dist/views/ui/useCopyToClipboard.d.ts +4 -7
- package/dist/views/ui/useCopyToClipboard.d.ts.map +1 -1
- package/package.json +14 -13
- package/src/data/projectApi.test.ts +41 -0
- package/src/data/projectApi.ts +2 -2
- package/src/utils/serialization.test.ts +81 -0
- package/src/utils/serialization.ts +36 -0
|
@@ -1,12 +1,9 @@
|
|
|
1
|
-
import { ReactNode } from "react";
|
|
2
|
-
//#region src/views/message/PartDisclosure.d.ts
|
|
1
|
+
import type { ReactNode } from "react";
|
|
3
2
|
/** Label-only row; put payload in children. */
|
|
4
|
-
declare const PartDisclosure: ({ label, defaultOpen, trailing, children }: {
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
3
|
+
export declare const PartDisclosure: ({ label, defaultOpen, trailing, children, }: {
|
|
4
|
+
label: string;
|
|
5
|
+
defaultOpen?: boolean;
|
|
6
|
+
trailing?: ReactNode;
|
|
7
|
+
children: ReactNode;
|
|
9
8
|
}) => import("react").JSX.Element;
|
|
10
|
-
//#endregion
|
|
11
|
-
export { PartDisclosure };
|
|
12
9
|
//# sourceMappingURL=PartDisclosure.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"PartDisclosure.d.ts","
|
|
1
|
+
{"version":3,"file":"PartDisclosure.d.ts","sourceRoot":"","sources":["../../../src/views/message/PartDisclosure.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAEvC,+CAA+C;AAC/C,eAAO,MAAM,cAAc,GAAI,6CAK5B;IACD,KAAK,EAAE,MAAM,CAAC;IACd,WAAW,CAAC,EAAE,OAAO,CAAC;IACtB,QAAQ,CAAC,EAAE,SAAS,CAAC;IACrB,QAAQ,EAAE,SAAS,CAAC;CACrB,gCAkBA,CAAC"}
|
|
@@ -1,9 +1,6 @@
|
|
|
1
|
-
import { PartPreview } from "./types.js";
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
compact?: boolean;
|
|
1
|
+
import type { PartPreview } from "./types.js";
|
|
2
|
+
export declare const PartView: ({ part, compact, }: {
|
|
3
|
+
part: PartPreview;
|
|
4
|
+
compact?: boolean;
|
|
6
5
|
}) => import("react").JSX.Element;
|
|
7
|
-
//#endregion
|
|
8
|
-
export { PartView };
|
|
9
6
|
//# sourceMappingURL=PartView.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"PartView.d.ts","
|
|
1
|
+
{"version":3,"file":"PartView.d.ts","sourceRoot":"","sources":["../../../src/views/message/PartView.tsx"],"names":[],"mappings":"AASA,OAAO,KAAK,EAAE,WAAW,EAAqB,mBAAgB;AA0E9D,eAAO,MAAM,QAAQ,GAAI,oBAGtB;IACD,IAAI,EAAE,WAAW,CAAC;IAClB,OAAO,CAAC,EAAE,OAAO,CAAC;CACnB,gCA2GA,CAAC"}
|
|
@@ -1,8 +1,5 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
compact?: boolean;
|
|
1
|
+
export declare const RoleLabel: ({ role, compact, }: {
|
|
2
|
+
role: string;
|
|
3
|
+
compact?: boolean;
|
|
5
4
|
}) => import("react").JSX.Element;
|
|
6
|
-
//#endregion
|
|
7
|
-
export { RoleLabel };
|
|
8
5
|
//# sourceMappingURL=RoleLabel.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"RoleLabel.d.ts","
|
|
1
|
+
{"version":3,"file":"RoleLabel.d.ts","sourceRoot":"","sources":["../../../src/views/message/RoleLabel.tsx"],"names":[],"mappings":"AAEA,eAAO,MAAM,SAAS,GAAI,oBAGvB;IACD,IAAI,EAAE,MAAM,CAAC;IACb,OAAO,CAAC,EAAE,OAAO,CAAC;CACnB,gCAaA,CAAC"}
|
|
@@ -1,12 +1,9 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
className?: string | undefined;
|
|
1
|
+
export declare const StatusBadge: ({ type, reason, compact, size, className, }: {
|
|
2
|
+
type: string;
|
|
3
|
+
reason?: string | undefined;
|
|
4
|
+
/** Omits the reason segment — better for narrow transcript rails. */
|
|
5
|
+
compact?: boolean;
|
|
6
|
+
size?: "default" | "sm";
|
|
7
|
+
className?: string | undefined;
|
|
9
8
|
}) => import("react").JSX.Element;
|
|
10
|
-
//#endregion
|
|
11
|
-
export { StatusBadge };
|
|
12
9
|
//# sourceMappingURL=StatusBadge.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"StatusBadge.d.ts","
|
|
1
|
+
{"version":3,"file":"StatusBadge.d.ts","sourceRoot":"","sources":["../../../src/views/message/StatusBadge.tsx"],"names":[],"mappings":"AAGA,eAAO,MAAM,WAAW,GAAI,6CAMzB;IACD,IAAI,EAAE,MAAM,CAAC;IACb,MAAM,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IAC5B,qEAAqE;IACrE,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,IAAI,CAAC,EAAE,SAAS,GAAG,IAAI,CAAC;IACxB,SAAS,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;CAChC,gCAWA,CAAC"}
|
|
@@ -1,9 +1,6 @@
|
|
|
1
|
-
import { ToolCallPartPreview } from "./types.js";
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
nested?: boolean;
|
|
1
|
+
import type { ToolCallPartPreview } from "./types.js";
|
|
2
|
+
export declare const ToolCallView: ({ part, nested, }: {
|
|
3
|
+
part: ToolCallPartPreview;
|
|
4
|
+
nested?: boolean;
|
|
6
5
|
}) => import("react").JSX.Element;
|
|
7
|
-
//#endregion
|
|
8
|
-
export { ToolCallView };
|
|
9
6
|
//# sourceMappingURL=ToolCallView.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ToolCallView.d.ts","
|
|
1
|
+
{"version":3,"file":"ToolCallView.d.ts","sourceRoot":"","sources":["../../../src/views/message/ToolCallView.tsx"],"names":[],"mappings":"AAIA,OAAO,KAAK,EAAE,mBAAmB,EAAE,mBAAgB;AAgBnD,eAAO,MAAM,YAAY,GAAI,mBAG1B;IACD,IAAI,EAAE,mBAAmB,CAAC;IAC1B,MAAM,CAAC,EAAE,OAAO,CAAC;CAClB,gCA4HA,CAAC"}
|
|
@@ -1,13 +1,10 @@
|
|
|
1
|
-
import { MessageTimingPreview } from "./types.js";
|
|
2
|
-
//#region src/views/message/TtftBar.d.ts
|
|
1
|
+
import type { MessageTimingPreview } from "./types.js";
|
|
3
2
|
/**
|
|
4
3
|
* Splits a model turn into the time-to-first-token segment (dim) and the
|
|
5
4
|
* streaming segment (solid). The only width-bearing timing form: both numbers
|
|
6
5
|
* are measured, not derived. Renders nothing unless all three timing values exist.
|
|
7
6
|
*/
|
|
8
|
-
declare const TtftBar: ({ timing }: {
|
|
9
|
-
|
|
7
|
+
export declare const TtftBar: ({ timing }: {
|
|
8
|
+
timing: MessageTimingPreview;
|
|
10
9
|
}) => import("react").JSX.Element | null;
|
|
11
|
-
//#endregion
|
|
12
|
-
export { TtftBar };
|
|
13
10
|
//# sourceMappingURL=TtftBar.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"TtftBar.d.ts","
|
|
1
|
+
{"version":3,"file":"TtftBar.d.ts","sourceRoot":"","sources":["../../../src/views/message/TtftBar.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,oBAAoB,EAAE,mBAAgB;AAEpD;;;;GAIG;AACH,eAAO,MAAM,OAAO,GAAI,YAAY;IAAE,MAAM,EAAE,oBAAoB,CAAA;CAAE,uCAmCnE,CAAC"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
1
|
+
export { MessageList } from "./MessageList.js";
|
|
2
|
+
export { MessageDetailBody, messageDetailHeader } from "./MessageDetailPane.js";
|
|
3
|
+
export { StatusBadge } from "./StatusBadge.js";
|
|
4
|
+
export { parseMessage } from "./parse.js";
|
|
5
|
+
export type { MessagePreview, PartPreview } from "./types.js";
|
|
6
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/views/message/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAE,yBAAsB;AAC5C,OAAO,EAAE,iBAAiB,EAAE,mBAAmB,EAAE,+BAA4B;AAC7E,OAAO,EAAE,WAAW,EAAE,yBAAsB;AAC5C,OAAO,EAAE,YAAY,EAAE,mBAAgB;AACvC,YAAY,EAAE,cAAc,EAAE,WAAW,EAAE,mBAAgB"}
|
|
@@ -1,7 +1,4 @@
|
|
|
1
|
-
import { MessagePreview } from "./types.js";
|
|
2
|
-
//#region src/views/message/messagePlainText.d.ts
|
|
1
|
+
import type { MessagePreview } from "./types.js";
|
|
3
2
|
/** Plain-text export of a message for clipboard copy. */
|
|
4
|
-
declare const messagePlainText: (message: MessagePreview) => string;
|
|
5
|
-
//#endregion
|
|
6
|
-
export { messagePlainText };
|
|
3
|
+
export declare const messagePlainText: (message: MessagePreview) => string;
|
|
7
4
|
//# sourceMappingURL=messagePlainText.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"messagePlainText.d.ts","
|
|
1
|
+
{"version":3,"file":"messagePlainText.d.ts","sourceRoot":"","sources":["../../../src/views/message/messagePlainText.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAe,mBAAgB;AA6C3D,yDAAyD;AACzD,eAAO,MAAM,gBAAgB,GAAI,SAAS,cAAc,KAAG,MAkB1D,CAAC"}
|
|
@@ -1,9 +1,6 @@
|
|
|
1
|
-
import { MessagePreview, PartPreview, PartStatusPreview } from "./types.js";
|
|
2
|
-
|
|
3
|
-
declare const
|
|
4
|
-
declare const
|
|
5
|
-
declare const
|
|
6
|
-
declare const parseMessage: (value: unknown, index: number) => MessagePreview | null;
|
|
7
|
-
//#endregion
|
|
8
|
-
export { parseMessage, parsePart, parsePartStatus, partKey };
|
|
1
|
+
import type { MessagePreview, PartPreview, PartStatusPreview } from "./types.js";
|
|
2
|
+
export declare const partKey: (part: PartPreview, index: number) => string;
|
|
3
|
+
export declare const parsePartStatus: (value: unknown) => PartStatusPreview | undefined;
|
|
4
|
+
export declare const parsePart: (value: unknown) => PartPreview;
|
|
5
|
+
export declare const parseMessage: (value: unknown, index: number) => MessagePreview | null;
|
|
9
6
|
//# sourceMappingURL=parse.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"parse.d.ts","
|
|
1
|
+
{"version":3,"file":"parse.d.ts","sourceRoot":"","sources":["../../../src/views/message/parse.ts"],"names":[],"mappings":"AAMA,OAAO,KAAK,EACV,cAAc,EAGd,WAAW,EACX,iBAAiB,EAIlB,mBAAgB;AAEjB,eAAO,MAAM,OAAO,GAAI,MAAM,WAAW,EAAE,OAAO,MAAM,WAGtC,CAAC;AAEnB,eAAO,MAAM,eAAe,GAC1B,OAAO,OAAO,KACb,iBAAiB,GAAG,SAYtB,CAAC;AA+DF,eAAO,MAAM,SAAS,GAAI,OAAO,OAAO,KAAG,WAyF1C,CAAC;AAkDF,eAAO,MAAM,YAAY,GACvB,OAAO,OAAO,EACd,OAAO,MAAM,KACZ,cAAc,GAAG,IAyCnB,CAAC"}
|
|
@@ -1,113 +1,111 @@
|
|
|
1
|
-
import { AttachmentPreview } from "../attachments/types.js";
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
readonly payload?: unknown;
|
|
1
|
+
import type { AttachmentPreview } from "../attachments/types.js";
|
|
2
|
+
export interface PartStatusPreview {
|
|
3
|
+
readonly type: string;
|
|
4
|
+
readonly reason?: string;
|
|
5
|
+
readonly error?: unknown;
|
|
6
|
+
}
|
|
7
|
+
export interface ToolCallApprovalPreview {
|
|
8
|
+
readonly id?: string;
|
|
9
|
+
readonly approved?: boolean;
|
|
10
|
+
readonly reason?: string;
|
|
11
|
+
readonly isAutomatic?: boolean;
|
|
12
|
+
}
|
|
13
|
+
export interface ToolCallInterruptPreview {
|
|
14
|
+
readonly type?: string;
|
|
15
|
+
readonly payload?: unknown;
|
|
17
16
|
}
|
|
18
17
|
interface BasePartPreview {
|
|
19
|
-
|
|
20
|
-
}
|
|
21
|
-
interface TextPartPreview extends BasePartPreview {
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
}
|
|
25
|
-
interface ReasoningPartPreview extends BasePartPreview {
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
}
|
|
29
|
-
interface SourcePartPreview extends BasePartPreview {
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
}
|
|
35
|
-
interface ImagePartPreview extends BasePartPreview {
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
}
|
|
41
|
-
interface FilePartPreview extends BasePartPreview {
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
}
|
|
47
|
-
interface AudioPartPreview extends BasePartPreview {
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
}
|
|
52
|
-
interface DataPartPreview extends BasePartPreview {
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
}
|
|
57
|
-
interface GenerativeUiPartPreview extends BasePartPreview {
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
}
|
|
61
|
-
interface ToolCallPartPreview extends BasePartPreview {
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
}
|
|
76
|
-
interface UnknownPartPreview extends BasePartPreview {
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
}
|
|
81
|
-
type PartPreview = TextPartPreview | ReasoningPartPreview | SourcePartPreview | ImagePartPreview | FilePartPreview | AudioPartPreview | DataPartPreview | GenerativeUiPartPreview | ToolCallPartPreview | UnknownPartPreview;
|
|
82
|
-
interface MessageTimingPreview {
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
}
|
|
91
|
-
interface MessageUsagePreview {
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
}
|
|
96
|
-
interface MessagePreview {
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
}
|
|
111
|
-
|
|
112
|
-
export { AudioPartPreview, DataPartPreview, FilePartPreview, GenerativeUiPartPreview, ImagePartPreview, MessagePreview, MessageTimingPreview, MessageUsagePreview, PartPreview, PartStatusPreview, ReasoningPartPreview, SourcePartPreview, TextPartPreview, ToolCallApprovalPreview, ToolCallInterruptPreview, ToolCallPartPreview, UnknownPartPreview };
|
|
18
|
+
readonly status?: PartStatusPreview;
|
|
19
|
+
}
|
|
20
|
+
export interface TextPartPreview extends BasePartPreview {
|
|
21
|
+
readonly type: "text";
|
|
22
|
+
readonly text: string;
|
|
23
|
+
}
|
|
24
|
+
export interface ReasoningPartPreview extends BasePartPreview {
|
|
25
|
+
readonly type: "reasoning";
|
|
26
|
+
readonly text: string;
|
|
27
|
+
}
|
|
28
|
+
export interface SourcePartPreview extends BasePartPreview {
|
|
29
|
+
readonly type: "source";
|
|
30
|
+
readonly sourceType?: string;
|
|
31
|
+
readonly title?: string;
|
|
32
|
+
readonly url?: string;
|
|
33
|
+
}
|
|
34
|
+
export interface ImagePartPreview extends BasePartPreview {
|
|
35
|
+
readonly type: "image";
|
|
36
|
+
readonly filename?: string;
|
|
37
|
+
readonly previewUrl?: string;
|
|
38
|
+
readonly sizeBytes?: number;
|
|
39
|
+
}
|
|
40
|
+
export interface FilePartPreview extends BasePartPreview {
|
|
41
|
+
readonly type: "file";
|
|
42
|
+
readonly filename?: string;
|
|
43
|
+
readonly mimeType?: string;
|
|
44
|
+
readonly sizeBytes?: number;
|
|
45
|
+
}
|
|
46
|
+
export interface AudioPartPreview extends BasePartPreview {
|
|
47
|
+
readonly type: "audio";
|
|
48
|
+
readonly format?: string;
|
|
49
|
+
readonly sizeBytes?: number;
|
|
50
|
+
}
|
|
51
|
+
export interface DataPartPreview extends BasePartPreview {
|
|
52
|
+
readonly type: "data";
|
|
53
|
+
readonly name?: string;
|
|
54
|
+
readonly data: unknown;
|
|
55
|
+
}
|
|
56
|
+
export interface GenerativeUiPartPreview extends BasePartPreview {
|
|
57
|
+
readonly type: "generative-ui";
|
|
58
|
+
readonly spec: unknown;
|
|
59
|
+
}
|
|
60
|
+
export interface ToolCallPartPreview extends BasePartPreview {
|
|
61
|
+
readonly type: "tool-call";
|
|
62
|
+
readonly toolCallId: string;
|
|
63
|
+
readonly toolName: string;
|
|
64
|
+
readonly args: unknown;
|
|
65
|
+
readonly argsText?: string;
|
|
66
|
+
readonly result?: unknown;
|
|
67
|
+
readonly isError?: boolean;
|
|
68
|
+
readonly artifact?: unknown;
|
|
69
|
+
readonly mcp?: unknown;
|
|
70
|
+
readonly modelContent?: unknown;
|
|
71
|
+
readonly interrupt?: ToolCallInterruptPreview;
|
|
72
|
+
readonly approval?: ToolCallApprovalPreview;
|
|
73
|
+
readonly subMessageCount: number;
|
|
74
|
+
}
|
|
75
|
+
export interface UnknownPartPreview extends BasePartPreview {
|
|
76
|
+
readonly type: "unknown";
|
|
77
|
+
readonly rawType: string;
|
|
78
|
+
readonly raw: unknown;
|
|
79
|
+
}
|
|
80
|
+
export type PartPreview = TextPartPreview | ReasoningPartPreview | SourcePartPreview | ImagePartPreview | FilePartPreview | AudioPartPreview | DataPartPreview | GenerativeUiPartPreview | ToolCallPartPreview | UnknownPartPreview;
|
|
81
|
+
export interface MessageTimingPreview {
|
|
82
|
+
readonly streamStartTime?: number;
|
|
83
|
+
readonly firstTokenTime?: number;
|
|
84
|
+
readonly totalStreamTime?: number;
|
|
85
|
+
readonly tokenCount?: number;
|
|
86
|
+
readonly tokensPerSecond?: number;
|
|
87
|
+
readonly totalChunks?: number;
|
|
88
|
+
readonly toolCallCount?: number;
|
|
89
|
+
}
|
|
90
|
+
export interface MessageUsagePreview {
|
|
91
|
+
readonly inputTokens: number;
|
|
92
|
+
readonly outputTokens: number;
|
|
93
|
+
readonly stepCount: number;
|
|
94
|
+
}
|
|
95
|
+
export interface MessagePreview {
|
|
96
|
+
readonly id: string;
|
|
97
|
+
readonly role: string;
|
|
98
|
+
readonly createdAt?: string;
|
|
99
|
+
readonly status?: PartStatusPreview;
|
|
100
|
+
readonly parts: readonly PartPreview[];
|
|
101
|
+
readonly attachments: readonly AttachmentPreview[];
|
|
102
|
+
readonly timing?: MessageTimingPreview;
|
|
103
|
+
readonly usage?: MessageUsagePreview;
|
|
104
|
+
readonly branchNumber?: number;
|
|
105
|
+
readonly branchCount?: number;
|
|
106
|
+
readonly index?: number;
|
|
107
|
+
readonly isOptimistic?: boolean;
|
|
108
|
+
readonly submittedFeedback?: string;
|
|
109
|
+
}
|
|
110
|
+
export {};
|
|
113
111
|
//# sourceMappingURL=types.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"types.d.ts","
|
|
1
|
+
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../src/views/message/types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,iBAAiB,EAAE,gCAA6B;AAE9D,MAAM,WAAW,iBAAiB;IAChC,QAAQ,CAAC,IAAI,EAAE,MAAM,CAAC;IACtB,QAAQ,CAAC,MAAM,CAAC,EAAE,MAAM,CAAC;IACzB,QAAQ,CAAC,KAAK,CAAC,EAAE,OAAO,CAAC;CAC1B;AAED,MAAM,WAAW,uBAAuB;IACtC,QAAQ,CAAC,EAAE,CAAC,EAAE,MAAM,CAAC;IACrB,QAAQ,CAAC,QAAQ,CAAC,EAAE,OAAO,CAAC;IAC5B,QAAQ,CAAC,MAAM,CAAC,EAAE,MAAM,CAAC;IACzB,QAAQ,CAAC,WAAW,CAAC,EAAE,OAAO,CAAC;CAChC;AAED,MAAM,WAAW,wBAAwB;IACvC,QAAQ,CAAC,IAAI,CAAC,EAAE,MAAM,CAAC;IACvB,QAAQ,CAAC,OAAO,CAAC,EAAE,OAAO,CAAC;CAC5B;AAED,UAAU,eAAe;IACvB,Q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AY,CAAC,EAAE,OAAO,CAAC;IAChC,QAAQ,CAAC,iBAAiB,CAAC,EAAE,MAAM,CAAC;CACrC"}
|
|
@@ -1,17 +1,14 @@
|
|
|
1
|
-
import { NormalizedTool } from "../../utils/toolNormalization.js";
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
system: string;
|
|
1
|
+
import type { NormalizedTool } from "../../utils/toolNormalization.js";
|
|
2
|
+
export declare const SystemPromptPane: ({ system }: {
|
|
3
|
+
system: string;
|
|
5
4
|
}) => import("react").JSX.Element;
|
|
6
|
-
declare const ToolDetailPane: ({ tool }: {
|
|
7
|
-
|
|
5
|
+
export declare const ToolDetailPane: ({ tool }: {
|
|
6
|
+
tool: NormalizedTool;
|
|
8
7
|
}) => import("react").JSX.Element;
|
|
9
|
-
declare const CallSettingsPane: ({ value }: {
|
|
10
|
-
|
|
8
|
+
export declare const CallSettingsPane: ({ value, }: {
|
|
9
|
+
value: Record<string, unknown>;
|
|
11
10
|
}) => import("react").JSX.Element;
|
|
12
|
-
declare const ConfigPane: ({ value }: {
|
|
13
|
-
|
|
11
|
+
export declare const ConfigPane: ({ value }: {
|
|
12
|
+
value: Record<string, unknown>;
|
|
14
13
|
}) => import("react").JSX.Element;
|
|
15
|
-
//#endregion
|
|
16
|
-
export { CallSettingsPane, ConfigPane, SystemPromptPane, ToolDetailPane };
|
|
17
14
|
//# sourceMappingURL=ModelContextView.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ModelContextView.d.ts","
|
|
1
|
+
{"version":3,"file":"ModelContextView.d.ts","sourceRoot":"","sources":["../../../src/views/model-context/ModelContextView.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,yCAAsC;AAIpE,eAAO,MAAM,gBAAgB,GAAI,YAAY;IAAE,MAAM,EAAE,MAAM,CAAA;CAAE,gCAI9D,CAAC;AAEF,eAAO,MAAM,cAAc,GAAI,UAAU;IAAE,IAAI,EAAE,cAAc,CAAA;CAAE,gCAkDhE,CAAC;AAEF,eAAO,MAAM,gBAAgB,GAAI,YAE9B;IACD,KAAK,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;CAChC,gCAAqD,CAAC;AAEvD,eAAO,MAAM,UAAU,GAAI,WAAW;IAAE,KAAK,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAA;CAAE,gCAEvE,CAAC"}
|
package/dist/views/nav.d.ts
CHANGED
|
@@ -1,19 +1,16 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
id: string;
|
|
1
|
+
export type NavGroup<N extends {
|
|
2
|
+
id: string;
|
|
4
3
|
}> = {
|
|
5
|
-
|
|
6
|
-
|
|
4
|
+
label: string;
|
|
5
|
+
nodes: N[];
|
|
7
6
|
};
|
|
8
|
-
declare const flattenNav: <N extends {
|
|
9
|
-
|
|
7
|
+
export declare const flattenNav: <N extends {
|
|
8
|
+
id: string;
|
|
10
9
|
}>(groups: readonly NavGroup<N>[]) => N[];
|
|
11
|
-
declare const findNavNode: <N extends {
|
|
12
|
-
|
|
10
|
+
export declare const findNavNode: <N extends {
|
|
11
|
+
id: string;
|
|
13
12
|
}>(groups: readonly NavGroup<N>[], nodeId: string | null) => N | undefined;
|
|
14
|
-
declare const firstNavId: <N extends {
|
|
15
|
-
|
|
13
|
+
export declare const firstNavId: <N extends {
|
|
14
|
+
id: string;
|
|
16
15
|
}>(groups: readonly NavGroup<N>[]) => string | null;
|
|
17
|
-
//#endregion
|
|
18
|
-
export { NavGroup, findNavNode, firstNavId, flattenNav };
|
|
19
16
|
//# sourceMappingURL=nav.d.ts.map
|
package/dist/views/nav.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"nav.d.ts","
|
|
1
|
+
{"version":3,"file":"nav.d.ts","sourceRoot":"","sources":["../../src/views/nav.ts"],"names":[],"mappings":"AAAA,MAAM,MAAM,QAAQ,CAAC,CAAC,SAAS;IAAE,EAAE,EAAE,MAAM,CAAA;CAAE,IAAI;IAC/C,KAAK,EAAE,MAAM,CAAC;IACd,KAAK,EAAE,CAAC,EAAE,CAAC;CACZ,CAAC;AAEF,eAAO,MAAM,UAAU,GAAI,CAAC,SAAS;IAAE,EAAE,EAAE,MAAM,CAAA;CAAE,EACjD,QAAQ,SAAS,QAAQ,CAAC,CAAC,CAAC,EAAE,KAC7B,CAAC,EAA4C,CAAC;AAEjD,eAAO,MAAM,WAAW,GAAI,CAAC,SAAS;IAAE,EAAE,EAAE,MAAM,CAAA;CAAE,EAClD,QAAQ,SAAS,QAAQ,CAAC,CAAC,CAAC,EAAE,EAC9B,QAAQ,MAAM,GAAG,IAAI,KACpB,CAAC,GAAG,SACqE,CAAC;AAE7E,eAAO,MAAM,UAAU,GAAI,CAAC,SAAS;IAAE,EAAE,EAAE,MAAM,CAAA;CAAE,EACjD,QAAQ,SAAS,QAAQ,CAAC,CAAC,CAAC,EAAE,KAC7B,MAAM,GAAG,IAAyC,CAAC"}
|
|
@@ -1,10 +1,7 @@
|
|
|
1
|
-
import { RawNode } from "./rawNodes.js";
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
scopes: unknown;
|
|
1
|
+
import type { RawNode } from "./rawNodes.js";
|
|
2
|
+
export declare const RawDetail: ({ node, state, scopes, }: {
|
|
3
|
+
node: RawNode;
|
|
4
|
+
state: Record<string, unknown>;
|
|
5
|
+
scopes: unknown;
|
|
7
6
|
}) => import("react").JSX.Element;
|
|
8
|
-
//#endregion
|
|
9
|
-
export { RawDetail };
|
|
10
7
|
//# sourceMappingURL=RawDetail.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"RawDetail.d.ts","
|
|
1
|
+
{"version":3,"file":"RawDetail.d.ts","sourceRoot":"","sources":["../../../src/views/raw/RawDetail.tsx"],"names":[],"mappings":"AAIA,OAAO,KAAK,EAAE,OAAO,EAAE,sBAAmB;AAE1C,eAAO,MAAM,SAAS,GAAI,0BAIvB;IACD,IAAI,EAAE,OAAO,CAAC;IACd,KAAK,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;IAC/B,MAAM,EAAE,OAAO,CAAC;CACjB,gCAwBA,CAAC"}
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
export {
|
|
1
|
+
export { RawDetail } from "./RawDetail.js";
|
|
2
|
+
export { buildRawNav } from "./rawNodes.js";
|
|
3
|
+
export type { RawNavGroup, RawNode } from "./rawNodes.js";
|
|
4
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/views/raw/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,uBAAoB;AACxC,OAAO,EAAE,WAAW,EAAE,sBAAmB;AACzC,YAAY,EAAE,WAAW,EAAE,OAAO,EAAE,sBAAmB"}
|
|
@@ -1,19 +1,16 @@
|
|
|
1
|
-
import { ApiInfo } from "../../data/types.js";
|
|
2
|
-
import { NavGroup } from "../nav.js";
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
hint: string | null;
|
|
1
|
+
import type { ApiInfo } from "../../data/types.js";
|
|
2
|
+
import type { NavGroup } from "../nav.js";
|
|
3
|
+
export type RawNode = {
|
|
4
|
+
id: `raw:slice:${string}`;
|
|
5
|
+
kind: "slice";
|
|
6
|
+
key: string;
|
|
7
|
+
hint: string | null;
|
|
9
8
|
} | {
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
9
|
+
id: "raw:scopes";
|
|
10
|
+
kind: "scopes";
|
|
11
|
+
count: number;
|
|
13
12
|
};
|
|
14
|
-
type RawNavGroup = NavGroup<RawNode>;
|
|
15
|
-
declare const sliceHint: (key: string, value: unknown) => string | null;
|
|
16
|
-
declare const buildRawNav: (data: ApiInfo) => RawNavGroup[];
|
|
17
|
-
//#endregion
|
|
18
|
-
export { RawNavGroup, RawNode, buildRawNav, sliceHint };
|
|
13
|
+
export type RawNavGroup = NavGroup<RawNode>;
|
|
14
|
+
export declare const sliceHint: (key: string, value: unknown) => string | null;
|
|
15
|
+
export declare const buildRawNav: (data: ApiInfo) => RawNavGroup[];
|
|
19
16
|
//# sourceMappingURL=rawNodes.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"rawNodes.d.ts","
|
|
1
|
+
{"version":3,"file":"rawNodes.d.ts","sourceRoot":"","sources":["../../../src/views/raw/rawNodes.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,OAAO,EAAE,4BAAyB;AAQhD,OAAO,KAAK,EAAE,QAAQ,EAAE,kBAAe;AAEvC,MAAM,MAAM,OAAO,GACf;IACE,EAAE,EAAE,aAAa,MAAM,EAAE,CAAC;IAC1B,IAAI,EAAE,OAAO,CAAC;IACd,GAAG,EAAE,MAAM,CAAC;IACZ,IAAI,EAAE,MAAM,GAAG,IAAI,CAAC;CACrB,GACD;IAAE,EAAE,EAAE,YAAY,CAAC;IAAC,IAAI,EAAE,QAAQ,CAAC;IAAC,KAAK,EAAE,MAAM,CAAA;CAAE,CAAC;AAExD,MAAM,MAAM,WAAW,GAAG,QAAQ,CAAC,OAAO,CAAC,CAAC;AAwB5C,eAAO,MAAM,SAAS,GAAI,KAAK,MAAM,EAAE,OAAO,OAAO,KAAG,MAAM,GAAG,IAiChE,CAAC;AAEF,eAAO,MAAM,WAAW,GAAI,MAAM,OAAO,KAAG,WAAW,EA4BtD,CAAC"}
|
|
@@ -1,5 +1,2 @@
|
|
|
1
|
-
|
|
2
|
-
declare const renderStatePreview: (key: string, value: unknown) => import("react").JSX.Element;
|
|
3
|
-
//#endregion
|
|
4
|
-
export { renderStatePreview };
|
|
1
|
+
export declare const renderStatePreview: (key: string, value: unknown) => import("react").JSX.Element;
|
|
5
2
|
//# sourceMappingURL=statePreview.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"statePreview.d.ts","
|
|
1
|
+
{"version":3,"file":"statePreview.d.ts","sourceRoot":"","sources":["../../../src/views/raw/statePreview.tsx"],"names":[],"mappings":"AAmKA,eAAO,MAAM,kBAAkB,GAAI,KAAK,MAAM,EAAE,OAAO,OAAO,gCAwB7D,CAAC"}
|
|
@@ -1,8 +1,5 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
after: unknown;
|
|
1
|
+
export declare const PayloadDiff: ({ before, after, }: {
|
|
2
|
+
before: unknown;
|
|
3
|
+
after: unknown;
|
|
5
4
|
}) => import("react").JSX.Element;
|
|
6
|
-
//#endregion
|
|
7
|
-
export { PayloadDiff };
|
|
8
5
|
//# sourceMappingURL=PayloadDiff.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"PayloadDiff.d.ts","
|
|
1
|
+
{"version":3,"file":"PayloadDiff.d.ts","sourceRoot":"","sources":["../../../src/views/runs/PayloadDiff.tsx"],"names":[],"mappings":"AAaA,eAAO,MAAM,WAAW,GAAI,oBAGzB;IACD,MAAM,EAAE,OAAO,CAAC;IAChB,KAAK,EAAE,OAAO,CAAC;CAChB,gCA6BA,CAAC"}
|