@types/config 0.0.31 → 0.0.32
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.
- config/README.md +4 -6
- config/index.d.ts +9 -0
- config/package.json +3 -2
- config/types-metadata.json +23 -20
config/README.md
CHANGED
|
@@ -5,14 +5,12 @@
|
|
|
5
5
|
This package contains type definitions for node-config (https://github.com/lorenwest/node-config).
|
|
6
6
|
|
|
7
7
|
# Details
|
|
8
|
-
Files were exported from https://www.github.com/DefinitelyTyped/DefinitelyTyped/tree/
|
|
8
|
+
Files were exported from https://www.github.com/DefinitelyTyped/DefinitelyTyped/tree/master/config
|
|
9
9
|
|
|
10
10
|
Additional Details
|
|
11
|
-
* Last updated:
|
|
12
|
-
*
|
|
13
|
-
*
|
|
14
|
-
* Module Dependencies: none
|
|
15
|
-
* Global values: c
|
|
11
|
+
* Last updated: Thu, 09 Feb 2017 22:50:55 GMT
|
|
12
|
+
* Dependencies: none
|
|
13
|
+
* Global values: none
|
|
16
14
|
|
|
17
15
|
# Credits
|
|
18
16
|
These definitions were written by Roman Korneev <https://github.com/RWander>.
|
config/index.d.ts
CHANGED
|
@@ -34,6 +34,9 @@ declare namespace c {
|
|
|
34
34
|
|
|
35
35
|
// Return the config for the project based on directory param if not directory then return default one (config).
|
|
36
36
|
loadFileConfigs(configDir: string): any;
|
|
37
|
+
|
|
38
|
+
// Return the sources for the configurations
|
|
39
|
+
getConfigSources(): IConfigSource[];
|
|
37
40
|
}
|
|
38
41
|
|
|
39
42
|
interface IConfig {
|
|
@@ -41,6 +44,12 @@ declare namespace c {
|
|
|
41
44
|
has(setting: string): boolean;
|
|
42
45
|
util: IUtil;
|
|
43
46
|
}
|
|
47
|
+
|
|
48
|
+
interface IConfigSource {
|
|
49
|
+
name: string;
|
|
50
|
+
original?: string;
|
|
51
|
+
parsed: any;
|
|
52
|
+
}
|
|
44
53
|
}
|
|
45
54
|
|
|
46
55
|
export = c;
|
config/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@types/config",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.32",
|
|
4
4
|
"description": "TypeScript definitions for node-config",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"author": "Roman Korneev <https://github.com/RWander>",
|
|
@@ -12,5 +12,6 @@
|
|
|
12
12
|
"scripts": {},
|
|
13
13
|
"dependencies": {},
|
|
14
14
|
"peerDependencies": {},
|
|
15
|
-
"typesPublisherContentHash": "
|
|
15
|
+
"typesPublisherContentHash": "2339aeaea1fab2c9eeecdf220961dcd39e6506f37cea6ccbd0fb40d48195fa51",
|
|
16
|
+
"typeScriptVersion": "2.0"
|
|
16
17
|
}
|
config/types-metadata.json
CHANGED
|
@@ -1,24 +1,27 @@
|
|
|
1
1
|
{
|
|
2
|
-
"
|
|
3
|
-
"libraryDependencies": [],
|
|
4
|
-
"moduleDependencies": [],
|
|
5
|
-
"libraryMajorVersion": 0,
|
|
6
|
-
"libraryMinorVersion": 0,
|
|
2
|
+
"name": "config",
|
|
7
3
|
"libraryName": "node-config",
|
|
8
|
-
"typingsPackageName": "config",
|
|
9
|
-
"projectName": "https://github.com/lorenwest/node-config",
|
|
10
4
|
"sourceRepoURL": "https://www.github.com/DefinitelyTyped/DefinitelyTyped",
|
|
11
|
-
"
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
"
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
"
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
"
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
5
|
+
"data": {
|
|
6
|
+
"authors": "Roman Korneev <https://github.com/RWander>",
|
|
7
|
+
"dependencies": {},
|
|
8
|
+
"pathMappings": {},
|
|
9
|
+
"libraryMajorVersion": 0,
|
|
10
|
+
"libraryMinorVersion": 0,
|
|
11
|
+
"typeScriptVersion": "2.0",
|
|
12
|
+
"libraryName": "node-config",
|
|
13
|
+
"typingsPackageName": "config",
|
|
14
|
+
"projectName": "https://github.com/lorenwest/node-config",
|
|
15
|
+
"sourceRepoURL": "https://www.github.com/DefinitelyTyped/DefinitelyTyped",
|
|
16
|
+
"globals": [],
|
|
17
|
+
"declaredModules": [
|
|
18
|
+
"config/."
|
|
19
|
+
],
|
|
20
|
+
"files": [
|
|
21
|
+
"index.d.ts"
|
|
22
|
+
],
|
|
23
|
+
"hasPackageJson": false,
|
|
24
|
+
"contentHash": "2339aeaea1fab2c9eeecdf220961dcd39e6506f37cea6ccbd0fb40d48195fa51"
|
|
25
|
+
},
|
|
26
|
+
"isLatest": true
|
|
24
27
|
}
|