@adminide-stack/core 10.5.1-alpha.7 → 10.6.1-alpha.11
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
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@adminide-stack/core",
|
3
|
-
"version": "10.
|
3
|
+
"version": "10.6.1-alpha.11",
|
4
4
|
"description": "AdminIDE core for higher packages to depend on",
|
5
5
|
"license": "UNLICENSED",
|
6
6
|
"author": "CDMBase LLC",
|
@@ -28,7 +28,7 @@
|
|
28
28
|
"vscode-uri": "^3.0.8"
|
29
29
|
},
|
30
30
|
"devDependencies": {
|
31
|
-
"common": "10.
|
31
|
+
"common": "10.6.1-alpha.11"
|
32
32
|
},
|
33
33
|
"peerDependencies": {
|
34
34
|
"@common-stack/server-core": ">=0.5.21",
|
@@ -37,15 +37,8 @@
|
|
37
37
|
"publishConfig": {
|
38
38
|
"access": "public"
|
39
39
|
},
|
40
|
-
"cdecode": {
|
41
|
-
"common": {
|
42
|
-
"modules": [
|
43
|
-
"./${libDir}/templates/modules/IConfigurationModel.ts.template"
|
44
|
-
]
|
45
|
-
}
|
46
|
-
},
|
47
40
|
"typescript": {
|
48
41
|
"definition": "lib/index.d.ts"
|
49
42
|
},
|
50
|
-
"gitHead": "
|
43
|
+
"gitHead": "650fbf09e5b5c5b6fcc187af185f49f6975a2c6c"
|
51
44
|
}
|
@@ -1,92 +0,0 @@
|
|
1
|
-
import { IOverrides, IIConfigurationModel } from 'common';
|
2
|
-
|
3
|
-
export interface IConfigurationModel extends IIConfigurationModel {
|
4
|
-
/**
|
5
|
-
* Gets the configuration contents
|
6
|
-
*/
|
7
|
-
contents: any;
|
8
|
-
|
9
|
-
/**
|
10
|
-
* Gets the override configurations
|
11
|
-
*/
|
12
|
-
overrides: IOverrides[];
|
13
|
-
|
14
|
-
/**
|
15
|
-
* Gets the configuration keys
|
16
|
-
*/
|
17
|
-
keys: string[];
|
18
|
-
|
19
|
-
/**
|
20
|
-
* Checks if the configuration is empty
|
21
|
-
*/
|
22
|
-
isEmpty(): boolean;
|
23
|
-
|
24
|
-
/**
|
25
|
-
* Checks if the configuration is frozen
|
26
|
-
*/
|
27
|
-
isFrozen(): boolean;
|
28
|
-
|
29
|
-
/**
|
30
|
-
* Gets a value from the configuration
|
31
|
-
* @param section The configuration section
|
32
|
-
*/
|
33
|
-
getValue<V>(section: string | undefined): V;
|
34
|
-
|
35
|
-
/**
|
36
|
-
* Gets an override value from the configuration
|
37
|
-
* @param section The configuration section
|
38
|
-
* @param overrideIdentifier The override identifier
|
39
|
-
*/
|
40
|
-
getOverrideValue<V>(section: string | undefined, overrideIdentifier: string): V | undefined;
|
41
|
-
|
42
|
-
/**
|
43
|
-
* Gets keys for a specific override identifier
|
44
|
-
* @param identifier The override identifier
|
45
|
-
*/
|
46
|
-
getKeysForOverrideIdentifier(identifier: string): string[];
|
47
|
-
|
48
|
-
/**
|
49
|
-
* Gets all override identifiers
|
50
|
-
*/
|
51
|
-
getAllOverrideIdentifiers(): string[];
|
52
|
-
|
53
|
-
/**
|
54
|
-
* Creates a new configuration model with overrides
|
55
|
-
* @param identifier The override identifier
|
56
|
-
*/
|
57
|
-
override(identifier: string): IConfigurationModel;
|
58
|
-
|
59
|
-
/**
|
60
|
-
* Merges multiple configuration models
|
61
|
-
* @param others The configuration models to merge
|
62
|
-
*/
|
63
|
-
merge(...others: IConfigurationModel[]): IConfigurationModel;
|
64
|
-
|
65
|
-
/**
|
66
|
-
* Freezes the configuration model
|
67
|
-
*/
|
68
|
-
freeze(): IConfigurationModel;
|
69
|
-
|
70
|
-
/**
|
71
|
-
* Creates a clone of the configuration model
|
72
|
-
*/
|
73
|
-
clone(): IConfigurationModel;
|
74
|
-
|
75
|
-
/**
|
76
|
-
* Converts the configuration model to JSON
|
77
|
-
*/
|
78
|
-
toJSON(): IIConfigurationModel;
|
79
|
-
|
80
|
-
/**
|
81
|
-
* Sets a value in the configuration
|
82
|
-
* @param key The configuration key
|
83
|
-
* @param value The value to set
|
84
|
-
*/
|
85
|
-
setValue(key: string, value: any): void;
|
86
|
-
|
87
|
-
/**
|
88
|
-
* Removes a value from the configuration
|
89
|
-
* @param key The configuration key to remove
|
90
|
-
*/
|
91
|
-
removeValue(key: string): void;
|
92
|
-
}
|