Navigate

API reference

@pyric/cli/flow

7 published symbols from @pyric/cli

Generated from the TypeScript declarations shipped at this import path.

Interfaces

FlowTreatment

Properties

PropertyTypeDescription
cssstringScope rules with html[data-pyric-treatment=“your-id”].

Methods

mount()?
optional mount(context: FlowTreatmentContext): FlowTreatmentInstance;
Parameters
ParameterType
contextFlowTreatmentContext
Returns

FlowTreatmentInstance


FlowTreatmentContext

Properties

PropertyType
containerHTMLElement
documentDocument

Methods

history()
history(): readonly FlowTreatmentRecord[];

Last five observed paints, pruned as targets disappear or are hidden.

Returns

readonly FlowTreatmentRecord[]


FlowTreatmentInstance

Methods

dispose()
dispose(): void;
Returns

void

update()
update(): void;
Returns

void


FlowTreatmentManifest

Properties

PropertyType
treatment?string
treatmentsFlowTreatmentMetadata & { url: string; }[]

FlowTreatmentMetadata

Browser-side extension contract. Implementations run as application code.

Properties

PropertyType
descriptionstring
group"Standard" | "Experimental" | "Custom"
idstring
namestring

FlowTreatmentRecord

Properties

PropertyType
elementsreadonly HTMLElement[]
labelstring
listenerIdstring
sequencenumber
targetstring

FlowTreatmentState

Properties

PropertyType
choicesreadonly FlowTreatmentMetadata[]
errorstring
loadingstring
retrystring
selectedstring