[Frontend] Marc/frontend granular city/state geo proxy (#4156)

This commit is contained in:
Marc Kelechava
2025-12-01 18:25:08 -08:00
committed by GitHub
parent d0a9095b0d
commit 36c2af90b0
12 changed files with 636 additions and 76 deletions

View File

@@ -56,7 +56,17 @@ export const ProxyLocation = {
None: "NONE",
} as const;
export type ProxyLocation = (typeof ProxyLocation)[keyof typeof ProxyLocation];
export type LegacyProxyLocation =
(typeof ProxyLocation)[keyof typeof ProxyLocation];
export type GeoTarget = {
country: string;
subdivision?: string;
city?: string;
isISP?: boolean;
};
export type ProxyLocation = LegacyProxyLocation | GeoTarget | null;
export type ArtifactApiResponse = {
created_at: string;