Skip to content

Implement Cloudflare DNS API provider#198

Open
antaloaalonso wants to merge 1 commit into
profullstack:masterfrom
antaloaalonso:codex/sh1pt-cloudflare-dns-api
Open

Implement Cloudflare DNS API provider#198
antaloaalonso wants to merge 1 commit into
profullstack:masterfrom
antaloaalonso:codex/sh1pt-cloudflare-dns-api

Conversation

@antaloaalonso
Copy link
Copy Markdown

Summary

  • replace the Cloudflare DNS stub with real Cloudflare API v4 calls for zones, records, upserts, deletes, and round-robin sync
  • map Cloudflare response fields into sh1pt DNS records and support account filters, pagination, TTL defaults, and proxied defaults
  • add mocked API coverage for auth, pagination, record mapping, create/update/delete, round-robin reconciliation, and API error messages

Related to #6.

Validation

  • corepack pnpm@9.12.0 --filter @profullstack/sh1pt-dns-cloudflare typecheck
  • corepack pnpm@9.12.0 exec vitest run packages/dns/cloudflare/src/index.test.ts
  • corepack pnpm@9.12.0 --filter @profullstack/sh1pt-dns-cloudflare build
  • corepack pnpm@9.12.0 --filter @profullstack/sh1pt typecheck
  • git diff --check

@github-actions
Copy link
Copy Markdown

🤖 Auto-rebase: The branch was rebased successfully locally but could not be pushed to the fork. Please enable 'Allow edits from maintainers' in the PR settings, or rebase manually: git fetch upstream master && git rebase upstream/master.

3 similar comments
@github-actions
Copy link
Copy Markdown

🤖 Auto-rebase: The branch was rebased successfully locally but could not be pushed to the fork. Please enable 'Allow edits from maintainers' in the PR settings, or rebase manually: git fetch upstream master && git rebase upstream/master.

@github-actions
Copy link
Copy Markdown

🤖 Auto-rebase: The branch was rebased successfully locally but could not be pushed to the fork. Please enable 'Allow edits from maintainers' in the PR settings, or rebase manually: git fetch upstream master && git rebase upstream/master.

@github-actions
Copy link
Copy Markdown

🤖 Auto-rebase: The branch was rebased successfully locally but could not be pushed to the fork. Please enable 'Allow edits from maintainers' in the PR settings, or rebase manually: git fetch upstream master && git rebase upstream/master.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants