Code Study: GitHub Desktop / lib / databases / github-user-database.ts

IGitHubUser

The file defines the data structure of ‘GitHub User’ stored in the local database.

export interface IGitHubUser {
  readonly id?: number
  readonly endpoint: string
  readonly email: string
  readonly login: string
  readonly avatarURL: string
  readonly name: string | null
}
tags: GitHub Desktop - Electron