Settings

class alliance_platform.codegen.settings.AlliancePlatformCodegenSettingsType[source]
JS_ROOT_DIR: Path | str | None[source]

Root directory for frontend code. When imports are defined as a Path they will be resolved relative to this directory. Defaults to “CORE.PROJECT_DIR”.

TEMP_DIR: Path | str | None[source]

The directory to use for temporary files. If not set, the default provided by NamedTemporaryFile.

POST_PROCESSORS: str | list['ArtifactPostProcessor'] | None[source]

List of post processors to run on generated artifacts. Alternatively, this can be a string import path to a list of processors.

REGISTRY: str | 'CodegenRegistry' | Callable[[], 'CodegenRegistry'] | None[source]

Codegen registry to run with the management command. Can be a CodegenRegistry instance, a callable returning one, or a string import path to either.