Μετάβαση στο περιεχόμενο

normalizeBehaviorEntries

Αυτό το περιεχόμενο δεν είναι ακόμη διαθέσιμο στη γλώσσα σου.

normalizeBehaviorEntries(entries, location, allowTuple?, accumulators?): object

Defined in: packages/pipeline/src/helpers/behavior-entries.ts:62

First identity fixes placement; the last tuple supplies options. Bare repeats preserve options.

Pass accumulators to apply that rule across multiple entry lists — global before and after share one set so a behavior declared in both runs once, at its first position, without the bare repeat erasing tuple options.

readonly unknown[]

Raw declarations, each a behavior class or [Class, options].

string

Human-readable declaration site, used in thrown messages.

boolean = true

Whether [Class, options] is accepted (@SkipPipeline takes classes only).

BehaviorEntryAccumulators

Shared dedup state; a fresh pair is used when omitted.

object

Types to include, in first-seen order, plus the options map.

options: Map<BehaviorId, Record<string, unknown>>

types: Constructor<IPipelineBehavior<unknown, unknown>>[]