dependabit / monitor/src / DependencyConfig
Interface: DependencyConfig
Defined in: packages/monitor/src/monitor.ts:32
Runtime descriptor passed to the monitor for a single tracked dependency.
Remarks
Extends AccessConfig with identity, state-tracking, and monitoring rule fields. This is typically constructed by reading a DependencyEntry from a manifest and projecting the relevant fields.
Config
Pitfalls
currentStateHashmust reflect the last known good state fetched by the monitor. An empty string or stale hash causes the first check to always report a change (false positive on first run).lastCheckedis used by theSchedulerto decide whether a dependency is due for checking. An incorrect or missing timestamp causes either perpetual over-checking (missing timestamp) or silent skipping (future timestamp).
Extends
Properties
| Property | Type | Inherited from | Defined in |
|---|---|---|---|
accessMethod | "context7" | "arxiv" | "openapi" | "github-api" | "http" | AccessConfig.accessMethod | packages/monitor/src/types.ts:71 |
auth? | { secret?: string; type: "token" | "oauth" | "basic" | "none"; } | AccessConfig.auth | packages/monitor/src/types.ts:72 |
auth.secret? | string | - | packages/monitor/src/types.ts:74 |
auth.type | "token" | "oauth" | "basic" | "none" | - | packages/monitor/src/types.ts:73 |
currentStateHash | string | - | packages/monitor/src/monitor.ts:36 |
currentVersion? | string | - | packages/monitor/src/monitor.ts:37 |
id | string | - | packages/monitor/src/monitor.ts:33 |
lastChecked? | string | - | packages/monitor/src/monitor.ts:38 |
monitoring? | { enabled?: boolean; ignoreChanges?: boolean; } | - | packages/monitor/src/monitor.ts:39 |
monitoring.enabled? | boolean | - | packages/monitor/src/monitor.ts:40 |
monitoring.ignoreChanges? | boolean | - | packages/monitor/src/monitor.ts:41 |
name? | string | - | packages/monitor/src/monitor.ts:34 |
type? | string | - | packages/monitor/src/monitor.ts:35 |
url | string | AccessConfig.url | packages/monitor/src/types.ts:70 |