mirror of
https://github.com/harivansh-afk/betterNAS.git
synced 2026-04-18 08:02:52 +00:00
add control plane service
Co-authored-by: Codex <noreply@openai.com>
This commit is contained in:
parent
679fd504a2
commit
57f221fb72
8 changed files with 766 additions and 0 deletions
14
exapps/control-plane/src/adapters/nextcloud-backend.ts
Normal file
14
exapps/control-plane/src/adapters/nextcloud-backend.ts
Normal file
|
|
@ -0,0 +1,14 @@
|
|||
import type { NextcloudBackendStatus } from "@ainas/contracts";
|
||||
|
||||
export class NextcloudBackendAdapter {
|
||||
constructor(private readonly baseUrl: string) {}
|
||||
|
||||
describe(): NextcloudBackendStatus {
|
||||
return {
|
||||
configured: this.baseUrl.length > 0,
|
||||
baseUrl: this.baseUrl,
|
||||
provider: "nextcloud"
|
||||
};
|
||||
}
|
||||
}
|
||||
|
||||
Loading…
Add table
Add a link
Reference in a new issue