refactor(environment): rename urls payload to data

- replace hardcoded URL keys with a generic key-value data map

- align backend DTOs, MCP schemas, and service import/export mapping

- update environment UI forms to edit JSON data instead of fixed fields
This commit is contained in:
ars9 committed 2026-04-10 21:22:46 +03:00
1 parent b45f95d8cf
commit fd515ee459
15 files changed
+141 -143

No files matched your search

@@ -7,7 +7,7 @@ import {
IsString,
IsUUID,
} from "class-validator";
import { EnvironmentUrls } from "../environment.entity";
import { EnvironmentData } from "../environment.entity";
export class EnvironmentExportDto {
@ApiPropertyOptional()
@@ -27,5 +27,5 @@ export class EnvironmentExportDto {
@ApiProperty()
@IsObject()
urls: EnvironmentUrls;
data: EnvironmentData;
}