You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
/** Organization login. If not set, the app will be registered on the user's account */
11
+
org?: string;
12
+
/** The name of the GitHub App. */
13
+
name?: string;
14
+
/** A description of the GitHub App. */
15
+
description?: string;
16
+
/** The homepage of your GitHub App. If `org` is set, `homepageUrl` will default to `https://github.com/{org}`, otherwise to `https://github.com` */
17
+
url: string;
18
+
/** The configuration of the GitHub App's webhook. */
19
+
hook_attributes?: {
20
+
/*
21
+
* __Required.__ The URL of the server that will receive the webhook POST requests.
22
+
*/
23
+
url: string;
24
+
/*
25
+
* Deliver event details when this hook is triggered, defaults to true.
26
+
*/
27
+
active?: boolean;
28
+
};
29
+
/** The full URL to redirect to after a user initiates the registration of a GitHub App from a manifest. */
30
+
redirect_url?: string;
31
+
/** A full URL to redirect to after someone authorizes an installation. You can provide up to 10 callback URLs. */
32
+
callback_urls?: string[];
33
+
/** A full URL to redirect users to after they install your GitHub App if additional setup is required. */
34
+
setup_url?: string;
35
+
/** Set to `true` when your GitHub App is available to the public or `false` when it is only accessible to the owner of the app. */
36
+
public?: boolean;
37
+
/** The list of events the GitHub App subscribes to. */
38
+
default_events?: string[];
39
+
/** The set of permissions needed by the GitHub App. The format of the object uses the permission name for the key (for example, `issues`) and the access type for the value (for example, `write`). */
40
+
default_permissions?: Record<string,string>;
41
+
/** Set to `true` to request the user to authorize the GitHub App, after the GitHub App is installed. */
42
+
request_oauth_on_install?: boolean;
43
+
/** Set to `true` to redirect users to the setup_url after they update your GitHub App installation. */
44
+
setup_on_update?: boolean;
45
+
};
46
+
47
+
exporttypeMetaOptions={
48
+
/** Port number for local server. Defaults to a random available port number */
49
+
port?: number;
50
+
51
+
/** GitHub website URL. Defaults to `https://github.com` */
52
+
githubUrl?: string;
53
+
54
+
/** GitHub API base URL. Defaults to `https://api.github.com` */
55
+
githubApiUrl?: string;
56
+
57
+
/** message to be used for logging. Defaults to `console.log` */
0 commit comments