Skip to content

PURISTA API


PURISTA API / @purista/cli / puristaConfigSchema

Variable: puristaConfigSchema

const puristaConfigSchema: ZodObject<{ $schema: ZodDefault<ZodOptional<ZodString>>; eventBridge: ZodDefault<ZodEnum<{ amqp: "amqp"; dapr: "dapr"; default: "default"; mqtt: "mqtt"; nats: "nats"; }>>; eventConvention: ZodDefault<ZodEnum<{ camel: "camel"; constantCase: "constantCase"; dotCase: "dotCase"; kebab: "kebab"; pascal: "pascal"; pascalSnake: "pascalSnake"; pathCase: "pathCase"; snake: "snake"; trainCase: "trainCase"; }>>; fileConvention: ZodDefault<ZodEnum<{ camel: "camel"; kebab: "kebab"; pascal: "pascal"; pascalSnake: "pascalSnake"; snake: "snake"; }>>; formatter: ZodDefault<ZodEnum<{ biome: "biome"; none: "none"; prettier: "prettier"; }>>; linter: ZodDefault<ZodEnum<{ biome: "biome"; eslint: "eslint"; none: "none"; }>>; runtime: ZodDefault<ZodEnum<{ bun: "bun"; node: "node"; }>>; servicePath: ZodDefault<ZodOptional<ZodString>>; }, $strip>

Defined in: loadPuristaConfig.ts:8

Schema of the purista.json configuration file.