@homeflare/alchemy 0.46.1 → 0.47.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/README.md +10 -10
- package/dist/argocd/cluster.d.ts +5 -5
- package/dist/argocd/cluster.d.ts.map +1 -1
- package/dist/argocd/fake-argocd.d.ts +1 -1
- package/dist/argocd/fake-argocd.d.ts.map +1 -1
- package/dist/argocd/index.js.map +1 -1
- package/dist/argocd/providers.d.ts +1 -1
- package/dist/argocd/providers.d.ts.map +1 -1
- package/dist/argocd/repo-creds.d.ts +5 -5
- package/dist/argocd/repo-creds.d.ts.map +1 -1
- package/dist/argocd/repository.d.ts +5 -5
- package/dist/argocd/repository.d.ts.map +1 -1
- package/dist/argocd/resource.d.ts +1 -1
- package/dist/argocd/resource.d.ts.map +1 -1
- package/dist/caddy/admin.d.ts +1 -1
- package/dist/caddy/admin.d.ts.map +1 -1
- package/dist/caddy/caddy-http-client.d.ts +2 -2
- package/dist/caddy/caddy-http-client.d.ts.map +1 -1
- package/dist/caddy/format.d.ts +1 -1
- package/dist/caddy/format.d.ts.map +1 -1
- package/dist/caddy/index.js +6 -6
- package/dist/caddy/index.js.map +4 -4
- package/dist/ceph/auth-entity.d.ts +1 -1
- package/dist/ceph/auth-entity.d.ts.map +1 -1
- package/dist/ceph/ceph-auth-reconcile.d.ts +1 -1
- package/dist/ceph/ceph-auth-reconcile.d.ts.map +1 -1
- package/dist/ceph/index.js +5 -5
- package/dist/ceph/index.js.map +4 -4
- package/dist/cloudflare/fake-mesh.d.ts +2 -2
- package/dist/cloudflare/fake-mesh.d.ts.map +1 -1
- package/dist/cloudflare/fake-r2-lock.d.ts +1 -1
- package/dist/cloudflare/fake-r2-lock.d.ts.map +1 -1
- package/dist/cloudflare/index.js +3 -3
- package/dist/cloudflare/index.js.map +3 -3
- package/dist/cloudflare/mesh-node-token.d.ts +1 -1
- package/dist/cloudflare/mesh-node-token.d.ts.map +1 -1
- package/dist/cloudflare/mesh-node.d.ts +1 -1
- package/dist/cloudflare/mesh-node.d.ts.map +1 -1
- package/dist/cloudflare/providers.d.ts +1 -1
- package/dist/cloudflare/providers.d.ts.map +1 -1
- package/dist/cloudflare/r2-bucket-lock.d.ts +1 -1
- package/dist/cloudflare/r2-bucket-lock.d.ts.map +1 -1
- package/dist/discord/application-command.d.ts +6 -6
- package/dist/discord/application-command.d.ts.map +1 -1
- package/dist/discord/fake-discord.d.ts +1 -1
- package/dist/discord/fake-discord.d.ts.map +1 -1
- package/dist/discord/guild-application-command.d.ts +6 -6
- package/dist/discord/guild-application-command.d.ts.map +1 -1
- package/dist/discord/index.js.map +1 -1
- package/dist/discord/providers.d.ts +1 -1
- package/dist/discord/providers.d.ts.map +1 -1
- package/dist/discord/resource.d.ts +1 -1
- package/dist/discord/resource.d.ts.map +1 -1
- package/dist/forgejo/branch-protection.d.ts +5 -5
- package/dist/forgejo/branch-protection.d.ts.map +1 -1
- package/dist/forgejo/fake-forgejo.d.ts +1 -1
- package/dist/forgejo/fake-forgejo.d.ts.map +1 -1
- package/dist/forgejo/index.js.map +1 -1
- package/dist/forgejo/org-actions-secrets.d.ts +5 -5
- package/dist/forgejo/org-actions-secrets.d.ts.map +1 -1
- package/dist/forgejo/org-label.d.ts +5 -5
- package/dist/forgejo/org-label.d.ts.map +1 -1
- package/dist/forgejo/org-team.d.ts +5 -5
- package/dist/forgejo/org-team.d.ts.map +1 -1
- package/dist/forgejo/repo-webhook.d.ts +5 -5
- package/dist/forgejo/repo-webhook.d.ts.map +1 -1
- package/dist/forgejo/repository.d.ts +5 -5
- package/dist/forgejo/repository.d.ts.map +1 -1
- package/dist/forgejo/resource.d.ts +1 -1
- package/dist/forgejo/resource.d.ts.map +1 -1
- package/dist/forgejo/team-member.d.ts +5 -5
- package/dist/forgejo/team-member.d.ts.map +1 -1
- package/dist/github/repository-ruleset-providers.d.ts +1 -1
- package/dist/github/repository-ruleset-providers.d.ts.map +1 -1
- package/dist/google-workspace/domain-alias.d.ts +5 -5
- package/dist/google-workspace/domain-alias.d.ts.map +1 -1
- package/dist/google-workspace/fake-google-workspace.d.ts +1 -1
- package/dist/google-workspace/fake-google-workspace.d.ts.map +1 -1
- package/dist/google-workspace/group-member.d.ts +5 -5
- package/dist/google-workspace/group-member.d.ts.map +1 -1
- package/dist/google-workspace/group.d.ts +5 -5
- package/dist/google-workspace/group.d.ts.map +1 -1
- package/dist/google-workspace/index.js.map +1 -1
- package/dist/google-workspace/org-unit.d.ts +5 -5
- package/dist/google-workspace/org-unit.d.ts.map +1 -1
- package/dist/google-workspace/providers.d.ts +1 -1
- package/dist/google-workspace/providers.d.ts.map +1 -1
- package/dist/google-workspace/resource.d.ts +1 -1
- package/dist/google-workspace/resource.d.ts.map +1 -1
- package/dist/grafana/alert-rule-group.d.ts +4 -4
- package/dist/grafana/alert-rule-group.d.ts.map +1 -1
- package/dist/grafana/contact-point.d.ts +4 -4
- package/dist/grafana/dashboard.d.ts +4 -4
- package/dist/grafana/datasource.d.ts +4 -4
- package/dist/grafana/fake-grafana.d.ts +1 -1
- package/dist/grafana/fake-grafana.d.ts.map +1 -1
- package/dist/grafana/folder.d.ts +4 -4
- package/dist/grafana/message-template.d.ts +4 -4
- package/dist/grafana/mute-timing.d.ts +4 -4
- package/dist/grafana/notification-policy.d.ts +4 -4
- package/dist/grafana/notification-policy.d.ts.map +1 -1
- package/dist/grafana/providers.d.ts +1 -1
- package/dist/grafana/providers.d.ts.map +1 -1
- package/dist/litellm/access-group.d.ts +1 -1
- package/dist/litellm/budget-operations.d.ts +1 -1
- package/dist/litellm/budget-operations.d.ts.map +1 -1
- package/dist/litellm/budget.d.ts +2 -2
- package/dist/litellm/credential-errors.d.ts +1 -1
- package/dist/litellm/credential-errors.d.ts.map +1 -1
- package/dist/litellm/credential.d.ts +1 -1
- package/dist/litellm/index.js +26 -5
- package/dist/litellm/index.js.map +8 -8
- package/dist/litellm/key-errors.d.ts +1 -1
- package/dist/litellm/key-errors.d.ts.map +1 -1
- package/dist/litellm/key.d.ts +2 -2
- package/dist/litellm/mcp-server-locate.d.ts +1 -1
- package/dist/litellm/mcp-server-locate.d.ts.map +1 -1
- package/dist/litellm/mcp-server.d.ts +2 -2
- package/dist/litellm/model-operations.d.ts +1 -1
- package/dist/litellm/model-operations.d.ts.map +1 -1
- package/dist/litellm/model.d.ts +2 -2
- package/dist/litellm/operations.d.ts +1 -1
- package/dist/litellm/operations.d.ts.map +1 -1
- package/dist/litellm/policy-attachment.d.ts +1 -1
- package/dist/litellm/policy.d.ts +1 -1
- package/dist/litellm/providers.d.ts +1 -1
- package/dist/litellm/providers.d.ts.map +1 -1
- package/dist/litellm/team-operations.d.ts +1 -1
- package/dist/litellm/team-operations.d.ts.map +1 -1
- package/dist/litellm/team.d.ts +1 -1
- package/dist/litellm/tool-policy-operations.d.ts +1 -1
- package/dist/litellm/tool-policy-operations.d.ts.map +1 -1
- package/dist/litellm/tool-policy.d.ts +1 -1
- package/dist/litellm/toolset.d.ts +1 -1
- package/dist/netbox/fake-netbox.d.ts +1 -1
- package/dist/netbox/fake-netbox.d.ts.map +1 -1
- package/dist/netbox/index.js.map +1 -1
- package/dist/netbox/prefix.d.ts +5 -5
- package/dist/netbox/prefix.d.ts.map +1 -1
- package/dist/netbox/resource.d.ts +1 -1
- package/dist/netbox/resource.d.ts.map +1 -1
- package/dist/openbao/approle-login.d.ts +1 -1
- package/dist/openbao/approle-login.d.ts.map +1 -1
- package/dist/openbao/auth-method-reconcile.d.ts +1 -1
- package/dist/openbao/auth-method-reconcile.d.ts.map +1 -1
- package/dist/openbao/auth-method-wire.d.ts +4 -4
- package/dist/openbao/auth-method-wire.d.ts.map +1 -1
- package/dist/openbao/auth-method.d.ts +1 -1
- package/dist/openbao/auth-method.d.ts.map +1 -1
- package/dist/openbao/auth-role-identity.d.ts +1 -1
- package/dist/openbao/auth-role-identity.d.ts.map +1 -1
- package/dist/openbao/auth-role-wire.d.ts +4 -4
- package/dist/openbao/auth-role-wire.d.ts.map +1 -1
- package/dist/openbao/auth-role.d.ts +1 -1
- package/dist/openbao/auth-role.d.ts.map +1 -1
- package/dist/openbao/bao-http.d.ts +1 -1
- package/dist/openbao/bao-http.d.ts.map +1 -1
- package/dist/openbao/bao-identity.d.ts +1 -1
- package/dist/openbao/bao-identity.d.ts.map +1 -1
- package/dist/openbao/cloudflare-permission-groups.d.ts +1 -1
- package/dist/openbao/cloudflare-permission-groups.d.ts.map +1 -1
- package/dist/openbao/cloudflare-role-wire.d.ts +1 -1
- package/dist/openbao/cloudflare-role-wire.d.ts.map +1 -1
- package/dist/openbao/cloudflare-role.d.ts +1 -1
- package/dist/openbao/cloudflare-role.d.ts.map +1 -1
- package/dist/openbao/distilled.d.ts +1 -1
- package/dist/openbao/distilled.d.ts.map +1 -1
- package/dist/openbao/fake-bao.d.ts +1 -1
- package/dist/openbao/fake-bao.d.ts.map +1 -1
- package/dist/openbao/fake-core.d.ts +1 -1
- package/dist/openbao/fake-core.d.ts.map +1 -1
- package/dist/openbao/fake-engines.d.ts +1 -1
- package/dist/openbao/fake-engines.d.ts.map +1 -1
- package/dist/openbao/fake-families.d.ts +2 -2
- package/dist/openbao/fake-families.d.ts.map +1 -1
- package/dist/openbao/fake-stack.d.ts +5 -0
- package/dist/openbao/fake-stack.d.ts.map +1 -1
- package/dist/openbao/forgejo-bootstrap.d.ts +1 -1
- package/dist/openbao/forgejo-bootstrap.d.ts.map +1 -1
- package/dist/openbao/index.js +31 -10
- package/dist/openbao/index.js.map +31 -31
- package/dist/openbao/jwt-config.d.ts +1 -1
- package/dist/openbao/jwt-config.d.ts.map +1 -1
- package/dist/openbao/jwt-role.d.ts +1 -1
- package/dist/openbao/jwt-role.d.ts.map +1 -1
- package/dist/openbao/kubernetes-role.d.ts +1 -1
- package/dist/openbao/kubernetes-role.d.ts.map +1 -1
- package/dist/openbao/mfa-enforcement.d.ts +1 -1
- package/dist/openbao/mfa-enforcement.d.ts.map +1 -1
- package/dist/openbao/mfa-totp.d.ts +1 -1
- package/dist/openbao/mfa-totp.d.ts.map +1 -1
- package/dist/openbao/mfa-wire.d.ts +1 -1
- package/dist/openbao/mfa-wire.d.ts.map +1 -1
- package/dist/openbao/mount-move.d.ts +1 -1
- package/dist/openbao/mount-move.d.ts.map +1 -1
- package/dist/openbao/mount-reconcile.d.ts +1 -1
- package/dist/openbao/mount-reconcile.d.ts.map +1 -1
- package/dist/openbao/mount-wire.d.ts +4 -4
- package/dist/openbao/mount-wire.d.ts.map +1 -1
- package/dist/openbao/mount.d.ts +1 -1
- package/dist/openbao/mount.d.ts.map +1 -1
- package/dist/openbao/pki-role.d.ts +1 -1
- package/dist/openbao/pki-role.d.ts.map +1 -1
- package/dist/openbao/plugin-reconcile.d.ts +1 -1
- package/dist/openbao/plugin-reconcile.d.ts.map +1 -1
- package/dist/openbao/plugin-wire.d.ts +1 -1
- package/dist/openbao/plugin-wire.d.ts.map +1 -1
- package/dist/openbao/plugin.d.ts +1 -1
- package/dist/openbao/plugin.d.ts.map +1 -1
- package/dist/openbao/policy-identity.d.ts +1 -1
- package/dist/openbao/policy-identity.d.ts.map +1 -1
- package/dist/openbao/policy-wire.d.ts +4 -4
- package/dist/openbao/policy-wire.d.ts.map +1 -1
- package/dist/openbao/policy.d.ts +1 -1
- package/dist/openbao/policy.d.ts.map +1 -1
- package/dist/openbao/proxmox-role-wire.d.ts +1 -1
- package/dist/openbao/proxmox-role-wire.d.ts.map +1 -1
- package/dist/openbao/proxmox-role.d.ts +1 -1
- package/dist/openbao/proxmox-role.d.ts.map +1 -1
- package/dist/openbao/remount-wire.d.ts +1 -1
- package/dist/openbao/remount-wire.d.ts.map +1 -1
- package/dist/openbao/rename-identity.d.ts +1 -1
- package/dist/openbao/rename-identity.d.ts.map +1 -1
- package/dist/openbao/rename.d.ts +1 -1
- package/dist/openbao/rename.d.ts.map +1 -1
- package/dist/openbao/role-reconcile.d.ts +1 -1
- package/dist/openbao/role-reconcile.d.ts.map +1 -1
- package/dist/openbao/ssh-role.d.ts +1 -1
- package/dist/openbao/ssh-role.d.ts.map +1 -1
- package/dist/opnsense/alias.d.ts +5 -5
- package/dist/opnsense/alias.d.ts.map +1 -1
- package/dist/opnsense/category.d.ts +5 -5
- package/dist/opnsense/category.d.ts.map +1 -1
- package/dist/opnsense/fake-opnsense.d.ts +1 -1
- package/dist/opnsense/fake-opnsense.d.ts.map +1 -1
- package/dist/opnsense/group.d.ts +5 -5
- package/dist/opnsense/group.d.ts.map +1 -1
- package/dist/opnsense/index.js.map +1 -1
- package/dist/opnsense/providers.d.ts +1 -1
- package/dist/opnsense/providers.d.ts.map +1 -1
- package/dist/opnsense/resource.d.ts +1 -1
- package/dist/opnsense/resource.d.ts.map +1 -1
- package/dist/ownership/probe.d.ts.map +1 -1
- package/dist/paperless/custom-field.d.ts +5 -5
- package/dist/paperless/custom-field.d.ts.map +1 -1
- package/dist/paperless/document-type.d.ts +5 -5
- package/dist/paperless/document-type.d.ts.map +1 -1
- package/dist/paperless/fake-paperless.d.ts +1 -1
- package/dist/paperless/fake-paperless.d.ts.map +1 -1
- package/dist/paperless/matching-types.d.ts +1 -1
- package/dist/paperless/matching-types.d.ts.map +1 -1
- package/dist/paperless/matching.d.ts +4 -4
- package/dist/paperless/providers.d.ts +1 -1
- package/dist/paperless/providers.d.ts.map +1 -1
- package/dist/paperless/storage-path.d.ts +5 -5
- package/dist/paperless/storage-path.d.ts.map +1 -1
- package/dist/paperless/tag.d.ts +5 -5
- package/dist/paperless/tag.d.ts.map +1 -1
- package/dist/postgres/connection.d.ts +2 -2
- package/dist/postgres/connection.d.ts.map +1 -1
- package/dist/postgres/database-sql.d.ts +1 -1
- package/dist/postgres/database-sql.d.ts.map +1 -1
- package/dist/postgres/database.d.ts +1 -1
- package/dist/postgres/database.d.ts.map +1 -1
- package/dist/postgres/fake-grants-read.d.ts +1 -1
- package/dist/postgres/fake-grants-read.d.ts.map +1 -1
- package/dist/postgres/fake-grants-write.d.ts +1 -1
- package/dist/postgres/fake-grants-write.d.ts.map +1 -1
- package/dist/postgres/fake-role-sql.d.ts +1 -1
- package/dist/postgres/fake-role-sql.d.ts.map +1 -1
- package/dist/postgres/fake-schema-drop.d.ts +1 -1
- package/dist/postgres/fake-schema-drop.d.ts.map +1 -1
- package/dist/postgres/fake-schema-sql.d.ts +1 -1
- package/dist/postgres/fake-schema-sql.d.ts.map +1 -1
- package/dist/postgres/grants-existence.d.ts +1 -1
- package/dist/postgres/grants-existence.d.ts.map +1 -1
- package/dist/postgres/grants-ops.d.ts +1 -1
- package/dist/postgres/grants-ops.d.ts.map +1 -1
- package/dist/postgres/grants-ownership.d.ts +1 -1
- package/dist/postgres/grants-ownership.d.ts.map +1 -1
- package/dist/postgres/grants-read-defaults.d.ts +1 -1
- package/dist/postgres/grants-read-defaults.d.ts.map +1 -1
- package/dist/postgres/grants-read.d.ts +1 -1
- package/dist/postgres/grants-read.d.ts.map +1 -1
- package/dist/postgres/index.js +93 -77
- package/dist/postgres/index.js.map +23 -23
- package/dist/postgres/installed-classifier.d.ts +1 -1
- package/dist/postgres/installed-classifier.d.ts.map +1 -1
- package/dist/postgres/psql-executor.d.ts.map +1 -1
- package/dist/postgres/role-membership-sql.d.ts +1 -1
- package/dist/postgres/role-membership-sql.d.ts.map +1 -1
- package/dist/postgres/role-sql.d.ts +1 -1
- package/dist/postgres/role-sql.d.ts.map +1 -1
- package/dist/postgres/role.d.ts +1 -1
- package/dist/postgres/role.d.ts.map +1 -1
- package/dist/postgres/schema-assert.d.ts +1 -1
- package/dist/postgres/schema-assert.d.ts.map +1 -1
- package/dist/postgres/schema-delete.d.ts +1 -1
- package/dist/postgres/schema-delete.d.ts.map +1 -1
- package/dist/postgres/schema-drop-sql.d.ts +1 -1
- package/dist/postgres/schema-drop-sql.d.ts.map +1 -1
- package/dist/postgres/schema-reconcile.d.ts +1 -1
- package/dist/postgres/schema-reconcile.d.ts.map +1 -1
- package/dist/postgres/schema-sql.d.ts +1 -1
- package/dist/postgres/schema-sql.d.ts.map +1 -1
- package/dist/postgres/schema.d.ts +1 -1
- package/dist/postgres/schema.d.ts.map +1 -1
- package/dist/postgres/search-path.d.ts +1 -1
- package/dist/postgres/search-path.d.ts.map +1 -1
- package/dist/proxmox/acl.d.ts +1 -1
- package/dist/proxmox/acl.d.ts.map +1 -1
- package/dist/proxmox/api-token.d.ts +1 -1
- package/dist/proxmox/api-token.d.ts.map +1 -1
- package/dist/proxmox/backup-job-distilled.d.ts +2 -2
- package/dist/proxmox/backup-job-distilled.d.ts.map +1 -1
- package/dist/proxmox/backup-job.d.ts +1 -1
- package/dist/proxmox/backup-job.d.ts.map +1 -1
- package/dist/proxmox/ceph-daemon-wire.d.ts +3 -3
- package/dist/proxmox/ceph-daemon-wire.d.ts.map +1 -1
- package/dist/proxmox/ceph-daemon.d.ts +2 -2
- package/dist/proxmox/ceph-daemon.d.ts.map +1 -1
- package/dist/proxmox/ceph-flag-wire.d.ts +3 -3
- package/dist/proxmox/ceph-flag-wire.d.ts.map +1 -1
- package/dist/proxmox/ceph-flag.d.ts +1 -1
- package/dist/proxmox/ceph-flag.d.ts.map +1 -1
- package/dist/proxmox/ceph-fs-distilled.d.ts +3 -3
- package/dist/proxmox/ceph-fs-distilled.d.ts.map +1 -1
- package/dist/proxmox/ceph-fs.d.ts +1 -1
- package/dist/proxmox/ceph-fs.d.ts.map +1 -1
- package/dist/proxmox/ceph-osd-tree.d.ts +1 -1
- package/dist/proxmox/ceph-osd-tree.d.ts.map +1 -1
- package/dist/proxmox/ceph-osd-write.d.ts +2 -2
- package/dist/proxmox/ceph-osd-write.d.ts.map +1 -1
- package/dist/proxmox/ceph-osd.d.ts +1 -1
- package/dist/proxmox/ceph-osd.d.ts.map +1 -1
- package/dist/proxmox/ceph-pool-settle.d.ts +2 -2
- package/dist/proxmox/ceph-pool-settle.d.ts.map +1 -1
- package/dist/proxmox/ceph-pool-wire.d.ts +1 -1
- package/dist/proxmox/ceph-pool-wire.d.ts.map +1 -1
- package/dist/proxmox/ceph-pool.d.ts +1 -1
- package/dist/proxmox/ceph-pool.d.ts.map +1 -1
- package/dist/proxmox/client.d.ts +1 -1
- package/dist/proxmox/client.d.ts.map +1 -1
- package/dist/proxmox/distilled-pbs.d.ts +1 -1
- package/dist/proxmox/distilled-pbs.d.ts.map +1 -1
- package/dist/proxmox/distilled-pve.d.ts +1 -1
- package/dist/proxmox/distilled-pve.d.ts.map +1 -1
- package/dist/proxmox/fake-pbs-jobs.d.ts +1 -1
- package/dist/proxmox/fake-pve.d.ts +1 -1
- package/dist/proxmox/fake-pve.d.ts.map +1 -1
- package/dist/proxmox/firewall-alias-lifecycle.d.ts +6 -6
- package/dist/proxmox/firewall-alias-lifecycle.d.ts.map +1 -1
- package/dist/proxmox/firewall-alias.d.ts +1 -1
- package/dist/proxmox/firewall-alias.d.ts.map +1 -1
- package/dist/proxmox/group-wire.d.ts +2 -2
- package/dist/proxmox/group-wire.d.ts.map +1 -1
- package/dist/proxmox/group.d.ts +1 -1
- package/dist/proxmox/group.d.ts.map +1 -1
- package/dist/proxmox/ha-resource.d.ts +1 -1
- package/dist/proxmox/ha-resource.d.ts.map +1 -1
- package/dist/proxmox/ha-rule.d.ts +1 -1
- package/dist/proxmox/ha-rule.d.ts.map +1 -1
- package/dist/proxmox/index.js +38 -17
- package/dist/proxmox/index.js.map +9 -9
- package/dist/proxmox/lease-cache.d.ts +2 -2
- package/dist/proxmox/lease-cache.d.ts.map +1 -1
- package/dist/proxmox/live-core-fixtures.d.ts +1 -1
- package/dist/proxmox/live-core-fixtures.d.ts.map +1 -1
- package/dist/proxmox/lxc-lifecycle.d.ts +3 -3
- package/dist/proxmox/lxc-lifecycle.d.ts.map +1 -1
- package/dist/proxmox/lxc-read.d.ts +1 -1
- package/dist/proxmox/lxc-read.d.ts.map +1 -1
- package/dist/proxmox/lxc-task.d.ts +1 -1
- package/dist/proxmox/lxc-task.d.ts.map +1 -1
- package/dist/proxmox/lxc.d.ts +1 -1
- package/dist/proxmox/lxc.d.ts.map +1 -1
- package/dist/proxmox/members.d.ts +3 -3
- package/dist/proxmox/members.d.ts.map +1 -1
- package/dist/proxmox/metric-server-distilled.d.ts +3 -3
- package/dist/proxmox/metric-server-distilled.d.ts.map +1 -1
- package/dist/proxmox/metric-server.d.ts +1 -1
- package/dist/proxmox/metric-server.d.ts.map +1 -1
- package/dist/proxmox/mint.d.ts +1 -1
- package/dist/proxmox/mint.d.ts.map +1 -1
- package/dist/proxmox/network-apply-read.d.ts +3 -3
- package/dist/proxmox/network-apply-read.d.ts.map +1 -1
- package/dist/proxmox/network-apply-run.d.ts +1 -1
- package/dist/proxmox/network-apply-run.d.ts.map +1 -1
- package/dist/proxmox/network-apply.d.ts +1 -1
- package/dist/proxmox/network-apply.d.ts.map +1 -1
- package/dist/proxmox/node-network-wire.d.ts +2 -2
- package/dist/proxmox/node-network-wire.d.ts.map +1 -1
- package/dist/proxmox/node-network.d.ts +1 -1
- package/dist/proxmox/node-network.d.ts.map +1 -1
- package/dist/proxmox/notification-matcher-distilled.d.ts +4 -4
- package/dist/proxmox/notification-matcher-distilled.d.ts.map +1 -1
- package/dist/proxmox/notification-matcher-lifecycle.d.ts +4 -4
- package/dist/proxmox/notification-matcher.d.ts +1 -1
- package/dist/proxmox/notification-matcher.d.ts.map +1 -1
- package/dist/proxmox/notification-target-distilled.d.ts +4 -4
- package/dist/proxmox/notification-target-distilled.d.ts.map +1 -1
- package/dist/proxmox/notification-target-lifecycle.d.ts +4 -4
- package/dist/proxmox/notification-target.d.ts +1 -1
- package/dist/proxmox/notification-target.d.ts.map +1 -1
- package/dist/proxmox/pbs-datastore-lifecycle.d.ts +4 -4
- package/dist/proxmox/pbs-datastore-wire.d.ts +4 -4
- package/dist/proxmox/pbs-datastore-wire.d.ts.map +1 -1
- package/dist/proxmox/pbs-datastore.d.ts +1 -1
- package/dist/proxmox/pbs-datastore.d.ts.map +1 -1
- package/dist/proxmox/pbs-notification-matcher-distilled.d.ts +4 -4
- package/dist/proxmox/pbs-notification-matcher-distilled.d.ts.map +1 -1
- package/dist/proxmox/pbs-notification-matcher.d.ts +1 -1
- package/dist/proxmox/pbs-notification-matcher.d.ts.map +1 -1
- package/dist/proxmox/pbs-notification-target-distilled.d.ts +4 -4
- package/dist/proxmox/pbs-notification-target-distilled.d.ts.map +1 -1
- package/dist/proxmox/pbs-notification-target-lifecycle.d.ts +4 -4
- package/dist/proxmox/pbs-notification-target.d.ts +1 -1
- package/dist/proxmox/pbs-notification-target.d.ts.map +1 -1
- package/dist/proxmox/pbs-prune-job-lifecycle.d.ts +4 -4
- package/dist/proxmox/pbs-prune-job-wire.d.ts +4 -4
- package/dist/proxmox/pbs-prune-job-wire.d.ts.map +1 -1
- package/dist/proxmox/pbs-prune-job.d.ts +1 -1
- package/dist/proxmox/pbs-prune-job.d.ts.map +1 -1
- package/dist/proxmox/pbs-sync-job-lifecycle.d.ts +4 -4
- package/dist/proxmox/pbs-sync-job-wire.d.ts +4 -4
- package/dist/proxmox/pbs-sync-job-wire.d.ts.map +1 -1
- package/dist/proxmox/pbs-sync-job.d.ts +1 -1
- package/dist/proxmox/pbs-sync-job.d.ts.map +1 -1
- package/dist/proxmox/pbs-verify-job-lifecycle.d.ts +4 -4
- package/dist/proxmox/pbs-verify-job-wire.d.ts +4 -4
- package/dist/proxmox/pbs-verify-job-wire.d.ts.map +1 -1
- package/dist/proxmox/pbs-verify-job.d.ts +1 -1
- package/dist/proxmox/pbs-verify-job.d.ts.map +1 -1
- package/dist/proxmox/pool.d.ts +3 -3
- package/dist/proxmox/pool.d.ts.map +1 -1
- package/dist/proxmox/provision-declare.d.ts +1 -1
- package/dist/proxmox/provision-declare.d.ts.map +1 -1
- package/dist/proxmox/qemu-lifecycle.d.ts +3 -3
- package/dist/proxmox/qemu-lifecycle.d.ts.map +1 -1
- package/dist/proxmox/qemu-read.d.ts +1 -1
- package/dist/proxmox/qemu-read.d.ts.map +1 -1
- package/dist/proxmox/qemu-resize.d.ts +1 -1
- package/dist/proxmox/qemu-resize.d.ts.map +1 -1
- package/dist/proxmox/qemu-task.d.ts +1 -1
- package/dist/proxmox/qemu-task.d.ts.map +1 -1
- package/dist/proxmox/qemu.d.ts +1 -1
- package/dist/proxmox/qemu.d.ts.map +1 -1
- package/dist/proxmox/replication-job-lifecycle.d.ts +6 -6
- package/dist/proxmox/replication-job-lifecycle.d.ts.map +1 -1
- package/dist/proxmox/replication-job.d.ts +1 -1
- package/dist/proxmox/replication-job.d.ts.map +1 -1
- package/dist/proxmox/resource-spec.d.ts +1 -1
- package/dist/proxmox/resource-spec.d.ts.map +1 -1
- package/dist/proxmox/resource.d.ts +8 -8
- package/dist/proxmox/role.d.ts +1 -1
- package/dist/proxmox/role.d.ts.map +1 -1
- package/dist/proxmox/sdn-apply-read.d.ts +1 -1
- package/dist/proxmox/sdn-apply-read.d.ts.map +1 -1
- package/dist/proxmox/sdn-apply.d.ts +1 -1
- package/dist/proxmox/sdn-apply.d.ts.map +1 -1
- package/dist/proxmox/sdn-subnet.d.ts +1 -1
- package/dist/proxmox/sdn-subnet.d.ts.map +1 -1
- package/dist/proxmox/sdn-vnet.d.ts +1 -1
- package/dist/proxmox/sdn-vnet.d.ts.map +1 -1
- package/dist/proxmox/sdn-zone.d.ts +1 -1
- package/dist/proxmox/sdn-zone.d.ts.map +1 -1
- package/dist/proxmox/storage-download-lifecycle.d.ts +6 -6
- package/dist/proxmox/storage-download-lifecycle.d.ts.map +1 -1
- package/dist/proxmox/storage-download-task.d.ts +1 -1
- package/dist/proxmox/storage-download-task.d.ts.map +1 -1
- package/dist/proxmox/storage-download.d.ts +1 -1
- package/dist/proxmox/storage-download.d.ts.map +1 -1
- package/dist/proxmox/storage-wire.d.ts +2 -2
- package/dist/proxmox/storage-wire.d.ts.map +1 -1
- package/dist/proxmox/storage.d.ts +1 -1
- package/dist/proxmox/storage.d.ts.map +1 -1
- package/dist/proxmox/user-wire.d.ts +2 -2
- package/dist/proxmox/user-wire.d.ts.map +1 -1
- package/dist/proxmox/user.d.ts +1 -1
- package/dist/proxmox/user.d.ts.map +1 -1
- package/dist/proxmox/zfs-pool-form.d.ts +2 -2
- package/dist/proxmox/zfs-pool-form.d.ts.map +1 -1
- package/dist/proxmox/zfs-pool-wire.d.ts +2 -2
- package/dist/proxmox/zfs-pool-wire.d.ts.map +1 -1
- package/dist/proxmox/zfs-pool.d.ts +1 -1
- package/dist/proxmox/zfs-pool.d.ts.map +1 -1
- package/dist/release/binary.d.ts +1 -1
- package/dist/release/binary.d.ts.map +1 -1
- package/dist/release/download.d.ts +1 -1
- package/dist/release/download.d.ts.map +1 -1
- package/dist/release/index.js +6 -5
- package/dist/release/index.js.map +5 -5
- package/dist/talos/credentials-write.d.ts +1 -1
- package/dist/talos/credentials-write.d.ts.map +1 -1
- package/dist/talos/credentials.d.ts +1 -1
- package/dist/talos/credentials.d.ts.map +1 -1
- package/dist/talos/fake-process.d.ts +2 -2
- package/dist/talos/fake-process.d.ts.map +1 -1
- package/dist/talos/index.js +7 -7
- package/dist/talos/index.js.map +4 -4
- package/dist/talos/kubeconfig.d.ts +4 -4
- package/dist/talos/kubeconfig.d.ts.map +1 -1
- package/dist/talos/machine-config-fixtures.d.ts +1 -1
- package/dist/talos/machine-config-fixtures.d.ts.map +1 -1
- package/dist/talos/machine-config-read.d.ts +3 -3
- package/dist/talos/machine-config-read.d.ts.map +1 -1
- package/dist/talos/resource.d.ts +1 -1
- package/dist/talos/resource.d.ts.map +1 -1
- package/dist/talos/talos-bootstrap-etcd.d.ts +2 -2
- package/dist/talos/talos-bootstrap-etcd.d.ts.map +1 -1
- package/dist/talos/talos-bootstrap.d.ts +4 -4
- package/dist/talos/talos-bootstrap.d.ts.map +1 -1
- package/dist/talos/talos-cluster-health.d.ts +4 -4
- package/dist/talos/talos-cluster-health.d.ts.map +1 -1
- package/dist/talos/talos-machine-config.d.ts +2 -2
- package/dist/talos/talos-machine-config.d.ts.map +1 -1
- package/dist/talos/talosctl.d.ts +1 -1
- package/dist/talos/talosctl.d.ts.map +1 -1
- package/dist/telemetry/index.js +4 -4
- package/dist/telemetry/index.js.map +3 -3
- package/dist/telemetry/redact-serialization.d.ts +2 -2
- package/dist/telemetry/redact-serialization.d.ts.map +1 -1
- package/dist/unifi/acl-rule-ordering.d.ts +6 -6
- package/dist/unifi/acl-rule-ordering.d.ts.map +1 -1
- package/dist/unifi/acl-rule.d.ts +6 -6
- package/dist/unifi/acl-rule.d.ts.map +1 -1
- package/dist/unifi/dns-policy.d.ts +6 -6
- package/dist/unifi/dns-policy.d.ts.map +1 -1
- package/dist/unifi/fake-unifi.d.ts +1 -1
- package/dist/unifi/fake-unifi.d.ts.map +1 -1
- package/dist/unifi/firewall-policy-ordering.d.ts +6 -6
- package/dist/unifi/firewall-policy-ordering.d.ts.map +1 -1
- package/dist/unifi/firewall-policy.d.ts +6 -6
- package/dist/unifi/firewall-policy.d.ts.map +1 -1
- package/dist/unifi/firewall-zone.d.ts +6 -6
- package/dist/unifi/firewall-zone.d.ts.map +1 -1
- package/dist/unifi/index.js +2 -2
- package/dist/unifi/index.js.map +2 -2
- package/dist/unifi/network.d.ts +6 -6
- package/dist/unifi/network.d.ts.map +1 -1
- package/dist/unifi/providers.d.ts +1 -1
- package/dist/unifi/providers.d.ts.map +1 -1
- package/dist/unifi/resource.d.ts +1 -1
- package/dist/unifi/resource.d.ts.map +1 -1
- package/dist/unifi/traffic-matching-list.d.ts +6 -6
- package/dist/unifi/traffic-matching-list.d.ts.map +1 -1
- package/dist/unifi/wifi-broadcast.d.ts +6 -6
- package/dist/unifi/wifi-broadcast.d.ts.map +1 -1
- package/dist/verify/cli.js.map +1 -1
- package/dist/verify/index.js.map +1 -1
- package/docs/distilled-interim.md +1 -1
- package/docs/mesh-node.md +1 -1
- package/docs/paperless.md +1 -1
- package/docs/peers.md +8 -8
- package/docs/telemetry.md +1 -1
- package/package.json +20 -20
- package/src/argocd/fake-argocd.ts +1 -1
- package/src/argocd/resource.ts +1 -1
- package/src/caddy/admin-transport-scope.test.ts +2 -2
- package/src/caddy/admin.ts +1 -1
- package/src/caddy/caddy-http-client.ts +5 -5
- package/src/caddy/config-adopt.test.ts +2 -2
- package/src/caddy/format.ts +2 -2
- package/src/caddy/local-admin.test.ts +1 -1
- package/src/ceph/auth-entity.ts +1 -1
- package/src/ceph/ceph-auth-reconcile.ts +1 -1
- package/src/cloudflare/fake-mesh.ts +1 -1
- package/src/cloudflare/fake-r2-lock.ts +1 -1
- package/src/cloudflare/mesh-node-harness.ts +1 -1
- package/src/cloudflare/mesh-node.ts +1 -1
- package/src/cloudflare/r2-bucket-lock.ts +1 -1
- package/src/discord/fake-discord.ts +1 -1
- package/src/discord/resource.ts +1 -1
- package/src/forgejo/fake-forgejo.ts +1 -1
- package/src/forgejo/resource.ts +1 -1
- package/src/google-workspace/fake-google-workspace.ts +1 -1
- package/src/google-workspace/resource.ts +1 -1
- package/src/grafana/fake-grafana.ts +1 -1
- package/src/litellm/access-group.test.ts +1 -1
- package/src/litellm/credential-errors.ts +1 -1
- package/src/litellm/credential-guards.test.ts +1 -1
- package/src/litellm/credential-operations.ts +1 -1
- package/src/litellm/credential-rewrite.test.ts +1 -1
- package/src/litellm/fake-stack.ts +1 -1
- package/src/litellm/key-errors.ts +1 -1
- package/src/litellm/key-harness.ts +1 -1
- package/src/litellm/key-operations.ts +1 -1
- package/src/litellm/key.test.ts +2 -1
- package/src/litellm/mcp-server-handlers.test.ts +1 -1
- package/src/litellm/mcp-server-registry.test.ts +1 -1
- package/src/litellm/model-operations.test.ts +1 -1
- package/src/litellm/operations.ts +1 -1
- package/src/litellm/pass-through-endpoint-delete-swallow.test.ts +1 -1
- package/src/litellm/pass-through-endpoint.test.ts +1 -1
- package/src/litellm/pass-through-fetch-client.test.ts +2 -2
- package/src/litellm/policy-attachment.test.ts +1 -1
- package/src/litellm/policy.test.ts +1 -1
- package/src/litellm/team-members.test.ts +1 -1
- package/src/litellm/team-read.test.ts +1 -1
- package/src/litellm/tool-policy.test.ts +1 -1
- package/src/litellm/toolset.test.ts +1 -1
- package/src/netbox/fake-netbox.ts +1 -1
- package/src/netbox/resource.ts +1 -1
- package/src/openbao/adopt-core.test.ts +4 -1
- package/src/openbao/adopt-families.test.ts +4 -1
- package/src/openbao/adopt-holes.test.ts +1 -1
- package/src/openbao/adopt-recovery.test.ts +24 -0
- package/src/openbao/approle-login.ts +2 -2
- package/src/openbao/auth-method-reconcile.ts +1 -1
- package/src/openbao/auth-method.ts +1 -1
- package/src/openbao/auth-role-sdk.test.ts +1 -1
- package/src/openbao/auth-role.ts +1 -1
- package/src/openbao/bao-http.test.ts +3 -3
- package/src/openbao/bao-http.ts +4 -4
- package/src/openbao/bao-identity.ts +2 -2
- package/src/openbao/cloudflare-permission-groups.ts +1 -1
- package/src/openbao/cloudflare-role-wire.ts +1 -1
- package/src/openbao/cloudflare-role.ts +1 -1
- package/src/openbao/distilled-retry.test.ts +3 -3
- package/src/openbao/distilled.test.ts +3 -3
- package/src/openbao/distilled.ts +2 -2
- package/src/openbao/fake-bao.ts +2 -2
- package/src/openbao/fake-core.ts +1 -1
- package/src/openbao/fake-engines.ts +1 -1
- package/src/openbao/fake-families.ts +1 -1
- package/src/openbao/fake-stack.ts +13 -3
- package/src/openbao/jwt-config.ts +1 -1
- package/src/openbao/jwt-role.ts +1 -1
- package/src/openbao/kubernetes-role.ts +1 -1
- package/src/openbao/mfa-enforcement.ts +1 -1
- package/src/openbao/mfa-totp.ts +1 -1
- package/src/openbao/mfa-wire.ts +1 -1
- package/src/openbao/mount-move.ts +1 -1
- package/src/openbao/mount-reconcile.ts +1 -1
- package/src/openbao/mount.ts +1 -1
- package/src/openbao/pki-role.ts +1 -1
- package/src/openbao/plugin-reconcile.ts +1 -1
- package/src/openbao/plugin-wire.ts +1 -1
- package/src/openbao/plugin.ts +1 -1
- package/src/openbao/policy.ts +1 -1
- package/src/openbao/proxmox-role.ts +1 -1
- package/src/openbao/remount-wire.ts +1 -1
- package/src/openbao/rename-occupied.test.ts +1 -1
- package/src/openbao/role-reconcile.ts +1 -1
- package/src/openbao/role-rename.test.ts +1 -1
- package/src/openbao/ssh-role.ts +1 -1
- package/src/opnsense/fake-opnsense.ts +1 -1
- package/src/opnsense/resource.ts +1 -1
- package/src/ownership/probe.ts +51 -2
- package/src/paperless/fake-paperless.ts +1 -1
- package/src/paperless/matching-types.ts +1 -1
- package/src/postgres/connection.ts +1 -1
- package/src/postgres/database-bigint-serialization.test.ts +1 -1
- package/src/postgres/database-sql.ts +1 -1
- package/src/postgres/database.ts +1 -1
- package/src/postgres/fake-grants-read.ts +1 -1
- package/src/postgres/fake-grants-sql.ts +1 -1
- package/src/postgres/fake-grants-write.ts +1 -1
- package/src/postgres/fake-role-sql.ts +1 -1
- package/src/postgres/fake-schema-drop.ts +1 -1
- package/src/postgres/fake-schema-sql.ts +1 -1
- package/src/postgres/fake-sql.ts +1 -1
- package/src/postgres/grants-existence.ts +1 -1
- package/src/postgres/grants-ops.ts +1 -1
- package/src/postgres/grants-ownership.ts +1 -1
- package/src/postgres/grants-read-defaults.ts +1 -1
- package/src/postgres/grants-read.ts +1 -1
- package/src/postgres/grants-relkind-wire.test.ts +6 -4
- package/src/postgres/installed-classifier.ts +1 -1
- package/src/postgres/psql-executor.ts +1 -6
- package/src/postgres/role-membership-sql.ts +1 -1
- package/src/postgres/role-password-transports.test.ts +2 -2
- package/src/postgres/role-sql.ts +1 -1
- package/src/postgres/role.ts +1 -1
- package/src/postgres/schema-assert.ts +1 -1
- package/src/postgres/schema-delete.ts +1 -1
- package/src/postgres/schema-drop-2bp01.test.ts +1 -1
- package/src/postgres/schema-drop-sql.ts +1 -1
- package/src/postgres/schema-drop.test.ts +1 -1
- package/src/postgres/schema-reconcile.ts +1 -1
- package/src/postgres/schema-socket.test.ts +1 -1
- package/src/postgres/schema-sql.ts +1 -1
- package/src/postgres/search-path.ts +1 -1
- package/src/proxmox/ceph-flag-wire.test.ts +1 -1
- package/src/proxmox/ceph-fs-destroy-sdk.test.ts +1 -1
- package/src/proxmox/ceph-pool-write.test.ts +1 -1
- package/src/proxmox/client.test.ts +2 -2
- package/src/proxmox/client.ts +2 -2
- package/src/proxmox/credentials.test.ts +1 -1
- package/src/proxmox/distilled-pbs.test.ts +1 -1
- package/src/proxmox/distilled-pbs.ts +1 -1
- package/src/proxmox/distilled-pve.test.ts +2 -2
- package/src/proxmox/distilled-pve.ts +1 -1
- package/src/proxmox/fake-pbs-jobs.ts +1 -1
- package/src/proxmox/fake-pve.ts +1 -1
- package/src/proxmox/lease-cache-mint.test.ts +1 -1
- package/src/proxmox/live-core-fixtures.ts +1 -1
- package/src/proxmox/lxc-distilled.test.ts +1 -1
- package/src/proxmox/lxc-harness.ts +1 -1
- package/src/proxmox/members-timeout.test.ts +3 -3
- package/src/proxmox/members.test.ts +1 -1
- package/src/proxmox/members.ts +4 -4
- package/src/proxmox/mint.ts +4 -4
- package/src/proxmox/node-network-read-failure.test.ts +1 -1
- package/src/proxmox/qemu-lifecycle.ts +1 -1
- package/src/proxmox/read-failure-propagation.test.ts +1 -1
- package/src/proxmox/resource-spec.ts +1 -1
- package/src/proxmox/storage-read-failure.test.ts +1 -1
- package/src/proxmox/typed-absence.test.ts +2 -2
- package/src/proxmox/unreadable-read.test.ts +1 -1
- package/src/proxmox/user.test.ts +1 -1
- package/src/proxmox/zfs-pool-read-failure.test.ts +1 -1
- package/src/release/adopt-parity.test.ts +3 -1
- package/src/release/apply-pins.test.ts +2 -2
- package/src/release/binary-root.test.ts +2 -2
- package/src/release/binary.ts +9 -2
- package/src/release/download.test.ts +3 -3
- package/src/release/download.ts +1 -1
- package/src/release/fake-deploy.ts +2 -2
- package/src/release/fake-engine.ts +2 -2
- package/src/release/fake-provider.ts +2 -2
- package/src/release/plan.test.ts +2 -2
- package/src/release/providers.ts +1 -1
- package/src/talos/credentials-write.test.ts +1 -1
- package/src/talos/credentials-write.ts +2 -2
- package/src/talos/credentials.test.ts +1 -1
- package/src/talos/credentials.ts +2 -2
- package/src/talos/fake-process.ts +2 -2
- package/src/talos/kubeconfig.test.ts +1 -1
- package/src/talos/machine-config-fixtures.ts +1 -1
- package/src/talos/resource.ts +1 -1
- package/src/talos/talos-bootstrap.test.ts +1 -1
- package/src/talos/talos-cluster-health.test.ts +1 -1
- package/src/talos/talosctl.ts +2 -2
- package/src/telemetry/http-client-sealing.test.ts +2 -2
- package/src/telemetry/layer.test.ts +3 -3
- package/src/telemetry/layer.ts +2 -2
- package/src/telemetry/redact-serialization.ts +2 -2
- package/src/unifi/fake-unifi.ts +1 -1
- package/src/unifi/get-only-guard.test.ts +3 -3
- package/src/unifi/resource.ts +1 -1
- package/src/verify/args.ts +1 -1
|
@@ -18,7 +18,7 @@ import { describe, expect, test } from 'bun:test';
|
|
|
18
18
|
import * as Effect from 'effect/Effect';
|
|
19
19
|
import * as Result from 'effect/Result';
|
|
20
20
|
import * as PgTypes from '@effect/sql-pg/PgTypes';
|
|
21
|
-
import type { SqlError } from 'effect/
|
|
21
|
+
import type { SqlError } from 'effect/sql/SqlError';
|
|
22
22
|
import { encodeState } from 'alchemy/State/StateEncoding';
|
|
23
23
|
import { reconcileWithClient } from './database.ts';
|
|
24
24
|
import { PostgresDatabaseDrift } from './errors.ts';
|
|
@@ -24,7 +24,7 @@
|
|
|
24
24
|
* Measured 2026-10-01: the former quote-only escaper allowed comment SQL injection when
|
|
25
25
|
* that setting was off; an input backslash escaped the first quote of a doubled pair.
|
|
26
26
|
*/
|
|
27
|
-
import type { SqlError } from 'effect/
|
|
27
|
+
import type { SqlError } from 'effect/sql/SqlError';
|
|
28
28
|
import * as Effect from 'effect/Effect';
|
|
29
29
|
import type { PostgresDatabaseAttributes, PostgresDatabaseProps } from './database-attrs.ts';
|
|
30
30
|
|
package/src/postgres/database.ts
CHANGED
|
@@ -20,7 +20,7 @@ import { isResolved } from 'alchemy/Diff';
|
|
|
20
20
|
import type { Input } from 'alchemy/Input';
|
|
21
21
|
import * as Provider from 'alchemy/Provider';
|
|
22
22
|
import * as Effect from 'effect/Effect';
|
|
23
|
-
import type { SqlError } from 'effect/
|
|
23
|
+
import type { SqlError } from 'effect/sql/SqlError';
|
|
24
24
|
import type { PostgresDatabaseAttributes, PostgresDatabaseProps } from './database-attrs.ts';
|
|
25
25
|
import { nameByteRefusal } from './database-attrs.ts';
|
|
26
26
|
import {
|
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
* cycle.
|
|
7
7
|
*/
|
|
8
8
|
import * as Effect from 'effect/Effect';
|
|
9
|
-
import type { SqlError } from 'effect/
|
|
9
|
+
import type { SqlError } from 'effect/sql/SqlError';
|
|
10
10
|
import type { AclObject } from './fake-grants-parse.ts';
|
|
11
11
|
|
|
12
12
|
/** One `aclitem` as the fake stores it: one (object, grantee, grantor) with the words that
|
|
@@ -15,7 +15,7 @@
|
|
|
15
15
|
* `42703`, the way the server refuses a missing object.
|
|
16
16
|
*/
|
|
17
17
|
import * as Effect from 'effect/Effect';
|
|
18
|
-
import { SqlError, SqlSyntaxError } from 'effect/
|
|
18
|
+
import { SqlError, SqlSyntaxError } from 'effect/sql/SqlError';
|
|
19
19
|
import type { PgExecutor } from './database-sql.ts';
|
|
20
20
|
import { type AclEntry, type FakeCatalogTable, answerRead } from './fake-grants-read.ts';
|
|
21
21
|
import { parseGrantStatement } from './fake-grants-parse.ts';
|
|
@@ -15,7 +15,7 @@
|
|
|
15
15
|
* same grantee SURVIVES silently (the survival `PostgresGrantsRepairRefused` surfaces), and
|
|
16
16
|
* a grantee that re-granted onward fails like the server without CASCADE (`2BP01`).
|
|
17
17
|
*/
|
|
18
|
-
import { SqlError, SqlSyntaxError } from 'effect/
|
|
18
|
+
import { SqlError, SqlSyntaxError } from 'effect/sql/SqlError';
|
|
19
19
|
import type { AclObject } from './fake-grants-parse.ts';
|
|
20
20
|
import { type FakeGrantsModel, revokesAsOwner } from './fake-grants-read.ts';
|
|
21
21
|
|
|
@@ -12,7 +12,7 @@
|
|
|
12
12
|
* attributes a test seeds or a reconcile returns.
|
|
13
13
|
*/
|
|
14
14
|
import * as Effect from 'effect/Effect';
|
|
15
|
-
import type { SqlError } from 'effect/
|
|
15
|
+
import type { SqlError } from 'effect/sql/SqlError';
|
|
16
16
|
import type { PostgresRoleAttributes } from './role-attrs.ts';
|
|
17
17
|
import { unquoteIdent, unquoteLiteral } from './fake-sql-quote.ts';
|
|
18
18
|
|
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
* cross-schema dependents, drop. A changed block shape fails the parse loudly.
|
|
8
8
|
*/
|
|
9
9
|
import * as Effect from 'effect/Effect';
|
|
10
|
-
import { SqlError, UnknownError } from 'effect/
|
|
10
|
+
import { SqlError, UnknownError } from 'effect/sql/SqlError';
|
|
11
11
|
import { parseLiteral } from './fake-sql-quote.ts';
|
|
12
12
|
import { parseDropSchema } from './fake-sql-parse.ts';
|
|
13
13
|
import type { FakeSchemaState } from './fake-schema-sql.ts';
|
|
@@ -9,7 +9,7 @@
|
|
|
9
9
|
* answers for the connection it opened — and `schemaIsEmpty` from a seeded relation set.
|
|
10
10
|
*/
|
|
11
11
|
import * as Effect from 'effect/Effect';
|
|
12
|
-
import { SqlError, SqlSyntaxError, UnknownError } from 'effect/
|
|
12
|
+
import { SqlError, SqlSyntaxError, UnknownError } from 'effect/sql/SqlError';
|
|
13
13
|
import { applyAtomicDrop } from './fake-schema-drop.ts';
|
|
14
14
|
import { parseCommentSchema, parseCreateSchema, parseDropSchema } from './fake-sql-parse.ts';
|
|
15
15
|
import type { PostgresSchemaAttributes } from './schema-attrs.ts';
|
package/src/postgres/fake-sql.ts
CHANGED
|
@@ -12,7 +12,7 @@
|
|
|
12
12
|
* halves live in their own files under the same rule.
|
|
13
13
|
*/
|
|
14
14
|
import * as Effect from 'effect/Effect';
|
|
15
|
-
import { SqlError, SqlSyntaxError, UnknownError } from 'effect/
|
|
15
|
+
import { SqlError, SqlSyntaxError, UnknownError } from 'effect/sql/SqlError';
|
|
16
16
|
import type { PostgresDatabaseAttributes } from './database-attrs.ts';
|
|
17
17
|
import type { PgExecutor } from './database-sql.ts';
|
|
18
18
|
import { parseCreate } from './fake-sql-parse.ts';
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
* row `creating` and the resume failing OwnedBySomeoneElse.
|
|
6
6
|
*/
|
|
7
7
|
import * as Effect from 'effect/Effect';
|
|
8
|
-
import type { SqlError } from 'effect/
|
|
8
|
+
import type { SqlError } from 'effect/sql/SqlError';
|
|
9
9
|
import type { PgExecutor } from './database-sql.ts';
|
|
10
10
|
import type { DeclaredGrants } from './grants-declare.ts';
|
|
11
11
|
import { PostgresGrantsColumnMissing, PostgresGrantsTableMissing } from './grants-errors.ts';
|
|
@@ -44,7 +44,7 @@
|
|
|
44
44
|
import type { Input } from 'alchemy/Input';
|
|
45
45
|
import * as Effect from 'effect/Effect';
|
|
46
46
|
import { isResolved } from 'alchemy/Diff';
|
|
47
|
-
import type { SqlError } from 'effect/
|
|
47
|
+
import type { SqlError } from 'effect/sql/SqlError';
|
|
48
48
|
import type { PostgresGrantsAttributes, PostgresGrantsProps } from './grants-attrs.ts';
|
|
49
49
|
import { roleExists } from './database-sql.ts';
|
|
50
50
|
import type { PgExecutor } from './database-sql.ts';
|
|
@@ -11,7 +11,7 @@
|
|
|
11
11
|
* queries, still inside the read's one bounded burst.
|
|
12
12
|
*/
|
|
13
13
|
import * as Effect from 'effect/Effect';
|
|
14
|
-
import type { SqlError } from 'effect/
|
|
14
|
+
import type { SqlError } from 'effect/sql/SqlError';
|
|
15
15
|
import type { PgExecutor } from './database-sql.ts';
|
|
16
16
|
|
|
17
17
|
/** `pg_namespace.nspowner = <role>` for one schema. No rows when the schema is absent —
|
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
* header for the doctrine), never the `aclitem` text.
|
|
8
8
|
*/
|
|
9
9
|
import * as Effect from 'effect/Effect';
|
|
10
|
-
import type { SqlError } from 'effect/
|
|
10
|
+
import type { SqlError } from 'effect/sql/SqlError';
|
|
11
11
|
import type { PgExecutor } from './database-sql.ts';
|
|
12
12
|
import { type AclRow, encodeWord } from './grants-words.ts';
|
|
13
13
|
|
|
@@ -32,7 +32,7 @@
|
|
|
32
32
|
* CASE in `database-sql.ts`, which casts `"char"` columns to text for the same reason.
|
|
33
33
|
*/
|
|
34
34
|
import * as Effect from 'effect/Effect';
|
|
35
|
-
import type { SqlError } from 'effect/
|
|
35
|
+
import type { SqlError } from 'effect/sql/SqlError';
|
|
36
36
|
import type { PgExecutor } from './database-sql.ts';
|
|
37
37
|
import { readOwnedTables, readSchemaOwnership } from './grants-ownership.ts';
|
|
38
38
|
import { type LiveDefault, readDefaultAcls } from './grants-read-defaults.ts';
|
|
@@ -51,12 +51,14 @@ const makeFake = () =>
|
|
|
51
51
|
],
|
|
52
52
|
});
|
|
53
53
|
|
|
54
|
-
describe('measured: the "char" relkind column
|
|
55
|
-
|
|
54
|
+
describe('measured: the "char" relkind column on the socket transport', () => {
|
|
55
|
+
// ★ MEASURED 2026-10-06 on @effect/sql-pg 4.0.1: OID 18 now decodes to the string (rc.115 had no
|
|
56
|
+
// codec and returned `Uint8Array([114])`). The `::text` cast stays: it is correct on both, and
|
|
57
|
+
// the readGrants tests below fail if it is dropped from the SQL the fake shapes rows from.
|
|
58
|
+
test('PgTypes.decode answers a string for OID 18 on 4.0.1 (rc.115 answered raw bytes)', () => {
|
|
56
59
|
const decoded = PgTypes.decode(new Uint8Array([114]), 18, 1);
|
|
57
60
|
if (!Result.isSuccess(decoded)) throw new Error('fixture: decode failed for OID 18');
|
|
58
|
-
expect(decoded.success
|
|
59
|
-
expect(decoded.success).not.toBe('r');
|
|
61
|
+
expect(decoded.success).toBe('r');
|
|
60
62
|
});
|
|
61
63
|
|
|
62
64
|
test('the same byte string decodes as a string through the OID 25 text codec', () => {
|
|
@@ -8,7 +8,7 @@
|
|
|
8
8
|
* `PgConnection.ts#classifyFields` calls. If the driver moves the file, the import fails
|
|
9
9
|
* loudly in the tests that use it rather than silently asserting a fabricated shape.
|
|
10
10
|
*/
|
|
11
|
-
import { SqlError } from 'effect/
|
|
11
|
+
import { SqlError } from 'effect/sql/SqlError';
|
|
12
12
|
|
|
13
13
|
export const classifyInstalled = async (
|
|
14
14
|
code: string,
|
|
@@ -19,12 +19,7 @@
|
|
|
19
19
|
* stays recognisable to `isDuplicateDatabaseRace`.
|
|
20
20
|
*/
|
|
21
21
|
import * as Effect from 'effect/Effect';
|
|
22
|
-
import {
|
|
23
|
-
ConnectionError,
|
|
24
|
-
SqlError,
|
|
25
|
-
SqlSyntaxError,
|
|
26
|
-
UnknownError,
|
|
27
|
-
} from 'effect/unstable/sql/SqlError';
|
|
22
|
+
import { ConnectionError, SqlError, SqlSyntaxError, UnknownError } from 'effect/sql/SqlError';
|
|
28
23
|
import { type PgExecutor, quoteStringLiteral } from './database-sql.ts';
|
|
29
24
|
import { PIN_SCRIPT_PREFIX } from './search-path.ts';
|
|
30
25
|
|
|
@@ -14,7 +14,7 @@
|
|
|
14
14
|
* (`revoke.sgml`). Every revoke here names `GRANTED BY`. A mismatched grantor can still
|
|
15
15
|
* produce only a warning; the catalog re-read below catches surviving unsafe rows.
|
|
16
16
|
*/
|
|
17
|
-
import type { SqlError } from 'effect/
|
|
17
|
+
import type { SqlError } from 'effect/sql/SqlError';
|
|
18
18
|
import * as Effect from 'effect/Effect';
|
|
19
19
|
import type { PgExecutor } from './database-sql.ts';
|
|
20
20
|
import { quoteIdent, roleExists } from './database-sql.ts';
|
|
@@ -4,8 +4,8 @@ import * as PgClient from '@effect/sql-pg/PgClient';
|
|
|
4
4
|
import * as Effect from 'effect/Effect';
|
|
5
5
|
import * as Stream from 'effect/Stream';
|
|
6
6
|
import * as Tracer from 'effect/Tracer';
|
|
7
|
-
import * as Statement from 'effect/
|
|
8
|
-
import type { Connection } from 'effect/
|
|
7
|
+
import * as Statement from 'effect/sql/Statement';
|
|
8
|
+
import type { Connection } from 'effect/sql/SqlConnection';
|
|
9
9
|
import type { PgExecutor } from './database-sql.ts';
|
|
10
10
|
import { makeFakeSql } from './fake-sql.ts';
|
|
11
11
|
import { type PsqlRunner, makePsqlExecutor } from './psql-executor.ts';
|
package/src/postgres/role-sql.ts
CHANGED
|
@@ -17,7 +17,7 @@
|
|
|
17
17
|
* and the `pg_auth_members` read live in `role-membership-sql.ts` — this file stays the role
|
|
18
18
|
* row (`pg_roles`), its scalar statements and the compare between them.
|
|
19
19
|
*/
|
|
20
|
-
import type { SqlError } from 'effect/
|
|
20
|
+
import type { SqlError } from 'effect/sql/SqlError';
|
|
21
21
|
import * as Effect from 'effect/Effect';
|
|
22
22
|
import type { PgExecutor } from './database-sql.ts';
|
|
23
23
|
import { quoteIdent, quoteStringLiteral } from './database-sql.ts';
|
package/src/postgres/role.ts
CHANGED
|
@@ -29,7 +29,7 @@
|
|
|
29
29
|
import { Resource } from 'alchemy';
|
|
30
30
|
import * as Effect from 'effect/Effect';
|
|
31
31
|
import * as Redacted from 'effect/Redacted';
|
|
32
|
-
import type { SqlError } from 'effect/
|
|
32
|
+
import type { SqlError } from 'effect/sql/SqlError';
|
|
33
33
|
import { type Environment } from '../secrets/write-only.ts';
|
|
34
34
|
import type { PostgresRoleAttributes, PostgresRoleProps } from './role-attrs.ts';
|
|
35
35
|
import { nameByteRefusal, validUntilRefusal } from './role-attrs.ts';
|
|
@@ -19,7 +19,7 @@
|
|
|
19
19
|
* refused, and nothing is dropped.
|
|
20
20
|
*/
|
|
21
21
|
import * as Effect from 'effect/Effect';
|
|
22
|
-
import type { SqlError } from 'effect/
|
|
22
|
+
import type { SqlError } from 'effect/sql/SqlError';
|
|
23
23
|
import type { PgExecutor } from './database-sql.ts';
|
|
24
24
|
import {
|
|
25
25
|
type PostgresSchemaAttributes,
|
|
@@ -17,7 +17,7 @@
|
|
|
17
17
|
* file's read is the typed, readable refusal; the block is the guarantee.
|
|
18
18
|
*/
|
|
19
19
|
import * as Effect from 'effect/Effect';
|
|
20
|
-
import type { SqlError } from 'effect/
|
|
20
|
+
import type { SqlError } from 'effect/sql/SqlError';
|
|
21
21
|
import type { PgExecutor } from './database-sql.ts';
|
|
22
22
|
import type { PostgresSchemaAttributes, PostgresSchemaProps } from './schema-attrs.ts';
|
|
23
23
|
import { assertDatabase, deleteForeignRefusal } from './schema-assert.ts';
|
|
@@ -11,7 +11,7 @@
|
|
|
11
11
|
*/
|
|
12
12
|
import { describe, expect, test } from 'bun:test';
|
|
13
13
|
import * as Effect from 'effect/Effect';
|
|
14
|
-
import type { SqlError } from 'effect/
|
|
14
|
+
import type { SqlError } from 'effect/sql/SqlError';
|
|
15
15
|
import type { PgExecutor } from './database-sql.ts';
|
|
16
16
|
import { classifyInstalled } from './installed-classifier.ts';
|
|
17
17
|
import { postgresRunnerConnection } from './connection.ts';
|
|
@@ -45,7 +45,7 @@
|
|
|
45
45
|
* `UnknownError` with the raw code. The `HF003` message carries a COUNT only: another owner's
|
|
46
46
|
* object names must not reach this stack's logs.
|
|
47
47
|
*/
|
|
48
|
-
import type { SqlError } from 'effect/
|
|
48
|
+
import type { SqlError } from 'effect/sql/SqlError';
|
|
49
49
|
import { quoteStringLiteral } from './database-sql.ts';
|
|
50
50
|
import { OUTSIDE_DEPENDENTS_SQL } from './schema-closure-sql.ts';
|
|
51
51
|
import { buildDropSchemaSql, emptyPredicate } from './schema-sql.ts';
|
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
*/
|
|
7
7
|
import { describe, expect, test } from 'bun:test';
|
|
8
8
|
import * as Effect from 'effect/Effect';
|
|
9
|
-
import { SqlError, UnknownError } from 'effect/
|
|
9
|
+
import { SqlError, UnknownError } from 'effect/sql/SqlError';
|
|
10
10
|
import type { PgExecutor } from './database-sql.ts';
|
|
11
11
|
import { makeFakeSql } from './fake-sql.ts';
|
|
12
12
|
import type { PostgresSchemaAttributes, PostgresSchemaProps } from './schema-attrs.ts';
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/** Schema reconcile: prove the stored target and identity before asserting a live row. */
|
|
2
2
|
import * as Effect from 'effect/Effect';
|
|
3
|
-
import type { SqlError } from 'effect/
|
|
3
|
+
import type { SqlError } from 'effect/sql/SqlError';
|
|
4
4
|
import { type PgExecutor, roleExists } from './database-sql.ts';
|
|
5
5
|
import {
|
|
6
6
|
type PostgresSchemaAttributes,
|
|
@@ -11,7 +11,7 @@ import * as PgClientModule from '@effect/sql-pg/PgClient';
|
|
|
11
11
|
import type { PgClient as PgClientService } from '@effect/sql-pg/PgClient';
|
|
12
12
|
import * as Effect from 'effect/Effect';
|
|
13
13
|
import * as Layer from 'effect/Layer';
|
|
14
|
-
import { SqlClient, TransactionConnection } from 'effect/
|
|
14
|
+
import { SqlClient, TransactionConnection } from 'effect/sql/SqlClient';
|
|
15
15
|
import { PIN_SEARCH_PATH_SQL } from './search-path.ts';
|
|
16
16
|
import { isDependentObjectsError } from './schema-sql.ts';
|
|
17
17
|
import { classifyInstalled } from './installed-classifier.ts';
|
|
@@ -9,7 +9,7 @@
|
|
|
9
9
|
* ★ The schema name is a single `ColId` token, so `quoteIdent` (single-token quoting) is
|
|
10
10
|
* correct — same rule as `Postgres.Database`'s name.
|
|
11
11
|
*/
|
|
12
|
-
import type { SqlError } from 'effect/
|
|
12
|
+
import type { SqlError } from 'effect/sql/SqlError';
|
|
13
13
|
import * as Effect from 'effect/Effect';
|
|
14
14
|
import type { PostgresSchemaAttributes, PostgresSchemaProps } from './schema-attrs.ts';
|
|
15
15
|
import { quoteIdent, quoteStringLiteral } from './database-sql.ts';
|
|
@@ -19,7 +19,7 @@
|
|
|
19
19
|
import type { PgClient } from '@effect/sql-pg/PgClient';
|
|
20
20
|
import * as Effect from 'effect/Effect';
|
|
21
21
|
import type * as Scope from 'effect/Scope';
|
|
22
|
-
import type { SqlError } from 'effect/
|
|
22
|
+
import type { SqlError } from 'effect/sql/SqlError';
|
|
23
23
|
import type { PgExecutor } from './database-sql.ts';
|
|
24
24
|
|
|
25
25
|
export const PIN_SEARCH_PATH_SQL = 'SET search_path = pg_catalog, pg_temp';
|
|
@@ -10,7 +10,7 @@
|
|
|
10
10
|
import { describe, expect, test } from 'bun:test';
|
|
11
11
|
import * as Effect from 'effect/Effect';
|
|
12
12
|
import * as Layer from 'effect/Layer';
|
|
13
|
-
import * as FetchHttpClient from 'effect/
|
|
13
|
+
import * as FetchHttpClient from 'effect/http/FetchHttpClient';
|
|
14
14
|
import { engineOver } from '../verify/fake-engine.ts';
|
|
15
15
|
import { scalarFlagOrDie } from './ceph-flag-wire.ts';
|
|
16
16
|
import { ProxmoxCephFlag, ProxmoxCephFlagProvider } from './ceph-flag.ts';
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
import { describe, expect, test } from 'bun:test';
|
|
3
3
|
import * as Effect from 'effect/Effect';
|
|
4
4
|
import * as Layer from 'effect/Layer';
|
|
5
|
-
import * as FetchHttpClient from 'effect/
|
|
5
|
+
import * as FetchHttpClient from 'effect/http/FetchHttpClient';
|
|
6
6
|
import { destroyFs } from './ceph-fs-distilled.ts';
|
|
7
7
|
import { FAKE_TARGET, withoutBao } from './fake-pve.ts';
|
|
8
8
|
|
|
@@ -15,7 +15,7 @@ import { describe, expect, test } from 'bun:test';
|
|
|
15
15
|
import * as RemovalPolicy from 'alchemy/RemovalPolicy';
|
|
16
16
|
import * as Effect from 'effect/Effect';
|
|
17
17
|
import * as Layer from 'effect/Layer';
|
|
18
|
-
import * as FetchHttpClient from 'effect/
|
|
18
|
+
import * as FetchHttpClient from 'effect/http/FetchHttpClient';
|
|
19
19
|
import { engineOver } from '../verify/fake-engine.ts';
|
|
20
20
|
import { ProxmoxCephPool, ProxmoxCephPoolProvider } from './ceph-pool.ts';
|
|
21
21
|
import { FAKE_TARGET, withoutBao } from './fake-pve.ts';
|
|
@@ -6,8 +6,8 @@ import assert from 'node:assert/strict';
|
|
|
6
6
|
import { describe, it } from 'node:test';
|
|
7
7
|
import * as Effect from 'effect/Effect';
|
|
8
8
|
import * as Layer from 'effect/Layer';
|
|
9
|
-
import * as FetchHttpClient from 'effect/
|
|
10
|
-
import type * as HttpClient from 'effect/
|
|
9
|
+
import * as FetchHttpClient from 'effect/http/FetchHttpClient';
|
|
10
|
+
import type * as HttpClient from 'effect/http/HttpClient';
|
|
11
11
|
import { PveError, pveWith } from './client.ts';
|
|
12
12
|
import type { PveCredential, PveTarget } from './credentials.ts';
|
|
13
13
|
import { orderedMembers, resetLastGoodForTest } from './members.ts';
|
package/src/proxmox/client.ts
CHANGED
|
@@ -13,8 +13,8 @@
|
|
|
13
13
|
* as the payload sees `undefined` and calls it "absent".
|
|
14
14
|
*/
|
|
15
15
|
import * as Effect from 'effect/Effect';
|
|
16
|
-
import * as HttpClient from 'effect/
|
|
17
|
-
import * as HttpClientRequest from 'effect/
|
|
16
|
+
import * as HttpClient from 'effect/http/HttpClient';
|
|
17
|
+
import * as HttpClientRequest from 'effect/http/HttpClientRequest';
|
|
18
18
|
import type { ApiTarget, PveCredential, PveRole, PveTarget } from './credentials.ts';
|
|
19
19
|
import { leased } from './lease-cache.ts';
|
|
20
20
|
import { authorization } from './mint.ts';
|
|
@@ -11,7 +11,7 @@ import { tmpdir } from 'node:os';
|
|
|
11
11
|
import { join } from 'node:path';
|
|
12
12
|
import { describe, it } from 'node:test';
|
|
13
13
|
import * as Effect from 'effect/Effect';
|
|
14
|
-
import * as FetchHttpClient from 'effect/
|
|
14
|
+
import * as FetchHttpClient from 'effect/http/FetchHttpClient';
|
|
15
15
|
import { type BaoEnvironment, type PbsTarget, type PveTarget, mintTier } from './credentials.ts';
|
|
16
16
|
import { mint } from './mint.ts';
|
|
17
17
|
|
|
@@ -3,7 +3,7 @@ import { expect, test } from 'bun:test';
|
|
|
3
3
|
import * as config from '@distilled.cloud/proxmox-backup/config';
|
|
4
4
|
import * as Effect from 'effect/Effect';
|
|
5
5
|
import * as Layer from 'effect/Layer';
|
|
6
|
-
import * as FetchHttpClient from 'effect/
|
|
6
|
+
import * as FetchHttpClient from 'effect/http/FetchHttpClient';
|
|
7
7
|
import type { PbsTarget, PveCredential } from './credentials.ts';
|
|
8
8
|
import { runPbsWith } from './distilled-pbs.ts';
|
|
9
9
|
|
|
@@ -13,7 +13,7 @@ import * as Retry from '@distilled.cloud/proxmox-backup/Retry';
|
|
|
13
13
|
import type * as Cause from 'effect/Cause';
|
|
14
14
|
import type * as Duration from 'effect/Duration';
|
|
15
15
|
import * as Effect from 'effect/Effect';
|
|
16
|
-
import type * as HttpClient from 'effect/
|
|
16
|
+
import type * as HttpClient from 'effect/http/HttpClient';
|
|
17
17
|
import type { PveCredentialDenied } from './credential-errors.ts';
|
|
18
18
|
import type { PbsTarget, PveCredential, PveRole } from './credentials.ts';
|
|
19
19
|
import { leased } from './lease-cache.ts';
|
|
@@ -10,8 +10,8 @@ import { describe, it } from 'node:test';
|
|
|
10
10
|
import * as access from '@distilled.cloud/proxmox/access';
|
|
11
11
|
import * as Effect from 'effect/Effect';
|
|
12
12
|
import * as Layer from 'effect/Layer';
|
|
13
|
-
import * as FetchHttpClient from 'effect/
|
|
14
|
-
import type * as HttpClient from 'effect/
|
|
13
|
+
import * as FetchHttpClient from 'effect/http/FetchHttpClient';
|
|
14
|
+
import type * as HttpClient from 'effect/http/HttpClient';
|
|
15
15
|
import type { PveCredential, PveTarget } from './credentials.ts';
|
|
16
16
|
import { PveClusterExhausted, runPveWith } from './distilled-pve.ts';
|
|
17
17
|
import { orderedMembers, resetLastGoodForTest } from './members.ts';
|
|
@@ -54,7 +54,7 @@ import type * as Cause from 'effect/Cause';
|
|
|
54
54
|
import type * as Duration from 'effect/Duration';
|
|
55
55
|
import * as Effect from 'effect/Effect';
|
|
56
56
|
import * as Result from 'effect/Result';
|
|
57
|
-
import type * as HttpClient from 'effect/
|
|
57
|
+
import type * as HttpClient from 'effect/http/HttpClient';
|
|
58
58
|
import { credentials as distilledPveCredentials } from '@distilled.cloud/proxmox/Credentials';
|
|
59
59
|
import type { ProxmoxOpContext } from '@distilled.cloud/proxmox/Protocol';
|
|
60
60
|
import * as ProxmoxRetry from '@distilled.cloud/proxmox/Retry';
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/** Test-only PBS 4.2.6-1 wire fixture. Every HTTP request is intercepted; no live credentials. */
|
|
2
2
|
import * as Layer from 'effect/Layer';
|
|
3
|
-
import * as FetchHttpClient from 'effect/
|
|
3
|
+
import * as FetchHttpClient from 'effect/http/FetchHttpClient';
|
|
4
4
|
import type { PbsTarget } from './credentials.ts';
|
|
5
5
|
|
|
6
6
|
export const PBS_JOBS_TARGET: PbsTarget = {
|
package/src/proxmox/fake-pve.ts
CHANGED
|
@@ -12,7 +12,7 @@
|
|
|
12
12
|
* ⛔ TEST-ONLY. No provider imports this file.
|
|
13
13
|
*/
|
|
14
14
|
import * as Layer from 'effect/Layer';
|
|
15
|
-
import * as FetchHttpClient from 'effect/
|
|
15
|
+
import * as FetchHttpClient from 'effect/http/FetchHttpClient';
|
|
16
16
|
import type { PveTarget } from './credentials.ts';
|
|
17
17
|
import { withFakeBao } from './fake-bao-env.ts';
|
|
18
18
|
import { resetLastGoodForTest } from './members.ts';
|
|
@@ -13,7 +13,7 @@
|
|
|
13
13
|
import assert from 'node:assert/strict';
|
|
14
14
|
import { describe, it } from 'node:test';
|
|
15
15
|
import * as Effect from 'effect/Effect';
|
|
16
|
-
import * as FetchHttpClient from 'effect/
|
|
16
|
+
import * as FetchHttpClient from 'effect/http/FetchHttpClient';
|
|
17
17
|
import { type BaoEnvironment } from './credentials.ts';
|
|
18
18
|
import { type LeaseKey, mintForKey } from './lease-cache.ts';
|
|
19
19
|
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/** Test-only declarations and vendor-shaped responses for the three migrated PVE families. */
|
|
2
2
|
import type * as Effect from 'effect/Effect';
|
|
3
3
|
import * as Layer from 'effect/Layer';
|
|
4
|
-
import type * as HttpClient from 'effect/
|
|
4
|
+
import type * as HttpClient from 'effect/http/HttpClient';
|
|
5
5
|
import { type FakeEngine, engineOver } from '../verify/fake-engine.ts';
|
|
6
6
|
import { ProxmoxBackupJob, ProxmoxBackupJobProvider } from './backup-job.ts';
|
|
7
7
|
import { deleteBackupJob, readBackupJob } from './backup-job-distilled.ts';
|
|
@@ -7,7 +7,7 @@ import * as Exit from 'effect/Exit';
|
|
|
7
7
|
import * as Fiber from 'effect/Fiber';
|
|
8
8
|
import * as Layer from 'effect/Layer';
|
|
9
9
|
import * as TestClock from 'effect/testing/TestClock';
|
|
10
|
-
import * as FetchHttpClient from 'effect/
|
|
10
|
+
import * as FetchHttpClient from 'effect/http/FetchHttpClient';
|
|
11
11
|
import { FAKE_TARGET, withoutBao } from './fake-pve.ts';
|
|
12
12
|
import { createGuest, updateGuest } from './lxc-lifecycle.ts';
|
|
13
13
|
import type { LxcProps } from './lxc-props.ts';
|
|
@@ -25,7 +25,7 @@ import * as Effect from 'effect/Effect';
|
|
|
25
25
|
import * as Exit from 'effect/Exit';
|
|
26
26
|
import * as Layer from 'effect/Layer';
|
|
27
27
|
import * as Logger from 'effect/Logger';
|
|
28
|
-
import * as FetchHttpClient from 'effect/
|
|
28
|
+
import * as FetchHttpClient from 'effect/http/FetchHttpClient';
|
|
29
29
|
import type { PveTarget } from './credentials.ts';
|
|
30
30
|
import { withFakeBao } from './fake-bao-env.ts';
|
|
31
31
|
import { FAKE_BAO, FAKE_MEMBER, type FakePve } from './fake-pve-lxc.ts';
|
|
@@ -14,9 +14,9 @@ import assert from 'node:assert/strict';
|
|
|
14
14
|
import { describe, it } from 'node:test';
|
|
15
15
|
import * as Effect from 'effect/Effect';
|
|
16
16
|
import * as Layer from 'effect/Layer';
|
|
17
|
-
import * as FetchHttpClient from 'effect/
|
|
18
|
-
import type * as HttpClient from 'effect/
|
|
19
|
-
import * as HttpClientRequest from 'effect/
|
|
17
|
+
import * as FetchHttpClient from 'effect/http/FetchHttpClient';
|
|
18
|
+
import type * as HttpClient from 'effect/http/HttpClient';
|
|
19
|
+
import * as HttpClientRequest from 'effect/http/HttpClientRequest';
|
|
20
20
|
import type { PveTarget } from './credentials.ts';
|
|
21
21
|
import { executeOnCluster, resetLastGoodForTest } from './members.ts';
|
|
22
22
|
|
|
@@ -9,7 +9,7 @@
|
|
|
9
9
|
import assert from 'node:assert/strict';
|
|
10
10
|
import { describe, it } from 'node:test';
|
|
11
11
|
import * as Cause from 'effect/Cause';
|
|
12
|
-
import * as HttpClientError from 'effect/
|
|
12
|
+
import * as HttpClientError from 'effect/http/HttpClientError';
|
|
13
13
|
import { isPreSendTransport, isTransportFailure } from './members.ts';
|
|
14
14
|
|
|
15
15
|
const transport = (cause: Error) =>
|
package/src/proxmox/members.ts
CHANGED
|
@@ -10,10 +10,10 @@ import * as Cause from 'effect/Cause';
|
|
|
10
10
|
import type * as Duration from 'effect/Duration';
|
|
11
11
|
import * as Effect from 'effect/Effect';
|
|
12
12
|
import * as Result from 'effect/Result';
|
|
13
|
-
import * as HttpClient from 'effect/
|
|
14
|
-
import * as HttpClientError from 'effect/
|
|
15
|
-
import type * as HttpClientRequest from 'effect/
|
|
16
|
-
import type * as HttpClientResponse from 'effect/
|
|
13
|
+
import * as HttpClient from 'effect/http/HttpClient';
|
|
14
|
+
import * as HttpClientError from 'effect/http/HttpClientError';
|
|
15
|
+
import type * as HttpClientRequest from 'effect/http/HttpClientRequest';
|
|
16
|
+
import type * as HttpClientResponse from 'effect/http/HttpClientResponse';
|
|
17
17
|
import type { PveTarget } from './credentials.ts';
|
|
18
18
|
|
|
19
19
|
export const PVE_API_PORT = 8006;
|
package/src/proxmox/mint.ts
CHANGED
|
@@ -9,10 +9,10 @@
|
|
|
9
9
|
*/
|
|
10
10
|
import * as Effect from 'effect/Effect';
|
|
11
11
|
import * as Option from 'effect/Option';
|
|
12
|
-
import * as FetchHttpClient from 'effect/
|
|
13
|
-
import * as Headers from 'effect/
|
|
14
|
-
import * as HttpClient from 'effect/
|
|
15
|
-
import * as HttpClientRequest from 'effect/
|
|
12
|
+
import * as FetchHttpClient from 'effect/http/FetchHttpClient';
|
|
13
|
+
import * as Headers from 'effect/http/Headers';
|
|
14
|
+
import * as HttpClient from 'effect/http/HttpClient';
|
|
15
|
+
import * as HttpClientRequest from 'effect/http/HttpClientRequest';
|
|
16
16
|
import { PveCredentialDenied } from './credential-errors.ts';
|
|
17
17
|
import { mintTier } from './credentials.ts';
|
|
18
18
|
import type { ApiTarget, BaoEnvironment, PveCredential, PveRole } from './credentials.ts';
|
|
@@ -12,7 +12,7 @@
|
|
|
12
12
|
*/
|
|
13
13
|
import { describe, expect, test } from 'bun:test';
|
|
14
14
|
import * as Layer from 'effect/Layer';
|
|
15
|
-
import * as FetchHttpClient from 'effect/
|
|
15
|
+
import * as FetchHttpClient from 'effect/http/FetchHttpClient';
|
|
16
16
|
import { engineOver } from '../verify/fake-engine.ts';
|
|
17
17
|
import { FAKE_TARGET, withoutBao } from './fake-pve.ts';
|
|
18
18
|
import { ProxmoxNodeNetwork, ProxmoxNodeNetworkProvider } from './node-network.ts';
|
|
@@ -15,7 +15,7 @@ import { isResolved } from 'alchemy/Diff';
|
|
|
15
15
|
import type { Input } from 'alchemy/Input';
|
|
16
16
|
import * as nodes from '@distilled.cloud/proxmox/nodes';
|
|
17
17
|
import * as Effect from 'effect/Effect';
|
|
18
|
-
import type * as HttpClient from 'effect/
|
|
18
|
+
import type * as HttpClient from 'effect/http/HttpClient';
|
|
19
19
|
import { refuseTakeover } from '../ownership/adopt.ts';
|
|
20
20
|
import { ownedRead } from '../ownership/probe.ts';
|
|
21
21
|
import { runPve } from './distilled-pve.ts';
|
|
@@ -14,7 +14,7 @@
|
|
|
14
14
|
*/
|
|
15
15
|
import { describe, expect, test } from 'bun:test';
|
|
16
16
|
import * as Layer from 'effect/Layer';
|
|
17
|
-
import * as FetchHttpClient from 'effect/
|
|
17
|
+
import * as FetchHttpClient from 'effect/http/FetchHttpClient';
|
|
18
18
|
import { engineOver } from '../verify/fake-engine.ts';
|
|
19
19
|
import { FAKE_TARGET, withoutBao } from './fake-pve.ts';
|
|
20
20
|
import { ProxmoxGroup, ProxmoxGroupProvider } from './group.ts';
|
|
@@ -17,7 +17,7 @@
|
|
|
17
17
|
* `{"data": null}`. That is why `reconcile` below READS BACK and refuses when the object is still
|
|
18
18
|
* absent, rather than trusting a status code — see the ⛔ in that function.
|
|
19
19
|
*/
|
|
20
|
-
import type * as HttpClient from 'effect/
|
|
20
|
+
import type * as HttpClient from 'effect/http/HttpClient';
|
|
21
21
|
import type { PveForm } from './client.ts';
|
|
22
22
|
import type { EndpointKey } from './constraints.ts';
|
|
23
23
|
import type { ApiTarget, PbsTarget, PveRole, PveTarget } from './credentials.ts';
|