@levrbet/shared 0.5.45 → 0.5.47

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@levrbet/shared",
3
- "version": "0.5.45",
3
+ "version": "0.5.47",
4
4
  "main": "dist/index.js",
5
5
  "types": "dist/index.d.ts",
6
6
  "exports": {
@@ -593,6 +593,7 @@ model ClosedOrder {
593
593
  model FreeBetCampaign {
594
594
  objectId String @id @default(auto()) @map("_id") @db.ObjectId
595
595
  merkleRoot String @unique
596
+ campaignId Int
596
597
  chainId Int
597
598
  name String
598
599
  description String
@@ -601,6 +602,8 @@ model FreeBetCampaign {
601
602
  entries FreeBetCampaignEntry[]
602
603
 
603
604
  createdAt DateTime @default(now())
605
+
606
+ @@unique([chainId, campaignId])
604
607
  }
605
608
 
606
609
  model FreeBetCampaignEntry {