# configuration/constants/learning.constants.ts

> 21 lines of code and 6 definitions.

Tree: Bane's Lab Build Scripts
Language: typescript
Layer: infrastructure
Canonical: https://banes-lab.com/anatomy/build-scripts#file-build-scripts-configuration-constants-learning-constants-ts
Source text: https://banes-lab.com/source/build-scripts/configuration/constants/learning.constants.ts.txt

Listed in [configuration/constants](https://banes-lab.com/api/source/build-scripts/configuration/constants.md), after [configuration/constants/icons.constants.ts](https://banes-lab.com/source/build-scripts/configuration/constants/icons.constants.ts.md) and before [configuration/constants/loader.constants.ts](https://banes-lab.com/source/build-scripts/configuration/constants/loader.constants.ts.md).

## Definitions

- `SPINE` (lexical_declaration, line 1, exported)
- `SITE_PAGES` (lexical_declaration, line 3, exported)
- `ROUTE_SECTIONS_POPULATION` (lexical_declaration, line 5, exported)
- `ROUTE_SECTION_PARTS` (lexical_declaration, line 7, exported)
- `UNSAFE_LABEL_CHARACTERS` (lexical_declaration, line 15, exported)
- `FOLDED_CHARACTERS` (lexical_declaration, line 17, exported)

## Contained in

- [configuration/constants](https://banes-lab.com/anatomy/build-scripts/folder-build-scripts-configuration-constants.md)

## Source

```typescript
export const SPINE = "disciplined-methodology";

export const SITE_PAGES: readonly string[] = ["pag", SPINE, "software-architecture", "ontology", "anatomy"];

export const ROUTE_SECTIONS_POPULATION = "route sections";

export const ROUTE_SECTION_PARTS = {
    graphless: "on a page with no content graph",
    routed: "routed",
    silent: "in a tab that teaches nothing",
    unheld: "routed with no content graph entry",
    untitled: "untitled",
} as const;

export const UNSAFE_LABEL_CHARACTERS: ReadonlySet<string> = new Set(['"', "[", "]", "{", "}", "(", ")"]);

export const FOLDED_CHARACTERS: ReadonlyMap<string, string> = new Map([
    ["’", "'"],
    ["‘", "'"],
    ["“", "'"],
    ["”", "'"],
    ["—", "-"],
    ["–", "-"],
    ["·", "-"],
    [" ", " "],
]);
```
