This commit is contained in:
Josh 2026-01-09 00:16:46 +02:00
commit d69342b2e9
160 changed files with 28681 additions and 0 deletions

View file

@ -0,0 +1,10 @@
import { atom } from 'nanostores'
import { createFetcherStore } from './fetcher'
import type { AnalyticsSummary } from '../types'
export const $days = atom(30)
export const $analytics = createFetcherStore<AnalyticsSummary>([
'/api/studio/analytics?days=',
$days,
])