Drop lame imports

This commit is contained in:
Jack Kingsman
2026-04-03 17:51:26 -07:00
parent 67873e8dd9
commit 77db7287d6
4 changed files with 4 additions and 7 deletions

View File

@@ -6,10 +6,7 @@ import { getRawPacketObservationKey } from './rawPacketIdentity';
export const RAW_PACKET_STATS_WINDOWS = ['1m', '5m', '10m', '30m', 'session'] as const;
export type RawPacketStatsWindow = (typeof RAW_PACKET_STATS_WINDOWS)[number];
export const RAW_PACKET_STATS_WINDOW_SECONDS: Record<
Exclude<RawPacketStatsWindow, 'session'>,
number
> = {
const RAW_PACKET_STATS_WINDOW_SECONDS: Record<Exclude<RawPacketStatsWindow, 'session'>, number> = {
'1m': 60,
'5m': 5 * 60,
'10m': 10 * 60,

View File

@@ -28,7 +28,7 @@ export type ServerLoginAttemptState =
at: number;
};
export function getServerLoginMethodLabel(
function getServerLoginMethodLabel(
method: ServerLoginMethod,
blankLabel = 'existing-access'
): string {

View File

@@ -17,7 +17,7 @@ export interface VisualizerSettings {
hidePacketFeed: boolean;
}
export const VISUALIZER_DEFAULTS: VisualizerSettings = {
const VISUALIZER_DEFAULTS: VisualizerSettings = {
showAmbiguousPaths: true,
showAmbiguousNodes: false,
useAdvertPathHints: true,

View File

@@ -116,7 +116,7 @@ export interface PathStep {
hiddenLabel?: string | null;
}
export function normalizeHopToken(hop: string | null | undefined): string | null {
function normalizeHopToken(hop: string | null | undefined): string | null {
const normalized = hop?.trim().toLowerCase() ?? '';
return normalized.length > 0 ? normalized : null;
}