Skip to content

@pcvl/schema / PvlFactoryName

Type Alias: PvlFactoryName ​

ts
type PvlFactoryName = Exclude<PvlObjectPropertyName, "compile">;

Defined in: types.ts:172

The name of every pvl.* factory a Schema is built from ('string', 'object', …), leaving out 'compile', which marks an existing Schema rather than building one.

Example ​

ts
import { PVL_FACTORY_NAMES_ENUM, type PvlFactoryName } from '@pcvl/schema';

const factory: PvlFactoryName = PVL_FACTORY_NAMES_ENUM.STRING; // 'string'