# configuration/constants/leak.constants.ts

> 89 lines of code and 35 definitions.

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

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

## Definitions

- `RULE_TAG` (lexical_declaration, line 3, exported)
- `SURFACE_RULE_TAG` (lexical_declaration, line 5, exported)
- `PATH_SEPARATOR` (lexical_declaration, line 7, exported)
- `WORD_SEPARATOR` (lexical_declaration, line 9, exported)
- `PACKAGE_FILE` (lexical_declaration, line 11, exported)
- `JSON_EXTENSION` (lexical_declaration, line 13, exported)
- `JSON_FOLDER` (lexical_declaration, line 15, exported)
- `PAYLOAD_TABS_KEY` (lexical_declaration, line 17, exported)
- `PAYLOAD_SECTIONS_KEY` (lexical_declaration, line 19, exported)
- `PAYLOAD_CONTENT_KEY` (lexical_declaration, line 21, exported)
- `PAYLOAD_ID_KEY` (lexical_declaration, line 23, exported)
- `PAYLOAD_LABEL_KEY` (lexical_declaration, line 25, exported)
- `PAYLOAD_TITLE_KEY` (lexical_declaration, line 27, exported)
- `PAYLOAD_KIND_KEY` (lexical_declaration, line 29, exported)
- `CODE_KIND` (lexical_declaration, line 31, exported)
- `CODE_FIELD` (lexical_declaration, line 33, exported)
- `MIN_TOKEN_LENGTH` (lexical_declaration, line 35, exported)
- `TOKEN_STOPS` (lexical_declaration, line 37, exported)
- `PRIVATE_TERMS` (lexical_declaration, line 61, exported)
- `PRIVATE_ALLOWANCES` (lexical_declaration, line 82, exported)
- `PUBLISHED_TEXT_EXTENSIONS` (lexical_declaration, line 84, exported)
- `VCS_FOLDER` (lexical_declaration, line 98, exported)
- `PUBLISHED_ROOT_KEYS` (lexical_declaration, line 100, exported)
- `ESCAPED_SEPARATOR` (lexical_declaration, line 102, exported)
- `DERIVE_FLAG` (lexical_declaration, line 104, exported)
- `SOURCE_INVENTORY` (lexical_declaration, line 106, exported)
- `SOURCE_SEEDS` (lexical_declaration, line 108, exported)
- `SOURCE_SURFACE_RULES` (lexical_declaration, line 110, exported)
- `SOURCE_PATHS` (lexical_declaration, line 112, exported)
- `SOURCE_SCRIPTS` (lexical_declaration, line 114, exported)
- `SOURCE_MEMBERS` (lexical_declaration, line 116, exported)
- `SOURCE_STAGES` (lexical_declaration, line 118, exported)
- `SOURCE_LOCAL_RULES` (lexical_declaration, line 120, exported)
- `SOURCE_TAXONOMY` (lexical_declaration, line 122, exported)
- `SOURCE_HARNESS` (lexical_declaration, line 124, exported)

## Contained in

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

## Source

```typescript
import type { PrivateTerm } from "#types/leak.types";

export const RULE_TAG = ".eslint.rule.ts";

export const SURFACE_RULE_TAG = ".rule.ts";

export const PATH_SEPARATOR = "/";

export const WORD_SEPARATOR = " ";

export const PACKAGE_FILE = "package.json";

export const JSON_EXTENSION = ".json";

export const JSON_FOLDER = "json";

export const PAYLOAD_TABS_KEY = "tabs";

export const PAYLOAD_SECTIONS_KEY = "sections";

export const PAYLOAD_CONTENT_KEY = "content";

export const PAYLOAD_ID_KEY = "id";

export const PAYLOAD_LABEL_KEY = "label";

export const PAYLOAD_TITLE_KEY = "title";

export const PAYLOAD_KIND_KEY = "kind";

export const CODE_KIND = "code";

export const CODE_FIELD = "code";

export const MIN_TOKEN_LENGTH = 3;

export const TOKEN_STOPS: ReadonlySet<string> = new Set([
    " ",
    "\n",
    "\t",
    ",",
    ";",
    ":",
    "!",
    "?",
    "(",
    ")",
    "[",
    "]",
    "{",
    "}",
    '"',
    "'",
    "`",
    "*",
    "<",
    ">",
    "|",
]);

export const PRIVATE_TERMS: readonly PrivateTerm[] = [
    {
        digest: "b85ea084424e1008c3ccc508a63e939ff64a94e9c37d3112241b360ac77aa07b",
        first: "b85ea084424e1008c3ccc508a63e939ff64a94e9c37d3112241b360ac77aa07b",
        length: 7,
        words: 1,
    },
    {
        digest: "c843449262aab6cc4420446ffb4d14085c563bd68ab2ddb3f5a4050e0e0b5708",
        first: "c843449262aab6cc4420446ffb4d14085c563bd68ab2ddb3f5a4050e0e0b5708",
        length: 5,
        words: 1,
    },
    {
        digest: "23566dfe2b820fbad271930a4fa37fd47fe1833b1320fe28e0a09355d59c60a2",
        first: "69911acd1ed57b08060536a684c7572cab7cfec0e330ca240af59699aeebff7b",
        length: 9,
        words: 3,
    },
];

export const PRIVATE_ALLOWANCES: readonly string[] = [];

export const PUBLISHED_TEXT_EXTENSIONS: ReadonlySet<string> = new Set([
    ".conf",
    ".css",
    ".html",
    ".js",
    ".json",
    ".md",
    ".svg",
    ".ts",
    ".txt",
    ".xml",
    ".yaml",
]);

export const VCS_FOLDER = ".git";

export const PUBLISHED_ROOT_KEYS: readonly string[] = ["builds.web", "methodology"];

export const ESCAPED_SEPARATOR = String.raw`\\`;

export const DERIVE_FLAG = "--derive";

export const SOURCE_INVENTORY = "rule inventory slugs";

export const SOURCE_SEEDS = "lesson seed ids";

export const SOURCE_SURFACE_RULES = "coordination surface rule ids";

export const SOURCE_PATHS = "paths declaration keys and values";

export const SOURCE_SCRIPTS = "root package scripts";

export const SOURCE_MEMBERS = "workspace member names and directories";

export const SOURCE_STAGES = "gate stage and step labels";

export const SOURCE_LOCAL_RULES = "local rule ids";

export const SOURCE_TAXONOMY = "taxonomy containers and concern folders";

export const SOURCE_HARNESS = "harness feature names";
```
