Skip to main content

index

Interfaces

BaetaOptions

Properties

PropertyTypeDescription

graphql

GeneratorOptions

Configuration for the GraphQL code generator.

compiler?

CompilerOptions

Configuration for the TypeScript compiler. It uses esbuild under the hood and creates an optimized bundle.

plugins?

Plugins

Plugins to extend Baeta's functionality.

Type Aliases

Plugin

Plugin: GeneratorPluginV1

Represents a Baeta plugin.


Plugins

Plugins: (Plugin | Plugin[])[]

Collection of Baeta plugins.

Functions

defineConfig()

defineConfig(config): object

Helper function to define a type-safe Baeta configuration.

Parameters

ParameterType

config

BaetaOptions

Returns

object

NameType
configBaetaOptions