@theholocron/github-client 1.6.7 → 1.7.1

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.
Files changed (2) hide show
  1. package/dist/index.d.mts +3 -2
  2. package/package.json +2 -2
package/dist/index.d.mts CHANGED
@@ -115,8 +115,9 @@ interface GitHubLabel {
115
115
  //#endregion
116
116
  //#region src/pages/pages.d.ts
117
117
  type PagesBuildType = "workflow" | "legacy";
118
+ type PagesBuildStatus = "built" | "building" | "errored" | "unknown";
118
119
  interface GitHubPages {
119
- status: "built" | "building" | "errored" | "unknown" | null;
120
+ status: PagesBuildStatus | null;
120
121
  build_type: PagesBuildType | null;
121
122
  source?: {
122
123
  branch: string;
@@ -311,4 +312,4 @@ declare function createGitHubClient(opts: GitHubClientOptions): {
311
312
  };
312
313
  type GitHubClient = ReturnType<typeof createGitHubClient>;
313
314
  //#endregion
314
- export { type CodeScanningSetupResult, type CreatePagesPayload, type CreatePullInput, type GitBlob, type GitCommit, type GitContents, GitHubClient, type GitHubClientOptions, type GitHubContents, type GitHubEnvironment, type GitHubIssue, type GitHubLabel, type GitHubMilestone, type GitHubPages, type GitHubPublicKey, type GitHubRepo, type GitHubRuleset, type GitHubUser, type GitHubWorkflowRun, type GitPull, type GitRef, type GitTree, type GitTreeItem, type IssueSearchParams, type PagesBuildType, type SecretScope, type TeamPermission, type UpdatePagesPayload, type WorkflowRunFilter, createGitHubClient };
315
+ export { type CodeScanningSetupResult, type CreatePagesPayload, type CreatePullInput, type GitBlob, type GitCommit, type GitContents, GitHubClient, type GitHubClientOptions, type GitHubContents, type GitHubEnvironment, type GitHubIssue, type GitHubLabel, type GitHubMilestone, type GitHubPages, type GitHubPublicKey, type GitHubRepo, type GitHubRuleset, type GitHubUser, type GitHubWorkflowRun, type GitPull, type GitRef, type GitTree, type GitTreeItem, type IssueSearchParams, type PagesBuildStatus, type PagesBuildType, type SecretScope, type TeamPermission, type UpdatePagesPayload, type WorkflowRunFilter, createGitHubClient };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@theholocron/github-client",
3
- "version": "1.6.7",
3
+ "version": "1.7.1",
4
4
  "description": "A TypeScript client for the GitHub REST API",
5
5
  "homepage": "https://github.com/theholocron/clients/tree/main/packages/github-client#readme",
6
6
  "bugs": "https://github.com/theholocron/clients/issues",
@@ -30,7 +30,7 @@
30
30
  }
31
31
  },
32
32
  "dependencies": {
33
- "@theholocron/http-client": "^1.6.7"
33
+ "@theholocron/http-client": "^1.7.1"
34
34
  },
35
35
  "devDependencies": {
36
36
  "@types/node": "^26.2.0",