Skip to main content

Variable: metricsMethods

const metricsMethods: object

Defined in: src/api/handlers/xrpc/metrics/index.ts:31

Metrics XRPC methods keyed by NSID.

Type declaration

pub.chive.metrics.getMetrics

readonly getMetrics: XRPCMethod<QueryParams, void, OutputSchema> = getMetrics

pub.chive.metrics.getTrending

readonly getTrending: XRPCMethod<QueryParams, void, OutputSchema> = getTrending

pub.chive.metrics.getViewCount

readonly getViewCount: XRPCMethod<QueryParams, void, OutputSchema> = getViewCount

pub.chive.metrics.recordDownload

readonly recordDownload: XRPCMethod<void, InputSchema, OutputSchema> = recordDownload

pub.chive.metrics.recordDwellTime

readonly recordDwellTime: XRPCMethod<void, InputSchema, OutputSchema> = recordDwellTime

pub.chive.metrics.recordSearchClick

readonly recordSearchClick: XRPCMethod<void, InputSchema, OutputSchema> = recordSearchClick

pub.chive.metrics.recordSearchDownload

readonly recordSearchDownload: XRPCMethod<void, InputSchema, OutputSchema> = recordSearchDownload

pub.chive.metrics.recordView

readonly recordView: XRPCMethod<void, InputSchema, OutputSchema> = recordView