TypeScript API / @laikacms/github / GithubDataSourceOptions
Type Alias: GithubDataSourceOptions
ts
type GithubDataSourceOptions = object & GithubAppAuthOptions | GithubOctokitAuthOptions;Type Declaration
branch
ts
branch: string;owner
ts
owner: string;repo
ts
repo: string;tokenTtlSeconds?
ts
optional tokenTtlSeconds?: number;Token cache TTL in seconds. Installation tokens last ~1h; default refresh well before.
userAgent?
ts
optional userAgent?: string;User-Agent string sent on all requests.