Properties
Optional agent
agent: http.Agent
Optional auth
auth: string | { on2fa: () => Promise<string>; password: string; username: string } | { clientId: string; clientSecret: string } | (() => string | Promise<string>) | any
Optional authStrategy
authStrategy: any
Optional baseUrl
baseUrl: undefined | string
Optional headers
headers: undefined | {}
Optional log
log: undefined | { debug?: undefined | ((message: string, info?: undefined | object) => void); error?: undefined | ((message: string, info?: undefined | object) => void); info?: undefined | ((message: string, info?: undefined | object) => void); warn?: undefined | ((message: string, info?: undefined | object) => void) }
Optional previews
previews: string[]
Optional request
request: undefined | { agent?: http.Agent; timeout?: undefined | number }
Optional timeout
timeout: undefined | number
Optional userAgent
userAgent: undefined | string
Use {request: {agent}} instead. See https://github.com/octokit/request.js#request