refactor: 프론트 템플릿 리펙토링

This commit is contained in:
donghyeon-ka
2026-09-18 15:16:58 +09:00
parent c10a709f2c
commit 5cc41467ae
80 changed files with 7227 additions and 4672 deletions
+6 -7
View File
@@ -1,9 +1,8 @@
import type { RawReferenceHttpExecutor } from "../../../src/features/reference-feature/adapters/reference-http-gateway.ts";
import type { ReferenceHttpBinding } from "../../../src/features/reference-feature/adapters/reference-http-gateway.ts";
declare const http: RawReferenceHttpExecutor;
declare const http: ReferenceHttpBinding;
http.execute({
operationId: "GET_REFERENCE_RESOURCE",
routeId: "REFERENCE_RESOURCE_LIST",
pathParams: { resourceId: "resource-1" },
});
const listInput = { limit: 20 };
// GET is bound to { resourceId: string }; list input must be rejected.
http.execute("GET_REFERENCE_RESOURCE", listInput);
+1 -1
View File
@@ -1,4 +1,4 @@
import type { Result } from "../../../src/application/result.ts";
import type { Result } from "../../../src/contracts/result.ts";
export function invalidUnwrap(result: Result<number, string>): number {
return result.value;