@cranberry-money/shared-constants 4.7.0 → 4.7.1
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.
|
@@ -20,7 +20,11 @@ export declare const INSTRUMENT_TYPE_VALUES: {
|
|
|
20
20
|
readonly INDEX: "index";
|
|
21
21
|
};
|
|
22
22
|
export type InstrumentType = typeof INSTRUMENT_TYPE[keyof typeof INSTRUMENT_TYPE];
|
|
23
|
-
export declare const INSTRUMENT_TYPE_LABELS:
|
|
23
|
+
export declare const INSTRUMENT_TYPE_LABELS: {
|
|
24
|
+
readonly etf: "ETF";
|
|
25
|
+
readonly fund: "Fund";
|
|
26
|
+
readonly stock: "Stock";
|
|
27
|
+
};
|
|
24
28
|
export declare const ASSET_CLASS: {
|
|
25
29
|
readonly EQUITY: "EQUITY";
|
|
26
30
|
readonly FIXED_INCOME: "FIXED_INCOME";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"instruments.d.ts","sourceRoot":"","sources":["../../src/financial/instruments.ts"],"names":[],"mappings":"AAAA;;GAEG;AAGH,eAAO,MAAM,eAAe;;;;;;;;CAQlB,CAAC;AAGX,eAAO,MAAM,sBAAsB;;;;;;;;CAQzB,CAAC;AAEX,MAAM,MAAM,cAAc,GAAG,OAAO,eAAe,CAAC,MAAM,OAAO,eAAe,CAAC,CAAC;AAGlF,eAAO,MAAM,sBAAsB,
|
|
1
|
+
{"version":3,"file":"instruments.d.ts","sourceRoot":"","sources":["../../src/financial/instruments.ts"],"names":[],"mappings":"AAAA;;GAEG;AAGH,eAAO,MAAM,eAAe;;;;;;;;CAQlB,CAAC;AAGX,eAAO,MAAM,sBAAsB;;;;;;;;CAQzB,CAAC;AAEX,MAAM,MAAM,cAAc,GAAG,OAAO,eAAe,CAAC,MAAM,OAAO,eAAe,CAAC,CAAC;AAGlF,eAAO,MAAM,sBAAsB;;;;CAIzB,CAAC;AAGX,eAAO,MAAM,WAAW;;;;;;;CAOd,CAAC;AAEX,MAAM,MAAM,UAAU,GAAG,OAAO,WAAW,CAAC,MAAM,OAAO,WAAW,CAAC,CAAC;AAEtE,eAAO,MAAM,kBAAkB,EAAE,MAAM,CAAC,UAAU,EAAE,MAAM,CAOhD,CAAC;AAGX,eAAO,MAAM,iBAAiB;;;;;;;CAOpB,CAAC;AAEX,MAAM,MAAM,gBAAgB,GAAG,OAAO,iBAAiB,CAAC,MAAM,OAAO,iBAAiB,CAAC,CAAC;AAGxF,eAAO,MAAM,eAAe,EAAE,MAAM,CAAC,gBAAgB,EAAE,MAAM,CAOnD,CAAC;AAGX,eAAO,MAAM,mBAAmB,OAA6B,CAAC;AAC9D,eAAO,MAAM,oBAAoB,QAA8B,CAAC;AAChE,eAAO,MAAM,qBAAqB,SAA+B,CAAC"}
|
|
@@ -24,15 +24,11 @@ exports.INSTRUMENT_TYPE_VALUES = {
|
|
|
24
24
|
CRYPTO: 'crypto',
|
|
25
25
|
INDEX: 'index',
|
|
26
26
|
};
|
|
27
|
-
// Instrument type labels
|
|
27
|
+
// Instrument type labels (using lowercase keys for Blueberry compatibility)
|
|
28
28
|
exports.INSTRUMENT_TYPE_LABELS = {
|
|
29
|
-
[exports.
|
|
30
|
-
[exports.
|
|
31
|
-
[exports.
|
|
32
|
-
[exports.INSTRUMENT_TYPE.BOND]: 'Bond',
|
|
33
|
-
[exports.INSTRUMENT_TYPE.COMMODITY]: 'Commodity',
|
|
34
|
-
[exports.INSTRUMENT_TYPE.CRYPTO]: 'Cryptocurrency',
|
|
35
|
-
[exports.INSTRUMENT_TYPE.INDEX]: 'Index',
|
|
29
|
+
[exports.INSTRUMENT_TYPE_VALUES.ETF]: 'ETF',
|
|
30
|
+
[exports.INSTRUMENT_TYPE_VALUES.FUND]: 'Fund',
|
|
31
|
+
[exports.INSTRUMENT_TYPE_VALUES.STOCK]: 'Stock',
|
|
36
32
|
};
|
|
37
33
|
// Asset classes
|
|
38
34
|
exports.ASSET_CLASS = {
|