CHANGES

tcmts.vscode.changes.CHANGES · #jrfm7ool · term · runs anywhere

Each kind of name change: what it says, and its icon and colour (git's, for added, edited, removed).

import type { NameChange } from "#codebase/tcmts/cli/changes";

export const CHANGES: Record<NameChange["change"], [string, string, string | undefined]> = {
  edited: ["edited", "diff-modified", "gitDecoration.modifiedResourceForeground"],
  propagated: ["re-hashed", "sync", "descriptionForeground"],
  added: ["added", "diff-added", "gitDecoration.addedResourceForeground"],
  removed: ["removed", "diff-removed", "gitDecoration.deletedResourceForeground"],
  renamed: ["renamed", "diff-renamed", "gitDecoration.renamedResourceForeground"],
  aliased: ["another name", "link", undefined],
  conflicted: ["conflict", "warning", "gitDecoration.conflictingResourceForeground"],
}

uses

used by