mirror of
https://github.com/codeninjasllc/codecombat.git
synced 2024-11-28 01:55:38 -05:00
18 lines
620 B
CoffeeScript
18 lines
620 B
CoffeeScript
|
c = require './../schemas'
|
||
|
|
||
|
AnalyticsPerDaySchema = c.object {
|
||
|
title: 'Analytics per-day data'
|
||
|
description: 'Analytics data aggregated into per-day chunks.'
|
||
|
}
|
||
|
|
||
|
_.extend AnalyticsPerDaySchema.properties,
|
||
|
d: {type: 'string'} # yyyymmdd day, e.g. '20150123'
|
||
|
l: {type: 'integer'} # level (analytics ID from analytics.strings)
|
||
|
f: {type: 'integer'} # filter (analytics ID from analytics.strings)
|
||
|
fv: {type: 'integer'} # filter value (analytics ID from analytics.strings)
|
||
|
c: {type: 'integer'} # count
|
||
|
|
||
|
c.extendBasicProperties AnalyticsPerDaySchema, 'analytics.perday'
|
||
|
|
||
|
module.exports = AnalyticsPerDaySchema
|