Skip to content
This repository was archived by the owner on Aug 29, 2025. It is now read-only.

Commit 9aa5288

Browse files
committed
Add common-content package to common
Thus all modules (except standalone bookshop) get the content.
1 parent 710c83a commit 9aa5288

File tree

9 files changed

+260
-282
lines changed

9 files changed

+260
-282
lines changed

bookstore/package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@
88
"@capire/common": "*",
99
"@capire/data-viewer": "*",
1010
"@sap/cds": ">=5",
11+
"@sap/cds-common-content": "^1.0.0",
1112
"express": "^4.17.1"
1213
},
1314
"cds": {

common/data/sap.common-Countries.csv

Lines changed: 0 additions & 12 deletions
This file was deleted.

common/data/sap.common-Countries_texts.csv

Lines changed: 0 additions & 12 deletions
This file was deleted.
Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
1-
code;symbol;name;descr;numcode;minor;exponent
2-
EUR;€;Euro;European Euro;978;Cent;2
3-
USD;$;US Dollar;United States Dollar;840;Cent;2
4-
CAD;$;Canadian Dollar;Canadian Dollar;124;Cent;2
5-
AUD;$;Australian Dollar;Australian Dollar;036;Cent;2
6-
GBP;£;British Pound;Great Britain Pound;826;Penny;2
7-
ILS;₪;Shekel;Israeli New Shekel;376;Agorat;2
8-
INR;₹;Rupee;Indian Rupee;356;Paise;2
9-
QAR;﷼;Riyal;Katar Riyal;356;Dirham;2
10-
SAR;﷼;Riyal;Saudi Riyal;682;Halala;2
11-
JPY;¥;Yen;Japanese Yen;392;Sen;2
12-
CNY;¥;Yuan;Chinese Yuan Renminbi;156;Jiao;1
1+
code;symbol;numcode;minor;exponent
2+
EUR;€;978;Cent;2
3+
USD;$;840;Cent;2
4+
CAD;$;124;Cent;2
5+
AUD;$;036;Cent;2
6+
GBP;£;826;Penny;2
7+
ILS;₪;376;Agorat;2
8+
INR;₹;Paise;2
9+
QAR;﷼;356;Dirham;2
10+
SAR;﷼;682;Halala;2
11+
JPY;¥;392;Sen;2
12+
CNY;¥;156;Jiao;1

common/data/sap.common-Currencies_texts.csv

Lines changed: 0 additions & 15 deletions
This file was deleted.

common/data/sap.common-Languages.csv

Lines changed: 0 additions & 5 deletions
This file was deleted.

common/data/sap.common-Languages_texts.csv

Lines changed: 0 additions & 10 deletions
This file was deleted.

common/index.cds

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
using { sap } from '@sap/cds/common';
22

3+
using from '@sap/cds-common-content';
4+
35
extend sap.common.Currencies with {
46
// Currencies.code = ISO 4217 alphabetic three-letter code
57
// with the first two letters being equal to ISO 3166 alphabetic country codes

0 commit comments

Comments
 (0)