{
  "definitions": [
    {
      "callable": true,
      "callees": [],
      "callers": [
        {
          "file": "core/persistence/report.persistence.ts",
          "name": "persistGeneratedMarkdown",
          "source": {
            "href": "https://banes-lab.com/anatomy/content#file-content-core-persistence-report-persistence-ts",
            "json": "https://banes-lab.com/json/source/content/core/persistence/report.persistence.ts",
            "label": "core/persistence/report.persistence.ts",
            "markdown": "https://banes-lab.com/source/content/core/persistence/report.persistence.ts.md",
            "ref": "anatomy:file-content-core-persistence-report-persistence-ts"
          }
        },
        {
          "file": "core/persistence/report.persistence.ts",
          "name": "persistJson",
          "source": {
            "href": "https://banes-lab.com/anatomy/content#file-content-core-persistence-report-persistence-ts",
            "json": "https://banes-lab.com/json/source/content/core/persistence/report.persistence.ts",
            "label": "core/persistence/report.persistence.ts",
            "markdown": "https://banes-lab.com/source/content/core/persistence/report.persistence.ts.md",
            "ref": "anatomy:file-content-core-persistence-report-persistence-ts"
          }
        },
        {
          "file": "core/persistence/report.persistence.ts",
          "name": "persistText",
          "source": {
            "href": "https://banes-lab.com/anatomy/content#file-content-core-persistence-report-persistence-ts",
            "json": "https://banes-lab.com/json/source/content/core/persistence/report.persistence.ts",
            "label": "core/persistence/report.persistence.ts",
            "markdown": "https://banes-lab.com/source/content/core/persistence/report.persistence.ts.md",
            "ref": "anatomy:file-content-core-persistence-report-persistence-ts"
          }
        }
      ],
      "exported": false,
      "flow": "leaf",
      "kind": "lexical_declaration",
      "line": 6,
      "name": "ensureFolder",
      "signature": "const ensureFolder = function ensureFolder(target: string): void {"
    },
    {
      "callable": true,
      "callees": [
        {
          "file": "core/persistence/report.persistence.ts",
          "name": "ensureFolder",
          "source": {
            "href": "https://banes-lab.com/anatomy/content#file-content-core-persistence-report-persistence-ts",
            "json": "https://banes-lab.com/json/source/content/core/persistence/report.persistence.ts",
            "label": "core/persistence/report.persistence.ts",
            "markdown": "https://banes-lab.com/source/content/core/persistence/report.persistence.ts.md",
            "ref": "anatomy:file-content-core-persistence-report-persistence-ts"
          }
        }
      ],
      "callers": [
        {
          "file": "runtime/entrypoints/leak.entrypoint.ts",
          "name": "derive",
          "source": {
            "href": "https://banes-lab.com/anatomy/content#file-content-runtime-entrypoints-leak-entrypoint-ts",
            "json": "https://banes-lab.com/json/source/content/runtime/entrypoints/leak.entrypoint.ts",
            "label": "runtime/entrypoints/leak.entrypoint.ts",
            "markdown": "https://banes-lab.com/source/content/runtime/entrypoints/leak.entrypoint.ts.md",
            "ref": "anatomy:file-content-runtime-entrypoints-leak-entrypoint-ts"
          }
        },
        {
          "file": "runtime/entrypoints/link.entrypoint.ts",
          "name": "derive",
          "source": {
            "href": "https://banes-lab.com/anatomy/content#file-content-runtime-entrypoints-link-entrypoint-ts",
            "json": "https://banes-lab.com/json/source/content/runtime/entrypoints/link.entrypoint.ts",
            "label": "runtime/entrypoints/link.entrypoint.ts",
            "markdown": "https://banes-lab.com/source/content/runtime/entrypoints/link.entrypoint.ts.md",
            "ref": "anatomy:file-content-runtime-entrypoints-link-entrypoint-ts"
          }
        }
      ],
      "exported": true,
      "flow": "relay",
      "kind": "lexical_declaration",
      "line": 10,
      "name": "persistJson",
      "signature": "export const persistJson = async function persistJson(target: string, data: unknown): Promise<void> {"
    },
    {
      "callable": true,
      "callees": [
        {
          "file": "core/persistence/report.persistence.ts",
          "name": "ensureFolder",
          "source": {
            "href": "https://banes-lab.com/anatomy/content#file-content-core-persistence-report-persistence-ts",
            "json": "https://banes-lab.com/json/source/content/core/persistence/report.persistence.ts",
            "label": "core/persistence/report.persistence.ts",
            "markdown": "https://banes-lab.com/source/content/core/persistence/report.persistence.ts.md",
            "ref": "anatomy:file-content-core-persistence-report-persistence-ts"
          }
        }
      ],
      "callers": [
        {
          "file": "core/persistence/chapter.persistence.ts",
          "name": "persistChapters",
          "source": {
            "href": "https://banes-lab.com/anatomy/content#file-content-core-persistence-chapter-persistence-ts",
            "json": "https://banes-lab.com/json/source/content/core/persistence/chapter.persistence.ts",
            "label": "core/persistence/chapter.persistence.ts",
            "markdown": "https://banes-lab.com/source/content/core/persistence/chapter.persistence.ts.md",
            "ref": "anatomy:file-content-core-persistence-chapter-persistence-ts"
          }
        }
      ],
      "exported": true,
      "flow": "relay",
      "kind": "lexical_declaration",
      "line": 15,
      "name": "persistText",
      "signature": "export const persistText = async function persistText(target: string, text: string): Promise<void> {"
    },
    {
      "callable": true,
      "callees": [
        {
          "file": "core/persistence/report.persistence.ts",
          "name": "ensureFolder",
          "source": {
            "href": "https://banes-lab.com/anatomy/content#file-content-core-persistence-report-persistence-ts",
            "json": "https://banes-lab.com/json/source/content/core/persistence/report.persistence.ts",
            "label": "core/persistence/report.persistence.ts",
            "markdown": "https://banes-lab.com/source/content/core/persistence/report.persistence.ts.md",
            "ref": "anatomy:file-content-core-persistence-report-persistence-ts"
          }
        }
      ],
      "callers": [],
      "exported": true,
      "flow": "entry",
      "kind": "lexical_declaration",
      "line": 20,
      "name": "persistGeneratedMarkdown",
      "signature": "export const persistGeneratedMarkdown = async function persistGeneratedMarkdown("
    },
    {
      "callable": true,
      "callees": [],
      "callers": [],
      "exported": true,
      "flow": "isolated",
      "kind": "lexical_declaration",
      "line": 28,
      "name": "readJsonOrNull",
      "signature": "export const readJsonOrNull = function readJsonOrNull(target: string): unknown {"
    }
  ],
  "document": null,
  "findings": [],
  "generated": false,
  "href": "https://banes-lab.com/anatomy/content#file-content-core-persistence-report-persistence-ts",
  "language": "typescript",
  "layer": "infrastructure",
  "name": "report.persistence.ts",
  "path": "core/persistence/report.persistence.ts",
  "ref": "anatomy:file-content-core-persistence-report-persistence-ts",
  "relations": [
    {
      "links": [
        {
          "href": "https://banes-lab.com/anatomy/content#folder-content-core-persistence",
          "json": "https://banes-lab.com/json/anatomy/content/folder-content-core-persistence",
          "label": "core/persistence",
          "markdown": "https://banes-lab.com/anatomy/content/folder-content-core-persistence.md",
          "ref": "chapter:/anatomy/content#folder-content-core-persistence"
        }
      ],
      "relation": "contained-in"
    },
    {
      "links": [
        {
          "href": "https://banes-lab.com/anatomy/content#file-content-core-persistence-chapter-persistence-ts",
          "json": "https://banes-lab.com/json/source/content/core/persistence/chapter.persistence.ts",
          "label": "core/persistence/chapter.persistence.ts",
          "markdown": "https://banes-lab.com/source/content/core/persistence/chapter.persistence.ts.md",
          "ref": "anatomy:file-content-core-persistence-chapter-persistence-ts"
        },
        {
          "href": "https://banes-lab.com/anatomy/content#file-content-runtime-entrypoints-leak-entrypoint-ts",
          "json": "https://banes-lab.com/json/source/content/runtime/entrypoints/leak.entrypoint.ts",
          "label": "runtime/entrypoints/leak.entrypoint.ts",
          "markdown": "https://banes-lab.com/source/content/runtime/entrypoints/leak.entrypoint.ts.md",
          "ref": "anatomy:file-content-runtime-entrypoints-leak-entrypoint-ts"
        },
        {
          "href": "https://banes-lab.com/anatomy/content#file-content-runtime-entrypoints-link-entrypoint-ts",
          "json": "https://banes-lab.com/json/source/content/runtime/entrypoints/link.entrypoint.ts",
          "label": "runtime/entrypoints/link.entrypoint.ts",
          "markdown": "https://banes-lab.com/source/content/runtime/entrypoints/link.entrypoint.ts.md",
          "ref": "anatomy:file-content-runtime-entrypoints-link-entrypoint-ts"
        }
      ],
      "relation": "used-by"
    },
    {
      "links": [
        {
          "href": "https://banes-lab.com/anatomy/content#folder-content-core-persistence",
          "json": "https://banes-lab.com/json/anatomy/content/folder-content-core-persistence",
          "label": "core/persistence",
          "markdown": "https://banes-lab.com/anatomy/content/folder-content-core-persistence.md",
          "ref": "chapter:/anatomy/content#folder-content-core-persistence"
        },
        {
          "href": "https://banes-lab.com/anatomy/content#folder-content-runtime-entrypoints",
          "json": "https://banes-lab.com/json/anatomy/content/folder-content-runtime-entrypoints",
          "label": "runtime/entrypoints",
          "markdown": "https://banes-lab.com/anatomy/content/folder-content-runtime-entrypoints.md",
          "ref": "chapter:/anatomy/content#folder-content-runtime-entrypoints"
        }
      ],
      "relation": "linked-from"
    }
  ],
  "slots": {
    "concern": "persistence",
    "subject": "report",
    "variant": null
  },
  "stats": {
    "bytes": 1157,
    "callable": 5,
    "definitions": 5,
    "edges": 3,
    "exported": 4,
    "files": 1,
    "findings": {},
    "flows": {
      "leaf": 1,
      "relay": 2,
      "entry": 1,
      "isolated": 1
    },
    "lines": {
      "blank": 5,
      "code": 28,
      "total": 33
    }
  },
  "summary": "28 lines of code and 5 definitions.",
  "text": "https://banes-lab.com/source/content/core/persistence/report.persistence.ts.txt",
  "tree": "content",
  "siblings": {
    "next": null,
    "previous": {
      "href": "https://banes-lab.com/anatomy/content#file-content-core-persistence-chapter-persistence-ts",
      "json": "https://banes-lab.com/json/source/content/core/persistence/chapter.persistence.ts",
      "label": "core/persistence/chapter.persistence.ts",
      "markdown": "https://banes-lab.com/source/content/core/persistence/chapter.persistence.ts.md",
      "ref": "anatomy:file-content-core-persistence-chapter-persistence-ts"
    }
  },
  "up": {
    "href": null,
    "json": "https://banes-lab.com/json/api/source/content/core/persistence",
    "label": "core/persistence",
    "markdown": "https://banes-lab.com/api/source/content/core/persistence.md",
    "ref": "api:source/content/core/persistence"
  }
}
