feat: Add supported currencies to store model (#6562)

I ultimately went with having a flat list of settings for the store. It wouldn't be very difficult to change it if we wish to do so, but for now this keeps the codebase simpler
This commit is contained in:
Stevche Radevski
2024-03-01 16:43:47 +01:00
committed by GitHub
parent 347aba719c
commit 71ed21de4a
10 changed files with 40 additions and 3 deletions
+3
View File
@@ -35,6 +35,9 @@ export default class Store {
@Property({ columnType: "text", default: "Medusa Store" })
name: string
@Property({ type: "array", default: "{}" })
supported_currency_codes: string[] = []
@Property({ columnType: "text", nullable: true })
default_sales_channel_id: string | null = null