feat(ds-sdk): B3 추출 — DTO·Zod·bind-env 9종·ApiCode (리프)
yakconsole → @yakcloud/ds-sdk 추출(11 모듈): - enums.ts: 상태/타입 리터럴 유니온 SSOT(값 배열 + type) - dto/: cluster·service·deployment·account·domain (비밀필드 제외, publicService 계약 동형) - bind-env.ts: BIND_ENV_VARS 9종(MONGODB..ORACLE) + SERVICE_DEFAULT_PORT + bindEnvPrefix/bindEnvKeys - schemas.ts: zod(생성/검증 body + DTO), api-codes.ts: ApiCode 유니온 + CODE_STATUS - zod ^4.4.3(소스 정합), 리프 규칙 준수(react/prisma/next/서버 import 0) 검증: 적대적 Verify=SHIP, bind-env 9종 Python _bind_env_for parity 완전 일치, 누출 0, tsc --noEmit 통과(strict+noUncheckedIndexedAccess+verbatimModuleSyntax). Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
This commit is contained in:
18
packages/ds-sdk/src/dto/index.ts
Normal file
18
packages/ds-sdk/src/dto/index.ts
Normal file
@ -0,0 +1,18 @@
|
||||
// dto/* 배럴 재수출.
|
||||
export type { ClusterDTO, ClusterEventDTO, ClusterDetailDTO, TemplateDTO } from "./cluster";
|
||||
export type { ServiceDTO, BindingDTO } from "./service";
|
||||
export type { EnvVarDTO, DeploymentDTO } from "./deployment";
|
||||
export type {
|
||||
UserDTO,
|
||||
QuotaDTO,
|
||||
MeDTO,
|
||||
QuotaRequestDTO,
|
||||
QuotaRequestAdminDTO,
|
||||
PlanRequestAdminDTO,
|
||||
UsageClusterDTO,
|
||||
UsageHistoryPoint,
|
||||
UsageSummaryDTO,
|
||||
NodeMetricDTO,
|
||||
ClusterUsageDTO,
|
||||
} from "./account";
|
||||
export type { DomainDTO } from "./domain";
|
||||
Reference in New Issue
Block a user