mirror of
https://github.com/overleaf/overleaf.git
synced 2024-11-21 20:47:08 -05:00
caeceba28c
* Implement INR geopricing test * Show again the INR banner after 30 days * Update INRBanner to direct users to the plans page and add tracking * Remove local testing hack in GeoIpLookup * Update formatter for subscription dashboard * Flip assignment to assign all users and add event segmentations * Fix linting * Review suggestions - factorised recommended currency helper function GitOrigin-RevId: b1616520f8c7ead689a840720057297e67d3f574
18 lines
319 B
TypeScript
18 lines
319 B
TypeScript
export const currencies = <const>{
|
|
USD: '$',
|
|
EUR: '€',
|
|
GBP: '£',
|
|
SEK: 'kr',
|
|
CAD: '$',
|
|
NOK: 'kr',
|
|
DKK: 'kr',
|
|
AUD: '$',
|
|
NZD: '$',
|
|
CHF: 'Fr',
|
|
SGD: '$',
|
|
INR: '₹',
|
|
}
|
|
|
|
type Currency = typeof currencies
|
|
export type CurrencyCode = keyof Currency
|
|
export type CurrencySymbol = Currency[CurrencyCode]
|