# tools/core/strings/document.strings.ts

> 15 lines of code and 4 definitions.

Tree: Coordination tree
Language: typescript
Layer: product
Canonical: https://banes-lab.com/anatomy/coordination#file-coordination-tools-core-strings-document-strings-ts
Source text: https://banes-lab.com/assets/sources/source.3219ded86ab274e6229e59317ecb0f3fa1cc687ab69f33fb1dc4b0962555449a.generated.txt

## Definitions

- `generatorRunning` (lexical_declaration, line 5, exported)
- `generatorFailed` (lexical_declaration, line 9, exported)
- `generatorsRan` (lexical_declaration, line 16, exported)
- `NO_GENERATOR` (lexical_declaration, line 1, exported)

## Used by

- [tools/core/entrypoints/document.entrypoint.ts](https://banes-lab.com/source/coordination/tools/core/entrypoints/document.entrypoint.ts.md)

## Source

```typescript
export const NO_GENERATOR =
    "ABSENT  This project declares no document generator, so there is nothing to run. The README is edited " +
    "directly.\n";

export const generatorRunning = function generatorRunning(invocation: string): string {
    return `RUNNING  ${invocation}\n`;
};

export const generatorFailed = function generatorFailed(invocation: string, status: number | null): string {
    return (
        `FAILED  ${invocation} exited with ${String(status)}. The command comes from the document_generators ` +
        "setting and runs from the package folder, so check that setting first.\n"
    );
};

export const generatorsRan = function generatorsRan(count: number): string {
    return `GENERATED  ${String(count)} document generator(s) ran from the package folder.\n`;
};
```
