We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent de797ee commit 0c7febeCopy full SHA for 0c7febe
2 files changed
packages/contentstack-config/src/interfaces/index.ts
@@ -39,3 +39,7 @@ export interface SetRateLimitConfig {
39
default?: boolean;
40
host?: string;
41
}
42
+
43
+export interface RegionsMap {
44
+ [key: string]: Region;
45
+}
packages/contentstack-config/src/utils/region-handler.ts
@@ -1,9 +1,6 @@
1
import { configHandler } from '@contentstack/cli-utilities';
2
import { getContentstackEndpoint } from '@contentstack/utils';
3
-import { Region } from '../interfaces';
4
-interface RegionsMap {
5
- [key: string]: Region;
6
-}
+import { Region, RegionsMap } from '../interfaces';
7
8
function validURL(str) {
9
const pattern = new RegExp(
0 commit comments