@gitkraken/core-gitlens 0.5.107 → 0.5.109
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/CHANGELOG.md +24 -1
- package/dist/git/models/issue.d.ts +70 -0
- package/dist/git/models/issue.d.ts.map +1 -1
- package/dist/git/models/issue.js +17 -0
- package/dist/git/models/issue.js.map +1 -1
- package/dist/git/utils/issue.utils.d.ts +41 -1
- package/dist/git/utils/issue.utils.d.ts.map +1 -1
- package/dist/git/utils/issue.utils.js +80 -0
- package/dist/git/utils/issue.utils.js.map +1 -1
- package/dist/plus/git-github/api/github.d.ts +33 -6
- package/dist/plus/git-github/api/github.d.ts.map +1 -1
- package/dist/plus/git-github/api/github.js +137 -15
- package/dist/plus/git-github/api/github.js.map +1 -1
- package/dist/plus/git-github/api/issueSearchQuery.d.ts +49 -5
- package/dist/plus/git-github/api/issueSearchQuery.d.ts.map +1 -1
- package/dist/plus/git-github/api/issueSearchQuery.js +64 -6
- package/dist/plus/git-github/api/issueSearchQuery.js.map +1 -1
- package/dist/plus/integrations/collectionMetadata.d.ts +18 -0
- package/dist/plus/integrations/collectionMetadata.d.ts.map +1 -1
- package/dist/plus/integrations/collectionMetadata.js +24 -0
- package/dist/plus/integrations/collectionMetadata.js.map +1 -1
- package/dist/plus/integrations/index.d.ts +1 -1
- package/dist/plus/integrations/index.d.ts.map +1 -1
- package/dist/plus/integrations/index.js.map +1 -1
- package/dist/plus/integrations/integrationService.d.ts +15 -9
- package/dist/plus/integrations/integrationService.d.ts.map +1 -1
- package/dist/plus/integrations/integrationService.js.map +1 -1
- package/dist/plus/integrations/manager.d.ts +115 -26
- package/dist/plus/integrations/manager.d.ts.map +1 -1
- package/dist/plus/integrations/models/gitHostIntegration.d.ts +6 -31
- package/dist/plus/integrations/models/gitHostIntegration.d.ts.map +1 -1
- package/dist/plus/integrations/models/gitHostIntegration.js +11 -1
- package/dist/plus/integrations/models/gitHostIntegration.js.map +1 -1
- package/dist/plus/integrations/models/issueReads.d.ts +63 -1
- package/dist/plus/integrations/models/issueReads.d.ts.map +1 -1
- package/dist/plus/integrations/models/issuesIntegration.d.ts +7 -21
- package/dist/plus/integrations/models/issuesIntegration.d.ts.map +1 -1
- package/dist/plus/integrations/models/issuesIntegration.js.map +1 -1
- package/dist/plus/integrations/providerFilters.d.ts +1 -1
- package/dist/plus/integrations/providerFilters.d.ts.map +1 -1
- package/dist/plus/integrations/providers/azureDevOps.d.ts.map +1 -1
- package/dist/plus/integrations/providers/azureDevOps.js +1 -0
- package/dist/plus/integrations/providers/azureDevOps.js.map +1 -1
- package/dist/plus/integrations/providers/github.d.ts.map +1 -1
- package/dist/plus/integrations/providers/github.js +1 -0
- package/dist/plus/integrations/providers/github.js.map +1 -1
- package/dist/plus/integrations/providers/gitlab.d.ts.map +1 -1
- package/dist/plus/integrations/providers/gitlab.js +1 -0
- package/dist/plus/integrations/providers/gitlab.js.map +1 -1
- package/dist/plus/integrations/providers/issueSorts.d.ts +36 -0
- package/dist/plus/integrations/providers/issueSorts.d.ts.map +1 -0
- package/dist/plus/integrations/providers/issueSorts.js +76 -0
- package/dist/plus/integrations/providers/issueSorts.js.map +1 -0
- package/dist/plus/integrations/providers/jira.d.ts +3 -9
- package/dist/plus/integrations/providers/jira.d.ts.map +1 -1
- package/dist/plus/integrations/providers/jira.js +5 -1
- package/dist/plus/integrations/providers/jira.js.map +1 -1
- package/dist/plus/integrations/providers/linear.d.ts +24 -9
- package/dist/plus/integrations/providers/linear.d.ts.map +1 -1
- package/dist/plus/integrations/providers/linear.js +63 -5
- package/dist/plus/integrations/providers/linear.js.map +1 -1
- package/dist/plus/integrations/providers/models.d.ts +63 -7
- package/dist/plus/integrations/providers/models.d.ts.map +1 -1
- package/dist/plus/integrations/providers/models.js +55 -0
- package/dist/plus/integrations/providers/models.js.map +1 -1
- package/dist/plus/integrations/providers/providersApi.d.ts +18 -3
- package/dist/plus/integrations/providers/providersApi.d.ts.map +1 -1
- package/dist/plus/integrations/providers/providersApi.js +24 -7
- package/dist/plus/integrations/providers/providersApi.js.map +1 -1
- package/dist/plus/integrations/providers/trello.d.ts +3 -9
- package/dist/plus/integrations/providers/trello.d.ts.map +1 -1
- package/dist/plus/integrations/providers/trello.js +1 -0
- package/dist/plus/integrations/providers/trello.js.map +1 -1
- package/dist/plus/integrations/providers/utils/providerPaging.d.ts.map +1 -1
- package/dist/plus/integrations/providers/utils/providerPaging.js +5 -1
- package/dist/plus/integrations/providers/utils/providerPaging.js.map +1 -1
- package/dist/plus/integrations/reads/broaden.d.ts +6 -0
- package/dist/plus/integrations/reads/broaden.d.ts.map +1 -1
- package/dist/plus/integrations/reads/broaden.js.map +1 -1
- package/dist/plus/integrations/reads/counts.d.ts +8 -1
- package/dist/plus/integrations/reads/counts.d.ts.map +1 -1
- package/dist/plus/integrations/reads/counts.js.map +1 -1
- package/dist/plus/integrations/reads/filters.d.ts +59 -9
- package/dist/plus/integrations/reads/filters.d.ts.map +1 -1
- package/dist/plus/integrations/reads/filters.js +17 -0
- package/dist/plus/integrations/reads/filters.js.map +1 -1
- package/dist/plus/integrations/reads/issueTracker.d.ts +18 -1
- package/dist/plus/integrations/reads/issueTracker.d.ts.map +1 -1
- package/dist/plus/integrations/reads/issueTracker.js +40 -3
- package/dist/plus/integrations/reads/issueTracker.js.map +1 -1
- package/dist/plus/integrations/reads/issues.d.ts +27 -3
- package/dist/plus/integrations/reads/issues.d.ts.map +1 -1
- package/dist/plus/integrations/reads/issues.js +223 -123
- package/dist/plus/integrations/reads/issues.js.map +1 -1
- package/dist/plus/integrations/reads/ordering.d.ts +101 -0
- package/dist/plus/integrations/reads/ordering.d.ts.map +1 -0
- package/dist/plus/integrations/reads/ordering.js +48 -0
- package/dist/plus/integrations/reads/ordering.js.map +1 -0
- package/dist/plus/integrations/reads/searchIssues.d.ts +7 -2
- package/dist/plus/integrations/reads/searchIssues.d.ts.map +1 -1
- package/dist/plus/integrations/reads/searchIssues.js +9 -3
- package/dist/plus/integrations/reads/searchIssues.js.map +1 -1
- package/dist/plus/integrations/reads/sweeps.d.ts.map +1 -1
- package/dist/plus/integrations/reads/sweeps.js +120 -56
- package/dist/plus/integrations/reads/sweeps.js.map +1 -1
- package/dist/plus/integrations/reads/warnings.d.ts +34 -2
- package/dist/plus/integrations/reads/warnings.d.ts.map +1 -1
- package/dist/plus/integrations/reads/warnings.js +47 -2
- package/dist/plus/integrations/reads/warnings.js.map +1 -1
- package/dist/plus/integrations/results.d.ts +10 -0
- package/dist/plus/integrations/results.d.ts.map +1 -1
- package/dist/plus/integrations/results.js.map +1 -1
- package/package.json +2 -2
- package/src/git/models/issue.ts +73 -0
- package/src/git/utils/issue.utils.ts +91 -1
- package/src/plus/git-github/api/github.ts +180 -20
- package/src/plus/git-github/api/issueSearchQuery.ts +67 -7
- package/src/plus/integrations/collectionMetadata.ts +24 -0
- package/src/plus/integrations/index.ts +1 -0
- package/src/plus/integrations/integrationService.ts +15 -10
- package/src/plus/integrations/manager.ts +116 -31
- package/src/plus/integrations/models/gitHostIntegration.ts +18 -31
- package/src/plus/integrations/models/issueReads.ts +65 -1
- package/src/plus/integrations/models/issuesIntegration.ts +7 -6
- package/src/plus/integrations/providerFilters.ts +2 -0
- package/src/plus/integrations/providers/azureDevOps.ts +1 -0
- package/src/plus/integrations/providers/github.ts +1 -0
- package/src/plus/integrations/providers/gitlab.ts +1 -0
- package/src/plus/integrations/providers/issueSorts.ts +89 -0
- package/src/plus/integrations/providers/jira.ts +9 -3
- package/src/plus/integrations/providers/linear.ts +77 -8
- package/src/plus/integrations/providers/models.ts +122 -5
- package/src/plus/integrations/providers/providersApi.ts +51 -13
- package/src/plus/integrations/providers/trello.ts +4 -3
- package/src/plus/integrations/providers/utils/providerPaging.ts +6 -1
- package/src/plus/integrations/reads/broaden.ts +6 -0
- package/src/plus/integrations/reads/counts.ts +8 -1
- package/src/plus/integrations/reads/filters.ts +70 -8
- package/src/plus/integrations/reads/issueTracker.ts +78 -4
- package/src/plus/integrations/reads/issues.ts +386 -194
- package/src/plus/integrations/reads/ordering.ts +124 -0
- package/src/plus/integrations/reads/searchIssues.ts +15 -3
- package/src/plus/integrations/reads/sweeps.ts +150 -76
- package/src/plus/integrations/reads/warnings.ts +72 -1
- package/src/plus/integrations/results.ts +10 -0
package/CHANGELOG.md
CHANGED
|
@@ -6,6 +6,27 @@ The format is based on [Keep a Changelog](http://keepachangelog.com/) and this p
|
|
|
6
6
|
|
|
7
7
|
## [Unreleased]
|
|
8
8
|
|
|
9
|
+
## [0.5.109] - 2026-08-12
|
|
10
|
+
|
|
11
|
+
### Added
|
|
12
|
+
|
|
13
|
+
- Adds an optional `sort` (`field:direction`, e.g. `updated:desc`) to every issue read: `searchIssuesPage` takes it inside `criteria`, and `listIssuesPage` / `listIssueTrackerIssuesPage` take it as an option. Ordering was previously fixed and undocumentedly inconsistent — the filtered GitHub search hardcoded `sort:updated`, Azure ordered by created date, GitLab's account-wide read by created date, Linear by created date, Jira per project by nothing at all, and GitHub's account-wide "my issues" read by relevance. Three parts of the contract are load-bearing. **The key is validated, never downgraded**: `getSupportedFilters()` gains `issueSorts` (repo-scoped, and the only surface an issue tracker has) and `issueSortsAccountWide` (a different vocabulary, not a subset — GitLab's two reads are GraphQL and REST), plus `issueSearch.sorts`, and a key the provider can't express refuses the whole read with a warning + `fetchFailed`, because at a bounded result window another order is another subset and the cursor that comes with it describes that other subset. **A page assembled from several provider queries is ordered, not concatenated**: GitHub's per-relationship searches, GitLab across repositories, Azure and the trackers across projects all merged their results unordered before this, so the union was ordered only within each part; it is now ordered as a whole, and a key no normalized issue carries (`priority`, `dueDate`, `resolved`) is refused for such a page rather than served as concatenated per-scope runs — the same key still works for a single repository or project, where the provider does the ordering. **A cursor is bound to the order that produced it**: threading an issue-search cursor under a different key is refused with a warning + `fetchFailed` rather than resumed into a differently-ordered set, and rather than silently restarted — this read is cursor-only, so its reported position comes from the `page` supplied alongside the cursor, and a restart would publish page 1's rows as page N. Drop the cursor to change the order. A cursor persisted before this change carries no key, still resumes, and is sealed with the current one. The result-ceiling omission now carries `sort` and its message names the order, since which matches are reachable depends on it. One key's meaning is narrower than its name: `reactions` orders by THUMBS-UP, not by the total across every reaction type, because thumbs-up is the only reaction count a normalized issue carries — ordering by the total would rank a page by a number the consumer cannot see, and would disagree with the comparator that re-sorts a merged page. Requires `@gitkraken/provider-apis` 0.56.0 for every provider except GitHub, whose translation table lives in this repo (plus/integrations, git, plus/git-github)
|
|
14
|
+
|
|
15
|
+
### Changed
|
|
16
|
+
|
|
17
|
+
- Changes what a page of six issue reads contains, now that ordering is expressible: `listIssuesPage` and `listIssueTrackerIssuesPage` pass `updated:desc` explicitly rather than leaving each provider's own default. Account-wide, **GitHub** was answering in relevance (best-match) order because that read never requested one, **GitLab** ordered by creation date (REST `created_at`) and **Azure DevOps** by creation date. Repository-scoped, **GitLab** pages arrive most-recently-updated first: the order requested of GitLab was already that, but each page used to be re-sorted oldest-first afterwards, which described no order across pages at all — that inversion is gone. On the trackers, **Jira** per project was emitting no `ORDER BY` whatsoever (an unspecified order, which over offset paging duplicated and dropped issues between pages) and **Linear** ordered by creation date. Unaffected: GitHub repository-scoped and the filtered search, which already requested `sort:updated`, and Trello, which already sent `sort:edited`. Pass an explicit `sort` to choose a different key; the default is applied only where the provider can express it, so a provider that cannot order at all is left exactly as it was. Note `GitHubApi.searchMyIssues` still emits no `sort:` qualifier when called directly with none — the default is the facade's, not that method's
|
|
18
|
+
- Stops asking Jira to expand issue transitions on every list read. `@gitkraken/provider-apis` 0.56.0 made that expansion optional (it defaults to on, as it always was), and Jira computes an issue's available transitions per issue from the workflow and the reader's permissions — so a page of 100 paid for 100 of them in server work and response payload, on a path that runs at startup. Nothing in this package reads `statusTransitions` off a list, so the cost bought nothing; the singular `getIssue` still expands them, which is where a status change is offered from. No consumer-visible change beyond the latency and payload: `statusTransitions` comes back empty on list rows, where it was never read (plus/integrations)
|
|
19
|
+
- Refuses an invalid issue read outright instead of reporting it as an incomplete one. `@gitkraken/provider-apis` 0.56.0 gained a second caller-contract error alongside `UnsupportedSortError` — `InvalidRequestError`, raised before any request goes out for a Jira project-key list that is empty or longer than one search can carry, a non-integer `pageSize`, an unknown current-user filter, or a Jira Server read with no `baseUrl` to address the API — and every provider fan-out here degraded it the way it degrades a per-scope failure. That produced N identical `CollectionScopeFailure`s and an empty `partial` page, which describes an invalid call as a read that was merely incomplete: a consumer would show a truncation warning and a retry for a call that cannot succeed until its arguments change. Both codes are now re-thrown from every fan-out (plus/integrations)
|
|
20
|
+
- Fixes issues moving between pages of a paged Azure DevOps or Jira read. Both re-run their whole query per page (Azure slices an id list client-side, Jira Data Center pages from a raw `startAt` offset), so two rows the provider considered tied could swap places between two page requests — serving one twice and skipping the other. Every clause those reads emit now carries a unique second column (`[System.Id]`, `key`) — the requested one and the default one alike, since the hazard never depended on the caller having asked for an order — which makes the order total. Only rows that compared equal are affected, and their relative order was previously arbitrary rather than defined. Inherited from `@gitkraken/provider-apis`; GitLab's account-wide REST read is the one this cannot fix, since that endpoint exposes no secondary sort column
|
|
21
|
+
- Changes what `ProviderSweepTargetEvent.domain` reports, and therefore how a consumer buckets `onTargetSettled` events shipped in [0.5.108]. It used to come out of the per-target slice, which meant the domain the read resolved on the targets that got that far and the domain the caller asked for on the ones rejected earlier — a field whose meaning depended on which guard rejected the target. It is now resolved by one rule for every target however far it got (configured connection, explicit domain, then the provider's primary configured host), normalized to a host so a target addressed as `https://ghe.example.com/api/v3` and one addressed by its configured domain stop reading as two hosts, and **`undefined` for every cloud provider**, which has a single host and nothing to disambiguate — where the previous field sometimes carried that host, splitting one provider across two buckets on the shape of the selector alone. Group by `providerId` and treat `domain` as a label, not part of the key (plus/integrations)
|
|
22
|
+
- Changes `broadenIssues` pages on GitLab, and documents why it takes no `sort`. It accepts no ordering — one of its pages spans several orgs at independent provider positions in a cursor bundle, so honoring an order across them needs a k-way merge with a buffer per org rather than a sort of what arrived, and `searchIssuesPage({ repos, criteria: { sort } })` is the ordered answer to the same question. But because it reads through the same repository-scoped read as `listIssuesPage`, it inherits that read's fix: its GitLab pages used to be re-sorted oldest-updated-first and now arrive most-recently-updated first. The set it drains is unchanged
|
|
23
|
+
|
|
24
|
+
## [0.5.108] - 2026-08-07
|
|
25
|
+
|
|
26
|
+
### Added
|
|
27
|
+
|
|
28
|
+
- Adds `onTargetSettled` to both pull-request sweeps (`sweepPullRequests`, `sweepClosedPullRequests`), reporting each target as it settles with its `providerId`, `domain`, `connectionId`, row `count`, `durationMs`, `queueWaitMs`, `truncated` and an `outcome` of `ok` / `fetch-failed` / `failed-provider` / `skipped`. A sweep makes one call and distributes its targets internally, so nothing per-target crossed the package boundary: a host could see that a sweep took eight seconds but not which provider spent them, and per-target counts were only derivable because a sweep accepts at most one target per provider. `outcome` is one value rather than the underlying booleans because "the whole target is unusable" and "the target returned a slice with a gap" are facts a consumer buckets differently, and `skipped` — a target that resolved to no reachable connection — is reported even though it is deliberately absent from the aggregate result, making the event the only place a consumer counting targets can see it. What is deliberately NOT in this: any ability to influence the sweep (the return value is ignored and a synchronous throw is swallowed rather than allowed to turn a fulfilled target into a rejected one), and any cost when omitted, where no reporting exists and no clock is read. One behaviour to know rather than infer: delivery does not stop when the sweep fails, because a rejection does not cancel the siblings already in flight, so their events arrive after the returned promise has rejected. See the `ProviderSweepTargetEvent` and `onTargetSettled` docs for the per-field contract (plus/integrations)
|
|
29
|
+
|
|
9
30
|
## [0.5.107] - 2026-08-07
|
|
10
31
|
|
|
11
32
|
### Changed
|
|
@@ -207,7 +228,9 @@ The format is based on [Keep a Changelog](http://keepachangelog.com/) and this p
|
|
|
207
228
|
|
|
208
229
|
- Initial release. Bundles `@gitlens/utils`, `@gitlens/git`, `@gitlens/git-cli`, `@gitlens/ai`, and `@gitlens/git-github` into a single core npm package with subpath exports.
|
|
209
230
|
|
|
210
|
-
[unreleased]: https://github.com/gitkraken/vscode-gitlens/compare/releases/core/v0.5.
|
|
231
|
+
[unreleased]: https://github.com/gitkraken/vscode-gitlens/compare/releases/core/v0.5.109...HEAD
|
|
232
|
+
[0.5.109]: https://github.com/gitkraken/vscode-gitlens/compare/releases/core/v0.5.108...gitkraken:releases/core/v0.5.109
|
|
233
|
+
[0.5.108]: https://github.com/gitkraken/vscode-gitlens/compare/releases/core/v0.5.107...gitkraken:releases/core/v0.5.108
|
|
211
234
|
[0.5.107]: https://github.com/gitkraken/vscode-gitlens/compare/releases/core/v0.5.106...gitkraken:releases/core/v0.5.107
|
|
212
235
|
[0.5.106]: https://github.com/gitkraken/vscode-gitlens/compare/releases/core/v0.5.105...gitkraken:releases/core/v0.5.106
|
|
213
236
|
[0.5.105]: https://github.com/gitkraken/vscode-gitlens/compare/releases/core/v0.5.104...gitkraken:releases/core/v0.5.105
|
|
@@ -21,6 +21,57 @@ export type IssueSearchRelationship =
|
|
|
21
21
|
| 'any-assignee'
|
|
22
22
|
/** Assigned to nobody. The complement of `any-assignee`, not a broadening of it. */
|
|
23
23
|
| 'unassigned';
|
|
24
|
+
/**
|
|
25
|
+
* A field an issue read can be ordered by, provider-neutral. No provider expresses all of them: each read
|
|
26
|
+
* validates the requested key against the capability its provider declares and refuses one it can't express
|
|
27
|
+
* server-side, rather than serving a differently-ordered list under the name of the one that was asked for.
|
|
28
|
+
*
|
|
29
|
+
* `closed` and `resolved` are deliberately SEPARATE, not two names for the same date. Azure DevOps tracks both
|
|
30
|
+
* and they differ (an issue can be closed without being resolved and resolved without being closed), and Jira
|
|
31
|
+
* has no close date at all — it models the equivalent as `resolutiondate`. Collapsing them would force one of
|
|
32
|
+
* those two providers to lie about which date it ordered by.
|
|
33
|
+
*/
|
|
34
|
+
export type IssueSortField =
|
|
35
|
+
/** Creation date. */
|
|
36
|
+
'created'
|
|
37
|
+
/** Last activity. */
|
|
38
|
+
| 'updated'
|
|
39
|
+
/** Close date. Only where the provider orders by it server-side — notably NOT GitHub. */
|
|
40
|
+
| 'closed'
|
|
41
|
+
/** Resolution date (Jira `resolutiondate`, Azure `ResolvedDate`). Distinct from `closed`. */
|
|
42
|
+
| 'resolved'
|
|
43
|
+
/** Number of comments. */
|
|
44
|
+
| 'comments'
|
|
45
|
+
/** Reactions/upvotes. */
|
|
46
|
+
| 'reactions'
|
|
47
|
+
/** The provider's own priority field. */
|
|
48
|
+
| 'priority'
|
|
49
|
+
/** Due date. */
|
|
50
|
+
| 'dueDate'
|
|
51
|
+
/** Alphabetical by title. */
|
|
52
|
+
| 'title';
|
|
53
|
+
/**
|
|
54
|
+
* How an issue read is ordered, as `field:direction` — the same shape `BranchSorting`/`TagSorting` already use,
|
|
55
|
+
* so it is one serializable string a consumer can persist, compare, or bind straight to a setting or a dropdown.
|
|
56
|
+
*/
|
|
57
|
+
export type IssueSorting = `${IssueSortField}:asc` | `${IssueSortField}:desc`;
|
|
58
|
+
/**
|
|
59
|
+
* The order every issue read that HAS a default applies when the caller asks for none: most recently updated
|
|
60
|
+
* first, which is what those reads served before ordering was an option.
|
|
61
|
+
*
|
|
62
|
+
* One definition rather than one per layer, because it is a promise made in several places at once — the criteria
|
|
63
|
+
* model documents it, the GitHub query emits it, and the result-ceiling warning quotes it — and three copies would
|
|
64
|
+
* be free to disagree about what "the default" is.
|
|
65
|
+
*
|
|
66
|
+
* Note it is not a default every read has, and the two layers differ. The API client's account-wide "my issues"
|
|
67
|
+
* search (`GitHubApi.searchMyIssues`) never requested an order, so a direct caller omitting `sort` still gets
|
|
68
|
+
* GitHub's relevance order — the default is opt-in there, to keep that read's already-shipped results unchanged.
|
|
69
|
+
* The FACADE does apply it: GitHub declares `updated:desc` among its account-wide keys, so
|
|
70
|
+
* `readAccountWideIssuesPage` resolves the omission to this default and forwards it, and that read's emitted query
|
|
71
|
+
* gained a `sort:updated` qualifier it did not have before. A read whose surface cannot express even this key is
|
|
72
|
+
* the only one the facade leaves in the provider's own order.
|
|
73
|
+
*/
|
|
74
|
+
export declare const defaultIssueSort: IssueSorting;
|
|
24
75
|
/**
|
|
25
76
|
* What a filtered issue search narrows on: a provider-neutral criteria set, translated to each provider's own
|
|
26
77
|
* query language by its integration.
|
|
@@ -63,6 +114,19 @@ export interface IssueSearchCriteria {
|
|
|
63
114
|
withoutLinkedPullRequest?: boolean;
|
|
64
115
|
/** Includes issues in archived repositories, which are excluded by default. */
|
|
65
116
|
includeArchived?: boolean;
|
|
117
|
+
/**
|
|
118
|
+
* How to order the results. Omitted means `updated:desc`, which is what this search has always served.
|
|
119
|
+
*
|
|
120
|
+
* Validated like every other criterion — all-or-nothing against {@link IssueSearchCapabilities.sorts}: a key
|
|
121
|
+
* the provider can't express server-side refuses the WHOLE read rather than falling back to the default.
|
|
122
|
+
* Serving another order is not a smaller error than serving a wider result: combined with the provider's
|
|
123
|
+
* result ceiling it returns a different subset than was asked for, and the paging that comes with it describes
|
|
124
|
+
* that other subset.
|
|
125
|
+
*
|
|
126
|
+
* Do not change it mid-pagination. A cursor carries the sort it was produced under, and threading it under a
|
|
127
|
+
* different key is refused rather than serving a sequence with gaps and repeats: drop the cursor instead.
|
|
128
|
+
*/
|
|
129
|
+
sort?: IssueSorting;
|
|
66
130
|
}
|
|
67
131
|
/**
|
|
68
132
|
* Which {@link IssueSearchCriteria} fields a provider's filtered issue search can express server-side.
|
|
@@ -81,6 +145,12 @@ export interface IssueSearchCapabilities {
|
|
|
81
145
|
withoutLinkedPullRequest: boolean;
|
|
82
146
|
/** Whether {@link IssueSearchCriteria.state} can select anything other than the provider's default (open). */
|
|
83
147
|
states: boolean;
|
|
148
|
+
/**
|
|
149
|
+
* Sort keys the search can express IN SERVER. Always contains at least `updated:desc` — the historical default
|
|
150
|
+
* — when the search exists at all, so it is never empty for a usable surface; a provider without a filtered
|
|
151
|
+
* search reports an empty `relationships`, which is already the signal that there is no surface to order.
|
|
152
|
+
*/
|
|
153
|
+
sorts: IssueSorting[];
|
|
84
154
|
}
|
|
85
155
|
export interface IssueShape extends IssueOrPullRequest {
|
|
86
156
|
/** `undefined` when the provider can't resolve the author, e.g. a deleted GitHub account */
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"issue.d.ts","sourceRoot":"","sources":["../../../src/git/models/issue.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,WAAW,EAAE,oBAAoB,EAAE,MAAM,yBAAyB,CAAC;AACjF,OAAO,KAAK,EAAE,kBAAkB,EAAE,uBAAuB,EAAE,MAAM,yBAAyB,CAAC;AAC3F,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,qBAAqB,CAAC;AAC7D,OAAO,KAAK,EAAE,4BAA4B,EAAE,MAAM,2BAA2B,CAAC;AAE9E,oFAAoF;AACpF,MAAM,MAAM,gBAAgB,GAAG,MAAM,GAAG,QAAQ,GAAG,KAAK,CAAC;AAEzD;;;;;GAKG;AACH,MAAM,MAAM,uBAAuB;AAClC,oCAAoC;AAClC,UAAU;AACZ,oCAAoC;GAClC,UAAU;AACZ,iCAAiC;GAC/B,WAAW;AACb,sGAAsG;GACpG,cAAc;AAChB,oFAAoF;GAClF,YAAY,CAAC;AAEhB;;;;;;;;;;;GAWG;AACH,MAAM,WAAW,mBAAmB;IACnC;;;;;;;;OAQG;IACH,aAAa,CAAC,EAAE,uBAAuB,EAAE,CAAC;IAC1C;;;;OAIG;IACH,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,+DAA+D;IAC/D,KAAK,CAAC,EAAE,gBAAgB,CAAC;IACzB,sFAAsF;IACtF,MAAM,CAAC,EAAE,MAAM,EAAE,CAAC;IAClB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,+FAA+F;IAC/F,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,+BAA+B;IAC/B,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,0CAA0C;IAC1C,wBAAwB,CAAC,EAAE,OAAO,CAAC;IACnC,+EAA+E;IAC/E,eAAe,CAAC,EAAE,OAAO,CAAC;
|
|
1
|
+
{"version":3,"file":"issue.d.ts","sourceRoot":"","sources":["../../../src/git/models/issue.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,WAAW,EA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AK;IACX,IAAI,KAAK;IACT,IAAI,IAAI;CACR;AAED,MAAM,WAAW,UAAU;IAC1B,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,IAAI,EAAE,MAAM,CAAC;CACb;AAED,MAAM,WAAW,WAAW;IAC3B,EAAE,EAAE,MAAM,CAAC;IACX;;;;;OAKG;IACH,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,GAAG,CAAC,EAAE,MAAM,CAAC;CACb;AAED,MAAM,WAAW,YAAY;IAC5B,EAAE,EAAE,MAAM,CAAC;IACX,IAAI,EAAE,MAAM,CAAC;IACb,UAAU,EAAE,MAAM,CAAC;IACnB,YAAY,EAAE,MAAM,CAAC;CACrB;AAED,MAAM,WAAW,eAAe;IAC/B,KAAK,EAAE,MAAM,CAAC;IACd,IAAI,EAAE,MAAM,CAAC;IACb,WAAW,CAAC,EAAE,qBAAqB,CAAC;IACpC,GAAG,CAAC,EAAE,MAAM,CAAC;IACb,EAAE,CAAC,EAAE,MAAM,CAAC;CACZ;AAED,MAAM,MAAM,iCAAiC,GAAG,oBAAoB,CACnE,WAAW,CAAC,4BAA4B,CAAC,MAAM,CAAC,EAAE,UAAU,CAAC,EAC7D,UAAU,EACV,IAAI,GAAG,QAAQ,GAAG,YAAY,GAAG,UAAU,CAC3C,GACA,oBAAoB,CAAC,WAAW,CAAC,4BAA4B,CAAC,MAAM,CAAC,EAAE,QAAQ,CAAC,EAAE,QAAQ,EAAE,QAAQ,CAAC,CAAC"}
|
package/dist/git/models/issue.js
CHANGED
|
@@ -6,6 +6,23 @@ var __decorate = (this && this.__decorate) || function (decorators, target, key,
|
|
|
6
6
|
};
|
|
7
7
|
var Issue_1;
|
|
8
8
|
import { loggable } from '../../utils/decorators/log.js';
|
|
9
|
+
/**
|
|
10
|
+
* The order every issue read that HAS a default applies when the caller asks for none: most recently updated
|
|
11
|
+
* first, which is what those reads served before ordering was an option.
|
|
12
|
+
*
|
|
13
|
+
* One definition rather than one per layer, because it is a promise made in several places at once — the criteria
|
|
14
|
+
* model documents it, the GitHub query emits it, and the result-ceiling warning quotes it — and three copies would
|
|
15
|
+
* be free to disagree about what "the default" is.
|
|
16
|
+
*
|
|
17
|
+
* Note it is not a default every read has, and the two layers differ. The API client's account-wide "my issues"
|
|
18
|
+
* search (`GitHubApi.searchMyIssues`) never requested an order, so a direct caller omitting `sort` still gets
|
|
19
|
+
* GitHub's relevance order — the default is opt-in there, to keep that read's already-shipped results unchanged.
|
|
20
|
+
* The FACADE does apply it: GitHub declares `updated:desc` among its account-wide keys, so
|
|
21
|
+
* `readAccountWideIssuesPage` resolves the omission to this default and forwards it, and that read's emitted query
|
|
22
|
+
* gained a `sort:updated` qualifier it did not have before. A read whose surface cannot express even this key is
|
|
23
|
+
* the only one the facade leaves in the provider's own order.
|
|
24
|
+
*/
|
|
25
|
+
export const defaultIssueSort = 'updated:desc';
|
|
9
26
|
let Issue = Issue_1 = class Issue {
|
|
10
27
|
provider;
|
|
11
28
|
id;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"issue.js","sourceRoot":"","sources":["../../../src/git/models/issue.ts"],"names":[],"mappings":";;;;;;;AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,kCAAkC,CAAC;
|
|
1
|
+
{"version":3,"file":"issue.js","sourceRoot":"","sources":["../../../src/git/models/issue.ts"],"names":[],"mappings":";;;;;;;AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,kCAAkC,CAAC;AA+D5D;;;;;;;;;;;;;;;GAeG;AACH,MAAM,CAAC,MAAM,gBAAgB,GAAiB,cAAc,CAAC;AAgGtD,IAAM,KAAK,aAAX,MAAM,KAAK;IAIA,QAAQ;IACR,EAAE;IACF,MAAM;IACN,KAAK;IACL,GAAG;IACH,WAAW;IACX,WAAW;IACX,MAAM;IACN,KAAK;IACL,MAAM;IACN,SAAS;IACT,UAAU;IACV,UAAU;IACV,MAAM;IACN,aAAa;IACb,aAAa;IACb,IAAI;IACJ,OAAO;IACP,MAAM;IACN,SAAS;IAtBjB,IAAI,GAAG,OAAO,CAAC;IAExB,YACiB,QAA2B,EAC3B,EAAU,EACV,MAA0B,EAC1B,KAAa,EACb,GAAW,EACX,WAAiB,EACjB,WAAiB,EACjB,MAAe,EACf,KAA8B,EAC9B,MAA+B,EAC/B,SAAwB,EACxB,UAA4B,EAC5B,UAAiB,EACjB,MAAqB,EACrB,aAAsB,EACtB,aAAsB,EACtB,IAAa,EACb,OAAsB,EACtB,MAAe,EACf,SAAkB;wBAnBlB,QAAQ;kBACR,EAAE;sBACF,MAAM;qBACN,KAAK;mBACL,GAAG;2BACH,WAAW;2BACX,WAAW;sBACX,MAAM;qBACN,KAAK;sBACL,MAAM;yBACN,SAAS;0BACT,UAAU;0BACV,UAAU;sBACV,MAAM;6BACN,aAAa;6BACb,aAAa;oBACb,IAAI;uBACJ,OAAO;sBACP,MAAM;yBACN,SAAS;IACvB,CAAC;IAEG,AAAP,MAAM,CAAC,EAAE,CAAC,KAAc;QACvB,OAAO,KAAK,mBAAiB,CAAC;IAC/B,CAAC;CACD,CAAA;AA7BY,KAAK;IADjB,QAAQ,CAAC,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC,EAAE,CAAC;GACP,KAAK,CA6BjB;;AAED,MAAM,CAAN,IAAkB,qBAOjB;AAPD,WAAkB,qBAAqB;IACtC,qEAAW,CAAA;IACX,0EAAa,CAAA;IACb,oEAAU,CAAA;IACV,sEAAW,CAAA;IACX,kEAAS,CAAA;IACT,iEAAQ,CAAA;AACT,CAAC,EAPiB,qBAAqB,KAArB,qBAAqB,QAOtC"}
|
|
@@ -1,4 +1,44 @@
|
|
|
1
|
-
import type { Issue, IssueRepositoryIdentityDescriptor, IssueShape } from '../models/issue.js';
|
|
1
|
+
import type { Issue, IssueRepositoryIdentityDescriptor, IssueShape, IssueSorting } from '../models/issue.js';
|
|
2
|
+
/**
|
|
3
|
+
* The order a read that ALWAYS orders is being made under: the caller's key, or the facade's default.
|
|
4
|
+
*
|
|
5
|
+
* The one place `?? defaultIssueSort` may be written. Several things downstream must agree on the answer — the
|
|
6
|
+
* emitted provider qualifier, the fingerprint sealed into a cursor, the comparator that re-sorts a merged page and
|
|
7
|
+
* the ceiling warning that names the order — and re-deriving the fallback at each is how they come to disagree,
|
|
8
|
+
* which is not cosmetic: a cursor sealed with a key its query wasn't built with makes the fingerprint check refuse
|
|
9
|
+
* valid resumptions.
|
|
10
|
+
*
|
|
11
|
+
* Note this is for a surface that CAN always order. A read whose provider may not express even the default resolves
|
|
12
|
+
* through `resolveIssueSort` instead, which can answer "leave the provider's own order".
|
|
13
|
+
*/
|
|
14
|
+
export declare function effectiveIssueSort(sort: IssueSorting | undefined): IssueSorting;
|
|
15
|
+
/**
|
|
16
|
+
* A comparator for one sort key over normalized issues, or `undefined` when the field isn't derivable from an
|
|
17
|
+
* {@link IssueShape} — the signal that the key is only honorable on a SINGLE-origin read, where the provider
|
|
18
|
+
* already ordered the page.
|
|
19
|
+
*
|
|
20
|
+
* `@gitkraken/provider-apis` carries a twin of this over its own `Issue` shape (`src/issueSort.ts`), which it uses
|
|
21
|
+
* for the merges it performs itself. It is not importable — the SDK does not export it, and it takes a different
|
|
22
|
+
* shape — so the two are separate implementations of one rule, and the rule below is the part that must not drift.
|
|
23
|
+
*
|
|
24
|
+
* Missing values sort LAST in both directions. That is deliberately not the same as negating the descending
|
|
25
|
+
* comparator (which would float them to the front when ascending), and it is why they're partitioned before any
|
|
26
|
+
* arithmetic rather than mapped to an infinite sentinel: two missing values have to compare equal, and
|
|
27
|
+
* `-Infinity - -Infinity` is `NaN`, which makes the comparator inconsistent and the resulting order
|
|
28
|
+
* implementation-defined.
|
|
29
|
+
*
|
|
30
|
+
* Note it orders whatever it is handed. Sorting a page that was already capped does not make it the top N.
|
|
31
|
+
*
|
|
32
|
+
* KNOWN DIVERGENCE, `title` only: strings are compared by code unit, so `'B' < 'a'`. A single-scope read is
|
|
33
|
+
* ordered by the provider's own database instead — case-insensitive and accent-aware — so the same `title:asc`
|
|
34
|
+
* yields "Banana, apple, ábaco" from a merged page and "ábaco, apple, Banana" from one repository. Deliberately
|
|
35
|
+
* NOT fixed with `localeCompare`: the SDK's twin comparator (which performs the merges core doesn't, notably
|
|
36
|
+
* GitLab's repo-ids aggregate) compares by code unit, so switching here would make two paths of the SAME
|
|
37
|
+
* multi-repo read disagree — a worse divergence than the one it closes, and it would break the parity test in
|
|
38
|
+
* `issueSortCapabilities.test.ts`. Closing this properly means changing the rule on BOTH sides at once; until
|
|
39
|
+
* then it is a cosmetic ordering difference on one key, not wrong data.
|
|
40
|
+
*/
|
|
41
|
+
export declare function getIssueComparator(sort: IssueSorting): ((a: IssueShape, b: IssueShape) => number) | undefined;
|
|
2
42
|
export declare function getRepositoryIdentityForIssue(issue: IssueShape | Issue): IssueRepositoryIdentityDescriptor;
|
|
3
43
|
export declare function serializeIssue(value: IssueShape): IssueShape;
|
|
4
44
|
//# sourceMappingURL=issue.utils.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"issue.utils.d.ts","sourceRoot":"","sources":["../../../src/git/utils/issue.utils.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,
|
|
1
|
+
{"version":3,"file":"issue.utils.d.ts","sourceRoot":"","sources":["../../../src/git/utils/issue.utils.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EACX,KAAK,EACL,iCAAiC,EACjC,UAAU,EAEV,YAAY,EACZ,MAAM,oBAAoB,CAAC;AAqB5B;;;;;;;;;;;GAWG;AACH,wBAAgB,kBAAkB,CAAC,IAAI,EAAE,YAAY,GAAG,SAAS,GAAG,YAAY,CAE/E;AAED;;;;;;;;;;;;;;;;;;;;;;;;;GAyBG;AACH,wBAAgB,kBAAkB,CAAC,IAAI,EAAE,YAAY,GAAG,CAAC,CAAC,CAAC,EAAE,UAAU,EAAE,CAAC,EAAE,UAAU,KAAK,MAAM,CAAC,GAAG,SAAS,CAiB7G;AAMD,wBAAgB,6BAA6B,CAAC,KAAK,EAAE,UAAU,GAAG,KAAK,GAAG,iCAAiC,CAiB1G;AAED,wBAAgB,cAAc,CAAC,KAAK,EAAE,UAAU,GAAG,UAAU,CA+D5D"}
|
|
@@ -1,3 +1,83 @@
|
|
|
1
|
+
import { defaultIssueSort } from '../models/issue.js';
|
|
2
|
+
/**
|
|
3
|
+
* How each sort field is read off an {@link IssueShape}, for the reads that MERGE several provider queries and so
|
|
4
|
+
* have to order the union themselves instead of letting the provider do it.
|
|
5
|
+
*
|
|
6
|
+
* Only the fields the shape actually carries appear. `priority`, `dueDate` and `resolved` are absent because
|
|
7
|
+
* `IssueOrPullRequest`/`IssueShape` doesn't model them: a provider may well order by them server-side on a
|
|
8
|
+
* single-query read, but a merged one cannot — which is exactly what {@link getIssueComparator} returning
|
|
9
|
+
* `undefined` lets its caller refuse, instead of concatenating unordered runs and calling them sorted.
|
|
10
|
+
*/
|
|
11
|
+
const issueSortValues = {
|
|
12
|
+
created: i => i.createdDate,
|
|
13
|
+
updated: i => i.updatedDate,
|
|
14
|
+
closed: i => i.closedDate,
|
|
15
|
+
comments: i => i.commentsCount,
|
|
16
|
+
reactions: i => i.thumbsUpCount,
|
|
17
|
+
title: i => i.title,
|
|
18
|
+
};
|
|
19
|
+
/**
|
|
20
|
+
* The order a read that ALWAYS orders is being made under: the caller's key, or the facade's default.
|
|
21
|
+
*
|
|
22
|
+
* The one place `?? defaultIssueSort` may be written. Several things downstream must agree on the answer — the
|
|
23
|
+
* emitted provider qualifier, the fingerprint sealed into a cursor, the comparator that re-sorts a merged page and
|
|
24
|
+
* the ceiling warning that names the order — and re-deriving the fallback at each is how they come to disagree,
|
|
25
|
+
* which is not cosmetic: a cursor sealed with a key its query wasn't built with makes the fingerprint check refuse
|
|
26
|
+
* valid resumptions.
|
|
27
|
+
*
|
|
28
|
+
* Note this is for a surface that CAN always order. A read whose provider may not express even the default resolves
|
|
29
|
+
* through `resolveIssueSort` instead, which can answer "leave the provider's own order".
|
|
30
|
+
*/
|
|
31
|
+
export function effectiveIssueSort(sort) {
|
|
32
|
+
return sort ?? defaultIssueSort;
|
|
33
|
+
}
|
|
34
|
+
/**
|
|
35
|
+
* A comparator for one sort key over normalized issues, or `undefined` when the field isn't derivable from an
|
|
36
|
+
* {@link IssueShape} — the signal that the key is only honorable on a SINGLE-origin read, where the provider
|
|
37
|
+
* already ordered the page.
|
|
38
|
+
*
|
|
39
|
+
* `@gitkraken/provider-apis` carries a twin of this over its own `Issue` shape (`src/issueSort.ts`), which it uses
|
|
40
|
+
* for the merges it performs itself. It is not importable — the SDK does not export it, and it takes a different
|
|
41
|
+
* shape — so the two are separate implementations of one rule, and the rule below is the part that must not drift.
|
|
42
|
+
*
|
|
43
|
+
* Missing values sort LAST in both directions. That is deliberately not the same as negating the descending
|
|
44
|
+
* comparator (which would float them to the front when ascending), and it is why they're partitioned before any
|
|
45
|
+
* arithmetic rather than mapped to an infinite sentinel: two missing values have to compare equal, and
|
|
46
|
+
* `-Infinity - -Infinity` is `NaN`, which makes the comparator inconsistent and the resulting order
|
|
47
|
+
* implementation-defined.
|
|
48
|
+
*
|
|
49
|
+
* Note it orders whatever it is handed. Sorting a page that was already capped does not make it the top N.
|
|
50
|
+
*
|
|
51
|
+
* KNOWN DIVERGENCE, `title` only: strings are compared by code unit, so `'B' < 'a'`. A single-scope read is
|
|
52
|
+
* ordered by the provider's own database instead — case-insensitive and accent-aware — so the same `title:asc`
|
|
53
|
+
* yields "Banana, apple, ábaco" from a merged page and "ábaco, apple, Banana" from one repository. Deliberately
|
|
54
|
+
* NOT fixed with `localeCompare`: the SDK's twin comparator (which performs the merges core doesn't, notably
|
|
55
|
+
* GitLab's repo-ids aggregate) compares by code unit, so switching here would make two paths of the SAME
|
|
56
|
+
* multi-repo read disagree — a worse divergence than the one it closes, and it would break the parity test in
|
|
57
|
+
* `issueSortCapabilities.test.ts`. Closing this properly means changing the rule on BOTH sides at once; until
|
|
58
|
+
* then it is a cosmetic ordering difference on one key, not wrong data.
|
|
59
|
+
*/
|
|
60
|
+
export function getIssueComparator(sort) {
|
|
61
|
+
// The union's shape guarantees both halves, so this needs no validation — only the cast tsc can't infer.
|
|
62
|
+
const [field, direction] = sort.split(':');
|
|
63
|
+
const getValue = issueSortValues[field];
|
|
64
|
+
if (getValue == null)
|
|
65
|
+
return undefined;
|
|
66
|
+
return (a, b) => {
|
|
67
|
+
const left = toComparable(getValue(a));
|
|
68
|
+
const right = toComparable(getValue(b));
|
|
69
|
+
if (left == null || right == null) {
|
|
70
|
+
if (left == null && right == null)
|
|
71
|
+
return 0;
|
|
72
|
+
return left == null ? 1 : -1;
|
|
73
|
+
}
|
|
74
|
+
const ordered = left < right ? -1 : left > right ? 1 : 0;
|
|
75
|
+
return direction === 'asc' ? ordered : -ordered;
|
|
76
|
+
};
|
|
77
|
+
}
|
|
78
|
+
function toComparable(value) {
|
|
79
|
+
return value instanceof Date ? value.getTime() : value;
|
|
80
|
+
}
|
|
1
81
|
export function getRepositoryIdentityForIssue(issue) {
|
|
2
82
|
if (issue.repository == null)
|
|
3
83
|
throw new Error('Missing repository');
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"issue.utils.js","sourceRoot":"","sources":["../../../src/git/utils/issue.utils.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"issue.utils.js","sourceRoot":"","sources":["../../../src/git/utils/issue.utils.ts"],"names":[],"mappings":"AAOA,OAAO,EAAE,gBAAgB,EAAE,MAAM,oBAAoB,CAAC;AAEtD;;;;;;;;GAQG;AACH,MAAM,eAAe,GAA+F;IACnH,OAAO,EAAE,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC,WAAW;IAC3B,OAAO,EAAE,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC,WAAW;IAC3B,MAAM,EAAE,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC,UAAU;IACzB,QAAQ,EAAE,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC,aAAa;IAC9B,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f,IAAI,EAAE,QAAQ,CAAC,IAAI;YACnB,SAAS,EAAE,QAAQ,CAAC,SAAS;YAC7B,GAAG,EAAE,QAAQ,CAAC,GAAG;SACjB,CAAC,CAAC;QACH,MAAM,EACL,KAAK,CAAC,MAAM,IAAI,IAAI;YACnB,CAAC,CAAC,SAAS;YACX,CAAC,CAAC,KAAK,CAAC,MAAM,CAAC,GAAG,CAAC,KAAK,CAAC,EAAE,CAAC,CAAC;gBAC3B,KAAK,EAAE,KAAK,CAAC,KAAK;gBAClB,IAAI,EAAE,KAAK,CAAC,IAAI;aAChB,CAAC,CAAC;QACN,aAAa,EAAE,KAAK,CAAC,aAAa;QAClC,aAAa,EAAE,KAAK,CAAC,aAAa;QAClC,IAAI,EAAE,KAAK,CAAC,IAAI;KAChB,CAAC;IACF,OAAO,UAAU,CAAC;AACnB,CAAC"}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import type { Endpoints } from '@octokit/types';
|
|
2
2
|
import type { Account, UnidentifiedAuthor } from '../../../git/models/author.js';
|
|
3
3
|
import type { DefaultBranch } from '../../../git/models/defaultBranch.js';
|
|
4
|
-
import type { Issue, IssueSearchCriteria, IssueShape } from '../../../git/models/issue.js';
|
|
4
|
+
import type { Issue, IssueSearchCriteria, IssueShape, IssueSorting } from '../../../git/models/issue.js';
|
|
5
5
|
import type { IssueOrPullRequest } from '../../../git/models/issueOrPullRequest.js';
|
|
6
6
|
import type { PullRequest, PullRequestSearchCriteria, PullRequestShape, PullRequestState, PullRequestStateFilter } from '../../../git/models/pullRequest.js';
|
|
7
7
|
import { PullRequestMergeMethod } from '../../../git/models/pullRequest.js';
|
|
@@ -234,6 +234,16 @@ export declare class GitHubApi {
|
|
|
234
234
|
silent?: boolean;
|
|
235
235
|
state?: PullRequestStateFilter;
|
|
236
236
|
}, cancellation?: AbortSignal): Promise<PullRequest[]>;
|
|
237
|
+
/**
|
|
238
|
+
* The current user's issues: authored ∪ assigned ∪ mentioned, each its own aliased search behind one composite
|
|
239
|
+
* cursor. Bound to `@me` by construction, unlike {@link searchIssuesPage}.
|
|
240
|
+
*
|
|
241
|
+
* Ordering is OPT-IN here, and that asymmetry with {@link searchIssuesPage} is deliberate: this read has never
|
|
242
|
+
* requested a sort, so GitHub has always answered it in relevance order. Emitting a default would change which
|
|
243
|
+
* issues its already-shipped consumers see, so an omitted `sort` still emits no `sort:` qualifier at all and
|
|
244
|
+
* keeps today's result. Pass one to get a defined order — which is also what makes a page budget meaningful,
|
|
245
|
+
* since relevance ranking can shift under an unchanged upstream.
|
|
246
|
+
*/
|
|
237
247
|
searchMyIssues(provider: Provider, token: GitHubTokenInfo, options?: {
|
|
238
248
|
search?: string;
|
|
239
249
|
user?: string;
|
|
@@ -243,6 +253,8 @@ export declare class GitHubApi {
|
|
|
243
253
|
includeBody?: boolean;
|
|
244
254
|
includeAllAssignees?: boolean;
|
|
245
255
|
cursor?: string;
|
|
256
|
+
/** Requested order. Omitted leaves GitHub's relevance order, which is what this read has always served. */
|
|
257
|
+
sort?: IssueSorting;
|
|
246
258
|
/**
|
|
247
259
|
* Which of the three "my issues" searches to run. Omitted runs all three (GitHub's own definition of
|
|
248
260
|
* "mine": authored ∪ assigned ∪ mentioned). Supplied, only the `true` ones run — so a caller wanting
|
|
@@ -264,9 +276,15 @@ export declare class GitHubApi {
|
|
|
264
276
|
* relationship to the current user. The issue counterpart of {@link searchMyPullRequestsPage}, and distinct
|
|
265
277
|
* from {@link searchMyIssues}, which is permanently bound to `@me`.
|
|
266
278
|
*
|
|
267
|
-
* Ordering is
|
|
268
|
-
*
|
|
269
|
-
* order
|
|
279
|
+
* Ordering is `criteria.sort`, defaulting to most-recently-updated-first — the order this read served before
|
|
280
|
+
* ordering was an option, so an omitted `sort` emits the identical query. What is NOT optional is that SOME
|
|
281
|
+
* order is always requested: without one GitHub answers in relevance order, and at the result ceiling that
|
|
282
|
+
* makes which rows are reachable a function of GitHub's ranking rather than of the request. A key GitHub can't
|
|
283
|
+
* express (`closed`, `priority`, …) is refused by the facade before the request, not silently downgraded.
|
|
284
|
+
*
|
|
285
|
+
* With more than one relationship the page is a UNION of several searches, each ordered by the provider; the
|
|
286
|
+
* merged page is re-sorted here so the whole page honors the requested key. Across pages the order is still
|
|
287
|
+
* per-alias — see {@link searchIssuesByAlias}.
|
|
270
288
|
*
|
|
271
289
|
* Each requested relationship becomes its own aliased search, unioned and deduped by url; with none, a single
|
|
272
290
|
* search runs over the scope alone. `criteria.text` and the other free-form values are sanitized so user input
|
|
@@ -315,8 +333,17 @@ export declare class GitHubApi {
|
|
|
315
333
|
* {@link searchMyIssues} is one configuration of it (its three `@me` categories), and its alias names are
|
|
316
334
|
* that read's published cursor keys.
|
|
317
335
|
*
|
|
318
|
-
* `searches` must have unique aliases, each a valid GraphQL name that is
|
|
319
|
-
* the composite cursor keys aliases at its top level, alongside those
|
|
336
|
+
* `searches` must have unique aliases, each a valid GraphQL name that is none of `page`, `truncated` or
|
|
337
|
+
* `sort` — the composite cursor keys aliases at its top level, alongside those three reserved fields.
|
|
338
|
+
*
|
|
339
|
+
* `sort` is the order the caller asked for, which this does two things with. Each alias comes back ordered by
|
|
340
|
+
* it (the qualifier is already in `searches[].query`), but the UNION of several aliases is not, so the merged
|
|
341
|
+
* page is re-sorted here; and the key is recorded in the cursor, so a continuation that changed it THROWS
|
|
342
|
+
* rather than serving a sequence with gaps and repeats. Omitted means the caller asked for no order at all
|
|
343
|
+
* ({@link searchMyIssues}'s default), which re-sorts nothing and pins nothing.
|
|
344
|
+
*
|
|
345
|
+
* `legacySort` is the order the calling read produced BEFORE this field existed, and is what a cursor with no
|
|
346
|
+
* recorded key is compared against — such a cursor is not of unknown order, it is of that read's old one.
|
|
320
347
|
*/
|
|
321
348
|
private searchIssuesByAlias;
|
|
322
349
|
/**
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"github.d.ts","sourceRoot":"","sources":["../../../../src/plus/git-github/api/github.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,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