import type { Exclude, Group, Include, Output, OutputOptions, Override } from '@kubb/kit' /** * The options every plugin accepts: `output`, `group`, and the `exclude`, `include`, and `override` filters. * `TResolvedOptions` is the options object an `override` entry can set. */ export type PluginOptions = OutputOptions & { /** * Skip operations matching at least one entry in the list. */ exclude?: Array /** * Restrict generation to operations matching at least one entry in the list. */ include?: Array /** * Apply a different options object to operations matching a pattern. */ override?: Array> } /** * The common options after a plugin applies its defaults. */ export interface ResolvedPluginOptions { output: Output exclude: Array include: Array | undefined override: Array> group: Group | null }