feat(medusa, link-modules): sales channel <> order link (#5810)

This commit is contained in:
Frane Polić
2024-01-03 14:07:54 +01:00
committed by GitHub
parent 278b7fb203
commit fe007d01bd
15 changed files with 293 additions and 20 deletions

View File

@@ -425,7 +425,9 @@ Object {
],
"locale": null,
"order": Object {
"afterLoad": [Function],
"beforeInsert": [Function],
"beforeUpdate": [Function],
"billing_address_id": null,
"canceled_at": null,
"cart_id": null,
@@ -753,7 +755,9 @@ Object {
exports[`medusa-plugin-sendgrid order canceled data 1`] = `
Object {
"afterLoad": [Function],
"beforeInsert": [Function],
"beforeUpdate": [Function],
"billing_address": null,
"billing_address_id": null,
"canceled_at": Any<Date>,
@@ -982,7 +986,9 @@ Object {
exports[`medusa-plugin-sendgrid order placed data 1`] = `
Object {
"afterLoad": [Function],
"beforeInsert": [Function],
"beforeUpdate": [Function],
"billing_address": null,
"billing_address_id": null,
"canceled_at": null,
@@ -1236,7 +1242,9 @@ Object {
},
"locale": null,
"order": Object {
"afterLoad": [Function],
"beforeInsert": [Function],
"beforeUpdate": [Function],
"billing_address": null,
"billing_address_id": null,
"canceled_at": null,
@@ -1612,7 +1620,9 @@ Object {
],
"locale": null,
"order": Object {
"afterLoad": [Function],
"beforeInsert": [Function],
"beforeUpdate": [Function],
"billing_address_id": null,
"canceled_at": null,
"cart_id": null,
@@ -2078,7 +2088,9 @@ Object {
],
"locale": null,
"order": Object {
"afterLoad": [Function],
"beforeInsert": [Function],
"beforeUpdate": [Function],
"billing_address_id": null,
"canceled_at": null,
"cart_id": null,
@@ -2533,4 +2545,4 @@ Object {
"tracking_links": Array [],
"tracking_number": "",
}
`;
`;

View File

@@ -4,10 +4,7 @@ const {
startBootstrapApp,
} = require("../../../environment-helpers/bootstrap-app")
const { initDb, useDb } = require("../../../environment-helpers/use-db")
const {
useApi,
useExpressServer,
} = require("../../../environment-helpers/use-api")
const { useApi } = require("../../../environment-helpers/use-api")
const adminSeeder = require("../../../helpers/admin-seeder")