···195195}
196196197197export type AbstractApiOptions = Record<any, any> & { logger: Logger }
198198+199199+export type keyOmit<T, U extends keyof any> = T & { [P in U]?: never }
···22import { ClientAIOConfig } from "./client/clients.js";
33import { RequestRetryOptions } from "./common.js";
44import { WebhookConfig } from "./health/webhooks.js";
55-import { CommonSourceOptions, ScrobbleThresholds, SourceRetryOptions } from "./source/index.js";
55+import { CommonSourceOptions, SourceRetryOptions } from "./source/index.js";
66import { SourceAIOConfig } from "./source/sources.js";
778899-export interface SourceDefaults extends SourceRetryOptions {
1010- /**
1111- * Set thresholds for when multi-scrobbler should consider a tracked play to be "scrobbable". If both duration and percent are defined then if either condition is met the track is scrobbled.
1212- * */
1313- scrobbleThresholds?: ScrobbleThresholds
1414- options?: CommonSourceOptions
99+export interface SourceDefaults extends CommonSourceOptions {
1510}
1111+1612export interface AIOConfig {
1713 sourceDefaults?: SourceDefaults
1814 clientDefaults?: RequestRetryOptions
···2525 * @examples [["MyServerName"]]
2626 * */
2727 servers?: string | string[]
2828-2929- /**
3030- * Additional options for Plex/Tautulli logging and tuning
3131- * */
3232- options?: {
3333-3434- /**
3535- * How MS should log when a Plex/Tautulli event fails a defined filter (users/servers)
3636- *
3737- * * `false` => do not log
3838- * * `debug` => log to DEBUG level
3939- * * `warn` => log to WARN level (default)
4040- *
4141- * Hint: This is useful if you are sure this source is setup correctly and you have multiple other Plex/Tautulli sources. Set to `debug` or `false` to reduce log noise.
4242- *
4343- * @default warn
4444- * @examples ["warn"]
4545- * */
4646- logFilterFailure?: false | 'debug' | 'warn'
4747- }
4828}
49295030export interface PlexSourceConfig extends CommonSourceConfig {