mirror of
https://github.com/codeninjasllc/codecombat.git
synced 2024-11-23 15:48:11 -05:00
0768b533e2
Caching older (at least 16 days) Stripe invoices in analytics collection, which will be updated once a day via the analytics server cron job.
14 lines
369 B
CoffeeScript
14 lines
369 B
CoffeeScript
c = require './../schemas'
|
|
|
|
AnalyticsStripeInvoiceSchema = c.object {
|
|
title: 'Analytics Stripe Invoice'
|
|
}
|
|
|
|
_.extend AnalyticsStripeInvoiceSchema.properties,
|
|
_id: {type: 'string'}
|
|
date: {type: 'integer'}
|
|
properties: {type: 'object'}
|
|
|
|
c.extendBasicProperties AnalyticsStripeInvoiceSchema, 'analytics.stripe.invoice'
|
|
|
|
module.exports = AnalyticsStripeInvoiceSchema
|