moving stuff and refactoring
This commit is contained in:
@@ -6,7 +6,7 @@ import PostTable, {
|
||||
import {
|
||||
GetPostsAttributes,
|
||||
PostServerActions,
|
||||
} from "@/app/lib/actions/entityManagement/postActions";
|
||||
} from "@/app/lib/actions/entityManagement/post/postActions";
|
||||
import { EditorState } from "@/components/client/admin/PostEditor";
|
||||
import { Project } from "@/models";
|
||||
import { Dispatch, ReactNode, SetStateAction, useState } from "react";
|
||||
|
||||
@@ -9,8 +9,8 @@ import {
|
||||
updatePost,
|
||||
GetPostsAttributes,
|
||||
PostServerActions,
|
||||
} from "@/app/lib/actions/entityManagement/postActions";
|
||||
import { getProjects } from "@/app/lib/actions/entityManagement/projectActions";
|
||||
} from "@/app/lib/actions/entityManagement/post/postActions";
|
||||
import { getProjects } from "@/app/lib/actions/entityManagement/post/projectActions";
|
||||
import { Bucket, Project, Post, dbSync, Attachment } from "@/models";
|
||||
import { handleActionResult } from "../../app/lib/actions/clientActionHandler";
|
||||
import { ClientPostView } from "./ClientPostView";
|
||||
|
||||
@@ -9,8 +9,8 @@ import {
|
||||
deletePost,
|
||||
getPostsWithBucketsAndProject,
|
||||
updatePost,
|
||||
} from "@/app/lib/actions/entityManagement/postActions";
|
||||
import { getProjects } from "@/app/lib/actions/entityManagement/projectActions";
|
||||
} from "@/app/lib/actions/entityManagement/post/postActions";
|
||||
import { getProjects } from "@/app/lib/actions/entityManagement/post/projectActions";
|
||||
import { Bucket, Project, Post, dbSync, Attachment } from "@/models";
|
||||
import { tryCreateAttachment } from "@/app/api/attachment/route";
|
||||
import { Attributes } from "@sequelize/core";
|
||||
|
||||
Reference in New Issue
Block a user