mirror of
https://github.com/harivansh-afk/betterNAS.git
synced 2026-04-17 00:04:51 +00:00
rename3
This commit is contained in:
parent
c3b5332477
commit
c7560e1630
28 changed files with 95 additions and 95 deletions
|
|
@ -1,5 +1,5 @@
|
|||
{
|
||||
"name": "@ainas/control-plane",
|
||||
"name": "@betternas/control-plane",
|
||||
"version": "0.1.0",
|
||||
"private": true,
|
||||
"type": "module",
|
||||
|
|
@ -11,7 +11,7 @@
|
|||
"typecheck": "tsc --noEmit -p tsconfig.json"
|
||||
},
|
||||
"dependencies": {
|
||||
"@ainas/contracts": "file:../../packages/contracts"
|
||||
"@betternas/contracts": "file:../../packages/contracts"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@types/node": "^22.18.6",
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
import type { NextcloudBackendStatus } from "@ainas/contracts";
|
||||
import type { NextcloudBackendStatus } from "@betternas/contracts";
|
||||
|
||||
export class NextcloudBackendAdapter {
|
||||
constructor(private readonly baseUrl: string) {}
|
||||
|
|
|
|||
|
|
@ -3,7 +3,7 @@ import {
|
|||
CONTROL_PLANE_ROUTES,
|
||||
type ControlPlaneHealthResponse,
|
||||
type ControlPlaneVersionResponse
|
||||
} from "@ainas/contracts";
|
||||
} from "@betternas/contracts";
|
||||
|
||||
import type { ControlPlaneConfig } from "./config.js";
|
||||
import { NextcloudBackendAdapter } from "./adapters/nextcloud-backend.js";
|
||||
|
|
|
|||
|
|
@ -14,7 +14,7 @@ export function loadConfig(env: NodeJS.ProcessEnv = process.env): ControlPlaneCo
|
|||
|
||||
return {
|
||||
port,
|
||||
version: env.AINAS_VERSION ?? "0.1.0-dev",
|
||||
version: env.BETTERNAS_VERSION ?? "0.1.0-dev",
|
||||
nextcloudBaseUrl: normalizeBaseUrl(env.NEXTCLOUD_BASE_URL ?? "http://nextcloud")
|
||||
};
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue