# configuration/strings/chapter.strings.ts

> 11 lines of code and 2 definitions.

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

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

## Definitions

- `chapterRefused` (lexical_declaration, line 1, exported)
- `chaptersLine` (lexical_declaration, line 5, exported)

## Contained in

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

## Used by

- [core/coordinators/chapter.coordinator.ts](https://banes-lab.com/source/build-scripts/core/coordinators/chapter.coordinator.ts.md)

## Linked from

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

## Source

```typescript
export const chapterRefused = function chapterRefused(shape: string, reason: string): string {
    return `chapters: the ${shape} shape was not rendered. ${reason}`;
};

export const chaptersLine = function chaptersLine(
    shape: string,
    written: number,
    removed: number,
    out: string,
): string {
    return `chapters: rendered ${String(written)} ${shape} chapter(s) into ${out}, removed ${String(removed)}\n`;
};
```
