{
  "definitions": [
    {
      "callable": false,
      "callees": [],
      "callers": [],
      "exported": true,
      "flow": "isolated",
      "kind": "type_alias_declaration",
      "line": 4,
      "name": "EnvironmentKindRule",
      "signature": "export type EnvironmentKindRule = (typeof ENVIRONMENT_KIND_RULES)[number];"
    },
    {
      "callable": false,
      "callees": [],
      "callers": [],
      "exported": true,
      "flow": "isolated",
      "kind": "type_alias_declaration",
      "line": 6,
      "name": "EnvironmentKind",
      "signature": "export type EnvironmentKind = EnvironmentKindRule[\"kind\"];"
    },
    {
      "callable": false,
      "callees": [],
      "callers": [],
      "exported": true,
      "flow": "isolated",
      "kind": "type_alias_declaration",
      "line": 8,
      "name": "EnvironmentScope",
      "signature": "export type EnvironmentScope = (typeof ENVIRONMENT_SCOPES)[number];"
    },
    {
      "callable": false,
      "callees": [],
      "callers": [],
      "exported": true,
      "flow": "isolated",
      "kind": "interface_declaration",
      "line": 10,
      "name": "EnvironmentEntry",
      "signature": "export interface EnvironmentEntry {"
    },
    {
      "callable": false,
      "callees": [],
      "callers": [],
      "exported": false,
      "flow": "isolated",
      "kind": "type_alias_declaration",
      "line": 17,
      "name": "DeclaredEntry",
      "signature": "type DeclaredEntry = (typeof ENVIRONMENT_ENTRIES)[number];"
    },
    {
      "callable": false,
      "callees": [],
      "callers": [],
      "exported": true,
      "flow": "isolated",
      "kind": "type_alias_declaration",
      "line": 19,
      "name": "EnvironmentKey",
      "signature": "export type EnvironmentKey = DeclaredEntry[\"key\"];"
    },
    {
      "callable": false,
      "callees": [],
      "callers": [],
      "exported": true,
      "flow": "isolated",
      "kind": "type_alias_declaration",
      "line": 21,
      "name": "PortKey",
      "signature": "export type PortKey = Extract<DeclaredEntry, { readonly kind: \"port\"; readonly required: true }>[\"key\"];"
    },
    {
      "callable": false,
      "callees": [],
      "callers": [],
      "exported": true,
      "flow": "isolated",
      "kind": "type_alias_declaration",
      "line": 23,
      "name": "TextKey",
      "signature": "export type TextKey = Exclude<Extract<DeclaredEntry, { readonly required: true }>[\"key\"], PortKey>;"
    },
    {
      "callable": false,
      "callees": [],
      "callers": [],
      "exported": true,
      "flow": "isolated",
      "kind": "type_alias_declaration",
      "line": 25,
      "name": "OptionalKey",
      "signature": "export type OptionalKey = Extract<DeclaredEntry, { readonly required: false }>[\"key\"];"
    },
    {
      "callable": false,
      "callees": [],
      "callers": [],
      "exported": true,
      "flow": "isolated",
      "kind": "interface_declaration",
      "line": 27,
      "name": "FieldLabel",
      "signature": "export interface FieldLabel {"
    },
    {
      "callable": false,
      "callees": [],
      "callers": [],
      "exported": true,
      "flow": "isolated",
      "kind": "interface_declaration",
      "line": 31,
      "name": "EntryAnswer",
      "signature": "export interface EntryAnswer {"
    },
    {
      "callable": false,
      "callees": [],
      "callers": [],
      "exported": true,
      "flow": "isolated",
      "kind": "interface_declaration",
      "line": 36,
      "name": "ValueAnswer",
      "signature": "export interface ValueAnswer {"
    }
  ],
  "document": null,
  "findings": [],
  "generated": false,
  "href": "https://banes-lab.com/anatomy/secrets#file-secrets-types-environment-types-ts",
  "language": "typescript",
  "layer": "infrastructure",
  "name": "environment.types.ts",
  "path": "types/environment.types.ts",
  "ref": "anatomy:file-secrets-types-environment-types-ts",
  "relations": [
    {
      "links": [
        {
          "href": "https://banes-lab.com/anatomy/secrets#folder-secrets-types",
          "json": "https://banes-lab.com/json/anatomy/secrets/folder-secrets-types",
          "label": "types",
          "markdown": "https://banes-lab.com/anatomy/secrets/folder-secrets-types.md",
          "ref": "chapter:/anatomy/secrets#folder-secrets-types"
        }
      ],
      "relation": "contained-in"
    }
  ],
  "slots": {
    "concern": "types",
    "subject": "environment",
    "variant": null
  },
  "stats": {
    "bytes": 1262,
    "callable": 0,
    "definitions": 12,
    "edges": 0,
    "exported": 11,
    "files": 1,
    "findings": {},
    "flows": {
      "isolated": 12
    },
    "lines": {
      "blank": 12,
      "code": 27,
      "total": 39
    }
  },
  "summary": "27 lines of code and 12 definitions.",
  "text": "https://banes-lab.com/source/secrets/types/environment.types.ts.txt",
  "tree": "secrets",
  "siblings": {
    "next": null,
    "previous": {
      "href": "https://banes-lab.com/anatomy/secrets#file-secrets-types-detector-types-ts",
      "json": "https://banes-lab.com/json/source/secrets/types/detector.types.ts",
      "label": "types/detector.types.ts",
      "markdown": "https://banes-lab.com/source/secrets/types/detector.types.ts.md",
      "ref": "anatomy:file-secrets-types-detector-types-ts"
    }
  },
  "up": {
    "href": null,
    "json": "https://banes-lab.com/json/api/source/secrets/types",
    "label": "types",
    "markdown": "https://banes-lab.com/api/source/secrets/types.md",
    "ref": "api:source/secrets/types"
  }
}
