@oh-my-ghaad/core 0.0.2 → 0.0.6
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 +40 -0
- package/dist/index.cjs +2 -0
- package/dist/index.d.cts +2 -0
- package/dist/index.d.ts +2 -0
- package/dist/index.js +2 -0
- package/package.json +1 -1
- package/src/adapter.ts +2 -0
- package/src/types.ts +1 -0
package/CHANGELOG.md
ADDED
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
## [0.0.6](https://github.com/cmgriffing/oh-my-ghaad/compare/v0.0.5...v0.0.6) (2025-10-04)
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
## [0.0.5](https://github.com/cmgriffing/oh-my-ghaad/compare/v0.0.4...v0.0.5) (2025-10-04)
|
|
6
|
+
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
## [0.0.4](https://github.com/cmgriffing/oh-my-ghaad/compare/v0.0.3...v0.0.4) (2025-10-04)
|
|
10
|
+
|
|
11
|
+
|
|
12
|
+
|
|
13
|
+
## [0.0.3](https://github.com/cmgriffing/oh-my-ghaad/compare/v0.0.2...v0.0.3) (2025-10-04)
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
|
|
17
|
+
## [0.0.2](https://github.com/cmgriffing/oh-my-ghaad/compare/v0.0.1...v0.0.2) (2025-10-04)
|
|
18
|
+
|
|
19
|
+
|
|
20
|
+
|
|
21
|
+
## [0.0.1](https://github.com/cmgriffing/oh-my-ghaad/compare/c7429b9154b82e94b4a214489b11e9b80642e0c7...v0.0.1) (2025-10-04)
|
|
22
|
+
|
|
23
|
+
|
|
24
|
+
### Bug Fixes
|
|
25
|
+
|
|
26
|
+
* add number support for repository IDs and bump version ([3936a33](https://github.com/cmgriffing/oh-my-ghaad/commit/3936a338152d51ce71959a97d11b157ef8e8f619))
|
|
27
|
+
* add prepublish commands ([2166aa7](https://github.com/cmgriffing/oh-my-ghaad/commit/2166aa72c0e983ba106181a7ea24e2c61eabe28c))
|
|
28
|
+
* add scopes to adapter config ([137202f](https://github.com/cmgriffing/oh-my-ghaad/commit/137202f28b3dcf538947e17b42b299a888869e4b))
|
|
29
|
+
* clean up console logs and commented code ([8625536](https://github.com/cmgriffing/oh-my-ghaad/commit/8625536d411035ab4ebfc0729e88f61b31d5342b))
|
|
30
|
+
|
|
31
|
+
|
|
32
|
+
### Features
|
|
33
|
+
|
|
34
|
+
* add gitlab adapter ([a3367b1](https://github.com/cmgriffing/oh-my-ghaad/commit/a3367b1690c534c4d1fe19be6a287171226d9590))
|
|
35
|
+
* begin scaffolding an msw adapter and filling in some gaps in the engine ([6993e92](https://github.com/cmgriffing/oh-my-ghaad/commit/6993e928dd55e5cd44c0c0ae8e81d126e2ec8b90))
|
|
36
|
+
* bring demo-app up to functional and add mvp methods for engine ([46e2539](https://github.com/cmgriffing/oh-my-ghaad/commit/46e2539da2b72e0d1f95ce739d19f5137a726adb))
|
|
37
|
+
* initial prototyping ([c7429b9](https://github.com/cmgriffing/oh-my-ghaad/commit/c7429b9154b82e94b4a214489b11e9b80642e0c7))
|
|
38
|
+
|
|
39
|
+
|
|
40
|
+
|
package/dist/index.cjs
CHANGED
|
@@ -431,11 +431,13 @@ var Adapter = class {
|
|
|
431
431
|
owner;
|
|
432
432
|
repo;
|
|
433
433
|
accessManagementUrl;
|
|
434
|
+
scopes;
|
|
434
435
|
unauthorizedHandler = null;
|
|
435
436
|
constructor(props) {
|
|
436
437
|
this.clientId = props.clientId;
|
|
437
438
|
this.redirectUri = props.redirectUri;
|
|
438
439
|
this.accessManagementUrl = props.accessManagementUrl;
|
|
440
|
+
this.scopes = props.scopes;
|
|
439
441
|
}
|
|
440
442
|
setOwner(owner) {
|
|
441
443
|
this.owner = owner;
|
package/dist/index.d.cts
CHANGED
|
@@ -28,6 +28,7 @@ interface AdapterProps {
|
|
|
28
28
|
clientId: string;
|
|
29
29
|
redirectUri: string;
|
|
30
30
|
accessManagementUrl: string;
|
|
31
|
+
scopes: string[];
|
|
31
32
|
}
|
|
32
33
|
type Subscription = (collections: Collection[]) => void | Promise<void>;
|
|
33
34
|
interface RepositoryResponse {
|
|
@@ -85,6 +86,7 @@ declare class Adapter implements AdapterProps {
|
|
|
85
86
|
owner: string | null;
|
|
86
87
|
repo: string | null;
|
|
87
88
|
accessManagementUrl: string;
|
|
89
|
+
scopes: string[];
|
|
88
90
|
protected unauthorizedHandler: (() => void | Promise<void>) | null;
|
|
89
91
|
constructor(props: AdapterProps);
|
|
90
92
|
setOwner(owner: string | null): void;
|
package/dist/index.d.ts
CHANGED
|
@@ -28,6 +28,7 @@ interface AdapterProps {
|
|
|
28
28
|
clientId: string;
|
|
29
29
|
redirectUri: string;
|
|
30
30
|
accessManagementUrl: string;
|
|
31
|
+
scopes: string[];
|
|
31
32
|
}
|
|
32
33
|
type Subscription = (collections: Collection[]) => void | Promise<void>;
|
|
33
34
|
interface RepositoryResponse {
|
|
@@ -85,6 +86,7 @@ declare class Adapter implements AdapterProps {
|
|
|
85
86
|
owner: string | null;
|
|
86
87
|
repo: string | null;
|
|
87
88
|
accessManagementUrl: string;
|
|
89
|
+
scopes: string[];
|
|
88
90
|
protected unauthorizedHandler: (() => void | Promise<void>) | null;
|
|
89
91
|
constructor(props: AdapterProps);
|
|
90
92
|
setOwner(owner: string | null): void;
|
package/dist/index.js
CHANGED
|
@@ -402,11 +402,13 @@ var Adapter = class {
|
|
|
402
402
|
owner;
|
|
403
403
|
repo;
|
|
404
404
|
accessManagementUrl;
|
|
405
|
+
scopes;
|
|
405
406
|
unauthorizedHandler = null;
|
|
406
407
|
constructor(props) {
|
|
407
408
|
this.clientId = props.clientId;
|
|
408
409
|
this.redirectUri = props.redirectUri;
|
|
409
410
|
this.accessManagementUrl = props.accessManagementUrl;
|
|
411
|
+
this.scopes = props.scopes;
|
|
410
412
|
}
|
|
411
413
|
setOwner(owner) {
|
|
412
414
|
this.owner = owner;
|
package/package.json
CHANGED
package/src/adapter.ts
CHANGED
|
@@ -7,12 +7,14 @@ export class Adapter implements AdapterProps {
|
|
|
7
7
|
owner: string | null;
|
|
8
8
|
repo: string | null;
|
|
9
9
|
accessManagementUrl: string;
|
|
10
|
+
scopes: string[];
|
|
10
11
|
protected unauthorizedHandler: (() => void | Promise<void>) | null = null;
|
|
11
12
|
|
|
12
13
|
constructor(props: AdapterProps) {
|
|
13
14
|
this.clientId = props.clientId;
|
|
14
15
|
this.redirectUri = props.redirectUri;
|
|
15
16
|
this.accessManagementUrl = props.accessManagementUrl;
|
|
17
|
+
this.scopes = props.scopes;
|
|
16
18
|
}
|
|
17
19
|
|
|
18
20
|
setOwner(owner: string | null) {
|