@team_yumi/ramen 0.4.0 → 0.6.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json
CHANGED
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
export declare type SupportedCountries = 'yu' | 'cl' | 'ar' | 'pe' | 'co' | 'br';
|
|
2
|
+
export declare type CurrencySymbol = '$' | '€';
|
|
3
|
+
export declare type ThousandSeparator = '.' | ',';
|
|
4
|
+
export declare type DecimalSeparator = '.' | ',';
|
|
5
|
+
export declare type Currency = {
|
|
6
|
+
locale: string;
|
|
7
|
+
prefix: CurrencySymbol;
|
|
8
|
+
currency: string;
|
|
9
|
+
thousandSeparator: ThousandSeparator;
|
|
10
|
+
decimalSeparator: DecimalSeparator;
|
|
11
|
+
};
|
|
12
|
+
export declare const cl: Currency;
|
|
13
|
+
export declare const yu: Currency;
|
|
14
|
+
export declare const co: Currency;
|
|
15
|
+
export declare const pe: Currency;
|
|
16
|
+
export declare const ar: Currency;
|
|
17
|
+
export declare const br: Currency;
|
|
18
|
+
export declare const countries: Record<SupportedCountries, Currency>;
|