Add getUsageStats operation + hook
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
This commit is contained in:
15447
src/index.tsx
15447
src/index.tsx
File diff suppressed because it is too large
Load Diff
26
src/operations/usage_stats.gql
Normal file
26
src/operations/usage_stats.gql
Normal file
@@ -0,0 +1,26 @@
|
|||||||
|
query getUsageStats($days: Int! = 30) {
|
||||||
|
getUsageStats(days: $days) {
|
||||||
|
totalUsers
|
||||||
|
totalVideos
|
||||||
|
totalShots
|
||||||
|
totalRuns
|
||||||
|
windows {
|
||||||
|
label
|
||||||
|
newUsers
|
||||||
|
activeUsers
|
||||||
|
sessions
|
||||||
|
shots
|
||||||
|
}
|
||||||
|
daily {
|
||||||
|
day
|
||||||
|
newUsers
|
||||||
|
activeUsers
|
||||||
|
sessions
|
||||||
|
shots
|
||||||
|
}
|
||||||
|
processingLast24h {
|
||||||
|
status
|
||||||
|
count
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
Reference in New Issue
Block a user