MCPcopy Index your code
hub / github.com/npmx-dev/npmx.dev / copyAltTextForTimelineChart

Function copyAltTextForTimelineChart

app/utils/charts.ts:794–800  ·  view source on GitHub ↗
({
  dataset,
  config,
}: AltCopyArgs<EnrichedTimelineSizeCacheEntry[], TimelineChartConfig>)

Source from the content-addressed store, hash-verified

792}
793
794export async function copyAltTextForTimelineChart({
795 dataset,
796 config,
797}: AltCopyArgs<EnrichedTimelineSizeCacheEntry[], TimelineChartConfig>) {
798 const altText = createAltTextForTimelineChart({ dataset, config })
799 await config.copy(altText)
800}
801
802// Used in chart context menu callbacks
803// @todo replace with downloadFileLink

Callers 1

charts.spec.tsFile · 0.90

Calls 1

Tested by

no test coverage detected