add proxy resolver

This commit is contained in:
Alex Holliday committed 2026-08-21 11:06:42 -07:00
1 parent cd520dacc5
commit a56bff2305
4 files changed
+126 -1

No files matched your search

@@ -5,6 +5,7 @@ export interface IProxiesRepository {
create(proxyData: Partial<Proxy>): Promise<Proxy>;
// read
findById(proxyId: string, teamId: string): Promise<Proxy>;
findByIdOrNull(proxyId: string, teamId?: string): Promise<Proxy | null>;
findByTeamId(teamId: string): Promise<Proxy[]>;
// update
updateById(proxyId: string, teamId: string, patch: Partial<Proxy>, options?: { unsetPassword?: boolean; unsetUsername?: boolean }): Promise<Proxy>;