@agimon-ai/po-web-components 0.0.0-alpha.2 → 0.0.0-alpha.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/LICENSE +191 -1
- package/README.md +7 -7
- package/dist/index.cjs +1 -1
- package/dist/index.d.mts +3 -2
- package/dist/index.mjs +1 -1
- package/dist/node_modules/.pnpm/{@modelcontextprotocol_server@2.2.0/node_modules/@modelcontextprotocol/server/dist/createMcpHandler-CfX6zgs1.d.mts → @modelcontextprotocol_server@2.3.1/node_modules/@modelcontextprotocol/server/dist/createMcpHandler-D4NN8WsG.d.mts} +5 -6
- package/dist/node_modules/.pnpm/@modelcontextprotocol_server@2.3.1/node_modules/@modelcontextprotocol/server/dist/createMcpHandler-D4NN8WsG.d.mts.map +1 -0
- package/dist/node_modules/.pnpm/@modelcontextprotocol_server@2.3.1/node_modules/@modelcontextprotocol/server/dist/index.d.mts +2 -0
- package/dist/node_modules/.pnpm/zod@4.6.6/node_modules/zod/v4/classic/compat.d.mts +8 -0
- package/dist/node_modules/.pnpm/zod@4.6.6/node_modules/zod/v4/classic/compat.d.mts.map +1 -0
- package/dist/node_modules/.pnpm/zod@4.6.6/node_modules/zod/v4/classic/errors.d.mts +21 -0
- package/dist/node_modules/.pnpm/zod@4.6.6/node_modules/zod/v4/classic/errors.d.mts.map +1 -0
- package/dist/node_modules/.pnpm/zod@4.6.6/node_modules/zod/v4/classic/parse.d.mts +15 -0
- package/dist/node_modules/.pnpm/zod@4.6.6/node_modules/zod/v4/classic/parse.d.mts.map +1 -0
- package/dist/node_modules/.pnpm/zod@4.6.6/node_modules/zod/v4/classic/schemas.d.mts +169 -0
- package/dist/node_modules/.pnpm/zod@4.6.6/node_modules/zod/v4/classic/schemas.d.mts.map +1 -0
- package/dist/node_modules/.pnpm/zod@4.6.6/node_modules/zod/v4/core/api.d.mts +38 -0
- package/dist/node_modules/.pnpm/zod@4.6.6/node_modules/zod/v4/core/api.d.mts.map +1 -0
- package/dist/node_modules/.pnpm/zod@4.6.6/node_modules/zod/v4/core/checks.d.mts +63 -0
- package/dist/node_modules/.pnpm/zod@4.6.6/node_modules/zod/v4/core/checks.d.mts.map +1 -0
- package/dist/node_modules/.pnpm/zod@4.6.6/node_modules/zod/v4/core/core.d.mts +50 -0
- package/dist/node_modules/.pnpm/zod@4.6.6/node_modules/zod/v4/core/core.d.mts.map +1 -0
- package/dist/node_modules/.pnpm/{zod@4.6.5 → zod@4.6.6}/node_modules/zod/v4/core/errors.d.mts +3 -87
- package/dist/node_modules/.pnpm/zod@4.6.6/node_modules/zod/v4/core/errors.d.mts.map +1 -0
- package/dist/node_modules/.pnpm/{zod@4.6.5 → zod@4.6.6}/node_modules/zod/v4/core/json-schema.d.mts +1 -26
- package/dist/node_modules/.pnpm/zod@4.6.6/node_modules/zod/v4/core/json-schema.d.mts.map +1 -0
- package/dist/node_modules/.pnpm/{zod@4.6.5 → zod@4.6.6}/node_modules/zod/v4/core/registries.d.mts +3 -7
- package/dist/node_modules/.pnpm/zod@4.6.6/node_modules/zod/v4/core/registries.d.mts.map +1 -0
- package/dist/node_modules/.pnpm/{zod@4.6.5 → zod@4.6.6}/node_modules/zod/v4/core/schemas.d.mts +10 -405
- package/dist/node_modules/.pnpm/zod@4.6.6/node_modules/zod/v4/core/schemas.d.mts.map +1 -0
- package/dist/node_modules/.pnpm/{zod@4.6.5 → zod@4.6.6}/node_modules/zod/v4/core/standard-schema.d.mts +1 -1
- package/dist/node_modules/.pnpm/zod@4.6.6/node_modules/zod/v4/core/standard-schema.d.mts.map +1 -0
- package/dist/node_modules/.pnpm/{zod@4.6.5 → zod@4.6.6}/node_modules/zod/v4/core/to-json-schema.d.mts +4 -33
- package/dist/node_modules/.pnpm/zod@4.6.6/node_modules/zod/v4/core/to-json-schema.d.mts.map +1 -0
- package/dist/node_modules/.pnpm/zod@4.6.6/node_modules/zod/v4/core/util.d.mts +38 -0
- package/dist/node_modules/.pnpm/zod@4.6.6/node_modules/zod/v4/core/util.d.mts.map +1 -0
- package/dist/node_modules/.pnpm/{zod@4.6.5 → zod@4.6.6}/node_modules/zod/v4/core/versions.d.mts +1 -1
- package/dist/node_modules/.pnpm/zod@4.6.6/node_modules/zod/v4/core/versions.d.mts.map +1 -0
- package/dist/packages/core/po-core/dist/mcpWidget.d.mts +2 -2
- package/dist/packages/core/po-core/dist/src/web/types/mcpWidget.d.mts +3 -3
- package/dist/packages/core/po-core/dist/web.d.mts +2 -2
- package/dist/packages/core/po-web-components/src/components/Accordion.mjs +1 -1
- package/dist/packages/core/po-web-components/src/components/Accordion.mjs.map +1 -1
- package/dist/packages/core/po-web-components/src/components/AgentAvatar.d.mts +14 -0
- package/dist/packages/core/po-web-components/src/components/AgentAvatar.d.mts.map +1 -0
- package/dist/packages/core/po-web-components/src/components/AgentAvatar.mjs +2 -0
- package/dist/packages/core/po-web-components/src/components/AgentAvatar.mjs.map +1 -0
- package/dist/packages/core/po-web-components/src/components/AnsiText.mjs +1 -1
- package/dist/packages/core/po-web-components/src/components/AnsiText.mjs.map +1 -1
- package/dist/packages/core/po-web-components/src/components/Avatar.mjs +1 -1
- package/dist/packages/core/po-web-components/src/components/Avatar.mjs.map +1 -1
- package/dist/packages/core/po-web-components/src/components/Badge.mjs +1 -1
- package/dist/packages/core/po-web-components/src/components/Badge.mjs.map +1 -1
- package/dist/packages/core/po-web-components/src/components/Breadcrumb.mjs +1 -1
- package/dist/packages/core/po-web-components/src/components/Breadcrumb.mjs.map +1 -1
- package/dist/packages/core/po-web-components/src/components/Button.d.mts.map +1 -1
- package/dist/packages/core/po-web-components/src/components/Button.mjs +1 -1
- package/dist/packages/core/po-web-components/src/components/Button.mjs.map +1 -1
- package/dist/packages/core/po-web-components/src/components/Checkbox.mjs +1 -1
- package/dist/packages/core/po-web-components/src/components/Checkbox.mjs.map +1 -1
- package/dist/packages/core/po-web-components/src/components/CodeBlock.mjs +1 -1
- package/dist/packages/core/po-web-components/src/components/CodeBlock.mjs.map +1 -1
- package/dist/packages/core/po-web-components/src/components/CodeEditorView.mjs +1 -1
- package/dist/packages/core/po-web-components/src/components/CodeEditorView.mjs.map +1 -1
- package/dist/packages/core/po-web-components/src/components/Command.mjs +1 -1
- package/dist/packages/core/po-web-components/src/components/Command.mjs.map +1 -1
- package/dist/packages/core/po-web-components/src/components/CopyButton.mjs +1 -1
- package/dist/packages/core/po-web-components/src/components/CopyButton.mjs.map +1 -1
- package/dist/packages/core/po-web-components/src/components/Dialog.d.mts +1 -1
- package/dist/packages/core/po-web-components/src/components/Dialog.mjs +1 -1
- package/dist/packages/core/po-web-components/src/components/Dialog.mjs.map +1 -1
- package/dist/packages/core/po-web-components/src/components/DiffView.mjs +1 -1
- package/dist/packages/core/po-web-components/src/components/DiffView.mjs.map +1 -1
- package/dist/packages/core/po-web-components/src/components/Dot.mjs +1 -1
- package/dist/packages/core/po-web-components/src/components/Dot.mjs.map +1 -1
- package/dist/packages/core/po-web-components/src/components/Drawer.mjs +1 -1
- package/dist/packages/core/po-web-components/src/components/Drawer.mjs.map +1 -1
- package/dist/packages/core/po-web-components/src/components/DropdownMenu.mjs +1 -1
- package/dist/packages/core/po-web-components/src/components/DropdownMenu.mjs.map +1 -1
- package/dist/packages/core/po-web-components/src/components/EmptyState.mjs +1 -1
- package/dist/packages/core/po-web-components/src/components/EmptyState.mjs.map +1 -1
- package/dist/packages/core/po-web-components/src/components/HashlineLines.mjs +1 -1
- package/dist/packages/core/po-web-components/src/components/HashlineLines.mjs.map +1 -1
- package/dist/packages/core/po-web-components/src/components/Input.mjs +1 -1
- package/dist/packages/core/po-web-components/src/components/Input.mjs.map +1 -1
- package/dist/packages/core/po-web-components/src/components/Kbd.mjs +1 -1
- package/dist/packages/core/po-web-components/src/components/Kbd.mjs.map +1 -1
- package/dist/packages/core/po-web-components/src/components/Label.mjs +1 -1
- package/dist/packages/core/po-web-components/src/components/Label.mjs.map +1 -1
- package/dist/packages/core/po-web-components/src/components/Markdown.d.mts +1 -0
- package/dist/packages/core/po-web-components/src/components/Markdown.d.mts.map +1 -1
- package/dist/packages/core/po-web-components/src/components/Markdown.mjs +2 -2
- package/dist/packages/core/po-web-components/src/components/Markdown.mjs.map +1 -1
- package/dist/packages/core/po-web-components/src/components/McpApp.d.mts +5 -4
- package/dist/packages/core/po-web-components/src/components/McpApp.d.mts.map +1 -1
- package/dist/packages/core/po-web-components/src/components/McpApp.mjs.map +1 -1
- package/dist/packages/core/po-web-components/src/components/McpToolWidget.d.mts +3 -3
- package/dist/packages/core/po-web-components/src/components/McpToolWidget.d.mts.map +1 -1
- package/dist/packages/core/po-web-components/src/components/McpToolWidget.mjs +2 -2
- package/dist/packages/core/po-web-components/src/components/McpToolWidget.mjs.map +1 -1
- package/dist/packages/core/po-web-components/src/components/MediaPreview.mjs +1 -1
- package/dist/packages/core/po-web-components/src/components/MediaPreview.mjs.map +1 -1
- package/dist/packages/core/po-web-components/src/components/MermaidDiagram.mjs +1 -1
- package/dist/packages/core/po-web-components/src/components/MermaidDiagram.mjs.map +1 -1
- package/dist/packages/core/po-web-components/src/components/MessageItem.mjs +1 -1
- package/dist/packages/core/po-web-components/src/components/MessageItem.mjs.map +1 -1
- package/dist/packages/core/po-web-components/src/components/MessageLines.mjs +1 -1
- package/dist/packages/core/po-web-components/src/components/MessageLines.mjs.map +1 -1
- package/dist/packages/core/po-web-components/src/components/OptionList.mjs +1 -1
- package/dist/packages/core/po-web-components/src/components/OptionList.mjs.map +1 -1
- package/dist/packages/core/po-web-components/src/components/Panel.mjs +1 -1
- package/dist/packages/core/po-web-components/src/components/Panel.mjs.map +1 -1
- package/dist/packages/core/po-web-components/src/components/PdfPreview.mjs +1 -1
- package/dist/packages/core/po-web-components/src/components/PdfPreview.mjs.map +1 -1
- package/dist/packages/core/po-web-components/src/components/Picker.mjs +1 -1
- package/dist/packages/core/po-web-components/src/components/Picker.mjs.map +1 -1
- package/dist/packages/core/po-web-components/src/components/Popover.mjs +1 -1
- package/dist/packages/core/po-web-components/src/components/Popover.mjs.map +1 -1
- package/dist/packages/core/po-web-components/src/components/Progress.mjs +1 -1
- package/dist/packages/core/po-web-components/src/components/Progress.mjs.map +1 -1
- package/dist/packages/core/po-web-components/src/components/RadioGroup.mjs +1 -1
- package/dist/packages/core/po-web-components/src/components/RadioGroup.mjs.map +1 -1
- package/dist/packages/core/po-web-components/src/components/ReviewCommentDraft.mjs +1 -1
- package/dist/packages/core/po-web-components/src/components/ReviewCommentDraft.mjs.map +1 -1
- package/dist/packages/core/po-web-components/src/components/ScrollArea.mjs +1 -1
- package/dist/packages/core/po-web-components/src/components/ScrollArea.mjs.map +1 -1
- package/dist/packages/core/po-web-components/src/components/SectionLabel.mjs +1 -1
- package/dist/packages/core/po-web-components/src/components/SectionLabel.mjs.map +1 -1
- package/dist/packages/core/po-web-components/src/components/Select.mjs +1 -1
- package/dist/packages/core/po-web-components/src/components/Select.mjs.map +1 -1
- package/dist/packages/core/po-web-components/src/components/Separator.mjs +1 -1
- package/dist/packages/core/po-web-components/src/components/Separator.mjs.map +1 -1
- package/dist/packages/core/po-web-components/src/components/Settings.mjs +1 -1
- package/dist/packages/core/po-web-components/src/components/Settings.mjs.map +1 -1
- package/dist/packages/core/po-web-components/src/components/Sheet.mjs +1 -1
- package/dist/packages/core/po-web-components/src/components/Sheet.mjs.map +1 -1
- package/dist/packages/core/po-web-components/src/components/Skeleton.mjs +1 -1
- package/dist/packages/core/po-web-components/src/components/Skeleton.mjs.map +1 -1
- package/dist/packages/core/po-web-components/src/components/StatusBadge.mjs +1 -1
- package/dist/packages/core/po-web-components/src/components/StatusBadge.mjs.map +1 -1
- package/dist/packages/core/po-web-components/src/components/StreamCursor.mjs +1 -1
- package/dist/packages/core/po-web-components/src/components/StreamCursor.mjs.map +1 -1
- package/dist/packages/core/po-web-components/src/components/Switch.mjs +1 -1
- package/dist/packages/core/po-web-components/src/components/Switch.mjs.map +1 -1
- package/dist/packages/core/po-web-components/src/components/Tabs.mjs +1 -1
- package/dist/packages/core/po-web-components/src/components/Tabs.mjs.map +1 -1
- package/dist/packages/core/po-web-components/src/components/Toast.mjs +1 -1
- package/dist/packages/core/po-web-components/src/components/Toast.mjs.map +1 -1
- package/dist/packages/core/po-web-components/src/components/ToolPathLink.mjs +1 -1
- package/dist/packages/core/po-web-components/src/components/ToolPathLink.mjs.map +1 -1
- package/dist/packages/core/po-web-components/src/components/Tooltip.mjs +1 -1
- package/dist/packages/core/po-web-components/src/components/Tooltip.mjs.map +1 -1
- package/dist/packages/core/po-web-components/src/icons/icons.d.mts +2 -2
- package/dist/packages/core/po-web-components/src/icons/icons.mjs +1 -1
- package/dist/packages/core/po-web-components/src/lib/ansiSpans.mjs +1 -1
- package/dist/packages/core/po-web-components/src/lib/ansiSpans.mjs.map +1 -1
- package/dist/packages/core/po-web-components/src/lib/editorTheme.d.mts +19 -19
- package/dist/packages/core/po-web-components/src/lib/editorTheme.d.mts.map +1 -1
- package/dist/packages/core/po-web-components/src/lib/editorTheme.mjs +1 -1
- package/dist/packages/core/po-web-components/src/lib/editorTheme.mjs.map +1 -1
- package/dist/packages/core/po-web-components/src/lib/hashlineHighlight.mjs +1 -1
- package/dist/packages/core/po-web-components/src/lib/hashlineHighlight.mjs.map +1 -1
- package/dist/packages/core/po-web-components/src/lib/hashlineView.mjs +1 -1
- package/dist/packages/core/po-web-components/src/lib/hashlineView.mjs.map +1 -1
- package/dist/packages/core/po-web-components/src/lib/syntaxHighlight.d.mts +2 -2
- package/dist/packages/core/po-web-components/src/lib/syntaxHighlight.mjs +1 -1
- package/dist/packages/core/po-web-components/src/lib/syntaxHighlight.mjs.map +1 -1
- package/dist/packages/core/po-web-components/src/theme/builtinThemes.d.mts +1 -1
- package/dist/packages/core/po-web-components/src/theme/builtinThemes.d.mts.map +1 -1
- package/dist/packages/core/po-web-components/src/theme/builtinThemes.mjs +1 -1
- package/dist/packages/core/po-web-components/src/theme/builtinThemes.mjs.map +1 -1
- package/dist/packages/core/po-web-components/src/theme/derive.mjs +1 -1
- package/dist/packages/core/po-web-components/src/theme/derive.mjs.map +1 -1
- package/dist/packages/core/po-web-components/src/theme/nativeTheme.d.mts +2 -2
- package/dist/packages/core/po-web-components/src/theme/nativeTheme.mjs +1 -1
- package/dist/packages/core/po-web-components/src/theme/nativeTheme.mjs.map +1 -1
- package/dist/packages/core/po-web-components/src/types/theme.d.mts +1 -1
- package/dist/packages/core/po-web-components/src/types/theme.d.mts.map +1 -1
- package/dist/packages/core/po-web-components/src/types/theme.mjs +1 -1
- package/dist/packages/core/po-web-components/src/types/theme.mjs.map +1 -1
- package/dist/packages/core/po-web-components/themes/po-nord-dark.mjs +2 -0
- package/dist/packages/core/po-web-components/themes/po-nord-dark.mjs.map +1 -0
- package/dist/packages/core/po-web-components/themes/po-one-light.mjs +2 -0
- package/dist/packages/core/po-web-components/themes/po-one-light.mjs.map +1 -0
- package/dist/src/components/Accordion.cjs +1 -1
- package/dist/src/components/Accordion.cjs.map +1 -1
- package/dist/src/components/AgentAvatar.cjs +2 -0
- package/dist/src/components/AgentAvatar.cjs.map +1 -0
- package/dist/src/components/AnsiText.cjs +1 -1
- package/dist/src/components/AnsiText.cjs.map +1 -1
- package/dist/src/components/Avatar.cjs +1 -1
- package/dist/src/components/Avatar.cjs.map +1 -1
- package/dist/src/components/Badge.cjs +1 -1
- package/dist/src/components/Badge.cjs.map +1 -1
- package/dist/src/components/Breadcrumb.cjs +1 -1
- package/dist/src/components/Breadcrumb.cjs.map +1 -1
- package/dist/src/components/Button.cjs +1 -1
- package/dist/src/components/Button.cjs.map +1 -1
- package/dist/src/components/Checkbox.cjs +1 -1
- package/dist/src/components/Checkbox.cjs.map +1 -1
- package/dist/src/components/CodeBlock.cjs +1 -1
- package/dist/src/components/CodeBlock.cjs.map +1 -1
- package/dist/src/components/CodeEditorView.cjs +1 -1
- package/dist/src/components/CodeEditorView.cjs.map +1 -1
- package/dist/src/components/Command.cjs +1 -1
- package/dist/src/components/Command.cjs.map +1 -1
- package/dist/src/components/CopyButton.cjs +1 -1
- package/dist/src/components/CopyButton.cjs.map +1 -1
- package/dist/src/components/Dialog.cjs +1 -1
- package/dist/src/components/Dialog.cjs.map +1 -1
- package/dist/src/components/DiffView.cjs +1 -1
- package/dist/src/components/DiffView.cjs.map +1 -1
- package/dist/src/components/Dot.cjs +1 -1
- package/dist/src/components/Dot.cjs.map +1 -1
- package/dist/src/components/Drawer.cjs +1 -1
- package/dist/src/components/Drawer.cjs.map +1 -1
- package/dist/src/components/DropdownMenu.cjs +1 -1
- package/dist/src/components/DropdownMenu.cjs.map +1 -1
- package/dist/src/components/EmptyState.cjs +1 -1
- package/dist/src/components/EmptyState.cjs.map +1 -1
- package/dist/src/components/HashlineLines.cjs +1 -1
- package/dist/src/components/HashlineLines.cjs.map +1 -1
- package/dist/src/components/Input.cjs +1 -1
- package/dist/src/components/Input.cjs.map +1 -1
- package/dist/src/components/Kbd.cjs +1 -1
- package/dist/src/components/Kbd.cjs.map +1 -1
- package/dist/src/components/Label.cjs +1 -1
- package/dist/src/components/Label.cjs.map +1 -1
- package/dist/src/components/Markdown.cjs +2 -2
- package/dist/src/components/Markdown.cjs.map +1 -1
- package/dist/src/components/McpApp.cjs.map +1 -1
- package/dist/src/components/McpToolWidget.cjs +2 -2
- package/dist/src/components/McpToolWidget.cjs.map +1 -1
- package/dist/src/components/MediaPreview.cjs +1 -1
- package/dist/src/components/MediaPreview.cjs.map +1 -1
- package/dist/src/components/MermaidDiagram.cjs +1 -1
- package/dist/src/components/MermaidDiagram.cjs.map +1 -1
- package/dist/src/components/MessageItem.cjs +1 -1
- package/dist/src/components/MessageItem.cjs.map +1 -1
- package/dist/src/components/MessageLines.cjs +1 -1
- package/dist/src/components/MessageLines.cjs.map +1 -1
- package/dist/src/components/OptionList.cjs +1 -1
- package/dist/src/components/OptionList.cjs.map +1 -1
- package/dist/src/components/Panel.cjs +1 -1
- package/dist/src/components/Panel.cjs.map +1 -1
- package/dist/src/components/PdfPreview.cjs +1 -1
- package/dist/src/components/PdfPreview.cjs.map +1 -1
- package/dist/src/components/Picker.cjs +1 -1
- package/dist/src/components/Picker.cjs.map +1 -1
- package/dist/src/components/Popover.cjs +1 -1
- package/dist/src/components/Popover.cjs.map +1 -1
- package/dist/src/components/Progress.cjs +1 -1
- package/dist/src/components/Progress.cjs.map +1 -1
- package/dist/src/components/RadioGroup.cjs +1 -1
- package/dist/src/components/RadioGroup.cjs.map +1 -1
- package/dist/src/components/ReviewCommentDraft.cjs +1 -1
- package/dist/src/components/ReviewCommentDraft.cjs.map +1 -1
- package/dist/src/components/ScrollArea.cjs +1 -1
- package/dist/src/components/ScrollArea.cjs.map +1 -1
- package/dist/src/components/SectionLabel.cjs +1 -1
- package/dist/src/components/SectionLabel.cjs.map +1 -1
- package/dist/src/components/Select.cjs +1 -1
- package/dist/src/components/Select.cjs.map +1 -1
- package/dist/src/components/Separator.cjs +1 -1
- package/dist/src/components/Separator.cjs.map +1 -1
- package/dist/src/components/Settings.cjs +1 -1
- package/dist/src/components/Settings.cjs.map +1 -1
- package/dist/src/components/Sheet.cjs +1 -1
- package/dist/src/components/Sheet.cjs.map +1 -1
- package/dist/src/components/Skeleton.cjs +1 -1
- package/dist/src/components/Skeleton.cjs.map +1 -1
- package/dist/src/components/StatusBadge.cjs +1 -1
- package/dist/src/components/StatusBadge.cjs.map +1 -1
- package/dist/src/components/StreamCursor.cjs +1 -1
- package/dist/src/components/StreamCursor.cjs.map +1 -1
- package/dist/src/components/Switch.cjs +1 -1
- package/dist/src/components/Switch.cjs.map +1 -1
- package/dist/src/components/Tabs.cjs +1 -1
- package/dist/src/components/Tabs.cjs.map +1 -1
- package/dist/src/components/Toast.cjs +1 -1
- package/dist/src/components/Toast.cjs.map +1 -1
- package/dist/src/components/ToolPathLink.cjs +1 -1
- package/dist/src/components/ToolPathLink.cjs.map +1 -1
- package/dist/src/components/Tooltip.cjs +1 -1
- package/dist/src/components/Tooltip.cjs.map +1 -1
- package/dist/src/icons/icons.cjs +1 -1
- package/dist/src/lib/ansiSpans.cjs +1 -1
- package/dist/src/lib/ansiSpans.cjs.map +1 -1
- package/dist/src/lib/editorTheme.cjs +1 -1
- package/dist/src/lib/editorTheme.cjs.map +1 -1
- package/dist/src/lib/hashlineHighlight.cjs +1 -1
- package/dist/src/lib/hashlineHighlight.cjs.map +1 -1
- package/dist/src/lib/hashlineView.cjs +1 -1
- package/dist/src/lib/hashlineView.cjs.map +1 -1
- package/dist/src/lib/syntaxHighlight.cjs +1 -1
- package/dist/src/lib/syntaxHighlight.cjs.map +1 -1
- package/dist/src/theme/builtinThemes.cjs +1 -1
- package/dist/src/theme/builtinThemes.cjs.map +1 -1
- package/dist/src/theme/derive.cjs +1 -1
- package/dist/src/theme/derive.cjs.map +1 -1
- package/dist/src/theme/nativeTheme.cjs +1 -1
- package/dist/src/theme/nativeTheme.cjs.map +1 -1
- package/dist/src/types/theme.cjs +1 -1
- package/dist/src/types/theme.cjs.map +1 -1
- package/dist/themes/po-nord-dark.cjs +2 -0
- package/dist/themes/po-nord-dark.cjs.map +1 -0
- package/dist/themes/po-one-light.cjs +2 -0
- package/dist/themes/po-one-light.cjs.map +1 -0
- package/package.json +18 -18
- package/styles/mcp.css +11 -11
- package/styles/preview.css +1 -1
- package/styles/theme.css +118 -119
- package/themes/{doom-nord-dark.json → po-nord-dark.json} +1 -1
- package/themes/{doom-one-light.json → po-one-light.json} +1 -1
- package/dist/_virtual/_rolldown/runtime.mjs +0 -1
- package/dist/node_modules/.pnpm/@modelcontextprotocol_server@2.2.0/node_modules/@modelcontextprotocol/server/dist/createMcpHandler-CfX6zgs1.d.mts.map +0 -1
- package/dist/node_modules/.pnpm/@modelcontextprotocol_server@2.2.0/node_modules/@modelcontextprotocol/server/dist/index.d.mts +0 -2
- package/dist/node_modules/.pnpm/zod@4.6.5/node_modules/zod/v4/classic/coerce.d.mts +0 -20
- package/dist/node_modules/.pnpm/zod@4.6.5/node_modules/zod/v4/classic/coerce.d.mts.map +0 -1
- package/dist/node_modules/.pnpm/zod@4.6.5/node_modules/zod/v4/classic/compat.d.mts +0 -50
- package/dist/node_modules/.pnpm/zod@4.6.5/node_modules/zod/v4/classic/compat.d.mts.map +0 -1
- package/dist/node_modules/.pnpm/zod@4.6.5/node_modules/zod/v4/classic/deep-partial.d.mts +0 -10
- package/dist/node_modules/.pnpm/zod@4.6.5/node_modules/zod/v4/classic/deep-partial.d.mts.map +0 -1
- package/dist/node_modules/.pnpm/zod@4.6.5/node_modules/zod/v4/classic/errors.d.mts +0 -33
- package/dist/node_modules/.pnpm/zod@4.6.5/node_modules/zod/v4/classic/errors.d.mts.map +0 -1
- package/dist/node_modules/.pnpm/zod@4.6.5/node_modules/zod/v4/classic/external.d.mts +0 -28
- package/dist/node_modules/.pnpm/zod@4.6.5/node_modules/zod/v4/classic/external.d.mts.map +0 -1
- package/dist/node_modules/.pnpm/zod@4.6.5/node_modules/zod/v4/classic/from-json-schema.d.mts +0 -14
- package/dist/node_modules/.pnpm/zod@4.6.5/node_modules/zod/v4/classic/from-json-schema.d.mts.map +0 -1
- package/dist/node_modules/.pnpm/zod@4.6.5/node_modules/zod/v4/classic/in-out.d.mts +0 -13
- package/dist/node_modules/.pnpm/zod@4.6.5/node_modules/zod/v4/classic/in-out.d.mts.map +0 -1
- package/dist/node_modules/.pnpm/zod@4.6.5/node_modules/zod/v4/classic/iso.d.mts +0 -13
- package/dist/node_modules/.pnpm/zod@4.6.5/node_modules/zod/v4/classic/iso.d.mts.map +0 -1
- package/dist/node_modules/.pnpm/zod@4.6.5/node_modules/zod/v4/classic/parse.d.mts +0 -54
- package/dist/node_modules/.pnpm/zod@4.6.5/node_modules/zod/v4/classic/parse.d.mts.map +0 -1
- package/dist/node_modules/.pnpm/zod@4.6.5/node_modules/zod/v4/classic/schemas.d.mts +0 -775
- package/dist/node_modules/.pnpm/zod@4.6.5/node_modules/zod/v4/classic/schemas.d.mts.map +0 -1
- package/dist/node_modules/.pnpm/zod@4.6.5/node_modules/zod/v4/core/api.d.mts +0 -331
- package/dist/node_modules/.pnpm/zod@4.6.5/node_modules/zod/v4/core/api.d.mts.map +0 -1
- package/dist/node_modules/.pnpm/zod@4.6.5/node_modules/zod/v4/core/checks.d.mts +0 -296
- package/dist/node_modules/.pnpm/zod@4.6.5/node_modules/zod/v4/core/checks.d.mts.map +0 -1
- package/dist/node_modules/.pnpm/zod@4.6.5/node_modules/zod/v4/core/compile.d.mts +0 -67
- package/dist/node_modules/.pnpm/zod@4.6.5/node_modules/zod/v4/core/compile.d.mts.map +0 -1
- package/dist/node_modules/.pnpm/zod@4.6.5/node_modules/zod/v4/core/core.d.mts +0 -85
- package/dist/node_modules/.pnpm/zod@4.6.5/node_modules/zod/v4/core/core.d.mts.map +0 -1
- package/dist/node_modules/.pnpm/zod@4.6.5/node_modules/zod/v4/core/doc.d.mts +0 -18
- package/dist/node_modules/.pnpm/zod@4.6.5/node_modules/zod/v4/core/doc.d.mts.map +0 -1
- package/dist/node_modules/.pnpm/zod@4.6.5/node_modules/zod/v4/core/errors.d.mts.map +0 -1
- package/dist/node_modules/.pnpm/zod@4.6.5/node_modules/zod/v4/core/index.d.mts +0 -24
- package/dist/node_modules/.pnpm/zod@4.6.5/node_modules/zod/v4/core/index.d.mts.map +0 -1
- package/dist/node_modules/.pnpm/zod@4.6.5/node_modules/zod/v4/core/json-schema-generator.d.mts +0 -67
- package/dist/node_modules/.pnpm/zod@4.6.5/node_modules/zod/v4/core/json-schema-generator.d.mts.map +0 -1
- package/dist/node_modules/.pnpm/zod@4.6.5/node_modules/zod/v4/core/json-schema-processors.d.mts +0 -12
- package/dist/node_modules/.pnpm/zod@4.6.5/node_modules/zod/v4/core/json-schema-processors.d.mts.map +0 -1
- package/dist/node_modules/.pnpm/zod@4.6.5/node_modules/zod/v4/core/json-schema.d.mts.map +0 -1
- package/dist/node_modules/.pnpm/zod@4.6.5/node_modules/zod/v4/core/memoizer.d.mts +0 -18
- package/dist/node_modules/.pnpm/zod@4.6.5/node_modules/zod/v4/core/memoizer.d.mts.map +0 -1
- package/dist/node_modules/.pnpm/zod@4.6.5/node_modules/zod/v4/core/parse.d.mts +0 -54
- package/dist/node_modules/.pnpm/zod@4.6.5/node_modules/zod/v4/core/parse.d.mts.map +0 -1
- package/dist/node_modules/.pnpm/zod@4.6.5/node_modules/zod/v4/core/regexes.d.mts +0 -94
- package/dist/node_modules/.pnpm/zod@4.6.5/node_modules/zod/v4/core/regexes.d.mts.map +0 -1
- package/dist/node_modules/.pnpm/zod@4.6.5/node_modules/zod/v4/core/registries.d.mts.map +0 -1
- package/dist/node_modules/.pnpm/zod@4.6.5/node_modules/zod/v4/core/schemas.d.mts.map +0 -1
- package/dist/node_modules/.pnpm/zod@4.6.5/node_modules/zod/v4/core/standard-schema.d.mts.map +0 -1
- package/dist/node_modules/.pnpm/zod@4.6.5/node_modules/zod/v4/core/to-json-schema.d.mts.map +0 -1
- package/dist/node_modules/.pnpm/zod@4.6.5/node_modules/zod/v4/core/util.d.mts +0 -237
- package/dist/node_modules/.pnpm/zod@4.6.5/node_modules/zod/v4/core/util.d.mts.map +0 -1
- package/dist/node_modules/.pnpm/zod@4.6.5/node_modules/zod/v4/core/versions.d.mts.map +0 -1
- package/dist/node_modules/.pnpm/zod@4.6.5/node_modules/zod/v4/index.d.mts +0 -29
- package/dist/node_modules/.pnpm/zod@4.6.5/node_modules/zod/v4/index.d.mts.map +0 -1
- package/dist/node_modules/.pnpm/zod@4.6.5/node_modules/zod/v4/locales/ar.d.mts +0 -8
- package/dist/node_modules/.pnpm/zod@4.6.5/node_modules/zod/v4/locales/ar.d.mts.map +0 -1
- package/dist/node_modules/.pnpm/zod@4.6.5/node_modules/zod/v4/locales/az.d.mts +0 -8
- package/dist/node_modules/.pnpm/zod@4.6.5/node_modules/zod/v4/locales/az.d.mts.map +0 -1
- package/dist/node_modules/.pnpm/zod@4.6.5/node_modules/zod/v4/locales/be.d.mts +0 -8
- package/dist/node_modules/.pnpm/zod@4.6.5/node_modules/zod/v4/locales/be.d.mts.map +0 -1
- package/dist/node_modules/.pnpm/zod@4.6.5/node_modules/zod/v4/locales/bg.d.mts +0 -8
- package/dist/node_modules/.pnpm/zod@4.6.5/node_modules/zod/v4/locales/bg.d.mts.map +0 -1
- package/dist/node_modules/.pnpm/zod@4.6.5/node_modules/zod/v4/locales/bn.d.mts +0 -8
- package/dist/node_modules/.pnpm/zod@4.6.5/node_modules/zod/v4/locales/bn.d.mts.map +0 -1
- package/dist/node_modules/.pnpm/zod@4.6.5/node_modules/zod/v4/locales/ca.d.mts +0 -8
- package/dist/node_modules/.pnpm/zod@4.6.5/node_modules/zod/v4/locales/ca.d.mts.map +0 -1
- package/dist/node_modules/.pnpm/zod@4.6.5/node_modules/zod/v4/locales/ckb.d.mts +0 -8
- package/dist/node_modules/.pnpm/zod@4.6.5/node_modules/zod/v4/locales/ckb.d.mts.map +0 -1
- package/dist/node_modules/.pnpm/zod@4.6.5/node_modules/zod/v4/locales/cs.d.mts +0 -8
- package/dist/node_modules/.pnpm/zod@4.6.5/node_modules/zod/v4/locales/cs.d.mts.map +0 -1
- package/dist/node_modules/.pnpm/zod@4.6.5/node_modules/zod/v4/locales/da.d.mts +0 -8
- package/dist/node_modules/.pnpm/zod@4.6.5/node_modules/zod/v4/locales/da.d.mts.map +0 -1
- package/dist/node_modules/.pnpm/zod@4.6.5/node_modules/zod/v4/locales/de.d.mts +0 -8
- package/dist/node_modules/.pnpm/zod@4.6.5/node_modules/zod/v4/locales/de.d.mts.map +0 -1
- package/dist/node_modules/.pnpm/zod@4.6.5/node_modules/zod/v4/locales/el.d.mts +0 -8
- package/dist/node_modules/.pnpm/zod@4.6.5/node_modules/zod/v4/locales/el.d.mts.map +0 -1
- package/dist/node_modules/.pnpm/zod@4.6.5/node_modules/zod/v4/locales/en.d.mts +0 -8
- package/dist/node_modules/.pnpm/zod@4.6.5/node_modules/zod/v4/locales/en.d.mts.map +0 -1
- package/dist/node_modules/.pnpm/zod@4.6.5/node_modules/zod/v4/locales/eo.d.mts +0 -8
- package/dist/node_modules/.pnpm/zod@4.6.5/node_modules/zod/v4/locales/eo.d.mts.map +0 -1
- package/dist/node_modules/.pnpm/zod@4.6.5/node_modules/zod/v4/locales/es.d.mts +0 -8
- package/dist/node_modules/.pnpm/zod@4.6.5/node_modules/zod/v4/locales/es.d.mts.map +0 -1
- package/dist/node_modules/.pnpm/zod@4.6.5/node_modules/zod/v4/locales/fa.d.mts +0 -8
- package/dist/node_modules/.pnpm/zod@4.6.5/node_modules/zod/v4/locales/fa.d.mts.map +0 -1
- package/dist/node_modules/.pnpm/zod@4.6.5/node_modules/zod/v4/locales/fi.d.mts +0 -8
- package/dist/node_modules/.pnpm/zod@4.6.5/node_modules/zod/v4/locales/fi.d.mts.map +0 -1
- package/dist/node_modules/.pnpm/zod@4.6.5/node_modules/zod/v4/locales/fr-CA.d.mts +0 -8
- package/dist/node_modules/.pnpm/zod@4.6.5/node_modules/zod/v4/locales/fr-CA.d.mts.map +0 -1
- package/dist/node_modules/.pnpm/zod@4.6.5/node_modules/zod/v4/locales/fr.d.mts +0 -8
- package/dist/node_modules/.pnpm/zod@4.6.5/node_modules/zod/v4/locales/fr.d.mts.map +0 -1
- package/dist/node_modules/.pnpm/zod@4.6.5/node_modules/zod/v4/locales/gu.d.mts +0 -8
- package/dist/node_modules/.pnpm/zod@4.6.5/node_modules/zod/v4/locales/gu.d.mts.map +0 -1
- package/dist/node_modules/.pnpm/zod@4.6.5/node_modules/zod/v4/locales/he.d.mts +0 -8
- package/dist/node_modules/.pnpm/zod@4.6.5/node_modules/zod/v4/locales/he.d.mts.map +0 -1
- package/dist/node_modules/.pnpm/zod@4.6.5/node_modules/zod/v4/locales/hi.d.mts +0 -8
- package/dist/node_modules/.pnpm/zod@4.6.5/node_modules/zod/v4/locales/hi.d.mts.map +0 -1
- package/dist/node_modules/.pnpm/zod@4.6.5/node_modules/zod/v4/locales/hr.d.mts +0 -8
- package/dist/node_modules/.pnpm/zod@4.6.5/node_modules/zod/v4/locales/hr.d.mts.map +0 -1
- package/dist/node_modules/.pnpm/zod@4.6.5/node_modules/zod/v4/locales/hu.d.mts +0 -8
- package/dist/node_modules/.pnpm/zod@4.6.5/node_modules/zod/v4/locales/hu.d.mts.map +0 -1
- package/dist/node_modules/.pnpm/zod@4.6.5/node_modules/zod/v4/locales/hy.d.mts +0 -8
- package/dist/node_modules/.pnpm/zod@4.6.5/node_modules/zod/v4/locales/hy.d.mts.map +0 -1
- package/dist/node_modules/.pnpm/zod@4.6.5/node_modules/zod/v4/locales/id.d.mts +0 -8
- package/dist/node_modules/.pnpm/zod@4.6.5/node_modules/zod/v4/locales/id.d.mts.map +0 -1
- package/dist/node_modules/.pnpm/zod@4.6.5/node_modules/zod/v4/locales/index.d.mts +0 -69
- package/dist/node_modules/.pnpm/zod@4.6.5/node_modules/zod/v4/locales/index.d.mts.map +0 -1
- package/dist/node_modules/.pnpm/zod@4.6.5/node_modules/zod/v4/locales/is.d.mts +0 -8
- package/dist/node_modules/.pnpm/zod@4.6.5/node_modules/zod/v4/locales/is.d.mts.map +0 -1
- package/dist/node_modules/.pnpm/zod@4.6.5/node_modules/zod/v4/locales/it.d.mts +0 -8
- package/dist/node_modules/.pnpm/zod@4.6.5/node_modules/zod/v4/locales/it.d.mts.map +0 -1
- package/dist/node_modules/.pnpm/zod@4.6.5/node_modules/zod/v4/locales/ja.d.mts +0 -8
- package/dist/node_modules/.pnpm/zod@4.6.5/node_modules/zod/v4/locales/ja.d.mts.map +0 -1
- package/dist/node_modules/.pnpm/zod@4.6.5/node_modules/zod/v4/locales/ka.d.mts +0 -8
- package/dist/node_modules/.pnpm/zod@4.6.5/node_modules/zod/v4/locales/ka.d.mts.map +0 -1
- package/dist/node_modules/.pnpm/zod@4.6.5/node_modules/zod/v4/locales/kh.d.mts +0 -8
- package/dist/node_modules/.pnpm/zod@4.6.5/node_modules/zod/v4/locales/kh.d.mts.map +0 -1
- package/dist/node_modules/.pnpm/zod@4.6.5/node_modules/zod/v4/locales/km.d.mts +0 -8
- package/dist/node_modules/.pnpm/zod@4.6.5/node_modules/zod/v4/locales/km.d.mts.map +0 -1
- package/dist/node_modules/.pnpm/zod@4.6.5/node_modules/zod/v4/locales/kn.d.mts +0 -8
- package/dist/node_modules/.pnpm/zod@4.6.5/node_modules/zod/v4/locales/kn.d.mts.map +0 -1
- package/dist/node_modules/.pnpm/zod@4.6.5/node_modules/zod/v4/locales/ko.d.mts +0 -8
- package/dist/node_modules/.pnpm/zod@4.6.5/node_modules/zod/v4/locales/ko.d.mts.map +0 -1
- package/dist/node_modules/.pnpm/zod@4.6.5/node_modules/zod/v4/locales/lt.d.mts +0 -8
- package/dist/node_modules/.pnpm/zod@4.6.5/node_modules/zod/v4/locales/lt.d.mts.map +0 -1
- package/dist/node_modules/.pnpm/zod@4.6.5/node_modules/zod/v4/locales/mk.d.mts +0 -8
- package/dist/node_modules/.pnpm/zod@4.6.5/node_modules/zod/v4/locales/mk.d.mts.map +0 -1
- package/dist/node_modules/.pnpm/zod@4.6.5/node_modules/zod/v4/locales/ms.d.mts +0 -8
- package/dist/node_modules/.pnpm/zod@4.6.5/node_modules/zod/v4/locales/ms.d.mts.map +0 -1
- package/dist/node_modules/.pnpm/zod@4.6.5/node_modules/zod/v4/locales/ne.d.mts +0 -8
- package/dist/node_modules/.pnpm/zod@4.6.5/node_modules/zod/v4/locales/ne.d.mts.map +0 -1
- package/dist/node_modules/.pnpm/zod@4.6.5/node_modules/zod/v4/locales/nl.d.mts +0 -8
- package/dist/node_modules/.pnpm/zod@4.6.5/node_modules/zod/v4/locales/nl.d.mts.map +0 -1
- package/dist/node_modules/.pnpm/zod@4.6.5/node_modules/zod/v4/locales/nn.d.mts +0 -8
- package/dist/node_modules/.pnpm/zod@4.6.5/node_modules/zod/v4/locales/nn.d.mts.map +0 -1
- package/dist/node_modules/.pnpm/zod@4.6.5/node_modules/zod/v4/locales/no.d.mts +0 -8
- package/dist/node_modules/.pnpm/zod@4.6.5/node_modules/zod/v4/locales/no.d.mts.map +0 -1
- package/dist/node_modules/.pnpm/zod@4.6.5/node_modules/zod/v4/locales/ota.d.mts +0 -8
- package/dist/node_modules/.pnpm/zod@4.6.5/node_modules/zod/v4/locales/ota.d.mts.map +0 -1
- package/dist/node_modules/.pnpm/zod@4.6.5/node_modules/zod/v4/locales/pl.d.mts +0 -8
- package/dist/node_modules/.pnpm/zod@4.6.5/node_modules/zod/v4/locales/pl.d.mts.map +0 -1
- package/dist/node_modules/.pnpm/zod@4.6.5/node_modules/zod/v4/locales/ps.d.mts +0 -8
- package/dist/node_modules/.pnpm/zod@4.6.5/node_modules/zod/v4/locales/ps.d.mts.map +0 -1
- package/dist/node_modules/.pnpm/zod@4.6.5/node_modules/zod/v4/locales/pt-BR.d.mts +0 -8
- package/dist/node_modules/.pnpm/zod@4.6.5/node_modules/zod/v4/locales/pt-BR.d.mts.map +0 -1
- package/dist/node_modules/.pnpm/zod@4.6.5/node_modules/zod/v4/locales/pt.d.mts +0 -8
- package/dist/node_modules/.pnpm/zod@4.6.5/node_modules/zod/v4/locales/pt.d.mts.map +0 -1
- package/dist/node_modules/.pnpm/zod@4.6.5/node_modules/zod/v4/locales/ro.d.mts +0 -8
- package/dist/node_modules/.pnpm/zod@4.6.5/node_modules/zod/v4/locales/ro.d.mts.map +0 -1
- package/dist/node_modules/.pnpm/zod@4.6.5/node_modules/zod/v4/locales/ru.d.mts +0 -8
- package/dist/node_modules/.pnpm/zod@4.6.5/node_modules/zod/v4/locales/ru.d.mts.map +0 -1
- package/dist/node_modules/.pnpm/zod@4.6.5/node_modules/zod/v4/locales/sk.d.mts +0 -8
- package/dist/node_modules/.pnpm/zod@4.6.5/node_modules/zod/v4/locales/sk.d.mts.map +0 -1
- package/dist/node_modules/.pnpm/zod@4.6.5/node_modules/zod/v4/locales/sl.d.mts +0 -8
- package/dist/node_modules/.pnpm/zod@4.6.5/node_modules/zod/v4/locales/sl.d.mts.map +0 -1
- package/dist/node_modules/.pnpm/zod@4.6.5/node_modules/zod/v4/locales/sv.d.mts +0 -8
- package/dist/node_modules/.pnpm/zod@4.6.5/node_modules/zod/v4/locales/sv.d.mts.map +0 -1
- package/dist/node_modules/.pnpm/zod@4.6.5/node_modules/zod/v4/locales/ta.d.mts +0 -8
- package/dist/node_modules/.pnpm/zod@4.6.5/node_modules/zod/v4/locales/ta.d.mts.map +0 -1
- package/dist/node_modules/.pnpm/zod@4.6.5/node_modules/zod/v4/locales/tg.d.mts +0 -8
- package/dist/node_modules/.pnpm/zod@4.6.5/node_modules/zod/v4/locales/tg.d.mts.map +0 -1
- package/dist/node_modules/.pnpm/zod@4.6.5/node_modules/zod/v4/locales/th.d.mts +0 -8
- package/dist/node_modules/.pnpm/zod@4.6.5/node_modules/zod/v4/locales/th.d.mts.map +0 -1
- package/dist/node_modules/.pnpm/zod@4.6.5/node_modules/zod/v4/locales/tk.d.mts +0 -8
- package/dist/node_modules/.pnpm/zod@4.6.5/node_modules/zod/v4/locales/tk.d.mts.map +0 -1
- package/dist/node_modules/.pnpm/zod@4.6.5/node_modules/zod/v4/locales/tr.d.mts +0 -8
- package/dist/node_modules/.pnpm/zod@4.6.5/node_modules/zod/v4/locales/tr.d.mts.map +0 -1
- package/dist/node_modules/.pnpm/zod@4.6.5/node_modules/zod/v4/locales/ua.d.mts +0 -8
- package/dist/node_modules/.pnpm/zod@4.6.5/node_modules/zod/v4/locales/ua.d.mts.map +0 -1
- package/dist/node_modules/.pnpm/zod@4.6.5/node_modules/zod/v4/locales/uk.d.mts +0 -8
- package/dist/node_modules/.pnpm/zod@4.6.5/node_modules/zod/v4/locales/uk.d.mts.map +0 -1
- package/dist/node_modules/.pnpm/zod@4.6.5/node_modules/zod/v4/locales/ur.d.mts +0 -8
- package/dist/node_modules/.pnpm/zod@4.6.5/node_modules/zod/v4/locales/ur.d.mts.map +0 -1
- package/dist/node_modules/.pnpm/zod@4.6.5/node_modules/zod/v4/locales/uz.d.mts +0 -8
- package/dist/node_modules/.pnpm/zod@4.6.5/node_modules/zod/v4/locales/uz.d.mts.map +0 -1
- package/dist/node_modules/.pnpm/zod@4.6.5/node_modules/zod/v4/locales/vi.d.mts +0 -8
- package/dist/node_modules/.pnpm/zod@4.6.5/node_modules/zod/v4/locales/vi.d.mts.map +0 -1
- package/dist/node_modules/.pnpm/zod@4.6.5/node_modules/zod/v4/locales/yo.d.mts +0 -8
- package/dist/node_modules/.pnpm/zod@4.6.5/node_modules/zod/v4/locales/yo.d.mts.map +0 -1
- package/dist/node_modules/.pnpm/zod@4.6.5/node_modules/zod/v4/locales/zh-CN.d.mts +0 -8
- package/dist/node_modules/.pnpm/zod@4.6.5/node_modules/zod/v4/locales/zh-CN.d.mts.map +0 -1
- package/dist/node_modules/.pnpm/zod@4.6.5/node_modules/zod/v4/locales/zh-TW.d.mts +0 -8
- package/dist/node_modules/.pnpm/zod@4.6.5/node_modules/zod/v4/locales/zh-TW.d.mts.map +0 -1
- package/dist/packages/core/po-web-components/themes/doom-nord-dark.mjs +0 -2
- package/dist/packages/core/po-web-components/themes/doom-nord-dark.mjs.map +0 -1
- package/dist/packages/core/po-web-components/themes/doom-one-dark.mjs +0 -2
- package/dist/packages/core/po-web-components/themes/doom-one-dark.mjs.map +0 -1
- package/dist/packages/core/po-web-components/themes/doom-one-light.mjs +0 -2
- package/dist/packages/core/po-web-components/themes/doom-one-light.mjs.map +0 -1
- package/dist/themes/doom-nord-dark.cjs +0 -2
- package/dist/themes/doom-nord-dark.cjs.map +0 -1
- package/dist/themes/doom-one-dark.cjs +0 -2
- package/dist/themes/doom-one-dark.cjs.map +0 -1
- package/dist/themes/doom-one-light.cjs +0 -2
- package/dist/themes/doom-one-light.cjs.map +0 -1
- package/themes/doom-one-dark.json +0 -30
package/dist/node_modules/.pnpm/{zod@4.6.5 → zod@4.6.6}/node_modules/zod/v4/core/schemas.d.mts
RENAMED
|
@@ -1,14 +1,12 @@
|
|
|
1
|
-
import { BaseSchema
|
|
1
|
+
import { BaseSchema } from "./json-schema.mjs";
|
|
2
2
|
import { StandardSchemaV1 } from "./standard-schema.mjs";
|
|
3
3
|
import { ProcessParams, ToJSONSchemaContext } from "./to-json-schema.mjs";
|
|
4
|
-
import { AnyFunc, Class, EnumLike,
|
|
4
|
+
import { AnyFunc, Class, EnumLike, IsAny, Literal, LoosePartial, MakeReadonly, MaybeAsync, MimeTypes, NoUndefined, Prettify, PrimitiveSet, PropValues, TupleItems } from "./util.mjs";
|
|
5
5
|
import { version } from "./versions.mjs";
|
|
6
|
-
import { $
|
|
7
|
-
import { $ZodErrorMap, $ZodIssue, $ZodIssueBase, $ZodIssueInvalidElement, $ZodIssueInvalidKey, $ZodIssueInvalidType, $ZodIssueInvalidUnion, $ZodIssueInvalidValue, $ZodIssueTooBig, $ZodIssueTooSmall, $ZodIssueUnrecognizedKeys, $ZodRawIssue
|
|
8
|
-
import { $constructor,
|
|
9
|
-
|
|
10
|
-
export { $DiscriminatedOption, $DiscriminatorValue, $InferEnumInput, $InferEnumOutput, $InferInnerFunctionType, $InferInnerFunctionTypeAsync, $InferObjectInput, $InferObjectOutput, $InferOuterFunctionType, $InferOuterFunctionTypeAsync, $InferTupleInputType, $InferTupleOutputType, $InferUnionInput, $InferUnionOutput, $InferZodRecordInput, $InferZodRecordOutput, $PartsToTemplateLiteral, $ZodAny, $ZodAnyDef, $ZodAnyInternals, $ZodArray, $ZodArrayDef, $ZodArrayInternals, $ZodBase64, $ZodBase64Def, $ZodBase64Internals, $ZodBase64URL, $ZodBase64URLDef, $ZodBase64URLInternals, $ZodBigInt, $ZodBigIntDef, $ZodBigIntFormat, $ZodBigIntFormatDef, $ZodBigIntFormatInternals, $ZodBigIntInternals, $ZodBoolean, $ZodBooleanDef, $ZodBooleanInternals, $ZodCIDRv4, $ZodCIDRv4Def, $ZodCIDRv4Internals, $ZodCIDRv6, $ZodCIDRv6Def, $ZodCIDRv6Internals, $ZodCUID, $ZodCUID2, $ZodCUID2Def, $ZodCUID2Internals, $ZodCUIDDef, $ZodCUIDInternals, $ZodCatch, $ZodCatchCtx, $ZodCatchDef, $ZodCatchInternals, $ZodCodec, $ZodCodecDef, $ZodCodecInternals, $ZodCreditCard, $ZodCreditCardDef, $ZodCreditCardInternals, $ZodCustom, $ZodCustomDef, $ZodCustomInternals, $ZodCustomStringFormat, $ZodCustomStringFormatDef, $ZodCustomStringFormatInternals, $ZodDate, $ZodDateDef, $ZodDateInternals, $ZodDefault, $ZodDefaultDef, $ZodDefaultInternals, $ZodDiscriminatedUnion, $ZodDiscriminatedUnionDef, $ZodDiscriminatedUnionInternals, $ZodE164, $ZodE164Def, $ZodE164Internals, $ZodEmail, $ZodEmailDef, $ZodEmailInternals, $ZodEmoji, $ZodEmojiDef, $ZodEmojiInternals, $ZodEnum, $ZodEnumDef, $ZodEnumInternals, $ZodExactOptional, $ZodExactOptionalDef, $ZodExactOptionalInternals, $ZodFile, $ZodFileDef, $ZodFileInternals, $ZodFunction, $ZodFunctionArgs, $ZodFunctionDef, $ZodFunctionIn, $ZodFunctionInternals, $ZodFunctionOut, $ZodFunctionParams, $ZodGUID, $ZodGUIDDef, $ZodGUIDInternals, $ZodIBAN, $ZodIBANDef, $ZodIBANInternals, $ZodIPv4, $ZodIPv4Def, $ZodIPv4Internals, $ZodIPv6, $ZodIPv6Def, $ZodIPv6Internals, $ZodISODate, $ZodISODateDef, $ZodISODateInternals, $ZodISODateTime, $ZodISODateTimeDef, $ZodISODateTimeInternals, $ZodISODuration, $ZodISODurationDef, $ZodISODurationInternals, $ZodISOTime, $ZodISOTimeDef, $ZodISOTimeInternals, $ZodIntersection, $ZodIntersectionDef, $ZodIntersectionInternals, $ZodJWT, $ZodJWTDef, $ZodJWTInternals, $ZodKSUID, $ZodKSUIDDef, $ZodKSUIDInternals, $ZodLazy, $ZodLazyDef, $ZodLazyInternals, $ZodLiteral, $ZodLiteralDef, $ZodLiteralInternals, $ZodLooseShape, $ZodMAC, $ZodMACDef, $ZodMACInternals, $ZodMap, $ZodMapDef, $ZodMapInternals, $ZodMemoizer, $ZodNaN, $ZodNaNDef, $ZodNaNInternals, $ZodNanoID, $ZodNanoIDDef, $ZodNanoIDInternals, $ZodNever, $ZodNeverDef, $ZodNeverInternals, $ZodNonOptional, $ZodNonOptionalDef, $ZodNonOptionalInternals, $ZodNull, $ZodNullDef, $ZodNullInternals, $ZodNullable, $ZodNullableDef, $ZodNullableInternals, $ZodNumber, $ZodNumberDef, $ZodNumberFormat, $ZodNumberFormatDef, $ZodNumberFormatInternals, $ZodNumberInternals, $ZodObject, $ZodObjectConfig, $ZodObjectDef, $ZodObjectInternals, $ZodObjectJIT, $ZodOptional, $ZodOptionalDef, $ZodOptionalInternals, $ZodPipe, $ZodPipeDef, $ZodPipeInternals, $ZodPrefault, $ZodPrefaultDef, $ZodPrefaultInternals, $ZodPreprocess, $ZodPreprocessDef, $ZodPreprocessInternals, $ZodPromise, $ZodPromiseDef, $ZodPromiseInternals, $ZodReadonly, $ZodReadonlyDef, $ZodReadonlyInternals, $ZodRecord, $ZodRecordDef, $ZodRecordInternals, $ZodRecordKey, $ZodSet, $ZodSetDef, $ZodSetInternals, $ZodShape, $ZodStandardSchema, $ZodString, $ZodStringDef, $ZodStringFormat, $ZodStringFormatDef, $ZodStringFormatInternals, $ZodStringFormatTypes, $ZodStringInternals, $ZodSuccess, $ZodSuccessDef, $ZodSuccessInternals, $ZodSymbol, $ZodSymbolDef, $ZodSymbolInternals, $ZodTemplateLiteral, $ZodTemplateLiteralDef, $ZodTemplateLiteralInternals, $ZodTemplateLiteralPart, $ZodTransform, $ZodTransformDef, $ZodTransformInternals, $ZodTuple, $ZodTupleDef, $ZodTupleInternals, $ZodType, $ZodTypeDef, $ZodTypeInternals, $ZodTypes, $ZodULID, $ZodULIDDef, $ZodULIDInternals, $ZodURL, $ZodURLDef, $ZodURLInternals, $ZodUUID, $ZodUUIDDef, $ZodUUIDInternals, $ZodUndefined, $ZodUndefinedDef, $ZodUndefinedInternals, $ZodUnion, $ZodUnionDef, $ZodUnionInternals, $ZodUnknown, $ZodUnknownDef, $ZodUnknownInternals, $ZodVoid, $ZodVoidDef, $ZodVoidInternals, $ZodXID, $ZodXIDDef, $ZodXIDInternals, $ZodXor, $ZodXorInternals, $catchall, $loose, $partial, $strict, $strip, CheckFn, ConcatenateTupleOfStrings, ConvertPartsToStringTuple, File, ParseContext, ParseContextInternal, ParsePayload, SomeType, ToTemplateLiteral, URL_BAD_FORMAT, URL_UNPARSEABLE, _$ZodType, _$ZodTypeInternals, base64Charset, base64urlCharset, canParseURL, clone, getDiscriminatedOption, isValidBase64, isValidBase64URL, isValidCIDRv6, isValidCreditCard, isValidIBAN, isValidIPv6, isValidJWT, mergeValues, parseURLObject, standardProps, stripTabAndNewline, urlHostnameOk, urlProtocolOk, validateURL };
|
|
11
|
-
}
|
|
6
|
+
import { $ZodCheck, $ZodCheckDef, $ZodCheckInternals } from "./checks.mjs";
|
|
7
|
+
import { $ZodErrorMap, $ZodIssue, $ZodIssueBase, $ZodIssueInvalidElement, $ZodIssueInvalidKey, $ZodIssueInvalidType, $ZodIssueInvalidUnion, $ZodIssueInvalidValue, $ZodIssueTooBig, $ZodIssueTooSmall, $ZodIssueUnrecognizedKeys, $ZodRawIssue } from "./errors.mjs";
|
|
8
|
+
import { $constructor, infer as output, input } from "./core.mjs";
|
|
9
|
+
//#region ../../../node_modules/.pnpm/zod@4.6.6/node_modules/zod/v4/core/schemas.d.cts
|
|
12
10
|
export interface ParseContext<T extends $ZodIssueBase = never> {
|
|
13
11
|
/** Customize error messages. */
|
|
14
12
|
readonly error?: $ZodErrorMap<T>;
|
|
@@ -25,12 +23,6 @@ export interface ParseContextInternal<T extends $ZodIssueBase = never> extends P
|
|
|
25
23
|
/** Set only by `validate`/`validateAsync`. A container may stop before its next child, never inside one, so a map entry and a tuple's fixed items parse whole. */
|
|
26
24
|
readonly abortEarly?: boolean;
|
|
27
25
|
}
|
|
28
|
-
/** Gives a container cycle support: `attach` wraps its parse, and `alloc` registers the object it builds into before any child is parsed so a reference back to the same input resolves to it. */
|
|
29
|
-
export interface $ZodMemoizer {
|
|
30
|
-
attach(inst: $ZodType): void;
|
|
31
|
-
guard(inst: $ZodType): void;
|
|
32
|
-
alloc<T extends object>(inst: $ZodType, payload: ParsePayload, empty: T, ctx: ParseContextInternal): T;
|
|
33
|
-
}
|
|
34
26
|
export interface ParsePayload<T = unknown> {
|
|
35
27
|
value: T;
|
|
36
28
|
issues: $ZodRawIssue[];
|
|
@@ -114,7 +106,6 @@ export interface $ZodType<O = unknown, I = unknown, Internals extends $ZodTypeIn
|
|
|
114
106
|
}
|
|
115
107
|
export interface _$ZodType<T extends $ZodTypeInternals = $ZodTypeInternals> extends $ZodType<T["output"], T["input"], T> {}
|
|
116
108
|
export declare const $ZodType: $constructor<$ZodType>;
|
|
117
|
-
export declare function standardProps(inst: $ZodType): StandardSchemaV1.Props<any, any>;
|
|
118
109
|
export interface $ZodStringDef extends $ZodTypeDef {
|
|
119
110
|
type: "string";
|
|
120
111
|
coerce?: boolean;
|
|
@@ -138,273 +129,6 @@ export interface $ZodStringInternals<Input> extends $ZodTypeInternals<string, In
|
|
|
138
129
|
}
|
|
139
130
|
export interface $ZodString<Input = unknown> extends _$ZodType<$ZodStringInternals<Input>> {}
|
|
140
131
|
export declare const $ZodString: $constructor<$ZodString>;
|
|
141
|
-
export interface $ZodStringFormatDef<Format extends string = string> extends $ZodStringDef, $ZodCheckStringFormatDef<Format> {}
|
|
142
|
-
export interface $ZodStringFormatInternals<Format extends string = string> extends $ZodStringInternals<string>, $ZodCheckStringFormatInternals {
|
|
143
|
-
def: $ZodStringFormatDef<Format>;
|
|
144
|
-
}
|
|
145
|
-
export interface $ZodStringFormat<Format extends string = string> extends $ZodType {
|
|
146
|
-
_zod: $ZodStringFormatInternals<Format>;
|
|
147
|
-
}
|
|
148
|
-
export declare const $ZodStringFormat: $constructor<$ZodStringFormat>;
|
|
149
|
-
export interface $ZodGUIDDef extends $ZodStringFormatDef<"guid"> {}
|
|
150
|
-
export interface $ZodGUIDInternals extends $ZodStringFormatInternals<"guid"> {}
|
|
151
|
-
export interface $ZodGUID extends $ZodType {
|
|
152
|
-
_zod: $ZodGUIDInternals;
|
|
153
|
-
}
|
|
154
|
-
export declare const $ZodGUID: $constructor<$ZodGUID>;
|
|
155
|
-
export interface $ZodUUIDDef extends $ZodStringFormatDef<"uuid"> {
|
|
156
|
-
version?: "v1" | "v2" | "v3" | "v4" | "v5" | "v6" | "v7" | "v8";
|
|
157
|
-
}
|
|
158
|
-
export interface $ZodUUIDInternals extends $ZodStringFormatInternals<"uuid"> {
|
|
159
|
-
def: $ZodUUIDDef;
|
|
160
|
-
}
|
|
161
|
-
export interface $ZodUUID extends $ZodType {
|
|
162
|
-
_zod: $ZodUUIDInternals;
|
|
163
|
-
}
|
|
164
|
-
export declare const $ZodUUID: $constructor<$ZodUUID>;
|
|
165
|
-
export interface $ZodEmailDef extends $ZodStringFormatDef<"email"> {}
|
|
166
|
-
export interface $ZodEmailInternals extends $ZodStringFormatInternals<"email"> {}
|
|
167
|
-
export interface $ZodEmail extends $ZodType {
|
|
168
|
-
_zod: $ZodEmailInternals;
|
|
169
|
-
}
|
|
170
|
-
export declare const $ZodEmail: $constructor<$ZodEmail>;
|
|
171
|
-
export interface $ZodURLDef extends $ZodStringFormatDef<"url"> {
|
|
172
|
-
hostname?: RegExp | undefined;
|
|
173
|
-
protocol?: RegExp | undefined;
|
|
174
|
-
normalize?: boolean | undefined;
|
|
175
|
-
}
|
|
176
|
-
export interface $ZodURLInternals extends $ZodStringFormatInternals<"url"> {
|
|
177
|
-
def: $ZodURLDef;
|
|
178
|
-
}
|
|
179
|
-
export interface $ZodURL extends $ZodType {
|
|
180
|
-
_zod: $ZodURLInternals;
|
|
181
|
-
}
|
|
182
|
-
/** The `://` guard rejected the input before the URL constructor saw it. */
|
|
183
|
-
export declare const URL_BAD_FORMAT = 1;
|
|
184
|
-
/** The URL parser rejected the input. */
|
|
185
|
-
export declare const URL_UNPARSEABLE = 2;
|
|
186
|
-
export declare function canParseURL(input: string): boolean;
|
|
187
|
-
export declare function validateURL(trimmed: string, def: Pick<$ZodURLDef, "protocol" | "hostname" | "normalize">): URL | true | typeof URL_BAD_FORMAT | typeof URL_UNPARSEABLE;
|
|
188
|
-
/** Parses a URL while preserving the non-normalizing HTTP guard. */
|
|
189
|
-
export declare function parseURLObject(trimmed: string, def: Pick<$ZodURLDef, "protocol" | "normalize">): URL | typeof URL_BAD_FORMAT | typeof URL_UNPARSEABLE;
|
|
190
|
-
/** The URL parser deletes every ASCII tab, LF and CR from its input before it parses, so `new URL("https://exa\nmple.com")` reports on `example.com`. Applying the same deletion to the returned value closes the half of that divergence which can move the host; the parser's other rewrite, stripping C0 controls at the edges, cannot. */
|
|
191
|
-
export declare function stripTabAndNewline(value: string): string;
|
|
192
|
-
export declare function urlHostnameOk(url: URL, hostname: RegExp): boolean;
|
|
193
|
-
export declare function urlProtocolOk(url: URL, protocol: RegExp): boolean;
|
|
194
|
-
export declare const $ZodURL: $constructor<$ZodURL>;
|
|
195
|
-
export interface $ZodEmojiDef extends $ZodStringFormatDef<"emoji"> {}
|
|
196
|
-
export interface $ZodEmojiInternals extends $ZodStringFormatInternals<"emoji"> {}
|
|
197
|
-
export interface $ZodEmoji extends $ZodType {
|
|
198
|
-
_zod: $ZodEmojiInternals;
|
|
199
|
-
}
|
|
200
|
-
export declare const $ZodEmoji: $constructor<$ZodEmoji>;
|
|
201
|
-
export interface $ZodNanoIDDef extends $ZodStringFormatDef<"nanoid"> {
|
|
202
|
-
length?: number | undefined;
|
|
203
|
-
}
|
|
204
|
-
export interface $ZodNanoIDInternals extends $ZodStringFormatInternals<"nanoid"> {
|
|
205
|
-
def: $ZodNanoIDDef;
|
|
206
|
-
}
|
|
207
|
-
export interface $ZodNanoID extends $ZodType {
|
|
208
|
-
_zod: $ZodNanoIDInternals;
|
|
209
|
-
}
|
|
210
|
-
export declare const $ZodNanoID: $constructor<$ZodNanoID>;
|
|
211
|
-
/**
|
|
212
|
-
* @deprecated CUID v1 is deprecated by its authors due to information leakage
|
|
213
|
-
* (timestamps embedded in the id). Use {@link $ZodCUID2} instead.
|
|
214
|
-
* See https://github.com/paralleldrive/cuid.
|
|
215
|
-
*/
|
|
216
|
-
export interface $ZodCUIDDef extends $ZodStringFormatDef<"cuid"> {}
|
|
217
|
-
/**
|
|
218
|
-
* @deprecated CUID v1 is deprecated by its authors due to information leakage
|
|
219
|
-
* (timestamps embedded in the id). Use {@link $ZodCUID2} instead.
|
|
220
|
-
* See https://github.com/paralleldrive/cuid.
|
|
221
|
-
*/
|
|
222
|
-
export interface $ZodCUIDInternals extends $ZodStringFormatInternals<"cuid"> {}
|
|
223
|
-
/**
|
|
224
|
-
* @deprecated CUID v1 is deprecated by its authors due to information leakage
|
|
225
|
-
* (timestamps embedded in the id). Use {@link $ZodCUID2} instead.
|
|
226
|
-
* See https://github.com/paralleldrive/cuid.
|
|
227
|
-
*/
|
|
228
|
-
export interface $ZodCUID extends $ZodType {
|
|
229
|
-
_zod: $ZodCUIDInternals;
|
|
230
|
-
}
|
|
231
|
-
/**
|
|
232
|
-
* @deprecated CUID v1 is deprecated by its authors due to information leakage
|
|
233
|
-
* (timestamps embedded in the id). Use {@link $ZodCUID2} instead.
|
|
234
|
-
* See https://github.com/paralleldrive/cuid.
|
|
235
|
-
*/
|
|
236
|
-
export declare const $ZodCUID: $constructor<$ZodCUID>;
|
|
237
|
-
export interface $ZodCUID2Def extends $ZodStringFormatDef<"cuid2"> {}
|
|
238
|
-
export interface $ZodCUID2Internals extends $ZodStringFormatInternals<"cuid2"> {}
|
|
239
|
-
export interface $ZodCUID2 extends $ZodType {
|
|
240
|
-
_zod: $ZodCUID2Internals;
|
|
241
|
-
}
|
|
242
|
-
export declare const $ZodCUID2: $constructor<$ZodCUID2>;
|
|
243
|
-
export interface $ZodULIDDef extends $ZodStringFormatDef<"ulid"> {}
|
|
244
|
-
export interface $ZodULIDInternals extends $ZodStringFormatInternals<"ulid"> {}
|
|
245
|
-
export interface $ZodULID extends $ZodType {
|
|
246
|
-
_zod: $ZodULIDInternals;
|
|
247
|
-
}
|
|
248
|
-
export declare const $ZodULID: $constructor<$ZodULID>;
|
|
249
|
-
export interface $ZodXIDDef extends $ZodStringFormatDef<"xid"> {}
|
|
250
|
-
export interface $ZodXIDInternals extends $ZodStringFormatInternals<"xid"> {}
|
|
251
|
-
export interface $ZodXID extends $ZodType {
|
|
252
|
-
_zod: $ZodXIDInternals;
|
|
253
|
-
}
|
|
254
|
-
export declare const $ZodXID: $constructor<$ZodXID>;
|
|
255
|
-
export interface $ZodKSUIDDef extends $ZodStringFormatDef<"ksuid"> {}
|
|
256
|
-
export interface $ZodKSUIDInternals extends $ZodStringFormatInternals<"ksuid"> {}
|
|
257
|
-
export interface $ZodKSUID extends $ZodType {
|
|
258
|
-
_zod: $ZodKSUIDInternals;
|
|
259
|
-
}
|
|
260
|
-
export declare const $ZodKSUID: $constructor<$ZodKSUID>;
|
|
261
|
-
export interface $ZodISODateTimeDef extends $ZodStringFormatDef<"datetime"> {
|
|
262
|
-
precision: number | null;
|
|
263
|
-
offset: boolean;
|
|
264
|
-
local: boolean;
|
|
265
|
-
}
|
|
266
|
-
export interface $ZodISODateTimeInternals extends $ZodStringFormatInternals {
|
|
267
|
-
def: $ZodISODateTimeDef;
|
|
268
|
-
}
|
|
269
|
-
export interface $ZodISODateTime extends $ZodType {
|
|
270
|
-
_zod: $ZodISODateTimeInternals;
|
|
271
|
-
}
|
|
272
|
-
export declare const $ZodISODateTime: $constructor<$ZodISODateTime>;
|
|
273
|
-
export interface $ZodISODateDef extends $ZodStringFormatDef<"date"> {}
|
|
274
|
-
export interface $ZodISODateInternals extends $ZodStringFormatInternals<"date"> {}
|
|
275
|
-
export interface $ZodISODate extends $ZodType {
|
|
276
|
-
_zod: $ZodISODateInternals;
|
|
277
|
-
}
|
|
278
|
-
export declare const $ZodISODate: $constructor<$ZodISODate>;
|
|
279
|
-
export interface $ZodISOTimeDef extends $ZodStringFormatDef<"time"> {
|
|
280
|
-
precision?: number | null;
|
|
281
|
-
}
|
|
282
|
-
export interface $ZodISOTimeInternals extends $ZodStringFormatInternals<"time"> {
|
|
283
|
-
def: $ZodISOTimeDef;
|
|
284
|
-
}
|
|
285
|
-
export interface $ZodISOTime extends $ZodType {
|
|
286
|
-
_zod: $ZodISOTimeInternals;
|
|
287
|
-
}
|
|
288
|
-
export declare const $ZodISOTime: $constructor<$ZodISOTime>;
|
|
289
|
-
export interface $ZodISODurationDef extends $ZodStringFormatDef<"duration"> {}
|
|
290
|
-
export interface $ZodISODurationInternals extends $ZodStringFormatInternals<"duration"> {}
|
|
291
|
-
export interface $ZodISODuration extends $ZodType {
|
|
292
|
-
_zod: $ZodISODurationInternals;
|
|
293
|
-
}
|
|
294
|
-
export declare const $ZodISODuration: $constructor<$ZodISODuration>;
|
|
295
|
-
export interface $ZodIPv4Def extends $ZodStringFormatDef<"ipv4"> {
|
|
296
|
-
version?: "v4";
|
|
297
|
-
}
|
|
298
|
-
export interface $ZodIPv4Internals extends $ZodStringFormatInternals<"ipv4"> {
|
|
299
|
-
def: $ZodIPv4Def;
|
|
300
|
-
}
|
|
301
|
-
export interface $ZodIPv4 extends $ZodType {
|
|
302
|
-
_zod: $ZodIPv4Internals;
|
|
303
|
-
}
|
|
304
|
-
export declare const $ZodIPv4: $constructor<$ZodIPv4>;
|
|
305
|
-
export interface $ZodIPv6Def extends $ZodStringFormatDef<"ipv6"> {
|
|
306
|
-
version?: "v6";
|
|
307
|
-
}
|
|
308
|
-
export interface $ZodIPv6Internals extends $ZodStringFormatInternals<"ipv6"> {
|
|
309
|
-
def: $ZodIPv6Def;
|
|
310
|
-
}
|
|
311
|
-
export interface $ZodIPv6 extends $ZodType {
|
|
312
|
-
_zod: $ZodIPv6Internals;
|
|
313
|
-
}
|
|
314
|
-
export declare function isValidIPv6(value: string): boolean;
|
|
315
|
-
export declare const $ZodIPv6: $constructor<$ZodIPv6>;
|
|
316
|
-
export interface $ZodMACDef extends $ZodStringFormatDef<"mac"> {
|
|
317
|
-
delimiter?: string;
|
|
318
|
-
}
|
|
319
|
-
export interface $ZodMACInternals extends $ZodStringFormatInternals<"mac"> {
|
|
320
|
-
def: $ZodMACDef;
|
|
321
|
-
}
|
|
322
|
-
export interface $ZodMAC extends $ZodType {
|
|
323
|
-
_zod: $ZodMACInternals;
|
|
324
|
-
}
|
|
325
|
-
export declare const $ZodMAC: $constructor<$ZodMAC>;
|
|
326
|
-
export interface $ZodCIDRv4Def extends $ZodStringFormatDef<"cidrv4"> {
|
|
327
|
-
version?: "v4";
|
|
328
|
-
}
|
|
329
|
-
export interface $ZodCIDRv4Internals extends $ZodStringFormatInternals<"cidrv4"> {
|
|
330
|
-
def: $ZodCIDRv4Def;
|
|
331
|
-
}
|
|
332
|
-
export interface $ZodCIDRv4 extends $ZodType {
|
|
333
|
-
_zod: $ZodCIDRv4Internals;
|
|
334
|
-
}
|
|
335
|
-
export declare const $ZodCIDRv4: $constructor<$ZodCIDRv4>;
|
|
336
|
-
export interface $ZodCIDRv6Def extends $ZodStringFormatDef<"cidrv6"> {
|
|
337
|
-
version?: "v6";
|
|
338
|
-
}
|
|
339
|
-
export interface $ZodCIDRv6Internals extends $ZodStringFormatInternals<"cidrv6"> {
|
|
340
|
-
def: $ZodCIDRv6Def;
|
|
341
|
-
}
|
|
342
|
-
export interface $ZodCIDRv6 extends $ZodType {
|
|
343
|
-
_zod: $ZodCIDRv6Internals;
|
|
344
|
-
}
|
|
345
|
-
export declare function isValidCIDRv6(value: string): boolean;
|
|
346
|
-
export declare const $ZodCIDRv6: $constructor<$ZodCIDRv6>;
|
|
347
|
-
export declare function isValidBase64(data: string): boolean;
|
|
348
|
-
export interface $ZodBase64Def extends $ZodStringFormatDef<"base64"> {}
|
|
349
|
-
export interface $ZodBase64Internals extends $ZodStringFormatInternals<"base64"> {}
|
|
350
|
-
export interface $ZodBase64 extends $ZodType {
|
|
351
|
-
_zod: $ZodBase64Internals;
|
|
352
|
-
}
|
|
353
|
-
export declare const base64Charset: RegExp;
|
|
354
|
-
export declare const $ZodBase64: $constructor<$ZodBase64>;
|
|
355
|
-
export declare const base64urlCharset: RegExp;
|
|
356
|
-
export declare function isValidBase64URL(data: string): boolean;
|
|
357
|
-
export interface $ZodBase64URLDef extends $ZodStringFormatDef<"base64url"> {}
|
|
358
|
-
export interface $ZodBase64URLInternals extends $ZodStringFormatInternals<"base64url"> {}
|
|
359
|
-
export interface $ZodBase64URL extends $ZodType {
|
|
360
|
-
_zod: $ZodBase64URLInternals;
|
|
361
|
-
}
|
|
362
|
-
export declare const $ZodBase64URL: $constructor<$ZodBase64URL>;
|
|
363
|
-
export interface $ZodE164Def extends $ZodStringFormatDef<"e164"> {}
|
|
364
|
-
export interface $ZodE164Internals extends $ZodStringFormatInternals<"e164"> {}
|
|
365
|
-
export interface $ZodE164 extends $ZodType {
|
|
366
|
-
_zod: $ZodE164Internals;
|
|
367
|
-
}
|
|
368
|
-
export declare const $ZodE164: $constructor<$ZodE164>;
|
|
369
|
-
export declare function isValidCreditCard(input: string): boolean;
|
|
370
|
-
export interface $ZodCreditCardDef extends $ZodStringFormatDef<"credit_card"> {}
|
|
371
|
-
export interface $ZodCreditCardInternals extends $ZodStringFormatInternals<"credit_card"> {
|
|
372
|
-
def: $ZodCreditCardDef;
|
|
373
|
-
}
|
|
374
|
-
export interface $ZodCreditCard extends $ZodType {
|
|
375
|
-
_zod: $ZodCreditCardInternals;
|
|
376
|
-
}
|
|
377
|
-
export declare const $ZodCreditCard: $constructor<$ZodCreditCard>;
|
|
378
|
-
export declare function isValidIBAN(input: string): boolean;
|
|
379
|
-
export interface $ZodIBANDef extends $ZodStringFormatDef<"iban"> {}
|
|
380
|
-
export interface $ZodIBANInternals extends $ZodStringFormatInternals<"iban"> {
|
|
381
|
-
def: $ZodIBANDef;
|
|
382
|
-
}
|
|
383
|
-
export interface $ZodIBAN extends $ZodType {
|
|
384
|
-
_zod: $ZodIBANInternals;
|
|
385
|
-
}
|
|
386
|
-
export declare const $ZodIBAN: $constructor<$ZodIBAN>;
|
|
387
|
-
export declare function isValidJWT(token: string, algorithm?: JWTAlgorithm | null): boolean;
|
|
388
|
-
export interface $ZodJWTDef extends $ZodStringFormatDef<"jwt"> {
|
|
389
|
-
alg?: JWTAlgorithm | undefined;
|
|
390
|
-
}
|
|
391
|
-
export interface $ZodJWTInternals extends $ZodStringFormatInternals<"jwt"> {
|
|
392
|
-
def: $ZodJWTDef;
|
|
393
|
-
}
|
|
394
|
-
export interface $ZodJWT extends $ZodType {
|
|
395
|
-
_zod: $ZodJWTInternals;
|
|
396
|
-
}
|
|
397
|
-
export declare const $ZodJWT: $constructor<$ZodJWT>;
|
|
398
|
-
export interface $ZodCustomStringFormatDef<Format extends string = string> extends $ZodStringFormatDef<Format> {
|
|
399
|
-
fn: (val: string) => unknown;
|
|
400
|
-
}
|
|
401
|
-
export interface $ZodCustomStringFormatInternals<Format extends string = string> extends $ZodStringFormatInternals<Format> {
|
|
402
|
-
def: $ZodCustomStringFormatDef<Format>;
|
|
403
|
-
}
|
|
404
|
-
export interface $ZodCustomStringFormat<Format extends string = string> extends $ZodStringFormat<Format> {
|
|
405
|
-
_zod: $ZodCustomStringFormatInternals<Format>;
|
|
406
|
-
}
|
|
407
|
-
export declare const $ZodCustomStringFormat: $constructor<$ZodCustomStringFormat>;
|
|
408
132
|
export interface $ZodNumberDef extends $ZodTypeDef {
|
|
409
133
|
type: "number";
|
|
410
134
|
coerce?: boolean;
|
|
@@ -428,15 +152,6 @@ export interface $ZodNumber<Input = unknown> extends $ZodType {
|
|
|
428
152
|
_zod: $ZodNumberInternals<Input>;
|
|
429
153
|
}
|
|
430
154
|
export declare const $ZodNumber: $constructor<$ZodNumber>;
|
|
431
|
-
export interface $ZodNumberFormatDef<Format extends $ZodNumberFormats = $ZodNumberFormats> extends $ZodNumberDef, $ZodCheckNumberFormatDef<Format> {}
|
|
432
|
-
export interface $ZodNumberFormatInternals<Format extends $ZodNumberFormats = $ZodNumberFormats> extends $ZodNumberInternals<number>, $ZodCheckNumberFormatInternals<Format> {
|
|
433
|
-
def: $ZodNumberFormatDef<Format>;
|
|
434
|
-
isst: $ZodIssueInvalidType;
|
|
435
|
-
}
|
|
436
|
-
export interface $ZodNumberFormat<Format extends $ZodNumberFormats = $ZodNumberFormats> extends $ZodType {
|
|
437
|
-
_zod: $ZodNumberFormatInternals<Format>;
|
|
438
|
-
}
|
|
439
|
-
export declare const $ZodNumberFormat: $constructor<$ZodNumberFormat>;
|
|
440
155
|
export interface $ZodBooleanDef extends $ZodTypeDef {
|
|
441
156
|
type: "boolean";
|
|
442
157
|
coerce?: boolean;
|
|
@@ -470,16 +185,6 @@ export interface $ZodBigInt<T = unknown> extends $ZodType {
|
|
|
470
185
|
_zod: $ZodBigIntInternals<T>;
|
|
471
186
|
}
|
|
472
187
|
export declare const $ZodBigInt: $constructor<$ZodBigInt>;
|
|
473
|
-
export interface $ZodBigIntFormatDef<Format extends $ZodBigIntFormats = $ZodBigIntFormats> extends $ZodBigIntDef, $ZodCheckBigIntFormatDef<Format> {
|
|
474
|
-
check: "bigint_format";
|
|
475
|
-
}
|
|
476
|
-
export interface $ZodBigIntFormatInternals<Format extends $ZodBigIntFormats = $ZodBigIntFormats> extends $ZodBigIntInternals<bigint>, $ZodCheckBigIntFormatInternals<Format> {
|
|
477
|
-
def: $ZodBigIntFormatDef<Format>;
|
|
478
|
-
}
|
|
479
|
-
export interface $ZodBigIntFormat<Format extends $ZodBigIntFormats = $ZodBigIntFormats> extends $ZodType {
|
|
480
|
-
_zod: $ZodBigIntFormatInternals<Format>;
|
|
481
|
-
}
|
|
482
|
-
export declare const $ZodBigIntFormat: $constructor<$ZodBigIntFormat>;
|
|
483
188
|
export interface $ZodSymbolDef extends $ZodTypeDef {
|
|
484
189
|
type: "symbol";
|
|
485
190
|
}
|
|
@@ -606,26 +311,6 @@ export type $ZodObjectConfig = {
|
|
|
606
311
|
out: Record<string, unknown>;
|
|
607
312
|
in: Record<string, unknown>;
|
|
608
313
|
};
|
|
609
|
-
export type $loose = {
|
|
610
|
-
out: Record<string, unknown>;
|
|
611
|
-
in: Record<string, unknown>;
|
|
612
|
-
};
|
|
613
|
-
export type $strict = {
|
|
614
|
-
out: {};
|
|
615
|
-
in: {};
|
|
616
|
-
};
|
|
617
|
-
export type $strip = {
|
|
618
|
-
out: {};
|
|
619
|
-
in: {};
|
|
620
|
-
};
|
|
621
|
-
export type $catchall<T extends SomeType> = {
|
|
622
|
-
out: {
|
|
623
|
-
[k: string]: output<T>;
|
|
624
|
-
};
|
|
625
|
-
in: {
|
|
626
|
-
[k: string]: input<T>;
|
|
627
|
-
};
|
|
628
|
-
};
|
|
629
314
|
export type $ZodShape = Readonly<{
|
|
630
315
|
[k: string]: $ZodType;
|
|
631
316
|
}>;
|
|
@@ -651,7 +336,6 @@ export interface $ZodObject<
|
|
|
651
336
|
/** @ts-ignore Cast variance */
|
|
652
337
|
out Shape extends Readonly<$ZodShape> = Readonly<$ZodShape>, out Params extends $ZodObjectConfig = $ZodObjectConfig> extends $ZodType<any, any, $ZodObjectInternals<Shape, Params>> {}
|
|
653
338
|
export declare const $ZodObject: $constructor<$ZodObject>;
|
|
654
|
-
export declare const $ZodObjectJIT: $constructor<$ZodObject>;
|
|
655
339
|
export type $InferUnionOutput<T extends SomeType> = T extends any ? output<T> : never;
|
|
656
340
|
export type $InferUnionInput<T extends SomeType> = T extends any ? input<T> : never;
|
|
657
341
|
export interface $ZodUnionDef<Options extends readonly SomeType[] = readonly $ZodType[]> extends $ZodTypeDef {
|
|
@@ -675,40 +359,6 @@ export interface $ZodUnion<T extends readonly SomeType[] = readonly $ZodType[]>
|
|
|
675
359
|
_zod: $ZodUnionInternals<T>;
|
|
676
360
|
}
|
|
677
361
|
export declare const $ZodUnion: $constructor<$ZodUnion>;
|
|
678
|
-
export interface $ZodXorInternals<T extends readonly SomeType[] = readonly $ZodType[]> extends $ZodUnionInternals<T> {}
|
|
679
|
-
export interface $ZodXor<T extends readonly SomeType[] = readonly $ZodType[]> extends $ZodType<any, any, $ZodXorInternals<T>> {
|
|
680
|
-
_zod: $ZodXorInternals<T>;
|
|
681
|
-
}
|
|
682
|
-
export declare const $ZodXor: $constructor<$ZodXor>;
|
|
683
|
-
export interface $ZodDiscriminatedUnionDef<Options extends readonly SomeType[] = readonly $ZodType[], Disc extends string = string> extends $ZodUnionDef<Options> {
|
|
684
|
-
discriminator: Disc;
|
|
685
|
-
unionFallback?: boolean;
|
|
686
|
-
}
|
|
687
|
-
export interface $ZodDiscriminatedUnionInternals<Options extends readonly SomeType[] = readonly $ZodType[], Disc extends string = string> extends $ZodUnionInternals<Options> {
|
|
688
|
-
def: $ZodDiscriminatedUnionDef<Options, Disc>;
|
|
689
|
-
propValues: PropValues;
|
|
690
|
-
bag: LoosePartial<{
|
|
691
|
-
optionsMap: Map<Primitive, $ZodType | null>;
|
|
692
|
-
}>;
|
|
693
|
-
}
|
|
694
|
-
/** The discriminator values a member of `Options` can declare. An omittable discriminator contributes `undefined`, matching what `propValues` claims for it. */
|
|
695
|
-
export type $DiscriminatorValue<Options extends readonly SomeType[], Disc extends string> = { [I in keyof Options]: Options[I] extends {
|
|
696
|
-
_zod: {
|
|
697
|
-
output: infer Out;
|
|
698
|
-
};
|
|
699
|
-
} ? Disc extends keyof Out ? Out[Disc] : never : never; }[number];
|
|
700
|
-
/** The member of `Options` that declares `V`. */
|
|
701
|
-
export type $DiscriminatedOption<Options extends readonly SomeType[], Disc extends string, V> = { [I in keyof Options]: Options[I] extends {
|
|
702
|
-
_zod: {
|
|
703
|
-
output: infer Out;
|
|
704
|
-
};
|
|
705
|
-
} ? Disc extends keyof Out ? V extends Out[Disc] ? Options[I] : never : never : never; }[number];
|
|
706
|
-
/** Returns the option whose discriminator claims `value`, or throws if ambiguous. */
|
|
707
|
-
export declare function getDiscriminatedOption<Options extends readonly SomeType[], Disc extends string, const V extends $DiscriminatorValue<Options, Disc>>(union: $ZodDiscriminatedUnion<Options, Disc>, value: V): $DiscriminatedOption<Options, Disc, V>;
|
|
708
|
-
export interface $ZodDiscriminatedUnion<Options extends readonly SomeType[] = readonly $ZodType[], Disc extends string = string> extends $ZodType {
|
|
709
|
-
_zod: $ZodDiscriminatedUnionInternals<Options, Disc>;
|
|
710
|
-
}
|
|
711
|
-
export declare const $ZodDiscriminatedUnion: $constructor<$ZodDiscriminatedUnion>;
|
|
712
362
|
export interface $ZodIntersectionDef<Left extends SomeType = $ZodType, Right extends SomeType = $ZodType> extends $ZodTypeDef {
|
|
713
363
|
type: "intersection";
|
|
714
364
|
left: Left;
|
|
@@ -726,13 +376,6 @@ export interface $ZodIntersection<A extends SomeType = $ZodType, B extends SomeT
|
|
|
726
376
|
_zod: $ZodIntersectionInternals<A, B>;
|
|
727
377
|
}
|
|
728
378
|
export declare const $ZodIntersection: $constructor<$ZodIntersection>;
|
|
729
|
-
export declare function mergeValues(a: any, b: any): {
|
|
730
|
-
valid: true;
|
|
731
|
-
data: any;
|
|
732
|
-
} | {
|
|
733
|
-
valid: false;
|
|
734
|
-
mergeErrorPath: (string | number)[];
|
|
735
|
-
};
|
|
736
379
|
export interface $ZodTupleDef<T extends TupleItems = readonly $ZodType[], Rest extends SomeType | null = $ZodType | null> extends $ZodTypeDef {
|
|
737
380
|
type: "tuple";
|
|
738
381
|
items: T;
|
|
@@ -765,8 +408,10 @@ export interface $ZodRecordDef<Key extends $ZodRecordKey = $ZodRecordKey, Value
|
|
|
765
408
|
}
|
|
766
409
|
export type $InferZodRecordOutput<Key extends $ZodRecordKey = $ZodRecordKey, Value extends SomeType = $ZodType> = Key extends $partial ? Partial<Record<output<Key>, output<Value>>> : Record<output<Key>, output<Value>>;
|
|
767
410
|
export type $InferZodRecordInput<Key extends $ZodRecordKey = $ZodRecordKey, Value extends SomeType = $ZodType> = Key extends $partial ? Partial<Record<input<Key> & PropertyKey, input<Value>>> : [Value] extends [OptionalInSchema] ? Partial<Record<input<Key> & PropertyKey, input<Value>>> : Record<input<Key> & PropertyKey, input<Value>>;
|
|
768
|
-
export interface $ZodRecordInternals<Key extends $ZodRecordKey = $ZodRecordKey, Value extends SomeType = $ZodType> extends $ZodTypeInternals
|
|
411
|
+
export interface $ZodRecordInternals<Key extends $ZodRecordKey = $ZodRecordKey, Value extends SomeType = $ZodType> extends $ZodTypeInternals {
|
|
769
412
|
def: $ZodRecordDef<Key, Value>;
|
|
413
|
+
output: $InferZodRecordOutput<Key, Value>;
|
|
414
|
+
input: $InferZodRecordInput<Key, Value>;
|
|
770
415
|
isst: $ZodIssueInvalidType | $ZodIssueInvalidKey<Record<PropertyKey, unknown>>;
|
|
771
416
|
optin?: "optional" | undefined;
|
|
772
417
|
optout?: "optional" | undefined;
|
|
@@ -1038,35 +683,6 @@ export interface $ZodPipe<A extends SomeType = $ZodType, B extends SomeType = $Z
|
|
|
1038
683
|
_zod: $ZodPipeInternals<A, B>;
|
|
1039
684
|
}
|
|
1040
685
|
export declare const $ZodPipe: $constructor<$ZodPipe>;
|
|
1041
|
-
export interface $ZodCodecDef<A extends SomeType = $ZodType, B extends SomeType = $ZodType> extends $ZodPipeDef<A, B> {
|
|
1042
|
-
transform: (value: output<A>, payload: ParsePayload<output<A>>) => MaybeAsync<input<B>>;
|
|
1043
|
-
reverseTransform: (value: input<B>, payload: ParsePayload<input<B>>) => MaybeAsync<output<A>>;
|
|
1044
|
-
}
|
|
1045
|
-
export interface $ZodCodecInternals<A extends SomeType = $ZodType, B extends SomeType = $ZodType> extends $ZodTypeInternals<output<B>, input<A>> {
|
|
1046
|
-
def: $ZodCodecDef<A, B>;
|
|
1047
|
-
isst: never;
|
|
1048
|
-
values: A["_zod"]["values"];
|
|
1049
|
-
optin: A["_zod"]["optin"];
|
|
1050
|
-
optout: B["_zod"]["optout"];
|
|
1051
|
-
propValues: A["_zod"]["propValues"];
|
|
1052
|
-
}
|
|
1053
|
-
export interface $ZodCodec<A extends SomeType = $ZodType, B extends SomeType = $ZodType> extends $ZodType {
|
|
1054
|
-
_zod: $ZodCodecInternals<A, B>;
|
|
1055
|
-
}
|
|
1056
|
-
export declare const $ZodCodec: $constructor<$ZodCodec>;
|
|
1057
|
-
export interface $ZodPreprocessDef<B extends SomeType = $ZodType, I = unknown> extends $ZodPipeDef<$ZodTransform<unknown, I>, B> {
|
|
1058
|
-
in: $ZodTransform<unknown, I>;
|
|
1059
|
-
out: B;
|
|
1060
|
-
}
|
|
1061
|
-
export interface $ZodPreprocessInternals<B extends SomeType = $ZodType, I = unknown> extends $ZodPipeInternals<$ZodTransform<unknown, I>, B> {
|
|
1062
|
-
def: $ZodPreprocessDef<B, I>;
|
|
1063
|
-
optin: B["_zod"]["optin"];
|
|
1064
|
-
optout: B["_zod"]["optout"];
|
|
1065
|
-
}
|
|
1066
|
-
export interface $ZodPreprocess<B extends SomeType = $ZodType, I = unknown> extends $ZodPipe<$ZodTransform<unknown, I>, B> {
|
|
1067
|
-
_zod: $ZodPreprocessInternals<B, I>;
|
|
1068
|
-
}
|
|
1069
|
-
export declare const $ZodPreprocess: $constructor<$ZodPreprocess>;
|
|
1070
686
|
export interface $ZodReadonlyDef<T extends SomeType = $ZodType> extends $ZodTypeDef {
|
|
1071
687
|
type: "readonly";
|
|
1072
688
|
innerType: T;
|
|
@@ -1104,12 +720,6 @@ interface SchemaPart extends $ZodType {
|
|
|
1104
720
|
_zod: SchemaPartInternals;
|
|
1105
721
|
}
|
|
1106
722
|
export type $ZodTemplateLiteralPart = LiteralPart | SchemaPart;
|
|
1107
|
-
type UndefinedToEmptyString<T> = T extends undefined ? "" : T;
|
|
1108
|
-
type AppendToTemplateLiteral<Template extends string, Suffix extends LiteralPart | $ZodType> = Suffix extends LiteralPart ? `${Template}${UndefinedToEmptyString<Suffix>}` : Suffix extends $ZodType ? `${Template}${output<Suffix> extends (infer T extends LiteralPart) ? UndefinedToEmptyString<T> : never}` : never;
|
|
1109
|
-
export type ConcatenateTupleOfStrings<T extends string[]> = T extends [infer First extends string, ...infer Rest extends string[]] ? Rest extends string[] ? First extends "" ? ConcatenateTupleOfStrings<Rest> : `${First}${ConcatenateTupleOfStrings<Rest>}` : never : "";
|
|
1110
|
-
export type ConvertPartsToStringTuple<Parts extends $ZodTemplateLiteralPart[]> = { [K in keyof Parts]: Parts[K] extends LiteralPart ? `${UndefinedToEmptyString<Parts[K]>}` : Parts[K] extends $ZodType ? `${output<Parts[K]> extends (infer T extends LiteralPart) ? UndefinedToEmptyString<T> : never}` : never; };
|
|
1111
|
-
export type ToTemplateLiteral<Parts extends $ZodTemplateLiteralPart[]> = ConcatenateTupleOfStrings<ConvertPartsToStringTuple<Parts>>;
|
|
1112
|
-
export type $PartsToTemplateLiteral<Parts extends $ZodTemplateLiteralPart[]> = [] extends Parts ? `` : Parts extends [...infer Rest, infer Last extends $ZodTemplateLiteralPart] ? Rest extends $ZodTemplateLiteralPart[] ? AppendToTemplateLiteral<$PartsToTemplateLiteral<Rest>, Last> : never : never;
|
|
1113
723
|
export declare const $ZodTemplateLiteral: $constructor<$ZodTemplateLiteral>;
|
|
1114
724
|
export type $ZodFunctionArgs = $ZodType<unknown[], unknown[]>;
|
|
1115
725
|
export type $ZodFunctionIn = $ZodFunctionArgs;
|
|
@@ -1139,10 +749,6 @@ export interface $ZodFunction<Args extends $ZodFunctionIn = $ZodFunctionIn, Retu
|
|
|
1139
749
|
input(...args: any[]): $ZodFunction<any, Returns>;
|
|
1140
750
|
output<NewReturns extends $ZodType>(output: NewReturns): $ZodFunction<Args, NewReturns>;
|
|
1141
751
|
}
|
|
1142
|
-
export interface $ZodFunctionParams<I extends $ZodFunctionIn, O extends $ZodType> {
|
|
1143
|
-
input?: I;
|
|
1144
|
-
output?: O;
|
|
1145
|
-
}
|
|
1146
752
|
export declare const $ZodFunction: $constructor<$ZodFunction>;
|
|
1147
753
|
export interface $ZodPromiseDef<T extends SomeType = $ZodType> extends $ZodTypeDef {
|
|
1148
754
|
type: "promise";
|
|
@@ -1195,7 +801,6 @@ export interface $ZodCustom<O = unknown, I = unknown> extends $ZodType {
|
|
|
1195
801
|
}
|
|
1196
802
|
export declare const $ZodCustom: $constructor<$ZodCustom>;
|
|
1197
803
|
export type $ZodTypes = $ZodString | $ZodNumber | $ZodBigInt | $ZodBoolean | $ZodDate | $ZodSymbol | $ZodUndefined | $ZodNullable | $ZodNull | $ZodAny | $ZodUnknown | $ZodNever | $ZodVoid | $ZodArray | $ZodObject | $ZodUnion | $ZodIntersection | $ZodTuple | $ZodRecord | $ZodMap | $ZodSet | $ZodLiteral | $ZodEnum | $ZodFunction | $ZodPromise | $ZodLazy | $ZodOptional | $ZodDefault | $ZodPrefault | $ZodTemplateLiteral | $ZodCustom | $ZodTransform | $ZodNonOptional | $ZodReadonly | $ZodNaN | $ZodPipe | $ZodSuccess | $ZodCatch | $ZodFile;
|
|
1198
|
-
export type $ZodStringFormatTypes = $ZodGUID | $ZodUUID | $ZodEmail | $ZodURL | $ZodEmoji | $ZodNanoID | $ZodCUID | $ZodCUID2 | $ZodULID | $ZodXID | $ZodKSUID | $ZodISODateTime | $ZodISODate | $ZodISOTime | $ZodISODuration | $ZodIPv4 | $ZodIPv6 | $ZodMAC | $ZodCIDRv4 | $ZodCIDRv6 | $ZodBase64 | $ZodBase64URL | $ZodE164 | $ZodCreditCard | $ZodIBAN | $ZodJWT | $ZodCustomStringFormat<"hex"> | $ZodCustomStringFormat<HashFormat> | $ZodCustomStringFormat<"hostname"> | $ZodCustomStringFormat<"currency_code">;
|
|
1199
804
|
//#endregion
|
|
1200
|
-
export {
|
|
805
|
+
export {};
|
|
1201
806
|
//# sourceMappingURL=schemas.d.mts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"schemas.d.mts","names":["errors.$ZodIssueBase","errors.$ZodErrorMap","errors.$ZodRawIssue","util.MaybeAsync","checks.$ZodCheck","util.AnyFunc","util.PrimitiveSet","util.PropValues","JSONSchema.BaseSchema","core.input","core.output","core.$constructor","errors.$ZodIssueInvalidType","util.LoosePartial","util.IsAny","util.Prettify","errors.$ZodIssueUnrecognizedKeys","errors.$ZodIssueInvalidUnion","util.TupleItems","errors.$ZodIssueTooBig","errors.$ZodIssueTooSmall","errors.$ZodIssueInvalidKey","errors.$ZodIssueInvalidElement","util.EnumLike","errors.$ZodIssueInvalidValue","util.Literal","util.MimeTypes","util.NoUndefined","errors.$ZodIssue","util.MakeReadonly","checks.$ZodCheckDef","util.Class","checks.$ZodCheckInternals"],"sources":["../../../../../../../../../../../node_modules/.pnpm/zod@4.6.6/node_modules/zod/v4/core/schemas.d.cts"],"ignoreList":[0],"mappings":";;;;;;;;;iBAUiB,aAAa,UAAUA;;WAE3B,QAAQC,aAAoB;;WAE5B;;WAEA;;;iBAGI,qBAAqB,UAAUD,+BAAsC,aAAa;WACtF;WACA;WACA;;WAEA;;iBAQI,aAAa;EAC1B,OAAO;EACP,QAAQE;;EAER;;;EAGA;;YAEQ,QAAQ,MAAM,OAAO,aAAa,OAAOC;iBACpC;EACb;EACA,QAAQF;EACR,SAASG;;iBAEI;;EAEb,gBAAgB;;EAEhB,KAAK;;;EAGL,UAAUC;;EAEV,IAAI,SAAS,mBAAmB,KAAK,uBAAuBF,WAAgB;;EAE5E,MAAM,SAAS,mBAAmB,KAAK,uBAAuBA,WAAgB;;EAE9E,QAAQ;;;;;;;;;;EAUR;;EAEA;;;;;;;EAOA,SAASG;;;EAGT,aAAaC;;EAEb,SAAS;;EAET,aAAa,aAAa;;EAE1B,KAAK;;EAEL,MAAMP;;EAEN,sBAAsB,KAAK,qBAAqB,MAAMQ,YAAuB,QAAQ;;EAErF;;EAEA,SAAS;;;iBAGI,sBAAsB,iBAAiB,qBAAqB;;EAEzE,QAAQ;;EAER,OAAO;;YAEC,mBAAmB,KAAK,iBAAiB,MAAMC,MAAW,IAAIC,OAAY;YAC1E;EACR,MAAM;;iBAEO,SAAS,aAAa,aAAa,kBAAkB,kBAAkB,GAAG,KAAK,kBAAkB,GAAG;EACjH,MAAM;EACN,aAAa;;iBAEA,UAAU,UAAU,oBAAoB,2BAA2B,SAAS,aAAa,YAAY;qBAEjG,UAAUC,aAAkB;iBAGhC,sBAAsB;EACnC;EACA;EACA,SAASP;;iBAEI,oBAAoB,eAAe,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B,aAAa,qBAAqB,kBAAkB,GAAG,IAAI+B,mBAA0B;EACtH,KAAK;EACL,MAAMJ;EACN;EACA,KAAKf;IACD,cAAckB;;;iBAGL,WAAW,aAAa,qBAAqB;EAC1D,MAAM,oBAAoB,GAAG;;qBAEZ,YAAYpB,aAAkB;YACvC,YAAY,aAAa,aAAa,aAAa,cAAc,WAAW,aAAa,gBAAgB,eAAe,WAAW,UAAU,cAAc,YAAY,WAAW,YAAY,aAAa,YAAY,mBAAmB,YAAY,aAAa,UAAU,UAAU,cAAc,WAAW,eAAe,cAAc,WAAW,eAAe,cAAc,eAAe,sBAAsB,aAAa,gBAAgB,kBAAkB,eAAe,UAAU,WAAW,cAAc,YAAY"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
//#region ../../../node_modules/.pnpm/zod@4.6.
|
|
1
|
+
//#region ../../../node_modules/.pnpm/zod@4.6.6/node_modules/zod/v4/core/standard-schema.d.cts
|
|
2
2
|
/** The Standard interface. */
|
|
3
3
|
export interface StandardTypedV1<Input = unknown, Output = Input> {
|
|
4
4
|
/** The Standard properties. */
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"standard-schema.d.mts","names":[],"sources":["../../../../../../../../../../../node_modules/.pnpm/zod@4.6.6/node_modules/zod/v4/core/standard-schema.d.cts"],"ignoreList":[0],"mappings":";;iBACiB,gBAAgB,iBAAiB,SAAS;;WAE9C,aAAa,gBAAgB,MAAM,OAAO;;yBAE9B;;YAEX,MAAM,iBAAiB,SAAS;;aAE7B;;aAEA;;aAEA,QAAQ,MAAM,OAAO;;;YAGxB,MAAM,iBAAiB,SAAS;;aAE7B,OAAO;;aAEP,QAAQ;;;OAGhB,WAAW,eAAe,mBAAmB,YAAY;;OAEzD,YAAY,eAAe,mBAAmB,YAAY;;;iBAGlD,iBAAiB,iBAAiB,SAAS;;WAE/C,aAAa,iBAAiB,MAAM,OAAO;;yBAE/B;;YAEX,MAAM,iBAAiB,SAAS,eAAe,gBAAgB,MAAM,OAAO;;aAEzE,WAAW,gBAAgB,UAAU,iBAAiB,wBAAwB,OAAO,UAAU,QAAQ,OAAO;;;OAGtH,OAAO,UAAU,cAAc,UAAU;;YAEpC,cAAc;;aAEX,OAAO;;aAEP;;YAEH;;aAEG,iBAAiB;;;YAGpB;;aAEG,QAAQ,cAAc;;;YAGzB;;aAEG;;aAEA,OAAO,cAAc,cAAc;;;YAGtC;;aAEG,KAAK;;;YAGR,MAAM,iBAAiB,SAAS,eAAe,gBAAgB,MAAM,OAAO;;OAGjF,WAAW,eAAe,mBAAmB,gBAAgB,WAAW;;OAExE,YAAY,eAAe,mBAAmB,gBAAgB,YAAY;;;iBAGlE,qBAAqB,iBAAiB,SAAS;;WAEnD,aAAa,qBAAqB,MAAM,OAAO;;yBAEnC;;YAEX,MAAM,iBAAiB,SAAS,eAAe,gBAAgB,MAAM,OAAO;;aAEzE,YAAY;;;YAGf;;aAEG,QAAQ,SAAS,qBAAqB,YAAY;;aAElD,SAAS,SAAS,qBAAqB,YAAY;;;;;;;;;;OAU3D;;YAEK;;aAEG,QAAQ;;aAER,iBAAiB;;;YAGpB,MAAM,iBAAiB,SAAS,eAAe,gBAAgB,MAAM,OAAO;;OAGjF,WAAW,eAAe,mBAAmB,gBAAgB,WAAW;;OAExE,YAAY,eAAe,mBAAmB,gBAAgB,YAAY;;iBAElE,4BAA4B,iBAAiB,SAAS,eAAe,iBAAiB,MAAM,OAAO,SAAS,qBAAqB,MAAM,OAAO"}
|
|
@@ -1,10 +1,9 @@
|
|
|
1
|
-
import { BaseSchema
|
|
2
|
-
import {
|
|
1
|
+
import { BaseSchema } from "./json-schema.mjs";
|
|
2
|
+
import { StandardSchemaWithJSONProps } from "./standard-schema.mjs";
|
|
3
3
|
import { $ZodRegistry } from "./registries.mjs";
|
|
4
|
-
import { $ZodType, $ZodTypes
|
|
4
|
+
import { $ZodType, $ZodTypes } from "./schemas.mjs";
|
|
5
5
|
import { infer as output, input } from "./core.mjs";
|
|
6
|
-
|
|
7
|
-
//#region ../../../node_modules/.pnpm/zod@4.6.5/node_modules/zod/v4/core/to-json-schema.d.cts
|
|
6
|
+
//#region ../../../node_modules/.pnpm/zod@4.6.6/node_modules/zod/v4/core/to-json-schema.d.cts
|
|
8
7
|
export type Processor<T extends $ZodType = $ZodType> = (schema: T, ctx: ToJSONSchemaContext, json: BaseSchema, params: ProcessParams) => void;
|
|
9
8
|
/**
|
|
10
9
|
* Called for each schema that has no JSON Schema equivalent. Return a JSON Schema to use in its
|
|
@@ -58,12 +57,6 @@ export interface JSONSchemaGeneratorParams {
|
|
|
58
57
|
* Parameters for the toJSONSchema function.
|
|
59
58
|
*/
|
|
60
59
|
export type ToJSONSchemaParams = Omit<JSONSchemaGeneratorParams, "processors" | "external">;
|
|
61
|
-
/**
|
|
62
|
-
* Parameters for the toJSONSchema function when passing a registry.
|
|
63
|
-
*/
|
|
64
|
-
export interface RegistryToJSONSchemaParams extends ToJSONSchemaParams {
|
|
65
|
-
uri?: (id: string) => string;
|
|
66
|
-
}
|
|
67
60
|
export interface ProcessParams {
|
|
68
61
|
schemaPath: $ZodType[];
|
|
69
62
|
path: (string | number)[];
|
|
@@ -127,31 +120,9 @@ export interface ToJSONSchemaContext {
|
|
|
127
120
|
defs: Record<string, BaseSchema>;
|
|
128
121
|
} | undefined;
|
|
129
122
|
}
|
|
130
|
-
export declare function initializeContext(params: JSONSchemaGeneratorParams): ToJSONSchemaContext;
|
|
131
|
-
/**
|
|
132
|
-
* Applies the `unrepresentable` setting at a site that has no JSON Schema equivalent. Throws
|
|
133
|
-
* `message` unless the setting (or the handler's return value) says otherwise. Returns `true` if a
|
|
134
|
-
* custom JSON Schema was written into `json`, in which case the caller must not write its own.
|
|
135
|
-
*/
|
|
136
|
-
export declare function handleUnrepresentable(schema: $ZodType, ctx: ToJSONSchemaContext, json: BaseSchema, params: ProcessParams, message: string): boolean;
|
|
137
|
-
export declare function processSchema<T extends $ZodType>(schema: T, ctx: ToJSONSchemaContext, _params?: ProcessParams): BaseSchema;
|
|
138
|
-
export declare function extractDefs<T extends $ZodType>(ctx: ToJSONSchemaContext, schema: T): void;
|
|
139
|
-
export declare function finalize<T extends $ZodType>(ctx: ToJSONSchemaContext, schema: T): ZodStandardJSONSchemaPayload<T>;
|
|
140
123
|
export type ZodStandardSchemaWithJSON<T> = StandardSchemaWithJSONProps<input<T>, output<T>>;
|
|
141
124
|
export interface ZodStandardJSONSchemaPayload<T> extends BaseSchema {
|
|
142
125
|
"~standard": ZodStandardSchemaWithJSON<T>;
|
|
143
126
|
}
|
|
144
|
-
/**
|
|
145
|
-
* Creates a toJSONSchema method for a schema instance.
|
|
146
|
-
* This encapsulates the logic of initializing context, processing, extracting defs, and finalizing.
|
|
147
|
-
*/
|
|
148
|
-
export declare const createToJSONSchemaMethod: <T extends $ZodType>(schema: T, processors?: Record<string, Processor>) => (params?: ToJSONSchemaParams) => ZodStandardJSONSchemaPayload<T>;
|
|
149
|
-
/**
|
|
150
|
-
* Creates a toJSONSchema method for a schema instance.
|
|
151
|
-
* This encapsulates the logic of initializing context, processing, extracting defs, and finalizing.
|
|
152
|
-
*/
|
|
153
|
-
type StandardJSONSchemaMethodParams = Parameters<StandardJSONSchemaV1["~standard"]["jsonSchema"]["input"]>[0];
|
|
154
|
-
export declare const createStandardJSONSchemaMethod: <T extends $ZodType>(schema: T, io: "input" | "output", processors?: Record<string, Processor>) => (params?: StandardJSONSchemaMethodParams) => BaseSchema;
|
|
155
127
|
//#endregion
|
|
156
|
-
export { processSchema as process };
|
|
157
128
|
//# sourceMappingURL=to-json-schema.d.mts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"to-json-schema.d.mts","names":["schemas.$ZodType","JSONSchema.BaseSchema","schemas.$ZodTypes","core.input","core.output"],"sources":["../../../../../../../../../../../node_modules/.pnpm/zod@4.6.6/node_modules/zod/v4/core/to-json-schema.d.cts"],"ignoreList":[0],"mappings":";;;;;;YAKY,UAAU,UAAUA,WAAmBA,aAAqB,QAAQ,GAAG,KAAK,qBAAqB,MAAMC,YAAuB,QAAQ;;;;;;YAMtI,uBAAuB,UAAUD,WAAmBA,aAAqB;EACjF,WAAW;EACX;;;EAGA;MACEC;iBACW;EACb,YAAY,eAAe;;;EAG3B,WAAW,aAAa;;;;;;EAMxB;;;;;EAKA,oCAAoC,uBAAuBC;;EAE3D,YAAY;IACR,WAAWA;IACX,YAAYD;IACZ;;;;;EAKJ;EACA;EACA;EACA;IACI,UAAU;MACN;;IAEJ,QAAQ;IACR,MAAM,eAAeA;;;;;;YAMjB,qBAAqB,KAAK;iBAOrB;EACb,YAAYD;EACZ;;iBAEa;;EAEb,QAAQC;;EAER,MAAMA;EACN;;EAEA;;EAEA;EACA;;EAEA,MAAMD;;EAEN;;iBAEa;EACb,YAAY,eAAe;EAC3B,kBAAkB,aAAa;EAC/B;EACA,mCAAmC;EACnC,WAAW;IACP,WAAWA;IACX,YAAYC;IACZ;;EAEJ;EACA;EACA,MAAM,IAAID,UAAkB;;;;;;;;;;;;;;;EAe5B,yBAAyB;EACzB,oBAAoB;EACpB;EACA;;EAEA,eAAeC;;EAEf;EACA;IACI,UAAU;MACN;;IAEJ,QAAQ;IACR,MAAM,eAAeA;;;YAejB,0BAA0B,KAAK,4BAA4BE,MAAW,IAAIC,OAAY;iBACjF,6BAA6B,WAAWH;EACrD,aAAa,0BAA0B"}
|