interface TransformationPlugin

Custom transformation plugin definition

Properties

type: string

Unique identifier for the transformation

name: string

Human-readable name

optional
description: string

Description of what the transformation does

execute: (
rules: readonly string[],
) => Promise<readonly string[]> | readonly string[]

The transformation implementation

Usage

import { type TransformationPlugin } from ".";