# configuration/constants/verb.constants.ts

> 44 lines of code and 10 definitions.

Tree: GovLab Docs
Language: typescript
Layer: infrastructure
Canonical: https://banes-lab.com/anatomy/docs#file-docs-configuration-constants-verb-constants-ts
Source text: https://banes-lab.com/source/docs/configuration/constants/verb.constants.ts.txt

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

## Definitions

- `PATHS` (lexical_declaration, line 3)
- `IDENTIFIERS` (lexical_declaration, line 4)
- `PATH_EXISTS` (lexical_declaration, line 5)
- `PATH_ONLY` (lexical_declaration, line 7)
- `EXPORTED` (lexical_declaration, line 8)
- `DECLARED` (lexical_declaration, line 9)
- `REF_CLAIMS` (lexical_declaration, line 11, exported)
- `DOC_VERBS` (lexical_declaration, line 13, exported)
- `EXPORT_FORMS` (lexical_declaration, line 32, exported)
- `DECLARE_FORMS` (lexical_declaration, line 42, exported)

## Contained in

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

## Source

```typescript
import type { DocVerb } from "#types/reference.types";

const PATHS = "paths";
const IDENTIFIERS = "identifiers";
const PATH_EXISTS = "path-exists";

const PATH_ONLY: DocVerb = { checks: [PATH_EXISTS], satisfies: [PATHS] };
const EXPORTED: DocVerb = { checks: [PATH_EXISTS, "ident-exported-from-path"], satisfies: [PATHS, IDENTIFIERS] };
const DECLARED: DocVerb = { checks: [PATH_EXISTS, "ident-declared-in-path"], satisfies: [PATHS, IDENTIFIERS] };

export const REF_CLAIMS: readonly string[] = [PATHS, IDENTIFIERS, "registries", "rules"];

export const DOC_VERBS: Readonly<Record<string, DocVerb>> = {
    at: PATH_ONLY,
    "declared at": DECLARED,
    "defined at": DECLARED,
    "enforced by": { checks: [PATH_EXISTS], satisfies: [PATHS, "rules"] },
    exports: EXPORTED,
    from: PATH_ONLY,
    "imports from": EXPORTED,
    in: PATH_ONLY,
    "lives at": EXPORTED,
    "located at": EXPORTED,
    "registered at": {
        checks: [PATH_EXISTS, "ident-referenced-in-path"],
        satisfies: [PATHS, IDENTIFIERS, "registries"],
    },
    see: PATH_ONLY,
    via: PATH_ONLY,
};

export const EXPORT_FORMS: readonly string[] = [
    "export const ",
    "export function ",
    "export class ",
    "export type ",
    "export interface ",
    "export enum ",
    "export { ",
];

export const DECLARE_FORMS: readonly string[] = [
    "const ",
    "function ",
    "class ",
    "type ",
    "interface ",
    "enum ",
    "let ",
];
```
