@keycloak/keycloak-admin-client 17.0.0-dev.24 → 17.0.0-dev.25

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -3,6 +3,10 @@ export declare enum DecisionStrategy {
3
3
  UNANIMOUS = "UNANIMOUS",
4
4
  CONSENSUS = "CONSENSUS"
5
5
  }
6
+ export declare enum DecisionEffect {
7
+ Permit = "PERMIT",
8
+ Deny = "DENY"
9
+ }
6
10
  export declare enum Logic {
7
11
  POSITIVE = "POSITIVE",
8
12
  NEGATIVE = "NEGATIVE"
@@ -1,12 +1,17 @@
1
1
  "use strict";
2
2
  exports.__esModule = true;
3
- exports.Logic = exports.DecisionStrategy = void 0;
3
+ exports.Logic = exports.DecisionEffect = exports.DecisionStrategy = void 0;
4
4
  var DecisionStrategy;
5
5
  (function (DecisionStrategy) {
6
6
  DecisionStrategy["AFFIRMATIVE"] = "AFFIRMATIVE";
7
7
  DecisionStrategy["UNANIMOUS"] = "UNANIMOUS";
8
8
  DecisionStrategy["CONSENSUS"] = "CONSENSUS";
9
9
  })(DecisionStrategy = exports.DecisionStrategy || (exports.DecisionStrategy = {}));
10
+ var DecisionEffect;
11
+ (function (DecisionEffect) {
12
+ DecisionEffect["Permit"] = "PERMIT";
13
+ DecisionEffect["Deny"] = "DENY";
14
+ })(DecisionEffect = exports.DecisionEffect || (exports.DecisionEffect = {}));
10
15
  var Logic;
11
16
  (function (Logic) {
12
17
  Logic["POSITIVE"] = "POSITIVE";
@@ -1 +1 @@
1
- {"version":3,"file":"policyRepresentation.js","sourceRoot":"","sources":["../../src/defs/policyRepresentation.ts"],"names":[],"mappings":";;;AAIA,IAAY,gBAIX;AAJD,WAAY,gBAAgB;IAC1B,+CAA2B,CAAA;IAC3B,2CAAuB,CAAA;IACvB,2CAAuB,CAAA;AACzB,CAAC,EAJW,gBAAgB,GAAhB,wBAAgB,KAAhB,wBAAgB,QAI3B;AAED,IAAY,KAGX;AAHD,WAAY,KAAK;IACf,8BAAqB,CAAA;IACrB,8BAAqB,CAAA;AACvB,CAAC,EAHW,KAAK,GAAL,aAAK,KAAL,aAAK,QAGhB"}
1
+ {"version":3,"file":"policyRepresentation.js","sourceRoot":"","sources":["../../src/defs/policyRepresentation.ts"],"names":[],"mappings":";;;AAIA,IAAY,gBAIX;AAJD,WAAY,gBAAgB;IAC1B,+CAA2B,CAAA;IAC3B,2CAAuB,CAAA;IACvB,2CAAuB,CAAA;AACzB,CAAC,EAJW,gBAAgB,GAAhB,wBAAgB,KAAhB,wBAAgB,QAI3B;AAED,IAAY,cAGX;AAHD,WAAY,cAAc;IACxB,mCAAiB,CAAA;IACjB,+BAAa,CAAA;AACf,CAAC,EAHW,cAAc,GAAd,sBAAc,KAAd,sBAAc,QAGzB;AAED,IAAY,KAGX;AAHD,WAAY,KAAK;IACf,8BAAqB,CAAA;IACrB,8BAAqB,CAAA;AACvB,CAAC,EAHW,KAAK,GAAL,aAAK,KAAL,aAAK,QAGhB"}
@@ -0,0 +1,7 @@
1
+ import PolicyRepresentation, { DecisionEffect } from './policyRepresentation';
2
+ export default interface PolicyResultRepresentation {
3
+ policy?: PolicyRepresentation;
4
+ status?: DecisionEffect;
5
+ associatedPolicies?: PolicyResultRepresentation[];
6
+ scopes?: string[];
7
+ }
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ exports.__esModule = true;
3
+ //# sourceMappingURL=policyResultRepresentation.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"policyResultRepresentation.js","sourceRoot":"","sources":["../../src/defs/policyResultRepresentation.ts"],"names":[],"mappings":""}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@keycloak/keycloak-admin-client",
3
- "version": "17.0.0-dev.24",
3
+ "version": "17.0.0-dev.25",
4
4
  "description": "keycloak admin client",
5
5
  "main": "lib/index.js",
6
6
  "files": [