mirror of
https://github.com/harivansh-afk/betterNAS.git
synced 2026-04-15 06:04:40 +00:00
14 lines
326 B
TypeScript
14 lines
326 B
TypeScript
import type { NextcloudBackendStatus } from "@betternas/contracts";
|
|
|
|
export class NextcloudBackendAdapter {
|
|
constructor(private readonly baseUrl: string) {}
|
|
|
|
describe(): NextcloudBackendStatus {
|
|
return {
|
|
configured: this.baseUrl.length > 0,
|
|
baseUrl: this.baseUrl,
|
|
provider: "nextcloud"
|
|
};
|
|
}
|
|
}
|
|
|