<commit_before>import Client from './Client'
import { JsonObject } from 'type-fest'

export type NoteIdSet = Set<string>

export interface NoteStorageData {
  id: string
  name: string
}

export type NoteStorage = NoteStorageData &
  NoteStorageDocMap & {
    client: Client
  }

export type NoteDataEditibleProps = {
  title: string
  content: string
  data: JsonObject
}

export type NoteData = {
  _id: string
  folderPathname: string
  tags: string[]
  createdAt: string
  updatedAt: string
  movedToTrash: boolean
  _rev: string
} & NoteDataEditibleProps

export type FolderData = {
  _id: string // folder:${FOLDER_PATHNAME}<commit_msg>Update NoteData type<commit_after>import Client from './Client'
import { JsonObject } from 'type-fest'

export type NoteIdSet = Set<string>

export interface NoteStorageData {
  id: string
  name: string
}

export type NoteStorage = NoteStorageData &
  NoteStorageDocMap & {
    client: Client
  }

export type NoteDataEditibleProps = {
  title: string
  content: string
  folderPathname: string
  tags: string[]
  data: JsonObject
}

export type NoteData = {
  _id: string
  createdAt: string
  updatedAt: string
  trashed: boolean
  _rev: string
} & NoteDataEditibleProps

export type FolderData = {
  _id: string // folder:${FOLDER_PATHNAME}
{'fraction_non_alphanumeric': 0.08242612752721618, 'fraction_numerical': 0.0, 'mean_word_length': 4.168674698795181, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 5, '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': '5131825', 'n_tokens_mistral': 406, 'n_tokens_neox': 403, 'n_words': 119}