@adaas/a-utils 0.1.9 → 0.1.10

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.
@@ -39,5 +39,5 @@ export interface A_UTILS_TYPES__ManifestRule {
39
39
  export interface A_UTILS_TYPES__ManifestQuery {
40
40
  component: A_TYPES__Component_Constructor;
41
41
  method: string;
42
- target: A_TYPES__Component_Constructor;
42
+ target: A_UTILS_TYPES__Manifest_AllowedComponents;
43
43
  }
@@ -1,5 +1,6 @@
1
1
  import { A_TYPES__Component_Constructor } from "@adaas/a-concept";
2
2
  import { A_Manifest } from "../A-Manifest.context";
3
+ import { A_UTILS_TYPES__Manifest_AllowedComponents } from "../A-Manifest.types";
3
4
  /**
4
5
  * Fluent API for checking manifest permissions
5
6
  */
@@ -9,5 +10,5 @@ export declare class A_ManifestChecker {
9
10
  private method;
10
11
  private checkExclusion;
11
12
  constructor(manifest: A_Manifest, component: A_TYPES__Component_Constructor, method: string, checkExclusion?: boolean);
12
- for(target: A_TYPES__Component_Constructor): boolean;
13
+ for(target: A_UTILS_TYPES__Manifest_AllowedComponents): boolean;
13
14
  }
@@ -1 +1 @@
1
- {"version":3,"file":"A-ManifestChecker.class.js","sourceRoot":"","sources":["../../../../../src/lib/A-Manifest/classes/A-ManifestChecker.class.ts"],"names":[],"mappings":";;;AAGA;;GAEG;AACH,MAAa,iBAAiB;IAC1B,YACY,QAAoB,EACpB,SAAyC,EACzC,MAAc,EACd,iBAA0B,KAAK;QAH/B,aAAQ,GAAR,QAAQ,CAAY;QACpB,cAAS,GAAT,SAAS,CAAgC;QACzC,WAAM,GAAN,MAAM,CAAQ;QACd,mBAAc,GAAd,cAAc,CAAiB;IACxC,CAAC;IAEJ,GAAG,CAAC,MAAsC;QACtC,MAAM,MAAM,GAAG,IAAI,CAAC,QAAQ,CAAC,oBAAoB,CAAC;YAC9C,SAAS,EAAE,IAAI,CAAC,SAAS;YACzB,MAAM,EAAE,IAAI,CAAC,MAAM;YACnB,MAAM,EAAE,MAAM;SACjB,CAAC,CAAC;QAEH,OAAO,IAAI,CAAC,cAAc,CAAC,CAAC,CAAC,CAAC,MAAM,CAAC,CAAC,CAAC,MAAM,CAAC;IAClD,CAAC;CACJ;AAjBD,8CAiBC"}
1
+ {"version":3,"file":"A-ManifestChecker.class.js","sourceRoot":"","sources":["../../../../../src/lib/A-Manifest/classes/A-ManifestChecker.class.ts"],"names":[],"mappings":";;;AAIA;;GAEG;AACH,MAAa,iBAAiB;IAC1B,YACY,QAAoB,EACpB,SAAyC,EACzC,MAAc,EACd,iBAA0B,KAAK;QAH/B,aAAQ,GAAR,QAAQ,CAAY;QACpB,cAAS,GAAT,SAAS,CAAgC;QACzC,WAAM,GAAN,MAAM,CAAQ;QACd,mBAAc,GAAd,cAAc,CAAiB;IACxC,CAAC;IAEJ,GAAG,CAAC,MAAiD;QACjD,MAAM,MAAM,GAAG,IAAI,CAAC,QAAQ,CAAC,oBAAoB,CAAC;YAC9C,SAAS,EAAE,IAAI,CAAC,SAAS;YACzB,MAAM,EAAE,IAAI,CAAC,MAAM;YACnB,MAAM,EAAE,MAAM;SACjB,CAAC,CAAC;QAEH,OAAO,IAAI,CAAC,cAAc,CAAC,CAAC,CAAC,CAAC,MAAM,CAAC,CAAC,CAAC,MAAM,CAAC;IAClD,CAAC;CACJ;AAjBD,8CAiBC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@adaas/a-utils",
3
- "version": "0.1.9",
3
+ "version": "0.1.10",
4
4
  "description": "A-Utils is a set of utilities that are used across the ADAAS ecosystem. This package is designed to be a collection of utilities that are used across the ADAAS ecosystem.",
5
5
  "main": "./dist/index.js",
6
6
  "module": "./dist/index.mjs",
@@ -58,5 +58,5 @@ export interface A_UTILS_TYPES__ManifestRule {
58
58
  export interface A_UTILS_TYPES__ManifestQuery {
59
59
  component: A_TYPES__Component_Constructor;
60
60
  method: string;
61
- target: A_TYPES__Component_Constructor;
61
+ target: A_UTILS_TYPES__Manifest_AllowedComponents;
62
62
  }
@@ -1,5 +1,6 @@
1
1
  import { A_TYPES__Component_Constructor } from "@adaas/a-concept";
2
2
  import { A_Manifest } from "../A-Manifest.context";
3
+ import { A_UTILS_TYPES__Manifest_AllowedComponents } from "../A-Manifest.types";
3
4
 
4
5
  /**
5
6
  * Fluent API for checking manifest permissions
@@ -12,7 +13,7 @@ export class A_ManifestChecker {
12
13
  private checkExclusion: boolean = false
13
14
  ) {}
14
15
 
15
- for(target: A_TYPES__Component_Constructor): boolean {
16
+ for(target: A_UTILS_TYPES__Manifest_AllowedComponents): boolean {
16
17
  const result = this.manifest.internal_checkAccess({
17
18
  component: this.component,
18
19
  method: this.method,