# configuration/constants/panel.constants.ts

> 28 lines of code and 12 definitions.

Tree: Bane's Lab Content
Language: typescript
Layer: infrastructure
Canonical: https://banes-lab.com/anatomy/content#file-content-configuration-constants-panel-constants-ts
Source text: https://banes-lab.com/source/content/configuration/constants/panel.constants.ts.txt

Listed in [configuration/constants](https://banes-lab.com/api/source/content/configuration/constants.md), after [configuration/constants/leak.constants.ts](https://banes-lab.com/source/content/configuration/constants/leak.constants.ts.md) and before [configuration/constants/readme.constants.ts](https://banes-lab.com/source/content/configuration/constants/readme.constants.ts.md).

## Definitions

- `PANEL_KINDS` (lexical_declaration, line 1, exported)
- `TAG_FIELD_BY_KIND` (lexical_declaration, line 11, exported)
- `TAG_WORD_LIMIT` (lexical_declaration, line 21, exported)
- `TAG_SEPARATOR` (lexical_declaration, line 23, exported)
- `CITE_OPEN` (lexical_declaration, line 25, exported)
- `CITE_CLOSE` (lexical_declaration, line 27, exported)
- `LINK_OPEN` (lexical_declaration, line 29, exported)
- `PAYLOAD_BLOCKS_KEY` (lexical_declaration, line 31, exported)
- `PAYLOAD_SUBSECTIONS_KEY` (lexical_declaration, line 33, exported)
- `PAYLOAD_LAYOUT_KEY` (lexical_declaration, line 35, exported)
- `CHAPTER_LAYOUT` (lexical_declaration, line 37, exported)
- `CHAPTER_PANEL_LAYOUTS` (lexical_declaration, line 39, exported)

## Contained in

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

## Source

```typescript
export const PANEL_KINDS: ReadonlySet<string> = new Set([
    "code",
    "definition",
    "figure",
    "mermaid",
    "metric",
    "surface",
    "walk",
]);

export const TAG_FIELD_BY_KIND: ReadonlyMap<string, string> = new Map([
    ["code", "title"],
    ["definition", "title"],
    ["figure", "caption"],
    ["mermaid", "caption"],
    ["metric", "caption"],
    ["surface", "caption"],
    ["walk", "caption"],
]);

export const TAG_WORD_LIMIT = 4;

export const TAG_SEPARATOR = "·";

export const CITE_OPEN = "[";

export const CITE_CLOSE = "]";

export const LINK_OPEN = "(";

export const PAYLOAD_BLOCKS_KEY = "blocks";

export const PAYLOAD_SUBSECTIONS_KEY = "subsections";

export const PAYLOAD_LAYOUT_KEY = "layout";

export const CHAPTER_LAYOUT = "chapter";

export const CHAPTER_PANEL_LAYOUTS: ReadonlySet<string> = new Set([CHAPTER_LAYOUT, "sectioned"]);
```
