# configuration/strings/template.strings.ts

> 31 lines of code and 12 definitions.

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

Listed in [configuration/strings](https://banes-lab.com/api/source/docs/configuration/strings.md), after [configuration/strings/system.strings.ts](https://banes-lab.com/source/docs/configuration/strings/system.strings.ts.md).

## Definitions

- `notActivity` (lexical_declaration, line 8, exported)
- `brokenName` (lexical_declaration, line 12, exported)
- `unplaceable` (lexical_declaration, line 16, exported)
- `concernHint` (lexical_declaration, line 20, exported)
- `memberHint` (lexical_declaration, line 24, exported)
- `alreadyExists` (lexical_declaration, line 28, exported)
- `created` (lexical_declaration, line 32, exported)
- `unknownForm` (lexical_declaration, line 1, exported)
- `MISSING_SUBJECT` (lexical_declaration, line 5, exported)
- `placeholderSummary` (lexical_declaration, line 36, exported)
- `MODULE_BODY` (lexical_declaration, line 40, exported)
- `DEFAULT_BODY` (lexical_declaration, line 42, exported)

## Contained in

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

## Used by

- [core/coordinators/template.coordinator.ts](https://banes-lab.com/source/docs/core/coordinators/template.coordinator.ts.md)

## Linked from

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

## Source

```typescript
export const unknownForm = function unknownForm(form: string, valid: string): string {
    return `✖ docs:new — unknown form "${form}". Valid forms: ${valid}`;
};

export const MISSING_SUBJECT =
    "✖ docs:new — provide --subject (the topic tail); the name composes as <prefix>-[<verb>-]<subject>.";

export const notActivity = function notActivity(form: string, concern: string, activities: string): string {
    return `✖ docs:new — form "${form}" is directive; concern "${concern}" must be an activity (${activities}).`;
};

export const brokenName = function brokenName(name: string, detail: string): string {
    return `✖ docs:new — name "${name}" breaks the naming convention: ${detail}`;
};

export const unplaceable = function unplaceable(reason: string, detail: string, hint: string): string {
    return `✖ docs:new — ${reason}: ${detail}.${hint}`;
};

export const concernHint = function concernHint(concerns: string): string {
    return ` Valid concerns: ${concerns}.`;
};

export const memberHint = function memberHint(members: string): string {
    return ` Pass --member <one of: ${members}>.`;
};

export const alreadyExists = function alreadyExists(path: string): string {
    return `✖ docs:new — already exists: ${path}`;
};

export const created = function created(path: string): string {
    return `✓ docs:new — created ${path}`;
};

export const placeholderSummary = function placeholderSummary(name: string): string {
    return `One-line summary of ${name}.`;
};

export const MODULE_BODY = "Newest entries first.";

export const DEFAULT_BODY = "Content.";
```
