@tasenor/common-plugins 1.17.15 → 1.17.16
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/.turbo/turbo-release.log +2 -2
- package/package.json +5 -5
- package/src/AssetReport/backend/index.ts +6 -2
- package/src/TickerData/backend/cryptocurrencies.json +3 -2
- package/src/TickerData/backend/etf.json +3 -1
- package/src/TickerData/backend/hel.json +3 -2
- package/src/TickerData/backend/nyse.json +6 -1
- package/src/TickerData/backend/xetra.json +3 -2
package/.turbo/turbo-release.log
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
|
|
2
2
|
|
|
3
|
-
> @tasenor/common-plugins@1.17.
|
|
3
|
+
> @tasenor/common-plugins@1.17.15 release /home/wigy/project/tasenor-qa/tasenor-bookkeeper/packages/tasenor-common-plugins
|
|
4
4
|
> pnpm version patch && pnpm publish --force --access public --no-git-checks
|
|
5
5
|
|
|
6
6
|
[1mnpm[22m [33mwarn[39m [94mUnknown env config "auto-install-peers". This will stop working in the next major version of npm.[39m
|
|
7
|
-
v1.17.
|
|
7
|
+
v1.17.16
|
|
8
8
|
[43m[30m WARN [39m[49m using --force I sure hope you know what you are doing
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@tasenor/common-plugins",
|
|
3
|
-
"version": "1.17.
|
|
3
|
+
"version": "1.17.16",
|
|
4
4
|
"description": "Shared common plugins of Tasenor project",
|
|
5
5
|
"repository": "git@github.com:dataplugoy/tasenor-bookkeeper.git",
|
|
6
6
|
"author": "Tommi Ronkainen <tommi.ronkainen@gmail.com>",
|
|
@@ -13,9 +13,9 @@
|
|
|
13
13
|
"dayjs": "1.10.8",
|
|
14
14
|
"sprintf-js": "^1.1.2",
|
|
15
15
|
"tsx": "^4.7.0",
|
|
16
|
-
"@tasenor/common": "1.17.
|
|
17
|
-
"@tasenor/common-
|
|
18
|
-
"@tasenor/common
|
|
16
|
+
"@tasenor/common-node": "1.17.16",
|
|
17
|
+
"@tasenor/common-ui": "1.17.16",
|
|
18
|
+
"@tasenor/common": "1.17.16"
|
|
19
19
|
},
|
|
20
20
|
"devDependencies": {
|
|
21
21
|
"@mui/icons-material": "^5.14.1",
|
|
@@ -31,7 +31,7 @@
|
|
|
31
31
|
"react-i18next": "^14.0.5",
|
|
32
32
|
"react-router-dom": "^6.14.1",
|
|
33
33
|
"typescript": "^5.1.6",
|
|
34
|
-
"@tasenor/config": "1.17.
|
|
34
|
+
"@tasenor/config": "1.17.16",
|
|
35
35
|
"eslint-config-tasenor": "0.0.0"
|
|
36
36
|
},
|
|
37
37
|
"peerDependencies": {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { AccountNumber, Language, PluginCode, ReportColumnDefinition, ReportData, ReportID, ReportLine, ReportMeta, ReportOptions, ReportQueryParams, StockBookkeeping, StockChangeData, Version, getBackendCatalog } from '@tasenor/common'
|
|
1
|
+
import { AccountNumber, Language, PluginCode, ReportColumnDefinition, ReportData, ReportFormat, ReportID, ReportLine, ReportMeta, ReportOptions, ReportQueryParams, StockBookkeeping, StockChangeData, Version, getBackendCatalog } from '@tasenor/common'
|
|
2
2
|
import { ReportPlugin } from '@tasenor/common-node'
|
|
3
3
|
import dayjs from 'dayjs'
|
|
4
4
|
import quarterOfYear from 'dayjs/plugin/quarterOfYear'
|
|
@@ -50,6 +50,10 @@ class AssetReport extends ReportPlugin {
|
|
|
50
50
|
}
|
|
51
51
|
}
|
|
52
52
|
|
|
53
|
+
getReportStructure(id: ReportID, lang: Language) : ReportFormat | undefined {
|
|
54
|
+
return undefined
|
|
55
|
+
}
|
|
56
|
+
|
|
53
57
|
// eslint-disable-next-line @typescript-eslint/no-unused-vars
|
|
54
58
|
async getColumns(id: ReportID, entries: ReportData[], options: ReportOptions, settings: ReportMeta): Promise<ReportColumnDefinition[]> {
|
|
55
59
|
return [
|
|
@@ -136,7 +140,7 @@ class AssetReport extends ReportPlugin {
|
|
|
136
140
|
const value = bookkeeping.value(asset)
|
|
137
141
|
// TODO: This is a problematic. It assumes free plugin, since there is no verification.
|
|
138
142
|
// There should be mechanism to be passed accessibility to this function and ignore
|
|
139
|
-
//
|
|
143
|
+
// call if not subscribed to this plugin.
|
|
140
144
|
const tickers = await getBackendCatalog().queryBackend('ticker', `${type}:${asset}`)
|
|
141
145
|
// TODO: How to differentiate between multiple answers? Perhaps need to ask during the import and store somehow?
|
|
142
146
|
// If so, we need to query `${type}:${exchange}:${asset}` instead.
|
|
@@ -3335,5 +3335,7 @@
|
|
|
3335
3335
|
"ZTEN": "F/M 10-Year Investment Grade Corporate Bond ETF",
|
|
3336
3336
|
"ZTRE": "F/M 3-Year Investment Grade Corporate Bond ETF",
|
|
3337
3337
|
"ZTWO": "F/M 2-Year Investment Grade Corporate Bond ETF",
|
|
3338
|
-
"ZZZ": "Cyber Hornet S&P 500 & Bitcoin 75/25 Strategy ETF"
|
|
3338
|
+
"ZZZ": "Cyber Hornet S&P 500 & Bitcoin 75/25 Strategy ETF",
|
|
3339
|
+
"EXUS": "Xtrackers MSCI World ex USA",
|
|
3340
|
+
"VVSM": "VanEck Semiconductor"
|
|
3339
3341
|
}
|
|
@@ -514,5 +514,10 @@
|
|
|
514
514
|
"YUMC": "Yum China Holdings, Inc.",
|
|
515
515
|
"ZBH": "Zimmer Biomet Holdings, Inc.",
|
|
516
516
|
"ZTO": "ZTO Express (Cayman) Inc.",
|
|
517
|
-
"ZTS": "Zoetis Inc."
|
|
517
|
+
"ZTS": "Zoetis Inc.",
|
|
518
|
+
"SILA": "Sila Realty Trust Inc.",
|
|
519
|
+
"RYN": "Rayonier Inc.",
|
|
520
|
+
"HASI": "HA Sustainable Infrastructure Capital, Inc.",
|
|
521
|
+
"KRG": "Kite Realty Group Trust",
|
|
522
|
+
"MTN": "Vail Resorts, Inc."
|
|
518
523
|
}
|
|
@@ -11,5 +11,6 @@
|
|
|
11
11
|
"RIZF": "Rize Sustainable Future of Food UCITS ETF - USD Acc",
|
|
12
12
|
"ESP0": "VanEck Video Gaming and eSports UCITS ETF",
|
|
13
13
|
"W1TA": "WisdomTree Battery Solutions UCITS ETF - USD Acc",
|
|
14
|
-
"WTEJ": "WisdomTree Cloud Computing UCITS ETF - USD Acc"
|
|
15
|
-
|
|
14
|
+
"WTEJ": "WisdomTree Cloud Computing UCITS ETF - USD Acc",
|
|
15
|
+
"IWG": "International Workplace Group"
|
|
16
|
+
}
|