@medusajs/fulfillment 2.22.1 → 2.22.2-preview-20261028132907
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/dist/index.d.ts +1 -1
- package/dist/index.js +1 -1
- package/dist/joiner-config.js +1 -1
- package/dist/loaders/providers.js +2 -2
- package/dist/services/fulfillment-module-service.d.ts +1 -1
- package/dist/services/fulfillment-module-service.js +2 -2
- package/dist/services/fulfillment-provider.js +1 -1
- package/dist/utils/events.d.ts +1 -1
- package/package.json +4 -4
package/dist/index.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import "./types";
|
|
2
|
-
import { FulfillmentModuleService } from "./services";
|
|
2
|
+
import { FulfillmentModuleService } from "./services/index.js";
|
|
3
3
|
declare const _default: import("@medusajs/types").ModuleExports<typeof FulfillmentModuleService> & {
|
|
4
4
|
linkable: Record<string, any>;
|
|
5
5
|
};
|
package/dist/index.js
CHANGED
|
@@ -4,7 +4,7 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
|
4
4
|
};
|
|
5
5
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
6
|
require("./types");
|
|
7
|
-
const _services_1 = require("./services");
|
|
7
|
+
const _services_1 = require("./services/index.js");
|
|
8
8
|
const providers_1 = __importDefault(require("./loaders/providers"));
|
|
9
9
|
const utils_1 = require("@medusajs/framework/utils");
|
|
10
10
|
exports.default = (0, utils_1.Module)(utils_1.Modules.FULFILLMENT, {
|
package/dist/joiner-config.js
CHANGED
|
@@ -5,7 +5,7 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
|
5
5
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
6
|
exports.joinerConfig = void 0;
|
|
7
7
|
const utils_1 = require("@medusajs/framework/utils");
|
|
8
|
-
const _models_1 = require("./models");
|
|
8
|
+
const _models_1 = require("./models/index.js");
|
|
9
9
|
const schema_1 = __importDefault(require("./schema"));
|
|
10
10
|
exports.joinerConfig = (0, utils_1.defineJoinerConfig)(utils_1.Modules.FULFILLMENT, {
|
|
11
11
|
schema: schema_1.default,
|
|
@@ -2,8 +2,8 @@
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
const modules_sdk_1 = require("@medusajs/framework/modules-sdk");
|
|
4
4
|
const utils_1 = require("@medusajs/framework/utils");
|
|
5
|
-
const _services_1 = require("../services");
|
|
6
|
-
const _types_1 = require("../types");
|
|
5
|
+
const _services_1 = require("../services/index.js");
|
|
6
|
+
const _types_1 = require("../types/index.js");
|
|
7
7
|
const awilix_1 = require("@medusajs/framework/awilix");
|
|
8
8
|
const registrationFn = async (klass, container, pluginOptions) => {
|
|
9
9
|
const key = _services_1.FulfillmentProviderService.getRegistrationIdentifier(klass, pluginOptions.id);
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { CalculatedShippingOptionPrice, Context, DAL, FilterableFulfillmentSetProps, FindConfig, FulfillmentDTO, FulfillmentOption, FulfillmentTypes, IFulfillmentModuleService, InferEntityType, InternalModuleDeclaration, Logger, ModuleJoinerConfig, ModulesSdkTypes, ShippingOptionDTO, SoftDeleteReturn, UpdateFulfillmentSetDTO, ValidateFulfillmentDataContext } from "@medusajs/framework/types";
|
|
2
2
|
import { ModulesSdkUtils } from "@medusajs/framework/utils";
|
|
3
|
-
import { Fulfillment, FulfillmentSet, GeoZone, ServiceZone, ShippingOption, ShippingOptionRule, ShippingOptionType, ShippingProfile } from "../models";
|
|
3
|
+
import { Fulfillment, FulfillmentSet, GeoZone, ServiceZone, ShippingOption, ShippingOptionRule, ShippingOptionType, ShippingProfile } from "../models/index.js";
|
|
4
4
|
import { UpdateShippingOptionsInput } from "../types/service";
|
|
5
5
|
import FulfillmentProviderService from "./fulfillment-provider";
|
|
6
6
|
type InjectedDependencies = {
|
|
@@ -14,8 +14,8 @@ var __param = (this && this.__param) || function (paramIndex, decorator) {
|
|
|
14
14
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
15
15
|
const types_1 = require("@medusajs/framework/types");
|
|
16
16
|
const utils_1 = require("@medusajs/framework/utils");
|
|
17
|
-
const _models_1 = require("../models");
|
|
18
|
-
const _utils_1 = require("../utils");
|
|
17
|
+
const _models_1 = require("../models/index.js");
|
|
18
|
+
const _utils_1 = require("../utils/index.js");
|
|
19
19
|
const joiner_config_1 = require("../joiner-config");
|
|
20
20
|
const generateMethodForModels = {
|
|
21
21
|
FulfillmentSet: _models_1.FulfillmentSet,
|
|
@@ -13,7 +13,7 @@ var __classPrivateFieldGet = (this && this.__classPrivateFieldGet) || function (
|
|
|
13
13
|
var _FulfillmentProviderService_logger;
|
|
14
14
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
15
15
|
const utils_1 = require("@medusajs/framework/utils");
|
|
16
|
-
const _models_1 = require("../models");
|
|
16
|
+
const _models_1 = require("../models/index.js");
|
|
17
17
|
// TODO rework DTO's
|
|
18
18
|
class FulfillmentProviderService extends utils_1.ModulesSdkUtils.MedusaInternalService(_models_1.FulfillmentProvider) {
|
|
19
19
|
constructor(container) {
|
package/dist/utils/events.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { Fulfillment, FulfillmentSet, ServiceZone, ShippingOption } from "../models";
|
|
1
|
+
import { Fulfillment, FulfillmentSet, ServiceZone, ShippingOption } from "../models/index.js";
|
|
2
2
|
import { Context, InferEntityType } from "@medusajs/framework/types";
|
|
3
3
|
export declare const eventBuilders: {
|
|
4
4
|
createdFulfillment: ({ data, sharedContext, }: {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@medusajs/fulfillment",
|
|
3
|
-
"version": "2.22.
|
|
3
|
+
"version": "2.22.2-preview-20261028132907",
|
|
4
4
|
"description": "Medusa Fulfillment module",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"types": "dist/index.d.ts",
|
|
@@ -43,10 +43,10 @@
|
|
|
43
43
|
"orm:cache:clear": "MIKRO_ORM_CLI_CONFIG=./mikro-orm.config.dev.ts MIKRO_ORM_ALLOW_GLOBAL_CLI=true medusa-mikro-orm cache:clear"
|
|
44
44
|
},
|
|
45
45
|
"devDependencies": {
|
|
46
|
-
"@medusajs/framework": "2.22.
|
|
47
|
-
"@medusajs/test-utils": "2.22.
|
|
46
|
+
"@medusajs/framework": "2.22.2-preview-20261028132907",
|
|
47
|
+
"@medusajs/test-utils": "2.22.2-preview-20261028132907"
|
|
48
48
|
},
|
|
49
49
|
"peerDependencies": {
|
|
50
|
-
"@medusajs/framework": "2.22.
|
|
50
|
+
"@medusajs/framework": "2.22.2-preview-20261028132907"
|
|
51
51
|
}
|
|
52
52
|
}
|