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.

1.7 KB
Raw Blame
/**
 * Generated by orval v7.21.0 🍺
 * Do not edit manually.
 * notification_service
 * OpenAPI spec version: 0.1.0
 */
import type { GithubPrNotificationCommonSenderGithubAvatarUrl } from './githubPrNotificationCommonSenderGithubAvatarUrl';
import type { GithubPrNotificationCommonSenderGithubLogin } from './githubPrNotificationCommonSenderGithubLogin';
import type { GithubPrNotificationCommonSenderGithubUserId } from './githubPrNotificationCommonSenderGithubUserId';

/**
 * Fields shared by every GitHub pull request notification type.

Embedded with `#[serde(flatten)]` so the wire shape keeps these keys at the
top level of the metadata object.
 */
export interface GithubPrNotificationCommon {
  /** A compact label suitable for display in the UI. */
  displayName: string;
  /** The source-specific internal foreign entity row id for this pull request. */
  foreignEntityId: string;
  /** The external GitHub key, in `owner/repo/pull/number` format. */
  githubKey: string;
  /**
   * The GitHub pull request number.
   * @minimum 0
   */
  number: number;
  /** The GitHub repository owner or organization. */
  owner: string;
  /** The GitHub repository name. */
  repo: string;
  /** The GitHub avatar URL for the sender, when available. */
  senderGithubAvatarUrl?: GithubPrNotificationCommonSenderGithubAvatarUrl;
  /** The GitHub login for the sender, when available. */
  senderGithubLogin?: GithubPrNotificationCommonSenderGithubLogin;
  /** The stable GitHub numeric user id for the sender, serialized as a string. */
  senderGithubUserId?: GithubPrNotificationCommonSenderGithubUserId;
  /** The GitHub pull request title. Falls back to `display_name` when GitHub has no title. */
  title: string;
  /** The public GitHub URL for the pull request. */
  url: string;
}