{
  "definitions": [
    {
      "callable": false,
      "callees": [],
      "callers": [],
      "exported": false,
      "flow": "isolated",
      "kind": "lexical_declaration",
      "line": 13,
      "name": "sources",
      "signature": "const sources = await readInventorySources();"
    },
    {
      "callable": false,
      "callees": [],
      "callers": [],
      "exported": false,
      "flow": "isolated",
      "kind": "lexical_declaration",
      "line": 14,
      "name": "inventorySources",
      "signature": "const inventorySources: InventorySource[] = [];"
    },
    {
      "callable": false,
      "callees": [],
      "callers": [],
      "exported": false,
      "flow": "isolated",
      "kind": "lexical_declaration",
      "line": 15,
      "name": "records",
      "signature": "const records = sources.flatMap((source) => {"
    },
    {
      "callable": false,
      "callees": [],
      "callers": [],
      "exported": false,
      "flow": "isolated",
      "kind": "lexical_declaration",
      "line": 16,
      "name": "found",
      "signature": "const found = scanRules(source.text, source.path);"
    },
    {
      "callable": false,
      "callees": [],
      "callers": [],
      "exported": false,
      "flow": "isolated",
      "kind": "lexical_declaration",
      "line": 17,
      "name": "lines",
      "signature": "const lines = lineCount(source.text);"
    },
    {
      "callable": false,
      "callees": [],
      "callers": [],
      "exported": false,
      "flow": "isolated",
      "kind": "lexical_declaration",
      "line": 23,
      "name": "inventory",
      "signature": "const inventory: Inventory = { records, sources: inventorySources };"
    },
    {
      "callable": false,
      "callees": [],
      "callers": [],
      "exported": false,
      "flow": "isolated",
      "kind": "lexical_declaration",
      "line": 24,
      "name": "target",
      "signature": "const target = inventoryTarget();"
    }
  ],
  "document": null,
  "findings": [],
  "generated": false,
  "href": "https://banes-lab.com/anatomy/content#file-content-runtime-entrypoints-inventory-entrypoint-ts",
  "language": "typescript",
  "layer": "runtime",
  "name": "inventory.entrypoint.ts",
  "path": "runtime/entrypoints/inventory.entrypoint.ts",
  "ref": "anatomy:file-content-runtime-entrypoints-inventory-entrypoint-ts",
  "relations": [
    {
      "links": [
        {
          "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": "contained-in"
    }
  ],
  "slots": {
    "concern": "entrypoint",
    "subject": "inventory",
    "variant": null
  },
  "stats": {
    "bytes": 1385,
    "callable": 0,
    "definitions": 7,
    "edges": 0,
    "exported": 0,
    "files": 1,
    "findings": {},
    "flows": {
      "isolated": 7
    },
    "lines": {
      "blank": 3,
      "code": 23,
      "total": 26
    }
  },
  "summary": "23 lines of code and 7 definitions.",
  "text": "https://banes-lab.com/source/content/runtime/entrypoints/inventory.entrypoint.ts.txt",
  "tree": "content",
  "siblings": {
    "next": {
      "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"
    },
    "previous": {
      "href": "https://banes-lab.com/anatomy/content#file-content-runtime-entrypoints-coverage-entrypoint-ts",
      "json": "https://banes-lab.com/json/source/content/runtime/entrypoints/coverage.entrypoint.ts",
      "label": "runtime/entrypoints/coverage.entrypoint.ts",
      "markdown": "https://banes-lab.com/source/content/runtime/entrypoints/coverage.entrypoint.ts.md",
      "ref": "anatomy:file-content-runtime-entrypoints-coverage-entrypoint-ts"
    }
  },
  "up": {
    "href": null,
    "json": "https://banes-lab.com/json/api/source/content/runtime/entrypoints",
    "label": "runtime/entrypoints",
    "markdown": "https://banes-lab.com/api/source/content/runtime/entrypoints.md",
    "ref": "api:source/content/runtime/entrypoints"
  }
}
