Type Aliases§
Source§type Logus Context = { octokit: LogusOctokit } & {
payload: Pick<Context<"organization">["payload"], "organization">;
}
type Logus Context = { octokit: LogusOctokit } & {
payload: Pick<Context<"organization">["payload"], "organization">;
}
Source§type Logus Octokit = Pick<Context["octokit"], "graphql" | "rest" | "config" | "pulls" | "repos">
type Logus Octokit = Pick<Context["octokit"], "graphql" | "rest" | "config" | "pulls" | "repos">
Represents selected properties of the octokit object from the Probot context.
Source§type Logus Org Config Context = { octokit: LogusOctokit } & { payload: { organization: { login: string } } }
type Logus Org Config Context = { octokit: LogusOctokit } & { payload: { organization: { login: string } } }
Represents the context for Logus organization configuration.
This context includes the octokit instance and the organization payload.
Source§type PRLogus Context = { octokit: LogusOctokit } & {
payload: Pick<
Context<"pull_request">["payload"],
"sender" | "repository",
> & {
pull_request: Pick<
Context<"pull_request">["payload"]["pull_request"],
"node_id",
>;
} & {
organization: NonNullable<
Context<"pull_request">["payload"]["organization"],
>;
};
}
type PRLogus Context = { octokit: LogusOctokit } & {
payload: Pick<
Context<"pull_request">["payload"],
"sender" | "repository",
> & {
pull_request: Pick<
Context<"pull_request">["payload"]["pull_request"],
"node_id",
>;
} & {
organization: NonNullable<
Context<"pull_request">["payload"]["organization"],
>;
};
}
Represents the context for pull request events in Logus.
This context includes the octokit instance, sender, repository, pull request, and organization payloads.
Interfaces§
- LogusLog
Interface representing logging in Logus.
Represents the general context for Logus. This context includes the
octokitinstance and the organization payload.