Skip to main content

Interface: SettingsStateManager

Defined in: shared/fitParser.ts:13

Settings adapter surface consumed by the FIT parser.

Properties​

getCategory​

getCategory: (category: string) =>
| Partial<DecoderOptions>
| null
| undefined;

Defined in: shared/fitParser.ts:14

Parameters​

category​

string

Returns​

| Partial<DecoderOptions> | null | undefined


updateCategory​

updateCategory: (
category: string,
value: Partial<DecoderOptions>,
opts?: {
silent?: boolean;
source?: string;
}
) => unknown;

Defined in: shared/fitParser.ts:21

Persist a category synchronously; async adapters are rejected by the parser.

Parameters​

category​

string

value​

Partial<DecoderOptions>

opts?​
silent?​

boolean

source?​

string

Returns​

unknown