repository-provider 32.4.9 → 32.4.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.
- package/package.json +1 -1
- package/src/base-provider.mjs +5 -4
- package/src/named-object.mjs +2 -4
- package/src/ref.mjs +2 -3
package/package.json
CHANGED
package/src/base-provider.mjs
CHANGED
|
@@ -14,6 +14,7 @@ import { url_attribute, name_attribute, description_attribute, priority_attribut
|
|
|
14
14
|
* @typedef {Object} MessageDestination
|
|
15
15
|
* Endpoint to deliver log messages to.
|
|
16
16
|
* @property {Function} info
|
|
17
|
+
* @property {Function} debug
|
|
17
18
|
* @property {Function} warn
|
|
18
19
|
* @property {Function} error
|
|
19
20
|
* @property {Function} trace
|
|
@@ -97,10 +98,6 @@ export class BaseProvider extends BaseObject {
|
|
|
97
98
|
|
|
98
99
|
static get attributes() {
|
|
99
100
|
return {
|
|
100
|
-
url: url_attribute,
|
|
101
|
-
description : description_attribute,
|
|
102
|
-
priority: priority_attribute,
|
|
103
|
-
|
|
104
101
|
/**
|
|
105
102
|
* Name of the provider.
|
|
106
103
|
*/
|
|
@@ -109,6 +106,10 @@ export class BaseProvider extends BaseObject {
|
|
|
109
106
|
env: ["{{instanceIdentifier}}NAME"]
|
|
110
107
|
},
|
|
111
108
|
|
|
109
|
+
url: url_attribute,
|
|
110
|
+
description : description_attribute,
|
|
111
|
+
priority: priority_attribute,
|
|
112
|
+
|
|
112
113
|
/**
|
|
113
114
|
* To forward info/warn and error messages to
|
|
114
115
|
*/
|
package/src/named-object.mjs
CHANGED
|
@@ -11,13 +11,11 @@ import { name_attribute, url_attribute, description_attribute, id_attribute } fr
|
|
|
11
11
|
* @property {string} name
|
|
12
12
|
*/
|
|
13
13
|
export class NamedObject extends BaseObject {
|
|
14
|
-
|
|
15
|
-
* options
|
|
16
|
-
*/
|
|
14
|
+
|
|
17
15
|
static get attributes() {
|
|
18
16
|
return {
|
|
19
|
-
name: name_attribute,
|
|
20
17
|
id: id_attribute,
|
|
18
|
+
name: name_attribute,
|
|
21
19
|
description: description_attribute
|
|
22
20
|
};
|
|
23
21
|
}
|
package/src/ref.mjs
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { OwnedObject } from "./owned-object.mjs";
|
|
2
|
-
import { boolean_attribute } from "./attributes.mjs";
|
|
2
|
+
import { name_attribute, boolean_attribute } from "./attributes.mjs";
|
|
3
3
|
|
|
4
4
|
/**
|
|
5
5
|
* @typedef {Object} ContentEntry
|
|
@@ -16,7 +16,7 @@ export class Ref extends OwnedObject {
|
|
|
16
16
|
*/
|
|
17
17
|
static get attributes() {
|
|
18
18
|
return {
|
|
19
|
-
|
|
19
|
+
name: name_attribute,
|
|
20
20
|
|
|
21
21
|
/**
|
|
22
22
|
* Can the ref be modified.
|
|
@@ -28,7 +28,6 @@ export class Ref extends OwnedObject {
|
|
|
28
28
|
|
|
29
29
|
static get attributeMapping() {
|
|
30
30
|
return {
|
|
31
|
-
...super.attributeMapping,
|
|
32
31
|
protected: "isProtected"
|
|
33
32
|
};
|
|
34
33
|
}
|