@hawk.so/types 0.6.0-rc.1 → 0.6.0-rc.2
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.
|
@@ -69,9 +69,14 @@ export interface GitHubInstallation {
|
|
|
69
69
|
*/
|
|
70
70
|
updatedAt: Date;
|
|
71
71
|
/**
|
|
72
|
-
* Delegate user
|
|
72
|
+
* Delegate user whose GitHub OAuth token is used by the Worker
|
|
73
|
+
* for user-to-server actions (e.g. Copilot assignment).
|
|
74
|
+
*
|
|
75
|
+
* null right after installation is saved — at that point we only have
|
|
76
|
+
* the installation_id from GitHub but haven't exchanged the OAuth code yet.
|
|
77
|
+
* Gets populated in the same /oauth callback once the code exchange succeeds.
|
|
73
78
|
*/
|
|
74
|
-
delegatedUser: GitHubInstallationDelegatedUser;
|
|
79
|
+
delegatedUser: GitHubInstallationDelegatedUser | null;
|
|
75
80
|
}
|
|
76
81
|
/**
|
|
77
82
|
* GitHub integration data stored at workspace level
|
package/package.json
CHANGED
|
@@ -81,9 +81,14 @@ export interface GitHubInstallation {
|
|
|
81
81
|
updatedAt: Date;
|
|
82
82
|
|
|
83
83
|
/**
|
|
84
|
-
* Delegate user
|
|
84
|
+
* Delegate user whose GitHub OAuth token is used by the Worker
|
|
85
|
+
* for user-to-server actions (e.g. Copilot assignment).
|
|
86
|
+
*
|
|
87
|
+
* null right after installation is saved — at that point we only have
|
|
88
|
+
* the installation_id from GitHub but haven't exchanged the OAuth code yet.
|
|
89
|
+
* Gets populated in the same /oauth callback once the code exchange succeeds.
|
|
85
90
|
*/
|
|
86
|
-
delegatedUser: GitHubInstallationDelegatedUser;
|
|
91
|
+
delegatedUser: GitHubInstallationDelegatedUser | null;
|
|
87
92
|
}
|
|
88
93
|
|
|
89
94
|
/**
|