update: limit regions of ali FC, update JetBrains IDE config for DB
This commit is contained in:
parent
0be283c7b5
commit
be004df155
@ -12,6 +12,14 @@
|
||||
<option name="SPACES_WITHIN_OBJECT_LITERAL_BRACES" value="true" />
|
||||
<option name="SPACES_WITHIN_IMPORTS" value="true" />
|
||||
</JSCodeStyleSettings>
|
||||
<PostgresCodeStyleSettings version="7">
|
||||
<option name="USE_GENERAL_STYLE" value="false" />
|
||||
<option name="KEYWORD_CASE" value="2" />
|
||||
<option name="IDENTIFIER_CASE" value="1" />
|
||||
<option name="TYPE_CASE" value="3" />
|
||||
<option name="CUSTOM_TYPE_CASE" value="3" />
|
||||
<option name="ALIAS_CASE" value="4" />
|
||||
</PostgresCodeStyleSettings>
|
||||
<TypeScriptCodeStyleSettings version="0">
|
||||
<option name="FORCE_SEMICOLON_STYLE" value="true" />
|
||||
<option name="SPACE_BEFORE_FUNCTION_LEFT_PARENTH" value="false" />
|
||||
|
||||
@ -6,5 +6,6 @@
|
||||
<file url="file://$PROJECT_DIR$/queries/schedule_count.sql" value="0d2dd3d3-bd27-4e5f-b0fa-ff14fb2a6bef" />
|
||||
<file url="file://$PROJECT_DIR$/queries/schedule_window.sql" value="0d2dd3d3-bd27-4e5f-b0fa-ff14fb2a6bef" />
|
||||
<file url="file://$PROJECT_DIR$/queries/snapshots_count.sql" value="0d2dd3d3-bd27-4e5f-b0fa-ff14fb2a6bef" />
|
||||
<file url="file://$APPLICATION_CONFIG_DIR$/scratches/Query.sql" value="0d2dd3d3-bd27-4e5f-b0fa-ff14fb2a6bef" />
|
||||
</component>
|
||||
</project>
|
||||
@ -23,7 +23,7 @@ import {
|
||||
|
||||
type ProxyType = "native" | "alicloud-fc" | "ip-proxy";
|
||||
|
||||
const aliRegions = ["hangzhou", "shanghai", "beijing", "chengdu", "qingdao"] as const;
|
||||
const aliRegions = ["hangzhou"] as const;
|
||||
type AliRegion = (typeof aliRegions)[number];
|
||||
|
||||
function createAliProxiesObject<T extends readonly string[]>(regions: T) {
|
||||
|
||||
Loading…
Reference in New Issue
Block a user