Skip to content

basalt / generator/src / expectedSiblings

Function: expectedSiblings() ​

> expectedSiblings(kind, name, options?): string[]

Defined in: generator/src/generate.ts:94

The files kind will import but not create, as project-relative paths. Pure — it says nothing about what is on disk; see missingSiblings.

A minimal service (crud: false) imports nothing, so it expects nothing.

Parameters ​

kind ​

"schema" | "service" | "routes" | "test" | "repository" | "plugin"

name ​

string | Names

options? ​

GeneratorOptions = {}

Returns ​

string[]

Released under the MIT License.