Cleaned up obsolete types
This commit is contained in:
parent
92bdb03836
commit
5f04cb0c83
@ -12,13 +12,6 @@ export type PostTableCallbacks = {
|
||||
closeEditor: ()=>any;
|
||||
uploadAttachment : ()=>any;
|
||||
}
|
||||
type PostEditorBucket = Partial<Attributes<Bucket>> & {
|
||||
attachments:Partial<Attributes<Attachment>>[]
|
||||
}
|
||||
|
||||
export type PostEditorPost = Attributes<Post> & {
|
||||
buckets:PostEditorBucket[]
|
||||
}
|
||||
|
||||
export type EditorProps = {
|
||||
open:boolean;
|
||||
|
||||
@ -7,7 +7,7 @@ import { Project, Post, Bucket } from "@/model/Models";
|
||||
import toast from "react-hot-toast"
|
||||
import { ActionResult } from "@/app/lib/actions/ActionResult";
|
||||
import { handleActionResult } from "@/app/lib/actions/clientActionHandler";
|
||||
import PostEditor, { EditorProps, PostEditorPost } from "./PostEditor";
|
||||
import PostEditor, { EditorProps } from "./PostEditor";
|
||||
import { getPostsWithBuckets } from "@/app/lib/actions/entityManagement/postActions";
|
||||
import { PostAttributesWithBuckets } from "@/model/Post";
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user