New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@contember/schema

Package Overview
Dependencies
Maintainers
5
Versions
271
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@contember/schema - npm Package Compare versions

Comparing version 1.1.0-rc.0 to 1.2.0-alpha.1

22

dist/src/schema/acl.d.ts

@@ -51,14 +51,16 @@ import Input from './input';

type StagesDefinition = AnyStage | readonly string[];
type TenantManagedVariableSource = true | string;
type TenantManagePermissions = {
readonly [role: string]: {
readonly variables?: true | {
readonly [targetVariable: string]: TenantManagedVariableSource;
};
};
type MembershipVariableMatchRule = true | string;
type MembershipVariablesMatchRule = true | {
readonly [targetVariable: string]: MembershipVariableMatchRule;
};
type MembershipRoleMatchRule = true | {
readonly variables?: MembershipVariablesMatchRule;
};
type MembershipMatchRule = {
readonly [role: string]: MembershipRoleMatchRule;
};
type TenantPermissions = {
readonly invite?: boolean;
readonly unmanagedInvite?: boolean;
readonly manage?: TenantManagePermissions;
readonly manage?: MembershipMatchRule;
};

@@ -79,2 +81,5 @@ enum SystemPermissionsLevel {

};
type ContentPermissions = {
readonly assumeMembership?: MembershipMatchRule;
};
interface BaseRolePermissions {

@@ -85,2 +90,3 @@ readonly inherits?: readonly string[];

readonly system?: SystemPermissions;
readonly content?: ContentPermissions;
readonly variables: Acl.Variables;

@@ -87,0 +93,0 @@ readonly stages?: StagesDefinition;

{
"name": "@contember/schema",
"version": "1.1.0-rc.0",
"version": "1.2.0-alpha.1",
"license": "Apache-2.0",

@@ -5,0 +5,0 @@ "main": "dist/src/index.js",

@@ -78,12 +78,18 @@ import Input from './input'

export type TenantManagedVariableSource = true | string
export type MembershipVariableMatchRule = true | string
export type TenantManagePermissions = {
readonly [role: string]: {
readonly variables?:
| true
| {
readonly [targetVariable: string]: TenantManagedVariableSource
}
export type MembershipVariablesMatchRule =
| true
| {
readonly [targetVariable: string]: MembershipVariableMatchRule
}
export type MembershipRoleMatchRule =
| true
| {
readonly variables?: MembershipVariablesMatchRule
}
export type MembershipMatchRule = {
readonly [role: string]: MembershipRoleMatchRule
}

@@ -94,3 +100,3 @@

readonly unmanagedInvite?: boolean
readonly manage?: TenantManagePermissions
readonly manage?: MembershipMatchRule
}

@@ -115,2 +121,6 @@

export type ContentPermissions = {
readonly assumeMembership?: MembershipMatchRule
}
export interface BaseRolePermissions {

@@ -121,2 +131,3 @@ readonly inherits?: readonly string[]

readonly system?: SystemPermissions
readonly content?: ContentPermissions
readonly variables: Acl.Variables

@@ -123,0 +134,0 @@ readonly stages?: StagesDefinition

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