# core/resolvers/folder.resolver.ts

> 8 lines of code and 3 definitions.

Tree: GovLab Stats
Language: typescript
Layer: infrastructure
Canonical: https://banes-lab.com/anatomy/stats#file-stats-core-resolvers-folder-resolver-ts
Source text: https://banes-lab.com/source/stats/core/resolvers/folder.resolver.ts.txt

Listed in [core/resolvers](https://banes-lab.com/api/source/stats/core/resolvers.md), before [core/resolvers/package.resolver.ts](https://banes-lab.com/source/stats/core/resolvers/package.resolver.ts.md).

## Definitions

- `otherGateClaims` (lexical_declaration, line 5, exported)
- `docs` (lexical_declaration, line 6, exported)
- `boundary` (lexical_declaration, line 7, exported)

## Contained in

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

## Source

```typescript
import { arrayField, field, stringsIn } from "#core/selectors/field.selector";
import { loadGovlabConfig } from "@govlab/quality/config";
import { relativePath } from "@ssot/paths";

export const otherGateClaims = async function otherGateClaims(root: string): Promise<readonly string[]> {
    const docs = field(await loadGovlabConfig(root), "docs");
    const boundary = stringsIn(arrayField(docs, "boundaryDocs"));
    return [relativePath("docArch"), relativePath("claude"), ...boundary];
};
```
