windows-development-sandbox 1.4.1 → 1.5.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.sandbox-config.example.json +1 -2
- package/README.md +9 -9
- package/config.example.json +162 -8
- package/dist/api.d.ts +2 -2
- package/dist/api.js +29 -18
- package/dist/cli/args.d.ts +19 -6
- package/dist/cli/args.js +91 -35
- package/dist/cli/argv.d.ts +9 -0
- package/dist/cli/argv.js +22 -0
- package/dist/cli/commands/accounts.d.ts +1 -1
- package/dist/cli/commands/accounts.js +48 -32
- package/dist/cli/commands/agent-commands.d.ts +3 -3
- package/dist/cli/commands/agent-commands.js +20 -36
- package/dist/cli/commands/context.d.ts +15 -11
- package/dist/cli/commands/context.js +35 -32
- package/dist/cli/commands/data/clean.d.ts +2 -14
- package/dist/cli/commands/data/clean.js +18 -87
- package/dist/cli/commands/data/collect.d.ts +6 -3
- package/dist/cli/commands/data/collect.js +46 -15
- package/dist/cli/commands/data/index.d.ts +2 -2
- package/dist/cli/commands/data/index.js +34 -17
- package/dist/cli/commands/data/remove.d.ts +1 -1
- package/dist/cli/commands/data/remove.js +4 -4
- package/dist/cli/commands/index.d.ts +6 -4
- package/dist/cli/commands/index.js +6 -4
- package/dist/cli/commands/launch/add-root.d.ts +7 -0
- package/dist/cli/commands/launch/add-root.js +64 -0
- package/dist/cli/commands/launch/boot-progress.d.ts +7 -0
- package/dist/cli/commands/launch/boot-progress.js +48 -0
- package/dist/cli/commands/launch/boot-wants.d.ts +11 -0
- package/dist/cli/commands/launch/boot-wants.js +48 -0
- package/dist/cli/commands/launch/first-start.d.ts +10 -0
- package/dist/cli/commands/launch/first-start.js +53 -0
- package/dist/cli/commands/launch/index.d.ts +6 -0
- package/dist/cli/commands/launch/index.js +6 -0
- package/dist/cli/commands/launch/launch.d.ts +11 -0
- package/dist/cli/commands/launch/launch.js +273 -0
- package/dist/cli/commands/launch/prepare.d.ts +23 -0
- package/dist/cli/commands/launch/prepare.js +108 -0
- package/dist/cli/commands/launch/resume-offer.d.ts +8 -0
- package/dist/cli/commands/launch/resume-offer.js +41 -0
- package/dist/cli/commands/launch/running.d.ts +45 -0
- package/dist/cli/commands/launch/running.js +218 -0
- package/dist/cli/commands/launch/summary.d.ts +8 -0
- package/dist/cli/commands/launch/summary.js +98 -0
- package/dist/cli/commands/maintenance/audit.d.ts +3 -0
- package/dist/cli/commands/maintenance/audit.js +58 -0
- package/dist/cli/commands/maintenance/clean.d.ts +2 -0
- package/dist/cli/commands/maintenance/clean.js +10 -0
- package/dist/cli/commands/maintenance/config.d.ts +2 -0
- package/dist/cli/commands/maintenance/config.js +145 -0
- package/dist/cli/commands/maintenance/doctor.d.ts +2 -0
- package/dist/cli/commands/maintenance/doctor.js +6 -0
- package/dist/cli/commands/maintenance/host-claude.d.ts +5 -0
- package/dist/cli/commands/maintenance/host-claude.js +14 -0
- package/dist/cli/commands/maintenance/index.d.ts +10 -0
- package/dist/cli/commands/maintenance/index.js +11 -0
- package/dist/cli/commands/maintenance/logs.d.ts +2 -0
- package/dist/cli/commands/maintenance/logs.js +24 -0
- package/dist/cli/commands/maintenance/migrate.d.ts +13 -0
- package/dist/cli/commands/maintenance/migrate.js +55 -0
- package/dist/cli/commands/maintenance/sync.d.ts +2 -0
- package/dist/cli/commands/maintenance/sync.js +12 -0
- package/dist/cli/commands/maintenance/update.d.ts +22 -0
- package/dist/cli/commands/maintenance/update.js +106 -0
- package/dist/cli/commands/maintenance/watch.d.ts +3 -0
- package/dist/cli/commands/maintenance/watch.js +10 -0
- package/dist/cli/commands/projects/describe-sessions.d.ts +3 -0
- package/dist/cli/commands/projects/describe-sessions.js +15 -0
- package/dist/cli/commands/projects/here.d.ts +40 -0
- package/dist/cli/commands/projects/here.js +162 -0
- package/dist/cli/commands/projects/index.d.ts +4 -0
- package/dist/cli/commands/projects/index.js +4 -0
- package/dist/cli/commands/projects/projects.d.ts +2 -0
- package/dist/cli/commands/projects/projects.js +153 -0
- package/dist/cli/commands/projects/restart.d.ts +5 -0
- package/dist/cli/commands/projects/restart.js +106 -0
- package/dist/cli/commands/registry.d.ts +3 -0
- package/dist/cli/commands/registry.js +38 -0
- package/dist/cli/commands/repair/checks.js +105 -29
- package/dist/cli/commands/repair/finders.d.ts +13 -10
- package/dist/cli/commands/repair/finders.js +63 -43
- package/dist/cli/commands/repair/index.d.ts +3 -6
- package/dist/cli/commands/repair/index.js +29 -36
- package/dist/cli/commands/repair/types.d.ts +2 -2
- package/dist/cli/commands/repair/types.js +7 -2
- package/dist/cli/commands/resume.d.ts +2 -0
- package/dist/cli/commands/resume.js +61 -0
- package/dist/cli/commands/sessions/attach.d.ts +2 -0
- package/dist/cli/commands/sessions/attach.js +44 -0
- package/dist/cli/commands/sessions/control.d.ts +4 -0
- package/dist/cli/commands/sessions/control.js +66 -0
- package/dist/cli/commands/sessions/exec.d.ts +6 -0
- package/dist/cli/commands/sessions/exec.js +72 -0
- package/dist/cli/commands/sessions/index.d.ts +6 -0
- package/dist/cli/commands/sessions/index.js +9 -0
- package/dist/cli/commands/sessions/list.d.ts +2 -0
- package/dist/cli/commands/sessions/list.js +45 -0
- package/dist/cli/commands/sessions/reopen.d.ts +36 -0
- package/dist/cli/commands/sessions/reopen.js +99 -0
- package/dist/cli/commands/sessions/status.d.ts +2 -0
- package/dist/cli/commands/sessions/status.js +93 -0
- package/dist/cli/commands/sessions/window.d.ts +3 -0
- package/dist/cli/commands/sessions/window.js +18 -0
- package/dist/cli/commands/setup/checks.d.ts +4 -4
- package/dist/cli/commands/setup/checks.js +36 -19
- package/dist/cli/commands/setup/facts.d.ts +6 -6
- package/dist/cli/commands/setup/facts.js +25 -23
- package/dist/cli/commands/setup/index.d.ts +1 -1
- package/dist/cli/commands/setup/index.js +24 -26
- package/dist/cli/commands/shared-use.d.ts +29 -0
- package/dist/cli/commands/shared-use.js +69 -0
- package/dist/cli/commands/user-config.d.ts +5 -5
- package/dist/cli/commands/user-config.js +14 -12
- package/dist/cli/history.d.ts +5 -4
- package/dist/cli/history.js +23 -11
- package/dist/cli/index.d.ts +4 -14
- package/dist/cli/index.js +39 -78
- package/dist/cli/manifest.d.ts +645 -10
- package/dist/cli/manifest.js +405 -56
- package/dist/cli/menu/apps.d.ts +27 -14
- package/dist/cli/menu/apps.js +107 -90
- package/dist/cli/menu/command-fields.d.ts +15 -0
- package/dist/cli/menu/command-fields.js +23 -0
- package/dist/cli/menu/command-form.d.ts +8 -5
- package/dist/cli/menu/command-form.js +142 -57
- package/dist/cli/menu/index.d.ts +2 -24
- package/dist/cli/menu/index.js +4 -178
- package/dist/cli/menu/menu.d.ts +18 -0
- package/dist/cli/menu/menu.js +170 -0
- package/dist/cli/menu/pages/accounts-page.d.ts +29 -0
- package/dist/cli/menu/pages/accounts-page.js +168 -0
- package/dist/cli/menu/pages/apps-page.d.ts +26 -0
- package/dist/cli/menu/pages/apps-page.js +75 -0
- package/dist/cli/menu/pages/list-page.d.ts +42 -0
- package/dist/cli/menu/pages/list-page.js +65 -0
- package/dist/cli/menu/pages/maintenance-page.d.ts +76 -0
- package/dist/cli/menu/pages/maintenance-page.js +483 -0
- package/dist/cli/menu/pages/sandbox-page.d.ts +32 -0
- package/dist/cli/menu/pages/sandbox-page.js +273 -0
- package/dist/cli/menu/pages/scopes.d.ts +9 -0
- package/dist/cli/menu/pages/scopes.js +15 -0
- package/dist/cli/menu/pages/sessions-page.d.ts +20 -0
- package/dist/cli/menu/pages/sessions-page.js +94 -0
- package/dist/cli/menu/pages/settings-page.d.ts +31 -0
- package/dist/cli/menu/pages/settings-page.js +207 -0
- package/dist/cli/menu/pages/start-page.d.ts +43 -0
- package/dist/cli/menu/pages/start-page.js +192 -0
- package/dist/cli/menu/settings/categories.d.ts +2 -2
- package/dist/cli/menu/settings/categories.js +130 -20
- package/dist/cli/menu/settings/collections/collection-editor.d.ts +23 -0
- package/dist/cli/menu/settings/collections/collection-editor.js +73 -0
- package/dist/cli/menu/settings/collections/map-editor.d.ts +10 -0
- package/dist/cli/menu/settings/collections/map-editor.js +34 -0
- package/dist/cli/menu/settings/collections/object-list-editor.d.ts +10 -0
- package/dist/cli/menu/settings/collections/object-list-editor.js +23 -0
- package/dist/cli/menu/settings/collections/object-map-editor.d.ts +10 -0
- package/dist/cli/menu/settings/collections/object-map-editor.js +35 -0
- package/dist/cli/menu/settings/collections/string-list-editor.d.ts +12 -0
- package/dist/cli/menu/settings/collections/string-list-editor.js +39 -0
- package/dist/cli/menu/settings/config-file.d.ts +11 -2
- package/dist/cli/menu/settings/config-file.js +60 -26
- package/dist/cli/menu/settings/draft.d.ts +26 -0
- package/dist/cli/menu/settings/draft.js +67 -0
- package/dist/cli/menu/settings/editor-actions.d.ts +1 -0
- package/dist/cli/menu/settings/editor-actions.js +1 -0
- package/dist/cli/menu/settings/format.d.ts +5 -0
- package/dist/cli/menu/settings/format.js +39 -0
- package/dist/cli/menu/settings/index.d.ts +2 -30
- package/dist/cli/menu/settings/index.js +1 -133
- package/dist/cli/menu/settings/object-editor.d.ts +12 -0
- package/dist/cli/menu/settings/object-editor.js +66 -0
- package/dist/cli/menu/settings/schema-node.d.ts +3 -1
- package/dist/cli/menu/settings/schema-node.js +71 -24
- package/dist/cli/menu/settings/value-editor.d.ts +19 -0
- package/dist/cli/menu/settings/value-editor.js +137 -0
- package/dist/cli/menu/several.d.ts +4 -4
- package/dist/cli/menu/several.js +61 -20
- package/dist/cli/menu/shell.d.ts +54 -0
- package/dist/cli/menu/shell.js +109 -0
- package/dist/cli/output/colors.d.ts +24 -0
- package/dist/cli/output/colors.js +60 -0
- package/dist/cli/output/index.d.ts +3 -0
- package/dist/cli/output/index.js +3 -0
- package/dist/cli/output/print.d.ts +5 -0
- package/dist/cli/output/print.js +14 -0
- package/dist/cli/output/progress.d.ts +24 -0
- package/dist/cli/output/progress.js +124 -0
- package/dist/cli/report.d.ts +2 -0
- package/dist/cli/report.js +20 -0
- package/dist/cli/services/accounts-service.d.ts +44 -0
- package/dist/cli/services/accounts-service.js +115 -0
- package/dist/cli/services/agent-commands-service.d.ts +22 -0
- package/dist/cli/services/agent-commands-service.js +44 -0
- package/dist/cli/services/data-service.d.ts +43 -0
- package/dist/cli/services/data-service.js +66 -0
- package/dist/cli/services/data-targets.d.ts +13 -0
- package/dist/cli/services/data-targets.js +67 -0
- package/dist/cli/services/databases-service.d.ts +27 -0
- package/dist/cli/services/databases-service.js +57 -0
- package/dist/cli/services/health-service.d.ts +28 -0
- package/dist/cli/services/health-service.js +120 -0
- package/dist/cli/services/index.d.ts +12 -0
- package/dist/cli/services/index.js +12 -0
- package/dist/cli/services/logs-service.d.ts +25 -0
- package/dist/cli/services/logs-service.js +54 -0
- package/dist/cli/services/migrate-service.d.ts +29 -0
- package/dist/cli/services/migrate-service.js +43 -0
- package/dist/cli/services/projects-service.d.ts +56 -0
- package/dist/cli/services/projects-service.js +111 -0
- package/dist/cli/services/sandbox-service.d.ts +78 -0
- package/dist/cli/services/sandbox-service.js +125 -0
- package/dist/cli/services/sessions-service.d.ts +42 -0
- package/dist/cli/services/sessions-service.js +81 -0
- package/dist/cli/services/update-service.d.ts +74 -0
- package/dist/cli/services/update-service.js +185 -0
- package/dist/cli/tui/app.d.ts +19 -16
- package/dist/cli/tui/app.js +65 -11
- package/dist/cli/tui/dialogs/confirm-screen.d.ts +20 -0
- package/dist/cli/tui/dialogs/confirm-screen.js +50 -0
- package/dist/cli/tui/dialogs/message-screen.d.ts +17 -0
- package/dist/cli/tui/dialogs/message-screen.js +55 -0
- package/dist/cli/tui/dialogs/overlay.d.ts +34 -0
- package/dist/cli/tui/dialogs/overlay.js +104 -0
- package/dist/cli/tui/dialogs/paragraphs.d.ts +2 -0
- package/dist/cli/tui/dialogs/paragraphs.js +5 -0
- package/dist/cli/tui/dialogs/text-screen.d.ts +26 -0
- package/dist/cli/tui/dialogs/text-screen.js +107 -0
- package/dist/cli/tui/frame.d.ts +13 -4
- package/dist/cli/tui/frame.js +13 -9
- package/dist/cli/tui/index.d.ts +11 -4
- package/dist/cli/tui/index.js +7 -2
- package/dist/cli/tui/key-bar.d.ts +5 -0
- package/dist/cli/tui/key-bar.js +22 -0
- package/dist/cli/tui/list/list-screen.d.ts +38 -0
- package/dist/cli/tui/list/list-screen.js +402 -0
- package/dist/cli/tui/list/list-types.d.ts +84 -0
- package/dist/cli/tui/screen.d.ts +14 -0
- package/dist/cli/tui/tab-bar.d.ts +9 -0
- package/dist/cli/tui/tab-bar.js +33 -0
- package/dist/cli/tui/terminal.js +34 -10
- package/dist/cli/tui/text.d.ts +2 -1
- package/dist/cli/tui/text.js +40 -7
- package/dist/cli/tui/theme.js +27 -9
- package/dist/cli/validate.d.ts +8 -8
- package/dist/cli/validate.js +32 -21
- package/dist/core/config/defaults.d.ts +2 -0
- package/dist/core/config/defaults.js +273 -0
- package/dist/core/config/index.d.ts +2 -0
- package/dist/core/config/index.js +3 -0
- package/dist/core/config/loader.d.ts +20 -0
- package/dist/core/config/loader.js +88 -0
- package/dist/core/detect/databases.d.ts +15 -0
- package/dist/core/detect/databases.js +235 -0
- package/dist/core/detect/index.d.ts +4 -0
- package/dist/core/detect/index.js +4 -0
- package/dist/core/detect/pwsh.d.ts +18 -0
- package/dist/core/detect/pwsh.js +125 -0
- package/dist/core/detect/toolchains.d.ts +33 -0
- package/dist/core/detect/toolchains.js +104 -0
- package/dist/core/detect/versions.d.ts +55 -0
- package/dist/core/detect/versions.js +107 -0
- package/dist/core/disk.d.ts +14 -6
- package/dist/core/disk.js +62 -13
- package/dist/core/local-config/boot-wants.d.ts +45 -0
- package/dist/core/local-config/boot-wants.js +120 -0
- package/dist/core/local-config/file.d.ts +3 -0
- package/dist/core/local-config/file.js +16 -0
- package/dist/core/local-config/index.d.ts +5 -0
- package/dist/core/local-config/index.js +7 -0
- package/dist/core/local-config/overrides.d.ts +35 -0
- package/dist/core/local-config/overrides.js +137 -0
- package/dist/core/local-config/policy.d.ts +19 -0
- package/dist/core/local-config/policy.js +47 -0
- package/dist/core/local-config/trust.d.ts +13 -0
- package/dist/core/local-config/trust.js +51 -0
- package/dist/core/package-info.d.ts +4 -0
- package/dist/core/package-info.js +13 -0
- package/dist/core/prompt.d.ts +2 -2
- package/dist/core/prompt.js +6 -5
- package/dist/core/run/guest-workspace.d.ts +27 -0
- package/dist/core/run/guest-workspace.js +50 -0
- package/dist/core/run/index.d.ts +3 -0
- package/dist/core/run/index.js +3 -0
- package/dist/core/run/resolve-run.d.ts +6 -0
- package/dist/core/run/resolve-run.js +205 -0
- package/dist/core/run/versions.d.ts +13 -0
- package/dist/core/run/versions.js +65 -0
- package/dist/core/safe-paths.d.ts +6 -3
- package/dist/core/safe-paths.js +25 -10
- package/dist/core/schema/apps.d.ts +4 -4
- package/dist/core/schema/apps.js +55 -21
- package/dist/core/schema/common.d.ts +14 -11
- package/dist/core/schema/common.js +23 -11
- package/dist/core/schema/config.d.ts +44 -20
- package/dist/core/schema/config.js +81 -53
- package/dist/core/schema/databases.d.ts +4 -3
- package/dist/core/schema/databases.js +18 -12
- package/dist/core/schema/harness.d.ts +15 -1
- package/dist/core/schema/harness.js +42 -7
- package/dist/core/schema/index.d.ts +6 -0
- package/dist/core/schema/index.js +8 -0
- package/dist/core/schema/json-schema.d.ts +2 -2
- package/dist/core/schema/json-schema.js +20 -13
- package/dist/core/schema/profile.d.ts +4 -4
- package/dist/core/schema/profile.js +37 -17
- package/dist/core/schema/projects.d.ts +1 -1
- package/dist/core/schema/projects.js +16 -6
- package/dist/core/schema/resume.d.ts +11 -0
- package/dist/core/schema/resume.js +12 -0
- package/dist/core/schema/sandbox.d.ts +14 -11
- package/dist/core/schema/sandbox.js +106 -37
- package/dist/core/schema/toolchains.d.ts +9 -4
- package/dist/core/schema/toolchains.js +88 -36
- package/dist/core/types.d.ts +39 -12
- package/dist/core/util/errors.d.ts +8 -0
- package/dist/core/util/errors.js +16 -0
- package/dist/core/util/fs.d.ts +8 -0
- package/dist/core/util/fs.js +44 -0
- package/dist/core/util/index.d.ts +7 -0
- package/dist/core/util/index.js +7 -0
- package/dist/core/util/jsonc.d.ts +6 -0
- package/dist/core/util/jsonc.js +30 -0
- package/dist/core/util/links.d.ts +10 -0
- package/dist/core/util/links.js +39 -0
- package/dist/core/util/paths.d.ts +9 -0
- package/dist/core/util/paths.js +39 -0
- package/dist/core/util/process.d.ts +11 -0
- package/dist/core/util/process.js +13 -0
- package/dist/core/util/text.d.ts +10 -0
- package/dist/core/util/text.js +21 -0
- package/dist/guest/agents/agent-installer.d.ts +22 -0
- package/dist/guest/agents/agent-installer.js +124 -0
- package/dist/guest/agents/profile-links.d.ts +5 -0
- package/dist/guest/agents/profile-links.js +27 -0
- package/dist/guest/apps/after-install.d.ts +3 -0
- package/dist/guest/apps/after-install.js +47 -0
- package/dist/guest/apps/app-installer.d.ts +22 -0
- package/dist/guest/apps/app-installer.js +116 -0
- package/dist/guest/apps/find-exe.d.ts +5 -0
- package/dist/guest/apps/find-exe.js +41 -0
- package/dist/guest/apps/index.d.ts +3 -10
- package/dist/guest/apps/index.js +6 -206
- package/dist/guest/apps/resolvers.js +37 -9
- package/dist/guest/apps/shortcuts.d.ts +6 -0
- package/dist/guest/apps/shortcuts.js +19 -0
- package/dist/guest/apps/sources.d.ts +4 -0
- package/dist/guest/apps/sources.js +17 -0
- package/dist/guest/apps/unpack.d.ts +3 -0
- package/dist/guest/apps/unpack.js +47 -0
- package/dist/guest/audit/parse.d.ts +7 -0
- package/dist/guest/audit/parse.js +60 -0
- package/dist/guest/audit/process-audit.d.ts +6 -0
- package/dist/guest/audit/process-audit.js +72 -0
- package/dist/guest/boot/boot-env.d.ts +4 -0
- package/dist/guest/boot/boot-env.js +27 -0
- package/dist/guest/boot/boot.d.ts +18 -0
- package/dist/guest/boot/boot.js +242 -0
- package/dist/guest/boot/guide.d.ts +16 -0
- package/dist/guest/boot/guide.js +98 -0
- package/dist/guest/boot/project-env.d.ts +20 -0
- package/dist/guest/boot/project-env.js +28 -0
- package/dist/guest/boot/project-status.d.ts +5 -0
- package/dist/guest/boot/project-status.js +30 -0
- package/dist/guest/daemon/daemon.d.ts +7 -0
- package/dist/guest/daemon/daemon.js +57 -0
- package/dist/guest/daemon/exec.d.ts +3 -3
- package/dist/guest/daemon/exec.js +27 -11
- package/dist/guest/daemon/idle-shutdown.d.ts +8 -0
- package/dist/guest/daemon/idle-shutdown.js +34 -0
- package/dist/guest/daemon/project-provisioner.d.ts +23 -0
- package/dist/guest/daemon/project-provisioner.js +180 -0
- package/dist/guest/daemon/relays.d.ts +1 -1
- package/dist/guest/daemon/relays.js +7 -5
- package/dist/guest/daemon/sessions.d.ts +35 -0
- package/dist/guest/daemon/sessions.js +264 -0
- package/dist/guest/daemon/state.d.ts +9 -15
- package/dist/guest/daemon/state.js +40 -23
- package/dist/guest/databases/database-server.d.ts +13 -0
- package/dist/guest/databases/database-server.js +35 -0
- package/dist/guest/databases/dynamodb.d.ts +12 -0
- package/dist/guest/databases/dynamodb.js +81 -0
- package/dist/guest/databases/index.d.ts +2 -0
- package/dist/guest/databases/index.js +2 -0
- package/dist/guest/databases/mongodb.d.ts +7 -0
- package/dist/guest/databases/mongodb.js +46 -0
- package/dist/guest/databases/mysql.d.ts +7 -0
- package/dist/guest/databases/mysql.js +59 -0
- package/dist/guest/databases/names.d.ts +5 -0
- package/dist/guest/databases/names.js +8 -0
- package/dist/guest/databases/postgres.d.ts +9 -0
- package/dist/guest/databases/postgres.js +85 -0
- package/dist/guest/databases/redis.d.ts +7 -0
- package/dist/guest/databases/redis.js +25 -0
- package/dist/guest/databases/registry.d.ts +5 -0
- package/dist/guest/databases/registry.js +51 -0
- package/dist/guest/databases/sbx-db.d.ts +1 -0
- package/dist/guest/databases/sbx-db.js +75 -0
- package/dist/guest/databases/server.d.ts +14 -0
- package/dist/guest/databases/server.js +57 -0
- package/dist/guest/entries/daemon.js +16 -0
- package/dist/guest/entries/db.js +12 -0
- package/dist/guest/entries/gitguard.js +20 -0
- package/dist/guest/entries/main.d.ts +1 -0
- package/dist/guest/entries/main.js +24 -0
- package/dist/guest/entries/netproxy.d.ts +1 -0
- package/dist/guest/entries/netproxy.js +7 -0
- package/dist/guest/entries/view.d.ts +1 -0
- package/dist/guest/entries/view.js +11 -0
- package/dist/guest/git/decision.d.ts +7 -0
- package/dist/guest/git/decision.js +83 -0
- package/dist/guest/network/addresses.d.ts +2 -0
- package/dist/guest/network/addresses.js +8 -0
- package/dist/guest/network/allow-only.d.ts +9 -0
- package/dist/guest/network/allow-only.js +84 -0
- package/dist/guest/network/firewall.d.ts +9 -0
- package/dist/guest/network/firewall.js +187 -0
- package/dist/guest/network/proxy-server.d.ts +2 -0
- package/dist/guest/network/proxy-server.js +119 -0
- package/dist/guest/runtime/csc.d.ts +13 -0
- package/dist/guest/runtime/csc.js +48 -0
- package/dist/guest/runtime/fs.d.ts +2 -0
- package/dist/guest/runtime/fs.js +8 -0
- package/dist/guest/runtime/log.d.ts +3 -0
- package/dist/guest/runtime/log.js +22 -0
- package/dist/guest/runtime/paths.d.ts +13 -0
- package/dist/guest/runtime/paths.js +14 -0
- package/dist/guest/runtime/ports.d.ts +8 -0
- package/dist/guest/runtime/ports.js +34 -0
- package/dist/guest/runtime/process.d.ts +23 -0
- package/dist/guest/runtime/process.js +83 -0
- package/dist/guest/runtime/project-context.d.ts +7 -0
- package/dist/guest/runtime/project-context.js +16 -0
- package/dist/guest/runtime/session.d.ts +5 -0
- package/dist/guest/runtime/session.js +10 -0
- package/dist/guest/runtime/status.d.ts +7 -0
- package/dist/guest/runtime/status.js +57 -0
- package/dist/guest/sessions/cmdline.d.ts +12 -0
- package/dist/guest/sessions/cmdline.js +33 -0
- package/dist/guest/sessions/conversation.d.ts +5 -0
- package/dist/guest/sessions/conversation.js +38 -0
- package/dist/guest/sessions/pty-host.d.ts +22 -0
- package/dist/guest/sessions/pty-host.js +60 -0
- package/dist/guest/sessions/viewer.d.ts +1 -0
- package/dist/guest/sessions/viewer.js +39 -0
- package/dist/guest/setup/claude-mem.d.ts +10 -0
- package/dist/guest/setup/claude-mem.js +135 -0
- package/dist/guest/setup/claude-profile.d.ts +7 -0
- package/dist/guest/setup/claude-profile.js +89 -0
- package/dist/guest/setup/desktop.d.ts +2 -0
- package/dist/guest/setup/desktop.js +23 -0
- package/dist/guest/setup/environment.d.ts +3 -3
- package/dist/guest/setup/environment.js +42 -26
- package/dist/guest/setup/git-identity.d.ts +5 -0
- package/dist/guest/setup/git-identity.js +34 -0
- package/dist/guest/setup/git-rules.d.ts +2 -0
- package/dist/guest/setup/git-rules.js +50 -0
- package/dist/guest/setup/hooks.d.ts +3 -3
- package/dist/guest/setup/hooks.js +28 -9
- package/dist/guest/setup/managed-policy.d.ts +3 -0
- package/dist/guest/setup/managed-policy.js +20 -0
- package/dist/guest/toolchains/catalogue.d.ts +4 -4
- package/dist/guest/toolchains/catalogue.js +30 -7
- package/dist/guest/toolchains/detect.d.ts +12 -0
- package/dist/guest/toolchains/detect.js +54 -0
- package/dist/guest/toolchains/index.d.ts +3 -17
- package/dist/guest/toolchains/index.js +1 -106
- package/dist/guest/toolchains/install.d.ts +20 -0
- package/dist/guest/toolchains/install.js +29 -0
- package/dist/guest/toolchains/languages/go.d.ts +3 -0
- package/dist/guest/toolchains/languages/go.js +51 -0
- package/dist/guest/toolchains/languages/java.d.ts +8 -0
- package/dist/guest/toolchains/languages/java.js +135 -0
- package/dist/guest/toolchains/languages/node.d.ts +3 -0
- package/dist/guest/toolchains/languages/node.js +185 -0
- package/dist/guest/toolchains/languages/php.d.ts +3 -0
- package/dist/guest/toolchains/languages/php.js +96 -0
- package/dist/guest/toolchains/languages/python-tools.d.ts +3 -0
- package/dist/guest/toolchains/languages/python-tools.js +12 -0
- package/dist/guest/toolchains/languages/python.d.ts +3 -0
- package/dist/guest/toolchains/languages/python.js +91 -0
- package/dist/guest/toolchains/languages/ruby.d.ts +3 -0
- package/dist/guest/toolchains/languages/ruby.js +65 -0
- package/dist/guest/toolchains/leftovers.d.ts +1 -1
- package/dist/guest/toolchains/leftovers.js +13 -11
- package/dist/guest/toolchains/managers.d.ts +6 -6
- package/dist/guest/toolchains/managers.js +38 -17
- package/dist/guest/toolchains/native/binstall.d.ts +3 -2
- package/dist/guest/toolchains/native/binstall.js +20 -8
- package/dist/guest/toolchains/native/cpp.d.ts +2 -2
- package/dist/guest/toolchains/native/cpp.js +23 -8
- package/dist/guest/toolchains/native/dotnet.d.ts +5 -3
- package/dist/guest/toolchains/native/dotnet.js +72 -24
- package/dist/guest/toolchains/native/mesa.d.ts +2 -2
- package/dist/guest/toolchains/native/mesa.js +28 -11
- package/dist/guest/toolchains/native/msvc/environment.d.ts +4 -4
- package/dist/guest/toolchains/native/msvc/environment.js +30 -16
- package/dist/guest/toolchains/native/msvc/index.d.ts +3 -3
- package/dist/guest/toolchains/native/msvc/index.js +10 -8
- package/dist/guest/toolchains/native/msvc/packages.d.ts +1 -1
- package/dist/guest/toolchains/native/msvc/packages.js +69 -23
- package/dist/guest/toolchains/native/msvc/tree.d.ts +6 -6
- package/dist/guest/toolchains/native/msvc/tree.js +15 -9
- package/dist/guest/toolchains/native/rust-extras.d.ts +23 -0
- package/dist/guest/toolchains/native/rust-extras.js +100 -0
- package/dist/guest/toolchains/native/rust.d.ts +2 -2
- package/dist/guest/toolchains/native/rust.js +41 -10
- package/dist/guest/toolchains/native/vcruntime.d.ts +7 -0
- package/dist/guest/toolchains/native/vcruntime.js +47 -0
- package/dist/guest/toolchains/package-ledger.d.ts +17 -0
- package/dist/guest/toolchains/package-ledger.js +54 -0
- package/dist/guest/toolchains/plan.d.ts +3 -24
- package/dist/guest/toolchains/plan.js +104 -111
- package/dist/guest/toolchains/runtimes.d.ts +6 -6
- package/dist/guest/toolchains/runtimes.js +31 -13
- package/dist/guest/toolchains/scheduler.d.ts +22 -0
- package/dist/guest/toolchains/scheduler.js +123 -0
- package/dist/guest/toolchains/setup.d.ts +10 -0
- package/dist/guest/toolchains/setup.js +22 -0
- package/dist/guest/toolchains/state-file.d.ts +3 -0
- package/dist/guest/toolchains/state-file.js +10 -0
- package/dist/guest/toolchains/step.d.ts +24 -0
- package/dist/guest/toolchains/step.js +1 -0
- package/dist/guest/toolchains/tool-env.d.ts +12 -0
- package/dist/guest/toolchains/tool-env.js +16 -0
- package/dist/guest/toolchains/tools/cli.d.ts +10 -0
- package/dist/guest/toolchains/tools/cli.js +92 -0
- package/dist/guest/toolchains/tools/git.d.ts +3 -0
- package/dist/guest/toolchains/tools/git.js +144 -0
- package/dist/guest/toolchains/tools/pwsh.d.ts +4 -0
- package/dist/guest/toolchains/tools/pwsh.js +21 -0
- package/dist/guest/toolchains/tools/vscode-profile.d.ts +30 -0
- package/dist/guest/toolchains/tools/vscode-profile.js +85 -0
- package/dist/guest/toolchains/tools/vscode.d.ts +19 -0
- package/dist/guest/toolchains/tools/vscode.js +180 -0
- package/dist/guest/toolchains/version-cache.d.ts +16 -0
- package/dist/guest/toolchains/version-cache.js +67 -0
- package/dist/host/agent-commands/commands.d.ts +13 -0
- package/dist/host/agent-commands/commands.js +37 -0
- package/dist/host/agent-commands/forwarders.d.ts +7 -0
- package/dist/host/agent-commands/forwarders.js +33 -0
- package/dist/host/agent-commands/index.d.ts +4 -0
- package/dist/host/agent-commands/index.js +4 -0
- package/dist/host/agent-commands/reconcile.d.ts +12 -0
- package/dist/host/agent-commands/reconcile.js +69 -0
- package/dist/host/agent-commands/user-path.d.ts +5 -0
- package/dist/host/agent-commands/user-path.js +25 -0
- package/dist/host/audit/collect.d.ts +4 -4
- package/dist/host/audit/collect.js +63 -22
- package/dist/host/audit/log.d.ts +3 -3
- package/dist/host/audit/log.js +26 -10
- package/dist/host/channel/attach.d.ts +17 -0
- package/dist/host/channel/attach.js +88 -0
- package/dist/host/channel/channel.d.ts +53 -0
- package/dist/host/channel/channel.js +198 -0
- package/dist/host/channel/index.d.ts +2 -0
- package/dist/host/channel/index.js +2 -0
- package/dist/host/guard/agent-files.d.ts +7 -0
- package/dist/host/guard/agent-files.js +103 -0
- package/dist/host/guard/commands.d.ts +10 -0
- package/dist/host/guard/commands.js +123 -0
- package/dist/host/guard/file-hash.d.ts +4 -0
- package/dist/host/guard/file-hash.js +37 -0
- package/dist/host/guard/git-config.d.ts +5 -0
- package/dist/host/guard/git-config.js +62 -0
- package/dist/host/guard/git-dirs.d.ts +12 -0
- package/dist/host/guard/git-dirs.js +53 -0
- package/dist/host/guard/index.d.ts +5 -0
- package/dist/host/guard/index.js +4 -0
- package/dist/host/guard/mark-of-the-web.d.ts +8 -0
- package/dist/host/guard/mark-of-the-web.js +74 -0
- package/dist/host/guard/nested-repos.d.ts +14 -0
- package/dist/host/guard/nested-repos.js +88 -0
- package/dist/host/guard/quarantine.d.ts +3 -0
- package/dist/host/guard/quarantine.js +24 -0
- package/dist/host/guard/repo-guard.d.ts +10 -0
- package/dist/host/guard/repo-guard.js +36 -0
- package/dist/host/guard/store.d.ts +40 -0
- package/dist/host/guard/store.js +145 -0
- package/dist/host/guard/types.d.ts +27 -0
- package/dist/host/guard/types.js +3 -0
- package/dist/host/guard/watch-state.d.ts +9 -0
- package/dist/host/guard/watch-state.js +26 -0
- package/dist/host/install/index.d.ts +4 -0
- package/dist/host/install/index.js +4 -0
- package/dist/host/install/install-record.d.ts +19 -0
- package/dist/host/install/install-record.js +28 -0
- package/dist/host/install/layout.d.ts +29 -0
- package/dist/host/install/layout.js +111 -0
- package/dist/host/install/scheduled-task.d.ts +10 -0
- package/dist/host/install/scheduled-task.js +40 -0
- package/dist/host/install/shims.d.ts +10 -0
- package/dist/host/install/shims.js +55 -0
- package/dist/host/launch/boot-projects.d.ts +17 -0
- package/dist/host/launch/boot-projects.js +71 -0
- package/dist/host/launch/database-plan.d.ts +12 -0
- package/dist/host/launch/database-plan.js +63 -0
- package/dist/host/launch/generate.d.ts +4 -0
- package/dist/host/launch/generate.js +77 -0
- package/dist/host/launch/index.d.ts +10 -0
- package/dist/host/launch/index.js +10 -0
- package/dist/host/launch/mappings.d.ts +5 -5
- package/dist/host/launch/mappings.js +41 -26
- package/dist/host/launch/pc-scan.d.ts +5 -0
- package/dist/host/launch/pc-scan.js +51 -0
- package/dist/host/launch/project-scan.d.ts +9 -0
- package/dist/host/launch/project-scan.js +112 -0
- package/dist/host/launch/session-file.d.ts +23 -0
- package/dist/host/launch/session-file.js +75 -0
- package/dist/host/launch/stage.d.ts +5 -5
- package/dist/host/launch/stage.js +14 -13
- package/dist/host/launch/toolchains.d.ts +4 -0
- package/dist/host/launch/toolchains.js +21 -0
- package/dist/host/launch/wsb-file.d.ts +12 -0
- package/dist/host/launch/wsb-file.js +56 -0
- package/dist/host/life/crash-report.d.ts +10 -0
- package/dist/host/life/crash-report.js +89 -0
- package/dist/host/life/index.d.ts +7 -0
- package/dist/host/life/index.js +7 -0
- package/dist/host/life/keep-awake.d.ts +11 -0
- package/dist/host/life/keep-awake.js +32 -0
- package/dist/host/life/life-record.d.ts +48 -0
- package/dist/host/life/life-record.js +75 -0
- package/dist/host/life/session-ledger.d.ts +65 -0
- package/dist/host/life/session-ledger.js +163 -0
- package/dist/host/life/stop-events.d.ts +27 -0
- package/dist/host/life/stop-events.js +98 -0
- package/dist/host/life/stop-warning.d.ts +4 -0
- package/dist/host/life/stop-warning.js +25 -0
- package/dist/host/life/windows-update.d.ts +3 -0
- package/dist/host/life/windows-update.js +13 -0
- package/dist/host/migrate/backup.d.ts +15 -0
- package/dist/host/migrate/backup.js +92 -0
- package/dist/host/migrate/index.d.ts +5 -0
- package/dist/host/migrate/index.js +4 -0
- package/dist/host/migrate/marker.d.ts +21 -0
- package/dist/host/migrate/marker.js +49 -0
- package/dist/host/migrate/migration.d.ts +26 -0
- package/dist/host/migrate/migration.js +3 -0
- package/dist/host/migrate/migrations/config-file.d.ts +8 -0
- package/dist/host/migrate/migrations/config-file.js +28 -0
- package/dist/host/migrate/migrations/follow-machine-storage.d.ts +2 -0
- package/dist/host/migrate/migrations/follow-machine-storage.js +36 -0
- package/dist/host/migrate/migrations/unpin-config-defaults.d.ts +2 -0
- package/dist/host/migrate/migrations/unpin-config-defaults.js +41 -0
- package/dist/host/migrate/registry.d.ts +2 -0
- package/dist/host/migrate/registry.js +3 -0
- package/dist/host/migrate/runner.d.ts +21 -0
- package/dist/host/migrate/runner.js +67 -0
- package/dist/host/migrate/snapshots.d.ts +6 -0
- package/dist/host/migrate/snapshots.js +2200 -0
- package/dist/host/native.d.ts +9 -0
- package/dist/host/native.js +61 -0
- package/dist/host/network/index.d.ts +1 -0
- package/dist/host/network/index.js +1 -0
- package/dist/host/network/port-forward.d.ts +8 -0
- package/dist/host/network/port-forward.js +49 -0
- package/dist/host/profile/accounts.d.ts +38 -0
- package/dist/host/profile/accounts.js +159 -0
- package/dist/host/profile/agent-accounts.d.ts +29 -0
- package/dist/host/profile/agent-accounts.js +169 -0
- package/dist/host/profile/claude-login.d.ts +22 -0
- package/dist/host/profile/claude-login.js +57 -0
- package/dist/host/profile/claude-profile.d.ts +15 -0
- package/dist/host/profile/claude-profile.js +117 -0
- package/dist/host/profile/index.d.ts +8 -0
- package/dist/host/profile/index.js +8 -0
- package/dist/host/profile/personalize.d.ts +2 -0
- package/dist/host/profile/personalize.js +130 -0
- package/dist/host/profile/reg-file.d.ts +8 -0
- package/dist/host/profile/reg-file.js +45 -0
- package/dist/host/profile/secret-files.d.ts +2 -0
- package/dist/host/profile/secret-files.js +25 -0
- package/dist/host/profile/secret-patterns.d.ts +6 -0
- package/dist/host/profile/secret-patterns.js +128 -0
- package/dist/host/profile/secrets.d.ts +12 -0
- package/dist/host/profile/secrets.js +100 -0
- package/dist/host/projects/index.d.ts +4 -0
- package/dist/host/projects/index.js +4 -0
- package/dist/host/projects/join.d.ts +38 -0
- package/dist/host/projects/join.js +119 -0
- package/dist/host/projects/known.d.ts +28 -0
- package/dist/host/projects/known.js +55 -0
- package/dist/host/projects/mapper.d.ts +29 -0
- package/dist/host/projects/mapper.js +88 -0
- package/dist/host/projects/registry.d.ts +94 -0
- package/dist/host/projects/registry.js +164 -0
- package/dist/host/sandbox/doctor.d.ts +2 -0
- package/dist/host/sandbox/doctor.js +42 -0
- package/dist/host/sandbox/host-claude.d.ts +4 -0
- package/dist/host/sandbox/host-claude.js +47 -0
- package/dist/host/sandbox/index.d.ts +6 -0
- package/dist/host/sandbox/index.js +6 -0
- package/dist/host/sandbox/platform.d.ts +16 -0
- package/dist/host/sandbox/platform.js +72 -0
- package/dist/host/sandbox/probe.d.ts +3 -0
- package/dist/host/sandbox/probe.js +47 -0
- package/dist/host/sandbox/window.d.ts +4 -0
- package/dist/host/sandbox/window.js +54 -0
- package/dist/host/sandbox/wsb-cli.d.ts +37 -0
- package/dist/host/sandbox/wsb-cli.js +136 -0
- package/dist/host/sharing/acl.d.ts +30 -0
- package/dist/host/sharing/acl.js +65 -0
- package/dist/host/sharing/active-record.d.ts +27 -0
- package/dist/host/sharing/active-record.js +70 -0
- package/dist/host/sharing/borrow.d.ts +11 -0
- package/dist/host/sharing/borrow.js +20 -0
- package/dist/host/sharing/current.d.ts +11 -0
- package/dist/host/sharing/current.js +37 -0
- package/dist/host/sharing/index.d.ts +8 -0
- package/dist/host/sharing/index.js +10 -0
- package/dist/host/sharing/lifecycle.d.ts +26 -0
- package/dist/host/sharing/lifecycle.js +79 -0
- package/dist/host/sharing/machine-paths.d.ts +6 -0
- package/dist/host/sharing/machine-paths.js +13 -0
- package/dist/host/sharing/owner.d.ts +28 -0
- package/dist/host/sharing/owner.js +73 -0
- package/dist/host/sharing/rules.d.ts +39 -0
- package/dist/host/sharing/rules.js +60 -0
- package/dist/host/storage/cleanup.d.ts +24 -0
- package/dist/host/storage/cleanup.js +75 -0
- package/dist/host/storage/index.d.ts +2 -0
- package/dist/host/storage/index.js +2 -0
- package/dist/host/storage/state-files.d.ts +4 -0
- package/dist/host/storage/state-files.js +10 -0
- package/dist/host/test-guard.d.ts +2 -2
- package/dist/host/test-guard.js +7 -6
- package/dist/host/tools/conpty.d.ts +8 -0
- package/dist/host/tools/conpty.js +60 -0
- package/dist/host/tools/index.d.ts +2 -0
- package/dist/host/tools/index.js +2 -0
- package/dist/host/tools/windows-terminal.d.ts +32 -0
- package/dist/host/tools/windows-terminal.js +154 -0
- package/dist/host/update/decision.d.ts +29 -0
- package/dist/host/update/decision.js +32 -0
- package/dist/host/update/index.d.ts +6 -0
- package/dist/host/update/index.js +6 -0
- package/dist/host/update/notice.d.ts +11 -0
- package/dist/host/update/notice.js +28 -0
- package/dist/host/update/release-source.d.ts +32 -0
- package/dist/host/update/release-source.js +79 -0
- package/dist/host/update/update-lock.d.ts +7 -0
- package/dist/host/update/update-lock.js +48 -0
- package/dist/host/update/update-state.d.ts +24 -0
- package/dist/host/update/update-state.js +24 -0
- package/dist/host/update/updater.d.ts +62 -0
- package/dist/host/update/updater.js +241 -0
- package/dist/host/workspace-view/active-views.d.ts +3 -0
- package/dist/host/workspace-view/active-views.js +26 -0
- package/dist/host/workspace-view/index.d.ts +2 -18
- package/dist/host/workspace-view/index.js +2 -49
- package/dist/host/workspace-view/plan.d.ts +16 -0
- package/dist/host/workspace-view/plan.js +52 -0
- package/dist/host/workspace-view/rules.d.ts +3 -1
- package/dist/host/workspace-view/rules.js +13 -4
- package/dist/host/workspace-view/view-state.d.ts +10 -0
- package/dist/host/workspace-view/view-state.js +31 -0
- package/dist/host/workspace-view/view.d.ts +1 -0
- package/dist/host/workspace-view/view.js +51 -55
- package/dist/runtime/daemon.js +4924 -2311
- package/dist/runtime/db.js +2303 -898
- package/dist/runtime/gitguard.js +31 -13
- package/dist/runtime/main.js +5129 -2490
- package/dist/runtime/netproxy.js +1741 -428
- package/dist/runtime/view.js +1542 -558
- package/dist/selftest/accounts.test.d.ts +1 -1
- package/dist/selftest/accounts.test.js +24 -21
- package/dist/selftest/agent-commands.test.d.ts +1 -1
- package/dist/selftest/agent-commands.test.js +16 -12
- package/dist/selftest/audit.test.d.ts +1 -1
- package/dist/selftest/audit.test.js +46 -13
- package/dist/selftest/channel.test.d.ts +1 -1
- package/dist/selftest/channel.test.js +113 -60
- package/dist/selftest/cli.test.d.ts +1 -1
- package/dist/selftest/cli.test.js +95 -84
- package/dist/selftest/cmdline.test.d.ts +1 -1
- package/dist/selftest/cmdline.test.js +40 -10
- package/dist/selftest/config.test.d.ts +1 -1
- package/dist/selftest/config.test.js +12 -5
- package/dist/selftest/data.test.d.ts +1 -1
- package/dist/selftest/data.test.js +71 -24
- package/dist/selftest/detect.test.d.ts +1 -1
- package/dist/selftest/detect.test.js +56 -28
- package/dist/selftest/generate.test.d.ts +1 -1
- package/dist/selftest/generate.test.js +58 -32
- package/dist/selftest/git-access.test.d.ts +1 -1
- package/dist/selftest/git-access.test.js +44 -5
- package/dist/selftest/guest-boot.test.d.ts +1 -1
- package/dist/selftest/guest-boot.test.js +61 -41
- package/dist/selftest/host-sim.test.d.ts +1 -1
- package/dist/selftest/host-sim.test.js +30 -3
- package/dist/selftest/hostile-input.test.d.ts +1 -1
- package/dist/selftest/hostile-input.test.js +7 -5
- package/dist/selftest/index.d.ts +4 -4
- package/dist/selftest/index.js +109 -25
- package/dist/selftest/install.test.d.ts +2 -0
- package/dist/selftest/install.test.js +49 -0
- package/dist/selftest/layout.test.d.ts +2 -0
- package/dist/selftest/layout.test.js +131 -0
- package/dist/selftest/links.test.d.ts +1 -1
- package/dist/selftest/links.test.js +16 -11
- package/dist/selftest/live-daemon.test.d.ts +1 -1
- package/dist/selftest/live-daemon.test.js +34 -22
- package/dist/selftest/live-git.test.d.ts +1 -1
- package/dist/selftest/live-git.test.js +15 -6
- package/dist/selftest/live-network.test.d.ts +1 -1
- package/dist/selftest/live-network.test.js +75 -11
- package/dist/selftest/live-projects.test.d.ts +1 -1
- package/dist/selftest/live-projects.test.js +62 -31
- package/dist/selftest/live-terminal.test.d.ts +1 -1
- package/dist/selftest/live-terminal.test.js +69 -31
- package/dist/selftest/local-config.test.d.ts +1 -1
- package/dist/selftest/local-config.test.js +88 -41
- package/dist/selftest/menu-screens.d.ts +2 -0
- package/dist/selftest/menu-screens.js +224 -0
- package/dist/selftest/menu.test.d.ts +2 -0
- package/dist/selftest/menu.test.js +149 -0
- package/dist/selftest/migrate.test.d.ts +2 -0
- package/dist/selftest/migrate.test.js +194 -0
- package/dist/selftest/mirror.test.d.ts +1 -1
- package/dist/selftest/mirror.test.js +108 -69
- package/dist/selftest/network.test.d.ts +1 -1
- package/dist/selftest/network.test.js +21 -12
- package/dist/selftest/personalization.test.d.ts +1 -1
- package/dist/selftest/personalization.test.js +26 -20
- package/dist/selftest/projects.test.d.ts +1 -1
- package/dist/selftest/projects.test.js +423 -215
- package/dist/selftest/repair.test.d.ts +1 -1
- package/dist/selftest/repair.test.js +17 -5
- package/dist/selftest/repo-guard.test.d.ts +1 -1
- package/dist/selftest/repo-guard.test.js +51 -48
- package/dist/selftest/resume.test.d.ts +2 -0
- package/dist/selftest/resume.test.js +175 -0
- package/dist/selftest/secrets.test.d.ts +1 -1
- package/dist/selftest/secrets.test.js +59 -15
- package/dist/selftest/setup.test.d.ts +1 -1
- package/dist/selftest/setup.test.js +56 -28
- package/dist/selftest/shared-use.test.d.ts +2 -0
- package/dist/selftest/shared-use.test.js +116 -0
- package/dist/selftest/sharing.test.d.ts +2 -0
- package/dist/selftest/sharing.test.js +201 -0
- package/dist/selftest/support/fixtures.d.ts +337 -0
- package/dist/selftest/support/fixtures.js +173 -0
- package/dist/selftest/support/harness.d.ts +51 -0
- package/dist/selftest/support/harness.js +94 -0
- package/dist/selftest/support/live.d.ts +71 -0
- package/dist/selftest/support/live.js +144 -0
- package/dist/selftest/support/releases.d.ts +15 -0
- package/dist/selftest/support/releases.js +73 -0
- package/dist/selftest/support/suite.js +1 -0
- package/dist/selftest/sync.test.d.ts +1 -1
- package/dist/selftest/sync.test.js +103 -63
- package/dist/selftest/test-guard.test.d.ts +1 -1
- package/dist/selftest/test-guard.test.js +43 -15
- package/dist/selftest/toolchains.test.d.ts +1 -1
- package/dist/selftest/toolchains.test.js +180 -94
- package/dist/selftest/update-service.test.d.ts +2 -0
- package/dist/selftest/update-service.test.js +188 -0
- package/dist/selftest/update.test.d.ts +2 -0
- package/dist/selftest/update.test.js +172 -0
- package/dist/selftest/workspace-view.test.d.ts +1 -1
- package/dist/selftest/workspace-view.test.js +64 -22
- package/dist/selftest/workspace.test.d.ts +1 -1
- package/dist/selftest/workspace.test.js +22 -12
- package/dist/shared/apps/catalogue.d.ts +44 -0
- package/dist/shared/apps/catalogue.js +770 -0
- package/dist/shared/apps/index.d.ts +2 -0
- package/dist/shared/apps/index.js +2 -0
- package/dist/shared/apps/selection.d.ts +11 -0
- package/dist/shared/apps/selection.js +42 -0
- package/dist/shared/channel/index.d.ts +2 -0
- package/dist/shared/channel/index.js +2 -0
- package/dist/shared/channel/run-dir.d.ts +30 -0
- package/dist/shared/channel/run-dir.js +84 -0
- package/dist/shared/channel/schema.d.ts +607 -0
- package/dist/shared/channel/schema.js +133 -0
- package/dist/shared/download/archive.d.ts +13 -0
- package/dist/shared/download/archive.js +51 -0
- package/dist/shared/download/downloader.d.ts +38 -0
- package/dist/shared/download/downloader.js +111 -0
- package/dist/shared/download/github.d.ts +18 -0
- package/dist/shared/download/github.js +77 -0
- package/dist/shared/download/http.d.ts +5 -0
- package/dist/shared/download/http.js +34 -0
- package/dist/shared/download/index.d.ts +5 -0
- package/dist/shared/download/index.js +5 -0
- package/dist/shared/download/spawn.d.ts +3 -0
- package/dist/shared/download/spawn.js +9 -0
- package/dist/shared/io/index.d.ts +3 -0
- package/dist/shared/io/index.js +3 -0
- package/dist/shared/io/json-file.d.ts +10 -0
- package/dist/shared/io/json-file.js +21 -0
- package/dist/shared/io/json.d.ts +13 -0
- package/dist/shared/io/json.js +51 -0
- package/dist/shared/io/safe-remove.d.ts +10 -0
- package/dist/shared/io/safe-remove.js +94 -0
- package/dist/shared/network/firewall-rules.d.ts +24 -0
- package/dist/shared/network/firewall-rules.js +137 -0
- package/dist/shared/network/index.d.ts +2 -0
- package/dist/shared/network/index.js +2 -0
- package/dist/shared/network/policy.d.ts +27 -0
- package/dist/shared/network/policy.js +110 -0
- package/dist/shared/paths/agent-profile.d.ts +9 -0
- package/dist/shared/paths/agent-profile.js +21 -0
- package/dist/shared/paths/claude-paths.d.ts +15 -0
- package/dist/shared/paths/claude-paths.js +43 -0
- package/dist/shared/paths/conversation.d.ts +23 -0
- package/dist/shared/paths/conversation.js +25 -0
- package/dist/shared/paths/guest-paths.d.ts +51 -0
- package/dist/shared/paths/guest-paths.js +150 -0
- package/dist/shared/paths/index.d.ts +5 -0
- package/dist/shared/paths/index.js +5 -0
- package/dist/shared/paths/projects.d.ts +81 -0
- package/dist/shared/paths/projects.js +149 -0
- package/dist/shared/pty/client.d.ts +21 -0
- package/dist/shared/pty/client.js +79 -0
- package/dist/shared/pty/console-input.d.ts +11 -0
- package/dist/shared/pty/console-input.js +50 -0
- package/dist/shared/pty/index.d.ts +6 -0
- package/dist/shared/pty/index.js +6 -0
- package/dist/shared/pty/input-joiner.d.ts +15 -0
- package/dist/shared/pty/input-joiner.js +44 -0
- package/dist/shared/pty/output-filter.d.ts +16 -0
- package/dist/shared/pty/output-filter.js +143 -0
- package/dist/shared/pty/protocol.d.ts +38 -0
- package/dist/shared/pty/protocol.js +62 -0
- package/dist/shared/pty/terminal.d.ts +27 -0
- package/dist/shared/pty/terminal.js +153 -0
- package/dist/shared/scripts.d.ts +4 -0
- package/dist/shared/scripts.js +26 -0
- package/dist/shared/system.d.ts +11 -1
- package/dist/shared/system.js +15 -1
- package/dist/shared/test-guard.d.ts +3 -3
- package/dist/shared/test-guard.js +18 -10
- package/dist/sync/claude-mem.d.ts +3 -3
- package/dist/sync/claude-mem.js +19 -11
- package/dist/sync/history.d.ts +5 -33
- package/dist/sync/history.js +66 -51
- package/dist/sync/index.d.ts +5 -0
- package/dist/sync/index.js +5 -0
- package/dist/sync/sync-cycle.d.ts +18 -0
- package/dist/sync/sync-cycle.js +85 -0
- package/dist/sync/sync-state.d.ts +32 -0
- package/dist/sync/sync-state.js +43 -0
- package/dist/sync/watcher.d.ts +39 -17
- package/dist/sync/watcher.js +222 -155
- package/native/csharp/HostTools/KeepAwake.cs +24 -0
- package/native/csharp/HostTools/Program.cs +227 -0
- package/native/csharp/HostTools/UserPath.cs +74 -0
- package/native/csharp/HostTools/Window.cs +143 -0
- package/native/scripts/capture-look.ps1 +22 -0
- package/native/scripts/check-syntax.ps1 +14 -0
- package/native/scripts/edit-user-path.ps1 +11 -0
- package/native/scripts/hide-window.ps1 +8 -0
- package/native/scripts/keep-awake.ps1 +8 -0
- package/native/scripts/run-elevated.ps1 +12 -0
- package/native/scripts/sandbox-probe.ps1 +15 -0
- package/native/scripts/set-folder-access.ps1 +44 -0
- package/native/scripts/set-update-task.ps1 +43 -0
- package/native/scripts/show-window.ps1 +13 -0
- package/native/scripts/stop-events.ps1 +38 -0
- package/node_modules/@inquirer/ansi/LICENSE +22 -0
- package/node_modules/@inquirer/ansi/README.md +89 -0
- package/node_modules/@inquirer/ansi/dist/commonjs/index.d.ts +14 -0
- package/node_modules/@inquirer/ansi/dist/commonjs/index.js +28 -0
- package/node_modules/@inquirer/ansi/dist/commonjs/package.json +3 -0
- package/node_modules/@inquirer/ansi/dist/esm/index.d.ts +14 -0
- package/node_modules/@inquirer/ansi/dist/esm/index.js +21 -0
- package/node_modules/@inquirer/ansi/dist/esm/package.json +3 -0
- package/node_modules/@inquirer/ansi/package.json +97 -0
- package/node_modules/@inquirer/checkbox/LICENSE +22 -0
- package/node_modules/@inquirer/checkbox/README.md +188 -0
- package/node_modules/@inquirer/checkbox/dist/commonjs/index.d.ts +57 -0
- package/node_modules/@inquirer/checkbox/dist/commonjs/index.js +209 -0
- package/node_modules/@inquirer/checkbox/dist/commonjs/package.json +3 -0
- package/node_modules/@inquirer/checkbox/dist/esm/index.d.ts +57 -0
- package/node_modules/@inquirer/checkbox/dist/esm/index.js +202 -0
- package/node_modules/@inquirer/checkbox/dist/esm/package.json +3 -0
- package/node_modules/@inquirer/checkbox/package.json +113 -0
- package/node_modules/@inquirer/confirm/LICENSE +22 -0
- package/node_modules/@inquirer/confirm/README.md +92 -0
- package/node_modules/@inquirer/confirm/dist/commonjs/index.d.ts +10 -0
- package/node_modules/@inquirer/confirm/dist/commonjs/index.js +50 -0
- package/node_modules/@inquirer/confirm/dist/commonjs/package.json +3 -0
- package/node_modules/@inquirer/confirm/dist/esm/index.d.ts +10 -0
- package/node_modules/@inquirer/confirm/dist/esm/index.js +48 -0
- package/node_modules/@inquirer/confirm/dist/esm/package.json +3 -0
- package/node_modules/@inquirer/confirm/package.json +110 -0
- package/node_modules/@inquirer/core/LICENSE +22 -0
- package/node_modules/@inquirer/core/README.md +383 -0
- package/node_modules/@inquirer/core/dist/commonjs/index.d.ts +13 -0
- package/node_modules/@inquirer/core/dist/commonjs/index.js +46 -0
- package/node_modules/@inquirer/core/dist/commonjs/lib/Separator.d.ts +10 -0
- package/node_modules/@inquirer/core/dist/commonjs/lib/Separator.js +28 -0
- package/node_modules/@inquirer/core/dist/commonjs/lib/create-prompt.d.ts +4 -0
- package/node_modules/@inquirer/core/dist/commonjs/lib/create-prompt.js +156 -0
- package/node_modules/@inquirer/core/dist/commonjs/lib/errors.d.ts +20 -0
- package/node_modules/@inquirer/core/dist/commonjs/lib/errors.js +29 -0
- package/node_modules/@inquirer/core/dist/commonjs/lib/hook-engine.d.ts +23 -0
- package/node_modules/@inquirer/core/dist/commonjs/lib/hook-engine.js +118 -0
- package/node_modules/@inquirer/core/dist/commonjs/lib/key.d.ts +12 -0
- package/node_modules/@inquirer/core/dist/commonjs/lib/key.js +29 -0
- package/node_modules/@inquirer/core/dist/commonjs/lib/make-theme.d.ts +3 -0
- package/node_modules/@inquirer/core/dist/commonjs/lib/make-theme.js +33 -0
- package/node_modules/@inquirer/core/dist/commonjs/lib/pagination/use-pagination.d.ts +16 -0
- package/node_modules/@inquirer/core/dist/commonjs/lib/pagination/use-pagination.js +124 -0
- package/node_modules/@inquirer/core/dist/commonjs/lib/promise-polyfill.d.ts +7 -0
- package/node_modules/@inquirer/core/dist/commonjs/lib/promise-polyfill.js +18 -0
- package/node_modules/@inquirer/core/dist/commonjs/lib/screen-manager.d.ts +14 -0
- package/node_modules/@inquirer/core/dist/commonjs/lib/screen-manager.js +82 -0
- package/node_modules/@inquirer/core/dist/commonjs/lib/theme.d.ts +155 -0
- package/node_modules/@inquirer/core/dist/commonjs/lib/theme.js +27 -0
- package/node_modules/@inquirer/core/dist/commonjs/lib/use-effect.d.ts +2 -0
- package/node_modules/@inquirer/core/dist/commonjs/lib/use-effect.js +14 -0
- package/node_modules/@inquirer/core/dist/commonjs/lib/use-keypress.d.ts +3 -0
- package/node_modules/@inquirer/core/dist/commonjs/lib/use-keypress.js +23 -0
- package/node_modules/@inquirer/core/dist/commonjs/lib/use-memo.d.ts +1 -0
- package/node_modules/@inquirer/core/dist/commonjs/lib/use-memo.js +17 -0
- package/node_modules/@inquirer/core/dist/commonjs/lib/use-prefix.d.ts +5 -0
- package/node_modules/@inquirer/core/dist/commonjs/lib/use-prefix.js +38 -0
- package/node_modules/@inquirer/core/dist/commonjs/lib/use-ref.d.ts +6 -0
- package/node_modules/@inquirer/core/dist/commonjs/lib/use-ref.js +7 -0
- package/node_modules/@inquirer/core/dist/commonjs/lib/use-state.d.ts +4 -0
- package/node_modules/@inquirer/core/dist/commonjs/lib/use-state.js +23 -0
- package/node_modules/@inquirer/core/dist/commonjs/lib/utils.d.ts +13 -0
- package/node_modules/@inquirer/core/dist/commonjs/lib/utils.js +32 -0
- package/node_modules/@inquirer/core/dist/commonjs/package.json +3 -0
- package/node_modules/@inquirer/core/dist/esm/index.d.ts +13 -0
- package/node_modules/@inquirer/core/dist/esm/index.js +12 -0
- package/node_modules/@inquirer/core/dist/esm/lib/Separator.d.ts +10 -0
- package/node_modules/@inquirer/core/dist/esm/lib/Separator.js +21 -0
- package/node_modules/@inquirer/core/dist/esm/lib/create-prompt.d.ts +4 -0
- package/node_modules/@inquirer/core/dist/esm/lib/create-prompt.js +117 -0
- package/node_modules/@inquirer/core/dist/esm/lib/errors.d.ts +20 -0
- package/node_modules/@inquirer/core/dist/esm/lib/errors.js +21 -0
- package/node_modules/@inquirer/core/dist/esm/lib/hook-engine.d.ts +23 -0
- package/node_modules/@inquirer/core/dist/esm/lib/hook-engine.js +110 -0
- package/node_modules/@inquirer/core/dist/esm/lib/key.d.ts +12 -0
- package/node_modules/@inquirer/core/dist/esm/lib/key.js +19 -0
- package/node_modules/@inquirer/core/dist/esm/lib/make-theme.d.ts +3 -0
- package/node_modules/@inquirer/core/dist/esm/lib/make-theme.js +30 -0
- package/node_modules/@inquirer/core/dist/esm/lib/pagination/use-pagination.d.ts +16 -0
- package/node_modules/@inquirer/core/dist/esm/lib/pagination/use-pagination.js +121 -0
- package/node_modules/@inquirer/core/dist/esm/lib/promise-polyfill.d.ts +7 -0
- package/node_modules/@inquirer/core/dist/esm/lib/promise-polyfill.js +14 -0
- package/node_modules/@inquirer/core/dist/esm/lib/screen-manager.d.ts +14 -0
- package/node_modules/@inquirer/core/dist/esm/lib/screen-manager.js +79 -0
- package/node_modules/@inquirer/core/dist/esm/lib/theme.d.ts +155 -0
- package/node_modules/@inquirer/core/dist/esm/lib/theme.js +21 -0
- package/node_modules/@inquirer/core/dist/esm/lib/use-effect.d.ts +2 -0
- package/node_modules/@inquirer/core/dist/esm/lib/use-effect.js +11 -0
- package/node_modules/@inquirer/core/dist/esm/lib/use-keypress.d.ts +3 -0
- package/node_modules/@inquirer/core/dist/esm/lib/use-keypress.js +20 -0
- package/node_modules/@inquirer/core/dist/esm/lib/use-memo.d.ts +1 -0
- package/node_modules/@inquirer/core/dist/esm/lib/use-memo.js +14 -0
- package/node_modules/@inquirer/core/dist/esm/lib/use-prefix.d.ts +5 -0
- package/node_modules/@inquirer/core/dist/esm/lib/use-prefix.js +35 -0
- package/node_modules/@inquirer/core/dist/esm/lib/use-ref.d.ts +6 -0
- package/node_modules/@inquirer/core/dist/esm/lib/use-ref.js +4 -0
- package/node_modules/@inquirer/core/dist/esm/lib/use-state.d.ts +4 -0
- package/node_modules/@inquirer/core/dist/esm/lib/use-state.js +20 -0
- package/node_modules/@inquirer/core/dist/esm/lib/utils.d.ts +13 -0
- package/node_modules/@inquirer/core/dist/esm/lib/utils.js +25 -0
- package/node_modules/@inquirer/core/dist/esm/package.json +3 -0
- package/node_modules/@inquirer/core/package.json +119 -0
- package/node_modules/@inquirer/editor/LICENSE +22 -0
- package/node_modules/@inquirer/editor/README.md +101 -0
- package/node_modules/@inquirer/editor/dist/commonjs/index.d.ts +17 -0
- package/node_modules/@inquirer/editor/dist/commonjs/index.js +76 -0
- package/node_modules/@inquirer/editor/dist/commonjs/package.json +3 -0
- package/node_modules/@inquirer/editor/dist/esm/index.d.ts +17 -0
- package/node_modules/@inquirer/editor/dist/esm/index.js +74 -0
- package/node_modules/@inquirer/editor/dist/esm/package.json +3 -0
- package/node_modules/@inquirer/editor/package.json +111 -0
- package/node_modules/@inquirer/expand/LICENSE +22 -0
- package/node_modules/@inquirer/expand/README.md +141 -0
- package/node_modules/@inquirer/expand/dist/commonjs/index.d.ts +25 -0
- package/node_modules/@inquirer/expand/dist/commonjs/index.js +115 -0
- package/node_modules/@inquirer/expand/dist/commonjs/package.json +3 -0
- package/node_modules/@inquirer/expand/dist/esm/index.d.ts +25 -0
- package/node_modules/@inquirer/expand/dist/esm/index.js +108 -0
- package/node_modules/@inquirer/expand/dist/esm/package.json +3 -0
- package/node_modules/@inquirer/expand/package.json +111 -0
- package/node_modules/@inquirer/external-editor/LICENSE +22 -0
- package/node_modules/@inquirer/external-editor/README.md +154 -0
- package/node_modules/@inquirer/external-editor/dist/commonjs/errors/CreateFileError.d.ts +10 -0
- package/node_modules/@inquirer/external-editor/dist/commonjs/errors/CreateFileError.js +17 -0
- package/node_modules/@inquirer/external-editor/dist/commonjs/errors/LaunchEditorError.d.ts +10 -0
- package/node_modules/@inquirer/external-editor/dist/commonjs/errors/LaunchEditorError.js +17 -0
- package/node_modules/@inquirer/external-editor/dist/commonjs/errors/ReadFileError.d.ts +10 -0
- package/node_modules/@inquirer/external-editor/dist/commonjs/errors/ReadFileError.js +17 -0
- package/node_modules/@inquirer/external-editor/dist/commonjs/errors/RemoveFileError.d.ts +10 -0
- package/node_modules/@inquirer/external-editor/dist/commonjs/errors/RemoveFileError.js +17 -0
- package/node_modules/@inquirer/external-editor/dist/commonjs/index.d.ts +39 -0
- package/node_modules/@inquirer/external-editor/dist/commonjs/index.js +203 -0
- package/node_modules/@inquirer/external-editor/dist/commonjs/package.json +3 -0
- package/node_modules/@inquirer/external-editor/dist/esm/errors/CreateFileError.d.ts +10 -0
- package/node_modules/@inquirer/external-editor/dist/esm/errors/CreateFileError.js +13 -0
- package/node_modules/@inquirer/external-editor/dist/esm/errors/LaunchEditorError.d.ts +10 -0
- package/node_modules/@inquirer/external-editor/dist/esm/errors/LaunchEditorError.js +13 -0
- package/node_modules/@inquirer/external-editor/dist/esm/errors/ReadFileError.d.ts +10 -0
- package/node_modules/@inquirer/external-editor/dist/esm/errors/ReadFileError.js +13 -0
- package/node_modules/@inquirer/external-editor/dist/esm/errors/RemoveFileError.d.ts +10 -0
- package/node_modules/@inquirer/external-editor/dist/esm/errors/RemoveFileError.js +13 -0
- package/node_modules/@inquirer/external-editor/dist/esm/index.d.ts +39 -0
- package/node_modules/@inquirer/external-editor/dist/esm/index.js +191 -0
- package/node_modules/@inquirer/external-editor/dist/esm/package.json +3 -0
- package/node_modules/@inquirer/external-editor/package.json +115 -0
- package/node_modules/@inquirer/figures/LICENSE +22 -0
- package/node_modules/@inquirer/figures/dist/commonjs/index.d.ts +275 -0
- package/node_modules/@inquirer/figures/dist/commonjs/index.js +321 -0
- package/node_modules/@inquirer/figures/dist/commonjs/package.json +3 -0
- package/node_modules/@inquirer/figures/dist/esm/index.d.ts +275 -0
- package/node_modules/@inquirer/figures/dist/esm/index.js +314 -0
- package/node_modules/@inquirer/figures/dist/esm/package.json +3 -0
- package/node_modules/@inquirer/figures/package.json +98 -0
- package/node_modules/@inquirer/input/LICENSE +22 -0
- package/node_modules/@inquirer/input/README.md +101 -0
- package/node_modules/@inquirer/input/dist/commonjs/index.d.ts +20 -0
- package/node_modules/@inquirer/input/dist/commonjs/index.js +99 -0
- package/node_modules/@inquirer/input/dist/commonjs/package.json +3 -0
- package/node_modules/@inquirer/input/dist/esm/index.d.ts +20 -0
- package/node_modules/@inquirer/input/dist/esm/index.js +97 -0
- package/node_modules/@inquirer/input/dist/esm/package.json +3 -0
- package/node_modules/@inquirer/input/package.json +110 -0
- package/node_modules/@inquirer/number/LICENSE +22 -0
- package/node_modules/@inquirer/number/README.md +95 -0
- package/node_modules/@inquirer/number/dist/commonjs/index.d.ts +15 -0
- package/node_modules/@inquirer/number/dist/commonjs/index.js +96 -0
- package/node_modules/@inquirer/number/dist/commonjs/package.json +3 -0
- package/node_modules/@inquirer/number/dist/esm/index.d.ts +15 -0
- package/node_modules/@inquirer/number/dist/esm/index.js +94 -0
- package/node_modules/@inquirer/number/dist/esm/package.json +3 -0
- package/node_modules/@inquirer/number/package.json +110 -0
- package/node_modules/@inquirer/password/LICENSE +22 -0
- package/node_modules/@inquirer/password/README.md +93 -0
- package/node_modules/@inquirer/password/dist/commonjs/index.d.ts +10 -0
- package/node_modules/@inquirer/password/dist/commonjs/index.js +57 -0
- package/node_modules/@inquirer/password/dist/commonjs/package.json +3 -0
- package/node_modules/@inquirer/password/dist/esm/index.d.ts +10 -0
- package/node_modules/@inquirer/password/dist/esm/index.js +55 -0
- package/node_modules/@inquirer/password/dist/esm/package.json +3 -0
- package/node_modules/@inquirer/password/package.json +111 -0
- package/node_modules/@inquirer/prompts/LICENSE +22 -0
- package/node_modules/@inquirer/prompts/README.md +528 -0
- package/node_modules/@inquirer/prompts/dist/commonjs/index.d.ts +10 -0
- package/node_modules/@inquirer/prompts/dist/commonjs/index.js +27 -0
- package/node_modules/@inquirer/prompts/dist/commonjs/package.json +3 -0
- package/node_modules/@inquirer/prompts/dist/esm/index.d.ts +10 -0
- package/node_modules/@inquirer/prompts/dist/esm/index.js +10 -0
- package/node_modules/@inquirer/prompts/dist/esm/package.json +3 -0
- package/node_modules/@inquirer/prompts/package.json +120 -0
- package/node_modules/@inquirer/rawlist/LICENSE +22 -0
- package/node_modules/@inquirer/rawlist/README.md +124 -0
- package/node_modules/@inquirer/rawlist/dist/commonjs/index.d.ts +18 -0
- package/node_modules/@inquirer/rawlist/dist/commonjs/index.js +132 -0
- package/node_modules/@inquirer/rawlist/dist/commonjs/package.json +3 -0
- package/node_modules/@inquirer/rawlist/dist/esm/index.d.ts +18 -0
- package/node_modules/@inquirer/rawlist/dist/esm/index.js +125 -0
- package/node_modules/@inquirer/rawlist/dist/esm/package.json +3 -0
- package/node_modules/@inquirer/rawlist/package.json +111 -0
- package/node_modules/@inquirer/search/LICENSE +22 -0
- package/node_modules/@inquirer/search/README.md +212 -0
- package/node_modules/@inquirer/search/dist/commonjs/index.d.ts +40 -0
- package/node_modules/@inquirer/search/dist/commonjs/index.js +206 -0
- package/node_modules/@inquirer/search/dist/commonjs/package.json +3 -0
- package/node_modules/@inquirer/search/dist/esm/index.d.ts +40 -0
- package/node_modules/@inquirer/search/dist/esm/index.js +199 -0
- package/node_modules/@inquirer/search/dist/esm/package.json +3 -0
- package/node_modules/@inquirer/search/package.json +112 -0
- package/node_modules/@inquirer/select/LICENSE +22 -0
- package/node_modules/@inquirer/select/README.md +181 -0
- package/node_modules/@inquirer/select/dist/commonjs/index.d.ts +40 -0
- package/node_modules/@inquirer/select/dist/commonjs/index.js +194 -0
- package/node_modules/@inquirer/select/dist/commonjs/package.json +3 -0
- package/node_modules/@inquirer/select/dist/esm/index.d.ts +40 -0
- package/node_modules/@inquirer/select/dist/esm/index.js +187 -0
- package/node_modules/@inquirer/select/dist/esm/package.json +3 -0
- package/node_modules/@inquirer/select/package.json +113 -0
- package/node_modules/@inquirer/type/LICENSE +22 -0
- package/node_modules/@inquirer/type/dist/commonjs/index.d.ts +2 -0
- package/node_modules/@inquirer/type/dist/commonjs/index.js +18 -0
- package/node_modules/@inquirer/type/dist/commonjs/inquirer.d.ts +38 -0
- package/node_modules/@inquirer/type/dist/commonjs/inquirer.js +2 -0
- package/node_modules/@inquirer/type/dist/commonjs/package.json +3 -0
- package/node_modules/@inquirer/type/dist/commonjs/utils.d.ts +29 -0
- package/node_modules/@inquirer/type/dist/commonjs/utils.js +3 -0
- package/node_modules/@inquirer/type/dist/esm/index.d.ts +2 -0
- package/node_modules/@inquirer/type/dist/esm/index.js +2 -0
- package/node_modules/@inquirer/type/dist/esm/inquirer.d.ts +38 -0
- package/node_modules/@inquirer/type/dist/esm/inquirer.js +1 -0
- package/node_modules/@inquirer/type/dist/esm/package.json +3 -0
- package/node_modules/@inquirer/type/dist/esm/utils.d.ts +29 -0
- package/node_modules/@inquirer/type/dist/esm/utils.js +2 -0
- package/node_modules/@inquirer/type/package.json +106 -0
- package/node_modules/ansi-regex/index.d.ts +37 -0
- package/node_modules/ansi-regex/index.js +10 -0
- package/node_modules/ansi-regex/license +9 -0
- package/node_modules/ansi-regex/package.json +55 -0
- package/node_modules/ansi-regex/readme.md +78 -0
- package/node_modules/ansi-styles/index.d.ts +345 -0
- package/node_modules/ansi-styles/index.js +163 -0
- package/node_modules/ansi-styles/license +9 -0
- package/node_modules/ansi-styles/package.json +56 -0
- package/node_modules/ansi-styles/readme.md +152 -0
- package/node_modules/chardet/LICENSE +19 -0
- package/node_modules/chardet/README.md +135 -0
- package/node_modules/chardet/lib/encoding/ascii.d.ts +6 -0
- package/node_modules/chardet/lib/encoding/ascii.js +23 -0
- package/node_modules/chardet/lib/encoding/ascii.js.map +1 -0
- package/node_modules/chardet/lib/encoding/index.d.ts +14 -0
- package/node_modules/chardet/lib/encoding/index.js +3 -0
- package/node_modules/chardet/lib/encoding/index.js.map +1 -0
- package/node_modules/chardet/lib/encoding/iso2022.d.ts +23 -0
- package/node_modules/chardet/lib/encoding/iso2022.js +114 -0
- package/node_modules/chardet/lib/encoding/iso2022.js.map +1 -0
- package/node_modules/chardet/lib/encoding/mbcs.d.ts +50 -0
- package/node_modules/chardet/lib/encoding/mbcs.js +347 -0
- package/node_modules/chardet/lib/encoding/mbcs.js.map +1 -0
- package/node_modules/chardet/lib/encoding/sbcs.d.ts +94 -0
- package/node_modules/chardet/lib/encoding/sbcs.js +935 -0
- package/node_modules/chardet/lib/encoding/sbcs.js.map +1 -0
- package/node_modules/chardet/lib/encoding/unicode.d.ts +27 -0
- package/node_modules/chardet/lib/encoding/unicode.js +109 -0
- package/node_modules/chardet/lib/encoding/unicode.js.map +1 -0
- package/node_modules/chardet/lib/encoding/utf8.d.ts +6 -0
- package/node_modules/chardet/lib/encoding/utf8.js +72 -0
- package/node_modules/chardet/lib/encoding/utf8.js.map +1 -0
- package/node_modules/chardet/lib/fs/browser.d.ts +2 -0
- package/node_modules/chardet/lib/fs/browser.js +6 -0
- package/node_modules/chardet/lib/fs/browser.js.map +1 -0
- package/node_modules/chardet/lib/fs/node.d.ts +2 -0
- package/node_modules/chardet/lib/fs/node.js +11 -0
- package/node_modules/chardet/lib/fs/node.js.map +1 -0
- package/node_modules/chardet/lib/index.d.ts +20 -0
- package/node_modules/chardet/lib/index.js +177 -0
- package/node_modules/chardet/lib/index.js.map +1 -0
- package/node_modules/chardet/lib/match.d.ts +9 -0
- package/node_modules/chardet/lib/match.js +8 -0
- package/node_modules/chardet/lib/match.js.map +1 -0
- package/node_modules/chardet/lib/utils.d.ts +1 -0
- package/node_modules/chardet/lib/utils.js +10 -0
- package/node_modules/chardet/lib/utils.js.map +1 -0
- package/node_modules/chardet/package.json +100 -0
- package/node_modules/cli-width/LICENSE +13 -0
- package/node_modules/cli-width/README.md +71 -0
- package/node_modules/cli-width/index.d.ts +13 -0
- package/node_modules/cli-width/index.js +49 -0
- package/node_modules/cli-width/package.json +40 -0
- package/node_modules/color-convert/CHANGELOG.md +54 -0
- package/node_modules/color-convert/LICENSE +21 -0
- package/node_modules/color-convert/README.md +68 -0
- package/node_modules/color-convert/conversions.js +839 -0
- package/node_modules/color-convert/index.js +81 -0
- package/node_modules/color-convert/package.json +48 -0
- package/node_modules/color-convert/route.js +97 -0
- package/node_modules/color-name/LICENSE +8 -0
- package/node_modules/color-name/README.md +11 -0
- package/node_modules/color-name/index.js +152 -0
- package/node_modules/color-name/package.json +28 -0
- package/node_modules/commander/LICENSE +22 -0
- package/node_modules/commander/Readme.md +1176 -0
- package/node_modules/commander/esm.mjs +16 -0
- package/node_modules/commander/index.js +24 -0
- package/node_modules/commander/lib/argument.js +150 -0
- package/node_modules/commander/lib/command.js +2777 -0
- package/node_modules/commander/lib/error.js +39 -0
- package/node_modules/commander/lib/help.js +747 -0
- package/node_modules/commander/lib/option.js +380 -0
- package/node_modules/commander/lib/suggestSimilar.js +101 -0
- package/node_modules/commander/package-support.json +19 -0
- package/node_modules/commander/package.json +82 -0
- package/node_modules/commander/typings/esm.d.mts +3 -0
- package/node_modules/commander/typings/index.d.ts +1113 -0
- package/node_modules/emoji-regex/LICENSE-MIT.txt +20 -0
- package/node_modules/emoji-regex/README.md +73 -0
- package/node_modules/emoji-regex/es2015/index.js +6 -0
- package/node_modules/emoji-regex/es2015/text.js +6 -0
- package/node_modules/emoji-regex/index.d.ts +23 -0
- package/node_modules/emoji-regex/index.js +6 -0
- package/node_modules/emoji-regex/package.json +50 -0
- package/node_modules/emoji-regex/text.js +6 -0
- package/node_modules/iconv-lite/LICENSE +21 -0
- package/node_modules/iconv-lite/README.md +138 -0
- package/node_modules/iconv-lite/encodings/dbcs-codec.js +532 -0
- package/node_modules/iconv-lite/encodings/dbcs-data.js +185 -0
- package/node_modules/iconv-lite/encodings/index.js +23 -0
- package/node_modules/iconv-lite/encodings/internal.js +218 -0
- package/node_modules/iconv-lite/encodings/sbcs-codec.js +75 -0
- package/node_modules/iconv-lite/encodings/sbcs-data-generated.js +451 -0
- package/node_modules/iconv-lite/encodings/sbcs-data.js +180 -0
- package/node_modules/iconv-lite/encodings/tables/big5-added.json +122 -0
- package/node_modules/iconv-lite/encodings/tables/cp936.json +264 -0
- package/node_modules/iconv-lite/encodings/tables/cp949.json +273 -0
- package/node_modules/iconv-lite/encodings/tables/cp950.json +177 -0
- package/node_modules/iconv-lite/encodings/tables/eucjp.json +182 -0
- package/node_modules/iconv-lite/encodings/tables/gb18030-ranges.json +1 -0
- package/node_modules/iconv-lite/encodings/tables/gbk-added.json +56 -0
- package/node_modules/iconv-lite/encodings/tables/shiftjis.json +125 -0
- package/node_modules/iconv-lite/encodings/utf16.js +187 -0
- package/node_modules/iconv-lite/encodings/utf32.js +314 -0
- package/node_modules/iconv-lite/encodings/utf7.js +283 -0
- package/node_modules/iconv-lite/lib/bom-handling.js +48 -0
- package/node_modules/iconv-lite/lib/helpers/merge-exports.js +13 -0
- package/node_modules/iconv-lite/lib/index.d.ts +129 -0
- package/node_modules/iconv-lite/lib/index.js +182 -0
- package/node_modules/iconv-lite/lib/streams.js +105 -0
- package/node_modules/iconv-lite/package.json +70 -0
- package/node_modules/iconv-lite/types/encodings.d.ts +425 -0
- package/node_modules/ignore/LICENSE-MIT +21 -0
- package/node_modules/ignore/README.md +501 -0
- package/node_modules/ignore/index.d.ts +81 -0
- package/node_modules/ignore/index.js +1566 -0
- package/node_modules/ignore/legacy.js +1346 -0
- package/node_modules/ignore/package.json +93 -0
- package/node_modules/is-fullwidth-code-point/index.d.ts +17 -0
- package/node_modules/is-fullwidth-code-point/index.js +50 -0
- package/node_modules/is-fullwidth-code-point/license +9 -0
- package/node_modules/is-fullwidth-code-point/package.json +42 -0
- package/node_modules/is-fullwidth-code-point/readme.md +39 -0
- package/node_modules/jsonc-parser/CHANGELOG.md +76 -0
- package/node_modules/jsonc-parser/LICENSE.md +21 -0
- package/node_modules/jsonc-parser/README.md +364 -0
- package/node_modules/jsonc-parser/SECURITY.md +41 -0
- package/node_modules/jsonc-parser/lib/esm/impl/edit.js +185 -0
- package/node_modules/jsonc-parser/lib/esm/impl/format.js +261 -0
- package/node_modules/jsonc-parser/lib/esm/impl/parser.js +659 -0
- package/node_modules/jsonc-parser/lib/esm/impl/scanner.js +443 -0
- package/node_modules/jsonc-parser/lib/esm/impl/string-intern.js +29 -0
- package/node_modules/jsonc-parser/lib/esm/main.d.ts +351 -0
- package/node_modules/jsonc-parser/lib/esm/main.js +178 -0
- package/node_modules/jsonc-parser/lib/umd/impl/edit.js +201 -0
- package/node_modules/jsonc-parser/lib/umd/impl/format.js +275 -0
- package/node_modules/jsonc-parser/lib/umd/impl/parser.js +682 -0
- package/node_modules/jsonc-parser/lib/umd/impl/scanner.js +456 -0
- package/node_modules/jsonc-parser/lib/umd/impl/string-intern.js +42 -0
- package/node_modules/jsonc-parser/lib/umd/main.d.ts +351 -0
- package/node_modules/jsonc-parser/lib/umd/main.js +194 -0
- package/node_modules/jsonc-parser/package.json +37 -0
- package/node_modules/lodash/LICENSE +47 -0
- package/node_modules/lodash/README.md +39 -0
- package/node_modules/lodash/_DataView.js +7 -0
- package/node_modules/lodash/_Hash.js +32 -0
- package/node_modules/lodash/_LazyWrapper.js +28 -0
- package/node_modules/lodash/_ListCache.js +32 -0
- package/node_modules/lodash/_LodashWrapper.js +22 -0
- package/node_modules/lodash/_Map.js +7 -0
- package/node_modules/lodash/_MapCache.js +32 -0
- package/node_modules/lodash/_Promise.js +7 -0
- package/node_modules/lodash/_Set.js +7 -0
- package/node_modules/lodash/_SetCache.js +27 -0
- package/node_modules/lodash/_Stack.js +27 -0
- package/node_modules/lodash/_Symbol.js +6 -0
- package/node_modules/lodash/_Uint8Array.js +6 -0
- package/node_modules/lodash/_WeakMap.js +7 -0
- package/node_modules/lodash/_apply.js +21 -0
- package/node_modules/lodash/_arrayAggregator.js +22 -0
- package/node_modules/lodash/_arrayEach.js +22 -0
- package/node_modules/lodash/_arrayEachRight.js +21 -0
- package/node_modules/lodash/_arrayEvery.js +23 -0
- package/node_modules/lodash/_arrayFilter.js +25 -0
- package/node_modules/lodash/_arrayIncludes.js +17 -0
- package/node_modules/lodash/_arrayIncludesWith.js +22 -0
- package/node_modules/lodash/_arrayLikeKeys.js +49 -0
- package/node_modules/lodash/_arrayMap.js +21 -0
- package/node_modules/lodash/_arrayPush.js +20 -0
- package/node_modules/lodash/_arrayReduce.js +26 -0
- package/node_modules/lodash/_arrayReduceRight.js +24 -0
- package/node_modules/lodash/_arraySample.js +15 -0
- package/node_modules/lodash/_arraySampleSize.js +17 -0
- package/node_modules/lodash/_arrayShuffle.js +15 -0
- package/node_modules/lodash/_arraySome.js +23 -0
- package/node_modules/lodash/_asciiSize.js +12 -0
- package/node_modules/lodash/_asciiToArray.js +12 -0
- package/node_modules/lodash/_asciiWords.js +15 -0
- package/node_modules/lodash/_assignMergeValue.js +20 -0
- package/node_modules/lodash/_assignValue.js +28 -0
- package/node_modules/lodash/_assocIndexOf.js +21 -0
- package/node_modules/lodash/_baseAggregator.js +21 -0
- package/node_modules/lodash/_baseAssign.js +17 -0
- package/node_modules/lodash/_baseAssignIn.js +17 -0
- package/node_modules/lodash/_baseAssignValue.js +25 -0
- package/node_modules/lodash/_baseAt.js +23 -0
- package/node_modules/lodash/_baseClamp.js +22 -0
- package/node_modules/lodash/_baseClone.js +166 -0
- package/node_modules/lodash/_baseConforms.js +18 -0
- package/node_modules/lodash/_baseConformsTo.js +27 -0
- package/node_modules/lodash/_baseCreate.js +30 -0
- package/node_modules/lodash/_baseDelay.js +21 -0
- package/node_modules/lodash/_baseDifference.js +67 -0
- package/node_modules/lodash/_baseEach.js +14 -0
- package/node_modules/lodash/_baseEachRight.js +14 -0
- package/node_modules/lodash/_baseEvery.js +21 -0
- package/node_modules/lodash/_baseExtremum.js +32 -0
- package/node_modules/lodash/_baseFill.js +32 -0
- package/node_modules/lodash/_baseFilter.js +21 -0
- package/node_modules/lodash/_baseFindIndex.js +24 -0
- package/node_modules/lodash/_baseFindKey.js +23 -0
- package/node_modules/lodash/_baseFlatten.js +38 -0
- package/node_modules/lodash/_baseFor.js +16 -0
- package/node_modules/lodash/_baseForOwn.js +16 -0
- package/node_modules/lodash/_baseForOwnRight.js +16 -0
- package/node_modules/lodash/_baseForRight.js +15 -0
- package/node_modules/lodash/_baseFunctions.js +19 -0
- package/node_modules/lodash/_baseGet.js +24 -0
- package/node_modules/lodash/_baseGetAllKeys.js +20 -0
- package/node_modules/lodash/_baseGetTag.js +28 -0
- package/node_modules/lodash/_baseGt.js +14 -0
- package/node_modules/lodash/_baseHas.js +19 -0
- package/node_modules/lodash/_baseHasIn.js +13 -0
- package/node_modules/lodash/_baseInRange.js +18 -0
- package/node_modules/lodash/_baseIndexOf.js +20 -0
- package/node_modules/lodash/_baseIndexOfWith.js +23 -0
- package/node_modules/lodash/_baseIntersection.js +74 -0
- package/node_modules/lodash/_baseInverter.js +21 -0
- package/node_modules/lodash/_baseInvoke.js +24 -0
- package/node_modules/lodash/_baseIsArguments.js +18 -0
- package/node_modules/lodash/_baseIsArrayBuffer.js +17 -0
- package/node_modules/lodash/_baseIsDate.js +18 -0
- package/node_modules/lodash/_baseIsEqual.js +28 -0
- package/node_modules/lodash/_baseIsEqualDeep.js +83 -0
- package/node_modules/lodash/_baseIsMap.js +18 -0
- package/node_modules/lodash/_baseIsMatch.js +62 -0
- package/node_modules/lodash/_baseIsNaN.js +12 -0
- package/node_modules/lodash/_baseIsNative.js +47 -0
- package/node_modules/lodash/_baseIsRegExp.js +18 -0
- package/node_modules/lodash/_baseIsSet.js +18 -0
- package/node_modules/lodash/_baseIsTypedArray.js +60 -0
- package/node_modules/lodash/_baseIteratee.js +31 -0
- package/node_modules/lodash/_baseKeys.js +30 -0
- package/node_modules/lodash/_baseKeysIn.js +33 -0
- package/node_modules/lodash/_baseLodash.js +10 -0
- package/node_modules/lodash/_baseLt.js +14 -0
- package/node_modules/lodash/_baseMap.js +22 -0
- package/node_modules/lodash/_baseMatches.js +22 -0
- package/node_modules/lodash/_baseMatchesProperty.js +33 -0
- package/node_modules/lodash/_baseMean.js +20 -0
- package/node_modules/lodash/_baseMerge.js +42 -0
- package/node_modules/lodash/_baseMergeDeep.js +94 -0
- package/node_modules/lodash/_baseNth.js +20 -0
- package/node_modules/lodash/_baseOrderBy.js +49 -0
- package/node_modules/lodash/_basePick.js +19 -0
- package/node_modules/lodash/_basePickBy.js +30 -0
- package/node_modules/lodash/_baseProperty.js +14 -0
- package/node_modules/lodash/_basePropertyDeep.js +16 -0
- package/node_modules/lodash/_basePropertyOf.js +14 -0
- package/node_modules/lodash/_basePullAll.js +51 -0
- package/node_modules/lodash/_basePullAt.js +37 -0
- package/node_modules/lodash/_baseRandom.js +18 -0
- package/node_modules/lodash/_baseRange.js +28 -0
- package/node_modules/lodash/_baseReduce.js +23 -0
- package/node_modules/lodash/_baseRepeat.js +35 -0
- package/node_modules/lodash/_baseRest.js +17 -0
- package/node_modules/lodash/_baseSample.js +15 -0
- package/node_modules/lodash/_baseSampleSize.js +18 -0
- package/node_modules/lodash/_baseSet.js +51 -0
- package/node_modules/lodash/_baseSetData.js +17 -0
- package/node_modules/lodash/_baseSetToString.js +22 -0
- package/node_modules/lodash/_baseShuffle.js +15 -0
- package/node_modules/lodash/_baseSlice.js +31 -0
- package/node_modules/lodash/_baseSome.js +22 -0
- package/node_modules/lodash/_baseSortBy.js +21 -0
- package/node_modules/lodash/_baseSortedIndex.js +42 -0
- package/node_modules/lodash/_baseSortedIndexBy.js +67 -0
- package/node_modules/lodash/_baseSortedUniq.js +30 -0
- package/node_modules/lodash/_baseSum.js +24 -0
- package/node_modules/lodash/_baseTimes.js +20 -0
- package/node_modules/lodash/_baseToNumber.js +24 -0
- package/node_modules/lodash/_baseToPairs.js +18 -0
- package/node_modules/lodash/_baseToString.js +37 -0
- package/node_modules/lodash/_baseTrim.js +19 -0
- package/node_modules/lodash/_baseUnary.js +14 -0
- package/node_modules/lodash/_baseUniq.js +72 -0
- package/node_modules/lodash/_baseUnset.js +52 -0
- package/node_modules/lodash/_baseUpdate.js +18 -0
- package/node_modules/lodash/_baseValues.js +19 -0
- package/node_modules/lodash/_baseWhile.js +26 -0
- package/node_modules/lodash/_baseWrapperValue.js +25 -0
- package/node_modules/lodash/_baseXor.js +36 -0
- package/node_modules/lodash/_baseZipObject.js +23 -0
- package/node_modules/lodash/_cacheHas.js +13 -0
- package/node_modules/lodash/_castArrayLikeObject.js +14 -0
- package/node_modules/lodash/_castFunction.js +14 -0
- package/node_modules/lodash/_castPath.js +21 -0
- package/node_modules/lodash/_castRest.js +14 -0
- package/node_modules/lodash/_castSlice.js +18 -0
- package/node_modules/lodash/_charsEndIndex.js +19 -0
- package/node_modules/lodash/_charsStartIndex.js +20 -0
- package/node_modules/lodash/_cloneArrayBuffer.js +16 -0
- package/node_modules/lodash/_cloneBuffer.js +35 -0
- package/node_modules/lodash/_cloneDataView.js +16 -0
- package/node_modules/lodash/_cloneRegExp.js +17 -0
- package/node_modules/lodash/_cloneSymbol.js +18 -0
- package/node_modules/lodash/_cloneTypedArray.js +16 -0
- package/node_modules/lodash/_compareAscending.js +41 -0
- package/node_modules/lodash/_compareMultiple.js +44 -0
- package/node_modules/lodash/_composeArgs.js +39 -0
- package/node_modules/lodash/_composeArgsRight.js +41 -0
- package/node_modules/lodash/_copyArray.js +20 -0
- package/node_modules/lodash/_copyObject.js +40 -0
- package/node_modules/lodash/_copySymbols.js +16 -0
- package/node_modules/lodash/_copySymbolsIn.js +16 -0
- package/node_modules/lodash/_coreJsData.js +6 -0
- package/node_modules/lodash/_countHolders.js +21 -0
- package/node_modules/lodash/_createAggregator.js +23 -0
- package/node_modules/lodash/_createAssigner.js +37 -0
- package/node_modules/lodash/_createBaseEach.js +32 -0
- package/node_modules/lodash/_createBaseFor.js +25 -0
- package/node_modules/lodash/_createBind.js +28 -0
- package/node_modules/lodash/_createCaseFirst.js +33 -0
- package/node_modules/lodash/_createCompounder.js +24 -0
- package/node_modules/lodash/_createCtor.js +37 -0
- package/node_modules/lodash/_createCurry.js +46 -0
- package/node_modules/lodash/_createFind.js +25 -0
- package/node_modules/lodash/_createFlow.js +78 -0
- package/node_modules/lodash/_createHybrid.js +92 -0
- package/node_modules/lodash/_createInverter.js +17 -0
- package/node_modules/lodash/_createMathOperation.js +38 -0
- package/node_modules/lodash/_createOver.js +27 -0
- package/node_modules/lodash/_createPadding.js +33 -0
- package/node_modules/lodash/_createPartial.js +43 -0
- package/node_modules/lodash/_createRange.js +30 -0
- package/node_modules/lodash/_createRecurry.js +56 -0
- package/node_modules/lodash/_createRelationalOperation.js +20 -0
- package/node_modules/lodash/_createRound.js +35 -0
- package/node_modules/lodash/_createSet.js +19 -0
- package/node_modules/lodash/_createToPairs.js +30 -0
- package/node_modules/lodash/_createWrap.js +106 -0
- package/node_modules/lodash/_customDefaultsAssignIn.js +29 -0
- package/node_modules/lodash/_customDefaultsMerge.js +28 -0
- package/node_modules/lodash/_customOmitClone.js +16 -0
- package/node_modules/lodash/_deburrLetter.js +71 -0
- package/node_modules/lodash/_defineProperty.js +11 -0
- package/node_modules/lodash/_equalArrays.js +84 -0
- package/node_modules/lodash/_equalByTag.js +112 -0
- package/node_modules/lodash/_equalObjects.js +90 -0
- package/node_modules/lodash/_escapeHtmlChar.js +21 -0
- package/node_modules/lodash/_escapeStringChar.js +22 -0
- package/node_modules/lodash/_flatRest.js +16 -0
- package/node_modules/lodash/_freeGlobal.js +4 -0
- package/node_modules/lodash/_getAllKeys.js +16 -0
- package/node_modules/lodash/_getAllKeysIn.js +17 -0
- package/node_modules/lodash/_getData.js +15 -0
- package/node_modules/lodash/_getFuncName.js +31 -0
- package/node_modules/lodash/_getHolder.js +13 -0
- package/node_modules/lodash/_getMapData.js +18 -0
- package/node_modules/lodash/_getMatchData.js +24 -0
- package/node_modules/lodash/_getNative.js +17 -0
- package/node_modules/lodash/_getPrototype.js +6 -0
- package/node_modules/lodash/_getRawTag.js +46 -0
- package/node_modules/lodash/_getSymbols.js +30 -0
- package/node_modules/lodash/_getSymbolsIn.js +25 -0
- package/node_modules/lodash/_getTag.js +58 -0
- package/node_modules/lodash/_getValue.js +13 -0
- package/node_modules/lodash/_getView.js +33 -0
- package/node_modules/lodash/_getWrapDetails.js +17 -0
- package/node_modules/lodash/_hasPath.js +39 -0
- package/node_modules/lodash/_hasUnicode.js +26 -0
- package/node_modules/lodash/_hasUnicodeWord.js +15 -0
- package/node_modules/lodash/_hashClear.js +15 -0
- package/node_modules/lodash/_hashDelete.js +17 -0
- package/node_modules/lodash/_hashGet.js +30 -0
- package/node_modules/lodash/_hashHas.js +23 -0
- package/node_modules/lodash/_hashSet.js +23 -0
- package/node_modules/lodash/_initCloneArray.js +26 -0
- package/node_modules/lodash/_initCloneByTag.js +77 -0
- package/node_modules/lodash/_initCloneObject.js +18 -0
- package/node_modules/lodash/_insertWrapDetails.js +23 -0
- package/node_modules/lodash/_isFlattenable.js +20 -0
- package/node_modules/lodash/_isIndex.js +25 -0
- package/node_modules/lodash/_isIterateeCall.js +30 -0
- package/node_modules/lodash/_isKey.js +29 -0
- package/node_modules/lodash/_isKeyable.js +15 -0
- package/node_modules/lodash/_isLaziable.js +28 -0
- package/node_modules/lodash/_isMaskable.js +14 -0
- package/node_modules/lodash/_isMasked.js +20 -0
- package/node_modules/lodash/_isPrototype.js +18 -0
- package/node_modules/lodash/_isStrictComparable.js +15 -0
- package/node_modules/lodash/_iteratorToArray.js +18 -0
- package/node_modules/lodash/_lazyClone.js +23 -0
- package/node_modules/lodash/_lazyReverse.js +23 -0
- package/node_modules/lodash/_lazyValue.js +69 -0
- package/node_modules/lodash/_listCacheClear.js +13 -0
- package/node_modules/lodash/_listCacheDelete.js +35 -0
- package/node_modules/lodash/_listCacheGet.js +19 -0
- package/node_modules/lodash/_listCacheHas.js +16 -0
- package/node_modules/lodash/_listCacheSet.js +26 -0
- package/node_modules/lodash/_mapCacheClear.js +21 -0
- package/node_modules/lodash/_mapCacheDelete.js +18 -0
- package/node_modules/lodash/_mapCacheGet.js +16 -0
- package/node_modules/lodash/_mapCacheHas.js +16 -0
- package/node_modules/lodash/_mapCacheSet.js +22 -0
- package/node_modules/lodash/_mapToArray.js +18 -0
- package/node_modules/lodash/_matchesStrictComparable.js +20 -0
- package/node_modules/lodash/_memoizeCapped.js +26 -0
- package/node_modules/lodash/_mergeData.js +90 -0
- package/node_modules/lodash/_metaMap.js +6 -0
- package/node_modules/lodash/_nativeCreate.js +6 -0
- package/node_modules/lodash/_nativeKeys.js +6 -0
- package/node_modules/lodash/_nativeKeysIn.js +20 -0
- package/node_modules/lodash/_nodeUtil.js +30 -0
- package/node_modules/lodash/_objectToString.js +22 -0
- package/node_modules/lodash/_overArg.js +15 -0
- package/node_modules/lodash/_overRest.js +36 -0
- package/node_modules/lodash/_parent.js +16 -0
- package/node_modules/lodash/_reEscape.js +4 -0
- package/node_modules/lodash/_reEvaluate.js +4 -0
- package/node_modules/lodash/_reInterpolate.js +4 -0
- package/node_modules/lodash/_realNames.js +4 -0
- package/node_modules/lodash/_reorder.js +29 -0
- package/node_modules/lodash/_replaceHolders.js +29 -0
- package/node_modules/lodash/_root.js +9 -0
- package/node_modules/lodash/_safeGet.js +21 -0
- package/node_modules/lodash/_setCacheAdd.js +19 -0
- package/node_modules/lodash/_setCacheHas.js +14 -0
- package/node_modules/lodash/_setData.js +20 -0
- package/node_modules/lodash/_setToArray.js +18 -0
- package/node_modules/lodash/_setToPairs.js +18 -0
- package/node_modules/lodash/_setToString.js +14 -0
- package/node_modules/lodash/_setWrapToString.js +21 -0
- package/node_modules/lodash/_shortOut.js +37 -0
- package/node_modules/lodash/_shuffleSelf.js +28 -0
- package/node_modules/lodash/_stackClear.js +15 -0
- package/node_modules/lodash/_stackDelete.js +18 -0
- package/node_modules/lodash/_stackGet.js +14 -0
- package/node_modules/lodash/_stackHas.js +14 -0
- package/node_modules/lodash/_stackSet.js +34 -0
- package/node_modules/lodash/_strictIndexOf.js +23 -0
- package/node_modules/lodash/_strictLastIndexOf.js +21 -0
- package/node_modules/lodash/_stringSize.js +18 -0
- package/node_modules/lodash/_stringToArray.js +18 -0
- package/node_modules/lodash/_stringToPath.js +27 -0
- package/node_modules/lodash/_toKey.js +21 -0
- package/node_modules/lodash/_toSource.js +26 -0
- package/node_modules/lodash/_trimmedEndIndex.js +19 -0
- package/node_modules/lodash/_unescapeHtmlChar.js +21 -0
- package/node_modules/lodash/_unicodeSize.js +44 -0
- package/node_modules/lodash/_unicodeToArray.js +40 -0
- package/node_modules/lodash/_unicodeWords.js +69 -0
- package/node_modules/lodash/_updateWrapDetails.js +46 -0
- package/node_modules/lodash/_wrapperClone.js +23 -0
- package/node_modules/lodash/add.js +22 -0
- package/node_modules/lodash/after.js +42 -0
- package/node_modules/lodash/array.js +67 -0
- package/node_modules/lodash/ary.js +29 -0
- package/node_modules/lodash/assign.js +58 -0
- package/node_modules/lodash/assignIn.js +40 -0
- package/node_modules/lodash/assignInWith.js +38 -0
- package/node_modules/lodash/assignWith.js +37 -0
- package/node_modules/lodash/at.js +23 -0
- package/node_modules/lodash/attempt.js +35 -0
- package/node_modules/lodash/before.js +40 -0
- package/node_modules/lodash/bind.js +57 -0
- package/node_modules/lodash/bindAll.js +41 -0
- package/node_modules/lodash/bindKey.js +68 -0
- package/node_modules/lodash/camelCase.js +29 -0
- package/node_modules/lodash/capitalize.js +23 -0
- package/node_modules/lodash/castArray.js +44 -0
- package/node_modules/lodash/ceil.js +26 -0
- package/node_modules/lodash/chain.js +38 -0
- package/node_modules/lodash/chunk.js +50 -0
- package/node_modules/lodash/clamp.js +39 -0
- package/node_modules/lodash/clone.js +36 -0
- package/node_modules/lodash/cloneDeep.js +29 -0
- package/node_modules/lodash/cloneDeepWith.js +40 -0
- package/node_modules/lodash/cloneWith.js +42 -0
- package/node_modules/lodash/collection.js +30 -0
- package/node_modules/lodash/commit.js +33 -0
- package/node_modules/lodash/compact.js +31 -0
- package/node_modules/lodash/concat.js +43 -0
- package/node_modules/lodash/cond.js +60 -0
- package/node_modules/lodash/conforms.js +35 -0
- package/node_modules/lodash/conformsTo.js +32 -0
- package/node_modules/lodash/constant.js +26 -0
- package/node_modules/lodash/core.js +3877 -0
- package/node_modules/lodash/core.min.js +30 -0
- package/node_modules/lodash/countBy.js +40 -0
- package/node_modules/lodash/create.js +43 -0
- package/node_modules/lodash/curry.js +57 -0
- package/node_modules/lodash/curryRight.js +54 -0
- package/node_modules/lodash/date.js +3 -0
- package/node_modules/lodash/debounce.js +191 -0
- package/node_modules/lodash/deburr.js +45 -0
- package/node_modules/lodash/defaultTo.js +25 -0
- package/node_modules/lodash/defaults.js +64 -0
- package/node_modules/lodash/defaultsDeep.js +30 -0
- package/node_modules/lodash/defer.js +26 -0
- package/node_modules/lodash/delay.js +28 -0
- package/node_modules/lodash/difference.js +33 -0
- package/node_modules/lodash/differenceBy.js +44 -0
- package/node_modules/lodash/differenceWith.js +40 -0
- package/node_modules/lodash/divide.js +22 -0
- package/node_modules/lodash/drop.js +38 -0
- package/node_modules/lodash/dropRight.js +39 -0
- package/node_modules/lodash/dropRightWhile.js +45 -0
- package/node_modules/lodash/dropWhile.js +45 -0
- package/node_modules/lodash/each.js +1 -0
- package/node_modules/lodash/eachRight.js +1 -0
- package/node_modules/lodash/endsWith.js +43 -0
- package/node_modules/lodash/entries.js +1 -0
- package/node_modules/lodash/entriesIn.js +1 -0
- package/node_modules/lodash/eq.js +37 -0
- package/node_modules/lodash/escape.js +43 -0
- package/node_modules/lodash/escapeRegExp.js +32 -0
- package/node_modules/lodash/every.js +56 -0
- package/node_modules/lodash/extend.js +1 -0
- package/node_modules/lodash/extendWith.js +1 -0
- package/node_modules/lodash/fill.js +45 -0
- package/node_modules/lodash/filter.js +52 -0
- package/node_modules/lodash/find.js +42 -0
- package/node_modules/lodash/findIndex.js +55 -0
- package/node_modules/lodash/findKey.js +44 -0
- package/node_modules/lodash/findLast.js +25 -0
- package/node_modules/lodash/findLastIndex.js +59 -0
- package/node_modules/lodash/findLastKey.js +44 -0
- package/node_modules/lodash/first.js +1 -0
- package/node_modules/lodash/flatMap.js +29 -0
- package/node_modules/lodash/flatMapDeep.js +31 -0
- package/node_modules/lodash/flatMapDepth.js +31 -0
- package/node_modules/lodash/flatten.js +22 -0
- package/node_modules/lodash/flattenDeep.js +25 -0
- package/node_modules/lodash/flattenDepth.js +33 -0
- package/node_modules/lodash/flip.js +28 -0
- package/node_modules/lodash/floor.js +26 -0
- package/node_modules/lodash/flow.js +27 -0
- package/node_modules/lodash/flowRight.js +26 -0
- package/node_modules/lodash/forEach.js +41 -0
- package/node_modules/lodash/forEachRight.js +31 -0
- package/node_modules/lodash/forIn.js +39 -0
- package/node_modules/lodash/forInRight.js +37 -0
- package/node_modules/lodash/forOwn.js +36 -0
- package/node_modules/lodash/forOwnRight.js +34 -0
- package/node_modules/lodash/fp/F.js +1 -0
- package/node_modules/lodash/fp/T.js +1 -0
- package/node_modules/lodash/fp/__.js +1 -0
- package/node_modules/lodash/fp/_baseConvert.js +569 -0
- package/node_modules/lodash/fp/_convertBrowser.js +18 -0
- package/node_modules/lodash/fp/_falseOptions.js +7 -0
- package/node_modules/lodash/fp/_mapping.js +358 -0
- package/node_modules/lodash/fp/_util.js +16 -0
- package/node_modules/lodash/fp/add.js +5 -0
- package/node_modules/lodash/fp/after.js +5 -0
- package/node_modules/lodash/fp/all.js +1 -0
- package/node_modules/lodash/fp/allPass.js +1 -0
- package/node_modules/lodash/fp/always.js +1 -0
- package/node_modules/lodash/fp/any.js +1 -0
- package/node_modules/lodash/fp/anyPass.js +1 -0
- package/node_modules/lodash/fp/apply.js +1 -0
- package/node_modules/lodash/fp/array.js +2 -0
- package/node_modules/lodash/fp/ary.js +5 -0
- package/node_modules/lodash/fp/assign.js +5 -0
- package/node_modules/lodash/fp/assignAll.js +5 -0
- package/node_modules/lodash/fp/assignAllWith.js +5 -0
- package/node_modules/lodash/fp/assignIn.js +5 -0
- package/node_modules/lodash/fp/assignInAll.js +5 -0
- package/node_modules/lodash/fp/assignInAllWith.js +5 -0
- package/node_modules/lodash/fp/assignInWith.js +5 -0
- package/node_modules/lodash/fp/assignWith.js +5 -0
- package/node_modules/lodash/fp/assoc.js +1 -0
- package/node_modules/lodash/fp/assocPath.js +1 -0
- package/node_modules/lodash/fp/at.js +5 -0
- package/node_modules/lodash/fp/attempt.js +5 -0
- package/node_modules/lodash/fp/before.js +5 -0
- package/node_modules/lodash/fp/bind.js +5 -0
- package/node_modules/lodash/fp/bindAll.js +5 -0
- package/node_modules/lodash/fp/bindKey.js +5 -0
- package/node_modules/lodash/fp/camelCase.js +5 -0
- package/node_modules/lodash/fp/capitalize.js +5 -0
- package/node_modules/lodash/fp/castArray.js +5 -0
- package/node_modules/lodash/fp/ceil.js +5 -0
- package/node_modules/lodash/fp/chain.js +5 -0
- package/node_modules/lodash/fp/chunk.js +5 -0
- package/node_modules/lodash/fp/clamp.js +5 -0
- package/node_modules/lodash/fp/clone.js +5 -0
- package/node_modules/lodash/fp/cloneDeep.js +5 -0
- package/node_modules/lodash/fp/cloneDeepWith.js +5 -0
- package/node_modules/lodash/fp/cloneWith.js +5 -0
- package/node_modules/lodash/fp/collection.js +2 -0
- package/node_modules/lodash/fp/commit.js +5 -0
- package/node_modules/lodash/fp/compact.js +5 -0
- package/node_modules/lodash/fp/complement.js +1 -0
- package/node_modules/lodash/fp/compose.js +1 -0
- package/node_modules/lodash/fp/concat.js +5 -0
- package/node_modules/lodash/fp/cond.js +5 -0
- package/node_modules/lodash/fp/conforms.js +1 -0
- package/node_modules/lodash/fp/conformsTo.js +5 -0
- package/node_modules/lodash/fp/constant.js +5 -0
- package/node_modules/lodash/fp/contains.js +1 -0
- package/node_modules/lodash/fp/convert.js +18 -0
- package/node_modules/lodash/fp/countBy.js +5 -0
- package/node_modules/lodash/fp/create.js +5 -0
- package/node_modules/lodash/fp/curry.js +5 -0
- package/node_modules/lodash/fp/curryN.js +5 -0
- package/node_modules/lodash/fp/curryRight.js +5 -0
- package/node_modules/lodash/fp/curryRightN.js +5 -0
- package/node_modules/lodash/fp/date.js +2 -0
- package/node_modules/lodash/fp/debounce.js +5 -0
- package/node_modules/lodash/fp/deburr.js +5 -0
- package/node_modules/lodash/fp/defaultTo.js +5 -0
- package/node_modules/lodash/fp/defaults.js +5 -0
- package/node_modules/lodash/fp/defaultsAll.js +5 -0
- package/node_modules/lodash/fp/defaultsDeep.js +5 -0
- package/node_modules/lodash/fp/defaultsDeepAll.js +5 -0
- package/node_modules/lodash/fp/defer.js +5 -0
- package/node_modules/lodash/fp/delay.js +5 -0
- package/node_modules/lodash/fp/difference.js +5 -0
- package/node_modules/lodash/fp/differenceBy.js +5 -0
- package/node_modules/lodash/fp/differenceWith.js +5 -0
- package/node_modules/lodash/fp/dissoc.js +1 -0
- package/node_modules/lodash/fp/dissocPath.js +1 -0
- package/node_modules/lodash/fp/divide.js +5 -0
- package/node_modules/lodash/fp/drop.js +5 -0
- package/node_modules/lodash/fp/dropLast.js +1 -0
- package/node_modules/lodash/fp/dropLastWhile.js +1 -0
- package/node_modules/lodash/fp/dropRight.js +5 -0
- package/node_modules/lodash/fp/dropRightWhile.js +5 -0
- package/node_modules/lodash/fp/dropWhile.js +5 -0
- package/node_modules/lodash/fp/each.js +1 -0
- package/node_modules/lodash/fp/eachRight.js +1 -0
- package/node_modules/lodash/fp/endsWith.js +5 -0
- package/node_modules/lodash/fp/entries.js +1 -0
- package/node_modules/lodash/fp/entriesIn.js +1 -0
- package/node_modules/lodash/fp/eq.js +5 -0
- package/node_modules/lodash/fp/equals.js +1 -0
- package/node_modules/lodash/fp/escape.js +5 -0
- package/node_modules/lodash/fp/escapeRegExp.js +5 -0
- package/node_modules/lodash/fp/every.js +5 -0
- package/node_modules/lodash/fp/extend.js +1 -0
- package/node_modules/lodash/fp/extendAll.js +1 -0
- package/node_modules/lodash/fp/extendAllWith.js +1 -0
- package/node_modules/lodash/fp/extendWith.js +1 -0
- package/node_modules/lodash/fp/fill.js +5 -0
- package/node_modules/lodash/fp/filter.js +5 -0
- package/node_modules/lodash/fp/find.js +5 -0
- package/node_modules/lodash/fp/findFrom.js +5 -0
- package/node_modules/lodash/fp/findIndex.js +5 -0
- package/node_modules/lodash/fp/findIndexFrom.js +5 -0
- package/node_modules/lodash/fp/findKey.js +5 -0
- package/node_modules/lodash/fp/findLast.js +5 -0
- package/node_modules/lodash/fp/findLastFrom.js +5 -0
- package/node_modules/lodash/fp/findLastIndex.js +5 -0
- package/node_modules/lodash/fp/findLastIndexFrom.js +5 -0
- package/node_modules/lodash/fp/findLastKey.js +5 -0
- package/node_modules/lodash/fp/first.js +1 -0
- package/node_modules/lodash/fp/flatMap.js +5 -0
- package/node_modules/lodash/fp/flatMapDeep.js +5 -0
- package/node_modules/lodash/fp/flatMapDepth.js +5 -0
- package/node_modules/lodash/fp/flatten.js +5 -0
- package/node_modules/lodash/fp/flattenDeep.js +5 -0
- package/node_modules/lodash/fp/flattenDepth.js +5 -0
- package/node_modules/lodash/fp/flip.js +5 -0
- package/node_modules/lodash/fp/floor.js +5 -0
- package/node_modules/lodash/fp/flow.js +5 -0
- package/node_modules/lodash/fp/flowRight.js +5 -0
- package/node_modules/lodash/fp/forEach.js +5 -0
- package/node_modules/lodash/fp/forEachRight.js +5 -0
- package/node_modules/lodash/fp/forIn.js +5 -0
- package/node_modules/lodash/fp/forInRight.js +5 -0
- package/node_modules/lodash/fp/forOwn.js +5 -0
- package/node_modules/lodash/fp/forOwnRight.js +5 -0
- package/node_modules/lodash/fp/fromPairs.js +5 -0
- package/node_modules/lodash/fp/function.js +2 -0
- package/node_modules/lodash/fp/functions.js +5 -0
- package/node_modules/lodash/fp/functionsIn.js +5 -0
- package/node_modules/lodash/fp/get.js +5 -0
- package/node_modules/lodash/fp/getOr.js +5 -0
- package/node_modules/lodash/fp/groupBy.js +5 -0
- package/node_modules/lodash/fp/gt.js +5 -0
- package/node_modules/lodash/fp/gte.js +5 -0
- package/node_modules/lodash/fp/has.js +5 -0
- package/node_modules/lodash/fp/hasIn.js +5 -0
- package/node_modules/lodash/fp/head.js +5 -0
- package/node_modules/lodash/fp/identical.js +1 -0
- package/node_modules/lodash/fp/identity.js +5 -0
- package/node_modules/lodash/fp/inRange.js +5 -0
- package/node_modules/lodash/fp/includes.js +5 -0
- package/node_modules/lodash/fp/includesFrom.js +5 -0
- package/node_modules/lodash/fp/indexBy.js +1 -0
- package/node_modules/lodash/fp/indexOf.js +5 -0
- package/node_modules/lodash/fp/indexOfFrom.js +5 -0
- package/node_modules/lodash/fp/init.js +1 -0
- package/node_modules/lodash/fp/initial.js +5 -0
- package/node_modules/lodash/fp/intersection.js +5 -0
- package/node_modules/lodash/fp/intersectionBy.js +5 -0
- package/node_modules/lodash/fp/intersectionWith.js +5 -0
- package/node_modules/lodash/fp/invert.js +5 -0
- package/node_modules/lodash/fp/invertBy.js +5 -0
- package/node_modules/lodash/fp/invertObj.js +1 -0
- package/node_modules/lodash/fp/invoke.js +5 -0
- package/node_modules/lodash/fp/invokeArgs.js +5 -0
- package/node_modules/lodash/fp/invokeArgsMap.js +5 -0
- package/node_modules/lodash/fp/invokeMap.js +5 -0
- package/node_modules/lodash/fp/isArguments.js +5 -0
- package/node_modules/lodash/fp/isArray.js +5 -0
- package/node_modules/lodash/fp/isArrayBuffer.js +5 -0
- package/node_modules/lodash/fp/isArrayLike.js +5 -0
- package/node_modules/lodash/fp/isArrayLikeObject.js +5 -0
- package/node_modules/lodash/fp/isBoolean.js +5 -0
- package/node_modules/lodash/fp/isBuffer.js +5 -0
- package/node_modules/lodash/fp/isDate.js +5 -0
- package/node_modules/lodash/fp/isElement.js +5 -0
- package/node_modules/lodash/fp/isEmpty.js +5 -0
- package/node_modules/lodash/fp/isEqual.js +5 -0
- package/node_modules/lodash/fp/isEqualWith.js +5 -0
- package/node_modules/lodash/fp/isError.js +5 -0
- package/node_modules/lodash/fp/isFinite.js +5 -0
- package/node_modules/lodash/fp/isFunction.js +5 -0
- package/node_modules/lodash/fp/isInteger.js +5 -0
- package/node_modules/lodash/fp/isLength.js +5 -0
- package/node_modules/lodash/fp/isMap.js +5 -0
- package/node_modules/lodash/fp/isMatch.js +5 -0
- package/node_modules/lodash/fp/isMatchWith.js +5 -0
- package/node_modules/lodash/fp/isNaN.js +5 -0
- package/node_modules/lodash/fp/isNative.js +5 -0
- package/node_modules/lodash/fp/isNil.js +5 -0
- package/node_modules/lodash/fp/isNull.js +5 -0
- package/node_modules/lodash/fp/isNumber.js +5 -0
- package/node_modules/lodash/fp/isObject.js +5 -0
- package/node_modules/lodash/fp/isObjectLike.js +5 -0
- package/node_modules/lodash/fp/isPlainObject.js +5 -0
- package/node_modules/lodash/fp/isRegExp.js +5 -0
- package/node_modules/lodash/fp/isSafeInteger.js +5 -0
- package/node_modules/lodash/fp/isSet.js +5 -0
- package/node_modules/lodash/fp/isString.js +5 -0
- package/node_modules/lodash/fp/isSymbol.js +5 -0
- package/node_modules/lodash/fp/isTypedArray.js +5 -0
- package/node_modules/lodash/fp/isUndefined.js +5 -0
- package/node_modules/lodash/fp/isWeakMap.js +5 -0
- package/node_modules/lodash/fp/isWeakSet.js +5 -0
- package/node_modules/lodash/fp/iteratee.js +5 -0
- package/node_modules/lodash/fp/join.js +5 -0
- package/node_modules/lodash/fp/juxt.js +1 -0
- package/node_modules/lodash/fp/kebabCase.js +5 -0
- package/node_modules/lodash/fp/keyBy.js +5 -0
- package/node_modules/lodash/fp/keys.js +5 -0
- package/node_modules/lodash/fp/keysIn.js +5 -0
- package/node_modules/lodash/fp/lang.js +2 -0
- package/node_modules/lodash/fp/last.js +5 -0
- package/node_modules/lodash/fp/lastIndexOf.js +5 -0
- package/node_modules/lodash/fp/lastIndexOfFrom.js +5 -0
- package/node_modules/lodash/fp/lowerCase.js +5 -0
- package/node_modules/lodash/fp/lowerFirst.js +5 -0
- package/node_modules/lodash/fp/lt.js +5 -0
- package/node_modules/lodash/fp/lte.js +5 -0
- package/node_modules/lodash/fp/map.js +5 -0
- package/node_modules/lodash/fp/mapKeys.js +5 -0
- package/node_modules/lodash/fp/mapValues.js +5 -0
- package/node_modules/lodash/fp/matches.js +1 -0
- package/node_modules/lodash/fp/matchesProperty.js +5 -0
- package/node_modules/lodash/fp/math.js +2 -0
- package/node_modules/lodash/fp/max.js +5 -0
- package/node_modules/lodash/fp/maxBy.js +5 -0
- package/node_modules/lodash/fp/mean.js +5 -0
- package/node_modules/lodash/fp/meanBy.js +5 -0
- package/node_modules/lodash/fp/memoize.js +5 -0
- package/node_modules/lodash/fp/merge.js +5 -0
- package/node_modules/lodash/fp/mergeAll.js +5 -0
- package/node_modules/lodash/fp/mergeAllWith.js +5 -0
- package/node_modules/lodash/fp/mergeWith.js +5 -0
- package/node_modules/lodash/fp/method.js +5 -0
- package/node_modules/lodash/fp/methodOf.js +5 -0
- package/node_modules/lodash/fp/min.js +5 -0
- package/node_modules/lodash/fp/minBy.js +5 -0
- package/node_modules/lodash/fp/mixin.js +5 -0
- package/node_modules/lodash/fp/multiply.js +5 -0
- package/node_modules/lodash/fp/nAry.js +1 -0
- package/node_modules/lodash/fp/negate.js +5 -0
- package/node_modules/lodash/fp/next.js +5 -0
- package/node_modules/lodash/fp/noop.js +5 -0
- package/node_modules/lodash/fp/now.js +5 -0
- package/node_modules/lodash/fp/nth.js +5 -0
- package/node_modules/lodash/fp/nthArg.js +5 -0
- package/node_modules/lodash/fp/number.js +2 -0
- package/node_modules/lodash/fp/object.js +2 -0
- package/node_modules/lodash/fp/omit.js +5 -0
- package/node_modules/lodash/fp/omitAll.js +1 -0
- package/node_modules/lodash/fp/omitBy.js +5 -0
- package/node_modules/lodash/fp/once.js +5 -0
- package/node_modules/lodash/fp/orderBy.js +5 -0
- package/node_modules/lodash/fp/over.js +5 -0
- package/node_modules/lodash/fp/overArgs.js +5 -0
- package/node_modules/lodash/fp/overEvery.js +5 -0
- package/node_modules/lodash/fp/overSome.js +5 -0
- package/node_modules/lodash/fp/pad.js +5 -0
- package/node_modules/lodash/fp/padChars.js +5 -0
- package/node_modules/lodash/fp/padCharsEnd.js +5 -0
- package/node_modules/lodash/fp/padCharsStart.js +5 -0
- package/node_modules/lodash/fp/padEnd.js +5 -0
- package/node_modules/lodash/fp/padStart.js +5 -0
- package/node_modules/lodash/fp/parseInt.js +5 -0
- package/node_modules/lodash/fp/partial.js +5 -0
- package/node_modules/lodash/fp/partialRight.js +5 -0
- package/node_modules/lodash/fp/partition.js +5 -0
- package/node_modules/lodash/fp/path.js +1 -0
- package/node_modules/lodash/fp/pathEq.js +1 -0
- package/node_modules/lodash/fp/pathOr.js +1 -0
- package/node_modules/lodash/fp/paths.js +1 -0
- package/node_modules/lodash/fp/pick.js +5 -0
- package/node_modules/lodash/fp/pickAll.js +1 -0
- package/node_modules/lodash/fp/pickBy.js +5 -0
- package/node_modules/lodash/fp/pipe.js +1 -0
- package/node_modules/lodash/fp/placeholder.js +6 -0
- package/node_modules/lodash/fp/plant.js +5 -0
- package/node_modules/lodash/fp/pluck.js +1 -0
- package/node_modules/lodash/fp/prop.js +1 -0
- package/node_modules/lodash/fp/propEq.js +1 -0
- package/node_modules/lodash/fp/propOr.js +1 -0
- package/node_modules/lodash/fp/property.js +1 -0
- package/node_modules/lodash/fp/propertyOf.js +5 -0
- package/node_modules/lodash/fp/props.js +1 -0
- package/node_modules/lodash/fp/pull.js +5 -0
- package/node_modules/lodash/fp/pullAll.js +5 -0
- package/node_modules/lodash/fp/pullAllBy.js +5 -0
- package/node_modules/lodash/fp/pullAllWith.js +5 -0
- package/node_modules/lodash/fp/pullAt.js +5 -0
- package/node_modules/lodash/fp/random.js +5 -0
- package/node_modules/lodash/fp/range.js +5 -0
- package/node_modules/lodash/fp/rangeRight.js +5 -0
- package/node_modules/lodash/fp/rangeStep.js +5 -0
- package/node_modules/lodash/fp/rangeStepRight.js +5 -0
- package/node_modules/lodash/fp/rearg.js +5 -0
- package/node_modules/lodash/fp/reduce.js +5 -0
- package/node_modules/lodash/fp/reduceRight.js +5 -0
- package/node_modules/lodash/fp/reject.js +5 -0
- package/node_modules/lodash/fp/remove.js +5 -0
- package/node_modules/lodash/fp/repeat.js +5 -0
- package/node_modules/lodash/fp/replace.js +5 -0
- package/node_modules/lodash/fp/rest.js +5 -0
- package/node_modules/lodash/fp/restFrom.js +5 -0
- package/node_modules/lodash/fp/result.js +5 -0
- package/node_modules/lodash/fp/reverse.js +5 -0
- package/node_modules/lodash/fp/round.js +5 -0
- package/node_modules/lodash/fp/sample.js +5 -0
- package/node_modules/lodash/fp/sampleSize.js +5 -0
- package/node_modules/lodash/fp/seq.js +2 -0
- package/node_modules/lodash/fp/set.js +5 -0
- package/node_modules/lodash/fp/setWith.js +5 -0
- package/node_modules/lodash/fp/shuffle.js +5 -0
- package/node_modules/lodash/fp/size.js +5 -0
- package/node_modules/lodash/fp/slice.js +5 -0
- package/node_modules/lodash/fp/snakeCase.js +5 -0
- package/node_modules/lodash/fp/some.js +5 -0
- package/node_modules/lodash/fp/sortBy.js +5 -0
- package/node_modules/lodash/fp/sortedIndex.js +5 -0
- package/node_modules/lodash/fp/sortedIndexBy.js +5 -0
- package/node_modules/lodash/fp/sortedIndexOf.js +5 -0
- package/node_modules/lodash/fp/sortedLastIndex.js +5 -0
- package/node_modules/lodash/fp/sortedLastIndexBy.js +5 -0
- package/node_modules/lodash/fp/sortedLastIndexOf.js +5 -0
- package/node_modules/lodash/fp/sortedUniq.js +5 -0
- package/node_modules/lodash/fp/sortedUniqBy.js +5 -0
- package/node_modules/lodash/fp/split.js +5 -0
- package/node_modules/lodash/fp/spread.js +5 -0
- package/node_modules/lodash/fp/spreadFrom.js +5 -0
- package/node_modules/lodash/fp/startCase.js +5 -0
- package/node_modules/lodash/fp/startsWith.js +5 -0
- package/node_modules/lodash/fp/string.js +2 -0
- package/node_modules/lodash/fp/stubArray.js +5 -0
- package/node_modules/lodash/fp/stubFalse.js +5 -0
- package/node_modules/lodash/fp/stubObject.js +5 -0
- package/node_modules/lodash/fp/stubString.js +5 -0
- package/node_modules/lodash/fp/stubTrue.js +5 -0
- package/node_modules/lodash/fp/subtract.js +5 -0
- package/node_modules/lodash/fp/sum.js +5 -0
- package/node_modules/lodash/fp/sumBy.js +5 -0
- package/node_modules/lodash/fp/symmetricDifference.js +1 -0
- package/node_modules/lodash/fp/symmetricDifferenceBy.js +1 -0
- package/node_modules/lodash/fp/symmetricDifferenceWith.js +1 -0
- package/node_modules/lodash/fp/tail.js +5 -0
- package/node_modules/lodash/fp/take.js +5 -0
- package/node_modules/lodash/fp/takeLast.js +1 -0
- package/node_modules/lodash/fp/takeLastWhile.js +1 -0
- package/node_modules/lodash/fp/takeRight.js +5 -0
- package/node_modules/lodash/fp/takeRightWhile.js +5 -0
- package/node_modules/lodash/fp/takeWhile.js +5 -0
- package/node_modules/lodash/fp/tap.js +5 -0
- package/node_modules/lodash/fp/template.js +5 -0
- package/node_modules/lodash/fp/templateSettings.js +5 -0
- package/node_modules/lodash/fp/throttle.js +5 -0
- package/node_modules/lodash/fp/thru.js +5 -0
- package/node_modules/lodash/fp/times.js +5 -0
- package/node_modules/lodash/fp/toArray.js +5 -0
- package/node_modules/lodash/fp/toFinite.js +5 -0
- package/node_modules/lodash/fp/toInteger.js +5 -0
- package/node_modules/lodash/fp/toIterator.js +5 -0
- package/node_modules/lodash/fp/toJSON.js +5 -0
- package/node_modules/lodash/fp/toLength.js +5 -0
- package/node_modules/lodash/fp/toLower.js +5 -0
- package/node_modules/lodash/fp/toNumber.js +5 -0
- package/node_modules/lodash/fp/toPairs.js +5 -0
- package/node_modules/lodash/fp/toPairsIn.js +5 -0
- package/node_modules/lodash/fp/toPath.js +5 -0
- package/node_modules/lodash/fp/toPlainObject.js +5 -0
- package/node_modules/lodash/fp/toSafeInteger.js +5 -0
- package/node_modules/lodash/fp/toString.js +5 -0
- package/node_modules/lodash/fp/toUpper.js +5 -0
- package/node_modules/lodash/fp/transform.js +5 -0
- package/node_modules/lodash/fp/trim.js +5 -0
- package/node_modules/lodash/fp/trimChars.js +5 -0
- package/node_modules/lodash/fp/trimCharsEnd.js +5 -0
- package/node_modules/lodash/fp/trimCharsStart.js +5 -0
- package/node_modules/lodash/fp/trimEnd.js +5 -0
- package/node_modules/lodash/fp/trimStart.js +5 -0
- package/node_modules/lodash/fp/truncate.js +5 -0
- package/node_modules/lodash/fp/unapply.js +1 -0
- package/node_modules/lodash/fp/unary.js +5 -0
- package/node_modules/lodash/fp/unescape.js +5 -0
- package/node_modules/lodash/fp/union.js +5 -0
- package/node_modules/lodash/fp/unionBy.js +5 -0
- package/node_modules/lodash/fp/unionWith.js +5 -0
- package/node_modules/lodash/fp/uniq.js +5 -0
- package/node_modules/lodash/fp/uniqBy.js +5 -0
- package/node_modules/lodash/fp/uniqWith.js +5 -0
- package/node_modules/lodash/fp/uniqueId.js +5 -0
- package/node_modules/lodash/fp/unnest.js +1 -0
- package/node_modules/lodash/fp/unset.js +5 -0
- package/node_modules/lodash/fp/unzip.js +5 -0
- package/node_modules/lodash/fp/unzipWith.js +5 -0
- package/node_modules/lodash/fp/update.js +5 -0
- package/node_modules/lodash/fp/updateWith.js +5 -0
- package/node_modules/lodash/fp/upperCase.js +5 -0
- package/node_modules/lodash/fp/upperFirst.js +5 -0
- package/node_modules/lodash/fp/useWith.js +1 -0
- package/node_modules/lodash/fp/util.js +2 -0
- package/node_modules/lodash/fp/value.js +5 -0
- package/node_modules/lodash/fp/valueOf.js +5 -0
- package/node_modules/lodash/fp/values.js +5 -0
- package/node_modules/lodash/fp/valuesIn.js +5 -0
- package/node_modules/lodash/fp/where.js +1 -0
- package/node_modules/lodash/fp/whereEq.js +1 -0
- package/node_modules/lodash/fp/without.js +5 -0
- package/node_modules/lodash/fp/words.js +5 -0
- package/node_modules/lodash/fp/wrap.js +5 -0
- package/node_modules/lodash/fp/wrapperAt.js +5 -0
- package/node_modules/lodash/fp/wrapperChain.js +5 -0
- package/node_modules/lodash/fp/wrapperLodash.js +5 -0
- package/node_modules/lodash/fp/wrapperReverse.js +5 -0
- package/node_modules/lodash/fp/wrapperValue.js +5 -0
- package/node_modules/lodash/fp/xor.js +5 -0
- package/node_modules/lodash/fp/xorBy.js +5 -0
- package/node_modules/lodash/fp/xorWith.js +5 -0
- package/node_modules/lodash/fp/zip.js +5 -0
- package/node_modules/lodash/fp/zipAll.js +5 -0
- package/node_modules/lodash/fp/zipObj.js +1 -0
- package/node_modules/lodash/fp/zipObject.js +5 -0
- package/node_modules/lodash/fp/zipObjectDeep.js +5 -0
- package/node_modules/lodash/fp/zipWith.js +5 -0
- package/node_modules/lodash/fp.js +2 -0
- package/node_modules/lodash/fromPairs.js +30 -0
- package/node_modules/lodash/function.js +25 -0
- package/node_modules/lodash/functions.js +31 -0
- package/node_modules/lodash/functionsIn.js +31 -0
- package/node_modules/lodash/get.js +33 -0
- package/node_modules/lodash/groupBy.js +41 -0
- package/node_modules/lodash/gt.js +29 -0
- package/node_modules/lodash/gte.js +30 -0
- package/node_modules/lodash/has.js +35 -0
- package/node_modules/lodash/hasIn.js +34 -0
- package/node_modules/lodash/head.js +23 -0
- package/node_modules/lodash/identity.js +21 -0
- package/node_modules/lodash/inRange.js +55 -0
- package/node_modules/lodash/includes.js +53 -0
- package/node_modules/lodash/index.js +1 -0
- package/node_modules/lodash/indexOf.js +42 -0
- package/node_modules/lodash/initial.js +22 -0
- package/node_modules/lodash/intersection.js +30 -0
- package/node_modules/lodash/intersectionBy.js +45 -0
- package/node_modules/lodash/intersectionWith.js +41 -0
- package/node_modules/lodash/invert.js +42 -0
- package/node_modules/lodash/invertBy.js +56 -0
- package/node_modules/lodash/invoke.js +24 -0
- package/node_modules/lodash/invokeMap.js +41 -0
- package/node_modules/lodash/isArguments.js +36 -0
- package/node_modules/lodash/isArray.js +26 -0
- package/node_modules/lodash/isArrayBuffer.js +27 -0
- package/node_modules/lodash/isArrayLike.js +33 -0
- package/node_modules/lodash/isArrayLikeObject.js +33 -0
- package/node_modules/lodash/isBoolean.js +29 -0
- package/node_modules/lodash/isBuffer.js +38 -0
- package/node_modules/lodash/isDate.js +27 -0
- package/node_modules/lodash/isElement.js +25 -0
- package/node_modules/lodash/isEmpty.js +77 -0
- package/node_modules/lodash/isEqual.js +35 -0
- package/node_modules/lodash/isEqualWith.js +41 -0
- package/node_modules/lodash/isError.js +36 -0
- package/node_modules/lodash/isFinite.js +36 -0
- package/node_modules/lodash/isFunction.js +37 -0
- package/node_modules/lodash/isInteger.js +33 -0
- package/node_modules/lodash/isLength.js +35 -0
- package/node_modules/lodash/isMap.js +27 -0
- package/node_modules/lodash/isMatch.js +36 -0
- package/node_modules/lodash/isMatchWith.js +41 -0
- package/node_modules/lodash/isNaN.js +38 -0
- package/node_modules/lodash/isNative.js +40 -0
- package/node_modules/lodash/isNil.js +25 -0
- package/node_modules/lodash/isNull.js +22 -0
- package/node_modules/lodash/isNumber.js +38 -0
- package/node_modules/lodash/isObject.js +31 -0
- package/node_modules/lodash/isObjectLike.js +29 -0
- package/node_modules/lodash/isPlainObject.js +62 -0
- package/node_modules/lodash/isRegExp.js +27 -0
- package/node_modules/lodash/isSafeInteger.js +37 -0
- package/node_modules/lodash/isSet.js +27 -0
- package/node_modules/lodash/isString.js +30 -0
- package/node_modules/lodash/isSymbol.js +29 -0
- package/node_modules/lodash/isTypedArray.js +27 -0
- package/node_modules/lodash/isUndefined.js +22 -0
- package/node_modules/lodash/isWeakMap.js +28 -0
- package/node_modules/lodash/isWeakSet.js +28 -0
- package/node_modules/lodash/iteratee.js +53 -0
- package/node_modules/lodash/join.js +26 -0
- package/node_modules/lodash/kebabCase.js +28 -0
- package/node_modules/lodash/keyBy.js +36 -0
- package/node_modules/lodash/keys.js +37 -0
- package/node_modules/lodash/keysIn.js +32 -0
- package/node_modules/lodash/lang.js +58 -0
- package/node_modules/lodash/last.js +20 -0
- package/node_modules/lodash/lastIndexOf.js +46 -0
- package/node_modules/lodash/lodash.js +17259 -0
- package/node_modules/lodash/lodash.min.js +136 -0
- package/node_modules/lodash/lowerCase.js +27 -0
- package/node_modules/lodash/lowerFirst.js +22 -0
- package/node_modules/lodash/lt.js +29 -0
- package/node_modules/lodash/lte.js +30 -0
- package/node_modules/lodash/map.js +53 -0
- package/node_modules/lodash/mapKeys.js +36 -0
- package/node_modules/lodash/mapValues.js +43 -0
- package/node_modules/lodash/matches.js +46 -0
- package/node_modules/lodash/matchesProperty.js +44 -0
- package/node_modules/lodash/math.js +17 -0
- package/node_modules/lodash/max.js +29 -0
- package/node_modules/lodash/maxBy.js +34 -0
- package/node_modules/lodash/mean.js +22 -0
- package/node_modules/lodash/meanBy.js +31 -0
- package/node_modules/lodash/memoize.js +73 -0
- package/node_modules/lodash/merge.js +39 -0
- package/node_modules/lodash/mergeWith.js +39 -0
- package/node_modules/lodash/method.js +34 -0
- package/node_modules/lodash/methodOf.js +33 -0
- package/node_modules/lodash/min.js +29 -0
- package/node_modules/lodash/minBy.js +34 -0
- package/node_modules/lodash/mixin.js +74 -0
- package/node_modules/lodash/multiply.js +22 -0
- package/node_modules/lodash/negate.js +40 -0
- package/node_modules/lodash/next.js +35 -0
- package/node_modules/lodash/noop.js +17 -0
- package/node_modules/lodash/now.js +23 -0
- package/node_modules/lodash/nth.js +29 -0
- package/node_modules/lodash/nthArg.js +32 -0
- package/node_modules/lodash/number.js +5 -0
- package/node_modules/lodash/object.js +49 -0
- package/node_modules/lodash/omit.js +57 -0
- package/node_modules/lodash/omitBy.js +29 -0
- package/node_modules/lodash/once.js +25 -0
- package/node_modules/lodash/orderBy.js +47 -0
- package/node_modules/lodash/over.js +24 -0
- package/node_modules/lodash/overArgs.js +61 -0
- package/node_modules/lodash/overEvery.js +34 -0
- package/node_modules/lodash/overSome.js +37 -0
- package/node_modules/lodash/package.json +19 -0
- package/node_modules/lodash/pad.js +49 -0
- package/node_modules/lodash/padEnd.js +39 -0
- package/node_modules/lodash/padStart.js +39 -0
- package/node_modules/lodash/parseInt.js +43 -0
- package/node_modules/lodash/partial.js +50 -0
- package/node_modules/lodash/partialRight.js +49 -0
- package/node_modules/lodash/partition.js +43 -0
- package/node_modules/lodash/pick.js +25 -0
- package/node_modules/lodash/pickBy.js +37 -0
- package/node_modules/lodash/plant.js +48 -0
- package/node_modules/lodash/property.js +32 -0
- package/node_modules/lodash/propertyOf.js +30 -0
- package/node_modules/lodash/pull.js +29 -0
- package/node_modules/lodash/pullAll.js +29 -0
- package/node_modules/lodash/pullAllBy.js +33 -0
- package/node_modules/lodash/pullAllWith.js +32 -0
- package/node_modules/lodash/pullAt.js +43 -0
- package/node_modules/lodash/random.js +91 -0
- package/node_modules/lodash/range.js +46 -0
- package/node_modules/lodash/rangeRight.js +41 -0
- package/node_modules/lodash/rearg.js +33 -0
- package/node_modules/lodash/reduce.js +51 -0
- package/node_modules/lodash/reduceRight.js +36 -0
- package/node_modules/lodash/reject.js +46 -0
- package/node_modules/lodash/remove.js +53 -0
- package/node_modules/lodash/repeat.js +37 -0
- package/node_modules/lodash/replace.js +29 -0
- package/node_modules/lodash/rest.js +40 -0
- package/node_modules/lodash/result.js +56 -0
- package/node_modules/lodash/reverse.js +34 -0
- package/node_modules/lodash/round.js +26 -0
- package/node_modules/lodash/sample.js +24 -0
- package/node_modules/lodash/sampleSize.js +37 -0
- package/node_modules/lodash/seq.js +16 -0
- package/node_modules/lodash/set.js +35 -0
- package/node_modules/lodash/setWith.js +32 -0
- package/node_modules/lodash/shuffle.js +25 -0
- package/node_modules/lodash/size.js +46 -0
- package/node_modules/lodash/slice.js +37 -0
- package/node_modules/lodash/snakeCase.js +28 -0
- package/node_modules/lodash/some.js +51 -0
- package/node_modules/lodash/sortBy.js +48 -0
- package/node_modules/lodash/sortedIndex.js +24 -0
- package/node_modules/lodash/sortedIndexBy.js +33 -0
- package/node_modules/lodash/sortedIndexOf.js +31 -0
- package/node_modules/lodash/sortedLastIndex.js +25 -0
- package/node_modules/lodash/sortedLastIndexBy.js +33 -0
- package/node_modules/lodash/sortedLastIndexOf.js +31 -0
- package/node_modules/lodash/sortedUniq.js +24 -0
- package/node_modules/lodash/sortedUniqBy.js +26 -0
- package/node_modules/lodash/split.js +52 -0
- package/node_modules/lodash/spread.js +63 -0
- package/node_modules/lodash/startCase.js +29 -0
- package/node_modules/lodash/startsWith.js +39 -0
- package/node_modules/lodash/string.js +33 -0
- package/node_modules/lodash/stubArray.js +23 -0
- package/node_modules/lodash/stubFalse.js +18 -0
- package/node_modules/lodash/stubObject.js +23 -0
- package/node_modules/lodash/stubString.js +18 -0
- package/node_modules/lodash/stubTrue.js +18 -0
- package/node_modules/lodash/subtract.js +22 -0
- package/node_modules/lodash/sum.js +24 -0
- package/node_modules/lodash/sumBy.js +33 -0
- package/node_modules/lodash/tail.js +22 -0
- package/node_modules/lodash/take.js +37 -0
- package/node_modules/lodash/takeRight.js +39 -0
- package/node_modules/lodash/takeRightWhile.js +45 -0
- package/node_modules/lodash/takeWhile.js +45 -0
- package/node_modules/lodash/tap.js +29 -0
- package/node_modules/lodash/template.js +284 -0
- package/node_modules/lodash/templateSettings.js +71 -0
- package/node_modules/lodash/throttle.js +69 -0
- package/node_modules/lodash/thru.js +28 -0
- package/node_modules/lodash/times.js +51 -0
- package/node_modules/lodash/toArray.js +58 -0
- package/node_modules/lodash/toFinite.js +42 -0
- package/node_modules/lodash/toInteger.js +36 -0
- package/node_modules/lodash/toIterator.js +23 -0
- package/node_modules/lodash/toJSON.js +1 -0
- package/node_modules/lodash/toLength.js +38 -0
- package/node_modules/lodash/toLower.js +28 -0
- package/node_modules/lodash/toNumber.js +64 -0
- package/node_modules/lodash/toPairs.js +30 -0
- package/node_modules/lodash/toPairsIn.js +30 -0
- package/node_modules/lodash/toPath.js +33 -0
- package/node_modules/lodash/toPlainObject.js +32 -0
- package/node_modules/lodash/toSafeInteger.js +37 -0
- package/node_modules/lodash/toString.js +28 -0
- package/node_modules/lodash/toUpper.js +28 -0
- package/node_modules/lodash/transform.js +65 -0
- package/node_modules/lodash/trim.js +47 -0
- package/node_modules/lodash/trimEnd.js +41 -0
- package/node_modules/lodash/trimStart.js +43 -0
- package/node_modules/lodash/truncate.js +111 -0
- package/node_modules/lodash/unary.js +22 -0
- package/node_modules/lodash/unescape.js +34 -0
- package/node_modules/lodash/union.js +26 -0
- package/node_modules/lodash/unionBy.js +39 -0
- package/node_modules/lodash/unionWith.js +34 -0
- package/node_modules/lodash/uniq.js +25 -0
- package/node_modules/lodash/uniqBy.js +31 -0
- package/node_modules/lodash/uniqWith.js +28 -0
- package/node_modules/lodash/uniqueId.js +28 -0
- package/node_modules/lodash/unset.js +34 -0
- package/node_modules/lodash/unzip.js +45 -0
- package/node_modules/lodash/unzipWith.js +39 -0
- package/node_modules/lodash/update.js +35 -0
- package/node_modules/lodash/updateWith.js +33 -0
- package/node_modules/lodash/upperCase.js +27 -0
- package/node_modules/lodash/upperFirst.js +22 -0
- package/node_modules/lodash/util.js +34 -0
- package/node_modules/lodash/value.js +1 -0
- package/node_modules/lodash/valueOf.js +1 -0
- package/node_modules/lodash/values.js +34 -0
- package/node_modules/lodash/valuesIn.js +32 -0
- package/node_modules/lodash/without.js +31 -0
- package/node_modules/lodash/words.js +35 -0
- package/node_modules/lodash/wrap.js +30 -0
- package/node_modules/lodash/wrapperAt.js +48 -0
- package/node_modules/lodash/wrapperChain.js +34 -0
- package/node_modules/lodash/wrapperLodash.js +147 -0
- package/node_modules/lodash/wrapperReverse.js +44 -0
- package/node_modules/lodash/wrapperValue.js +21 -0
- package/node_modules/lodash/xor.js +28 -0
- package/node_modules/lodash/xorBy.js +39 -0
- package/node_modules/lodash/xorWith.js +34 -0
- package/node_modules/lodash/zip.js +22 -0
- package/node_modules/lodash/zipObject.js +24 -0
- package/node_modules/lodash/zipObjectDeep.js +23 -0
- package/node_modules/lodash/zipWith.js +32 -0
- package/node_modules/mute-stream/LICENSE +15 -0
- package/node_modules/mute-stream/README.md +68 -0
- package/node_modules/mute-stream/lib/index.js +142 -0
- package/node_modules/mute-stream/package.json +54 -0
- package/node_modules/safer-buffer/LICENSE +21 -0
- package/node_modules/safer-buffer/Porting-Buffer.md +268 -0
- package/node_modules/safer-buffer/Readme.md +156 -0
- package/node_modules/safer-buffer/dangerous.js +58 -0
- package/node_modules/safer-buffer/package.json +34 -0
- package/node_modules/safer-buffer/safer.js +77 -0
- package/node_modules/safer-buffer/tests.js +406 -0
- package/node_modules/signal-exit/LICENSE.txt +16 -0
- package/node_modules/signal-exit/README.md +74 -0
- package/node_modules/signal-exit/dist/cjs/browser.d.ts +12 -0
- package/node_modules/signal-exit/dist/cjs/browser.d.ts.map +1 -0
- package/node_modules/signal-exit/dist/cjs/browser.js +10 -0
- package/node_modules/signal-exit/dist/cjs/browser.js.map +1 -0
- package/node_modules/signal-exit/dist/cjs/index.d.ts +48 -0
- package/node_modules/signal-exit/dist/cjs/index.d.ts.map +1 -0
- package/node_modules/signal-exit/dist/cjs/index.js +279 -0
- package/node_modules/signal-exit/dist/cjs/index.js.map +1 -0
- package/node_modules/signal-exit/dist/cjs/package.json +3 -0
- package/node_modules/signal-exit/dist/cjs/signals.d.ts +29 -0
- package/node_modules/signal-exit/dist/cjs/signals.d.ts.map +1 -0
- package/node_modules/signal-exit/dist/cjs/signals.js +42 -0
- package/node_modules/signal-exit/dist/cjs/signals.js.map +1 -0
- package/node_modules/signal-exit/dist/mjs/browser.d.ts +12 -0
- package/node_modules/signal-exit/dist/mjs/browser.d.ts.map +1 -0
- package/node_modules/signal-exit/dist/mjs/browser.js +4 -0
- package/node_modules/signal-exit/dist/mjs/browser.js.map +1 -0
- package/node_modules/signal-exit/dist/mjs/index.d.ts +48 -0
- package/node_modules/signal-exit/dist/mjs/index.d.ts.map +1 -0
- package/node_modules/signal-exit/dist/mjs/index.js +275 -0
- package/node_modules/signal-exit/dist/mjs/index.js.map +1 -0
- package/node_modules/signal-exit/dist/mjs/package.json +3 -0
- package/node_modules/signal-exit/dist/mjs/signals.d.ts +29 -0
- package/node_modules/signal-exit/dist/mjs/signals.d.ts.map +1 -0
- package/node_modules/signal-exit/dist/mjs/signals.js +39 -0
- package/node_modules/signal-exit/dist/mjs/signals.js.map +1 -0
- package/node_modules/signal-exit/package.json +106 -0
- package/node_modules/string-width/index.d.ts +29 -0
- package/node_modules/string-width/index.js +47 -0
- package/node_modules/string-width/license +9 -0
- package/node_modules/string-width/package.json +56 -0
- package/node_modules/string-width/readme.md +50 -0
- package/node_modules/strip-ansi/index.d.ts +17 -0
- package/node_modules/strip-ansi/index.js +4 -0
- package/node_modules/strip-ansi/license +9 -0
- package/node_modules/strip-ansi/package.json +54 -0
- package/node_modules/strip-ansi/readme.md +46 -0
- package/node_modules/wrap-ansi/index.js +186 -0
- package/node_modules/wrap-ansi/license +9 -0
- package/node_modules/wrap-ansi/package.json +61 -0
- package/node_modules/wrap-ansi/readme.md +97 -0
- package/node_modules/yoctocolors-cjs/index.d.ts +94 -0
- package/node_modules/yoctocolors-cjs/index.js +98 -0
- package/node_modules/yoctocolors-cjs/license +9 -0
- package/node_modules/yoctocolors-cjs/package.json +67 -0
- package/node_modules/yoctocolors-cjs/readme.md +130 -0
- package/node_modules/zod/LICENSE +21 -0
- package/node_modules/zod/README.md +218 -0
- package/node_modules/zod/compile.cjs +96 -0
- package/node_modules/zod/compile.d.cts +1 -0
- package/node_modules/zod/compile.d.ts +1 -0
- package/node_modules/zod/compile.js +52 -0
- package/node_modules/zod/index.cjs +52 -0
- package/node_modules/zod/index.d.cts +3 -0
- package/node_modules/zod/index.d.ts +3 -0
- package/node_modules/zod/index.js +7 -0
- package/node_modules/zod/locales/index.cjs +36 -0
- package/node_modules/zod/locales/index.d.cts +1 -0
- package/node_modules/zod/locales/index.d.ts +1 -0
- package/node_modules/zod/locales/index.js +1 -0
- package/node_modules/zod/locales/package.json +7 -0
- package/node_modules/zod/mini/index.cjs +51 -0
- package/node_modules/zod/mini/index.d.cts +3 -0
- package/node_modules/zod/mini/index.d.ts +3 -0
- package/node_modules/zod/mini/index.js +3 -0
- package/node_modules/zod/mini/package.json +7 -0
- package/node_modules/zod/package.json +147 -0
- package/node_modules/zod/src/compile.ts +56 -0
- package/node_modules/zod/src/index.ts +7 -0
- package/node_modules/zod/src/locales/index.ts +1 -0
- package/node_modules/zod/src/mini/index.ts +3 -0
- package/node_modules/zod/src/v3/ZodError.ts +340 -0
- package/node_modules/zod/src/v3/benchmarks/datetime.ts +58 -0
- package/node_modules/zod/src/v3/benchmarks/discriminatedUnion.ts +80 -0
- package/node_modules/zod/src/v3/benchmarks/index.ts +59 -0
- package/node_modules/zod/src/v3/benchmarks/ipv4.ts +57 -0
- package/node_modules/zod/src/v3/benchmarks/object.ts +69 -0
- package/node_modules/zod/src/v3/benchmarks/primitives.ts +162 -0
- package/node_modules/zod/src/v3/benchmarks/realworld.ts +63 -0
- package/node_modules/zod/src/v3/benchmarks/string.ts +55 -0
- package/node_modules/zod/src/v3/benchmarks/union.ts +80 -0
- package/node_modules/zod/src/v3/errors.ts +13 -0
- package/node_modules/zod/src/v3/external.ts +6 -0
- package/node_modules/zod/src/v3/helpers/enumUtil.ts +17 -0
- package/node_modules/zod/src/v3/helpers/errorUtil.ts +8 -0
- package/node_modules/zod/src/v3/helpers/parseUtil.ts +176 -0
- package/node_modules/zod/src/v3/helpers/partialUtil.ts +34 -0
- package/node_modules/zod/src/v3/helpers/typeAliases.ts +2 -0
- package/node_modules/zod/src/v3/helpers/util.ts +224 -0
- package/node_modules/zod/src/v3/index.ts +4 -0
- package/node_modules/zod/src/v3/locales/en.ts +124 -0
- package/node_modules/zod/src/v3/standard-schema.ts +113 -0
- package/node_modules/zod/src/v3/tests/Mocker.ts +54 -0
- package/node_modules/zod/src/v3/tests/all-errors.test.ts +157 -0
- package/node_modules/zod/src/v3/tests/anyunknown.test.ts +28 -0
- package/node_modules/zod/src/v3/tests/array.test.ts +71 -0
- package/node_modules/zod/src/v3/tests/async-parsing.test.ts +388 -0
- package/node_modules/zod/src/v3/tests/async-refinements.test.ts +46 -0
- package/node_modules/zod/src/v3/tests/base.test.ts +29 -0
- package/node_modules/zod/src/v3/tests/bigint.test.ts +55 -0
- package/node_modules/zod/src/v3/tests/branded.test.ts +53 -0
- package/node_modules/zod/src/v3/tests/catch.test.ts +220 -0
- package/node_modules/zod/src/v3/tests/coerce.test.ts +133 -0
- package/node_modules/zod/src/v3/tests/complex.test.ts +70 -0
- package/node_modules/zod/src/v3/tests/custom.test.ts +31 -0
- package/node_modules/zod/src/v3/tests/date.test.ts +32 -0
- package/node_modules/zod/src/v3/tests/deepmasking.test.ts +186 -0
- package/node_modules/zod/src/v3/tests/default.test.ts +112 -0
- package/node_modules/zod/src/v3/tests/description.test.ts +33 -0
- package/node_modules/zod/src/v3/tests/discriminated-unions.test.ts +315 -0
- package/node_modules/zod/src/v3/tests/enum.test.ts +80 -0
- package/node_modules/zod/src/v3/tests/error.test.ts +586 -0
- package/node_modules/zod/src/v3/tests/firstparty.test.ts +87 -0
- package/node_modules/zod/src/v3/tests/firstpartyschematypes.test.ts +21 -0
- package/node_modules/zod/src/v3/tests/function.test.ts +261 -0
- package/node_modules/zod/src/v3/tests/generics.test.ts +48 -0
- package/node_modules/zod/src/v3/tests/instanceof.test.ts +37 -0
- package/node_modules/zod/src/v3/tests/intersection.test.ts +128 -0
- package/node_modules/zod/src/v3/tests/language-server.source.ts +76 -0
- package/node_modules/zod/src/v3/tests/language-server.test.ts +206 -0
- package/node_modules/zod/src/v3/tests/literal.test.ts +36 -0
- package/node_modules/zod/src/v3/tests/map.test.ts +110 -0
- package/node_modules/zod/src/v3/tests/masking.test.ts +4 -0
- package/node_modules/zod/src/v3/tests/mocker.test.ts +19 -0
- package/node_modules/zod/src/v3/tests/nan.test.ts +24 -0
- package/node_modules/zod/src/v3/tests/nativeEnum.test.ts +87 -0
- package/node_modules/zod/src/v3/tests/nullable.test.ts +42 -0
- package/node_modules/zod/src/v3/tests/number.test.ts +176 -0
- package/node_modules/zod/src/v3/tests/object-augmentation.test.ts +29 -0
- package/node_modules/zod/src/v3/tests/object-in-es5-env.test.ts +29 -0
- package/node_modules/zod/src/v3/tests/object.test.ts +431 -0
- package/node_modules/zod/src/v3/tests/optional.test.ts +42 -0
- package/node_modules/zod/src/v3/tests/parseUtil.test.ts +23 -0
- package/node_modules/zod/src/v3/tests/parser.test.ts +41 -0
- package/node_modules/zod/src/v3/tests/partials.test.ts +243 -0
- package/node_modules/zod/src/v3/tests/pickomit.test.ts +111 -0
- package/node_modules/zod/src/v3/tests/pipeline.test.ts +29 -0
- package/node_modules/zod/src/v3/tests/preprocess.test.ts +186 -0
- package/node_modules/zod/src/v3/tests/primitive.test.ts +440 -0
- package/node_modules/zod/src/v3/tests/promise.test.ts +90 -0
- package/node_modules/zod/src/v3/tests/readonly.test.ts +114 -0
- package/node_modules/zod/src/v3/tests/record.test.ts +171 -0
- package/node_modules/zod/src/v3/tests/recursive.test.ts +197 -0
- package/node_modules/zod/src/v3/tests/refine.test.ts +313 -0
- package/node_modules/zod/src/v3/tests/safeparse.test.ts +27 -0
- package/node_modules/zod/src/v3/tests/set.test.ts +142 -0
- package/node_modules/zod/src/v3/tests/standard-schema.test.ts +83 -0
- package/node_modules/zod/src/v3/tests/string.test.ts +922 -0
- package/node_modules/zod/src/v3/tests/transformer.test.ts +233 -0
- package/node_modules/zod/src/v3/tests/tuple.test.ts +90 -0
- package/node_modules/zod/src/v3/tests/unions.test.ts +57 -0
- package/node_modules/zod/src/v3/tests/validations.test.ts +133 -0
- package/node_modules/zod/src/v3/tests/void.test.ts +15 -0
- package/node_modules/zod/src/v3/types.ts +5138 -0
- package/node_modules/zod/src/v4/classic/checks.ts +33 -0
- package/node_modules/zod/src/v4/classic/coerce.ts +27 -0
- package/node_modules/zod/src/v4/classic/compat.ts +78 -0
- package/node_modules/zod/src/v4/classic/deep-partial.ts +76 -0
- package/node_modules/zod/src/v4/classic/errors.ts +97 -0
- package/node_modules/zod/src/v4/classic/external.ts +57 -0
- package/node_modules/zod/src/v4/classic/from-json-schema.ts +944 -0
- package/node_modules/zod/src/v4/classic/in-out.ts +45 -0
- package/node_modules/zod/src/v4/classic/index.ts +5 -0
- package/node_modules/zod/src/v4/classic/iso.ts +20 -0
- package/node_modules/zod/src/v4/classic/parse.ts +88 -0
- package/node_modules/zod/src/v4/classic/schemas.ts +2937 -0
- package/node_modules/zod/src/v4/classic/tests/anyunknown.test.ts +26 -0
- package/node_modules/zod/src/v4/classic/tests/apply.test.ts +86 -0
- package/node_modules/zod/src/v4/classic/tests/array.test.ts +264 -0
- package/node_modules/zod/src/v4/classic/tests/assignability.test.ts +402 -0
- package/node_modules/zod/src/v4/classic/tests/async-parsing.test.ts +381 -0
- package/node_modules/zod/src/v4/classic/tests/async-refinements.test.ts +68 -0
- package/node_modules/zod/src/v4/classic/tests/base.test.ts +7 -0
- package/node_modules/zod/src/v4/classic/tests/bigint.test.ts +89 -0
- package/node_modules/zod/src/v4/classic/tests/brand.test.ts +106 -0
- package/node_modules/zod/src/v4/classic/tests/catch.test.ts +604 -0
- package/node_modules/zod/src/v4/classic/tests/coalesce.test.ts +20 -0
- package/node_modules/zod/src/v4/classic/tests/codec-examples.test.ts +572 -0
- package/node_modules/zod/src/v4/classic/tests/codec.test.ts +704 -0
- package/node_modules/zod/src/v4/classic/tests/coerce.test.ts +160 -0
- package/node_modules/zod/src/v4/classic/tests/continuability.test.ts +374 -0
- package/node_modules/zod/src/v4/classic/tests/credit-card.test.ts +76 -0
- package/node_modules/zod/src/v4/classic/tests/custom.test.ts +40 -0
- package/node_modules/zod/src/v4/classic/tests/cyclic-data.test.ts +985 -0
- package/node_modules/zod/src/v4/classic/tests/date.test.ts +92 -0
- package/node_modules/zod/src/v4/classic/tests/datetime.test.ts +316 -0
- package/node_modules/zod/src/v4/classic/tests/deep-partial.test.ts +380 -0
- package/node_modules/zod/src/v4/classic/tests/default-locale.test.ts +32 -0
- package/node_modules/zod/src/v4/classic/tests/default.test.ts +455 -0
- package/node_modules/zod/src/v4/classic/tests/describe-meta-checks.test.ts +27 -0
- package/node_modules/zod/src/v4/classic/tests/description.test.ts +32 -0
- package/node_modules/zod/src/v4/classic/tests/detached-methods.test.ts +221 -0
- package/node_modules/zod/src/v4/classic/tests/discriminated-unions.test.ts +942 -0
- package/node_modules/zod/src/v4/classic/tests/enum.test.ts +305 -0
- package/node_modules/zod/src/v4/classic/tests/error-utils.test.ts +917 -0
- package/node_modules/zod/src/v4/classic/tests/error.test.ts +1108 -0
- package/node_modules/zod/src/v4/classic/tests/file.test.ts +96 -0
- package/node_modules/zod/src/v4/classic/tests/firstparty.test.ts +179 -0
- package/node_modules/zod/src/v4/classic/tests/fix-json-issue.test.ts +26 -0
- package/node_modules/zod/src/v4/classic/tests/from-json-schema.test.ts +1467 -0
- package/node_modules/zod/src/v4/classic/tests/function.test.ts +391 -0
- package/node_modules/zod/src/v4/classic/tests/generics.test.ts +72 -0
- package/node_modules/zod/src/v4/classic/tests/global-config.test.ts +32 -0
- package/node_modules/zod/src/v4/classic/tests/hash.test.ts +67 -0
- package/node_modules/zod/src/v4/classic/tests/iban.test.ts +81 -0
- package/node_modules/zod/src/v4/classic/tests/in-out.test.ts +159 -0
- package/node_modules/zod/src/v4/classic/tests/index.test.ts +958 -0
- package/node_modules/zod/src/v4/classic/tests/instance-footprint.test.ts +319 -0
- package/node_modules/zod/src/v4/classic/tests/instanceof.test.ts +127 -0
- package/node_modules/zod/src/v4/classic/tests/intersection.test.ts +334 -0
- package/node_modules/zod/src/v4/classic/tests/issue-schema.test.ts +215 -0
- package/node_modules/zod/src/v4/classic/tests/jitless-allows-eval.test.ts +39 -0
- package/node_modules/zod/src/v4/classic/tests/json.test.ts +109 -0
- package/node_modules/zod/src/v4/classic/tests/lazy.test.ts +262 -0
- package/node_modules/zod/src/v4/classic/tests/literal.test.ts +128 -0
- package/node_modules/zod/src/v4/classic/tests/locales_ka.test.ts +29 -0
- package/node_modules/zod/src/v4/classic/tests/locales_ro.test.ts +24 -0
- package/node_modules/zod/src/v4/classic/tests/map.test.ts +342 -0
- package/node_modules/zod/src/v4/classic/tests/nan.test.ts +21 -0
- package/node_modules/zod/src/v4/classic/tests/nested-refine.test.ts +168 -0
- package/node_modules/zod/src/v4/classic/tests/nonoptional.test.ts +101 -0
- package/node_modules/zod/src/v4/classic/tests/nullable.test.ts +22 -0
- package/node_modules/zod/src/v4/classic/tests/number.test.ts +401 -0
- package/node_modules/zod/src/v4/classic/tests/object.test.ts +1006 -0
- package/node_modules/zod/src/v4/classic/tests/optin-ladder.test.ts +235 -0
- package/node_modules/zod/src/v4/classic/tests/optional.test.ts +366 -0
- package/node_modules/zod/src/v4/classic/tests/partial.test.ts +497 -0
- package/node_modules/zod/src/v4/classic/tests/pickomit.test.ts +211 -0
- package/node_modules/zod/src/v4/classic/tests/pipe.test.ts +101 -0
- package/node_modules/zod/src/v4/classic/tests/prefault.test.ts +144 -0
- package/node_modules/zod/src/v4/classic/tests/preprocess-types.test.ts +44 -0
- package/node_modules/zod/src/v4/classic/tests/preprocess.test.ts +351 -0
- package/node_modules/zod/src/v4/classic/tests/primitive.test.ts +175 -0
- package/node_modules/zod/src/v4/classic/tests/promise.test.ts +81 -0
- package/node_modules/zod/src/v4/classic/tests/properties.test.ts +141 -0
- package/node_modules/zod/src/v4/classic/tests/prototypes.test.ts +23 -0
- package/node_modules/zod/src/v4/classic/tests/readonly.test.ts +184 -0
- package/node_modules/zod/src/v4/classic/tests/record.test.ts +885 -0
- package/node_modules/zod/src/v4/classic/tests/recursive-types.test.ts +707 -0
- package/node_modules/zod/src/v4/classic/tests/redos.test.ts +68 -0
- package/node_modules/zod/src/v4/classic/tests/refine.test.ts +693 -0
- package/node_modules/zod/src/v4/classic/tests/registries.test.ts +243 -0
- package/node_modules/zod/src/v4/classic/tests/set.test.ts +190 -0
- package/node_modules/zod/src/v4/classic/tests/standard-schema.test.ts +153 -0
- package/node_modules/zod/src/v4/classic/tests/string-formats.test.ts +125 -0
- package/node_modules/zod/src/v4/classic/tests/string.test.ts +1440 -0
- package/node_modules/zod/src/v4/classic/tests/stringbool.test.ts +124 -0
- package/node_modules/zod/src/v4/classic/tests/template-literal.test.ts +812 -0
- package/node_modules/zod/src/v4/classic/tests/to-json-schema-methods.test.ts +438 -0
- package/node_modules/zod/src/v4/classic/tests/to-json-schema.test.ts +4733 -0
- package/node_modules/zod/src/v4/classic/tests/transform.test.ts +378 -0
- package/node_modules/zod/src/v4/classic/tests/tuple.test.ts +511 -0
- package/node_modules/zod/src/v4/classic/tests/union.test.ts +310 -0
- package/node_modules/zod/src/v4/classic/tests/url.test.ts +13 -0
- package/node_modules/zod/src/v4/classic/tests/validate.test.ts +645 -0
- package/node_modules/zod/src/v4/classic/tests/validations.test.ts +283 -0
- package/node_modules/zod/src/v4/classic/tests/void.test.ts +12 -0
- package/node_modules/zod/src/v4/core/api.ts +1875 -0
- package/node_modules/zod/src/v4/core/checks.ts +1266 -0
- package/node_modules/zod/src/v4/core/compile.ts +2313 -0
- package/node_modules/zod/src/v4/core/core.ts +230 -0
- package/node_modules/zod/src/v4/core/doc.ts +52 -0
- package/node_modules/zod/src/v4/core/errors.ts +543 -0
- package/node_modules/zod/src/v4/core/index.ts +19 -0
- package/node_modules/zod/src/v4/core/json-schema-generator.ts +131 -0
- package/node_modules/zod/src/v4/core/json-schema-processors.ts +934 -0
- package/node_modules/zod/src/v4/core/json-schema.ts +148 -0
- package/node_modules/zod/src/v4/core/memoizer.ts +331 -0
- package/node_modules/zod/src/v4/core/parse.ts +309 -0
- package/node_modules/zod/src/v4/core/regexes.ts +217 -0
- package/node_modules/zod/src/v4/core/registries.ts +105 -0
- package/node_modules/zod/src/v4/core/schemas.ts +5192 -0
- package/node_modules/zod/src/v4/core/standard-schema.ts +159 -0
- package/node_modules/zod/src/v4/core/tests/cached.test.ts +54 -0
- package/node_modules/zod/src/v4/core/tests/compile-differential.test.ts +1004 -0
- package/node_modules/zod/src/v4/core/tests/compile-generative.test.ts +445 -0
- package/node_modules/zod/src/v4/core/tests/compile-global.test.ts +89 -0
- package/node_modules/zod/src/v4/core/tests/compile-off-by-default.test.ts +26 -0
- package/node_modules/zod/src/v4/core/tests/compile-stats.test.ts +34 -0
- package/node_modules/zod/src/v4/core/tests/compile.test.ts +2036 -0
- package/node_modules/zod/src/v4/core/tests/email-regex.test.ts +140 -0
- package/node_modules/zod/src/v4/core/tests/extend.test.ts +59 -0
- package/node_modules/zod/src/v4/core/tests/index.test.ts +46 -0
- package/node_modules/zod/src/v4/core/tests/locales/be.test.ts +124 -0
- package/node_modules/zod/src/v4/core/tests/locales/el.test.ts +214 -0
- package/node_modules/zod/src/v4/core/tests/locales/en.test.ts +22 -0
- package/node_modules/zod/src/v4/core/tests/locales/es.test.ts +180 -0
- package/node_modules/zod/src/v4/core/tests/locales/fr.test.ts +72 -0
- package/node_modules/zod/src/v4/core/tests/locales/he.test.ts +379 -0
- package/node_modules/zod/src/v4/core/tests/locales/hr.test.ts +163 -0
- package/node_modules/zod/src/v4/core/tests/locales/nl.test.ts +46 -0
- package/node_modules/zod/src/v4/core/tests/locales/parity.test.ts +42 -0
- package/node_modules/zod/src/v4/core/tests/locales/ru.test.ts +128 -0
- package/node_modules/zod/src/v4/core/tests/locales/tg.test.ts +85 -0
- package/node_modules/zod/src/v4/core/tests/locales/tk.test.ts +69 -0
- package/node_modules/zod/src/v4/core/tests/locales/tr.test.ts +69 -0
- package/node_modules/zod/src/v4/core/tests/locales/uz.test.ts +105 -0
- package/node_modules/zod/src/v4/core/tests/polyfill-collision.test.ts +46 -0
- package/node_modules/zod/src/v4/core/tests/record-constructor.test.ts +125 -0
- package/node_modules/zod/src/v4/core/tests/recursive-tuples.test.ts +45 -0
- package/node_modules/zod/src/v4/core/tests/treeshake.test.ts +51 -0
- package/node_modules/zod/src/v4/core/tests/url-no-canparse.test.ts +133 -0
- package/node_modules/zod/src/v4/core/to-json-schema.ts +857 -0
- package/node_modules/zod/src/v4/core/util.ts +1280 -0
- package/node_modules/zod/src/v4/core/versions.ts +5 -0
- package/node_modules/zod/src/v4/core/visit.ts +193 -0
- package/node_modules/zod/src/v4/core/zsf.ts +323 -0
- package/node_modules/zod/src/v4/index.ts +4 -0
- package/node_modules/zod/src/v4/locales/ar.ts +120 -0
- package/node_modules/zod/src/v4/locales/az.ts +116 -0
- package/node_modules/zod/src/v4/locales/be.ts +188 -0
- package/node_modules/zod/src/v4/locales/bg.ts +133 -0
- package/node_modules/zod/src/v4/locales/bn.ts +123 -0
- package/node_modules/zod/src/v4/locales/ca.ts +121 -0
- package/node_modules/zod/src/v4/locales/ckb.ts +140 -0
- package/node_modules/zod/src/v4/locales/cs.ts +123 -0
- package/node_modules/zod/src/v4/locales/da.ts +128 -0
- package/node_modules/zod/src/v4/locales/de.ts +121 -0
- package/node_modules/zod/src/v4/locales/el.ts +124 -0
- package/node_modules/zod/src/v4/locales/en.ts +136 -0
- package/node_modules/zod/src/v4/locales/eo.ts +123 -0
- package/node_modules/zod/src/v4/locales/es.ts +145 -0
- package/node_modules/zod/src/v4/locales/fa.ts +131 -0
- package/node_modules/zod/src/v4/locales/fi.ts +126 -0
- package/node_modules/zod/src/v4/locales/fr-CA.ts +121 -0
- package/node_modules/zod/src/v4/locales/fr.ts +139 -0
- package/node_modules/zod/src/v4/locales/gu.ts +123 -0
- package/node_modules/zod/src/v4/locales/he.ts +253 -0
- package/node_modules/zod/src/v4/locales/hi.ts +126 -0
- package/node_modules/zod/src/v4/locales/hr.ts +135 -0
- package/node_modules/zod/src/v4/locales/hu.ts +122 -0
- package/node_modules/zod/src/v4/locales/hy.ts +175 -0
- package/node_modules/zod/src/v4/locales/id.ts +120 -0
- package/node_modules/zod/src/v4/locales/index.ts +63 -0
- package/node_modules/zod/src/v4/locales/is.ts +124 -0
- package/node_modules/zod/src/v4/locales/it.ts +121 -0
- package/node_modules/zod/src/v4/locales/ja.ts +119 -0
- package/node_modules/zod/src/v4/locales/ka.ts +128 -0
- package/node_modules/zod/src/v4/locales/kh.ts +7 -0
- package/node_modules/zod/src/v4/locales/km.ts +124 -0
- package/node_modules/zod/src/v4/locales/kn.ts +126 -0
- package/node_modules/zod/src/v4/locales/ko.ts +126 -0
- package/node_modules/zod/src/v4/locales/lt.ts +243 -0
- package/node_modules/zod/src/v4/locales/mk.ts +123 -0
- package/node_modules/zod/src/v4/locales/ms.ts +120 -0
- package/node_modules/zod/src/v4/locales/ne.ts +128 -0
- package/node_modules/zod/src/v4/locales/nl.ts +126 -0
- package/node_modules/zod/src/v4/locales/nn.ts +121 -0
- package/node_modules/zod/src/v4/locales/no.ts +121 -0
- package/node_modules/zod/src/v4/locales/ota.ts +122 -0
- package/node_modules/zod/src/v4/locales/pl.ts +123 -0
- package/node_modules/zod/src/v4/locales/ps.ts +131 -0
- package/node_modules/zod/src/v4/locales/pt-BR.ts +161 -0
- package/node_modules/zod/src/v4/locales/pt.ts +159 -0
- package/node_modules/zod/src/v4/locales/ro.ts +132 -0
- package/node_modules/zod/src/v4/locales/ru.ts +188 -0
- package/node_modules/zod/src/v4/locales/sk.ts +123 -0
- package/node_modules/zod/src/v4/locales/sl.ts +123 -0
- package/node_modules/zod/src/v4/locales/sv.ts +124 -0
- package/node_modules/zod/src/v4/locales/ta.ts +123 -0
- package/node_modules/zod/src/v4/locales/tg.ts +135 -0
- package/node_modules/zod/src/v4/locales/th.ts +124 -0
- package/node_modules/zod/src/v4/locales/tk.ts +113 -0
- package/node_modules/zod/src/v4/locales/tr.ts +116 -0
- package/node_modules/zod/src/v4/locales/ua.ts +7 -0
- package/node_modules/zod/src/v4/locales/uk.ts +122 -0
- package/node_modules/zod/src/v4/locales/ur.ts +124 -0
- package/node_modules/zod/src/v4/locales/uz.ts +120 -0
- package/node_modules/zod/src/v4/locales/vi.ts +122 -0
- package/node_modules/zod/src/v4/locales/yo.ts +129 -0
- package/node_modules/zod/src/v4/locales/zh-CN.ts +121 -0
- package/node_modules/zod/src/v4/locales/zh-TW.ts +120 -0
- package/node_modules/zod/src/v4/mini/checks.ts +33 -0
- package/node_modules/zod/src/v4/mini/coerce.ts +27 -0
- package/node_modules/zod/src/v4/mini/deep-partial.ts +73 -0
- package/node_modules/zod/src/v4/mini/external.ts +52 -0
- package/node_modules/zod/src/v4/mini/in-out.ts +45 -0
- package/node_modules/zod/src/v4/mini/index.ts +3 -0
- package/node_modules/zod/src/v4/mini/iso.ts +66 -0
- package/node_modules/zod/src/v4/mini/parse.ts +16 -0
- package/node_modules/zod/src/v4/mini/schemas.ts +2051 -0
- package/node_modules/zod/src/v4/mini/tests/apply.test.ts +57 -0
- package/node_modules/zod/src/v4/mini/tests/assignability.test.ts +190 -0
- package/node_modules/zod/src/v4/mini/tests/brand.test.ts +94 -0
- package/node_modules/zod/src/v4/mini/tests/checks.test.ts +158 -0
- package/node_modules/zod/src/v4/mini/tests/codec.test.ts +582 -0
- package/node_modules/zod/src/v4/mini/tests/computed.test.ts +30 -0
- package/node_modules/zod/src/v4/mini/tests/cyclic-data.test.ts +84 -0
- package/node_modules/zod/src/v4/mini/tests/deep-partial.test.ts +54 -0
- package/node_modules/zod/src/v4/mini/tests/error.test.ts +41 -0
- package/node_modules/zod/src/v4/mini/tests/functions.test.ts +14 -0
- package/node_modules/zod/src/v4/mini/tests/index.test.ts +1146 -0
- package/node_modules/zod/src/v4/mini/tests/number.test.ts +109 -0
- package/node_modules/zod/src/v4/mini/tests/object.test.ts +292 -0
- package/node_modules/zod/src/v4/mini/tests/prototypes.test.ts +43 -0
- package/node_modules/zod/src/v4/mini/tests/recursive-types.test.ts +341 -0
- package/node_modules/zod/src/v4/mini/tests/standard-schema.test.ts +50 -0
- package/node_modules/zod/src/v4/mini/tests/string.test.ts +396 -0
- package/node_modules/zod/src/v4-mini/index.ts +3 -0
- package/node_modules/zod/v3/ZodError.cjs +167 -0
- package/node_modules/zod/v3/ZodError.d.cts +164 -0
- package/node_modules/zod/v3/ZodError.d.ts +164 -0
- package/node_modules/zod/v3/ZodError.js +143 -0
- package/node_modules/zod/v3/errors.cjs +36 -0
- package/node_modules/zod/v3/errors.d.cts +5 -0
- package/node_modules/zod/v3/errors.d.ts +5 -0
- package/node_modules/zod/v3/errors.js +9 -0
- package/node_modules/zod/v3/external.cjs +41 -0
- package/node_modules/zod/v3/external.d.cts +6 -0
- package/node_modules/zod/v3/external.d.ts +6 -0
- package/node_modules/zod/v3/external.js +6 -0
- package/node_modules/zod/v3/helpers/enumUtil.cjs +21 -0
- package/node_modules/zod/v3/helpers/enumUtil.d.cts +8 -0
- package/node_modules/zod/v3/helpers/enumUtil.d.ts +8 -0
- package/node_modules/zod/v3/helpers/enumUtil.js +1 -0
- package/node_modules/zod/v3/helpers/errorUtil.cjs +28 -0
- package/node_modules/zod/v3/helpers/errorUtil.d.cts +9 -0
- package/node_modules/zod/v3/helpers/errorUtil.d.ts +9 -0
- package/node_modules/zod/v3/helpers/errorUtil.js +6 -0
- package/node_modules/zod/v3/helpers/parseUtil.cjs +143 -0
- package/node_modules/zod/v3/helpers/parseUtil.d.cts +78 -0
- package/node_modules/zod/v3/helpers/parseUtil.d.ts +78 -0
- package/node_modules/zod/v3/helpers/parseUtil.js +109 -0
- package/node_modules/zod/v3/helpers/partialUtil.cjs +21 -0
- package/node_modules/zod/v3/helpers/partialUtil.d.cts +8 -0
- package/node_modules/zod/v3/helpers/partialUtil.d.ts +8 -0
- package/node_modules/zod/v3/helpers/partialUtil.js +1 -0
- package/node_modules/zod/v3/helpers/typeAliases.cjs +21 -0
- package/node_modules/zod/v3/helpers/typeAliases.d.cts +2 -0
- package/node_modules/zod/v3/helpers/typeAliases.d.ts +2 -0
- package/node_modules/zod/v3/helpers/typeAliases.js +1 -0
- package/node_modules/zod/v3/helpers/util.cjs +156 -0
- package/node_modules/zod/v3/helpers/util.d.cts +85 -0
- package/node_modules/zod/v3/helpers/util.d.ts +85 -0
- package/node_modules/zod/v3/helpers/util.js +133 -0
- package/node_modules/zod/v3/index.cjs +52 -0
- package/node_modules/zod/v3/index.d.cts +4 -0
- package/node_modules/zod/v3/index.d.ts +4 -0
- package/node_modules/zod/v3/index.js +4 -0
- package/node_modules/zod/v3/locales/en.cjs +112 -0
- package/node_modules/zod/v3/locales/en.d.cts +3 -0
- package/node_modules/zod/v3/locales/en.d.ts +3 -0
- package/node_modules/zod/v3/locales/en.js +109 -0
- package/node_modules/zod/v3/package.json +7 -0
- package/node_modules/zod/v3/standard-schema.cjs +21 -0
- package/node_modules/zod/v3/standard-schema.d.cts +102 -0
- package/node_modules/zod/v3/standard-schema.d.ts +102 -0
- package/node_modules/zod/v3/standard-schema.js +1 -0
- package/node_modules/zod/v3/types.cjs +3798 -0
- package/node_modules/zod/v3/types.d.cts +1034 -0
- package/node_modules/zod/v3/types.d.ts +1034 -0
- package/node_modules/zod/v3/types.js +3697 -0
- package/node_modules/zod/v4/classic/checks.cjs +53 -0
- package/node_modules/zod/v4/classic/checks.d.cts +1 -0
- package/node_modules/zod/v4/classic/checks.d.ts +1 -0
- package/node_modules/zod/v4/classic/checks.js +1 -0
- package/node_modules/zod/v4/classic/coerce.cjs +66 -0
- package/node_modules/zod/v4/classic/coerce.d.cts +17 -0
- package/node_modules/zod/v4/classic/coerce.d.ts +17 -0
- package/node_modules/zod/v4/classic/coerce.js +17 -0
- package/node_modules/zod/v4/classic/compat.cjs +80 -0
- package/node_modules/zod/v4/classic/compat.d.cts +48 -0
- package/node_modules/zod/v4/classic/compat.d.ts +48 -0
- package/node_modules/zod/v4/classic/compat.js +31 -0
- package/node_modules/zod/v4/classic/deep-partial.cjs +58 -0
- package/node_modules/zod/v4/classic/deep-partial.d.cts +14 -0
- package/node_modules/zod/v4/classic/deep-partial.d.ts +14 -0
- package/node_modules/zod/v4/classic/deep-partial.js +13 -0
- package/node_modules/zod/v4/classic/errors.cjs +102 -0
- package/node_modules/zod/v4/classic/errors.d.cts +29 -0
- package/node_modules/zod/v4/classic/errors.d.ts +29 -0
- package/node_modules/zod/v4/classic/errors.js +57 -0
- package/node_modules/zod/v4/classic/external.cjs +97 -0
- package/node_modules/zod/v4/classic/external.d.cts +19 -0
- package/node_modules/zod/v4/classic/external.d.ts +19 -0
- package/node_modules/zod/v4/classic/external.js +17 -0
- package/node_modules/zod/v4/classic/from-json-schema.cjs +926 -0
- package/node_modules/zod/v4/classic/from-json-schema.d.cts +12 -0
- package/node_modules/zod/v4/classic/from-json-schema.d.ts +12 -0
- package/node_modules/zod/v4/classic/from-json-schema.js +881 -0
- package/node_modules/zod/v4/classic/in-out.cjs +82 -0
- package/node_modules/zod/v4/classic/in-out.d.cts +8 -0
- package/node_modules/zod/v4/classic/in-out.d.ts +8 -0
- package/node_modules/zod/v4/classic/in-out.js +36 -0
- package/node_modules/zod/v4/classic/index.cjs +52 -0
- package/node_modules/zod/v4/classic/index.d.cts +3 -0
- package/node_modules/zod/v4/classic/index.d.ts +3 -0
- package/node_modules/zod/v4/classic/index.js +4 -0
- package/node_modules/zod/v4/classic/iso.cjs +68 -0
- package/node_modules/zod/v4/classic/iso.d.cts +7 -0
- package/node_modules/zod/v4/classic/iso.d.ts +7 -0
- package/node_modules/zod/v4/classic/iso.js +15 -0
- package/node_modules/zod/v4/classic/package.json +7 -0
- package/node_modules/zod/v4/classic/parse.cjs +63 -0
- package/node_modules/zod/v4/classic/parse.d.cts +44 -0
- package/node_modules/zod/v4/classic/parse.d.ts +44 -0
- package/node_modules/zod/v4/classic/parse.js +16 -0
- package/node_modules/zod/v4/classic/schemas.cjs +1676 -0
- package/node_modules/zod/v4/classic/schemas.d.cts +816 -0
- package/node_modules/zod/v4/classic/schemas.d.ts +816 -0
- package/node_modules/zod/v4/classic/schemas.js +1535 -0
- package/node_modules/zod/v4/core/api.cjs +1269 -0
- package/node_modules/zod/v4/core/api.d.cts +335 -0
- package/node_modules/zod/v4/core/api.d.ts +335 -0
- package/node_modules/zod/v4/core/api.js +1107 -0
- package/node_modules/zod/v4/core/checks.cjs +561 -0
- package/node_modules/zod/v4/core/checks.d.cts +294 -0
- package/node_modules/zod/v4/core/checks.d.ts +294 -0
- package/node_modules/zod/v4/core/checks.js +516 -0
- package/node_modules/zod/v4/core/compile.cjs +1908 -0
- package/node_modules/zod/v4/core/compile.d.cts +65 -0
- package/node_modules/zod/v4/core/compile.d.ts +65 -0
- package/node_modules/zod/v4/core/compile.js +1858 -0
- package/node_modules/zod/v4/core/core.cjs +167 -0
- package/node_modules/zod/v4/core/core.d.cts +82 -0
- package/node_modules/zod/v4/core/core.d.ts +82 -0
- package/node_modules/zod/v4/core/core.js +141 -0
- package/node_modules/zod/v4/core/doc.cjs +61 -0
- package/node_modules/zod/v4/core/doc.d.cts +16 -0
- package/node_modules/zod/v4/core/doc.d.ts +16 -0
- package/node_modules/zod/v4/core/doc.js +38 -0
- package/node_modules/zod/v4/core/errors.cjs +317 -0
- package/node_modules/zod/v4/core/errors.d.cts +225 -0
- package/node_modules/zod/v4/core/errors.d.ts +225 -0
- package/node_modules/zod/v4/core/errors.js +267 -0
- package/node_modules/zod/v4/core/index.cjs +70 -0
- package/node_modules/zod/v4/core/index.d.cts +19 -0
- package/node_modules/zod/v4/core/index.d.ts +19 -0
- package/node_modules/zod/v4/core/index.js +19 -0
- package/node_modules/zod/v4/core/json-schema-generator.cjs +122 -0
- package/node_modules/zod/v4/core/json-schema-generator.d.cts +65 -0
- package/node_modules/zod/v4/core/json-schema-generator.d.ts +65 -0
- package/node_modules/zod/v4/core/json-schema-generator.js +99 -0
- package/node_modules/zod/v4/core/json-schema-processors.cjs +929 -0
- package/node_modules/zod/v4/core/json-schema-processors.d.cts +65 -0
- package/node_modules/zod/v4/core/json-schema-processors.d.ts +65 -0
- package/node_modules/zod/v4/core/json-schema-processors.js +843 -0
- package/node_modules/zod/v4/core/json-schema.cjs +21 -0
- package/node_modules/zod/v4/core/json-schema.d.cts +89 -0
- package/node_modules/zod/v4/core/json-schema.d.ts +89 -0
- package/node_modules/zod/v4/core/json-schema.js +1 -0
- package/node_modules/zod/v4/core/memoizer.cjs +360 -0
- package/node_modules/zod/v4/core/memoizer.d.cts +15 -0
- package/node_modules/zod/v4/core/memoizer.d.ts +15 -0
- package/node_modules/zod/v4/core/memoizer.js +311 -0
- package/node_modules/zod/v4/core/package.json +7 -0
- package/node_modules/zod/v4/core/parse.cjs +233 -0
- package/node_modules/zod/v4/core/parse.d.cts +52 -0
- package/node_modules/zod/v4/core/parse.d.ts +52 -0
- package/node_modules/zod/v4/core/parse.js +175 -0
- package/node_modules/zod/v4/core/regexes.cjs +209 -0
- package/node_modules/zod/v4/core/regexes.d.cts +90 -0
- package/node_modules/zod/v4/core/regexes.d.ts +90 -0
- package/node_modules/zod/v4/core/regexes.js +156 -0
- package/node_modules/zod/v4/core/registries.cjs +75 -0
- package/node_modules/zod/v4/core/registries.d.cts +35 -0
- package/node_modules/zod/v4/core/registries.d.ts +35 -0
- package/node_modules/zod/v4/core/registries.js +51 -0
- package/node_modules/zod/v4/core/schemas.cjs +2669 -0
- package/node_modules/zod/v4/core/schemas.d.cts +1273 -0
- package/node_modules/zod/v4/core/schemas.d.ts +1273 -0
- package/node_modules/zod/v4/core/schemas.js +2606 -0
- package/node_modules/zod/v4/core/standard-schema.cjs +21 -0
- package/node_modules/zod/v4/core/standard-schema.d.cts +126 -0
- package/node_modules/zod/v4/core/standard-schema.d.ts +126 -0
- package/node_modules/zod/v4/core/standard-schema.js +1 -0
- package/node_modules/zod/v4/core/to-json-schema.cjs +681 -0
- package/node_modules/zod/v4/core/to-json-schema.d.cts +154 -0
- package/node_modules/zod/v4/core/to-json-schema.d.ts +154 -0
- package/node_modules/zod/v4/core/to-json-schema.js +651 -0
- package/node_modules/zod/v4/core/util.cjs +949 -0
- package/node_modules/zod/v4/core/util.d.cts +278 -0
- package/node_modules/zod/v4/core/util.d.ts +278 -0
- package/node_modules/zod/v4/core/util.js +859 -0
- package/node_modules/zod/v4/core/versions.cjs +27 -0
- package/node_modules/zod/v4/core/versions.d.cts +5 -0
- package/node_modules/zod/v4/core/versions.d.ts +5 -0
- package/node_modules/zod/v4/core/versions.js +5 -0
- package/node_modules/zod/v4/core/visit.cjs +214 -0
- package/node_modules/zod/v4/core/visit.d.cts +30 -0
- package/node_modules/zod/v4/core/visit.d.ts +30 -0
- package/node_modules/zod/v4/core/visit.js +169 -0
- package/node_modules/zod/v4/index.cjs +51 -0
- package/node_modules/zod/v4/index.d.cts +3 -0
- package/node_modules/zod/v4/index.d.ts +3 -0
- package/node_modules/zod/v4/index.js +4 -0
- package/node_modules/zod/v4/locales/ar.cjs +138 -0
- package/node_modules/zod/v4/locales/ar.d.cts +5 -0
- package/node_modules/zod/v4/locales/ar.d.ts +4 -0
- package/node_modules/zod/v4/locales/ar.js +111 -0
- package/node_modules/zod/v4/locales/az.cjs +137 -0
- package/node_modules/zod/v4/locales/az.d.cts +5 -0
- package/node_modules/zod/v4/locales/az.d.ts +4 -0
- package/node_modules/zod/v4/locales/az.js +110 -0
- package/node_modules/zod/v4/locales/be.cjs +195 -0
- package/node_modules/zod/v4/locales/be.d.cts +5 -0
- package/node_modules/zod/v4/locales/be.d.ts +4 -0
- package/node_modules/zod/v4/locales/be.js +168 -0
- package/node_modules/zod/v4/locales/bg.cjs +152 -0
- package/node_modules/zod/v4/locales/bg.d.cts +5 -0
- package/node_modules/zod/v4/locales/bg.d.ts +4 -0
- package/node_modules/zod/v4/locales/bg.js +125 -0
- package/node_modules/zod/v4/locales/bn.cjs +140 -0
- package/node_modules/zod/v4/locales/bn.d.cts +5 -0
- package/node_modules/zod/v4/locales/bn.d.ts +4 -0
- package/node_modules/zod/v4/locales/bn.js +113 -0
- package/node_modules/zod/v4/locales/ca.cjs +139 -0
- package/node_modules/zod/v4/locales/ca.d.cts +5 -0
- package/node_modules/zod/v4/locales/ca.d.ts +4 -0
- package/node_modules/zod/v4/locales/ca.js +112 -0
- package/node_modules/zod/v4/locales/ckb.cjs +160 -0
- package/node_modules/zod/v4/locales/ckb.d.cts +5 -0
- package/node_modules/zod/v4/locales/ckb.d.ts +4 -0
- package/node_modules/zod/v4/locales/ckb.js +133 -0
- package/node_modules/zod/v4/locales/cs.cjs +143 -0
- package/node_modules/zod/v4/locales/cs.d.cts +5 -0
- package/node_modules/zod/v4/locales/cs.d.ts +4 -0
- package/node_modules/zod/v4/locales/cs.js +116 -0
- package/node_modules/zod/v4/locales/da.cjs +147 -0
- package/node_modules/zod/v4/locales/da.d.cts +5 -0
- package/node_modules/zod/v4/locales/da.d.ts +4 -0
- package/node_modules/zod/v4/locales/da.js +120 -0
- package/node_modules/zod/v4/locales/de.cjs +140 -0
- package/node_modules/zod/v4/locales/de.d.cts +5 -0
- package/node_modules/zod/v4/locales/de.d.ts +4 -0
- package/node_modules/zod/v4/locales/de.js +113 -0
- package/node_modules/zod/v4/locales/el.cjs +139 -0
- package/node_modules/zod/v4/locales/el.d.cts +5 -0
- package/node_modules/zod/v4/locales/el.d.ts +4 -0
- package/node_modules/zod/v4/locales/el.js +112 -0
- package/node_modules/zod/v4/locales/en.cjs +152 -0
- package/node_modules/zod/v4/locales/en.d.cts +5 -0
- package/node_modules/zod/v4/locales/en.d.ts +4 -0
- package/node_modules/zod/v4/locales/en.js +125 -0
- package/node_modules/zod/v4/locales/eo.cjs +141 -0
- package/node_modules/zod/v4/locales/eo.d.cts +5 -0
- package/node_modules/zod/v4/locales/eo.d.ts +4 -0
- package/node_modules/zod/v4/locales/eo.js +114 -0
- package/node_modules/zod/v4/locales/es.cjs +163 -0
- package/node_modules/zod/v4/locales/es.d.cts +5 -0
- package/node_modules/zod/v4/locales/es.d.ts +4 -0
- package/node_modules/zod/v4/locales/es.js +136 -0
- package/node_modules/zod/v4/locales/fa.cjs +146 -0
- package/node_modules/zod/v4/locales/fa.d.cts +5 -0
- package/node_modules/zod/v4/locales/fa.d.ts +4 -0
- package/node_modules/zod/v4/locales/fa.js +119 -0
- package/node_modules/zod/v4/locales/fi.cjs +144 -0
- package/node_modules/zod/v4/locales/fi.d.cts +5 -0
- package/node_modules/zod/v4/locales/fi.d.ts +4 -0
- package/node_modules/zod/v4/locales/fi.js +117 -0
- package/node_modules/zod/v4/locales/fr-CA.cjs +139 -0
- package/node_modules/zod/v4/locales/fr-CA.d.cts +5 -0
- package/node_modules/zod/v4/locales/fr-CA.d.ts +4 -0
- package/node_modules/zod/v4/locales/fr-CA.js +112 -0
- package/node_modules/zod/v4/locales/fr.cjs +156 -0
- package/node_modules/zod/v4/locales/fr.d.cts +5 -0
- package/node_modules/zod/v4/locales/fr.d.ts +4 -0
- package/node_modules/zod/v4/locales/fr.js +129 -0
- package/node_modules/zod/v4/locales/gu.cjs +140 -0
- package/node_modules/zod/v4/locales/gu.d.cts +5 -0
- package/node_modules/zod/v4/locales/gu.d.ts +4 -0
- package/node_modules/zod/v4/locales/gu.js +113 -0
- package/node_modules/zod/v4/locales/he.cjs +248 -0
- package/node_modules/zod/v4/locales/he.d.cts +5 -0
- package/node_modules/zod/v4/locales/he.d.ts +4 -0
- package/node_modules/zod/v4/locales/he.js +221 -0
- package/node_modules/zod/v4/locales/hi.cjs +138 -0
- package/node_modules/zod/v4/locales/hi.d.cts +5 -0
- package/node_modules/zod/v4/locales/hi.d.ts +4 -0
- package/node_modules/zod/v4/locales/hi.js +111 -0
- package/node_modules/zod/v4/locales/hr.cjs +153 -0
- package/node_modules/zod/v4/locales/hr.d.cts +5 -0
- package/node_modules/zod/v4/locales/hr.d.ts +4 -0
- package/node_modules/zod/v4/locales/hr.js +126 -0
- package/node_modules/zod/v4/locales/hu.cjs +140 -0
- package/node_modules/zod/v4/locales/hu.d.cts +5 -0
- package/node_modules/zod/v4/locales/hu.d.ts +4 -0
- package/node_modules/zod/v4/locales/hu.js +113 -0
- package/node_modules/zod/v4/locales/hy.cjs +185 -0
- package/node_modules/zod/v4/locales/hy.d.cts +5 -0
- package/node_modules/zod/v4/locales/hy.d.ts +4 -0
- package/node_modules/zod/v4/locales/hy.js +158 -0
- package/node_modules/zod/v4/locales/id.cjs +138 -0
- package/node_modules/zod/v4/locales/id.d.cts +5 -0
- package/node_modules/zod/v4/locales/id.d.ts +4 -0
- package/node_modules/zod/v4/locales/id.js +111 -0
- package/node_modules/zod/v4/locales/index.cjs +152 -0
- package/node_modules/zod/v4/locales/index.d.cts +63 -0
- package/node_modules/zod/v4/locales/index.d.ts +63 -0
- package/node_modules/zod/v4/locales/index.js +63 -0
- package/node_modules/zod/v4/locales/is.cjs +141 -0
- package/node_modules/zod/v4/locales/is.d.cts +5 -0
- package/node_modules/zod/v4/locales/is.d.ts +4 -0
- package/node_modules/zod/v4/locales/is.js +114 -0
- package/node_modules/zod/v4/locales/it.cjs +140 -0
- package/node_modules/zod/v4/locales/it.d.cts +5 -0
- package/node_modules/zod/v4/locales/it.d.ts +4 -0
- package/node_modules/zod/v4/locales/it.js +113 -0
- package/node_modules/zod/v4/locales/ja.cjs +139 -0
- package/node_modules/zod/v4/locales/ja.d.cts +5 -0
- package/node_modules/zod/v4/locales/ja.d.ts +4 -0
- package/node_modules/zod/v4/locales/ja.js +112 -0
- package/node_modules/zod/v4/locales/ka.cjs +144 -0
- package/node_modules/zod/v4/locales/ka.d.cts +5 -0
- package/node_modules/zod/v4/locales/ka.d.ts +4 -0
- package/node_modules/zod/v4/locales/ka.js +117 -0
- package/node_modules/zod/v4/locales/kh.cjs +12 -0
- package/node_modules/zod/v4/locales/kh.d.cts +5 -0
- package/node_modules/zod/v4/locales/kh.d.ts +5 -0
- package/node_modules/zod/v4/locales/kh.js +5 -0
- package/node_modules/zod/v4/locales/km.cjs +142 -0
- package/node_modules/zod/v4/locales/km.d.cts +5 -0
- package/node_modules/zod/v4/locales/km.d.ts +4 -0
- package/node_modules/zod/v4/locales/km.js +115 -0
- package/node_modules/zod/v4/locales/kn.cjs +143 -0
- package/node_modules/zod/v4/locales/kn.d.cts +5 -0
- package/node_modules/zod/v4/locales/kn.d.ts +4 -0
- package/node_modules/zod/v4/locales/kn.js +116 -0
- package/node_modules/zod/v4/locales/ko.cjs +143 -0
- package/node_modules/zod/v4/locales/ko.d.cts +5 -0
- package/node_modules/zod/v4/locales/ko.d.ts +4 -0
- package/node_modules/zod/v4/locales/ko.js +116 -0
- package/node_modules/zod/v4/locales/lt.cjs +234 -0
- package/node_modules/zod/v4/locales/lt.d.cts +5 -0
- package/node_modules/zod/v4/locales/lt.d.ts +4 -0
- package/node_modules/zod/v4/locales/lt.js +207 -0
- package/node_modules/zod/v4/locales/mk.cjs +141 -0
- package/node_modules/zod/v4/locales/mk.d.cts +5 -0
- package/node_modules/zod/v4/locales/mk.d.ts +4 -0
- package/node_modules/zod/v4/locales/mk.js +114 -0
- package/node_modules/zod/v4/locales/ms.cjs +139 -0
- package/node_modules/zod/v4/locales/ms.d.cts +5 -0
- package/node_modules/zod/v4/locales/ms.d.ts +4 -0
- package/node_modules/zod/v4/locales/ms.js +112 -0
- package/node_modules/zod/v4/locales/ne.cjs +138 -0
- package/node_modules/zod/v4/locales/ne.d.cts +5 -0
- package/node_modules/zod/v4/locales/ne.d.ts +4 -0
- package/node_modules/zod/v4/locales/ne.js +111 -0
- package/node_modules/zod/v4/locales/nl.cjs +142 -0
- package/node_modules/zod/v4/locales/nl.d.cts +5 -0
- package/node_modules/zod/v4/locales/nl.d.ts +4 -0
- package/node_modules/zod/v4/locales/nl.js +115 -0
- package/node_modules/zod/v4/locales/nn.cjs +140 -0
- package/node_modules/zod/v4/locales/nn.d.cts +5 -0
- package/node_modules/zod/v4/locales/nn.d.ts +4 -0
- package/node_modules/zod/v4/locales/nn.js +113 -0
- package/node_modules/zod/v4/locales/no.cjs +140 -0
- package/node_modules/zod/v4/locales/no.d.cts +5 -0
- package/node_modules/zod/v4/locales/no.d.ts +4 -0
- package/node_modules/zod/v4/locales/no.js +113 -0
- package/node_modules/zod/v4/locales/ota.cjs +141 -0
- package/node_modules/zod/v4/locales/ota.d.cts +5 -0
- package/node_modules/zod/v4/locales/ota.d.ts +4 -0
- package/node_modules/zod/v4/locales/ota.js +114 -0
- package/node_modules/zod/v4/locales/package.json +7 -0
- package/node_modules/zod/v4/locales/pl.cjs +141 -0
- package/node_modules/zod/v4/locales/pl.d.cts +5 -0
- package/node_modules/zod/v4/locales/pl.d.ts +4 -0
- package/node_modules/zod/v4/locales/pl.js +114 -0
- package/node_modules/zod/v4/locales/ps.cjs +146 -0
- package/node_modules/zod/v4/locales/ps.d.cts +5 -0
- package/node_modules/zod/v4/locales/ps.d.ts +4 -0
- package/node_modules/zod/v4/locales/ps.js +119 -0
- package/node_modules/zod/v4/locales/pt-BR.cjs +170 -0
- package/node_modules/zod/v4/locales/pt-BR.d.cts +5 -0
- package/node_modules/zod/v4/locales/pt-BR.d.ts +4 -0
- package/node_modules/zod/v4/locales/pt-BR.js +143 -0
- package/node_modules/zod/v4/locales/pt.cjs +169 -0
- package/node_modules/zod/v4/locales/pt.d.cts +5 -0
- package/node_modules/zod/v4/locales/pt.d.ts +4 -0
- package/node_modules/zod/v4/locales/pt.js +142 -0
- package/node_modules/zod/v4/locales/ro.cjs +149 -0
- package/node_modules/zod/v4/locales/ro.d.cts +5 -0
- package/node_modules/zod/v4/locales/ro.d.ts +4 -0
- package/node_modules/zod/v4/locales/ro.js +122 -0
- package/node_modules/zod/v4/locales/ru.cjs +195 -0
- package/node_modules/zod/v4/locales/ru.d.cts +5 -0
- package/node_modules/zod/v4/locales/ru.d.ts +4 -0
- package/node_modules/zod/v4/locales/ru.js +168 -0
- package/node_modules/zod/v4/locales/sk.cjs +143 -0
- package/node_modules/zod/v4/locales/sk.d.cts +5 -0
- package/node_modules/zod/v4/locales/sk.d.ts +4 -0
- package/node_modules/zod/v4/locales/sk.js +116 -0
- package/node_modules/zod/v4/locales/sl.cjs +141 -0
- package/node_modules/zod/v4/locales/sl.d.cts +5 -0
- package/node_modules/zod/v4/locales/sl.d.ts +4 -0
- package/node_modules/zod/v4/locales/sl.js +114 -0
- package/node_modules/zod/v4/locales/sv.cjs +142 -0
- package/node_modules/zod/v4/locales/sv.d.cts +5 -0
- package/node_modules/zod/v4/locales/sv.d.ts +4 -0
- package/node_modules/zod/v4/locales/sv.js +115 -0
- package/node_modules/zod/v4/locales/ta.cjs +142 -0
- package/node_modules/zod/v4/locales/ta.d.cts +5 -0
- package/node_modules/zod/v4/locales/ta.d.ts +4 -0
- package/node_modules/zod/v4/locales/ta.js +115 -0
- package/node_modules/zod/v4/locales/tg.cjs +144 -0
- package/node_modules/zod/v4/locales/tg.d.cts +5 -0
- package/node_modules/zod/v4/locales/tg.d.ts +4 -0
- package/node_modules/zod/v4/locales/tg.js +117 -0
- package/node_modules/zod/v4/locales/th.cjs +142 -0
- package/node_modules/zod/v4/locales/th.d.cts +5 -0
- package/node_modules/zod/v4/locales/th.d.ts +4 -0
- package/node_modules/zod/v4/locales/th.js +115 -0
- package/node_modules/zod/v4/locales/tk.cjs +134 -0
- package/node_modules/zod/v4/locales/tk.d.cts +5 -0
- package/node_modules/zod/v4/locales/tk.d.ts +4 -0
- package/node_modules/zod/v4/locales/tk.js +107 -0
- package/node_modules/zod/v4/locales/tr.cjs +137 -0
- package/node_modules/zod/v4/locales/tr.d.cts +5 -0
- package/node_modules/zod/v4/locales/tr.d.ts +4 -0
- package/node_modules/zod/v4/locales/tr.js +110 -0
- package/node_modules/zod/v4/locales/ua.cjs +12 -0
- package/node_modules/zod/v4/locales/ua.d.cts +5 -0
- package/node_modules/zod/v4/locales/ua.d.ts +5 -0
- package/node_modules/zod/v4/locales/ua.js +5 -0
- package/node_modules/zod/v4/locales/uk.cjs +140 -0
- package/node_modules/zod/v4/locales/uk.d.cts +5 -0
- package/node_modules/zod/v4/locales/uk.d.ts +4 -0
- package/node_modules/zod/v4/locales/uk.js +113 -0
- package/node_modules/zod/v4/locales/ur.cjs +142 -0
- package/node_modules/zod/v4/locales/ur.d.cts +5 -0
- package/node_modules/zod/v4/locales/ur.d.ts +4 -0
- package/node_modules/zod/v4/locales/ur.js +115 -0
- package/node_modules/zod/v4/locales/uz.cjs +140 -0
- package/node_modules/zod/v4/locales/uz.d.cts +5 -0
- package/node_modules/zod/v4/locales/uz.d.ts +4 -0
- package/node_modules/zod/v4/locales/uz.js +113 -0
- package/node_modules/zod/v4/locales/vi.cjs +140 -0
- package/node_modules/zod/v4/locales/vi.d.cts +5 -0
- package/node_modules/zod/v4/locales/vi.d.ts +4 -0
- package/node_modules/zod/v4/locales/vi.js +113 -0
- package/node_modules/zod/v4/locales/yo.cjs +139 -0
- package/node_modules/zod/v4/locales/yo.d.cts +5 -0
- package/node_modules/zod/v4/locales/yo.d.ts +4 -0
- package/node_modules/zod/v4/locales/yo.js +112 -0
- package/node_modules/zod/v4/locales/zh-CN.cjs +141 -0
- package/node_modules/zod/v4/locales/zh-CN.d.cts +5 -0
- package/node_modules/zod/v4/locales/zh-CN.d.ts +4 -0
- package/node_modules/zod/v4/locales/zh-CN.js +114 -0
- package/node_modules/zod/v4/locales/zh-TW.cjs +139 -0
- package/node_modules/zod/v4/locales/zh-TW.d.cts +5 -0
- package/node_modules/zod/v4/locales/zh-TW.d.ts +4 -0
- package/node_modules/zod/v4/locales/zh-TW.js +112 -0
- package/node_modules/zod/v4/mini/checks.cjs +54 -0
- package/node_modules/zod/v4/mini/checks.d.cts +1 -0
- package/node_modules/zod/v4/mini/checks.d.ts +1 -0
- package/node_modules/zod/v4/mini/checks.js +1 -0
- package/node_modules/zod/v4/mini/coerce.cjs +71 -0
- package/node_modules/zod/v4/mini/coerce.d.cts +7 -0
- package/node_modules/zod/v4/mini/coerce.d.ts +7 -0
- package/node_modules/zod/v4/mini/coerce.js +22 -0
- package/node_modules/zod/v4/mini/deep-partial.cjs +58 -0
- package/node_modules/zod/v4/mini/deep-partial.d.cts +14 -0
- package/node_modules/zod/v4/mini/deep-partial.d.ts +14 -0
- package/node_modules/zod/v4/mini/deep-partial.js +13 -0
- package/node_modules/zod/v4/mini/external.cjs +95 -0
- package/node_modules/zod/v4/mini/external.d.cts +16 -0
- package/node_modules/zod/v4/mini/external.d.ts +16 -0
- package/node_modules/zod/v4/mini/external.js +16 -0
- package/node_modules/zod/v4/mini/in-out.cjs +82 -0
- package/node_modules/zod/v4/mini/in-out.d.cts +8 -0
- package/node_modules/zod/v4/mini/in-out.d.ts +8 -0
- package/node_modules/zod/v4/mini/in-out.js +36 -0
- package/node_modules/zod/v4/mini/index.cjs +51 -0
- package/node_modules/zod/v4/mini/index.d.cts +3 -0
- package/node_modules/zod/v4/mini/index.d.ts +3 -0
- package/node_modules/zod/v4/mini/index.js +3 -0
- package/node_modules/zod/v4/mini/iso.cjs +83 -0
- package/node_modules/zod/v4/mini/iso.d.cts +22 -0
- package/node_modules/zod/v4/mini/iso.d.ts +22 -0
- package/node_modules/zod/v4/mini/iso.js +34 -0
- package/node_modules/zod/v4/mini/package.json +7 -0
- package/node_modules/zod/v4/mini/parse.cjs +37 -0
- package/node_modules/zod/v4/mini/parse.d.cts +1 -0
- package/node_modules/zod/v4/mini/parse.d.ts +1 -0
- package/node_modules/zod/v4/mini/parse.js +1 -0
- package/node_modules/zod/v4/mini/schemas.cjs +1147 -0
- package/node_modules/zod/v4/mini/schemas.d.cts +480 -0
- package/node_modules/zod/v4/mini/schemas.d.ts +480 -0
- package/node_modules/zod/v4/mini/schemas.js +1002 -0
- package/node_modules/zod/v4/package.json +7 -0
- package/node_modules/zod/v4-mini/index.cjs +51 -0
- package/node_modules/zod/v4-mini/index.d.cts +3 -0
- package/node_modules/zod/v4-mini/index.d.ts +3 -0
- package/node_modules/zod/v4-mini/index.js +3 -0
- package/node_modules/zod/v4-mini/package.json +7 -0
- package/package.json +19 -3
- package/sandbox/boot/bootstrap/drives.ps1 +29 -0
- package/sandbox/boot/bootstrap/files.ps1 +49 -0
- package/sandbox/boot/bootstrap/runner.ps1 +87 -0
- package/sandbox/boot/bootstrap/status.ps1 +8 -0
- package/sandbox/boot/bootstrap.ps1 +91 -0
- package/sandbox/boot/logon.cmd +30 -0
- package/sandbox/csharp/CargoShim.cs +77 -0
- package/sandbox/csharp/Desktop.cs +33 -0
- package/sandbox/csharp/GitShim.cs +47 -0
- package/sandbox/csharp/LinkGate.cs +108 -0
- package/sandbox/csharp/OpenSsl.cs +56 -0
- package/sandbox/csharp/PtyHost.cs +1327 -0
- package/sandbox/csharp/SandboxTools/CpuCap.cs +134 -0
- package/sandbox/csharp/SandboxTools/MemoryLog.cs +157 -0
- package/sandbox/csharp/SandboxTools/PageFile.cs +72 -0
- package/sandbox/csharp/SandboxTools/Program.cs +153 -0
- package/sandbox/csharp/VsWhere.cs +145 -0
- package/sandbox/csharp/VtInput.cs +63 -0
- package/sandbox/scripts/enable-vt-input.ps1 +9 -0
- package/sandbox/scripts/expand-archive.ps1 +9 -0
- package/sandbox/scripts/get-gpu-names.ps1 +5 -0
- package/sandbox/scripts/get-signer.ps1 +8 -0
- package/sandbox/scripts/link-profile-dirs.ps1 +35 -0
- package/sandbox/scripts/new-shortcuts.ps1 +15 -0
- package/sandbox/scripts/set-desktop.ps1 +16 -0
- package/sandbox/scripts/set-dns-servers.ps1 +8 -0
- package/sandbox/scripts/set-machine-environment.ps1 +29 -0
- package/schemas/config.schema.json +142 -7
- package/schemas/sandbox-config.schema.json +64 -7
- package/dist/cli/boot-progress.d.ts +0 -22
- package/dist/cli/boot-progress.js +0 -59
- package/dist/cli/colors.d.ts +0 -24
- package/dist/cli/colors.js +0 -42
- package/dist/cli/commands/launch.d.ts +0 -32
- package/dist/cli/commands/launch.js +0 -421
- package/dist/cli/commands/maintenance.d.ts +0 -10
- package/dist/cli/commands/maintenance.js +0 -220
- package/dist/cli/commands/project.d.ts +0 -33
- package/dist/cli/commands/project.js +0 -102
- package/dist/cli/commands/projects.d.ts +0 -14
- package/dist/cli/commands/projects.js +0 -146
- package/dist/cli/commands/restart.d.ts +0 -6
- package/dist/cli/commands/restart.js +0 -95
- package/dist/cli/commands/sessions.d.ts +0 -12
- package/dist/cli/commands/sessions.js +0 -258
- package/dist/cli/menu/settings/editors.d.ts +0 -30
- package/dist/cli/menu/settings/editors.js +0 -305
- package/dist/cli/progress.d.ts +0 -24
- package/dist/cli/progress.js +0 -101
- package/dist/cli/tui/dialogs.d.ts +0 -57
- package/dist/cli/tui/dialogs.js +0 -162
- package/dist/cli/tui/list-screen.d.ts +0 -101
- package/dist/cli/tui/list-screen.js +0 -299
- package/dist/core/config.d.ts +0 -17
- package/dist/core/config.js +0 -109
- package/dist/core/detect-databases.d.ts +0 -15
- package/dist/core/detect-databases.js +0 -147
- package/dist/core/detect-pwsh.d.ts +0 -18
- package/dist/core/detect-pwsh.js +0 -111
- package/dist/core/detect-toolchains.d.ts +0 -30
- package/dist/core/detect-toolchains.js +0 -58
- package/dist/core/local-config.d.ts +0 -50
- package/dist/core/local-config.js +0 -142
- package/dist/core/project-policy.d.ts +0 -62
- package/dist/core/project-policy.js +0 -121
- package/dist/core/schema.d.ts +0 -6
- package/dist/core/schema.js +0 -8
- package/dist/core/util.d.ts +0 -62
- package/dist/core/util.js +0 -156
- package/dist/core/workspace.d.ts +0 -35
- package/dist/core/workspace.js +0 -206
- package/dist/guest/audit-parse.d.ts +0 -7
- package/dist/guest/audit-parse.js +0 -24
- package/dist/guest/audit.d.ts +0 -4
- package/dist/guest/audit.js +0 -47
- package/dist/guest/boot-env.d.ts +0 -4
- package/dist/guest/boot-env.js +0 -25
- package/dist/guest/cmdline.d.ts +0 -12
- package/dist/guest/cmdline.js +0 -23
- package/dist/guest/daemon/project.d.ts +0 -14
- package/dist/guest/daemon/project.js +0 -132
- package/dist/guest/daemon/session.d.ts +0 -13
- package/dist/guest/daemon/session.js +0 -139
- package/dist/guest/daemon/shutdown.d.ts +0 -1
- package/dist/guest/daemon/shutdown.js +0 -21
- package/dist/guest/daemon.js +0 -57
- package/dist/guest/db.js +0 -75
- package/dist/guest/env.d.ts +0 -56
- package/dist/guest/env.js +0 -115
- package/dist/guest/gitguard.d.ts +0 -7
- package/dist/guest/gitguard.js +0 -60
- package/dist/guest/gitrules.d.ts +0 -2
- package/dist/guest/gitrules.js +0 -11
- package/dist/guest/guide.d.ts +0 -16
- package/dist/guest/guide.js +0 -69
- package/dist/guest/helpers.d.ts +0 -3
- package/dist/guest/helpers.js +0 -26
- package/dist/guest/main.js +0 -147
- package/dist/guest/netproxy.js +0 -100
- package/dist/guest/ports.d.ts +0 -6
- package/dist/guest/ports.js +0 -22
- package/dist/guest/project-context.d.ts +0 -7
- package/dist/guest/project-context.js +0 -10
- package/dist/guest/project-env.d.ts +0 -20
- package/dist/guest/project-env.js +0 -20
- package/dist/guest/project-status.d.ts +0 -5
- package/dist/guest/project-status.js +0 -17
- package/dist/guest/ptyhost.d.ts +0 -22
- package/dist/guest/ptyhost.js +0 -46
- package/dist/guest/setup/agents.d.ts +0 -11
- package/dist/guest/setup/agents.js +0 -87
- package/dist/guest/setup/claude.d.ts +0 -17
- package/dist/guest/setup/claude.js +0 -192
- package/dist/guest/setup/network.d.ts +0 -19
- package/dist/guest/setup/network.js +0 -192
- package/dist/guest/setup/policy.d.ts +0 -3
- package/dist/guest/setup/policy.js +0 -18
- package/dist/guest/setup/user.d.ts +0 -7
- package/dist/guest/setup/user.js +0 -51
- package/dist/guest/toolchains/cli.d.ts +0 -10
- package/dist/guest/toolchains/cli.js +0 -72
- package/dist/guest/toolchains/common.d.ts +0 -54
- package/dist/guest/toolchains/common.js +0 -147
- package/dist/guest/toolchains/databases/dynamodb.d.ts +0 -8
- package/dist/guest/toolchains/databases/dynamodb.js +0 -52
- package/dist/guest/toolchains/databases/index.d.ts +0 -6
- package/dist/guest/toolchains/databases/index.js +0 -62
- package/dist/guest/toolchains/databases/mongodb.d.ts +0 -3
- package/dist/guest/toolchains/databases/mongodb.js +0 -31
- package/dist/guest/toolchains/databases/mysql.d.ts +0 -3
- package/dist/guest/toolchains/databases/mysql.js +0 -38
- package/dist/guest/toolchains/databases/postgres.d.ts +0 -5
- package/dist/guest/toolchains/databases/postgres.js +0 -38
- package/dist/guest/toolchains/databases/redis.d.ts +0 -3
- package/dist/guest/toolchains/databases/redis.js +0 -16
- package/dist/guest/toolchains/databases/server.d.ts +0 -14
- package/dist/guest/toolchains/databases/server.js +0 -52
- package/dist/guest/toolchains/git.d.ts +0 -3
- package/dist/guest/toolchains/git.js +0 -121
- package/dist/guest/toolchains/go.d.ts +0 -3
- package/dist/guest/toolchains/go.js +0 -33
- package/dist/guest/toolchains/java.d.ts +0 -8
- package/dist/guest/toolchains/java.js +0 -96
- package/dist/guest/toolchains/node.d.ts +0 -3
- package/dist/guest/toolchains/node.js +0 -152
- package/dist/guest/toolchains/pwsh.d.ts +0 -4
- package/dist/guest/toolchains/pwsh.js +0 -14
- package/dist/guest/toolchains/python.d.ts +0 -3
- package/dist/guest/toolchains/python.js +0 -78
- package/dist/guest/toolchains/scripting/php.d.ts +0 -3
- package/dist/guest/toolchains/scripting/php.js +0 -71
- package/dist/guest/toolchains/scripting/ruby.d.ts +0 -3
- package/dist/guest/toolchains/scripting/ruby.js +0 -47
- package/dist/guest/toolchains/scripting/vcruntime.d.ts +0 -7
- package/dist/guest/toolchains/scripting/vcruntime.js +0 -45
- package/dist/guest/toolchains/versions.d.ts +0 -47
- package/dist/guest/toolchains/versions.js +0 -77
- package/dist/guest/toolchains/vscode-profile.d.ts +0 -30
- package/dist/guest/toolchains/vscode-profile.js +0 -69
- package/dist/guest/toolchains/vscode.d.ts +0 -19
- package/dist/guest/toolchains/vscode.js +0 -139
- package/dist/guest/view.d.ts +0 -1
- package/dist/guest/view.js +0 -42
- package/dist/host/accounts.d.ts +0 -32
- package/dist/host/accounts.js +0 -128
- package/dist/host/agent-commands.d.ts +0 -25
- package/dist/host/agent-commands.js +0 -145
- package/dist/host/attach.d.ts +0 -17
- package/dist/host/attach.js +0 -70
- package/dist/host/channel.d.ts +0 -38
- package/dist/host/channel.js +0 -163
- package/dist/host/claude-profile.d.ts +0 -15
- package/dist/host/claude-profile.js +0 -107
- package/dist/host/cleanup.d.ts +0 -23
- package/dist/host/cleanup.js +0 -57
- package/dist/host/database-plan.d.ts +0 -12
- package/dist/host/database-plan.js +0 -52
- package/dist/host/generate.d.ts +0 -13
- package/dist/host/generate.js +0 -115
- package/dist/host/join.d.ts +0 -35
- package/dist/host/join.js +0 -90
- package/dist/host/launch/projects.d.ts +0 -17
- package/dist/host/launch/projects.js +0 -62
- package/dist/host/launch/wsb.d.ts +0 -10
- package/dist/host/launch/wsb.js +0 -34
- package/dist/host/motw.d.ts +0 -17
- package/dist/host/motw.js +0 -74
- package/dist/host/pc-scan.d.ts +0 -6
- package/dist/host/pc-scan.js +0 -37
- package/dist/host/personalize.d.ts +0 -10
- package/dist/host/personalize.js +0 -97
- package/dist/host/platform.d.ts +0 -19
- package/dist/host/platform.js +0 -129
- package/dist/host/port-forward.d.ts +0 -8
- package/dist/host/port-forward.js +0 -37
- package/dist/host/project-scan.d.ts +0 -7
- package/dist/host/project-scan.js +0 -89
- package/dist/host/projects.d.ts +0 -123
- package/dist/host/projects.js +0 -196
- package/dist/host/repo-guard.d.ts +0 -43
- package/dist/host/repo-guard.js +0 -347
- package/dist/host/secrets.d.ts +0 -14
- package/dist/host/secrets.js +0 -133
- package/dist/host/stops.d.ts +0 -67
- package/dist/host/stops.js +0 -126
- package/dist/host/terminal.d.ts +0 -40
- package/dist/host/terminal.js +0 -174
- package/dist/host/window.d.ts +0 -4
- package/dist/host/window.js +0 -72
- package/dist/host/wsb.d.ts +0 -37
- package/dist/host/wsb.js +0 -101
- package/dist/selftest/fixtures.d.ts +0 -318
- package/dist/selftest/fixtures.js +0 -82
- package/dist/selftest/harness.d.ts +0 -51
- package/dist/selftest/harness.js +0 -77
- package/dist/selftest/live.d.ts +0 -65
- package/dist/selftest/live.js +0 -109
- package/dist/shared/apps.d.ts +0 -49
- package/dist/shared/apps.js +0 -114
- package/dist/shared/console-input.d.ts +0 -11
- package/dist/shared/console-input.js +0 -61
- package/dist/shared/download.d.ts +0 -63
- package/dist/shared/download.js +0 -238
- package/dist/shared/guest-paths.d.ts +0 -57
- package/dist/shared/guest-paths.js +0 -129
- package/dist/shared/netpolicy.d.ts +0 -27
- package/dist/shared/netpolicy.js +0 -51
- package/dist/shared/netrules.d.ts +0 -18
- package/dist/shared/netrules.js +0 -98
- package/dist/shared/paths.d.ts +0 -14
- package/dist/shared/paths.js +0 -28
- package/dist/shared/projects.d.ts +0 -76
- package/dist/shared/projects.js +0 -126
- package/dist/shared/pty-client.d.ts +0 -108
- package/dist/shared/pty-client.js +0 -406
- package/dist/shared/rundir.d.ts +0 -41
- package/dist/shared/rundir.js +0 -96
- package/dist/shared/safe-remove.d.ts +0 -10
- package/dist/shared/safe-remove.js +0 -66
- package/dist/shared/schema.d.ts +0 -561
- package/dist/shared/schema.js +0 -104
- package/sandbox/bootstrap.ps1 +0 -258
- package/sandbox/cargoshim.cs +0 -56
- package/sandbox/cpucap.cs +0 -33
- package/sandbox/cpucap.ps1 +0 -20
- package/sandbox/gitshim.cs +0 -35
- package/sandbox/logon.cmd +0 -24
- package/sandbox/memlog.ps1 +0 -34
- package/sandbox/openssl.cs +0 -42
- package/sandbox/pagefile.cs +0 -31
- package/sandbox/pagefile.ps1 +0 -21
- package/sandbox/ptyhost.cs +0 -769
- package/sandbox/vswhere.cs +0 -83
- /package/dist/{guest/daemon.d.ts → cli/tui/list/list-types.js} +0 -0
- /package/dist/{guest/db.d.ts → cli/tui/screen.js} +0 -0
- /package/dist/guest/{main.d.ts → entries/daemon.d.ts} +0 -0
- /package/dist/guest/{netproxy.d.ts → entries/db.d.ts} +0 -0
- /package/dist/{selftest/suite.js → guest/entries/gitguard.d.ts} +0 -0
- /package/dist/selftest/{suite.d.ts → support/suite.d.ts} +0 -0
- /package/sandbox/{trust.cmd → boot/trust.cmd} +0 -0
|
@@ -0,0 +1,2051 @@
|
|
|
1
|
+
import * as core from "../core/index.js";
|
|
2
|
+
import type { $ZodBigIntFormats } from "../core/index.js";
|
|
3
|
+
import * as regexes from "../core/regexes.js";
|
|
4
|
+
import * as util from "../core/util.js";
|
|
5
|
+
import * as parse from "./parse.js";
|
|
6
|
+
|
|
7
|
+
type SomeType = core.SomeType;
|
|
8
|
+
|
|
9
|
+
export interface ZodMiniType<
|
|
10
|
+
out Output = unknown,
|
|
11
|
+
out Input = unknown,
|
|
12
|
+
out Internals extends core.$ZodTypeInternals<Output, Input> = core.$ZodTypeInternals<Output, Input>,
|
|
13
|
+
> extends core.$ZodType<Output, Input, Internals> {
|
|
14
|
+
type: Internals["def"]["type"];
|
|
15
|
+
check(...checks: (core.CheckFn<core.output<this>> | core.$ZodCheck<core.output<this>>)[]): this;
|
|
16
|
+
with(...checks: (core.CheckFn<core.output<this>> | core.$ZodCheck<core.output<this>>)[]): this;
|
|
17
|
+
clone(def?: Internals["def"], params?: { parent: boolean }): this;
|
|
18
|
+
register<R extends core.$ZodRegistry>(
|
|
19
|
+
registry: R,
|
|
20
|
+
...meta: this extends R["_schema"]
|
|
21
|
+
? undefined extends R["_meta"]
|
|
22
|
+
? [core.$replace<R["_meta"], this>?]
|
|
23
|
+
: [core.$replace<R["_meta"], this>]
|
|
24
|
+
: ["Incompatible schema"]
|
|
25
|
+
): this;
|
|
26
|
+
brand<T extends PropertyKey = PropertyKey, Dir extends "in" | "out" | "inout" = "out">(
|
|
27
|
+
value?: T
|
|
28
|
+
): PropertyKey extends T ? this : core.$ZodBranded<this, T, Dir>;
|
|
29
|
+
|
|
30
|
+
def: Internals["def"];
|
|
31
|
+
|
|
32
|
+
parse(data: unknown, params?: core.ParseContext<core.$ZodIssue>): core.output<this>;
|
|
33
|
+
safeParse(data: unknown, params?: core.ParseContext<core.$ZodIssue>): util.SafeParseResult<core.output<this>>;
|
|
34
|
+
parseAsync(data: unknown, params?: core.ParseContext<core.$ZodIssue>): Promise<core.output<this>>;
|
|
35
|
+
safeParseAsync(
|
|
36
|
+
data: unknown,
|
|
37
|
+
params?: core.ParseContext<core.$ZodIssue>
|
|
38
|
+
): Promise<util.SafeParseResult<core.output<this>>>;
|
|
39
|
+
apply<T, TArgs extends unknown[] = []>(fn: (schema: this, ...args: TArgs) => T, ...args: TArgs): T;
|
|
40
|
+
}
|
|
41
|
+
|
|
42
|
+
interface _ZodMiniType<out Internals extends core.$ZodTypeInternals = core.$ZodTypeInternals>
|
|
43
|
+
extends ZodMiniType<any, any, Internals> {}
|
|
44
|
+
|
|
45
|
+
export const ZodMiniType: core.$constructor<ZodMiniType> = /*@__PURE__*/ core.$constructor<ZodMiniType>(
|
|
46
|
+
"ZodMiniType",
|
|
47
|
+
(inst, def) => {
|
|
48
|
+
if (!inst._zod) throw new Error("Uninitialized schema in ZodMiniType.");
|
|
49
|
+
|
|
50
|
+
core.$ZodType.init(inst, def);
|
|
51
|
+
|
|
52
|
+
inst.def = def;
|
|
53
|
+
inst.type = def.type;
|
|
54
|
+
},
|
|
55
|
+
{
|
|
56
|
+
// `with` is an alias for `check`: the same function object, not a wrapper.
|
|
57
|
+
get with(): ZodMiniType["check"] {
|
|
58
|
+
return this.check;
|
|
59
|
+
},
|
|
60
|
+
set with(value: ZodMiniType["check"]) {
|
|
61
|
+
util.own(this, "with", value);
|
|
62
|
+
},
|
|
63
|
+
parse(data, params) {
|
|
64
|
+
return parse.parse(this, data, params, { callee: this.parse });
|
|
65
|
+
},
|
|
66
|
+
parseAsync(data, params) {
|
|
67
|
+
return parse.parseAsync(this, data, params, { callee: this.parseAsync });
|
|
68
|
+
},
|
|
69
|
+
safeParse(data, params) {
|
|
70
|
+
return parse.safeParse(this, data, params);
|
|
71
|
+
},
|
|
72
|
+
safeParseAsync(data, params) {
|
|
73
|
+
return parse.safeParseAsync(this, data, params);
|
|
74
|
+
},
|
|
75
|
+
check(...checks) {
|
|
76
|
+
const def = this.def;
|
|
77
|
+
return this.clone(
|
|
78
|
+
{
|
|
79
|
+
...def,
|
|
80
|
+
checks: [
|
|
81
|
+
...(def.checks ?? []),
|
|
82
|
+
...checks.map((ch) =>
|
|
83
|
+
typeof ch === "function" ? { _zod: { check: ch, def: { check: "custom" }, onattach: [] } } : ch
|
|
84
|
+
),
|
|
85
|
+
],
|
|
86
|
+
},
|
|
87
|
+
{ parent: true }
|
|
88
|
+
);
|
|
89
|
+
},
|
|
90
|
+
clone(_def, params) {
|
|
91
|
+
return core.clone(this, _def, params);
|
|
92
|
+
},
|
|
93
|
+
brand() {
|
|
94
|
+
return this as any;
|
|
95
|
+
},
|
|
96
|
+
register(reg: any, meta: any): any {
|
|
97
|
+
reg.add(this, meta);
|
|
98
|
+
return this;
|
|
99
|
+
},
|
|
100
|
+
apply(fn: any, ...args: any[]) {
|
|
101
|
+
return args.length === 0 ? fn(this) : fn(this, ...args);
|
|
102
|
+
},
|
|
103
|
+
}
|
|
104
|
+
);
|
|
105
|
+
|
|
106
|
+
export interface _ZodMiniString<T extends core.$ZodStringInternals<unknown> = core.$ZodStringInternals<unknown>>
|
|
107
|
+
extends _ZodMiniType<T>,
|
|
108
|
+
core.$ZodString<T["input"]> {
|
|
109
|
+
_zod: T;
|
|
110
|
+
}
|
|
111
|
+
|
|
112
|
+
// ZodMiniString
|
|
113
|
+
export interface ZodMiniString<Input = unknown>
|
|
114
|
+
extends _ZodMiniString<core.$ZodStringInternals<Input>>,
|
|
115
|
+
core.$ZodString<Input> {}
|
|
116
|
+
export const ZodMiniString: core.$constructor<ZodMiniString> = /*@__PURE__*/ core.$constructor(
|
|
117
|
+
"ZodMiniString",
|
|
118
|
+
(inst, def) => {
|
|
119
|
+
core.$ZodString.init(inst, def);
|
|
120
|
+
ZodMiniType.init(inst, def);
|
|
121
|
+
}
|
|
122
|
+
);
|
|
123
|
+
|
|
124
|
+
// @__NO_SIDE_EFFECTS__
|
|
125
|
+
export function string(params?: string | core.$ZodStringParams): ZodMiniString<string> {
|
|
126
|
+
return core._string(ZodMiniString, params) as any;
|
|
127
|
+
}
|
|
128
|
+
|
|
129
|
+
// ZodMiniStringFormat
|
|
130
|
+
export interface ZodMiniStringFormat<Format extends string = string>
|
|
131
|
+
extends _ZodMiniString<core.$ZodStringFormatInternals<Format>>,
|
|
132
|
+
core.$ZodStringFormat<Format> {
|
|
133
|
+
// _zod: core.$ZodStringFormatInternals<Format>;
|
|
134
|
+
}
|
|
135
|
+
export const ZodMiniStringFormat: core.$constructor<ZodMiniStringFormat> = /*@__PURE__*/ core.$constructor(
|
|
136
|
+
"ZodMiniStringFormat",
|
|
137
|
+
(inst, def) => {
|
|
138
|
+
core.$ZodStringFormat.init(inst, def);
|
|
139
|
+
ZodMiniString.init(inst, def);
|
|
140
|
+
}
|
|
141
|
+
);
|
|
142
|
+
|
|
143
|
+
// ZodMiniEmail
|
|
144
|
+
export interface ZodMiniEmail extends _ZodMiniString<core.$ZodEmailInternals> {}
|
|
145
|
+
export const ZodMiniEmail: core.$constructor<ZodMiniEmail> = /*@__PURE__*/ core.$constructor(
|
|
146
|
+
"ZodMiniEmail",
|
|
147
|
+
(inst, def) => {
|
|
148
|
+
core.$ZodEmail.init(inst, def);
|
|
149
|
+
ZodMiniStringFormat.init(inst, def);
|
|
150
|
+
}
|
|
151
|
+
);
|
|
152
|
+
|
|
153
|
+
// @__NO_SIDE_EFFECTS__
|
|
154
|
+
export function email(params?: string | core.$ZodEmailParams): ZodMiniEmail {
|
|
155
|
+
return core._email(ZodMiniEmail, params);
|
|
156
|
+
}
|
|
157
|
+
|
|
158
|
+
// ZodMiniGUID
|
|
159
|
+
export interface ZodMiniGUID extends _ZodMiniString<core.$ZodGUIDInternals> {
|
|
160
|
+
// _zod: core.$ZodGUIDInternals;
|
|
161
|
+
}
|
|
162
|
+
export const ZodMiniGUID: core.$constructor<ZodMiniGUID> = /*@__PURE__*/ core.$constructor(
|
|
163
|
+
"ZodMiniGUID",
|
|
164
|
+
(inst, def) => {
|
|
165
|
+
core.$ZodGUID.init(inst, def);
|
|
166
|
+
ZodMiniStringFormat.init(inst, def);
|
|
167
|
+
}
|
|
168
|
+
);
|
|
169
|
+
|
|
170
|
+
// @__NO_SIDE_EFFECTS__
|
|
171
|
+
export function guid(params?: string | core.$ZodGUIDParams): ZodMiniGUID {
|
|
172
|
+
return core._guid(ZodMiniGUID, params);
|
|
173
|
+
}
|
|
174
|
+
|
|
175
|
+
// ZodMiniUUID
|
|
176
|
+
export interface ZodMiniUUID extends _ZodMiniString<core.$ZodUUIDInternals> {
|
|
177
|
+
// _zod: core.$ZodUUIDInternals;
|
|
178
|
+
}
|
|
179
|
+
export const ZodMiniUUID: core.$constructor<ZodMiniUUID> = /*@__PURE__*/ core.$constructor(
|
|
180
|
+
"ZodMiniUUID",
|
|
181
|
+
(inst, def) => {
|
|
182
|
+
core.$ZodUUID.init(inst, def);
|
|
183
|
+
ZodMiniStringFormat.init(inst, def);
|
|
184
|
+
}
|
|
185
|
+
);
|
|
186
|
+
|
|
187
|
+
// @__NO_SIDE_EFFECTS__
|
|
188
|
+
export function uuid(params?: string | core.$ZodUUIDParams): ZodMiniUUID {
|
|
189
|
+
return core._uuid(ZodMiniUUID, params);
|
|
190
|
+
}
|
|
191
|
+
|
|
192
|
+
// @__NO_SIDE_EFFECTS__
|
|
193
|
+
export function uuidv4(params?: string | core.$ZodUUIDv4Params): ZodMiniUUID {
|
|
194
|
+
return core._uuidv4(ZodMiniUUID, params);
|
|
195
|
+
}
|
|
196
|
+
|
|
197
|
+
// ZodMiniUUIDv6
|
|
198
|
+
|
|
199
|
+
// @__NO_SIDE_EFFECTS__
|
|
200
|
+
export function uuidv6(params?: string | core.$ZodUUIDv6Params): ZodMiniUUID {
|
|
201
|
+
return core._uuidv6(ZodMiniUUID, params);
|
|
202
|
+
}
|
|
203
|
+
|
|
204
|
+
// ZodMiniUUIDv7
|
|
205
|
+
|
|
206
|
+
// @__NO_SIDE_EFFECTS__
|
|
207
|
+
export function uuidv7(params?: string | core.$ZodUUIDv7Params): ZodMiniUUID {
|
|
208
|
+
return core._uuidv7(ZodMiniUUID, params);
|
|
209
|
+
}
|
|
210
|
+
|
|
211
|
+
// ZodMiniURL
|
|
212
|
+
export interface ZodMiniURL extends _ZodMiniString<core.$ZodURLInternals> {
|
|
213
|
+
// _zod: core.$ZodURLInternals;
|
|
214
|
+
}
|
|
215
|
+
export const ZodMiniURL: core.$constructor<ZodMiniURL> = /*@__PURE__*/ core.$constructor("ZodMiniURL", (inst, def) => {
|
|
216
|
+
core.$ZodURL.init(inst, def);
|
|
217
|
+
ZodMiniStringFormat.init(inst, def);
|
|
218
|
+
});
|
|
219
|
+
|
|
220
|
+
// @__NO_SIDE_EFFECTS__
|
|
221
|
+
export function url(params?: string | core.$ZodURLParams): ZodMiniURL {
|
|
222
|
+
return core._url(ZodMiniURL, params);
|
|
223
|
+
}
|
|
224
|
+
|
|
225
|
+
// @__NO_SIDE_EFFECTS__
|
|
226
|
+
export function httpUrl(params?: string | Omit<core.$ZodURLParams, "protocol" | "hostname">): ZodMiniURL {
|
|
227
|
+
return core._url(ZodMiniURL, {
|
|
228
|
+
protocol: regexes.httpProtocol,
|
|
229
|
+
hostname: regexes.domain,
|
|
230
|
+
...util.normalizeParams(params),
|
|
231
|
+
});
|
|
232
|
+
}
|
|
233
|
+
|
|
234
|
+
// ZodMiniEmoji
|
|
235
|
+
export interface ZodMiniEmoji extends _ZodMiniString<core.$ZodEmojiInternals> {
|
|
236
|
+
// _zod: core.$ZodEmojiInternals;
|
|
237
|
+
}
|
|
238
|
+
export const ZodMiniEmoji: core.$constructor<ZodMiniEmoji> = /*@__PURE__*/ core.$constructor(
|
|
239
|
+
"ZodMiniEmoji",
|
|
240
|
+
(inst, def) => {
|
|
241
|
+
core.$ZodEmoji.init(inst, def);
|
|
242
|
+
ZodMiniStringFormat.init(inst, def);
|
|
243
|
+
}
|
|
244
|
+
);
|
|
245
|
+
|
|
246
|
+
// @__NO_SIDE_EFFECTS__
|
|
247
|
+
export function emoji(params?: string | core.$ZodEmojiParams): ZodMiniEmoji {
|
|
248
|
+
return core._emoji(ZodMiniEmoji, params);
|
|
249
|
+
}
|
|
250
|
+
|
|
251
|
+
// ZodMiniNanoID
|
|
252
|
+
export interface ZodMiniNanoID extends _ZodMiniString<core.$ZodNanoIDInternals> {
|
|
253
|
+
// _zod: core.$ZodNanoIDInternals;
|
|
254
|
+
}
|
|
255
|
+
export const ZodMiniNanoID: core.$constructor<ZodMiniNanoID> = /*@__PURE__*/ core.$constructor(
|
|
256
|
+
"ZodMiniNanoID",
|
|
257
|
+
(inst, def) => {
|
|
258
|
+
core.$ZodNanoID.init(inst, def);
|
|
259
|
+
ZodMiniStringFormat.init(inst, def);
|
|
260
|
+
}
|
|
261
|
+
);
|
|
262
|
+
|
|
263
|
+
// @__NO_SIDE_EFFECTS__
|
|
264
|
+
export function nanoid(params?: string | core.$ZodNanoIDParams): ZodMiniNanoID {
|
|
265
|
+
return core._nanoid(ZodMiniNanoID, params);
|
|
266
|
+
}
|
|
267
|
+
|
|
268
|
+
// ZodMiniCUID
|
|
269
|
+
/**
|
|
270
|
+
* @deprecated CUID v1 is deprecated by its authors due to information leakage
|
|
271
|
+
* (timestamps embedded in the id). Use {@link ZodMiniCUID2} instead.
|
|
272
|
+
* See https://github.com/paralleldrive/cuid.
|
|
273
|
+
*/
|
|
274
|
+
export interface ZodMiniCUID extends _ZodMiniString<core.$ZodCUIDInternals> {
|
|
275
|
+
// _zod: core.$ZodCUIDInternals;
|
|
276
|
+
}
|
|
277
|
+
/**
|
|
278
|
+
* @deprecated CUID v1 is deprecated by its authors due to information leakage
|
|
279
|
+
* (timestamps embedded in the id). Use {@link ZodMiniCUID2} instead.
|
|
280
|
+
* See https://github.com/paralleldrive/cuid.
|
|
281
|
+
*/
|
|
282
|
+
export const ZodMiniCUID: core.$constructor<ZodMiniCUID> = /*@__PURE__*/ core.$constructor(
|
|
283
|
+
"ZodMiniCUID",
|
|
284
|
+
(inst, def) => {
|
|
285
|
+
core.$ZodCUID.init(inst, def);
|
|
286
|
+
ZodMiniStringFormat.init(inst, def);
|
|
287
|
+
}
|
|
288
|
+
);
|
|
289
|
+
|
|
290
|
+
/**
|
|
291
|
+
* Validates a CUID v1 string.
|
|
292
|
+
*
|
|
293
|
+
* @deprecated CUID v1 is deprecated by its authors due to information leakage
|
|
294
|
+
* (timestamps embedded in the id). Use {@link cuid2 | `z.cuid2()`} instead.
|
|
295
|
+
* See https://github.com/paralleldrive/cuid.
|
|
296
|
+
*/
|
|
297
|
+
// @__NO_SIDE_EFFECTS__
|
|
298
|
+
export function cuid(params?: string | core.$ZodCUIDParams): ZodMiniCUID {
|
|
299
|
+
return core._cuid(ZodMiniCUID, params);
|
|
300
|
+
}
|
|
301
|
+
|
|
302
|
+
// ZodMiniCUID2
|
|
303
|
+
export interface ZodMiniCUID2 extends _ZodMiniString<core.$ZodCUID2Internals> {
|
|
304
|
+
// _zod: core.$ZodCUID2Internals;
|
|
305
|
+
}
|
|
306
|
+
export const ZodMiniCUID2: core.$constructor<ZodMiniCUID2> = /*@__PURE__*/ core.$constructor(
|
|
307
|
+
"ZodMiniCUID2",
|
|
308
|
+
(inst, def) => {
|
|
309
|
+
core.$ZodCUID2.init(inst, def);
|
|
310
|
+
ZodMiniStringFormat.init(inst, def);
|
|
311
|
+
}
|
|
312
|
+
);
|
|
313
|
+
|
|
314
|
+
// @__NO_SIDE_EFFECTS__
|
|
315
|
+
export function cuid2(params?: string | core.$ZodCUID2Params): ZodMiniCUID2 {
|
|
316
|
+
return core._cuid2(ZodMiniCUID2, params);
|
|
317
|
+
}
|
|
318
|
+
|
|
319
|
+
// ZodMiniULID
|
|
320
|
+
export interface ZodMiniULID extends _ZodMiniString<core.$ZodULIDInternals> {
|
|
321
|
+
// _zod: core.$ZodULIDInternals;
|
|
322
|
+
}
|
|
323
|
+
export const ZodMiniULID: core.$constructor<ZodMiniULID> = /*@__PURE__*/ core.$constructor(
|
|
324
|
+
"ZodMiniULID",
|
|
325
|
+
(inst, def) => {
|
|
326
|
+
core.$ZodULID.init(inst, def);
|
|
327
|
+
ZodMiniStringFormat.init(inst, def);
|
|
328
|
+
}
|
|
329
|
+
);
|
|
330
|
+
|
|
331
|
+
// @__NO_SIDE_EFFECTS__
|
|
332
|
+
export function ulid(params?: string | core.$ZodULIDParams): ZodMiniULID {
|
|
333
|
+
return core._ulid(ZodMiniULID, params);
|
|
334
|
+
}
|
|
335
|
+
|
|
336
|
+
// ZodMiniXID
|
|
337
|
+
export interface ZodMiniXID extends _ZodMiniString<core.$ZodXIDInternals> {
|
|
338
|
+
// _zod: core.$ZodXIDInternals;
|
|
339
|
+
}
|
|
340
|
+
export const ZodMiniXID: core.$constructor<ZodMiniXID> = /*@__PURE__*/ core.$constructor("ZodMiniXID", (inst, def) => {
|
|
341
|
+
core.$ZodXID.init(inst, def);
|
|
342
|
+
ZodMiniStringFormat.init(inst, def);
|
|
343
|
+
});
|
|
344
|
+
|
|
345
|
+
// @__NO_SIDE_EFFECTS__
|
|
346
|
+
export function xid(params?: string | core.$ZodXIDParams): ZodMiniXID {
|
|
347
|
+
return core._xid(ZodMiniXID, params);
|
|
348
|
+
}
|
|
349
|
+
|
|
350
|
+
// ZodMiniKSUID
|
|
351
|
+
export interface ZodMiniKSUID extends _ZodMiniString<core.$ZodKSUIDInternals> {
|
|
352
|
+
// _zod: core.$ZodKSUIDInternals;
|
|
353
|
+
}
|
|
354
|
+
export const ZodMiniKSUID: core.$constructor<ZodMiniKSUID> = /*@__PURE__*/ core.$constructor(
|
|
355
|
+
"ZodMiniKSUID",
|
|
356
|
+
(inst, def) => {
|
|
357
|
+
core.$ZodKSUID.init(inst, def);
|
|
358
|
+
ZodMiniStringFormat.init(inst, def);
|
|
359
|
+
}
|
|
360
|
+
);
|
|
361
|
+
|
|
362
|
+
// @__NO_SIDE_EFFECTS__
|
|
363
|
+
export function ksuid(params?: string | core.$ZodKSUIDParams): ZodMiniKSUID {
|
|
364
|
+
return core._ksuid(ZodMiniKSUID, params);
|
|
365
|
+
}
|
|
366
|
+
|
|
367
|
+
// ZodMiniIPv4
|
|
368
|
+
export interface ZodMiniIPv4 extends _ZodMiniString<core.$ZodIPv4Internals> {
|
|
369
|
+
// _zod: core.$ZodIPv4Internals;
|
|
370
|
+
}
|
|
371
|
+
export const ZodMiniIPv4: core.$constructor<ZodMiniIPv4> = /*@__PURE__*/ core.$constructor(
|
|
372
|
+
"ZodMiniIPv4",
|
|
373
|
+
(inst, def) => {
|
|
374
|
+
core.$ZodIPv4.init(inst, def);
|
|
375
|
+
ZodMiniStringFormat.init(inst, def);
|
|
376
|
+
}
|
|
377
|
+
);
|
|
378
|
+
|
|
379
|
+
// @__NO_SIDE_EFFECTS__
|
|
380
|
+
export function ipv4(params?: string | core.$ZodIPv4Params): ZodMiniIPv4 {
|
|
381
|
+
return core._ipv4(ZodMiniIPv4, params);
|
|
382
|
+
}
|
|
383
|
+
|
|
384
|
+
// ZodMiniIPv6
|
|
385
|
+
export interface ZodMiniIPv6 extends _ZodMiniString<core.$ZodIPv6Internals> {
|
|
386
|
+
// _zod: core.$ZodIPv6Internals;
|
|
387
|
+
}
|
|
388
|
+
export const ZodMiniIPv6: core.$constructor<ZodMiniIPv6> = /*@__PURE__*/ core.$constructor(
|
|
389
|
+
"ZodMiniIPv6",
|
|
390
|
+
(inst, def) => {
|
|
391
|
+
core.$ZodIPv6.init(inst, def);
|
|
392
|
+
ZodMiniStringFormat.init(inst, def);
|
|
393
|
+
}
|
|
394
|
+
);
|
|
395
|
+
|
|
396
|
+
// @__NO_SIDE_EFFECTS__
|
|
397
|
+
export function ipv6(params?: string | core.$ZodIPv6Params): ZodMiniIPv6 {
|
|
398
|
+
return core._ipv6(ZodMiniIPv6, params);
|
|
399
|
+
}
|
|
400
|
+
|
|
401
|
+
// ZodMiniCIDRv4
|
|
402
|
+
export interface ZodMiniCIDRv4 extends _ZodMiniString<core.$ZodCIDRv4Internals> {
|
|
403
|
+
// _zod: core.$ZodCIDRv4Internals;
|
|
404
|
+
}
|
|
405
|
+
export const ZodMiniCIDRv4: core.$constructor<ZodMiniCIDRv4> = /*@__PURE__*/ core.$constructor(
|
|
406
|
+
"ZodMiniCIDRv4",
|
|
407
|
+
(inst, def) => {
|
|
408
|
+
core.$ZodCIDRv4.init(inst, def);
|
|
409
|
+
ZodMiniStringFormat.init(inst, def);
|
|
410
|
+
}
|
|
411
|
+
);
|
|
412
|
+
|
|
413
|
+
// @__NO_SIDE_EFFECTS__
|
|
414
|
+
export function cidrv4(params?: string | core.$ZodCIDRv4Params): ZodMiniCIDRv4 {
|
|
415
|
+
return core._cidrv4(ZodMiniCIDRv4, params);
|
|
416
|
+
}
|
|
417
|
+
|
|
418
|
+
// ZodMiniCIDRv6
|
|
419
|
+
export interface ZodMiniCIDRv6 extends _ZodMiniString<core.$ZodCIDRv6Internals> {
|
|
420
|
+
// _zod: core.$ZodCIDRv6Internals;
|
|
421
|
+
}
|
|
422
|
+
export const ZodMiniCIDRv6: core.$constructor<ZodMiniCIDRv6> = /*@__PURE__*/ core.$constructor(
|
|
423
|
+
"ZodMiniCIDRv6",
|
|
424
|
+
(inst, def) => {
|
|
425
|
+
core.$ZodCIDRv6.init(inst, def);
|
|
426
|
+
ZodMiniStringFormat.init(inst, def);
|
|
427
|
+
}
|
|
428
|
+
);
|
|
429
|
+
|
|
430
|
+
// @__NO_SIDE_EFFECTS__
|
|
431
|
+
export function cidrv6(params?: string | core.$ZodCIDRv6Params): ZodMiniCIDRv6 {
|
|
432
|
+
return core._cidrv6(ZodMiniCIDRv6, params);
|
|
433
|
+
}
|
|
434
|
+
|
|
435
|
+
// ZodMiniMAC
|
|
436
|
+
export interface ZodMiniMAC extends _ZodMiniString<core.$ZodMACInternals> {
|
|
437
|
+
// _zod: core.$ZodMACInternals;
|
|
438
|
+
}
|
|
439
|
+
export const ZodMiniMAC: core.$constructor<ZodMiniMAC> = /*@__PURE__*/ core.$constructor("ZodMiniMAC", (inst, def) => {
|
|
440
|
+
core.$ZodMAC.init(inst, def);
|
|
441
|
+
ZodMiniStringFormat.init(inst, def);
|
|
442
|
+
});
|
|
443
|
+
|
|
444
|
+
// @__NO_SIDE_EFFECTS__
|
|
445
|
+
export function mac(params?: string | core.$ZodMACParams): ZodMiniMAC {
|
|
446
|
+
return core._mac(ZodMiniMAC, params);
|
|
447
|
+
}
|
|
448
|
+
|
|
449
|
+
// ZodMiniBase64
|
|
450
|
+
export interface ZodMiniBase64 extends _ZodMiniString<core.$ZodBase64Internals> {
|
|
451
|
+
// _zod: core.$ZodBase64Internals;
|
|
452
|
+
}
|
|
453
|
+
export const ZodMiniBase64: core.$constructor<ZodMiniBase64> = /*@__PURE__*/ core.$constructor(
|
|
454
|
+
"ZodMiniBase64",
|
|
455
|
+
(inst, def) => {
|
|
456
|
+
core.$ZodBase64.init(inst, def);
|
|
457
|
+
ZodMiniStringFormat.init(inst, def);
|
|
458
|
+
}
|
|
459
|
+
);
|
|
460
|
+
// @__NO_SIDE_EFFECTS__
|
|
461
|
+
export function base64(params?: string | core.$ZodBase64Params): ZodMiniBase64 {
|
|
462
|
+
return core._base64(ZodMiniBase64, params);
|
|
463
|
+
}
|
|
464
|
+
|
|
465
|
+
// ZodMiniBase64URL
|
|
466
|
+
export interface ZodMiniBase64URL extends _ZodMiniString<core.$ZodBase64URLInternals> {
|
|
467
|
+
// _zod: core.$ZodBase64URLInternals;
|
|
468
|
+
}
|
|
469
|
+
export const ZodMiniBase64URL: core.$constructor<ZodMiniBase64URL> = /*@__PURE__*/ core.$constructor(
|
|
470
|
+
"ZodMiniBase64URL",
|
|
471
|
+
(inst, def) => {
|
|
472
|
+
core.$ZodBase64URL.init(inst, def);
|
|
473
|
+
ZodMiniStringFormat.init(inst, def);
|
|
474
|
+
}
|
|
475
|
+
);
|
|
476
|
+
// @__NO_SIDE_EFFECTS__
|
|
477
|
+
export function base64url(params?: string | core.$ZodBase64URLParams): ZodMiniBase64URL {
|
|
478
|
+
return core._base64url(ZodMiniBase64URL, params);
|
|
479
|
+
}
|
|
480
|
+
|
|
481
|
+
// ZodMiniE164
|
|
482
|
+
export interface ZodMiniE164 extends _ZodMiniString<core.$ZodE164Internals> {
|
|
483
|
+
// _zod: core.$ZodE164Internals;
|
|
484
|
+
}
|
|
485
|
+
export const ZodMiniE164: core.$constructor<ZodMiniE164> = /*@__PURE__*/ core.$constructor(
|
|
486
|
+
"ZodMiniE164",
|
|
487
|
+
(inst, def) => {
|
|
488
|
+
core.$ZodE164.init(inst, def);
|
|
489
|
+
ZodMiniStringFormat.init(inst, def);
|
|
490
|
+
}
|
|
491
|
+
);
|
|
492
|
+
|
|
493
|
+
// @__NO_SIDE_EFFECTS__
|
|
494
|
+
export function e164(params?: string | core.$ZodE164Params): ZodMiniE164 {
|
|
495
|
+
return core._e164(ZodMiniE164, params);
|
|
496
|
+
}
|
|
497
|
+
|
|
498
|
+
// ZodMiniCreditCard
|
|
499
|
+
export interface ZodMiniCreditCard extends _ZodMiniString<core.$ZodCreditCardInternals> {}
|
|
500
|
+
export const ZodMiniCreditCard: core.$constructor<ZodMiniCreditCard> = /*@__PURE__*/ core.$constructor(
|
|
501
|
+
"ZodMiniCreditCard",
|
|
502
|
+
(inst, def) => {
|
|
503
|
+
core.$ZodCreditCard.init(inst, def);
|
|
504
|
+
ZodMiniStringFormat.init(inst, def);
|
|
505
|
+
}
|
|
506
|
+
);
|
|
507
|
+
|
|
508
|
+
// @__NO_SIDE_EFFECTS__
|
|
509
|
+
export function creditCard(params?: string | core.$ZodCreditCardParams): ZodMiniCreditCard {
|
|
510
|
+
return core._creditCard(ZodMiniCreditCard, params);
|
|
511
|
+
}
|
|
512
|
+
|
|
513
|
+
// ZodMiniIBAN
|
|
514
|
+
export interface ZodMiniIBAN extends _ZodMiniString<core.$ZodIBANInternals> {}
|
|
515
|
+
export const ZodMiniIBAN: core.$constructor<ZodMiniIBAN> = /*@__PURE__*/ core.$constructor(
|
|
516
|
+
"ZodMiniIBAN",
|
|
517
|
+
(inst, def) => {
|
|
518
|
+
core.$ZodIBAN.init(inst, def);
|
|
519
|
+
ZodMiniStringFormat.init(inst, def);
|
|
520
|
+
}
|
|
521
|
+
);
|
|
522
|
+
|
|
523
|
+
// @__NO_SIDE_EFFECTS__
|
|
524
|
+
export function iban(params?: string | core.$ZodIBANParams): ZodMiniIBAN {
|
|
525
|
+
return core._iban(ZodMiniIBAN, params);
|
|
526
|
+
}
|
|
527
|
+
|
|
528
|
+
// ZodMiniJWT
|
|
529
|
+
export interface ZodMiniJWT extends _ZodMiniString<core.$ZodJWTInternals> {
|
|
530
|
+
// _zod: core.$ZodJWTInternals;
|
|
531
|
+
}
|
|
532
|
+
export const ZodMiniJWT: core.$constructor<ZodMiniJWT> = /*@__PURE__*/ core.$constructor("ZodMiniJWT", (inst, def) => {
|
|
533
|
+
core.$ZodJWT.init(inst, def);
|
|
534
|
+
ZodMiniStringFormat.init(inst, def);
|
|
535
|
+
});
|
|
536
|
+
|
|
537
|
+
// @__NO_SIDE_EFFECTS__
|
|
538
|
+
export function jwt(params?: string | core.$ZodJWTParams): ZodMiniJWT {
|
|
539
|
+
return core._jwt(ZodMiniJWT, params);
|
|
540
|
+
}
|
|
541
|
+
|
|
542
|
+
// ZodMiniCustomStringFormat
|
|
543
|
+
export interface ZodMiniCustomStringFormat<Format extends string = string>
|
|
544
|
+
extends ZodMiniStringFormat<Format>,
|
|
545
|
+
core.$ZodCustomStringFormat<Format> {
|
|
546
|
+
_zod: core.$ZodCustomStringFormatInternals<Format>;
|
|
547
|
+
}
|
|
548
|
+
export const ZodMiniCustomStringFormat: core.$constructor<ZodMiniCustomStringFormat> = /*@__PURE__*/ core.$constructor(
|
|
549
|
+
"ZodMiniCustomStringFormat",
|
|
550
|
+
(inst, def) => {
|
|
551
|
+
core.$ZodCustomStringFormat.init(inst, def);
|
|
552
|
+
ZodMiniStringFormat.init(inst, def);
|
|
553
|
+
}
|
|
554
|
+
);
|
|
555
|
+
|
|
556
|
+
// @__NO_SIDE_EFFECTS__
|
|
557
|
+
export function stringFormat<Format extends string>(
|
|
558
|
+
format: Format,
|
|
559
|
+
fnOrRegex: ((arg: string) => util.MaybeAsync<unknown>) | RegExp,
|
|
560
|
+
_params: string | core.$ZodStringFormatParams = {}
|
|
561
|
+
): ZodMiniCustomStringFormat<Format> {
|
|
562
|
+
return core._stringFormat(ZodMiniCustomStringFormat, format, fnOrRegex, _params) as any;
|
|
563
|
+
}
|
|
564
|
+
|
|
565
|
+
// @__NO_SIDE_EFFECTS__
|
|
566
|
+
export function hostname(_params?: string | core.$ZodStringFormatParams): ZodMiniCustomStringFormat<"hostname"> {
|
|
567
|
+
return core._stringFormat(ZodMiniCustomStringFormat, "hostname", regexes.hostname, _params) as any;
|
|
568
|
+
}
|
|
569
|
+
|
|
570
|
+
// @__NO_SIDE_EFFECTS__
|
|
571
|
+
export function hex(_params?: string | core.$ZodStringFormatParams): ZodMiniCustomStringFormat<"hex"> {
|
|
572
|
+
return core._stringFormat(ZodMiniCustomStringFormat, "hex", regexes.hex, _params) as any;
|
|
573
|
+
}
|
|
574
|
+
|
|
575
|
+
// @__NO_SIDE_EFFECTS__
|
|
576
|
+
export function currencyCode(
|
|
577
|
+
_params?: string | core.$ZodStringFormatParams
|
|
578
|
+
): ZodMiniCustomStringFormat<"currency_code"> {
|
|
579
|
+
return core._stringFormat(ZodMiniCustomStringFormat, "currency_code", regexes.currencyCode, _params) as any;
|
|
580
|
+
}
|
|
581
|
+
|
|
582
|
+
// @__NO_SIDE_EFFECTS__
|
|
583
|
+
export function hash<Alg extends util.HashAlgorithm, Enc extends util.HashEncoding = "hex">(
|
|
584
|
+
alg: Alg,
|
|
585
|
+
params?: {
|
|
586
|
+
enc?: Enc;
|
|
587
|
+
} & core.$ZodStringFormatParams
|
|
588
|
+
): ZodMiniCustomStringFormat<`${Alg}_${Enc}`> {
|
|
589
|
+
const enc = params?.enc ?? "hex";
|
|
590
|
+
const format = `${alg}_${enc}` as const;
|
|
591
|
+
const regex = core.regexes[format as keyof typeof core.regexes] as RegExp;
|
|
592
|
+
// check for unrecognized format
|
|
593
|
+
if (!regex) throw new Error(`Unrecognized hash format: ${format}`);
|
|
594
|
+
return core._stringFormat(ZodMiniCustomStringFormat, format, regex, params) as any;
|
|
595
|
+
}
|
|
596
|
+
|
|
597
|
+
// ZodMiniNumber
|
|
598
|
+
interface _ZodMiniNumber<T extends core.$ZodNumberInternals<unknown> = core.$ZodNumberInternals<unknown>>
|
|
599
|
+
extends _ZodMiniType<T>,
|
|
600
|
+
core.$ZodNumber<T["input"]> {
|
|
601
|
+
_zod: T;
|
|
602
|
+
}
|
|
603
|
+
export interface ZodMiniNumber<Input = unknown>
|
|
604
|
+
extends _ZodMiniNumber<core.$ZodNumberInternals<Input>>,
|
|
605
|
+
core.$ZodNumber<Input> {}
|
|
606
|
+
export const ZodMiniNumber: core.$constructor<ZodMiniNumber> = /*@__PURE__*/ core.$constructor(
|
|
607
|
+
"ZodMiniNumber",
|
|
608
|
+
(inst, def) => {
|
|
609
|
+
core.$ZodNumber.init(inst, def);
|
|
610
|
+
ZodMiniType.init(inst, def);
|
|
611
|
+
}
|
|
612
|
+
);
|
|
613
|
+
|
|
614
|
+
// @__NO_SIDE_EFFECTS__
|
|
615
|
+
export function number(params?: string | core.$ZodNumberParams): ZodMiniNumber<number> {
|
|
616
|
+
return core._number(ZodMiniNumber, params) as any;
|
|
617
|
+
}
|
|
618
|
+
|
|
619
|
+
// ZodMiniNumberFormat
|
|
620
|
+
export interface ZodMiniNumberFormat<Format extends core.$ZodNumberFormats = core.$ZodNumberFormats>
|
|
621
|
+
extends _ZodMiniNumber<core.$ZodNumberFormatInternals<Format>>,
|
|
622
|
+
core.$ZodNumberFormat<Format> {}
|
|
623
|
+
export const ZodMiniNumberFormat: core.$constructor<ZodMiniNumberFormat> = /*@__PURE__*/ core.$constructor(
|
|
624
|
+
"ZodMiniNumberFormat",
|
|
625
|
+
(inst, def) => {
|
|
626
|
+
core.$ZodNumberFormat.init(inst, def);
|
|
627
|
+
ZodMiniNumber.init(inst, def);
|
|
628
|
+
}
|
|
629
|
+
);
|
|
630
|
+
|
|
631
|
+
// int
|
|
632
|
+
|
|
633
|
+
// @__NO_SIDE_EFFECTS__
|
|
634
|
+
export interface ZodMiniInt extends ZodMiniNumberFormat<"safeint"> {}
|
|
635
|
+
export function int(params?: string | core.$ZodCheckNumberFormatParams): ZodMiniInt {
|
|
636
|
+
return core._int(ZodMiniNumberFormat, params) as ZodMiniInt;
|
|
637
|
+
}
|
|
638
|
+
|
|
639
|
+
// float32
|
|
640
|
+
|
|
641
|
+
// @__NO_SIDE_EFFECTS__
|
|
642
|
+
export interface ZodMiniFloat32 extends ZodMiniNumberFormat<"float32"> {}
|
|
643
|
+
export function float32(params?: string | core.$ZodCheckNumberFormatParams): ZodMiniFloat32 {
|
|
644
|
+
return core._float32(ZodMiniNumberFormat, params) as ZodMiniFloat32;
|
|
645
|
+
}
|
|
646
|
+
|
|
647
|
+
// float64
|
|
648
|
+
|
|
649
|
+
// @__NO_SIDE_EFFECTS__
|
|
650
|
+
export interface ZodMiniFloat64 extends ZodMiniNumberFormat<"float64"> {}
|
|
651
|
+
export function float64(params?: string | core.$ZodCheckNumberFormatParams): ZodMiniFloat64 {
|
|
652
|
+
return core._float64(ZodMiniNumberFormat, params) as ZodMiniFloat64;
|
|
653
|
+
}
|
|
654
|
+
|
|
655
|
+
// int32
|
|
656
|
+
|
|
657
|
+
// @__NO_SIDE_EFFECTS__
|
|
658
|
+
export interface ZodMiniInt32 extends ZodMiniNumberFormat<"int32"> {}
|
|
659
|
+
export function int32(params?: string | core.$ZodCheckNumberFormatParams): ZodMiniInt32 {
|
|
660
|
+
return core._int32(ZodMiniNumberFormat, params) as ZodMiniInt32;
|
|
661
|
+
}
|
|
662
|
+
|
|
663
|
+
// uint32
|
|
664
|
+
|
|
665
|
+
// @__NO_SIDE_EFFECTS__
|
|
666
|
+
export interface ZodMiniUInt32 extends ZodMiniNumberFormat<"uint32"> {}
|
|
667
|
+
export function uint32(params?: string | core.$ZodCheckNumberFormatParams): ZodMiniUInt32 {
|
|
668
|
+
return core._uint32(ZodMiniNumberFormat, params) as ZodMiniUInt32;
|
|
669
|
+
}
|
|
670
|
+
|
|
671
|
+
// ZodMiniBoolean
|
|
672
|
+
export interface ZodMiniBoolean<T = unknown> extends _ZodMiniType<core.$ZodBooleanInternals<T>> {
|
|
673
|
+
// _zod: core.$ZodBooleanInternals<T>;
|
|
674
|
+
}
|
|
675
|
+
export const ZodMiniBoolean: core.$constructor<ZodMiniBoolean> = /*@__PURE__*/ core.$constructor(
|
|
676
|
+
"ZodMiniBoolean",
|
|
677
|
+
(inst, def) => {
|
|
678
|
+
core.$ZodBoolean.init(inst, def);
|
|
679
|
+
ZodMiniType.init(inst, def);
|
|
680
|
+
}
|
|
681
|
+
);
|
|
682
|
+
|
|
683
|
+
// @__NO_SIDE_EFFECTS__
|
|
684
|
+
export function boolean(params?: string | core.$ZodBooleanParams): ZodMiniBoolean<boolean> {
|
|
685
|
+
return core._boolean(ZodMiniBoolean, params) as any;
|
|
686
|
+
}
|
|
687
|
+
|
|
688
|
+
// ZodMiniBigInt
|
|
689
|
+
export interface ZodMiniBigInt<T = unknown> extends _ZodMiniType<core.$ZodBigIntInternals<T>>, core.$ZodBigInt<T> {
|
|
690
|
+
// _zod: core.$ZodBigIntInternals<T>;
|
|
691
|
+
}
|
|
692
|
+
export const ZodMiniBigInt: core.$constructor<ZodMiniBigInt> = /*@__PURE__*/ core.$constructor(
|
|
693
|
+
"ZodMiniBigInt",
|
|
694
|
+
(inst, def) => {
|
|
695
|
+
core.$ZodBigInt.init(inst, def);
|
|
696
|
+
ZodMiniType.init(inst, def);
|
|
697
|
+
}
|
|
698
|
+
);
|
|
699
|
+
|
|
700
|
+
// @__NO_SIDE_EFFECTS__
|
|
701
|
+
export function bigint(params?: string | core.$ZodBigIntParams): ZodMiniBigInt<bigint> {
|
|
702
|
+
return core._bigint(ZodMiniBigInt, params) as any;
|
|
703
|
+
}
|
|
704
|
+
|
|
705
|
+
// bigint formats
|
|
706
|
+
|
|
707
|
+
// ZodMiniBigIntFormat
|
|
708
|
+
export interface ZodMiniBigIntFormat<Format extends $ZodBigIntFormats = $ZodBigIntFormats>
|
|
709
|
+
extends _ZodMiniType<core.$ZodBigIntFormatInternals<Format>> {
|
|
710
|
+
// _zod: core.$ZodBigIntFormatInternals<Format>;
|
|
711
|
+
}
|
|
712
|
+
export const ZodMiniBigIntFormat: core.$constructor<ZodMiniBigIntFormat> = /*@__PURE__*/ core.$constructor(
|
|
713
|
+
"ZodMiniBigIntFormat",
|
|
714
|
+
(inst, def) => {
|
|
715
|
+
core.$ZodBigIntFormat.init(inst, def);
|
|
716
|
+
ZodMiniBigInt.init(inst, def);
|
|
717
|
+
}
|
|
718
|
+
);
|
|
719
|
+
|
|
720
|
+
// int64
|
|
721
|
+
|
|
722
|
+
// @__NO_SIDE_EFFECTS__
|
|
723
|
+
export interface ZodMiniInt64 extends ZodMiniBigIntFormat<"int64"> {}
|
|
724
|
+
export function int64(params?: string | core.$ZodBigIntFormatParams): ZodMiniInt64 {
|
|
725
|
+
return core._int64(ZodMiniBigIntFormat, params) as ZodMiniInt64;
|
|
726
|
+
}
|
|
727
|
+
|
|
728
|
+
// uint64
|
|
729
|
+
|
|
730
|
+
// @__NO_SIDE_EFFECTS__
|
|
731
|
+
export interface ZodMiniUInt64 extends ZodMiniBigIntFormat<"uint64"> {}
|
|
732
|
+
export function uint64(params?: string | core.$ZodBigIntFormatParams): ZodMiniUInt64 {
|
|
733
|
+
return core._uint64(ZodMiniBigIntFormat, params) as ZodMiniUInt64;
|
|
734
|
+
}
|
|
735
|
+
|
|
736
|
+
// ZodMiniSymbol
|
|
737
|
+
export interface ZodMiniSymbol extends _ZodMiniType<core.$ZodSymbolInternals> {
|
|
738
|
+
// _zod: core.$ZodSymbolInternals;
|
|
739
|
+
}
|
|
740
|
+
export const ZodMiniSymbol: core.$constructor<ZodMiniSymbol> = /*@__PURE__*/ core.$constructor(
|
|
741
|
+
"ZodMiniSymbol",
|
|
742
|
+
(inst, def) => {
|
|
743
|
+
core.$ZodSymbol.init(inst, def);
|
|
744
|
+
ZodMiniType.init(inst, def);
|
|
745
|
+
}
|
|
746
|
+
);
|
|
747
|
+
|
|
748
|
+
// @__NO_SIDE_EFFECTS__
|
|
749
|
+
export function symbol(params?: string | core.$ZodSymbolParams): ZodMiniSymbol {
|
|
750
|
+
return core._symbol(ZodMiniSymbol, params) as any;
|
|
751
|
+
}
|
|
752
|
+
|
|
753
|
+
// ZodMiniUndefined
|
|
754
|
+
export interface ZodMiniUndefined extends _ZodMiniType<core.$ZodUndefinedInternals> {
|
|
755
|
+
// _zod: core.$ZodUndefinedInternals;
|
|
756
|
+
}
|
|
757
|
+
export const ZodMiniUndefined: core.$constructor<ZodMiniUndefined> = /*@__PURE__*/ core.$constructor(
|
|
758
|
+
"ZodMiniUndefined",
|
|
759
|
+
(inst, def) => {
|
|
760
|
+
core.$ZodUndefined.init(inst, def);
|
|
761
|
+
ZodMiniType.init(inst, def);
|
|
762
|
+
}
|
|
763
|
+
);
|
|
764
|
+
|
|
765
|
+
// @__NO_SIDE_EFFECTS__
|
|
766
|
+
function _undefined(params?: string | core.$ZodUndefinedParams): ZodMiniUndefined {
|
|
767
|
+
return core._undefined(ZodMiniUndefined, params) as any;
|
|
768
|
+
}
|
|
769
|
+
export { _undefined as undefined };
|
|
770
|
+
|
|
771
|
+
// ZodMiniNull
|
|
772
|
+
export interface ZodMiniNull extends _ZodMiniType<core.$ZodNullInternals> {
|
|
773
|
+
// _zod: core.$ZodNullInternals;
|
|
774
|
+
}
|
|
775
|
+
export const ZodMiniNull: core.$constructor<ZodMiniNull> = /*@__PURE__*/ core.$constructor(
|
|
776
|
+
"ZodMiniNull",
|
|
777
|
+
(inst, def) => {
|
|
778
|
+
core.$ZodNull.init(inst, def);
|
|
779
|
+
ZodMiniType.init(inst, def);
|
|
780
|
+
}
|
|
781
|
+
);
|
|
782
|
+
|
|
783
|
+
// @__NO_SIDE_EFFECTS__
|
|
784
|
+
function _null(params?: string | core.$ZodNullParams): ZodMiniNull {
|
|
785
|
+
return core._null(ZodMiniNull, params) as any;
|
|
786
|
+
}
|
|
787
|
+
export { _null as null };
|
|
788
|
+
|
|
789
|
+
// ZodMiniAny
|
|
790
|
+
export interface ZodMiniAny extends _ZodMiniType<core.$ZodAnyInternals> {
|
|
791
|
+
// _zod: core.$ZodAnyInternals;
|
|
792
|
+
}
|
|
793
|
+
export const ZodMiniAny: core.$constructor<ZodMiniAny> = /*@__PURE__*/ core.$constructor("ZodMiniAny", (inst, def) => {
|
|
794
|
+
core.$ZodAny.init(inst, def);
|
|
795
|
+
ZodMiniType.init(inst, def);
|
|
796
|
+
});
|
|
797
|
+
|
|
798
|
+
// @__NO_SIDE_EFFECTS__
|
|
799
|
+
export function any(): ZodMiniAny {
|
|
800
|
+
return core._any(ZodMiniAny) as any;
|
|
801
|
+
}
|
|
802
|
+
|
|
803
|
+
// ZodMiniUnknown
|
|
804
|
+
export interface ZodMiniUnknown extends _ZodMiniType<core.$ZodUnknownInternals> {
|
|
805
|
+
// _zod: core.$ZodUnknownInternals;
|
|
806
|
+
}
|
|
807
|
+
export const ZodMiniUnknown: core.$constructor<ZodMiniUnknown> = /*@__PURE__*/ core.$constructor(
|
|
808
|
+
"ZodMiniUnknown",
|
|
809
|
+
(inst, def) => {
|
|
810
|
+
core.$ZodUnknown.init(inst, def);
|
|
811
|
+
ZodMiniType.init(inst, def);
|
|
812
|
+
}
|
|
813
|
+
);
|
|
814
|
+
|
|
815
|
+
// @__NO_SIDE_EFFECTS__
|
|
816
|
+
export function unknown(): ZodMiniUnknown {
|
|
817
|
+
return core._unknown(ZodMiniUnknown) as any;
|
|
818
|
+
}
|
|
819
|
+
|
|
820
|
+
// ZodMiniNever
|
|
821
|
+
export interface ZodMiniNever extends _ZodMiniType<core.$ZodNeverInternals> {
|
|
822
|
+
// _zod: core.$ZodNeverInternals;
|
|
823
|
+
}
|
|
824
|
+
export const ZodMiniNever: core.$constructor<ZodMiniNever> = /*@__PURE__*/ core.$constructor(
|
|
825
|
+
"ZodMiniNever",
|
|
826
|
+
(inst, def) => {
|
|
827
|
+
core.$ZodNever.init(inst, def);
|
|
828
|
+
ZodMiniType.init(inst, def);
|
|
829
|
+
}
|
|
830
|
+
);
|
|
831
|
+
|
|
832
|
+
// @__NO_SIDE_EFFECTS__
|
|
833
|
+
export function never(params?: string | core.$ZodNeverParams): ZodMiniNever {
|
|
834
|
+
return core._never(ZodMiniNever, params) as any;
|
|
835
|
+
}
|
|
836
|
+
|
|
837
|
+
// ZodMiniVoid
|
|
838
|
+
export interface ZodMiniVoid extends _ZodMiniType<core.$ZodVoidInternals> {
|
|
839
|
+
// _zod: core.$ZodVoidInternals;
|
|
840
|
+
}
|
|
841
|
+
export const ZodMiniVoid: core.$constructor<ZodMiniVoid> = /*@__PURE__*/ core.$constructor(
|
|
842
|
+
"ZodMiniVoid",
|
|
843
|
+
(inst, def) => {
|
|
844
|
+
core.$ZodVoid.init(inst, def);
|
|
845
|
+
ZodMiniType.init(inst, def);
|
|
846
|
+
}
|
|
847
|
+
);
|
|
848
|
+
|
|
849
|
+
// @__NO_SIDE_EFFECTS__
|
|
850
|
+
function _void(params?: string | core.$ZodVoidParams): ZodMiniVoid {
|
|
851
|
+
return core._void(ZodMiniVoid, params) as any;
|
|
852
|
+
}
|
|
853
|
+
export { _void as void };
|
|
854
|
+
|
|
855
|
+
// ZodMiniDate
|
|
856
|
+
export interface ZodMiniDate<T = unknown> extends _ZodMiniType<core.$ZodDateInternals<T>> {
|
|
857
|
+
// _zod: core.$ZodDateInternals<T>;
|
|
858
|
+
}
|
|
859
|
+
|
|
860
|
+
export const ZodMiniDate: core.$constructor<ZodMiniDate> = /*@__PURE__*/ core.$constructor(
|
|
861
|
+
"ZodMiniDate",
|
|
862
|
+
(inst, def) => {
|
|
863
|
+
core.$ZodDate.init(inst, def);
|
|
864
|
+
ZodMiniType.init(inst, def);
|
|
865
|
+
}
|
|
866
|
+
);
|
|
867
|
+
|
|
868
|
+
// @__NO_SIDE_EFFECTS__
|
|
869
|
+
export function date(params?: string | core.$ZodDateParams): ZodMiniDate<Date> {
|
|
870
|
+
return core._date(ZodMiniDate, params) as any;
|
|
871
|
+
}
|
|
872
|
+
|
|
873
|
+
// ZodMiniArray
|
|
874
|
+
export interface ZodMiniArray<T extends SomeType = core.$ZodType>
|
|
875
|
+
extends _ZodMiniType<core.$ZodArrayInternals<T>>,
|
|
876
|
+
core.$ZodArray<T> {
|
|
877
|
+
// _zod: core.$ZodArrayInternals<T>;
|
|
878
|
+
}
|
|
879
|
+
export const ZodMiniArray: core.$constructor<ZodMiniArray> = /*@__PURE__*/ core.$constructor(
|
|
880
|
+
"ZodMiniArray",
|
|
881
|
+
(inst, def) => {
|
|
882
|
+
core.$ZodArray.init(inst, def);
|
|
883
|
+
ZodMiniType.init(inst, def);
|
|
884
|
+
}
|
|
885
|
+
);
|
|
886
|
+
|
|
887
|
+
export function array<T extends SomeType>(element: T, params?: string | core.$ZodArrayParams): ZodMiniArray<T>;
|
|
888
|
+
// @__NO_SIDE_EFFECTS__
|
|
889
|
+
export function array<T extends SomeType>(element: SomeType, params?: any): ZodMiniArray<T> {
|
|
890
|
+
return new ZodMiniArray({
|
|
891
|
+
type: "array",
|
|
892
|
+
element: element as core.$ZodType,
|
|
893
|
+
...util.normalizeParams(params),
|
|
894
|
+
}) as any;
|
|
895
|
+
}
|
|
896
|
+
|
|
897
|
+
// .keyof
|
|
898
|
+
// @__NO_SIDE_EFFECTS__
|
|
899
|
+
export function keyof<T extends ZodMiniObject>(schema: T): ZodMiniEnum<util.KeysEnum<T["shape"]>> {
|
|
900
|
+
const shape = schema._zod.def.shape;
|
|
901
|
+
return _enum(Object.keys(shape)) as any;
|
|
902
|
+
}
|
|
903
|
+
|
|
904
|
+
// ZodMiniObject
|
|
905
|
+
export interface ZodMiniObject<
|
|
906
|
+
/** @ts-ignore Cast variance */
|
|
907
|
+
out Shape extends core.$ZodShape = core.$ZodShape,
|
|
908
|
+
out Config extends core.$ZodObjectConfig = core.$strip,
|
|
909
|
+
> extends ZodMiniType<any, any, core.$ZodObjectInternals<Shape, Config>>,
|
|
910
|
+
core.$ZodObject<Shape, Config> {
|
|
911
|
+
shape: Shape;
|
|
912
|
+
}
|
|
913
|
+
export const ZodMiniObject: core.$constructor<ZodMiniObject> = /*@__PURE__*/ core.$constructor(
|
|
914
|
+
"ZodMiniObject",
|
|
915
|
+
(inst, def) => {
|
|
916
|
+
core.$ZodObject.init(inst, def);
|
|
917
|
+
ZodMiniType.init(inst, def);
|
|
918
|
+
util.installLazyProp(inst, "shape", (self) => self._zod.def.shape, false);
|
|
919
|
+
}
|
|
920
|
+
);
|
|
921
|
+
// @__NO_SIDE_EFFECTS__
|
|
922
|
+
export function object<T extends core.$ZodLooseShape = Record<never, SomeType>>(
|
|
923
|
+
shape?: T,
|
|
924
|
+
params?: string | core.$ZodObjectParams
|
|
925
|
+
): ZodMiniObject<util.Writeable<T>, core.$strip> {
|
|
926
|
+
const def: core.$ZodObjectDef = {
|
|
927
|
+
type: "object",
|
|
928
|
+
shape: shape ?? {},
|
|
929
|
+
...util.normalizeParams(params),
|
|
930
|
+
};
|
|
931
|
+
return new ZodMiniObject(def) as any;
|
|
932
|
+
}
|
|
933
|
+
|
|
934
|
+
// strictObject
|
|
935
|
+
// @__NO_SIDE_EFFECTS__
|
|
936
|
+
export function strictObject<T extends core.$ZodLooseShape>(
|
|
937
|
+
shape: T,
|
|
938
|
+
params?: string | core.$ZodObjectParams
|
|
939
|
+
): ZodMiniObject<util.Writeable<T>, core.$strict> {
|
|
940
|
+
return new ZodMiniObject({
|
|
941
|
+
type: "object",
|
|
942
|
+
shape,
|
|
943
|
+
catchall: never(),
|
|
944
|
+
...util.normalizeParams(params),
|
|
945
|
+
}) as any;
|
|
946
|
+
}
|
|
947
|
+
|
|
948
|
+
// looseObject
|
|
949
|
+
// @__NO_SIDE_EFFECTS__
|
|
950
|
+
export function looseObject<T extends core.$ZodLooseShape>(
|
|
951
|
+
shape: T,
|
|
952
|
+
params?: string | core.$ZodObjectParams
|
|
953
|
+
): ZodMiniObject<util.Writeable<T>, core.$loose> {
|
|
954
|
+
return new ZodMiniObject({
|
|
955
|
+
type: "object",
|
|
956
|
+
shape,
|
|
957
|
+
catchall: unknown(),
|
|
958
|
+
...util.normalizeParams(params),
|
|
959
|
+
}) as any;
|
|
960
|
+
}
|
|
961
|
+
|
|
962
|
+
// object methods
|
|
963
|
+
// @__NO_SIDE_EFFECTS__
|
|
964
|
+
export function extend<T extends ZodMiniObject, U extends core.$ZodLooseShape>(
|
|
965
|
+
schema: T,
|
|
966
|
+
shape: U
|
|
967
|
+
): ZodMiniObject<util.Extend<T["shape"], util.Writeable<U>>, T["_zod"]["config"]> {
|
|
968
|
+
return util.extend(schema, shape);
|
|
969
|
+
}
|
|
970
|
+
|
|
971
|
+
export type SafeExtendShape<Base extends core.$ZodShape, Ext extends core.$ZodLooseShape> = {
|
|
972
|
+
[K in keyof Ext]: K extends keyof Base
|
|
973
|
+
? core.output<Ext[K]> extends core.output<Base[K]>
|
|
974
|
+
? core.input<Ext[K]> extends core.input<Base[K]>
|
|
975
|
+
? Ext[K]
|
|
976
|
+
: never
|
|
977
|
+
: never
|
|
978
|
+
: Ext[K];
|
|
979
|
+
};
|
|
980
|
+
|
|
981
|
+
// @__NO_SIDE_EFFECTS__
|
|
982
|
+
export function safeExtend<T extends ZodMiniObject, U extends core.$ZodLooseShape>(
|
|
983
|
+
schema: T,
|
|
984
|
+
shape: SafeExtendShape<T["shape"], U>
|
|
985
|
+
): ZodMiniObject<util.Extend<T["shape"], util.Writeable<U>>, T["_zod"]["config"]> {
|
|
986
|
+
return util.safeExtend(schema, shape as any);
|
|
987
|
+
}
|
|
988
|
+
|
|
989
|
+
/**
|
|
990
|
+
* @deprecated Use [`z.extend(A, B.shape)`](https://zod.dev/api?id=extend) instead.
|
|
991
|
+
*/
|
|
992
|
+
// @__NO_SIDE_EFFECTS__
|
|
993
|
+
export function merge<T extends ZodMiniObject, U extends ZodMiniObject>(
|
|
994
|
+
a: T,
|
|
995
|
+
b: U
|
|
996
|
+
): ZodMiniObject<util.Extend<T["shape"], U["shape"]>, U["_zod"]["config"]> {
|
|
997
|
+
return util.merge(a, b) as any;
|
|
998
|
+
}
|
|
999
|
+
|
|
1000
|
+
// @__NO_SIDE_EFFECTS__
|
|
1001
|
+
export function pick<T extends ZodMiniObject, M extends util.Mask<keyof T["shape"]>>(
|
|
1002
|
+
schema: T,
|
|
1003
|
+
mask: M & Record<Exclude<keyof M, keyof T["shape"]>, never>
|
|
1004
|
+
): ZodMiniObject<util.Flatten<Pick<T["shape"], keyof T["shape"] & keyof M>>, T["_zod"]["config"]> {
|
|
1005
|
+
return util.pick(schema, mask as any);
|
|
1006
|
+
}
|
|
1007
|
+
|
|
1008
|
+
// .omit
|
|
1009
|
+
|
|
1010
|
+
// @__NO_SIDE_EFFECTS__
|
|
1011
|
+
export function omit<T extends ZodMiniObject, M extends util.Mask<keyof T["shape"]>>(
|
|
1012
|
+
schema: T,
|
|
1013
|
+
mask: M & Record<Exclude<keyof M, keyof T["shape"]>, never>
|
|
1014
|
+
): ZodMiniObject<util.Flatten<Omit<T["shape"], keyof M>>, T["_zod"]["config"]> {
|
|
1015
|
+
return util.omit(schema, mask);
|
|
1016
|
+
}
|
|
1017
|
+
|
|
1018
|
+
// @__NO_SIDE_EFFECTS__
|
|
1019
|
+
export function partial<T extends ZodMiniObject>(
|
|
1020
|
+
schema: T
|
|
1021
|
+
): ZodMiniObject<
|
|
1022
|
+
{
|
|
1023
|
+
-readonly [k in keyof T["shape"]]: ZodMiniOptional<T["shape"][k]>;
|
|
1024
|
+
},
|
|
1025
|
+
T["_zod"]["config"]
|
|
1026
|
+
>;
|
|
1027
|
+
// @__NO_SIDE_EFFECTS__
|
|
1028
|
+
export function partial<T extends ZodMiniObject, M extends util.Mask<keyof T["shape"]>>(
|
|
1029
|
+
schema: T,
|
|
1030
|
+
mask: M & Record<Exclude<keyof M, keyof T["shape"]>, never>
|
|
1031
|
+
): ZodMiniObject<
|
|
1032
|
+
{
|
|
1033
|
+
-readonly [k in keyof T["shape"]]: k extends keyof M ? ZodMiniOptional<T["shape"][k]> : T["shape"][k];
|
|
1034
|
+
},
|
|
1035
|
+
T["_zod"]["config"]
|
|
1036
|
+
>;
|
|
1037
|
+
// @__NO_SIDE_EFFECTS__
|
|
1038
|
+
export function partial<T extends util.TupleItems, Rest extends SomeType | null>(
|
|
1039
|
+
schema: ZodMiniTuple<T, Rest>
|
|
1040
|
+
): ZodMiniTuple<{ -readonly [k in keyof T]: ZodMiniOptional<T[k]> }, Rest>;
|
|
1041
|
+
// @__NO_SIDE_EFFECTS__
|
|
1042
|
+
export function partial(schema: ZodMiniObject | ZodMiniTuple, mask?: object) {
|
|
1043
|
+
const def = schema._zod.def;
|
|
1044
|
+
if (def.type !== "tuple") return util.partial(ZodMiniOptional, schema as ZodMiniObject, mask);
|
|
1045
|
+
// a refinement was authored against the full arity; partialing would run it on a shorter array
|
|
1046
|
+
if (def.checks?.length) throw new Error(".partial() cannot be used on tuple schemas containing refinements");
|
|
1047
|
+
return util.clone(schema, {
|
|
1048
|
+
...def,
|
|
1049
|
+
items: def.items.map((item) => new ZodMiniOptional({ type: "optional", innerType: item as core.$ZodType })),
|
|
1050
|
+
});
|
|
1051
|
+
}
|
|
1052
|
+
|
|
1053
|
+
// @__NO_SIDE_EFFECTS__
|
|
1054
|
+
export function exactPartial<T extends ZodMiniObject>(
|
|
1055
|
+
schema: T
|
|
1056
|
+
): ZodMiniObject<
|
|
1057
|
+
{
|
|
1058
|
+
-readonly [k in keyof T["shape"]]: ZodMiniExactOptional<T["shape"][k]>;
|
|
1059
|
+
},
|
|
1060
|
+
T["_zod"]["config"]
|
|
1061
|
+
>;
|
|
1062
|
+
// @__NO_SIDE_EFFECTS__
|
|
1063
|
+
export function exactPartial<T extends ZodMiniObject, M extends util.Mask<keyof T["shape"]>>(
|
|
1064
|
+
schema: T,
|
|
1065
|
+
mask: M & Record<Exclude<keyof M, keyof T["shape"]>, never>
|
|
1066
|
+
): ZodMiniObject<
|
|
1067
|
+
{
|
|
1068
|
+
-readonly [k in keyof T["shape"]]: k extends keyof M ? ZodMiniExactOptional<T["shape"][k]> : T["shape"][k];
|
|
1069
|
+
},
|
|
1070
|
+
T["_zod"]["config"]
|
|
1071
|
+
>;
|
|
1072
|
+
// @__NO_SIDE_EFFECTS__
|
|
1073
|
+
export function exactPartial(schema: ZodMiniObject, mask?: object) {
|
|
1074
|
+
return util.partial(ZodMiniExactOptional, schema, mask, "exactPartial");
|
|
1075
|
+
}
|
|
1076
|
+
|
|
1077
|
+
export type RequiredInterfaceShape<
|
|
1078
|
+
Shape extends core.$ZodLooseShape,
|
|
1079
|
+
Keys extends PropertyKey = keyof Shape,
|
|
1080
|
+
> = util.Identity<
|
|
1081
|
+
{
|
|
1082
|
+
[k in keyof Shape as k extends Keys ? k : never]: ZodMiniNonOptional<Shape[k]>;
|
|
1083
|
+
} & {
|
|
1084
|
+
[k in keyof Shape as k extends Keys ? never : k]: Shape[k];
|
|
1085
|
+
}
|
|
1086
|
+
>;
|
|
1087
|
+
|
|
1088
|
+
// @__NO_SIDE_EFFECTS__
|
|
1089
|
+
export function required<T extends ZodMiniObject>(
|
|
1090
|
+
schema: T
|
|
1091
|
+
): ZodMiniObject<
|
|
1092
|
+
{
|
|
1093
|
+
-readonly [k in keyof T["shape"]]: ZodMiniNonOptional<T["shape"][k]>;
|
|
1094
|
+
},
|
|
1095
|
+
T["_zod"]["config"]
|
|
1096
|
+
>;
|
|
1097
|
+
// @__NO_SIDE_EFFECTS__
|
|
1098
|
+
export function required<T extends ZodMiniObject, M extends util.Mask<keyof T["shape"]>>(
|
|
1099
|
+
schema: T,
|
|
1100
|
+
mask: M & Record<Exclude<keyof M, keyof T["shape"]>, never>
|
|
1101
|
+
): ZodMiniObject<
|
|
1102
|
+
util.Extend<
|
|
1103
|
+
T["shape"],
|
|
1104
|
+
{
|
|
1105
|
+
[k in keyof M & keyof T["shape"]]: ZodMiniNonOptional<T["shape"][k]>;
|
|
1106
|
+
}
|
|
1107
|
+
>,
|
|
1108
|
+
T["_zod"]["config"]
|
|
1109
|
+
>;
|
|
1110
|
+
// @__NO_SIDE_EFFECTS__
|
|
1111
|
+
export function required(schema: ZodMiniObject, mask?: object) {
|
|
1112
|
+
return util.required(ZodMiniNonOptional, schema, mask);
|
|
1113
|
+
}
|
|
1114
|
+
|
|
1115
|
+
// @__NO_SIDE_EFFECTS__
|
|
1116
|
+
export function catchall<T extends ZodMiniObject, U extends SomeType>(
|
|
1117
|
+
inst: T,
|
|
1118
|
+
catchall: U
|
|
1119
|
+
): ZodMiniObject<T["shape"], core.$catchall<U>> {
|
|
1120
|
+
// `mergeDefs` rather than a spread: spreading reads `shape`, and resolving it can mint a whole fresh subtree
|
|
1121
|
+
return inst.clone(util.mergeDefs(inst._zod.def, { catchall: catchall as any })) as any;
|
|
1122
|
+
}
|
|
1123
|
+
|
|
1124
|
+
// ZodMiniUnion
|
|
1125
|
+
export interface ZodMiniUnion<T extends readonly SomeType[] = readonly core.$ZodType[]>
|
|
1126
|
+
extends _ZodMiniType<core.$ZodUnionInternals<T>> {
|
|
1127
|
+
// _zod: core.$ZodUnionInternals<T>;
|
|
1128
|
+
}
|
|
1129
|
+
export const ZodMiniUnion: core.$constructor<ZodMiniUnion> = /*@__PURE__*/ core.$constructor(
|
|
1130
|
+
"ZodMiniUnion",
|
|
1131
|
+
(inst, def) => {
|
|
1132
|
+
core.$ZodUnion.init(inst, def);
|
|
1133
|
+
ZodMiniType.init(inst, def);
|
|
1134
|
+
}
|
|
1135
|
+
);
|
|
1136
|
+
|
|
1137
|
+
// @__NO_SIDE_EFFECTS__
|
|
1138
|
+
export function union<const T extends readonly SomeType[]>(
|
|
1139
|
+
options: T,
|
|
1140
|
+
params?: string | core.$ZodUnionParams
|
|
1141
|
+
): ZodMiniUnion<T> {
|
|
1142
|
+
return new ZodMiniUnion({
|
|
1143
|
+
type: "union",
|
|
1144
|
+
options: options as any as core.$ZodType[],
|
|
1145
|
+
...util.normalizeParams(params),
|
|
1146
|
+
}) as any;
|
|
1147
|
+
}
|
|
1148
|
+
|
|
1149
|
+
// ZodMiniXor
|
|
1150
|
+
export interface ZodMiniXor<T extends readonly SomeType[] = readonly core.$ZodType[]>
|
|
1151
|
+
extends _ZodMiniType<core.$ZodXorInternals<T>> {
|
|
1152
|
+
// _zod: core.$ZodXorInternals<T>;
|
|
1153
|
+
}
|
|
1154
|
+
export const ZodMiniXor: core.$constructor<ZodMiniXor> = /*@__PURE__*/ core.$constructor("ZodMiniXor", (inst, def) => {
|
|
1155
|
+
ZodMiniUnion.init(inst, def);
|
|
1156
|
+
core.$ZodXor.init(inst, def);
|
|
1157
|
+
});
|
|
1158
|
+
|
|
1159
|
+
/** Creates an exclusive union (XOR) where exactly one option must match.
|
|
1160
|
+
* Unlike regular unions that succeed when any option matches, xor fails if
|
|
1161
|
+
* zero or more than one option matches the input. */
|
|
1162
|
+
export function xor<const T extends readonly SomeType[]>(
|
|
1163
|
+
options: T,
|
|
1164
|
+
params?: string | core.$ZodXorParams
|
|
1165
|
+
): ZodMiniXor<T> {
|
|
1166
|
+
return new ZodMiniXor({
|
|
1167
|
+
type: "union",
|
|
1168
|
+
options: options as any as core.$ZodType[],
|
|
1169
|
+
inclusive: false,
|
|
1170
|
+
...util.normalizeParams(params),
|
|
1171
|
+
}) as any;
|
|
1172
|
+
}
|
|
1173
|
+
|
|
1174
|
+
// ZodMiniDiscriminatedUnion
|
|
1175
|
+
export interface ZodMiniDiscriminatedUnion<
|
|
1176
|
+
Options extends readonly SomeType[] = readonly core.$ZodType[],
|
|
1177
|
+
Disc extends string = string,
|
|
1178
|
+
> extends ZodMiniUnion<Options> {
|
|
1179
|
+
_zod: core.$ZodDiscriminatedUnionInternals<Options, Disc>;
|
|
1180
|
+
}
|
|
1181
|
+
export const ZodMiniDiscriminatedUnion: core.$constructor<ZodMiniDiscriminatedUnion> = /*@__PURE__*/ core.$constructor(
|
|
1182
|
+
"ZodMiniDiscriminatedUnion",
|
|
1183
|
+
(inst, def) => {
|
|
1184
|
+
core.$ZodDiscriminatedUnion.init(inst, def);
|
|
1185
|
+
ZodMiniType.init(inst, def);
|
|
1186
|
+
}
|
|
1187
|
+
);
|
|
1188
|
+
|
|
1189
|
+
// @__NO_SIDE_EFFECTS__
|
|
1190
|
+
export function discriminatedUnion<
|
|
1191
|
+
Types extends readonly [core.$ZodTypeDiscriminable, ...core.$ZodTypeDiscriminable[]],
|
|
1192
|
+
Disc extends string,
|
|
1193
|
+
>(
|
|
1194
|
+
discriminator: Disc,
|
|
1195
|
+
options: Types,
|
|
1196
|
+
params?: string | core.$ZodDiscriminatedUnionParams
|
|
1197
|
+
): ZodMiniDiscriminatedUnion<Types, Disc> {
|
|
1198
|
+
return new ZodMiniDiscriminatedUnion({
|
|
1199
|
+
type: "union",
|
|
1200
|
+
options: options as any as core.$ZodType[],
|
|
1201
|
+
discriminator,
|
|
1202
|
+
...util.normalizeParams(params),
|
|
1203
|
+
}) as any as ZodMiniDiscriminatedUnion<Types, Disc>;
|
|
1204
|
+
}
|
|
1205
|
+
|
|
1206
|
+
// ZodMiniIntersection
|
|
1207
|
+
export interface ZodMiniIntersection<A extends SomeType = core.$ZodType, B extends SomeType = core.$ZodType>
|
|
1208
|
+
extends _ZodMiniType<core.$ZodIntersectionInternals<A, B>> {
|
|
1209
|
+
// _zod: core.$ZodIntersectionInternals<A, B>;
|
|
1210
|
+
}
|
|
1211
|
+
export const ZodMiniIntersection: core.$constructor<ZodMiniIntersection> = /*@__PURE__*/ core.$constructor(
|
|
1212
|
+
"ZodMiniIntersection",
|
|
1213
|
+
(inst, def) => {
|
|
1214
|
+
core.$ZodIntersection.init(inst, def);
|
|
1215
|
+
ZodMiniType.init(inst, def);
|
|
1216
|
+
}
|
|
1217
|
+
);
|
|
1218
|
+
|
|
1219
|
+
// @__NO_SIDE_EFFECTS__
|
|
1220
|
+
export function intersection<T extends SomeType, U extends SomeType>(left: T, right: U): ZodMiniIntersection<T, U> {
|
|
1221
|
+
return new ZodMiniIntersection({
|
|
1222
|
+
type: "intersection",
|
|
1223
|
+
left: left as any as core.$ZodType,
|
|
1224
|
+
right: right as any as core.$ZodType,
|
|
1225
|
+
}) as any;
|
|
1226
|
+
}
|
|
1227
|
+
|
|
1228
|
+
// ZodMiniTuple
|
|
1229
|
+
export interface ZodMiniTuple<
|
|
1230
|
+
T extends util.TupleItems = readonly core.$ZodType[],
|
|
1231
|
+
Rest extends SomeType | null = core.$ZodType | null,
|
|
1232
|
+
> extends _ZodMiniType<core.$ZodTupleInternals<T, Rest>> {
|
|
1233
|
+
// _zod: core.$ZodTupleInternals<T, Rest>;
|
|
1234
|
+
}
|
|
1235
|
+
export const ZodMiniTuple: core.$constructor<ZodMiniTuple> = /*@__PURE__*/ core.$constructor(
|
|
1236
|
+
"ZodMiniTuple",
|
|
1237
|
+
(inst, def) => {
|
|
1238
|
+
core.$ZodTuple.init(inst, def);
|
|
1239
|
+
ZodMiniType.init(inst, def);
|
|
1240
|
+
}
|
|
1241
|
+
);
|
|
1242
|
+
|
|
1243
|
+
export function tuple<const T extends readonly [SomeType, ...SomeType[]]>(
|
|
1244
|
+
items: T,
|
|
1245
|
+
params?: string | core.$ZodTupleParams
|
|
1246
|
+
): ZodMiniTuple<T, null>;
|
|
1247
|
+
export function tuple<const T extends readonly [SomeType, ...SomeType[]], Rest extends SomeType>(
|
|
1248
|
+
items: T,
|
|
1249
|
+
rest: Rest,
|
|
1250
|
+
params?: string | core.$ZodTupleParams
|
|
1251
|
+
): ZodMiniTuple<T, Rest>;
|
|
1252
|
+
export function tuple(items: [], params?: string | core.$ZodTupleParams): ZodMiniTuple<[], null>;
|
|
1253
|
+
// @__NO_SIDE_EFFECTS__
|
|
1254
|
+
export function tuple(
|
|
1255
|
+
items: SomeType[],
|
|
1256
|
+
_paramsOrRest?: string | core.$ZodTupleParams | SomeType,
|
|
1257
|
+
_params?: string | core.$ZodTupleParams
|
|
1258
|
+
) {
|
|
1259
|
+
const hasRest = _paramsOrRest instanceof core.$ZodType;
|
|
1260
|
+
const params = hasRest ? _params : _paramsOrRest;
|
|
1261
|
+
const rest = hasRest ? _paramsOrRest : null;
|
|
1262
|
+
return new ZodMiniTuple({
|
|
1263
|
+
type: "tuple",
|
|
1264
|
+
items: items as any as core.$ZodType[],
|
|
1265
|
+
rest,
|
|
1266
|
+
...util.normalizeParams(params),
|
|
1267
|
+
});
|
|
1268
|
+
}
|
|
1269
|
+
|
|
1270
|
+
// ZodMiniRecord
|
|
1271
|
+
export interface ZodMiniRecord<
|
|
1272
|
+
Key extends core.$ZodRecordKey = core.$ZodRecordKey,
|
|
1273
|
+
Value extends SomeType = core.$ZodType,
|
|
1274
|
+
> extends _ZodMiniType<core.$ZodRecordInternals<Key, Value>> {
|
|
1275
|
+
// _zod: core.$ZodRecordInternals<Key, Value>;
|
|
1276
|
+
}
|
|
1277
|
+
export const ZodMiniRecord: core.$constructor<ZodMiniRecord> = /*@__PURE__*/ core.$constructor(
|
|
1278
|
+
"ZodMiniRecord",
|
|
1279
|
+
(inst, def) => {
|
|
1280
|
+
core.$ZodRecord.init(inst, def);
|
|
1281
|
+
ZodMiniType.init(inst, def);
|
|
1282
|
+
}
|
|
1283
|
+
);
|
|
1284
|
+
|
|
1285
|
+
// @__NO_SIDE_EFFECTS__
|
|
1286
|
+
export function record<Key extends core.$ZodRecordKey, Value extends SomeType>(
|
|
1287
|
+
keyType: Key,
|
|
1288
|
+
valueType: Value,
|
|
1289
|
+
params?: string | core.$ZodRecordParams
|
|
1290
|
+
): ZodMiniRecord<Key, Value> {
|
|
1291
|
+
// v3-compat: z.record(valueType, params?) — defaults keyType to z.string()
|
|
1292
|
+
if (!valueType || !(valueType as any)._zod) {
|
|
1293
|
+
return new ZodMiniRecord({
|
|
1294
|
+
type: "record",
|
|
1295
|
+
keyType: string() as any,
|
|
1296
|
+
valueType: keyType as any as core.$ZodType,
|
|
1297
|
+
...util.normalizeParams(valueType as string | core.$ZodRecordParams | undefined),
|
|
1298
|
+
}) as any;
|
|
1299
|
+
}
|
|
1300
|
+
return new ZodMiniRecord({
|
|
1301
|
+
type: "record",
|
|
1302
|
+
keyType,
|
|
1303
|
+
valueType: valueType as any as core.$ZodType,
|
|
1304
|
+
...util.normalizeParams(params),
|
|
1305
|
+
}) as any;
|
|
1306
|
+
}
|
|
1307
|
+
// @__NO_SIDE_EFFECTS__
|
|
1308
|
+
export function partialRecord<Key extends core.$ZodRecordKey, Value extends SomeType>(
|
|
1309
|
+
keyType: Key,
|
|
1310
|
+
valueType: Value,
|
|
1311
|
+
params?: string | core.$ZodRecordParams
|
|
1312
|
+
): ZodMiniRecord<Key & core.$partial, Value> {
|
|
1313
|
+
return new ZodMiniRecord({
|
|
1314
|
+
type: "record",
|
|
1315
|
+
keyType,
|
|
1316
|
+
valueType: valueType as any,
|
|
1317
|
+
...util.normalizeParams(params),
|
|
1318
|
+
partial: true,
|
|
1319
|
+
}) as any;
|
|
1320
|
+
}
|
|
1321
|
+
|
|
1322
|
+
export function looseRecord<Key extends core.$ZodRecordKey, Value extends SomeType>(
|
|
1323
|
+
keyType: Key,
|
|
1324
|
+
valueType: Value,
|
|
1325
|
+
params?: string | core.$ZodRecordParams
|
|
1326
|
+
): ZodMiniRecord<Key, Value> {
|
|
1327
|
+
return new ZodMiniRecord({
|
|
1328
|
+
type: "record",
|
|
1329
|
+
keyType,
|
|
1330
|
+
valueType: valueType as any as core.$ZodType,
|
|
1331
|
+
mode: "loose",
|
|
1332
|
+
...util.normalizeParams(params),
|
|
1333
|
+
}) as any;
|
|
1334
|
+
}
|
|
1335
|
+
|
|
1336
|
+
// ZodMiniMap
|
|
1337
|
+
export interface ZodMiniMap<Key extends SomeType = core.$ZodType, Value extends SomeType = core.$ZodType>
|
|
1338
|
+
extends _ZodMiniType<core.$ZodMapInternals<Key, Value>> {
|
|
1339
|
+
// _zod: core.$ZodMapInternals<Key, Value>;
|
|
1340
|
+
}
|
|
1341
|
+
export const ZodMiniMap: core.$constructor<ZodMiniMap> = /*@__PURE__*/ core.$constructor("ZodMiniMap", (inst, def) => {
|
|
1342
|
+
core.$ZodMap.init(inst, def);
|
|
1343
|
+
ZodMiniType.init(inst, def);
|
|
1344
|
+
});
|
|
1345
|
+
|
|
1346
|
+
// @__NO_SIDE_EFFECTS__
|
|
1347
|
+
export function map<Key extends SomeType, Value extends SomeType>(
|
|
1348
|
+
keyType: Key,
|
|
1349
|
+
valueType: Value,
|
|
1350
|
+
params?: string | core.$ZodMapParams
|
|
1351
|
+
): ZodMiniMap<Key, Value> {
|
|
1352
|
+
return new ZodMiniMap({
|
|
1353
|
+
type: "map",
|
|
1354
|
+
keyType: keyType as any as core.$ZodType,
|
|
1355
|
+
valueType: valueType as any as core.$ZodType,
|
|
1356
|
+
...util.normalizeParams(params),
|
|
1357
|
+
}) as any;
|
|
1358
|
+
}
|
|
1359
|
+
|
|
1360
|
+
// ZodMiniSet
|
|
1361
|
+
export interface ZodMiniSet<T extends SomeType = core.$ZodType> extends _ZodMiniType<core.$ZodSetInternals<T>> {
|
|
1362
|
+
// _zod: core.$ZodSetInternals<T>;
|
|
1363
|
+
}
|
|
1364
|
+
export const ZodMiniSet: core.$constructor<ZodMiniSet> = /*@__PURE__*/ core.$constructor("ZodMiniSet", (inst, def) => {
|
|
1365
|
+
core.$ZodSet.init(inst, def);
|
|
1366
|
+
ZodMiniType.init(inst, def);
|
|
1367
|
+
});
|
|
1368
|
+
|
|
1369
|
+
// @__NO_SIDE_EFFECTS__
|
|
1370
|
+
export function set<Value extends SomeType>(valueType: Value, params?: string | core.$ZodSetParams): ZodMiniSet<Value> {
|
|
1371
|
+
return new ZodMiniSet({
|
|
1372
|
+
type: "set",
|
|
1373
|
+
valueType: valueType as any as core.$ZodType,
|
|
1374
|
+
...util.normalizeParams(params),
|
|
1375
|
+
}) as any;
|
|
1376
|
+
}
|
|
1377
|
+
|
|
1378
|
+
// ZodMiniEnum
|
|
1379
|
+
export interface ZodMiniEnum<T extends util.EnumLike = util.EnumLike> extends _ZodMiniType<core.$ZodEnumInternals<T>> {
|
|
1380
|
+
// _zod: core.$ZodEnumInternals<T>;
|
|
1381
|
+
options: Array<T[keyof T]>;
|
|
1382
|
+
}
|
|
1383
|
+
export const ZodMiniEnum: core.$constructor<ZodMiniEnum> = /*@__PURE__*/ core.$constructor(
|
|
1384
|
+
"ZodMiniEnum",
|
|
1385
|
+
(inst, def) => {
|
|
1386
|
+
core.$ZodEnum.init(inst, def);
|
|
1387
|
+
ZodMiniType.init(inst, def);
|
|
1388
|
+
|
|
1389
|
+
// reuse the parsed value set so a numeric TS enum's reverse-mapping keys stay out
|
|
1390
|
+
inst.options = [...inst._zod.values] as util.EnumValue[];
|
|
1391
|
+
}
|
|
1392
|
+
);
|
|
1393
|
+
|
|
1394
|
+
function _enum<const T extends readonly string[]>(
|
|
1395
|
+
values: T,
|
|
1396
|
+
params?: string | core.$ZodEnumParams
|
|
1397
|
+
): ZodMiniEnum<util.ToEnum<T[number]>>;
|
|
1398
|
+
function _enum<T extends util.EnumLike>(entries: T, params?: string | core.$ZodEnumParams): ZodMiniEnum<T>;
|
|
1399
|
+
// @__NO_SIDE_EFFECTS__
|
|
1400
|
+
function _enum(values: any, params?: string | core.$ZodEnumParams) {
|
|
1401
|
+
const entries: any = Array.isArray(values) ? Object.fromEntries(values.map((v) => [v, v])) : values;
|
|
1402
|
+
|
|
1403
|
+
return new ZodMiniEnum({
|
|
1404
|
+
type: "enum",
|
|
1405
|
+
entries,
|
|
1406
|
+
...util.normalizeParams(params),
|
|
1407
|
+
}) as any;
|
|
1408
|
+
}
|
|
1409
|
+
export { _enum as enum };
|
|
1410
|
+
|
|
1411
|
+
// @__NO_SIDE_EFFECTS__
|
|
1412
|
+
/** @deprecated This API has been merged into `z.enum()`. Use `z.enum()` instead.
|
|
1413
|
+
*
|
|
1414
|
+
* ```ts
|
|
1415
|
+
* enum Colors { red, green, blue }
|
|
1416
|
+
* z.enum(Colors);
|
|
1417
|
+
* ```
|
|
1418
|
+
*/
|
|
1419
|
+
export function nativeEnum<T extends util.EnumLike>(entries: T, params?: string | core.$ZodEnumParams): ZodMiniEnum<T> {
|
|
1420
|
+
return new ZodMiniEnum({
|
|
1421
|
+
type: "enum",
|
|
1422
|
+
entries,
|
|
1423
|
+
...util.normalizeParams(params),
|
|
1424
|
+
}) as any as ZodMiniEnum<T>;
|
|
1425
|
+
}
|
|
1426
|
+
|
|
1427
|
+
// ZodMiniLiteral
|
|
1428
|
+
export interface ZodMiniLiteral<T extends util.Literal = util.Literal>
|
|
1429
|
+
extends _ZodMiniType<core.$ZodLiteralInternals<T>> {
|
|
1430
|
+
// _zod: core.$ZodLiteralInternals<T>;
|
|
1431
|
+
}
|
|
1432
|
+
export const ZodMiniLiteral: core.$constructor<ZodMiniLiteral> = /*@__PURE__*/ core.$constructor(
|
|
1433
|
+
"ZodMiniLiteral",
|
|
1434
|
+
(inst, def) => {
|
|
1435
|
+
core.$ZodLiteral.init(inst, def);
|
|
1436
|
+
ZodMiniType.init(inst, def);
|
|
1437
|
+
}
|
|
1438
|
+
);
|
|
1439
|
+
|
|
1440
|
+
export function literal<const T extends ReadonlyArray<util.Literal>>(
|
|
1441
|
+
value: T,
|
|
1442
|
+
params?: string | core.$ZodLiteralParams
|
|
1443
|
+
): ZodMiniLiteral<T[number]>;
|
|
1444
|
+
export function literal<const T extends util.Literal>(
|
|
1445
|
+
value: T,
|
|
1446
|
+
params?: string | core.$ZodLiteralParams
|
|
1447
|
+
): ZodMiniLiteral<T>;
|
|
1448
|
+
// @__NO_SIDE_EFFECTS__
|
|
1449
|
+
export function literal(value: any, params: any) {
|
|
1450
|
+
return new ZodMiniLiteral({
|
|
1451
|
+
type: "literal",
|
|
1452
|
+
values: Array.isArray(value) ? value : [value],
|
|
1453
|
+
...util.normalizeParams(params),
|
|
1454
|
+
});
|
|
1455
|
+
}
|
|
1456
|
+
|
|
1457
|
+
// ZodMiniFile
|
|
1458
|
+
export interface ZodMiniFile extends _ZodMiniType<core.$ZodFileInternals> {
|
|
1459
|
+
// _zod: core.$ZodFileInternals;
|
|
1460
|
+
}
|
|
1461
|
+
export const ZodMiniFile: core.$constructor<ZodMiniFile> = /*@__PURE__*/ core.$constructor(
|
|
1462
|
+
"ZodMiniFile",
|
|
1463
|
+
(inst, def) => {
|
|
1464
|
+
core.$ZodFile.init(inst, def);
|
|
1465
|
+
ZodMiniType.init(inst, def);
|
|
1466
|
+
}
|
|
1467
|
+
);
|
|
1468
|
+
|
|
1469
|
+
// @__NO_SIDE_EFFECTS__
|
|
1470
|
+
export function file(params?: string | core.$ZodFileParams): ZodMiniFile {
|
|
1471
|
+
return core._file(ZodMiniFile, params) as any;
|
|
1472
|
+
}
|
|
1473
|
+
|
|
1474
|
+
// ZodMiniTransform
|
|
1475
|
+
export interface ZodMiniTransform<O = unknown, I = unknown> extends _ZodMiniType<core.$ZodTransformInternals<O, I>> {
|
|
1476
|
+
// _zod: core.$ZodTransformInternals<O, I>;
|
|
1477
|
+
}
|
|
1478
|
+
export const ZodMiniTransform: core.$constructor<ZodMiniTransform> = /*@__PURE__*/ core.$constructor(
|
|
1479
|
+
"ZodMiniTransform",
|
|
1480
|
+
(inst, def) => {
|
|
1481
|
+
core.$ZodTransform.init(inst, def);
|
|
1482
|
+
ZodMiniType.init(inst, def);
|
|
1483
|
+
}
|
|
1484
|
+
);
|
|
1485
|
+
|
|
1486
|
+
// @__NO_SIDE_EFFECTS__
|
|
1487
|
+
export function transform<I = unknown, O = I>(
|
|
1488
|
+
fn: (input: I, ctx: core.ParsePayload) => O
|
|
1489
|
+
): ZodMiniTransform<Awaited<O>, I> {
|
|
1490
|
+
return new ZodMiniTransform({
|
|
1491
|
+
type: "transform",
|
|
1492
|
+
transform: fn as any,
|
|
1493
|
+
}) as any;
|
|
1494
|
+
}
|
|
1495
|
+
|
|
1496
|
+
// ZodMiniOptional
|
|
1497
|
+
export interface ZodMiniOptional<T extends SomeType = core.$ZodType>
|
|
1498
|
+
extends _ZodMiniType<core.$ZodOptionalInternals<T>>,
|
|
1499
|
+
core.$ZodOptional<T> {
|
|
1500
|
+
// _zod: core.$ZodOptionalInternals<T>;
|
|
1501
|
+
}
|
|
1502
|
+
export const ZodMiniOptional: core.$constructor<ZodMiniOptional> = /*@__PURE__*/ core.$constructor(
|
|
1503
|
+
"ZodMiniOptional",
|
|
1504
|
+
(inst, def) => {
|
|
1505
|
+
core.$ZodOptional.init(inst, def);
|
|
1506
|
+
ZodMiniType.init(inst, def);
|
|
1507
|
+
}
|
|
1508
|
+
);
|
|
1509
|
+
|
|
1510
|
+
// @__NO_SIDE_EFFECTS__
|
|
1511
|
+
export function optional<T extends SomeType>(innerType: T): ZodMiniOptional<T> {
|
|
1512
|
+
return new ZodMiniOptional({
|
|
1513
|
+
type: "optional",
|
|
1514
|
+
innerType: innerType as any as core.$ZodType,
|
|
1515
|
+
}) as any;
|
|
1516
|
+
}
|
|
1517
|
+
|
|
1518
|
+
// ZodMiniExactOptional
|
|
1519
|
+
export interface ZodMiniExactOptional<T extends SomeType = core.$ZodType>
|
|
1520
|
+
extends _ZodMiniType<core.$ZodExactOptionalInternals<T>>,
|
|
1521
|
+
core.$ZodExactOptional<T> {
|
|
1522
|
+
// _zod: core.$ZodExactOptionalInternals<T>;
|
|
1523
|
+
}
|
|
1524
|
+
export const ZodMiniExactOptional: core.$constructor<ZodMiniExactOptional> = /*@__PURE__*/ core.$constructor(
|
|
1525
|
+
"ZodMiniExactOptional",
|
|
1526
|
+
(inst, def) => {
|
|
1527
|
+
core.$ZodExactOptional.init(inst, def);
|
|
1528
|
+
ZodMiniType.init(inst, def);
|
|
1529
|
+
}
|
|
1530
|
+
);
|
|
1531
|
+
|
|
1532
|
+
// @__NO_SIDE_EFFECTS__
|
|
1533
|
+
export function exactOptional<T extends SomeType>(innerType: T): ZodMiniExactOptional<T> {
|
|
1534
|
+
return new ZodMiniExactOptional({
|
|
1535
|
+
type: "optional",
|
|
1536
|
+
innerType: innerType as any as core.$ZodType,
|
|
1537
|
+
}) as any;
|
|
1538
|
+
}
|
|
1539
|
+
|
|
1540
|
+
// ZodMiniNullable
|
|
1541
|
+
export interface ZodMiniNullable<T extends SomeType = core.$ZodType>
|
|
1542
|
+
extends _ZodMiniType<core.$ZodNullableInternals<T>> {
|
|
1543
|
+
// _zod: core.$ZodNullableInternals<T>;
|
|
1544
|
+
}
|
|
1545
|
+
export const ZodMiniNullable: core.$constructor<ZodMiniNullable> = /*@__PURE__*/ core.$constructor(
|
|
1546
|
+
"ZodMiniNullable",
|
|
1547
|
+
(inst, def) => {
|
|
1548
|
+
core.$ZodNullable.init(inst, def);
|
|
1549
|
+
ZodMiniType.init(inst, def);
|
|
1550
|
+
}
|
|
1551
|
+
);
|
|
1552
|
+
|
|
1553
|
+
// @__NO_SIDE_EFFECTS__
|
|
1554
|
+
export function nullable<T extends SomeType>(innerType: T): ZodMiniNullable<T> {
|
|
1555
|
+
return new ZodMiniNullable({
|
|
1556
|
+
type: "nullable",
|
|
1557
|
+
innerType: innerType as any as core.$ZodType,
|
|
1558
|
+
}) as any;
|
|
1559
|
+
}
|
|
1560
|
+
|
|
1561
|
+
// nullish
|
|
1562
|
+
// @__NO_SIDE_EFFECTS__
|
|
1563
|
+
export function nullish<T extends SomeType>(innerType: T): ZodMiniOptional<ZodMiniNullable<T>> {
|
|
1564
|
+
return optional(nullable(innerType));
|
|
1565
|
+
}
|
|
1566
|
+
|
|
1567
|
+
// ZodMiniDefault
|
|
1568
|
+
export interface ZodMiniDefault<T extends SomeType = core.$ZodType> extends _ZodMiniType<core.$ZodDefaultInternals<T>> {
|
|
1569
|
+
// _zod: core.$ZodDefaultInternals<T>;
|
|
1570
|
+
}
|
|
1571
|
+
export const ZodMiniDefault: core.$constructor<ZodMiniDefault> = /*@__PURE__*/ core.$constructor(
|
|
1572
|
+
"ZodMiniDefault",
|
|
1573
|
+
(inst, def) => {
|
|
1574
|
+
core.$ZodDefault.init(inst, def);
|
|
1575
|
+
ZodMiniType.init(inst, def);
|
|
1576
|
+
}
|
|
1577
|
+
);
|
|
1578
|
+
|
|
1579
|
+
// @__NO_SIDE_EFFECTS__
|
|
1580
|
+
export function _default<T extends SomeType>(
|
|
1581
|
+
innerType: T,
|
|
1582
|
+
defaultValue: util.NoUndefined<core.output<T>> | (() => util.NoUndefined<core.output<T>>)
|
|
1583
|
+
): ZodMiniDefault<T> {
|
|
1584
|
+
return new ZodMiniDefault({
|
|
1585
|
+
type: "default",
|
|
1586
|
+
innerType: innerType as any as core.$ZodType,
|
|
1587
|
+
get defaultValue() {
|
|
1588
|
+
return typeof defaultValue === "function" ? (defaultValue as Function)() : util.shallowClone(defaultValue);
|
|
1589
|
+
},
|
|
1590
|
+
}) as any;
|
|
1591
|
+
}
|
|
1592
|
+
|
|
1593
|
+
// ZodMiniPrefault
|
|
1594
|
+
export interface ZodMiniPrefault<T extends SomeType = core.$ZodType>
|
|
1595
|
+
extends _ZodMiniType<core.$ZodPrefaultInternals<T>> {
|
|
1596
|
+
// _zod: core.$ZodPrefaultInternals<T>;
|
|
1597
|
+
}
|
|
1598
|
+
export const ZodMiniPrefault: core.$constructor<ZodMiniPrefault> = /*@__PURE__*/ core.$constructor(
|
|
1599
|
+
"ZodMiniPrefault",
|
|
1600
|
+
(inst, def) => {
|
|
1601
|
+
core.$ZodPrefault.init(inst, def);
|
|
1602
|
+
ZodMiniType.init(inst, def);
|
|
1603
|
+
}
|
|
1604
|
+
);
|
|
1605
|
+
// @__NO_SIDE_EFFECTS__
|
|
1606
|
+
export function prefault<T extends SomeType>(
|
|
1607
|
+
innerType: T,
|
|
1608
|
+
defaultValue: core.input<T> | (() => core.input<T>)
|
|
1609
|
+
): ZodMiniPrefault<T> {
|
|
1610
|
+
return new ZodMiniPrefault({
|
|
1611
|
+
type: "prefault",
|
|
1612
|
+
innerType: innerType as any as core.$ZodType,
|
|
1613
|
+
get defaultValue() {
|
|
1614
|
+
return typeof defaultValue === "function" ? (defaultValue as Function)() : util.shallowClone(defaultValue);
|
|
1615
|
+
},
|
|
1616
|
+
}) as any;
|
|
1617
|
+
}
|
|
1618
|
+
|
|
1619
|
+
// ZodMiniNonOptional
|
|
1620
|
+
export interface ZodMiniNonOptional<T extends SomeType = core.$ZodType>
|
|
1621
|
+
extends _ZodMiniType<core.$ZodNonOptionalInternals<T>> {
|
|
1622
|
+
// _zod: core.$ZodNonOptionalInternals<T>;
|
|
1623
|
+
}
|
|
1624
|
+
export const ZodMiniNonOptional: core.$constructor<ZodMiniNonOptional> = /*@__PURE__*/ core.$constructor(
|
|
1625
|
+
"ZodMiniNonOptional",
|
|
1626
|
+
(inst, def) => {
|
|
1627
|
+
core.$ZodNonOptional.init(inst, def);
|
|
1628
|
+
ZodMiniType.init(inst, def);
|
|
1629
|
+
}
|
|
1630
|
+
);
|
|
1631
|
+
|
|
1632
|
+
// @__NO_SIDE_EFFECTS__
|
|
1633
|
+
export function nonoptional<T extends SomeType>(
|
|
1634
|
+
innerType: T,
|
|
1635
|
+
params?: string | core.$ZodNonOptionalParams
|
|
1636
|
+
): ZodMiniNonOptional<T> {
|
|
1637
|
+
return new ZodMiniNonOptional({
|
|
1638
|
+
type: "nonoptional",
|
|
1639
|
+
innerType: innerType as any as core.$ZodType,
|
|
1640
|
+
...util.normalizeParams(params),
|
|
1641
|
+
}) as any;
|
|
1642
|
+
}
|
|
1643
|
+
|
|
1644
|
+
// ZodMiniSuccess
|
|
1645
|
+
export interface ZodMiniSuccess<T extends SomeType = core.$ZodType> extends _ZodMiniType<core.$ZodSuccessInternals<T>> {
|
|
1646
|
+
// _zod: core.$ZodSuccessInternals<T>;
|
|
1647
|
+
}
|
|
1648
|
+
export const ZodMiniSuccess: core.$constructor<ZodMiniSuccess> = /*@__PURE__*/ core.$constructor(
|
|
1649
|
+
"ZodMiniSuccess",
|
|
1650
|
+
(inst, def) => {
|
|
1651
|
+
core.$ZodSuccess.init(inst, def);
|
|
1652
|
+
ZodMiniType.init(inst, def);
|
|
1653
|
+
}
|
|
1654
|
+
);
|
|
1655
|
+
|
|
1656
|
+
// @__NO_SIDE_EFFECTS__
|
|
1657
|
+
export function success<T extends SomeType>(innerType: T): ZodMiniSuccess<T> {
|
|
1658
|
+
return new ZodMiniSuccess({
|
|
1659
|
+
type: "success",
|
|
1660
|
+
innerType: innerType as any as core.$ZodType,
|
|
1661
|
+
}) as any;
|
|
1662
|
+
}
|
|
1663
|
+
|
|
1664
|
+
// ZodMiniCatch
|
|
1665
|
+
export interface ZodMiniCatch<T extends SomeType = core.$ZodType> extends _ZodMiniType<core.$ZodCatchInternals<T>> {
|
|
1666
|
+
// _zod: core.$ZodCatchInternals<T>;
|
|
1667
|
+
}
|
|
1668
|
+
export const ZodMiniCatch: core.$constructor<ZodMiniCatch> = /*@__PURE__*/ core.$constructor(
|
|
1669
|
+
"ZodMiniCatch",
|
|
1670
|
+
(inst, def) => {
|
|
1671
|
+
core.$ZodCatch.init(inst, def);
|
|
1672
|
+
ZodMiniType.init(inst, def);
|
|
1673
|
+
}
|
|
1674
|
+
);
|
|
1675
|
+
|
|
1676
|
+
// @__NO_SIDE_EFFECTS__
|
|
1677
|
+
function _catch<T extends SomeType>(
|
|
1678
|
+
innerType: T,
|
|
1679
|
+
catchValue: core.output<T> | ((ctx: core.$ZodCatchCtx) => core.output<T>)
|
|
1680
|
+
): ZodMiniCatch<T> {
|
|
1681
|
+
return new ZodMiniCatch({
|
|
1682
|
+
type: "catch",
|
|
1683
|
+
innerType: innerType as any as core.$ZodType,
|
|
1684
|
+
catchValue: (typeof catchValue === "function" ? catchValue : core.util.constantCatch(catchValue)) as (
|
|
1685
|
+
ctx: core.$ZodCatchCtx
|
|
1686
|
+
) => core.output<T>,
|
|
1687
|
+
}) as any;
|
|
1688
|
+
}
|
|
1689
|
+
export { _catch as catch };
|
|
1690
|
+
|
|
1691
|
+
// ZodMiniNaN
|
|
1692
|
+
export interface ZodMiniNaN extends _ZodMiniType<core.$ZodNaNInternals> {
|
|
1693
|
+
// _zod: core.$ZodNaNInternals;
|
|
1694
|
+
}
|
|
1695
|
+
export const ZodMiniNaN: core.$constructor<ZodMiniNaN> = /*@__PURE__*/ core.$constructor("ZodMiniNaN", (inst, def) => {
|
|
1696
|
+
core.$ZodNaN.init(inst, def);
|
|
1697
|
+
ZodMiniType.init(inst, def);
|
|
1698
|
+
});
|
|
1699
|
+
|
|
1700
|
+
// @__NO_SIDE_EFFECTS__
|
|
1701
|
+
export function nan(params?: string | core.$ZodNaNParams): ZodMiniNaN {
|
|
1702
|
+
return core._nan(ZodMiniNaN, params) as any;
|
|
1703
|
+
}
|
|
1704
|
+
|
|
1705
|
+
// ZodMiniPipe
|
|
1706
|
+
export interface ZodMiniPipe<A extends SomeType = core.$ZodType, B extends SomeType = core.$ZodType>
|
|
1707
|
+
extends _ZodMiniType<core.$ZodPipeInternals<A, B>> {
|
|
1708
|
+
// _zod: core.$ZodPipeInternals<A, B>;
|
|
1709
|
+
}
|
|
1710
|
+
export const ZodMiniPipe: core.$constructor<ZodMiniPipe> = /*@__PURE__*/ core.$constructor(
|
|
1711
|
+
"ZodMiniPipe",
|
|
1712
|
+
(inst, def) => {
|
|
1713
|
+
core.$ZodPipe.init(inst, def);
|
|
1714
|
+
ZodMiniType.init(inst, def);
|
|
1715
|
+
}
|
|
1716
|
+
);
|
|
1717
|
+
|
|
1718
|
+
// @__NO_SIDE_EFFECTS__
|
|
1719
|
+
export function pipe<
|
|
1720
|
+
const A extends SomeType,
|
|
1721
|
+
B extends core.$ZodType<unknown, core.output<A>> = core.$ZodType<unknown, core.output<A>>,
|
|
1722
|
+
>(in_: A, out: B | core.$ZodType<unknown, core.output<A>>): ZodMiniPipe<A, B> {
|
|
1723
|
+
return new ZodMiniPipe({
|
|
1724
|
+
type: "pipe",
|
|
1725
|
+
in: in_ as any as core.$ZodType,
|
|
1726
|
+
out: out as any as core.$ZodType,
|
|
1727
|
+
}) as any;
|
|
1728
|
+
}
|
|
1729
|
+
|
|
1730
|
+
// ZodMiniCodec
|
|
1731
|
+
export interface ZodMiniCodec<A extends SomeType = core.$ZodType, B extends SomeType = core.$ZodType>
|
|
1732
|
+
extends ZodMiniPipe<A, B>,
|
|
1733
|
+
core.$ZodCodec<A, B> {
|
|
1734
|
+
_zod: core.$ZodCodecInternals<A, B>;
|
|
1735
|
+
def: core.$ZodCodecDef<A, B>;
|
|
1736
|
+
}
|
|
1737
|
+
export const ZodMiniCodec: core.$constructor<ZodMiniCodec> = /*@__PURE__*/ core.$constructor(
|
|
1738
|
+
"ZodMiniCodec",
|
|
1739
|
+
(inst, def) => {
|
|
1740
|
+
ZodMiniPipe.init(inst, def);
|
|
1741
|
+
core.$ZodCodec.init(inst, def);
|
|
1742
|
+
}
|
|
1743
|
+
);
|
|
1744
|
+
|
|
1745
|
+
// @__NO_SIDE_EFFECTS__
|
|
1746
|
+
export function codec<const A extends SomeType, B extends core.SomeType = core.$ZodType>(
|
|
1747
|
+
in_: A,
|
|
1748
|
+
out: B,
|
|
1749
|
+
params: {
|
|
1750
|
+
decode: (value: core.output<A>, payload: core.ParsePayload<core.output<A>>) => core.util.MaybeAsync<core.input<B>>;
|
|
1751
|
+
encode: (value: core.input<B>, payload: core.ParsePayload<core.input<B>>) => core.util.MaybeAsync<core.output<A>>;
|
|
1752
|
+
}
|
|
1753
|
+
): ZodMiniCodec<A, B> {
|
|
1754
|
+
return new ZodMiniCodec({
|
|
1755
|
+
type: "pipe",
|
|
1756
|
+
in: in_ as any as core.$ZodType,
|
|
1757
|
+
out: out as any as core.$ZodType,
|
|
1758
|
+
transform: params.decode as any,
|
|
1759
|
+
reverseTransform: params.encode as any,
|
|
1760
|
+
}) as any;
|
|
1761
|
+
}
|
|
1762
|
+
|
|
1763
|
+
// @__NO_SIDE_EFFECTS__
|
|
1764
|
+
export function invertCodec<A extends SomeType, B extends SomeType>(codec: ZodMiniCodec<A, B>): ZodMiniCodec<B, A> {
|
|
1765
|
+
const def = codec._zod.def;
|
|
1766
|
+
return new ZodMiniCodec({
|
|
1767
|
+
type: "pipe",
|
|
1768
|
+
in: def.out as any,
|
|
1769
|
+
out: def.in as any,
|
|
1770
|
+
transform: def.reverseTransform as any,
|
|
1771
|
+
reverseTransform: def.transform as any,
|
|
1772
|
+
}) as any;
|
|
1773
|
+
}
|
|
1774
|
+
|
|
1775
|
+
// ZodMiniReadonly
|
|
1776
|
+
export interface ZodMiniReadonly<T extends SomeType = core.$ZodType>
|
|
1777
|
+
extends _ZodMiniType<core.$ZodReadonlyInternals<T>> {
|
|
1778
|
+
// _zod: core.$ZodReadonlyInternals<T>;
|
|
1779
|
+
}
|
|
1780
|
+
export const ZodMiniReadonly: core.$constructor<ZodMiniReadonly> = /*@__PURE__*/ core.$constructor(
|
|
1781
|
+
"ZodMiniReadonly",
|
|
1782
|
+
(inst, def) => {
|
|
1783
|
+
core.$ZodReadonly.init(inst, def);
|
|
1784
|
+
ZodMiniType.init(inst, def);
|
|
1785
|
+
}
|
|
1786
|
+
);
|
|
1787
|
+
|
|
1788
|
+
// @__NO_SIDE_EFFECTS__
|
|
1789
|
+
export function readonly<T extends SomeType>(innerType: T): ZodMiniReadonly<T> {
|
|
1790
|
+
return new ZodMiniReadonly({
|
|
1791
|
+
type: "readonly",
|
|
1792
|
+
innerType: innerType as any as core.$ZodType,
|
|
1793
|
+
}) as any;
|
|
1794
|
+
}
|
|
1795
|
+
|
|
1796
|
+
// ZodMiniTemplateLiteral
|
|
1797
|
+
export interface ZodMiniTemplateLiteral<Template extends string = string>
|
|
1798
|
+
extends _ZodMiniType<core.$ZodTemplateLiteralInternals<Template>> {
|
|
1799
|
+
// _zod: core.$ZodTemplateLiteralInternals<Template>;
|
|
1800
|
+
}
|
|
1801
|
+
export const ZodMiniTemplateLiteral: core.$constructor<ZodMiniTemplateLiteral> = /*@__PURE__*/ core.$constructor(
|
|
1802
|
+
"ZodMiniTemplateLiteral",
|
|
1803
|
+
(inst, def) => {
|
|
1804
|
+
core.$ZodTemplateLiteral.init(inst, def);
|
|
1805
|
+
ZodMiniType.init(inst, def);
|
|
1806
|
+
}
|
|
1807
|
+
);
|
|
1808
|
+
|
|
1809
|
+
// @__NO_SIDE_EFFECTS__
|
|
1810
|
+
export function templateLiteral<const Parts extends core.$ZodTemplateLiteralPart[]>(
|
|
1811
|
+
parts: Parts,
|
|
1812
|
+
params?: string | core.$ZodTemplateLiteralParams
|
|
1813
|
+
): ZodMiniTemplateLiteral<core.$PartsToTemplateLiteral<Parts>> {
|
|
1814
|
+
return new ZodMiniTemplateLiteral({
|
|
1815
|
+
type: "template_literal",
|
|
1816
|
+
parts,
|
|
1817
|
+
...util.normalizeParams(params),
|
|
1818
|
+
}) as any;
|
|
1819
|
+
}
|
|
1820
|
+
|
|
1821
|
+
// ZodMiniLazy
|
|
1822
|
+
export interface ZodMiniLazy<T extends SomeType = core.$ZodType> extends _ZodMiniType<core.$ZodLazyInternals<T>> {
|
|
1823
|
+
// _zod: core.$ZodLazyInternals<T>;
|
|
1824
|
+
}
|
|
1825
|
+
export const ZodMiniLazy: core.$constructor<ZodMiniLazy> = /*@__PURE__*/ core.$constructor(
|
|
1826
|
+
"ZodMiniLazy",
|
|
1827
|
+
(inst, def) => {
|
|
1828
|
+
core.$ZodLazy.init(inst, def);
|
|
1829
|
+
ZodMiniType.init(inst, def);
|
|
1830
|
+
}
|
|
1831
|
+
);
|
|
1832
|
+
|
|
1833
|
+
// export function lazy<T extends object>(getter: () => T): T {
|
|
1834
|
+
// return util.createTransparentProxy<T>(getter);
|
|
1835
|
+
// }
|
|
1836
|
+
// @__NO_SIDE_EFFECTS__
|
|
1837
|
+
function _lazy<T extends SomeType>(getter: () => T): ZodMiniLazy<T> {
|
|
1838
|
+
return new ZodMiniLazy({
|
|
1839
|
+
type: "lazy",
|
|
1840
|
+
getter: getter as any,
|
|
1841
|
+
}) as any;
|
|
1842
|
+
}
|
|
1843
|
+
export { _lazy as lazy };
|
|
1844
|
+
|
|
1845
|
+
// ZodMiniPromise
|
|
1846
|
+
export interface ZodMiniPromise<T extends SomeType = core.$ZodType> extends _ZodMiniType<core.$ZodPromiseInternals<T>> {
|
|
1847
|
+
// _zod: core.$ZodPromiseInternals<T>;
|
|
1848
|
+
}
|
|
1849
|
+
export const ZodMiniPromise: core.$constructor<ZodMiniPromise> = /*@__PURE__*/ core.$constructor(
|
|
1850
|
+
"ZodMiniPromise",
|
|
1851
|
+
(inst, def) => {
|
|
1852
|
+
core.$ZodPromise.init(inst, def);
|
|
1853
|
+
ZodMiniType.init(inst, def);
|
|
1854
|
+
}
|
|
1855
|
+
);
|
|
1856
|
+
|
|
1857
|
+
// @__NO_SIDE_EFFECTS__
|
|
1858
|
+
export function promise<T extends SomeType>(innerType: T): ZodMiniPromise<T> {
|
|
1859
|
+
return new ZodMiniPromise({
|
|
1860
|
+
type: "promise",
|
|
1861
|
+
innerType: innerType as any as core.$ZodType,
|
|
1862
|
+
}) as any;
|
|
1863
|
+
}
|
|
1864
|
+
|
|
1865
|
+
// ZodMiniCustom
|
|
1866
|
+
export interface ZodMiniCustom<O = unknown, I = unknown> extends _ZodMiniType<core.$ZodCustomInternals<O, I>> {
|
|
1867
|
+
// _zod: core.$ZodCustomInternals<O, I>;
|
|
1868
|
+
}
|
|
1869
|
+
export const ZodMiniCustom: core.$constructor<ZodMiniCustom> = /*@__PURE__*/ core.$constructor(
|
|
1870
|
+
"ZodMiniCustom",
|
|
1871
|
+
(inst, def) => {
|
|
1872
|
+
core.$ZodCustom.init(inst, def);
|
|
1873
|
+
ZodMiniType.init(inst, def);
|
|
1874
|
+
}
|
|
1875
|
+
);
|
|
1876
|
+
|
|
1877
|
+
// custom checks
|
|
1878
|
+
// @__NO_SIDE_EFFECTS__
|
|
1879
|
+
export function check<O = unknown>(fn: core.CheckFn<O>, params?: string | core.$ZodCustomParams): core.$ZodCheck<O> {
|
|
1880
|
+
const ch = new core.$ZodCheck({
|
|
1881
|
+
check: "custom",
|
|
1882
|
+
...util.normalizeParams(params),
|
|
1883
|
+
});
|
|
1884
|
+
|
|
1885
|
+
ch._zod.check = fn;
|
|
1886
|
+
return ch;
|
|
1887
|
+
}
|
|
1888
|
+
|
|
1889
|
+
// ZodCustom custom schema
|
|
1890
|
+
// @__NO_SIDE_EFFECTS__
|
|
1891
|
+
export function custom<O = unknown, I = O>(
|
|
1892
|
+
fn?: (data: O) => unknown,
|
|
1893
|
+
_params?: string | core.$ZodCustomParams | undefined
|
|
1894
|
+
): ZodMiniCustom<O, I> {
|
|
1895
|
+
return core._custom(ZodMiniCustom, fn ?? (() => true), _params) as any;
|
|
1896
|
+
}
|
|
1897
|
+
|
|
1898
|
+
// refine
|
|
1899
|
+
// @__NO_SIDE_EFFECTS__
|
|
1900
|
+
export function refine<T>(
|
|
1901
|
+
fn: (arg: NoInfer<T>) => util.MaybeAsync<unknown>,
|
|
1902
|
+
_params: string | core.$ZodCustomParams = {}
|
|
1903
|
+
): core.$ZodCheck<T> {
|
|
1904
|
+
return core._refine(ZodMiniCustom, fn, _params);
|
|
1905
|
+
}
|
|
1906
|
+
|
|
1907
|
+
// superRefine
|
|
1908
|
+
// @__NO_SIDE_EFFECTS__
|
|
1909
|
+
export function superRefine<T>(
|
|
1910
|
+
fn: (arg: T, payload: core.$RefinementCtx<T>) => void | Promise<void>,
|
|
1911
|
+
params?: core.$ZodSuperRefineParams
|
|
1912
|
+
): core.$ZodCheck<T> {
|
|
1913
|
+
return core._superRefine(fn, params);
|
|
1914
|
+
}
|
|
1915
|
+
|
|
1916
|
+
// Re-export describe and meta from core
|
|
1917
|
+
export const describe = core.describe;
|
|
1918
|
+
export const meta = core.meta;
|
|
1919
|
+
|
|
1920
|
+
// instanceof
|
|
1921
|
+
abstract class Class {
|
|
1922
|
+
constructor(..._args: any[]) {}
|
|
1923
|
+
}
|
|
1924
|
+
// @__NO_SIDE_EFFECTS__
|
|
1925
|
+
function _instanceof<T extends typeof Class>(
|
|
1926
|
+
cls: T,
|
|
1927
|
+
params: core.$ZodCustomParams = {}
|
|
1928
|
+
): ZodMiniCustom<InstanceType<T>, InstanceType<T>> {
|
|
1929
|
+
const inst = custom((data) => data instanceof cls, params);
|
|
1930
|
+
inst._zod.bag.Class = cls;
|
|
1931
|
+
// Override check to emit invalid_type instead of custom
|
|
1932
|
+
inst._zod.check = (payload) => {
|
|
1933
|
+
if (!(payload.value instanceof cls)) {
|
|
1934
|
+
payload.issues.push({
|
|
1935
|
+
code: "invalid_type",
|
|
1936
|
+
expected: cls.name,
|
|
1937
|
+
input: payload.value,
|
|
1938
|
+
inst,
|
|
1939
|
+
path: [...(inst._zod.def.path ?? [])],
|
|
1940
|
+
});
|
|
1941
|
+
}
|
|
1942
|
+
};
|
|
1943
|
+
return inst as any;
|
|
1944
|
+
}
|
|
1945
|
+
export { _instanceof as instanceof };
|
|
1946
|
+
|
|
1947
|
+
// stringbool
|
|
1948
|
+
export const stringbool: (_params?: string | core.$ZodStringBoolParams) => ZodMiniCodec<ZodMiniString, ZodMiniBoolean> =
|
|
1949
|
+
(...args) =>
|
|
1950
|
+
core._stringbool(
|
|
1951
|
+
{
|
|
1952
|
+
Codec: ZodMiniCodec,
|
|
1953
|
+
Boolean: ZodMiniBoolean,
|
|
1954
|
+
String: ZodMiniString,
|
|
1955
|
+
},
|
|
1956
|
+
...args
|
|
1957
|
+
) as any;
|
|
1958
|
+
|
|
1959
|
+
// json
|
|
1960
|
+
|
|
1961
|
+
// json
|
|
1962
|
+
export type _ZodMiniJSONSchema = ZodMiniUnion<
|
|
1963
|
+
[
|
|
1964
|
+
ZodMiniString,
|
|
1965
|
+
ZodMiniNumber,
|
|
1966
|
+
ZodMiniBoolean,
|
|
1967
|
+
ZodMiniNull,
|
|
1968
|
+
ZodMiniArray<ZodMiniJSONSchema>,
|
|
1969
|
+
ZodMiniRecord<ZodMiniString<string>, ZodMiniJSONSchema>,
|
|
1970
|
+
]
|
|
1971
|
+
>;
|
|
1972
|
+
export type _ZodMiniJSONSchemaInternals = _ZodMiniJSONSchema["_zod"];
|
|
1973
|
+
|
|
1974
|
+
export interface ZodMiniJSONSchemaInternals extends _ZodMiniJSONSchemaInternals {
|
|
1975
|
+
output: util.JSONType;
|
|
1976
|
+
input: util.JSONType;
|
|
1977
|
+
}
|
|
1978
|
+
export interface ZodMiniJSONSchema extends _ZodMiniJSONSchema {
|
|
1979
|
+
_zod: ZodMiniJSONSchemaInternals;
|
|
1980
|
+
}
|
|
1981
|
+
|
|
1982
|
+
// @__NO_SIDE_EFFECTS__
|
|
1983
|
+
export function json(): ZodMiniJSONSchema {
|
|
1984
|
+
const jsonSchema: any = _lazy(() => {
|
|
1985
|
+
return union([string(), number(), boolean(), _null(), array(jsonSchema), record(string(), jsonSchema)]);
|
|
1986
|
+
});
|
|
1987
|
+
return jsonSchema;
|
|
1988
|
+
}
|
|
1989
|
+
|
|
1990
|
+
// ZodMiniFunction
|
|
1991
|
+
export interface ZodMiniFunction<
|
|
1992
|
+
Args extends core.$ZodFunctionIn = core.$ZodFunctionIn,
|
|
1993
|
+
Returns extends core.$ZodFunctionOut = core.$ZodFunctionOut,
|
|
1994
|
+
> extends _ZodMiniType<core.$ZodFunctionInternals<Args, Returns>>,
|
|
1995
|
+
core.$ZodFunction<Args, Returns> {
|
|
1996
|
+
_def: core.$ZodFunctionDef<Args, Returns>;
|
|
1997
|
+
_input: core.$InferInnerFunctionType<Args, Returns>;
|
|
1998
|
+
_output: core.$InferOuterFunctionType<Args, Returns>;
|
|
1999
|
+
|
|
2000
|
+
input<const Items extends util.TupleItems, const Rest extends core.$ZodFunctionOut = core.$ZodFunctionOut>(
|
|
2001
|
+
args: Items,
|
|
2002
|
+
rest?: Rest
|
|
2003
|
+
): ZodMiniFunction<ZodMiniTuple<Items, Rest>, Returns>;
|
|
2004
|
+
input<NewArgs extends core.$ZodFunctionIn>(args: NewArgs): ZodMiniFunction<NewArgs, Returns>;
|
|
2005
|
+
input(...args: any[]): ZodMiniFunction<any, Returns>;
|
|
2006
|
+
|
|
2007
|
+
output<NewReturns extends core.$ZodFunctionOut>(output: NewReturns): ZodMiniFunction<Args, NewReturns>;
|
|
2008
|
+
}
|
|
2009
|
+
|
|
2010
|
+
export const ZodMiniFunction: core.$constructor<ZodMiniFunction> = /*@__PURE__*/ core.$constructor(
|
|
2011
|
+
"ZodMiniFunction",
|
|
2012
|
+
(inst, def) => {
|
|
2013
|
+
core.$ZodFunction.init(inst, def);
|
|
2014
|
+
ZodMiniType.init(inst, def);
|
|
2015
|
+
}
|
|
2016
|
+
);
|
|
2017
|
+
|
|
2018
|
+
export function _function(): ZodMiniFunction;
|
|
2019
|
+
export function _function<const In extends Array<SomeType> = Array<SomeType>>(params: {
|
|
2020
|
+
input: In;
|
|
2021
|
+
}): ZodMiniFunction<ZodMiniTuple<In, null>, core.$ZodFunctionOut>;
|
|
2022
|
+
export function _function<
|
|
2023
|
+
const In extends Array<SomeType> = Array<SomeType>,
|
|
2024
|
+
const Out extends core.$ZodFunctionOut = core.$ZodFunctionOut,
|
|
2025
|
+
>(params: {
|
|
2026
|
+
input: In;
|
|
2027
|
+
output: Out;
|
|
2028
|
+
}): ZodMiniFunction<ZodMiniTuple<In, null>, Out>;
|
|
2029
|
+
export function _function<const In extends core.$ZodFunctionIn = core.$ZodFunctionIn>(params: {
|
|
2030
|
+
input: In;
|
|
2031
|
+
}): ZodMiniFunction<In, core.$ZodFunctionOut>;
|
|
2032
|
+
export function _function<const Out extends core.$ZodFunctionOut = core.$ZodFunctionOut>(params: {
|
|
2033
|
+
output: Out;
|
|
2034
|
+
}): ZodMiniFunction<core.$ZodFunctionIn, Out>;
|
|
2035
|
+
export function _function<
|
|
2036
|
+
In extends core.$ZodFunctionIn = core.$ZodFunctionIn,
|
|
2037
|
+
Out extends core.$ZodFunctionOut = core.$ZodFunctionOut,
|
|
2038
|
+
>(params?: { input: In; output: Out }): ZodMiniFunction<In, Out>;
|
|
2039
|
+
// @__NO_SIDE_EFFECTS__
|
|
2040
|
+
export function _function(params?: {
|
|
2041
|
+
output?: core.$ZodFunctionOut;
|
|
2042
|
+
input?: core.$ZodFunctionArgs | Array<SomeType>;
|
|
2043
|
+
}): ZodMiniFunction {
|
|
2044
|
+
return new ZodMiniFunction({
|
|
2045
|
+
type: "function",
|
|
2046
|
+
input: Array.isArray(params?.input) ? tuple(params?.input as any) : (params?.input ?? array(unknown())),
|
|
2047
|
+
output: params?.output ?? unknown(),
|
|
2048
|
+
});
|
|
2049
|
+
}
|
|
2050
|
+
|
|
2051
|
+
export { _function as function };
|