From 429d45f36d799d0251c8f62102bfb64decb3a81e Mon Sep 17 00:00:00 2001 From: 0-Zz-ang Date: Mon, 14 Jul 2025 13:42:35 +0900 Subject: intergration 폴더 변경 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/[lng]/evcp/(evcp)/integration-log/page.tsx | 53 ++++++++++++++++++++++++++ app/[lng]/evcp/(evcp)/integration/page.tsx | 53 ++++++++++++++++++++++++++ app/[lng]/evcp/integration-log/page.tsx | 53 -------------------------- app/[lng]/evcp/integration/page.tsx | 53 -------------------------- 4 files changed, 106 insertions(+), 106 deletions(-) create mode 100644 app/[lng]/evcp/(evcp)/integration-log/page.tsx create mode 100644 app/[lng]/evcp/(evcp)/integration/page.tsx delete mode 100644 app/[lng]/evcp/integration-log/page.tsx delete mode 100644 app/[lng]/evcp/integration/page.tsx (limited to 'app') diff --git a/app/[lng]/evcp/(evcp)/integration-log/page.tsx b/app/[lng]/evcp/(evcp)/integration-log/page.tsx new file mode 100644 index 00000000..c10a41ea --- /dev/null +++ b/app/[lng]/evcp/(evcp)/integration-log/page.tsx @@ -0,0 +1,53 @@ +import * as React from "react"; +import { type SearchParams } from "@/types/table"; +import { getValidFilters } from "@/lib/data-table"; +import { Shell } from "@/components/shell"; +import { Skeleton } from "@/components/ui/skeleton"; +import { DataTableSkeleton } from "@/components/data-table/data-table-skeleton"; +import { SearchParamsCache } from "@/lib/integration-log/validations"; +import { getIntegrationLogs } from "@/lib/integration-log/service"; +import { IntegrationLogTable } from "@/lib/integration-log/table/integration-log-table"; + +interface IntegrationLogPageProps { + searchParams: Promise; +} + +export default async function IntegrationLogPage(props: IntegrationLogPageProps) { + const searchParams = await props.searchParams; + const search = SearchParamsCache.parse(searchParams); + const validFilters = getValidFilters(search.filters); + + const promises = Promise.all([ + getIntegrationLogs({ + ...search, + filters: validFilters, + }), + ]); + + return ( + +
+
+

인터페이스 이력 조회

+

+ 인터페이스 실행 이력을 조회합니다. 검색, 필터링, 정렬이 가능합니다. +

+
+
+ }> + + } + > + + +
+ ); +} \ No newline at end of file diff --git a/app/[lng]/evcp/(evcp)/integration/page.tsx b/app/[lng]/evcp/(evcp)/integration/page.tsx new file mode 100644 index 00000000..f2266bca --- /dev/null +++ b/app/[lng]/evcp/(evcp)/integration/page.tsx @@ -0,0 +1,53 @@ +import * as React from "react"; +import { type SearchParams } from "@/types/table"; +import { getValidFilters } from "@/lib/data-table"; +import { Shell } from "@/components/shell"; +import { Skeleton } from "@/components/ui/skeleton"; +import { DataTableSkeleton } from "@/components/data-table/data-table-skeleton"; +import { SearchParamsCache } from "@/lib/integration/validations"; +import { getIntegrations } from "@/lib/integration/service"; +import { IntegrationTable } from "@/lib/integration/table/integration-table"; + +interface IndexPageProps { + searchParams: Promise; +} + +export default async function IndexPage(props: IndexPageProps) { + const searchParams = await props.searchParams; + const search = SearchParamsCache.parse(searchParams); + const validFilters = getValidFilters(search.filters); + + const promises = Promise.all([ + getIntegrations({ + ...search, + filters: validFilters, + }), + ]); + + return ( + +
+
+

인터페이스 관리

+

+ 시스템 인터페이스를 등록, 수정, 삭제할 수 있습니다. +

+
+
+ }> + + } + > + + +
+ ); +} \ No newline at end of file diff --git a/app/[lng]/evcp/integration-log/page.tsx b/app/[lng]/evcp/integration-log/page.tsx deleted file mode 100644 index c10a41ea..00000000 --- a/app/[lng]/evcp/integration-log/page.tsx +++ /dev/null @@ -1,53 +0,0 @@ -import * as React from "react"; -import { type SearchParams } from "@/types/table"; -import { getValidFilters } from "@/lib/data-table"; -import { Shell } from "@/components/shell"; -import { Skeleton } from "@/components/ui/skeleton"; -import { DataTableSkeleton } from "@/components/data-table/data-table-skeleton"; -import { SearchParamsCache } from "@/lib/integration-log/validations"; -import { getIntegrationLogs } from "@/lib/integration-log/service"; -import { IntegrationLogTable } from "@/lib/integration-log/table/integration-log-table"; - -interface IntegrationLogPageProps { - searchParams: Promise; -} - -export default async function IntegrationLogPage(props: IntegrationLogPageProps) { - const searchParams = await props.searchParams; - const search = SearchParamsCache.parse(searchParams); - const validFilters = getValidFilters(search.filters); - - const promises = Promise.all([ - getIntegrationLogs({ - ...search, - filters: validFilters, - }), - ]); - - return ( - -
-
-

인터페이스 이력 조회

-

- 인터페이스 실행 이력을 조회합니다. 검색, 필터링, 정렬이 가능합니다. -

-
-
- }> - - } - > - - -
- ); -} \ No newline at end of file diff --git a/app/[lng]/evcp/integration/page.tsx b/app/[lng]/evcp/integration/page.tsx deleted file mode 100644 index f2266bca..00000000 --- a/app/[lng]/evcp/integration/page.tsx +++ /dev/null @@ -1,53 +0,0 @@ -import * as React from "react"; -import { type SearchParams } from "@/types/table"; -import { getValidFilters } from "@/lib/data-table"; -import { Shell } from "@/components/shell"; -import { Skeleton } from "@/components/ui/skeleton"; -import { DataTableSkeleton } from "@/components/data-table/data-table-skeleton"; -import { SearchParamsCache } from "@/lib/integration/validations"; -import { getIntegrations } from "@/lib/integration/service"; -import { IntegrationTable } from "@/lib/integration/table/integration-table"; - -interface IndexPageProps { - searchParams: Promise; -} - -export default async function IndexPage(props: IndexPageProps) { - const searchParams = await props.searchParams; - const search = SearchParamsCache.parse(searchParams); - const validFilters = getValidFilters(search.filters); - - const promises = Promise.all([ - getIntegrations({ - ...search, - filters: validFilters, - }), - ]); - - return ( - -
-
-

인터페이스 관리

-

- 시스템 인터페이스를 등록, 수정, 삭제할 수 있습니다. -

-
-
- }> - - } - > - - -
- ); -} \ No newline at end of file -- cgit v1.2.3