@contember/schema-definition
Advanced tools
Comparing version 0.8.0-alpha.0 to 0.8.0-alpha.1
"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.8.0-alpha.0", | ||
"version": "0.8.0-alpha.1", | ||
"license": "Apache-2.0", | ||
@@ -9,4 +9,4 @@ "main": "dist/src/index.js", | ||
"dependencies": { | ||
"@contember/schema": "^0.8.0-alpha.0", | ||
"@contember/schema-utils": "^0.8.0-alpha.0", | ||
"@contember/schema": "^0.8.0-alpha.1", | ||
"@contember/schema-utils": "^0.8.0-alpha.1", | ||
"reflect-metadata": "^0.1.13" | ||
@@ -17,3 +17,3 @@ }, | ||
}, | ||
"gitHead": "e8480ed2e4f612537e229c6017565ec43917618e" | ||
"gitHead": "c20d28db4163768b7e479fabf8ffb2d15a7fc153" | ||
} |
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
491709
237
4760