pangea-lib 4.0.107 → 4.0.108

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.
@@ -0,0 +1,7 @@
1
+ export declare abstract class Env {
2
+ private static __GetEnv;
3
+ static GetStr(key: string): string;
4
+ static GetInt(key: string): number;
5
+ static GetFloat(key: string): number;
6
+ static GetBool(key: string): boolean;
7
+ }
@@ -1,9 +1,2 @@
1
- type Environment = string;
2
- type Domain = string;
3
- type Layout = string;
4
- type Hosts = Record<Environment, Record<Domain, readonly Layout[]>>;
5
- export declare function getEnvironment(hosts: Hosts): Environment;
6
- export declare function getDomain(hosts: Hosts): Domain;
7
- export declare function getSubdomain(hosts: Hosts): string;
8
- export declare function getLayouts(hosts: Hosts): readonly Layout[];
9
- export {};
1
+ export declare function getEnvironment(): string;
2
+ export declare function getSubdomain(): string;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "pangea-lib",
3
3
  "description": "",
4
- "version": "4.0.107",
4
+ "version": "4.0.108",
5
5
  "author": "Gianfranco Raselli",
6
6
  "license": "ISC",
7
7
  "homepage": "https://github.com/GianfrancoRaselli/pangea-lib#readme",