{
  "definitions": [
    {
      "callable": true,
      "callees": [
        {
          "file": "configuration/strings/deployment.strings.ts",
          "name": "transferLine",
          "source": {
            "href": "https://banes-lab.com/anatomy/deploy#file-deploy-configuration-strings-deployment-strings-ts",
            "json": "https://banes-lab.com/json/source/deploy/configuration/strings/deployment.strings.ts",
            "label": "configuration/strings/deployment.strings.ts",
            "markdown": "https://banes-lab.com/source/deploy/configuration/strings/deployment.strings.ts.md",
            "ref": "anatomy:file-deploy-configuration-strings-deployment-strings-ts"
          }
        },
        {
          "file": "core/converters/text.converter.ts",
          "name": "formatBytes",
          "source": {
            "href": "https://banes-lab.com/anatomy/deploy#file-deploy-core-converters-text-converter-ts",
            "json": "https://banes-lab.com/json/source/deploy/core/converters/text.converter.ts",
            "label": "core/converters/text.converter.ts",
            "markdown": "https://banes-lab.com/source/deploy/core/converters/text.converter.ts.md",
            "ref": "anatomy:file-deploy-core-converters-text-converter-ts"
          }
        },
        {
          "file": "core/converters/text.converter.ts",
          "name": "formatBytes",
          "source": {
            "href": "https://banes-lab.com/anatomy/deploy#file-deploy-core-converters-text-converter-ts",
            "json": "https://banes-lab.com/json/source/deploy/core/converters/text.converter.ts",
            "label": "core/converters/text.converter.ts",
            "markdown": "https://banes-lab.com/source/deploy/core/converters/text.converter.ts.md",
            "ref": "anatomy:file-deploy-core-converters-text-converter-ts"
          }
        },
        {
          "file": "core/converters/text.converter.ts",
          "name": "formatBytes",
          "source": {
            "href": "https://banes-lab.com/anatomy/deploy#file-deploy-core-converters-text-converter-ts",
            "json": "https://banes-lab.com/json/source/deploy/core/converters/text.converter.ts",
            "label": "core/converters/text.converter.ts",
            "markdown": "https://banes-lab.com/source/deploy/core/converters/text.converter.ts.md",
            "ref": "anatomy:file-deploy-core-converters-text-converter-ts"
          }
        },
        {
          "file": "core/converters/text.converter.ts",
          "name": "formatClock",
          "source": {
            "href": "https://banes-lab.com/anatomy/deploy#file-deploy-core-converters-text-converter-ts",
            "json": "https://banes-lab.com/json/source/deploy/core/converters/text.converter.ts",
            "label": "core/converters/text.converter.ts",
            "markdown": "https://banes-lab.com/source/deploy/core/converters/text.converter.ts.md",
            "ref": "anatomy:file-deploy-core-converters-text-converter-ts"
          }
        },
        {
          "file": "core/formatters/journal.formatter.ts",
          "name": "barOf",
          "source": {
            "href": "https://banes-lab.com/anatomy/deploy#file-deploy-core-formatters-journal-formatter-ts",
            "json": "https://banes-lab.com/json/source/deploy/core/formatters/journal.formatter.ts",
            "label": "core/formatters/journal.formatter.ts",
            "markdown": "https://banes-lab.com/source/deploy/core/formatters/journal.formatter.ts.md",
            "ref": "anatomy:file-deploy-core-formatters-journal-formatter-ts"
          }
        }
      ],
      "callers": [
        {
          "file": "core/reporters/journal.reporter.ts",
          "name": "draw",
          "source": {
            "href": "https://banes-lab.com/anatomy/deploy#file-deploy-core-reporters-journal-reporter-ts",
            "json": "https://banes-lab.com/json/source/deploy/core/reporters/journal.reporter.ts",
            "label": "core/reporters/journal.reporter.ts",
            "markdown": "https://banes-lab.com/source/deploy/core/reporters/journal.reporter.ts.md",
            "ref": "anatomy:file-deploy-core-reporters-journal-reporter-ts"
          }
        },
        {
          "file": "core/reporters/journal.reporter.ts",
          "name": "report",
          "source": {
            "href": "https://banes-lab.com/anatomy/deploy#file-deploy-core-reporters-journal-reporter-ts",
            "json": "https://banes-lab.com/json/source/deploy/core/reporters/journal.reporter.ts",
            "label": "core/reporters/journal.reporter.ts",
            "markdown": "https://banes-lab.com/source/deploy/core/reporters/journal.reporter.ts.md",
            "ref": "anatomy:file-deploy-core-reporters-journal-reporter-ts"
          }
        },
        {
          "file": "core/reporters/journal.reporter.ts",
          "name": "report",
          "source": {
            "href": "https://banes-lab.com/anatomy/deploy#file-deploy-core-reporters-journal-reporter-ts",
            "json": "https://banes-lab.com/json/source/deploy/core/reporters/journal.reporter.ts",
            "label": "core/reporters/journal.reporter.ts",
            "markdown": "https://banes-lab.com/source/deploy/core/reporters/journal.reporter.ts.md",
            "ref": "anatomy:file-deploy-core-reporters-journal-reporter-ts"
          }
        }
      ],
      "exported": true,
      "flow": "relay",
      "kind": "lexical_declaration",
      "line": 22,
      "name": "transferLineOf",
      "signature": "export const transferLineOf = function transferLineOf(state: TransferState, now: number): string {"
    },
    {
      "callable": true,
      "callees": [],
      "callers": [
        {
          "file": "core/formatters/journal.formatter.ts",
          "name": "transferLineOf",
          "source": {
            "href": "https://banes-lab.com/anatomy/deploy#file-deploy-core-formatters-journal-formatter-ts",
            "json": "https://banes-lab.com/json/source/deploy/core/formatters/journal.formatter.ts",
            "label": "core/formatters/journal.formatter.ts",
            "markdown": "https://banes-lab.com/source/deploy/core/formatters/journal.formatter.ts.md",
            "ref": "anatomy:file-deploy-core-formatters-journal-formatter-ts"
          }
        }
      ],
      "exported": false,
      "flow": "leaf",
      "kind": "lexical_declaration",
      "line": 17,
      "name": "barOf",
      "signature": "const barOf = function barOf(percent: number): string {"
    },
    {
      "callable": true,
      "callees": [],
      "callers": [],
      "exported": true,
      "flow": "isolated",
      "kind": "lexical_declaration",
      "line": 12,
      "name": "percentOf",
      "signature": "export const percentOf = function percentOf(state: TransferState): number {"
    },
    {
      "callable": false,
      "callees": [],
      "callers": [],
      "exported": true,
      "flow": "isolated",
      "kind": "lexical_declaration",
      "line": 13,
      "name": "ratio",
      "signature": "const ratio = state.size > 0 ? state.transferred / state.size : state.done / Math.max(state.total, 1);"
    },
    {
      "callable": false,
      "callees": [],
      "callers": [],
      "exported": false,
      "flow": "isolated",
      "kind": "lexical_declaration",
      "line": 18,
      "name": "filled",
      "signature": "const filled = Math.round((percent / PERCENT) * PROGRESS_BAR_WIDTH);"
    },
    {
      "callable": false,
      "callees": [],
      "callers": [],
      "exported": true,
      "flow": "isolated",
      "kind": "lexical_declaration",
      "line": 23,
      "name": "percent",
      "signature": "const percent = percentOf(state);"
    },
    {
      "callable": false,
      "callees": [],
      "callers": [],
      "exported": true,
      "flow": "isolated",
      "kind": "lexical_declaration",
      "line": 24,
      "name": "seconds",
      "signature": "const seconds = Math.max((now - state.startedAt) / MS_PER_SECOND, 0);"
    },
    {
      "callable": false,
      "callees": [],
      "callers": [],
      "exported": true,
      "flow": "isolated",
      "kind": "lexical_declaration",
      "line": 25,
      "name": "rate",
      "signature": "const rate = seconds > 0 ? state.transferred / seconds : 0;"
    },
    {
      "callable": false,
      "callees": [],
      "callers": [],
      "exported": true,
      "flow": "isolated",
      "kind": "lexical_declaration",
      "line": 26,
      "name": "remaining",
      "signature": "const remaining = Math.max(state.size - state.transferred, 0);"
    }
  ],
  "document": null,
  "findings": [],
  "generated": false,
  "href": "https://banes-lab.com/anatomy/deploy#file-deploy-core-formatters-journal-formatter-ts",
  "language": "typescript",
  "layer": "processing",
  "name": "journal.formatter.ts",
  "path": "core/formatters/journal.formatter.ts",
  "ref": "anatomy:file-deploy-core-formatters-journal-formatter-ts",
  "relations": [
    {
      "links": [
        {
          "href": "https://banes-lab.com/anatomy/deploy#folder-deploy-core-formatters",
          "json": "https://banes-lab.com/json/anatomy/deploy/folder-deploy-core-formatters",
          "label": "core/formatters",
          "markdown": "https://banes-lab.com/anatomy/deploy/folder-deploy-core-formatters.md",
          "ref": "chapter:/anatomy/deploy#folder-deploy-core-formatters"
        }
      ],
      "relation": "contained-in"
    },
    {
      "links": [
        {
          "href": "https://banes-lab.com/anatomy/deploy#file-deploy-configuration-strings-deployment-strings-ts",
          "json": "https://banes-lab.com/json/source/deploy/configuration/strings/deployment.strings.ts",
          "label": "configuration/strings/deployment.strings.ts",
          "markdown": "https://banes-lab.com/source/deploy/configuration/strings/deployment.strings.ts.md",
          "ref": "anatomy:file-deploy-configuration-strings-deployment-strings-ts"
        },
        {
          "href": "https://banes-lab.com/anatomy/deploy#file-deploy-core-converters-text-converter-ts",
          "json": "https://banes-lab.com/json/source/deploy/core/converters/text.converter.ts",
          "label": "core/converters/text.converter.ts",
          "markdown": "https://banes-lab.com/source/deploy/core/converters/text.converter.ts.md",
          "ref": "anatomy:file-deploy-core-converters-text-converter-ts"
        }
      ],
      "relation": "uses"
    },
    {
      "links": [
        {
          "href": "https://banes-lab.com/anatomy/deploy#file-deploy-core-reporters-journal-reporter-ts",
          "json": "https://banes-lab.com/json/source/deploy/core/reporters/journal.reporter.ts",
          "label": "core/reporters/journal.reporter.ts",
          "markdown": "https://banes-lab.com/source/deploy/core/reporters/journal.reporter.ts.md",
          "ref": "anatomy:file-deploy-core-reporters-journal-reporter-ts"
        }
      ],
      "relation": "used-by"
    },
    {
      "links": [
        {
          "href": "https://banes-lab.com/anatomy/deploy#folder-deploy-configuration-strings",
          "json": "https://banes-lab.com/json/anatomy/deploy/folder-deploy-configuration-strings",
          "label": "configuration/strings",
          "markdown": "https://banes-lab.com/anatomy/deploy/folder-deploy-configuration-strings.md",
          "ref": "chapter:/anatomy/deploy#folder-deploy-configuration-strings"
        },
        {
          "href": "https://banes-lab.com/anatomy/deploy#folder-deploy-core-converters",
          "json": "https://banes-lab.com/json/anatomy/deploy/folder-deploy-core-converters",
          "label": "core/converters",
          "markdown": "https://banes-lab.com/anatomy/deploy/folder-deploy-core-converters.md",
          "ref": "chapter:/anatomy/deploy#folder-deploy-core-converters"
        },
        {
          "href": "https://banes-lab.com/anatomy/deploy#folder-deploy-core-formatters",
          "json": "https://banes-lab.com/json/anatomy/deploy/folder-deploy-core-formatters",
          "label": "core/formatters",
          "markdown": "https://banes-lab.com/anatomy/deploy/folder-deploy-core-formatters.md",
          "ref": "chapter:/anatomy/deploy#folder-deploy-core-formatters"
        },
        {
          "href": "https://banes-lab.com/anatomy/deploy#folder-deploy-core-reporters",
          "json": "https://banes-lab.com/json/anatomy/deploy/folder-deploy-core-reporters",
          "label": "core/reporters",
          "markdown": "https://banes-lab.com/anatomy/deploy/folder-deploy-core-reporters.md",
          "ref": "chapter:/anatomy/deploy#folder-deploy-core-reporters"
        }
      ],
      "relation": "linked-from"
    }
  ],
  "slots": {
    "concern": "formatter",
    "subject": "journal",
    "variant": null
  },
  "stats": {
    "bytes": 1656,
    "callable": 3,
    "definitions": 9,
    "edges": 6,
    "exported": 7,
    "files": 1,
    "findings": {},
    "flows": {
      "relay": 1,
      "leaf": 1,
      "isolated": 7
    },
    "lines": {
      "blank": 3,
      "code": 37,
      "total": 40
    }
  },
  "summary": "37 lines of code and 9 definitions.",
  "text": "https://banes-lab.com/source/deploy/core/formatters/journal.formatter.ts.txt",
  "tree": "deploy",
  "siblings": {
    "next": null,
    "previous": null
  },
  "up": {
    "href": null,
    "json": "https://banes-lab.com/json/api/source/deploy/core/formatters",
    "label": "core/formatters",
    "markdown": "https://banes-lab.com/api/source/deploy/core/formatters.md",
    "ref": "api:source/deploy/core/formatters"
  }
}
