@matimo/github 0.1.0-alpha.8 → 0.1.0

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@matimo/github",
3
- "version": "0.1.0-alpha.8",
3
+ "version": "0.1.0",
4
4
  "description": "GitHub API tools for Matimo - Full-featured GitHub integration with OAuth2 and PAT support",
5
5
  "type": "module",
6
6
  "files": [
@@ -8,10 +8,10 @@
8
8
  "README.md",
9
9
  "definition.yaml"
10
10
  ],
11
- "dependencies": {
12
- "@matimo/core": "0.1.0-alpha.8"
11
+ "peerDependencies": {
12
+ "matimo": "0.1.0-alpha.14"
13
13
  },
14
14
  "devDependencies": {
15
- "typescript": "^5.9.3"
15
+ "@matimo/core": "0.1.0"
16
16
  }
17
17
  }
@@ -38,7 +38,13 @@ parameters:
38
38
  execution:
39
39
  type: http
40
40
  method: GET
41
- url: 'https://api.github.com/repos/{owner}/{repo}/code-scanning/alerts?state={state}&severity={severity}&sort={sort}&direction={direction}&per_page={per_page}'
41
+ url: 'https://api.github.com/repos/{owner}/{repo}/code-scanning/alerts'
42
+ query_params:
43
+ state: '{state}'
44
+ severity: '{severity}'
45
+ sort: '{sort}'
46
+ direction: '{direction}'
47
+ per_page: '{per_page}'
42
48
  headers:
43
49
  Accept: application/vnd.github+json
44
50
  Authorization: 'Bearer {GITHUB_TOKEN}'
@@ -34,7 +34,12 @@ parameters:
34
34
  execution:
35
35
  type: http
36
36
  method: GET
37
- url: 'https://api.github.com/repos/{owner}/{repo}/collaborators?affiliation={affiliation}&permission={permission}&per_page={per_page}&page={page}'
37
+ url: 'https://api.github.com/repos/{owner}/{repo}/collaborators'
38
+ query_params:
39
+ affiliation: '{affiliation}'
40
+ permission: '{permission}'
41
+ per_page: '{per_page}'
42
+ page: '{page}'
38
43
  headers:
39
44
  Accept: application/vnd.github+json
40
45
  Authorization: 'Bearer {GITHUB_TOKEN}'
@@ -37,7 +37,13 @@ parameters:
37
37
  execution:
38
38
  type: http
39
39
  method: GET
40
- url: 'https://api.github.com/repos/{owner}/{repo}/commits?per_page={per_page}&page={page}'
40
+ url: 'https://api.github.com/repos/{owner}/{repo}/commits'
41
+ query_params:
42
+ sha: '{sha}'
43
+ path: '{path}'
44
+ author: '{author}'
45
+ per_page: '{per_page}'
46
+ page: '{page}'
41
47
  headers:
42
48
  Accept: application/vnd.github+json
43
49
  Authorization: 'Bearer {GITHUB_TOKEN}'
@@ -48,7 +48,15 @@ parameters:
48
48
  execution:
49
49
  type: http
50
50
  method: GET
51
- url: 'https://api.github.com/repos/{owner}/{repo}/issues?state={state}&per_page={per_page}&page={page}'
51
+ url: 'https://api.github.com/repos/{owner}/{repo}/issues'
52
+ query_params:
53
+ state: '{state}'
54
+ assignee: '{assignee}'
55
+ labels: '{labels}'
56
+ sort: '{sort}'
57
+ direction: '{direction}'
58
+ per_page: '{per_page}'
59
+ page: '{page}'
52
60
  headers:
53
61
  Accept: application/vnd.github+json
54
62
  Authorization: 'Bearer {GITHUB_TOKEN}'
@@ -48,7 +48,13 @@ parameters:
48
48
  execution:
49
49
  type: http
50
50
  method: GET
51
- url: 'https://api.github.com/repos/{owner}/{repo}/pulls?state={state}&per_page={per_page}&page={page}'
51
+ url: 'https://api.github.com/repos/{owner}/{repo}/pulls'
52
+ query_params:
53
+ state: '{state}'
54
+ sort: '{sort}'
55
+ direction: '{direction}'
56
+ per_page: '{per_page}'
57
+ page: '{page}'
52
58
  headers:
53
59
  Accept: application/vnd.github+json
54
60
  Authorization: 'Bearer {GITHUB_TOKEN}'
@@ -25,7 +25,10 @@ parameters:
25
25
  execution:
