@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 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/types-2.0/config
8
+ Files were exported from https://www.github.com/DefinitelyTyped/DefinitelyTyped/tree/master/config
9
9
 
10
10
  Additional Details
11
- * Last updated: Wed, 30 Nov 2016 23:15:02 GMT
12
- * File structure: ProperModule
13
- * Library Dependencies: none
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.31",
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": "4d914ea95876388159b64cf7aa1c55db9149a46b8fd485a134a724e4c7950131"
15
+ "typesPublisherContentHash": "2339aeaea1fab2c9eeecdf220961dcd39e6506f37cea6ccbd0fb40d48195fa51",
16
+ "typeScriptVersion": "2.0"
16
17
  }
@@ -1,24 +1,27 @@
1
1
  {
2
- "authors": "Roman Korneev <https://github.com/RWander>",
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
- "sourceBranch": "types-2.0",
12
- "kind": "ProperModule",
13
- "globals": [
14
- "c"
15
- ],
16
- "declaredModules": [
17
- "config"
18
- ],
19
- "files": [
20
- "index.d.ts"
21
- ],
22
- "hasPackageJson": false,
23
- "contentHash": "4d914ea95876388159b64cf7aa1c55db9149a46b8fd485a134a724e4c7950131"
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
  }