Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@contember/schema-definition

Package Overview
Dependencies
Maintainers
5
Versions
258
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@contember/schema-definition - npm Package Compare versions

Comparing version 0.8.0-alpha.0 to 0.8.0-alpha.1

4

dist/src/acl/PermissionsBuilder.js
"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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc