Kontakte mit dem Handy abgleichen über Nextcloud-Adressbuch, .vcf einlesen (0.44.0)
Some checks failed
Prüfung / tests (push) Has been cancelled
Prüfung / container (push) Has been cancelled

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01AmyPfuNc4sCRfaF3oURXZz
This commit is contained in:
Claude
2026-11-04 19:48:42 +00:00
parent bbeaa39ad1
commit 8fde24a8a2
15 changed files with 733 additions and 5 deletions

View File

@@ -52,7 +52,7 @@ export function webdavBasis(z: { adresse: string; benutzer: string; ordner: stri
const kodiert = (pfad: string) => pfad.split("/").map(encodeURIComponent).join("/");
export class Nextcloud {
constructor(private z: NextcloudZugang, private abruf: typeof fetch = fetch) {}
constructor(readonly z: NextcloudZugang, readonly abruf: typeof fetch = fetch) {}
private adresse(pfad: string): string {
return `${this.z.url.replace(/\/+$/, "")}/${kodiert(pfad)}`;