Skip to content

armgit / macro

Public Imported from GitHub
0

Macro is a unified workspace for teams: email, chat, docs, tasks, agents, calls, and CRM — @-linked together with shared AI memory.

3.2 KB
Raw Blame
/**
 * Generated by orval v7.21.0 🍺
 * Do not edit manually.
 * authentication_service
 * OpenAPI spec version: 0.1.0
 */
import type { GithubPullRequestCommentAuthorAssociation } from './githubPullRequestCommentAuthorAssociation';
import type { GithubPullRequestCommentAuthorId } from './githubPullRequestCommentAuthorId';
import type { GithubPullRequestCommentAuthorLogin } from './githubPullRequestCommentAuthorLogin';
import type { GithubPullRequestCommentCreatedAt } from './githubPullRequestCommentCreatedAt';
import type { GithubPullRequestCommentInReplyToId } from './githubPullRequestCommentInReplyToId';
import type { GithubPullRequestCommentLine } from './githubPullRequestCommentLine';
import type { GithubPullRequestCommentOriginalLine } from './githubPullRequestCommentOriginalLine';
import type { GithubPullRequestCommentPath } from './githubPullRequestCommentPath';
import type { GithubPullRequestCommentPullRequestReviewId } from './githubPullRequestCommentPullRequestReviewId';
import type { GithubPullRequestCommentUpdatedAt } from './githubPullRequestCommentUpdatedAt';
import type { GithubPullRequestCommentUrl } from './githubPullRequestCommentUrl';

/**
 * A comment associated with a GitHub pull request.
 */
export interface GithubPullRequestComment {
  /** GitHub's relationship label for the author, when available. */
  authorAssociation?: GithubPullRequestCommentAuthorAssociation;
  /**
   * The stable numeric GitHub user id for the comment author, when available.
   * @minimum 0
   */
  authorId?: GithubPullRequestCommentAuthorId;
  /** The GitHub login for the comment author, when available. */
  authorLogin?: GithubPullRequestCommentAuthorLogin;
  /** The comment or review body text. */
  body: string;
  /** When the comment was created or the review was submitted. */
  createdAt?: GithubPullRequestCommentCreatedAt;
  /**
   * The unique GitHub identifier for the comment or review.
   * @minimum 0
   */
  id: number;
  /**
   * The id of the comment this one replies to, when it is part of a review
thread. Only ever present on `review_comment` sources.
   * @minimum 0
   */
  inReplyToId?: GithubPullRequestCommentInReplyToId;
  /**
   * The line in the current diff the comment is anchored to. Cleared by
GitHub when later commits outdate the comment's diff.
   * @minimum 0
   */
  line?: GithubPullRequestCommentLine;
  /**
   * The line the comment was originally anchored to, kept even when the
diff has since changed.
   * @minimum 0
   */
  originalLine?: GithubPullRequestCommentOriginalLine;
  /** The repository-relative file path the review comment is anchored to.
Only ever present on `review_comment` sources. */
  path?: GithubPullRequestCommentPath;
  /**
   * The id of the pull request review this comment was submitted with.
Only ever present on `review_comment` sources.
   * @minimum 0
   */
  pullRequestReviewId?: GithubPullRequestCommentPullRequestReviewId;
  /** The GitHub source for the comment, such as `issue_comment` or `review_comment`. */
  source: string;
  /** When the comment or review was last updated. */
  updatedAt?: GithubPullRequestCommentUpdatedAt;
  /** The public GitHub URL for the comment or review, when available. */
  url?: GithubPullRequestCommentUrl;
}