feat: add currencies XAG and XAU (#535)

* Added currencies XAG and XAU to currency.ts

I added XAG and XAU for myself and others who prefer to measure value with something of substance.

Review the ISO 4217 standard to view a full list of official currency codes including the ones I have added.

https://www.iso.org/iso-4217-currency-codes.html
https://en.wikipedia.org/wiki/ISO_4217

Example:
https://www.xe.com/currencyconverter/convert/?Amount=100&From=XAG&To=USD

API for exchange rates:
https://openexchangerates.org/

* Added field values xag and xau to group.go

* Update group.go
Former-commit-id: 5438898b49
This commit is contained in:
tctlrd 2023-08-23 12:29:22 -05:00 committed by GitHub
parent be8d6e8235
commit 0b021e898f
3 changed files with 9 additions and 1 deletions

View file

@ -58,6 +58,8 @@ func (Group) Fields() []ent.Field {
"thb",
"try",
"usd",
"xag",
"xau",
"zar",
),
}