<commit_before>import Dexie from 'dexie'
import { BaseDatabase } from './base-database'

export interface IDatabaseOwner {
  readonly id?: number | null
  readonly login: string
  readonly endpoint: string
}

export interface IDatabaseGitHubRepository {
  readonly id?: number | null
  readonly ownerID: number
  readonly name: string
  readonly private: boolean | null
  readonly htmlURL: string | null
  readonly defaultBranch: string | null
  readonly cloneURL: string | null

  /** The database ID of the parent repository if the repository is a fork. */
  readonly parentID: number | null

  /** The last time a prune was attempted on the repository */
  readonly lastPruneDate: number | null

  readonly permissions: 'read' | 'write' | 'admin' | null
}<commit_msg>permissions can be undefined in the db<commit_after>import Dexie from 'dexie'
import { BaseDatabase } from './base-database'

export interface IDatabaseOwner {
  readonly id?: number | null
  readonly login: string
  readonly endpoint: string
}

export interface IDatabaseGitHubRepository {
  readonly id?: number | null
  readonly ownerID: number
  readonly name: string
  readonly private: boolean | null
  readonly htmlURL: string | null
  readonly defaultBranch: string | null
  readonly cloneURL: string | null

  /** The database ID of the parent repository if the repository is a fork. */
  readonly parentID: number | null

  /** The last time a prune was attempted on the repository */
  readonly lastPruneDate: number | null

  readonly permissions?: 'read' | 'write' | 'admin' | null
}
{'fraction_non_alphanumeric': 0.07598978288633461, 'fraction_numerical': 0.0, 'mean_word_length': 4.1042345276872965, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '125521', 'n_tokens_mistral': 416, 'n_tokens_neox': 406, 'n_words': 180}