{
  "name": "@objectstack/plugin-sharing",
  "version": "18.6.0",
  "license": "Apache-2.0",
  "description": "Record-level sharing for ObjectStack — sys_record_share + middleware that enforces sharingModel + ISharingService.",
  "type": "commonjs",
  "main": "dist/index.js",
  "types": "dist/index.d.ts",
  "sideEffects": false,
  "exports": {
    ".": {
      "import": {
        "types": "./dist/index.d.mts",
        "default": "./dist/index.mjs"
      },
      "require": {
        "types": "./dist/index.d.ts",
        "default": "./dist/index.js"
      }
    }
  },
  "dependencies": {
    "@noble/hashes": "^2.4.0",
    "@objectstack/core": "18.6.0",
    "@objectstack/formula": "18.6.0",
    "@objectstack/metadata-core": "18.6.0",
    "@objectstack/objectql": "18.6.0",
    "@objectstack/platform-objects": "18.6.0",
    "@objectstack/spec": "18.6.0",
    "@objectstack/types": "18.6.0"
  },
  "devDependencies": {
    "@types/node": "^26.6.5",
    "better-sqlite3": "^13.0.3",
    "tsx": "^4.23.15",
    "typescript": "^6.0.3",
    "vitest": "^4.1.11",
    "@objectstack/driver-sql": "18.6.0"
  },
  "keywords": [
    "objectstack",
    "plugin",
    "sharing",
    "rbac",
    "security"
  ],
  "repository": {
    "type": "git",
    "url": "git+https://github.com/objectstack-ai/objectstack.git",
    "directory": "packages/plugins/plugin-sharing"
  },
  "publishConfig": {
    "access": "public"
  },
  "files": [
    "dist",
    "README.md",
    "CHANGELOG.md"
  ],
  "engines": {
    "node": ">=22.0.0"
  },
  "scripts": {
    "build": "tsup --config ../../../tsup.config.ts && node ../../../scripts/check-dts-emitted.mjs",
    "test": "vitest run --passWithNoTests",
    "typecheck": "tsc --noEmit && tsc --noEmit -p tsconfig.scripts.json && pnpm check:test-typecheck",
    "check:test-typecheck": "tsx ../../../scripts/check-test-typecheck.mts --self-test && tsx ../../../scripts/check-test-typecheck.mts --package packages/plugins/plugin-sharing --project tsconfig.test.json",
    "gen:test-typecheck-debt": "tsx ../../../scripts/check-test-typecheck.mts --update --package packages/plugins/plugin-sharing --project tsconfig.test.json"
  }
}