export type MentionValue = { key: string, value: string, name: string, fullname: string, avatar: string, } export type Config = { appUrl: string, appSubUrl: string, assetVersionEncoded: string, assetUrlPrefix: string, runModeIsProd: boolean, customEmojis: Record, csrfToken: string, pageData: Record, notificationSettings: Record, enableTimeTracking: boolean, mentionValues?: MentionValue[], mermaidMaxSourceCharacters: number, i18n: Record, } export type Intent = 'error' | 'warning' | 'info'; export type RequestData = string | FormData | URLSearchParams | Record; export type RequestOpts = { data?: RequestData, } & RequestInit; export type IssuePathInfo = { ownerName: string, repoName: string, pathType: string, indexString?: string, } export type IssuePageInfo = { repoLink: string, repoId: number, issueNumber: number, issueDependencySearchType: string, } export type Issue = { id: number; number: number; title: string; state: 'open' | 'closed'; pull_request?: { draft: boolean; merged: boolean; }; }; export type FomanticInitFunction = { settings?: Record, (...args: any[]): any, } export type GitRefType = 'branch' | 'tag';