repository-provider 30.1.3 → 30.2.0
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-object.mjs +8 -0
- package/src/base-provider.mjs +5 -0
- package/src/repository.mjs +1 -0
package/package.json
CHANGED
package/src/base-object.mjs
CHANGED
|
@@ -5,6 +5,14 @@ import { definePropertiesFromOptions, mapAttributes } from "./attribute.mjs";
|
|
|
5
5
|
* @param {Object} additionalProperties
|
|
6
6
|
*/
|
|
7
7
|
export class BaseObject {
|
|
8
|
+
|
|
9
|
+
/**
|
|
10
|
+
* @return {string} type we represent
|
|
11
|
+
*/
|
|
12
|
+
static get type() {
|
|
13
|
+
return this.name.toLocaleLowerCase();
|
|
14
|
+
}
|
|
15
|
+
|
|
8
16
|
/**
|
|
9
17
|
* Attributes definitions
|
|
10
18
|
*/
|
package/src/base-provider.mjs
CHANGED
|
@@ -22,6 +22,11 @@ import { BaseObject } from "./base-object.mjs";
|
|
|
22
22
|
* @property {MessageDestination} messageDestination
|
|
23
23
|
*/
|
|
24
24
|
export class BaseProvider extends BaseObject {
|
|
25
|
+
|
|
26
|
+
static get type() {
|
|
27
|
+
return "provider";
|
|
28
|
+
}
|
|
29
|
+
|
|
25
30
|
/**
|
|
26
31
|
* @return {string} identifier for environment options
|
|
27
32
|
*/
|