-
Notifications
You must be signed in to change notification settings - Fork 16
Refactor Find Domains into Layers #1680
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Changes from 7 commits
Commits
Show all changes
11 commits
Select commit
Hold shift + click to select a range
95635fd
refactor findDomains into composable layers
shrugs c224477
fix: rename canonical registries CTE column to avoid ambiguity
shrugs c8b65ed
feat: changeset
shrugs f02c90c
add comment about registriescte select column name
shrugs 11d9564
Merge branch 'main' into feat/refactor-find-domains-availability
shrugs 689000c
fix: correctly reverse-traverse to establish v2domain's parentId
shrugs b702009
fix: rename headLabel to sortableLabel within the consumer context
shrugs 11cfd42
fix: refactor/reorganize some files for clarity
shrugs 077f320
Merge branch 'main' into feat/refactor-find-domains-availability
shrugs c6f2291
refactor: continue refactoring find-domains for clarity
shrugs 388c9bd
refactor: move some stuff from find-domains/types into locally-scoped…
shrugs File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,21 @@ | ||
| --- | ||
| "ensapi": patch | ||
| --- | ||
|
|
||
| add `Account.domains` and enhance `Domain.subdomains` and `Registry.domains` with filtering and ordering | ||
|
|
||
| **`Account.domains`** (new) — paginated connection of domains owned by this account. | ||
| - `where: { name?: String, canonical?: Boolean }` — optional partial Interpreted Name filter and canonical filter (defaults to false) | ||
| - `order: { by: NAME | REGISTRATION_TIMESTAMP | REGISTRATION_EXPIRY, dir: ASC | DESC }` — ordering | ||
|
|
||
| **`Domain.subdomains`** (enhanced) — paginated connection of subdomains of this domain, now with filtering and ordering. | ||
| - `where: { name?: String }` — optional partial Interpreted Name filter | ||
| - `order: { by: NAME | REGISTRATION_TIMESTAMP | REGISTRATION_EXPIRY, dir: ASC | DESC }` — ordering | ||
|
|
||
| **`Registry.domains`** (enhanced) — paginated connection of domains in this registry, now with filtering and ordering. | ||
| - `where: { name?: String }` — optional partial Interpreted Name filter | ||
| - `order: { by: NAME | REGISTRATION_TIMESTAMP | REGISTRATION_EXPIRY, dir: ASC | DESC }` — ordering | ||
|
|
||
| **`Query.domains`** (updated) — `where.name` is now required. Added optional `where.canonical` filter (defaults to false). | ||
| - `where: { name: String!, canonical?: Boolean }` — required partial Interpreted Name, optional canonical filter | ||
| - `order: { by: NAME | REGISTRATION_TIMESTAMP | REGISTRATION_EXPIRY, dir: ASC | DESC }` — ordering | ||
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.