Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/commands/network-setup.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ import { UpstreamProxyConfig } from '../types';
/**
* The resolved network configuration produced by {@link resolveNetworkConfig}.
*/
export interface NetworkSetupResult {
interface NetworkSetupResult {
upstreamProxy: UpstreamProxyConfig | undefined;
dnsServers: string[];
dnsOverHttps: string | undefined;
Expand Down
2 changes: 1 addition & 1 deletion src/commands/preflight.ts
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ type OptionSourceResolver = (optionName: string) => string | undefined;
/**
* The result produced by {@link resolveAllowedDomains}.
*/
export interface AllowedDomainsResult {
interface AllowedDomainsResult {
allowedDomains: string[];
localhostResult: ReturnType<typeof processLocalhostKeyword>;
resolvedCopilotApiTarget: string | undefined;
Expand Down
15 changes: 0 additions & 15 deletions src/logs/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,23 +2,8 @@
* Log viewing utilities for Squid proxy logs
*/

export { parseLogLine, extractDomain } from './log-parser';
export { LogFormatter } from './log-formatter';
export {
discoverLogSources,
selectMostRecent,
isContainerRunning,
validateSource,
listLogSources,
} from './log-discovery';
export { streamLogs } from './log-streamer';
export {
aggregateLogs,
loadAllLogs,
loadAndAggregate,
AggregatedStats,
DomainStats,
} from './log-aggregator';
export {
formatStats,
} from './stats-formatter';
8 changes: 4 additions & 4 deletions src/squid/domain-acl.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ import {
/**
* Groups domains by their protocol restriction
*/
export interface DomainsByProtocol {
interface DomainsByProtocol {
http: string[];
https: string[];
both: string[];
Expand All @@ -18,7 +18,7 @@ export interface DomainsByProtocol {
/**
* Groups patterns by their protocol restriction
*/
export interface PatternsByProtocol {
interface PatternsByProtocol {
http: DomainPattern[];
https: DomainPattern[];
both: DomainPattern[];
Expand Down Expand Up @@ -50,7 +50,7 @@ export function formatDomainForSquid(domain: string): string {
/**
* Group plain domains by protocol
*/
export function groupDomainsByProtocol(domains: PlainDomainEntry[]): DomainsByProtocol {
function groupDomainsByProtocol(domains: PlainDomainEntry[]): DomainsByProtocol {
const result: DomainsByProtocol = { http: [], https: [], both: [] };
for (const entry of domains) {
result[entry.protocol].push(entry.domain);
Expand All @@ -61,7 +61,7 @@ export function groupDomainsByProtocol(domains: PlainDomainEntry[]): DomainsByPr
/**
* Group patterns by protocol
*/
export function groupPatternsByProtocol(patterns: DomainPattern[]): PatternsByProtocol {
function groupPatternsByProtocol(patterns: DomainPattern[]): PatternsByProtocol {
const result: PatternsByProtocol = { http: [], https: [], both: [] };
for (const pattern of patterns) {
result[pattern.protocol].push(pattern);
Expand Down
Loading