@theholocron/linear-client 1.58.0-alpha.26 → 1.58.0-alpha.28

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 CHANGED
@@ -247,6 +247,8 @@ interface LinearIssueFilter {
247
247
  assigneeId?: string;
248
248
  /** Leave out issues that are completed or canceled. */
249
249
  openOnly?: boolean;
250
+ /** Only issues whose title or description contains this text, without regard to case. */
251
+ text?: string;
250
252
  /** Stop after this many issues. */
251
253
  limit?: number;
252
254
  }
package/dist/index.mjs CHANGED
@@ -57,6 +57,7 @@ function toFilter(f) {
57
57
  ...f.teamId ? { team: { id: { eq: f.teamId } } } : {},
58
58
  ...f.projectId ? { project: { id: { eq: f.projectId } } } : {},
59
59
  ...f.assigneeId ? { assignee: { id: { eq: f.assigneeId } } } : {},
60
+ ...f.text ? { or: [{ title: { containsIgnoreCase: f.text } }, { description: { containsIgnoreCase: f.text } }] } : {},
60
61
  ...f.openOnly ? { state: { type: { nin: ["completed", "canceled"] } } } : {}
61
62
  };
62
63
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@theholocron/linear-client",
3
- "version": "1.58.0-alpha.26",
3
+ "version": "1.58.0-alpha.28",
4
4
  "description": "A TypeScript client for the Linear GraphQL API",
5
5
  "keywords": [
6
6
  "linear",
@@ -32,8 +32,8 @@
32
32
  "dist"
33
33
  ],
34
34
  "dependencies": {
35
- "@theholocron/observability": "^0.7.0-alpha.3",
36
- "@theholocron/http-client": "^1.58.0-alpha.26"
35
+ "@theholocron/http-client": "^1.58.0-alpha.28",
36
+ "@theholocron/observability": "^0.7.0-alpha.4"
37
37
  },
38
38
  "devDependencies": {
39
39
  "@types/node": "^26",
@@ -45,10 +45,10 @@
45
45
  "tsdown": "^0.23.5",
46
46
  "typescript": "^5.9.3",
47
47
  "vitest": "^5.1.0",
48
- "@theholocron/tsconfig": "^8.9.0-alpha.15",
49
- "@theholocron/vitest-config": "^8.9.0-alpha.15",
50
- "@theholocron/tsdown-config": "^8.9.0-alpha.15",
51
- "@theholocron/eslint-config": "^8.9.0-alpha.15"
48
+ "@theholocron/eslint-config": "^8.9.0-alpha.16",
49
+ "@theholocron/tsconfig": "^8.9.0-alpha.16",
50
+ "@theholocron/tsdown-config": "^8.9.0-alpha.16",
51
+ "@theholocron/vitest-config": "^8.9.0-alpha.16"
52
52
  },
53
53
  "engines": {
54
54
  "node": ">=22.0.0"