refactor(dashboard): refresh domains (#7087)

This commit is contained in:
Frane Polić
2024-04-24 10:38:52 +02:00
committed by GitHub
parent 40686ba980
commit fe68b5c0f2
49 changed files with 624 additions and 228 deletions
+7 -1
View File
@@ -1,9 +1,14 @@
import { BigNumberRawValue } from "@medusajs/types"
import { BigNumber, MikroOrmBigNumberProperty } from "@medusajs/utils"
import {
BigNumber,
MikroOrmBigNumberProperty,
Searchable,
} from "@medusajs/utils"
import { Entity, PrimaryKey, Property } from "@mikro-orm/core"
@Entity({ tableName: "currency" })
class Currency {
@Searchable()
@PrimaryKey({ columnType: "text" })
code!: string
@@ -13,6 +18,7 @@ class Currency {
@Property({ columnType: "text" })
symbol_native: string
@Searchable()
@Property({ columnType: "text" })
name: string