{
  "definitions": [
    {
      "callable": true,
      "callees": [
        {
          "file": "core/persistence/export.persistence.ts",
          "name": "strayShares",
          "source": {
            "href": "https://banes-lab.com/anatomy/social-share#file-social-share-core-persistence-export-persistence-ts",
            "json": "https://banes-lab.com/json/source/social-share/core/persistence/export.persistence.ts",
            "label": "core/persistence/export.persistence.ts",
            "markdown": "https://banes-lab.com/source/social-share/core/persistence/export.persistence.ts.md",
            "ref": "anatomy:file-social-share-core-persistence-export-persistence-ts"
          }
        },
        {
          "file": "core/persistence/export.persistence.ts",
          "name": "unpublishedShares",
          "source": {
            "href": "https://banes-lab.com/anatomy/social-share#file-social-share-core-persistence-export-persistence-ts",
            "json": "https://banes-lab.com/json/source/social-share/core/persistence/export.persistence.ts",
            "label": "core/persistence/export.persistence.ts",
            "markdown": "https://banes-lab.com/source/social-share/core/persistence/export.persistence.ts.md",
            "ref": "anatomy:file-social-share-core-persistence-export-persistence-ts"
          }
        }
      ],
      "callers": [
        {
          "file": "runtime/entrypoints/validation.entrypoint.ts",
          "name": "outputFindings",
          "source": {
            "href": "https://banes-lab.com/anatomy/social-share#file-social-share-runtime-entrypoints-validation-entrypoint-ts",
            "json": "https://banes-lab.com/json/source/social-share/runtime/entrypoints/validation.entrypoint.ts",
            "label": "runtime/entrypoints/validation.entrypoint.ts",
            "markdown": "https://banes-lab.com/source/social-share/runtime/entrypoints/validation.entrypoint.ts.md",
            "ref": "anatomy:file-social-share-runtime-entrypoints-validation-entrypoint-ts"
          }
        }
      ],
      "exported": false,
      "flow": "relay",
      "kind": "lexical_declaration",
      "line": 80,
      "name": "mapFindings",
      "signature": "const mapFindings = async function mapFindings(): Promise<readonly CardFinding[]> {"
    },
    {
      "callable": true,
      "callees": [],
      "callers": [
        {
          "file": "runtime/entrypoints/validation.entrypoint.ts",
          "name": "shareMap",
          "source": {
            "href": "https://banes-lab.com/anatomy/social-share#file-social-share-runtime-entrypoints-validation-entrypoint-ts",
            "json": "https://banes-lab.com/json/source/social-share/runtime/entrypoints/validation.entrypoint.ts",
            "label": "runtime/entrypoints/validation.entrypoint.ts",
            "markdown": "https://banes-lab.com/source/social-share/runtime/entrypoints/validation.entrypoint.ts.md",
            "ref": "anatomy:file-social-share-runtime-entrypoints-validation-entrypoint-ts"
          }
        }
      ],
      "exported": false,
      "flow": "leaf",
      "kind": "lexical_declaration",
      "line": 67,
      "name": "isShareMapModule",
      "signature": "const isShareMapModule = function isShareMapModule(value: unknown): value is ShareMapModule {"
    },
    {
      "callable": true,
      "callees": [
        {
          "file": "core/persistence/image.persistence.ts",
          "name": "orphanImages",
          "source": {
            "href": "https://banes-lab.com/anatomy/social-share#file-social-share-core-persistence-image-persistence-ts",
            "json": "https://banes-lab.com/json/source/social-share/core/persistence/image.persistence.ts",
            "label": "core/persistence/image.persistence.ts",
            "markdown": "https://banes-lab.com/source/social-share/core/persistence/image.persistence.ts.md",
            "ref": "anatomy:file-social-share-core-persistence-image-persistence-ts"
          }
        },
        {
          "file": "core/persistence/image.persistence.ts",
          "name": "readLedger",
          "source": {
            "href": "https://banes-lab.com/anatomy/social-share#file-social-share-core-persistence-image-persistence-ts",
            "json": "https://banes-lab.com/json/source/social-share/core/persistence/image.persistence.ts",
            "label": "core/persistence/image.persistence.ts",
            "markdown": "https://banes-lab.com/source/social-share/core/persistence/image.persistence.ts.md",
            "ref": "anatomy:file-social-share-core-persistence-image-persistence-ts"
          }
        },
        {
          "file": "core/persistence/image.persistence.ts",
          "name": "staleEntries",
          "source": {
            "href": "https://banes-lab.com/anatomy/social-share#file-social-share-core-persistence-image-persistence-ts",
            "json": "https://banes-lab.com/json/source/social-share/core/persistence/image.persistence.ts",
            "label": "core/persistence/image.persistence.ts",
            "markdown": "https://banes-lab.com/source/social-share/core/persistence/image.persistence.ts.md",
            "ref": "anatomy:file-social-share-core-persistence-image-persistence-ts"
          }
        },
        {
          "file": "runtime/entrypoints/validation.entrypoint.ts",
          "name": "mapFindings",
          "source": {
            "href": "https://banes-lab.com/anatomy/social-share#file-social-share-runtime-entrypoints-validation-entrypoint-ts",
            "json": "https://banes-lab.com/json/source/social-share/runtime/entrypoints/validation.entrypoint.ts",
            "label": "runtime/entrypoints/validation.entrypoint.ts",
            "markdown": "https://banes-lab.com/source/social-share/runtime/entrypoints/validation.entrypoint.ts.md",
            "ref": "anatomy:file-social-share-runtime-entrypoints-validation-entrypoint-ts"
          }
        }
      ],
      "callers": [],
      "exported": false,
      "flow": "entry",
      "kind": "lexical_declaration",
      "line": 93,
      "name": "outputFindings",
      "signature": "const outputFindings = async function outputFindings(): Promise<readonly CardFinding[]> {"
    },
    {
      "callable": true,
      "callees": [
        {
          "file": "core/reporters/card.reporter.ts",
          "name": "say",
          "source": {
            "href": "https://banes-lab.com/anatomy/social-share#file-social-share-core-reporters-card-reporter-ts",
            "json": "https://banes-lab.com/json/source/social-share/core/reporters/card.reporter.ts",
            "label": "core/reporters/card.reporter.ts",
            "markdown": "https://banes-lab.com/source/social-share/core/reporters/card.reporter.ts.md",
            "ref": "anatomy:file-social-share-core-reporters-card-reporter-ts"
          }
        },
        {
          "file": "core/reporters/card.reporter.ts",
          "name": "say",
          "source": {
            "href": "https://banes-lab.com/anatomy/social-share#file-social-share-core-reporters-card-reporter-ts",
            "json": "https://banes-lab.com/json/source/social-share/core/reporters/card.reporter.ts",
            "label": "core/reporters/card.reporter.ts",
            "markdown": "https://banes-lab.com/source/social-share/core/reporters/card.reporter.ts.md",
            "ref": "anatomy:file-social-share-core-reporters-card-reporter-ts"
          }
        },
        {
          "file": "core/reporters/card.reporter.ts",
          "name": "say",
          "source": {
            "href": "https://banes-lab.com/anatomy/social-share#file-social-share-core-reporters-card-reporter-ts",
            "json": "https://banes-lab.com/json/source/social-share/core/reporters/card.reporter.ts",
            "label": "core/reporters/card.reporter.ts",
            "markdown": "https://banes-lab.com/source/social-share/core/reporters/card.reporter.ts.md",
            "ref": "anatomy:file-social-share-core-reporters-card-reporter-ts"
          }
        }
      ],
      "callers": [],
      "exported": false,
      "flow": "entry",
      "kind": "lexical_declaration",
      "line": 106,
      "name": "heal",
      "signature": "const heal = async function heal(): Promise<void> {"
    },
    {
      "callable": true,
      "callees": [
        {
          "file": "runtime/entrypoints/validation.entrypoint.ts",
          "name": "isShareMapModule",
          "source": {
            "href": "https://banes-lab.com/anatomy/social-share#file-social-share-runtime-entrypoints-validation-entrypoint-ts",
            "json": "https://banes-lab.com/json/source/social-share/runtime/entrypoints/validation.entrypoint.ts",
            "label": "runtime/entrypoints/validation.entrypoint.ts",
            "markdown": "https://banes-lab.com/source/social-share/runtime/entrypoints/validation.entrypoint.ts.md",
            "ref": "anatomy:file-social-share-runtime-entrypoints-validation-entrypoint-ts"
          }
        }
      ],
      "callers": [],
      "exported": false,
      "flow": "entry",
      "kind": "lexical_declaration",
      "line": 71,
      "name": "shareMap",
      "signature": "const shareMap = async function shareMap(): Promise<ReadonlyMap<string, ShareImage>> {"
    },
    {
      "callable": false,
      "callees": [],
      "callers": [],
      "exported": false,
      "flow": "isolated",
      "kind": "interface_declaration",
      "line": 39,
      "name": "ShareMapModule",
      "signature": "interface ShareMapModule {"
    },
    {
      "callable": false,
      "callees": [],
      "callers": [],
      "exported": false,
      "flow": "isolated",
      "kind": "lexical_declaration",
      "line": 45,
      "name": "RENDERS",
      "signature": "const RENDERS = absolutePath(\"app.cardRenders\");"
    },
    {
      "callable": false,
      "callees": [],
      "callers": [],
      "exported": false,
      "flow": "isolated",
      "kind": "lexical_declaration",
      "line": 46,
      "name": "SHARES",
      "signature": "const SHARES = absolutePath(\"app.shares\");"
    },
    {
      "callable": false,
      "callees": [],
      "callers": [],
      "exported": false,
      "flow": "isolated",
      "kind": "lexical_declaration",
      "line": 47,
      "name": "FRESH_QUERY",
      "signature": "const FRESH_QUERY = \"?read=\";"
    },
    {
      "callable": false,
      "callees": [],
      "callers": [],
      "exported": false,
      "flow": "isolated",
      "kind": "lexical_declaration",
      "line": 48,
      "name": "SHARE_EXPORT",
      "signature": "const SHARE_EXPORT = \"SHARE_IMAGES\";"
    },
    {
      "callable": false,
      "callees": [],
      "callers": [],
      "exported": false,
      "flow": "isolated",
      "kind": "lexical_declaration",
      "line": 50,
      "name": "loader",
      "signature": "const loader = await openStage(false);"
    },
    {
      "callable": false,
      "callees": [],
      "callers": [],
      "exported": false,
      "flow": "isolated",
      "kind": "lexical_declaration",
      "line": 51,
      "name": "loaded",
      "signature": "const loaded = await loader.cards();"
    },
    {
      "callable": false,
      "callees": [],
      "callers": [],
      "exported": false,
      "flow": "isolated",
      "kind": "lexical_declaration",
      "line": 54,
      "name": "specs",
      "signature": "const specs = loaded.cards.map((card) => card.spec);"
    },
    {
      "callable": false,
      "callees": [],
      "callers": [],
      "exported": false,
      "flow": "isolated",
      "kind": "lexical_declaration",
      "line": 56,
      "name": "specFindings",
      "signature": "const specFindings: readonly CardFinding[] = ["
    },
    {
      "callable": false,
      "callees": [],
      "callers": [],
      "exported": false,
      "flow": "isolated",
      "kind": "lexical_declaration",
      "line": 72,
      "name": "location",
      "signature": "const location = pathToFileURL(absolutePath(\"app.shareMap\")).href + FRESH_QUERY + String(Date.now());"
    },
    {
      "callable": false,
      "callees": [],
      "callers": [],
      "exported": false,
      "flow": "isolated",
      "kind": "lexical_declaration",
      "line": 73,
      "name": "module",
      "signature": "const module: unknown = await import(location);"
    },
    {
      "callable": false,
      "callees": [],
      "callers": [],
      "exported": false,
      "flow": "isolated",
      "kind": "lexical_declaration",
      "line": 81,
      "name": "expected",
      "signature": "const expected = shareEntriesOf(specs, RENDERS);"
    },
    {
      "callable": false,
      "callees": [],
      "callers": [],
      "exported": false,
      "flow": "isolated",
      "kind": "lexical_declaration",
      "line": 82,
      "name": "held",
      "signature": "const held = await shareMap();"
    },
    {
      "callable": false,
      "callees": [],
      "callers": [],
      "exported": false,
      "flow": "isolated",
      "kind": "lexical_declaration",
      "line": 83,
      "name": "mapCurrent",
      "signature": "const mapCurrent ="
    },
    {
      "callable": false,
      "callees": [],
      "callers": [],
      "exported": false,
      "flow": "isolated",
      "kind": "lexical_declaration",
      "line": 94,
      "name": "missing",
      "signature": "const missing = missingImages(specs, RENDERS).map((file) => ({ card: file, message: MISSING_IMAGE }));"
    },
    {
      "callable": false,
      "callees": [],
      "callers": [],
      "exported": false,
      "flow": "isolated",
      "kind": "lexical_declaration",
      "line": 108,
      "name": "capture",
      "signature": "const capture = await openStage(true);"
    },
    {
      "callable": false,
      "callees": [],
      "callers": [],
      "exported": false,
      "flow": "isolated",
      "kind": "lexical_declaration",
      "line": 110,
      "name": "result",
      "signature": "const result = await exportCards({ force: false, gpu: false, only: null, url: capture.url }, specs);"
    }
  ],
  "document": null,
  "findings": [],
  "generated": false,
  "href": "https://banes-lab.com/anatomy/social-share#file-social-share-runtime-entrypoints-validation-entrypoint-ts",
  "language": "typescript",
  "layer": "runtime",
  "name": "validation.entrypoint.ts",
  "path": "runtime/entrypoints/validation.entrypoint.ts",
  "ref": "anatomy:file-social-share-runtime-entrypoints-validation-entrypoint-ts",
  "relations": [
    {
      "links": [
        {
          "href": "https://banes-lab.com/anatomy/social-share#folder-social-share-runtime-entrypoints",
          "json": "https://banes-lab.com/json/anatomy/social-share/folder-social-share-runtime-entrypoints",
          "label": "runtime/entrypoints",
          "markdown": "https://banes-lab.com/anatomy/social-share/folder-social-share-runtime-entrypoints.md",
          "ref": "chapter:/anatomy/social-share#folder-social-share-runtime-entrypoints"
        }
      ],
      "relation": "contained-in"
    },
    {
      "links": [
        {
          "href": "https://banes-lab.com/anatomy/social-share#file-social-share-core-persistence-export-persistence-ts",
          "json": "https://banes-lab.com/json/source/social-share/core/persistence/export.persistence.ts",
          "label": "core/persistence/export.persistence.ts",
          "markdown": "https://banes-lab.com/source/social-share/core/persistence/export.persistence.ts.md",
          "ref": "anatomy:file-social-share-core-persistence-export-persistence-ts"
        },
        {
          "href": "https://banes-lab.com/anatomy/social-share#file-social-share-core-persistence-image-persistence-ts",
          "json": "https://banes-lab.com/json/source/social-share/core/persistence/image.persistence.ts",
          "label": "core/persistence/image.persistence.ts",
          "markdown": "https://banes-lab.com/source/social-share/core/persistence/image.persistence.ts.md",
          "ref": "anatomy:file-social-share-core-persistence-image-persistence-ts"
        },
        {
          "href": "https://banes-lab.com/anatomy/social-share#file-social-share-core-reporters-card-reporter-ts",
          "json": "https://banes-lab.com/json/source/social-share/core/reporters/card.reporter.ts",
          "label": "core/reporters/card.reporter.ts",
          "markdown": "https://banes-lab.com/source/social-share/core/reporters/card.reporter.ts.md",
          "ref": "anatomy:file-social-share-core-reporters-card-reporter-ts"
        }
      ],
      "relation": "uses"
    },
    {
      "links": [
        {
          "href": "https://banes-lab.com/ontology#architecture-reproducibility",
          "json": "https://banes-lab.com/json/records/architecture/reproducibility",
          "label": "Reproducibility",
          "markdown": "https://banes-lab.com/records/architecture/reproducibility.md",
          "ref": "architecture:reproducibility"
        }
      ],
      "relation": "enforces"
    },
    {
      "links": [
        {
          "href": "https://banes-lab.com/anatomy/social-share#folder-social-share-core-persistence",
          "json": "https://banes-lab.com/json/anatomy/social-share/folder-social-share-core-persistence",
          "label": "core/persistence",
          "markdown": "https://banes-lab.com/anatomy/social-share/folder-social-share-core-persistence.md",
          "ref": "chapter:/anatomy/social-share#folder-social-share-core-persistence"
        },
        {
          "href": "https://banes-lab.com/anatomy/social-share#folder-social-share-core-reporters",
          "json": "https://banes-lab.com/json/anatomy/social-share/folder-social-share-core-reporters",
          "label": "core/reporters",
          "markdown": "https://banes-lab.com/anatomy/social-share/folder-social-share-core-reporters.md",
          "ref": "chapter:/anatomy/social-share#folder-social-share-core-reporters"
        },
        {
          "href": "https://banes-lab.com/anatomy/social-share#folder-social-share-runtime-entrypoints",
          "json": "https://banes-lab.com/json/anatomy/social-share/folder-social-share-runtime-entrypoints",
          "label": "runtime/entrypoints",
          "markdown": "https://banes-lab.com/anatomy/social-share/folder-social-share-runtime-entrypoints.md",
          "ref": "chapter:/anatomy/social-share#folder-social-share-runtime-entrypoints"
        }
      ],
      "relation": "linked-from"
    }
  ],
  "slots": {
    "concern": "entrypoint",
    "subject": "validation",
    "variant": null
  },
  "stats": {
    "bytes": 4738,
    "callable": 5,
    "definitions": 22,
    "edges": 10,
    "exported": 0,
    "files": 1,
    "findings": {},
    "flows": {
      "relay": 1,
      "leaf": 1,
      "entry": 3,
      "isolated": 17
    },
    "lines": {
      "blank": 14,
      "code": 112,
      "total": 126
    }
  },
  "summary": "112 lines of code and 22 definitions.",
  "text": "https://banes-lab.com/source/social-share/runtime/entrypoints/validation.entrypoint.ts.txt",
  "tree": "social-share",
  "siblings": {
    "next": null,
    "previous": {
      "href": "https://banes-lab.com/anatomy/social-share#file-social-share-runtime-entrypoints-stage-entrypoint-ts",
      "json": "https://banes-lab.com/json/source/social-share/runtime/entrypoints/stage.entrypoint.ts",
      "label": "runtime/entrypoints/stage.entrypoint.ts",
      "markdown": "https://banes-lab.com/source/social-share/runtime/entrypoints/stage.entrypoint.ts.md",
      "ref": "anatomy:file-social-share-runtime-entrypoints-stage-entrypoint-ts"
    }
  },
  "up": {
    "href": null,
    "json": "https://banes-lab.com/json/api/source/social-share/runtime/entrypoints",
    "label": "runtime/entrypoints",
    "markdown": "https://banes-lab.com/api/source/social-share/runtime/entrypoints.md",
    "ref": "api:source/social-share/runtime/entrypoints"
  }
}
