@theholocron/holocron-plugin-linear 5.0.0-alpha.394 → 5.0.0-alpha.395
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/dist/index.d.mts +1 -1
- package/dist/index.mjs +2 -1
- package/package.json +7 -7
package/dist/index.d.mts
CHANGED
|
@@ -32,7 +32,7 @@ export declare class LinearIssues implements Issues {
|
|
|
32
32
|
constructor(scope: TeamScope, opts?: IssuesOptions);
|
|
33
33
|
/** The user the token belongs to. */
|
|
34
34
|
getMyself(): Promise<TrackerUser>;
|
|
35
|
-
/** The team's issues, newest update first. */
|
|
35
|
+
/** The team's issues, newest update first; `text` is matched in the title or description on Linear's side. */
|
|
36
36
|
search(filter: IssueSearchFilter): Promise<Issue[]>;
|
|
37
37
|
/** One issue by its key. */
|
|
38
38
|
get(key: string): Promise<Issue>;
|
package/dist/index.mjs
CHANGED
|
@@ -460,7 +460,7 @@ var LinearIssues = class {
|
|
|
460
460
|
async getMyself() {
|
|
461
461
|
return toUser((await this.scope.client.teams.viewer()).user);
|
|
462
462
|
}
|
|
463
|
-
/** The team's issues, newest update first. */
|
|
463
|
+
/** The team's issues, newest update first; `text` is matched in the title or description on Linear's side. */
|
|
464
464
|
async search(filter) {
|
|
465
465
|
const team = await this.scope.team();
|
|
466
466
|
const assigneeId = filter.assignee === "currentUser" ? (await this.scope.client.teams.viewer()).user.id : filter.assignee || void 0;
|
|
@@ -468,6 +468,7 @@ var LinearIssues = class {
|
|
|
468
468
|
teamId: team.id,
|
|
469
469
|
...assigneeId ? { assigneeId } : {},
|
|
470
470
|
...filter.openOnly ? { openOnly: true } : {},
|
|
471
|
+
...filter.text ? { text: filter.text } : {},
|
|
471
472
|
limit: filter.limit ?? 50
|
|
472
473
|
})).map(mapIssue);
|
|
473
474
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@theholocron/holocron-plugin-linear",
|
|
3
|
-
"version": "5.0.0-alpha.
|
|
3
|
+
"version": "5.0.0-alpha.395",
|
|
4
4
|
"description": "Holocron plugin for Linear. Implements the issues and projects capabilities against the Linear GraphQL API, with export and import for migrating to and from other trackers.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"holocron",
|
|
@@ -40,18 +40,18 @@
|
|
|
40
40
|
"tsdown": "^0.23.5",
|
|
41
41
|
"typescript": "^5.9.3",
|
|
42
42
|
"vitest": "^5.1.0",
|
|
43
|
-
"@theholocron/
|
|
44
|
-
"@theholocron/
|
|
43
|
+
"@theholocron/eslint-config": "^8.9.0-alpha.15",
|
|
44
|
+
"@theholocron/tsdown-config": "^8.9.0-alpha.15",
|
|
45
|
+
"@theholocron/linear-client": "^1.58.0-alpha.27",
|
|
45
46
|
"@theholocron/misc-utils": "^1.17.0-alpha.3",
|
|
46
47
|
"@theholocron/tsconfig": "^8.9.0-alpha.15",
|
|
47
|
-
"@theholocron/
|
|
48
|
-
"@theholocron/
|
|
49
|
-
"@theholocron/tsdown-config": "^8.9.0-alpha.15"
|
|
48
|
+
"@theholocron/cli": "5.0.0-alpha.395",
|
|
49
|
+
"@theholocron/vitest-config": "^8.9.0-alpha.15"
|
|
50
50
|
},
|
|
51
51
|
"peerDependencies": {
|
|
52
52
|
"@theholocron/linear-client": "^1.58.0",
|
|
53
53
|
"@theholocron/misc-utils": "^1.16.0",
|
|
54
|
-
"@theholocron/cli": "5.0.0-alpha.
|
|
54
|
+
"@theholocron/cli": "5.0.0-alpha.395"
|
|
55
55
|
},
|
|
56
56
|
"peerDependenciesMeta": {
|
|
57
57
|
"@theholocron/linear-client": {}
|