1
0

update: limit regions of ali FC, update JetBrains IDE config for DB

This commit is contained in:
alikia2x (寒寒) 2025-12-16 01:04:13 +08:00
parent 0be283c7b5
commit be004df155
WARNING! Although there is a key with this ID in the database it does not verify this commit! This commit is SUSPICIOUS.
GPG Key ID: 56209E0CCD8420C6
3 changed files with 10 additions and 1 deletions

View File

@ -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" />

View File

@ -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>

View File

@ -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) {