26
26
  type: http
27
27
  method: GET
28
- url: 'https://api.github.com/repos/{owner}/{repo}/releases?per_page={per_page}&page={page}'
28
+ url: 'https://api.github.com/repos/{owner}/{repo}/releases'
29
+ query_params:
30
+ per_page: '{per_page}'
31
+ page: '{page}'
29
32
  headers:
30
33
  Accept: application/vnd.github+json
31
34
  Authorization: 'Bearer {GITHUB_TOKEN}'
@@ -36,7 +36,13 @@ parameters:
36
36
  execution:
37
37
  type: http
38
38
  method: GET
39
- url: 'https://api.github.com/orgs/{owner}/repos?type={type}&per_page={per_page}&page={page}'
39
+ url: 'https://api.github.com/orgs/{owner}/repos'
40
+ query_params:
41
+ type: '{type}'
42
+ sort: '{sort}'
43
+ direction: '{direction}'
44
+ per_page: '{per_page}'
45
+ page: '{page}'
40
46
  headers:
41
47
  Accept: application/vnd.github+json
42
48
  Authorization: 'Bearer {GITHUB_TOKEN}'
@@ -31,7 +31,13 @@ parameters:
31
31
  execution:
32
32
  type: http
33
33
  method: GET
34
- url: 'https://api.github.com/search/code?q={query}&sort={sort}&order={order}&per_page={per_page}&page={page}'
34
+ url: 'https://api.github.com/search/code'
35
+ query_params:
36
+ q: '{query}'
37
+ sort: '{sort}'
38
+ order: '{order}'
39
+ per_page: '{per_page}'
40
+ page: '{page}'
35
41
  headers:
36
42
  Accept: application/vnd.github+json
37
43
  Authorization: 'Bearer {GITHUB_TOKEN}'
@@ -31,7 +31,13 @@ parameters:
31
31
  execution:
32
32
  type: http
33
33
  method: GET
34
- url: 'https://api.github.com/search/issues?q={query}&sort={sort}&order={order}&per_page={per_page}&page={page}'
34
+ url: 'https://api.github.com/search/issues'
35
+ query_params:
36
+ q: '{query}'
37
+ sort: '{sort}'
38
+ order: '{order}'
39
+ per_page: '{per_page}'
40
+ page: '{page}'
35
41
  headers:
36
42
  Accept: application/vnd.github+json
37
43
  Authorization: 'Bearer {GITHUB_TOKEN}'
@@ -31,7 +31,13 @@ parameters:
31
31
  execution:
32
32
  type: http
33
33
  method: GET
34
- url: 'https://api.github.com/search/repositories?q={query}&sort={sort}&order={order}&per_page={per_page}&page={page}'
34
+ url: 'https://api.github.com/search/repositories'
35
+ query_params:
36
+ q: '{query}'
37
+ sort: '{sort}'
38
+ order: '{order}'
39
+ per_page: '{per_page}'
40
+ page: '{page}'
35
41
  headers:
36
42
  Accept: application/vnd.github+json
37
43
  Authorization: 'Bearer {GITHUB_TOKEN}'
@@ -31,7 +31,13 @@ parameters:
31
31
  execution:
32
32
  type: http
33
33
  method: GET
34
- url: 'https://api.github.com/search/users?q={query}&sort={sort}&order={order}&per_page={per_page}&page={page}'
34
+ url: 'https://api.github.com/search/users'
35
+ query_params:
36
+ q: '{query}'
37
+ sort: '{sort}'
38
+ order: '{order}'
39
+ per_page: '{per_page}'
40
+ page: '{page}'
35
41
  headers:
36
42
  Accept: application/vnd.github+json
37
43
  Authorization: 'Bearer {GITHUB_TOKEN}'
package/LICENSE DELETED
@@ -1,21 +0,0 @@
1
- MIT License
2
-
3
- Copyright (c) 2026 tallclub
4
-
5
- Permission is hereby granted, free of charge, to any person obtaining a copy
6
- of this software and associated documentation files (the "Software"), to deal
7
- in the Software without restriction, including without limitation the rights
8
- to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
- copies of the Software, and to permit persons to whom the Software is
10
- furnished to do so, subject to the following conditions:
11
-
12
- The above copyright notice and this permission notice shall be included in all
13
- copies or substantial portions of the Software.
14
-
15
- THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
- IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
- FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
- AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
- LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
- OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
- SOFTWARE.