Type alias State

State: {
    Octokit: typeof ProbotOctokit;
    appId?: number;
    baseUrl?: string;
    cache?: LRUCache<number, string>;
    githubToken?: string;
    host?: string;
    log: Logger;
    octokit: ProbotOctokit;
    port?: number;
    privateKey?: string;
    request?: RequestRequestOptions;
    webhookPath: string;
    webhooks: {
        secret?: string;
    };
}

Type declaration

  • Octokit: typeof ProbotOctokit
  • Optional appId?: number
  • Optional baseUrl?: string
  • Optional cache?: LRUCache<number, string>
  • Optional githubToken?: string
  • Optional host?: string
  • log: Logger
  • octokit: ProbotOctokit
  • Optional port?: number
  • Optional privateKey?: string
  • Optional request?: RequestRequestOptions
  • webhookPath: string
  • webhooks: {
        secret?: string;
    }
    • Optional secret?: string