@contember/schema-definition
Advanced tools
Comparing version 0.7.6 to 0.8.0-0.8.0-alpha.1.0
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
const schema_1 = require("@contember/schema"); | ||
const AllowAllPermissionFactory_1 = require("./AllowAllPermissionFactory"); | ||
const schema_utils_1 = require("@contember/schema-utils"); | ||
const PermissionOverrider_1 = require("./PermissionOverrider"); | ||
@@ -22,3 +22,3 @@ const EntitySelector_1 = require("./EntitySelector"); | ||
allow(operations) { | ||
const allowAllFactory = new AllowAllPermissionFactory_1.default(operations); | ||
const allowAllFactory = new schema_utils_1.AllowAllPermissionFactory(operations); | ||
return this.add(allowAllFactory.create(this.schema)); | ||
@@ -25,0 +25,0 @@ } |
@@ -0,3 +1,3 @@ | ||
import { AllowAllPermissionFactory } from '@contember/schema-utils'; | ||
export * from './model'; | ||
import AllowAllPermissionFactory from './acl/AllowAllPermissionFactory'; | ||
import PermissionsBuilder from './acl/PermissionsBuilder'; | ||
@@ -4,0 +4,0 @@ import * as InputValidation from './validation'; |
@@ -6,5 +6,5 @@ "use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
const schema_utils_1 = require("@contember/schema-utils"); | ||
exports.AllowAllPermissionFactory = schema_utils_1.AllowAllPermissionFactory; | ||
__export(require("./model")); | ||
const AllowAllPermissionFactory_1 = require("./acl/AllowAllPermissionFactory"); | ||
exports.AllowAllPermissionFactory = AllowAllPermissionFactory_1.default; | ||
const PermissionsBuilder_1 = require("./acl/PermissionsBuilder"); | ||
@@ -11,0 +11,0 @@ exports.PermissionsBuilder = PermissionsBuilder_1.default; |
{ | ||
"name": "@contember/schema-definition", | ||
"version": "0.7.6", | ||
"version": "0.8.0-0.8.0-alpha.1.0", | ||
"license": "Apache-2.0", | ||
@@ -9,4 +9,4 @@ "main": "dist/src/index.js", | ||
"dependencies": { | ||
"@contember/schema": "^0.7.6", | ||
"@contember/schema-utils": "^0.7.6", | ||
"@contember/schema": "^0.8.0-0.8.0-alpha.1.0", | ||
"@contember/schema-utils": "^0.8.0-0.8.0-alpha.1.0", | ||
"reflect-metadata": "^0.1.13" | ||
@@ -17,3 +17,3 @@ }, | ||
}, | ||
"gitHead": "f00cc29cd1f3c0990faeda439f941d682f8bd8df" | ||
"gitHead": "30e5444c6dfaa449d41b4f1c1f14fb8ada28ed7a" | ||
} |
import { Acl, Model } from '@contember/schema' | ||
import AllowAllPermissionFactory from './AllowAllPermissionFactory' | ||
import { AllowAllPermissionFactory } from '@contember/schema-utils' | ||
import PermissionOverrider from './PermissionOverrider' | ||
@@ -4,0 +4,0 @@ import EntitySelector from './EntitySelector' |
@@ -0,3 +1,3 @@ | ||
import { AllowAllPermissionFactory } from '@contember/schema-utils' | ||
export * from './model' | ||
import AllowAllPermissionFactory from './acl/AllowAllPermissionFactory' | ||
import PermissionsBuilder from './acl/PermissionsBuilder' | ||
@@ -4,0 +4,0 @@ import * as InputValidation from './validation' |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
491733
237
4760
+ Added@contember/schema@0.8.6(transitive)
+ Added@contember/schema-utils@0.8.6(transitive)
- Removed@contember/schema@0.7.8(transitive)
- Removed@contember/schema-utils@0.7.8(transitive)