@medusajs/rbac 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,4 +1,4 @@
1
- import { RbacModuleService } from "./services";
1
+ import { RbacModuleService } from "./services/index.js";
2
2
  declare const _default: import("@medusajs/types").ModuleExports<typeof RbacModuleService> & {
3
3
  linkable: {
4
4
  readonly rbacRole: {
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
  const utils_1 = require("@medusajs/framework/utils");
7
- const _services_1 = require("./services");
7
+ const _services_1 = require("./services/index.js");
8
8
  const initial_data_1 = __importDefault(require("./loaders/initial-data"));
9
9
  exports.default = (0, utils_1.Module)(utils_1.Modules.RBAC, {
10
10
  service: _services_1.RbacModuleService,
@@ -1,6 +1,6 @@
1
1
  import { Context, FilterableRbacRoleProps, FindConfig, RbacRoleDTO } from "@medusajs/framework/types";
2
2
  import { CreateRbacRoleParentDTO, InferEntityType, IRbacModuleService, ModulesSdkTypes, RbacRoleParentDTO, UpdateRbacRoleParentDTO } from "@medusajs/types";
3
- import { RbacPolicy, RbacRole, RbacRolePolicy } from "../models";
3
+ import { RbacPolicy, RbacRole, RbacRolePolicy } from "../models/index.js";
4
4
  import { RbacRepository } from "../repositories";
5
5
  type InjectedDependencies = {
6
6
  rbacRepository: RbacRepository;
@@ -13,7 +13,7 @@ var __param = (this && this.__param) || function (paramIndex, decorator) {
13
13
  };
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
  const SUPER_ADMIN_KEY = `${utils_1.WILDCARD}:${utils_1.WILDCARD}`;
18
18
  class RbacModuleService extends (0, utils_1.MedusaService)({
19
19
  RbacRole: _models_1.RbacRole,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@medusajs/rbac",
3
- "version": "2.22.1",
3
+ "version": "2.22.2-preview-20261028132907",
4
4
  "description": "Medusa RBAC 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
  }