pangea-lib 3.1.7 → 3.1.8
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.
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
type Environment = string;
|
|
2
2
|
type Domain = string;
|
|
3
3
|
type Layout = string;
|
|
4
|
-
type Hosts = Record<Environment, Record<Domain, Layout[]>>;
|
|
4
|
+
type Hosts = Record<Environment, Record<Domain, readonly Layout[]>>;
|
|
5
5
|
export declare function getEnvironment(hosts: Hosts): Environment;
|
|
6
6
|
export declare function getDomain(hosts: Hosts): Domain;
|
|
7
7
|
export declare function getSubdomain(hosts: Hosts): string;
|
|
8
|
-
export declare function getLayouts(hosts: Hosts): Layout[];
|
|
8
|
+
export declare function getLayouts(hosts: Hosts): readonly Layout[];
|
|
9
9
|
export {};
|