@medusajs/file 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 CHANGED
@@ -1,5 +1,5 @@
1
1
  import "./types";
2
- import { FileModuleService } from "./services";
2
+ import { FileModuleService } from "./services/index.js";
3
3
  declare const _default: import("@medusajs/types").ModuleExports<typeof FileModuleService> & {
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.FILE, {
@@ -1,8 +1,8 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  const modules_sdk_1 = require("@medusajs/framework/modules-sdk");
4
- const _services_1 = require("../services");
5
- const _types_1 = require("../types");
4
+ const _services_1 = require("../services/index.js");
5
+ const _types_1 = require("../types/index.js");
6
6
  const awilix_1 = require("@medusajs/framework/awilix");
7
7
  const registrationFn = async (klass, container, pluginOptions) => {
8
8
  const key = _services_1.FileProviderService.getRegistrationIdentifier(klass, pluginOptions.id);
@@ -1,5 +1,5 @@
1
1
  import { Constructor, FileTypes } from "@medusajs/framework/types";
2
- import { FileProviderRegistrationPrefix } from "../types";
2
+ import { FileProviderRegistrationPrefix } from "../types/index.js";
3
3
  import type { Readable, Writable } from "stream";
4
4
  type InjectedDependencies = {
5
5
  [key: `${typeof FileProviderRegistrationPrefix}${string}`]: FileTypes.IFileProvider;
@@ -1,7 +1,7 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  const utils_1 = require("@medusajs/framework/utils");
4
- const _types_1 = require("../types");
4
+ const _types_1 = require("../types/index.js");
5
5
  class FileProviderService {
6
6
  constructor(container) {
7
7
  const fileProviderKeys = Object.keys(container).filter((k) => k.startsWith(_types_1.FileProviderRegistrationPrefix));
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@medusajs/file",
3
- "version": "2.22.1",
3
+ "version": "2.22.2-preview-20261028132907",
4
4
  "description": "Medusa File 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.1",
47
- "@medusajs/test-utils": "2.22.1"
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.1"
50
+ "@medusajs/framework": "2.22.2-preview-20261028132907"
51
51
  }
52
52
  }