@medusajs/promotion 3.0.0-preview-20251203060132 → 3.0.0-preview-20251211180557

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.
@@ -1 +1 @@
1
- {"version":3,"file":"Migration20250226130616.d.ts","sourceRoot":"","sources":["../../src/migrations/Migration20250226130616.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,0CAA0C,CAAA;AAEpE,qBAAa,uBAAwB,SAAQ,SAAS;IACrC,EAAE,IAAI,OAAO,CAAC,IAAI,CAAC;IAWnB,IAAI,IAAI,OAAO,CAAC,IAAI,CAAC;CAcrC"}
1
+ {"version":3,"file":"Migration20250226130616.d.ts","sourceRoot":"","sources":["../../src/migrations/Migration20250226130616.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,0CAA0C,CAAA;AAEpE,qBAAa,uBAAwB,SAAQ,SAAS;IACrC,EAAE,IAAI,OAAO,CAAC,IAAI,CAAC;IAWnB,IAAI,IAAI,OAAO,CAAC,IAAI,CAAC;CAUrC"}
@@ -13,7 +13,6 @@ class Migration20250226130616 extends migrations_1.Migration {
13
13
  this.addSql(`drop index if exists "IDX_unique_promotion_code";`);
14
14
  this.addSql(`CREATE UNIQUE INDEX IF NOT EXISTS "IDX_promotion_code_unique" ON "promotion" (code) WHERE deleted_at IS NULL;`);
15
15
  this.addSql(`CREATE INDEX IF NOT EXISTS "IDX_promotion_code" ON "promotion" (code) WHERE deleted_at IS NULL;`);
16
- this.addSql('alter table if exists "promotion" add constraint "IDX_promotion_code_unique" unique ("code");');
17
16
  }
18
17
  }
19
18
  exports.Migration20250226130616 = Migration20250226130616;
@@ -1 +1 @@
1
- {"version":3,"file":"Migration20250226130616.js","sourceRoot":"","sources":["../../src/migrations/Migration20250226130616.ts"],"names":[],"mappings":";;;AAAA,yEAAoE;AAEpE,MAAa,uBAAwB,SAAQ,sBAAS;IAC3C,KAAK,CAAC,EAAE;QACf,IAAI,CAAC,MAAM,CACT,0FAA0F,CAC3F,CAAA;QACD,IAAI,CAAC,MAAM,CAAC,mDAAmD,CAAC,CAAA;QAChE,IAAI,CAAC,MAAM,CAAC,4CAA4C,CAAC,CAAA;QACzD,IAAI,CAAC,MAAM,CACT,+GAA+G,CAChH,CAAA;IACH,CAAC;IAEQ,KAAK,CAAC,IAAI;QACjB,IAAI,CAAC,MAAM,CAAC,mDAAmD,CAAC,CAAA;QAEhE,IAAI,CAAC,MAAM,CACT,+GAA+G,CAChH,CAAA;QACD,IAAI,CAAC,MAAM,CACT,iGAAiG,CAClG,CAAA;QAED,IAAI,CAAC,MAAM,CACT,+FAA+F,CAChG,CAAA;IACH,CAAC;CACF;AA1BD,0DA0BC"}
1
+ {"version":3,"file":"Migration20250226130616.js","sourceRoot":"","sources":["../../src/migrations/Migration20250226130616.ts"],"names":[],"mappings":";;;AAAA,yEAAoE;AAEpE,MAAa,uBAAwB,SAAQ,sBAAS;IAC3C,KAAK,CAAC,EAAE;QACf,IAAI,CAAC,MAAM,CACT,0FAA0F,CAC3F,CAAA;QACD,IAAI,CAAC,MAAM,CAAC,mDAAmD,CAAC,CAAA;QAChE,IAAI,CAAC,MAAM,CAAC,4CAA4C,CAAC,CAAA;QACzD,IAAI,CAAC,MAAM,CACT,+GAA+G,CAChH,CAAA;IACH,CAAC;IAEQ,KAAK,CAAC,IAAI;QACjB,IAAI,CAAC,MAAM,CAAC,mDAAmD,CAAC,CAAA;QAEhE,IAAI,CAAC,MAAM,CACT,+GAA+G,CAChH,CAAA;QACD,IAAI,CAAC,MAAM,CACT,iGAAiG,CAClG,CAAA;IACH,CAAC;CACF;AAtBD,0DAsBC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@medusajs/promotion",
3
- "version": "3.0.0-preview-20251203060132",
3
+ "version": "3.0.0-preview-20251211180557",
4
4
  "description": "Medusa Promotion module",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",
@@ -37,10 +37,10 @@
37
37
  "orm:cache:clear": "MIKRO_ORM_CLI_CONFIG=./mikro-orm.config.dev.ts MIKRO_ORM_ALLOW_GLOBAL_CLI=true medusa-mikro-orm cache:clear"
38
38
  },
39
39
  "devDependencies": {
40
- "@medusajs/framework": "3.0.0-preview-20251203060132",
41
- "@medusajs/test-utils": "3.0.0-preview-20251203060132"
40
+ "@medusajs/framework": "3.0.0-preview-20251211180557",
41
+ "@medusajs/test-utils": "3.0.0-preview-20251211180557"
42
42
  },
43
43
  "peerDependencies": {
44
- "@medusajs/framework": "3.0.0-preview-20251203060132"
44
+ "@medusajs/framework": "3.0.0-preview-20251211180557"
45
45
  }
46
46
  }