@oh-my-ghaad/core 0.0.8 → 0.0.9

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 CHANGED
@@ -1,3 +1,7 @@
1
+ ## [0.0.9](https://github.com/cmgriffing/oh-my-ghaad/compare/v0.0.8...v0.0.9) (2025-10-05)
2
+
3
+
4
+
1
5
  ## [0.0.8](https://github.com/cmgriffing/oh-my-ghaad/compare/v0.0.7...v0.0.8) (2025-10-04)
2
6
 
3
7
 
package/dist/index.d.cts CHANGED
@@ -31,7 +31,7 @@ interface AdapterProps {
31
31
  scopes: string[];
32
32
  }
33
33
  type Subscription = (collections: Collection[]) => void | Promise<void>;
34
- interface RepositoryResponse$1 {
34
+ interface RepositoryResponse {
35
35
  id: string | number;
36
36
  org: string;
37
37
  name: string;
@@ -60,7 +60,7 @@ interface IAdapter extends AdapterProps {
60
60
  readonly secondaryColor: string;
61
61
  readonly oauthUrl: string;
62
62
  readonly baseUrl: string;
63
- fetchRepositories(): Promise<RepositoryResponse$1[]>;
63
+ fetchRepositories(): Promise<RepositoryResponse[]>;
64
64
  fetchFile(filePath: string): Promise<string>;
65
65
  fetchFileHistory(filePath: string): Promise<CommitResponse[]>;
66
66
  fetchDirectory(directoryPath: string): Promise<string[]>;
@@ -83,12 +83,12 @@ declare class Adapter implements AdapterProps {
83
83
  clientId: string;
84
84
  redirectUri: string;
85
85
  token: string | null;
86
- repo: RepositoryResponse$1 | null;
86
+ repo: RepositoryResponse | null;
87
87
  accessManagementUrl: string;
88
88
  scopes: string[];
89
89
  protected unauthorizedHandler: (() => void | Promise<void>) | null;
90
90
  constructor(props: AdapterProps);
91
- setRepo(repo: RepositoryResponse$1 | null): void;
91
+ setRepo(repo: RepositoryResponse | null): void;
92
92
  setToken(token: string | null): void;
93
93
  setUnauthorizedHandler(handler: () => void | Promise<void>): void;
94
94
  }
@@ -130,7 +130,7 @@ type RepoConfig = z.infer<typeof repoConfigSchema> & {
130
130
  status: RepoStatus;
131
131
  };
132
132
 
133
- interface RepositoryResponse {
133
+ interface RepositoryResponse$1 {
134
134
  id: string | number;
135
135
  org: string;
136
136
  name: string;
@@ -155,7 +155,7 @@ declare class Engine {
155
155
  subscribe(subscription: Subscription): void;
156
156
  unsubscribe(subscription: Subscription): void;
157
157
  private notifySubscribers;
158
- setRepo(repo: RepositoryResponse | null): void;
158
+ setRepo(repo: RepositoryResponse$1 | null): void;
159
159
  getRepoStatus(): RepoStatus;
160
160
  getAppConfig(): {
161
161
  appName?: string;
@@ -190,4 +190,4 @@ declare class Engine {
190
190
  fetchPullRequests(force?: boolean): Promise<PrResponse[]>;
191
191
  }
192
192
 
193
- export { Adapter, type AdapterProps, type AppConfig, type BaseCollectionItem, Collection, type CollectionItemStatus, type CollectionStatus, type CommitRequest, type CommitResponse, Engine, type IAdapter, type InvalidRepoStatus, type PendingCollectionItemType, type PrRequest, type PrResponse, type RepoConfig, type RepoStatus, type RepositoryResponse$1 as RepositoryResponse, type Subscription, type ValidRepoStatus, appConfigSchema, repoConfigSchema };
193
+ export { Adapter, type AdapterProps, type AppConfig, type BaseCollectionItem, Collection, type CollectionItemStatus, type CollectionStatus, type CommitRequest, type CommitResponse, Engine, type IAdapter, type InvalidRepoStatus, type PendingCollectionItemType, type PrRequest, type PrResponse, type RepoConfig, type RepoStatus, type RepositoryResponse, type Subscription, type ValidRepoStatus, appConfigSchema, repoConfigSchema };
package/dist/index.d.ts CHANGED
@@ -31,7 +31,7 @@ interface AdapterProps {
31
31
  scopes: string[];
32
32
  }
33
33
  type Subscription = (collections: Collection[]) => void | Promise<void>;
34
- interface RepositoryResponse$1 {
34
+ interface RepositoryResponse {
35
35
  id: string | number;
36
36
  org: string;
37
37
  name: string;
@@ -60,7 +60,7 @@ interface IAdapter extends AdapterProps {
60
60
  readonly secondaryColor: string;
61
61
  readonly oauthUrl: string;
62
62
  readonly baseUrl: string;
63
- fetchRepositories(): Promise<RepositoryResponse$1[]>;
63
+ fetchRepositories(): Promise<RepositoryResponse[]>;
64
64
  fetchFile(filePath: string): Promise<string>;
65
65
  fetchFileHistory(filePath: string): Promise<CommitResponse[]>;
66
66
  fetchDirectory(directoryPath: string): Promise<string[]>;
@@ -83,12 +83,12 @@ declare class Adapter implements AdapterProps {
83
83
  clientId: string;
84
84
  redirectUri: string;
85
85
  token: string | null;
86
- repo: RepositoryResponse$1 | null;
86
+ repo: RepositoryResponse | null;
87
87
  accessManagementUrl: string;
88
88
  scopes: string[];
89
89
  protected unauthorizedHandler: (() => void | Promise<void>) | null;
90
90
  constructor(props: AdapterProps);
91
- setRepo(repo: RepositoryResponse$1 | null): void;
91
+ setRepo(repo: RepositoryResponse | null): void;
92
92
  setToken(token: string | null): void;
93
93
  setUnauthorizedHandler(handler: () => void | Promise<void>): void;
94
94
  }
@@ -130,7 +130,7 @@ type RepoConfig = z.infer<typeof repoConfigSchema> & {
130
130
  status: RepoStatus;
131
131
  };
132
132
 
133
- interface RepositoryResponse {
133
+ interface RepositoryResponse$1 {
134
134
  id: string | number;
135
135
  org: string;
136
136
  name: string;
@@ -155,7 +155,7 @@ declare class Engine {
155
155
  subscribe(subscription: Subscription): void;
156
156
  unsubscribe(subscription: Subscription): void;
157
157
  private notifySubscribers;
158
- setRepo(repo: RepositoryResponse | null): void;
158
+ setRepo(repo: RepositoryResponse$1 | null): void;
159
159
  getRepoStatus(): RepoStatus;
160
160
  getAppConfig(): {
161
161
  appName?: string;
@@ -190,4 +190,4 @@ declare class Engine {
190
190
  fetchPullRequests(force?: boolean): Promise<PrResponse[]>;
191
191
  }
192
192
 
193
- export { Adapter, type AdapterProps, type AppConfig, type BaseCollectionItem, Collection, type CollectionItemStatus, type CollectionStatus, type CommitRequest, type CommitResponse, Engine, type IAdapter, type InvalidRepoStatus, type PendingCollectionItemType, type PrRequest, type PrResponse, type RepoConfig, type RepoStatus, type RepositoryResponse$1 as RepositoryResponse, type Subscription, type ValidRepoStatus, appConfigSchema, repoConfigSchema };
193
+ export { Adapter, type AdapterProps, type AppConfig, type BaseCollectionItem, Collection, type CollectionItemStatus, type CollectionStatus, type CommitRequest, type CommitResponse, Engine, type IAdapter, type InvalidRepoStatus, type PendingCollectionItemType, type PrRequest, type PrResponse, type RepoConfig, type RepoStatus, type RepositoryResponse, type Subscription, type ValidRepoStatus, appConfigSchema, repoConfigSchema };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@oh-my-ghaad/core",
3
- "version": "0.0.8",
3
+ "version": "0.0.9",
4
4
  "description": "",
5
5
  "main": "dist/index.js",
6
6
  "type": "module",