chore: steiger 적용

This commit is contained in:
2025-06-11 10:39:18 +09:00
parent e9e0a574da
commit 2c78b85e61
13 changed files with 17 additions and 14 deletions
+1
View File
@@ -0,0 +1 @@
export { BoardApi } from "../api/board-service";
@@ -1,6 +1,6 @@
import { z } from "zod";
import type { PageableList, PageableParams } from "@/shared/model";
import type { BbsType } from "@/shared/store/menu-store";
import type { BbsType } from "@/shared/store";
export const BOARD_POSTING_CODE = {
팝업게시: "01",
@@ -0,0 +1 @@
export { AuthorityButton } from "../ui/authority-button";
@@ -1,7 +1,7 @@
import { useEffect } from "react";
import { useQuery } from "@tanstack/react-query";
import { usePathname, useRouter } from "next/navigation";
import { BoardApi } from "@/entities/board";
import { BoardApi } from "@/entities/board/@x/post";
import { useAlertStore, useMenuStore } from "@/shared/lib";
function PostPageGuard({
@@ -26,7 +26,7 @@ import {
cn,
} from "@common/components";
import { CodeSelect } from "@/entities/code/@x/posting";
import { AuthorityButton } from "@/entities/menu-authority";
import { AuthorityButton } from "@/entities/menu-authority/@x/posting";
import { SiteApi, type Site } from "@/entities/site/@x/posting";
import { useAlertStore, useMutationWrapper } from "@/shared/lib";
import type { PageableList } from "@/shared/model";
@@ -2,7 +2,7 @@
import dayjs from "dayjs";
import { usePathname, useRouter } from "next/navigation";
import type { ColumnDef, Row } from "@tanstack/react-table";
import type { Board } from "@/entities/board/model/board-interface";
import type { Board } from "@/entities/board";
import { Button } from "@common/components";
export const columns: ColumnDef<Board>[] = [
@@ -1,4 +1,6 @@
import Image from "next/image";
import dynamic from "next/dynamic";
import { useQuery } from "@tanstack/react-query";
import { type UseFormReturn } from "react-hook-form";
import {
Input,
@@ -12,12 +14,10 @@ import {
TableRow,
} from "@common/components";
import { FormWrapper } from "@/widgets/form-wrapper";
import { FormItem, FormControl, FormField } from "@/shared/ui/form";
import type { ContentsFormData } from "@/entities/content";
import { useQuery } from "@tanstack/react-query";
import { CodeApi } from "@/entities/code";
import { ENDPOINT } from "@/shared/config";
import { CodeApi } from "@/entities/code/api/code-service";
import Image from "next/image";
import { FormItem, FormControl, FormField } from "@/shared/ui/form";
const Editor = dynamic(
() => import("@/entities/editor").then((module) => module.Editor),
+1 -1
View File
@@ -14,8 +14,8 @@ import {
TableRow,
} from "@common/components";
import { FormWrapper } from "@/widgets/form-wrapper";
import { GeneralFileUploader } from "@/widgets/post/ui/general-file-uploader";
import { AttachmentApi } from "@/entities/attachment";
import { GeneralFileUploader } from "@/widgets/post";
import { CodeSelect } from "@/entities/code";
import { ENDPOINT } from "@/shared/config";
import { setCookie } from "@/shared/lib";
@@ -15,7 +15,7 @@ import {
TableHead,
TableRow,
} from "@common/components";
import { GeneralFileUploader } from "@/widgets/post/ui/general-file-uploader";
import { GeneralFileUploader } from "@/widgets/post";
import { FormWrapper } from "@/widgets/form-wrapper";
import { CodeSelect } from "@/entities/code";
import { FormItem, FormControl, FormField } from "@/shared/ui/form";
+1 -1
View File
@@ -1,4 +1,4 @@
export { createAlertStore } from "./alert-store";
export { createAttachmentStore } from "./attachment-store";
export { createMenuStore } from "./menu-store";
export { createMenuStore, type BbsType } from "./menu-store";
export { createUserStore, type IUserInfo } from "./user-store";
+1
View File
@@ -1,3 +1,4 @@
export { Post } from "./ui/post";
export { PostForm } from "./ui/post-form";
export { PostPage } from "./ui/post-page";
export { GeneralFileUploader } from "./ui/general-file-uploader";
@@ -1,12 +1,12 @@
import dayjs from "dayjs";
import Image from "next/image";
import { useQuery } from "@tanstack/react-query";
import type { ColumnDef } from "@tanstack/react-table";
import { Badge, Checkbox, Skeleton, cn } from "@common/components";
import { AttachmentApi } from "@/entities/attachment";
import type { Post } from "@/entities/post";
import { useQuery } from "@tanstack/react-query";
import type { BbsType } from "@/shared/store";
import { ENDPOINT } from "@/shared/config";
import type { BbsType } from "@/shared/store/menu-store";
declare module "@tanstack/react-table" {
// eslint-disable-next-line @typescript-eslint/no-unused-vars
@@ -7,7 +7,7 @@ import { handleTusUpload } from "@/entities/tus";
import { AttachmentApi, type Attachment } from "@/entities/attachment";
import type { PostFormData, PostUpdateFormData } from "@/entities/post";
import { setCookie, useAlertStore, useMenuStore } from "@/shared/lib";
import type { BbsType } from "@/shared/store/menu-store";
import type { BbsType } from "@/shared/store";
function WithPreviewFileUploader<T extends PostFormData | PostUpdateFormData>({
form,