Skip to main content

@flow-state-dev/workforce/fsdev-gen

Interfaces​

WorkforceGeneratedModule​

What one run found and rendered, in the shape fsdev gen takes.

Properties​

content​
content: string;

The rendered module.

entries​
entries: string[];

One line per registration, path -> name, ordered by path.

file​
file: string;

The file to write, relative to the root.

paths​
paths: string[];

Every discovered file, one entry each: what a stale report names.

searched​
searched: string[];

The folders looked in.

summary​
summary: string;

The counts, for the summary line.

Variables​

generator​

const generator: object;

The generator fsdev gen finds on this subpath.

Type Declaration​

defaultRoot​
defaultRoot: string;

The workforce tree's folder, relative to where the command runs.

generate​
generate: typeof generate;