pmcf 4.8.0 → 4.8.1
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.
- package/package.json +1 -1
- package/src/base.mjs +3 -1
- package/src/services/openldap.mjs +2 -2
- package/types/base.d.mts +2 -0
package/package.json
CHANGED
package/src/base.mjs
CHANGED
|
@@ -28,6 +28,8 @@ import { asArray } from "./utils.mjs";
|
|
|
28
28
|
|
|
29
29
|
/**
|
|
30
30
|
*
|
|
31
|
+
* attributes: essential values
|
|
32
|
+
* properties: use defined values to support attribute value definitions
|
|
31
33
|
*/
|
|
32
34
|
export class Base {
|
|
33
35
|
static name = "base";
|
|
@@ -376,7 +378,7 @@ export class Base {
|
|
|
376
378
|
for (const node of this.walkDirections(["this", "extends"])) {
|
|
377
379
|
const value = getAttribute(node, name);
|
|
378
380
|
if (value !== undefined) {
|
|
379
|
-
return value;
|
|
381
|
+
return this.expand(value);
|
|
380
382
|
}
|
|
381
383
|
}
|
|
382
384
|
}
|
|
@@ -68,7 +68,7 @@ export class OpenLDAPService extends Service {
|
|
|
68
68
|
}
|
|
69
69
|
|
|
70
70
|
get base() {
|
|
71
|
-
return this.
|
|
71
|
+
return this.extendedAttribute("_base");
|
|
72
72
|
}
|
|
73
73
|
|
|
74
74
|
set base(value) {
|
|
@@ -76,7 +76,7 @@ export class OpenLDAPService extends Service {
|
|
|
76
76
|
}
|
|
77
77
|
|
|
78
78
|
get uri() {
|
|
79
|
-
return this._uri;
|
|
79
|
+
return this.extendedAttribute("_uri");
|
|
80
80
|
}
|
|
81
81
|
|
|
82
82
|
set uri(value) {
|
package/types/base.d.mts
CHANGED