@ms-cloudpack/config 0.28.1 → 0.28.2
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/lib/constants.d.ts +2 -5
- package/lib/constants.d.ts.map +1 -1
- package/lib/constants.js +2 -5
- package/lib/constants.js.map +1 -1
- package/package.json +1 -1
package/lib/constants.d.ts
CHANGED
|
@@ -3,10 +3,7 @@ export declare const appConfigFileName = "cloudpack.config.json";
|
|
|
3
3
|
export declare const generatedConfigFileName = "cloudpack.generated.json";
|
|
4
4
|
export declare const userPreferencesFileName = ".cloudpack.preferences.json";
|
|
5
5
|
/**
|
|
6
|
-
* Object with
|
|
7
|
-
*
|
|
8
|
-
* (This is a mapping from key to true because TS doesn't have a good way to verify that an array
|
|
9
|
-
* contains all keys of a type.)
|
|
6
|
+
* Object with descriptions of each user preference key.
|
|
10
7
|
*/
|
|
11
|
-
export declare const allUserPreferences: Readonly<Record<keyof UserPreferences,
|
|
8
|
+
export declare const allUserPreferences: Readonly<Record<keyof UserPreferences, string>>;
|
|
12
9
|
//# sourceMappingURL=constants.d.ts.map
|
package/lib/constants.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"constants.d.ts","sourceRoot":"","sources":["../src/constants.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,4BAA4B,CAAC;AAElE,eAAO,MAAM,iBAAiB,0BAA0B,CAAC;AACzD,eAAO,MAAM,uBAAuB,6BAA6B,CAAC;AAClE,eAAO,MAAM,uBAAuB,gCAAgC,CAAC;AAErE
|
|
1
|
+
{"version":3,"file":"constants.d.ts","sourceRoot":"","sources":["../src/constants.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,4BAA4B,CAAC;AAElE,eAAO,MAAM,iBAAiB,0BAA0B,CAAC;AACzD,eAAO,MAAM,uBAAuB,6BAA6B,CAAC;AAClE,eAAO,MAAM,uBAAuB,gCAAgC,CAAC;AAErE;;GAEG;AACH,eAAO,MAAM,kBAAkB,EAAE,QAAQ,CAAC,MAAM,CAAC,MAAM,eAAe,EAAE,MAAM,CAAC,CAE9E,CAAC"}
|
package/lib/constants.js
CHANGED
|
@@ -2,12 +2,9 @@ export const appConfigFileName = 'cloudpack.config.json';
|
|
|
2
2
|
export const generatedConfigFileName = 'cloudpack.generated.json';
|
|
3
3
|
export const userPreferencesFileName = '.cloudpack.preferences.json';
|
|
4
4
|
/**
|
|
5
|
-
* Object with
|
|
6
|
-
*
|
|
7
|
-
* (This is a mapping from key to true because TS doesn't have a good way to verify that an array
|
|
8
|
-
* contains all keys of a type.)
|
|
5
|
+
* Object with descriptions of each user preference key.
|
|
9
6
|
*/
|
|
10
7
|
export const allUserPreferences = {
|
|
11
|
-
cachePath:
|
|
8
|
+
cachePath: 'Absolute path to the cache folder, instead of the default <home>/.cloudpack',
|
|
12
9
|
};
|
|
13
10
|
//# sourceMappingURL=constants.js.map
|
package/lib/constants.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"constants.js","sourceRoot":"","sources":["../src/constants.ts"],"names":[],"mappings":"AAEA,MAAM,CAAC,MAAM,iBAAiB,GAAG,uBAAuB,CAAC;AACzD,MAAM,CAAC,MAAM,uBAAuB,GAAG,0BAA0B,CAAC;AAClE,MAAM,CAAC,MAAM,uBAAuB,GAAG,6BAA6B,CAAC;AAErE
|
|
1
|
+
{"version":3,"file":"constants.js","sourceRoot":"","sources":["../src/constants.ts"],"names":[],"mappings":"AAEA,MAAM,CAAC,MAAM,iBAAiB,GAAG,uBAAuB,CAAC;AACzD,MAAM,CAAC,MAAM,uBAAuB,GAAG,0BAA0B,CAAC;AAClE,MAAM,CAAC,MAAM,uBAAuB,GAAG,6BAA6B,CAAC;AAErE;;GAEG;AACH,MAAM,CAAC,MAAM,kBAAkB,GAAoD;IACjF,SAAS,EAAE,6EAA6E;CACzF,CAAC","sourcesContent":["import type { UserPreferences } from '@ms-cloudpack/common-types';\n\nexport const appConfigFileName = 'cloudpack.config.json';\nexport const generatedConfigFileName = 'cloudpack.generated.json';\nexport const userPreferencesFileName = '.cloudpack.preferences.json';\n\n/**\n * Object with descriptions of each user preference key.\n */\nexport const allUserPreferences: Readonly<Record<keyof UserPreferences, string>> = {\n cachePath: 'Absolute path to the cache folder, instead of the default <home>/.cloudpack',\n};\n"]}
|