feat(cloudflare): add custom targets and node failover (#43)

* feat(cloudflare): add custom targets and node failover

* fix(cloudflare): propagate batch sync errors

---------

Co-authored-by: OpenAI Codex <codex@openai.com>
This commit is contained in:
Ryan
2026-10-07 11:29:41 +08:00
committed by GitHub
parent e49e0ad2bf
commit fd0e9acc2f
28 changed files with 1144 additions and 155 deletions
@@ -133,4 +133,10 @@ export class CloudflareService extends OpenFlareBaseService {
member_ids: memberIds,
});
}
static batchEnableProxy(groupId: number, memberIds: number[]): Promise<void> {
return this.post<void>(`/groups/${groupId}/members/batch-proxy`, {
member_ids: memberIds,
});
}
}