Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
sagemathinc
GitHub Repository: sagemathinc/cocalc
Path: blob/master/src/packages/util/consts/billing.ts
1447 views
1
/*
2
* This file is part of CoCalc: Copyright © 2020 Sagemath, Inc.
3
* License: MS-RSL – see LICENSE.md for details
4
*/
5
6
const ONE_HOUR_MS = 60 * 60 * 1000;
7
export const ONE_DAY_MS = 24 * ONE_HOUR_MS;
8
export const AVG_MONTH_DAYS = 30.5;
9
export const AVG_YEAR_DAYS = 12 * AVG_MONTH_DAYS;
10
export const ONE_MONTH_MS = AVG_MONTH_DAYS * ONE_DAY_MS;
11
12
// throughout the UI, we show this price as the minimum (per month)
13
export const LICENSE_MIN_PRICE = "about $6/month";
14
15
// Trial Banner in the UI
16
export const EVALUATION_PERIOD_DAYS = 3;
17
export const BANNER_NON_DISMISSIBLE_DAYS = 7;
18
19