{
  "definitions": [
    {
      "callable": true,
      "callees": [],
      "callers": [
        {
          "file": "core/factories/validation.factory.ts",
          "name": "appSteps",
          "source": {
            "href": "https://banes-lab.com/anatomy/pipeline#file-pipeline-core-factories-validation-factory-ts",
            "json": "https://banes-lab.com/json/source/pipeline/core/factories/validation.factory.ts",
            "label": "core/factories/validation.factory.ts",
            "markdown": "https://banes-lab.com/source/pipeline/core/factories/validation.factory.ts.md",
            "ref": "anatomy:file-pipeline-core-factories-validation-factory-ts"
          }
        }
      ],
      "exported": true,
      "flow": "leaf",
      "kind": "lexical_declaration",
      "line": 41,
      "name": "selfGovernedSteps",
      "signature": "export const selfGovernedSteps = function selfGovernedSteps(): Step[] {"
    },
    {
      "callable": true,
      "callees": [
        {
          "file": "configuration/strings/step.strings.ts",
          "name": "delegatedLabel",
          "source": {
            "href": "https://banes-lab.com/anatomy/pipeline#file-pipeline-configuration-strings-step-strings-ts",
            "json": "https://banes-lab.com/json/source/pipeline/configuration/strings/step.strings.ts",
            "label": "configuration/strings/step.strings.ts",
            "markdown": "https://banes-lab.com/source/pipeline/configuration/strings/step.strings.ts.md",
            "ref": "anatomy:file-pipeline-configuration-strings-step-strings-ts"
          }
        }
      ],
      "callers": [],
      "exported": false,
      "flow": "entry",
      "kind": "lexical_declaration",
      "line": 30,
      "name": "delegatedSteps",
      "signature": "const delegatedSteps = function delegatedSteps(member: string): Step[] {"
    },
    {
      "callable": true,
      "callees": [],
      "callers": [],
      "exported": false,
      "flow": "isolated",
      "kind": "lexical_declaration",
      "line": 14,
      "name": "fieldOf",
      "signature": "const fieldOf = function fieldOf(parsed: unknown, key: string, field: string): string | null {"
    },
    {
      "callable": false,
      "callees": [],
      "callers": [],
      "exported": false,
      "flow": "isolated",
      "kind": "lexical_declaration",
      "line": 18,
      "name": "declared",
      "signature": "const declared: unknown = new Map(Object.entries(parsed)).get(key);"
    },
    {
      "callable": false,
      "callees": [],
      "callers": [],
      "exported": false,
      "flow": "isolated",
      "kind": "lexical_declaration",
      "line": 22,
      "name": "value",
      "signature": "const value: unknown = new Map(Object.entries(declared)).get(field);"
    },
    {
      "callable": true,
      "callees": [],
      "callers": [],
      "exported": false,
      "flow": "isolated",
      "kind": "lexical_declaration",
      "line": 26,
      "name": "readJson",
      "signature": "const readJson = function readJson(file: string): unknown {"
    },
    {
      "callable": false,
      "callees": [],
      "callers": [],
      "exported": false,
      "flow": "isolated",
      "kind": "lexical_declaration",
      "line": 31,
      "name": "dir",
      "signature": "const dir = join(absolutePath(\"app.root\"), member);"
    },
    {
      "callable": false,
      "callees": [],
      "callers": [],
      "exported": false,
      "flow": "isolated",
      "kind": "lexical_declaration",
      "line": 32,
      "name": "manifest",
      "signature": "const manifest = readJson(join(dir, MEMBER_MANIFEST));"
    },
    {
      "callable": false,
      "callees": [],
      "callers": [],
      "exported": false,
      "flow": "isolated",
      "kind": "lexical_declaration",
      "line": 33,
      "name": "scripts",
      "signature": "const scripts = readJson(join(dir, PACKAGE_FILE));"
    },
    {
      "callable": false,
      "callees": [],
      "callers": [],
      "exported": false,
      "flow": "isolated",
      "kind": "lexical_declaration",
      "line": 35,
      "name": "script",
      "signature": "const script = fieldOf(manifest, SELF_GOVERNED_KEY, field);"
    },
    {
      "callable": false,
      "callees": [],
      "callers": [],
      "exported": false,
      "flow": "isolated",
      "kind": "lexical_declaration",
      "line": 36,
      "name": "command",
      "signature": "const command = script === null ? null : fieldOf(scripts, SCRIPTS_KEY, script);"
    }
  ],
  "document": null,
  "findings": [],
  "generated": false,
  "href": "https://banes-lab.com/anatomy/pipeline#file-pipeline-core-loaders-package-loader-ts",
  "language": "typescript",
  "layer": "infrastructure",
  "name": "package.loader.ts",
  "path": "core/loaders/package.loader.ts",
  "ref": "anatomy:file-pipeline-core-loaders-package-loader-ts",
  "relations": [
    {
      "links": [
        {
          "href": "https://banes-lab.com/anatomy/pipeline#folder-pipeline-core-loaders",
          "json": "https://banes-lab.com/json/anatomy/pipeline/folder-pipeline-core-loaders",
          "label": "core/loaders",
          "markdown": "https://banes-lab.com/anatomy/pipeline/folder-pipeline-core-loaders.md",
          "ref": "chapter:/anatomy/pipeline#folder-pipeline-core-loaders"
        }
      ],
      "relation": "contained-in"
    },
    {
      "links": [
        {
          "href": "https://banes-lab.com/anatomy/pipeline#file-pipeline-configuration-strings-step-strings-ts",
          "json": "https://banes-lab.com/json/source/pipeline/configuration/strings/step.strings.ts",
          "label": "configuration/strings/step.strings.ts",
          "markdown": "https://banes-lab.com/source/pipeline/configuration/strings/step.strings.ts.md",
          "ref": "anatomy:file-pipeline-configuration-strings-step-strings-ts"
        }
      ],
      "relation": "uses"
    },
    {
      "links": [
        {
          "href": "https://banes-lab.com/anatomy/pipeline#file-pipeline-core-factories-validation-factory-ts",
          "json": "https://banes-lab.com/json/source/pipeline/core/factories/validation.factory.ts",
          "label": "core/factories/validation.factory.ts",
          "markdown": "https://banes-lab.com/source/pipeline/core/factories/validation.factory.ts.md",
          "ref": "anatomy:file-pipeline-core-factories-validation-factory-ts"
        }
      ],
      "relation": "used-by"
    },
    {
      "links": [
        {
          "href": "https://banes-lab.com/anatomy/pipeline#folder-pipeline-configuration-strings",
          "json": "https://banes-lab.com/json/anatomy/pipeline/folder-pipeline-configuration-strings",
          "label": "configuration/strings",
          "markdown": "https://banes-lab.com/anatomy/pipeline/folder-pipeline-configuration-strings.md",
          "ref": "chapter:/anatomy/pipeline#folder-pipeline-configuration-strings"
        },
        {
          "href": "https://banes-lab.com/anatomy/pipeline#folder-pipeline-core-factories",
          "json": "https://banes-lab.com/json/anatomy/pipeline/folder-pipeline-core-factories",
          "label": "core/factories",
          "markdown": "https://banes-lab.com/anatomy/pipeline/folder-pipeline-core-factories.md",
          "ref": "chapter:/anatomy/pipeline#folder-pipeline-core-factories"
        }
      ],
      "relation": "linked-from"
    }
  ],
  "slots": {
    "concern": "loader",
    "subject": "package",
    "variant": null
  },
  "stats": {
    "bytes": 1778,
    "callable": 4,
    "definitions": 11,
    "edges": 1,
    "exported": 1,
    "files": 1,
    "findings": {},
    "flows": {
      "leaf": 1,
      "entry": 1,
      "isolated": 9
    },
    "lines": {
      "blank": 4,
      "code": 39,
      "total": 43
    }
  },
  "summary": "39 lines of code and 11 definitions.",
  "text": "https://banes-lab.com/source/pipeline/core/loaders/package.loader.ts.txt",
  "tree": "pipeline",
  "siblings": {
    "next": null,
    "previous": null
  },
  "up": {
    "href": null,
    "json": "https://banes-lab.com/json/api/source/pipeline/core/loaders",
    "label": "core/loaders",
    "markdown": "https://banes-lab.com/api/source/pipeline/core/loaders.md",
    "ref": "api:source/pipeline/core/loaders"
  }
}
