new changes
This commit is contained in:
parent
d8d0aaa90e
commit
a1aef7cae5
Binary file not shown.
|
Before Width: | Height: | Size: 124 KiB After Width: | Height: | Size: 38 KiB |
BIN
db/seed/posts/obsolete.png
Normal file
BIN
db/seed/posts/obsolete.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 43 KiB |
6721
package-lock.json
generated
6721
package-lock.json
generated
File diff suppressed because it is too large
Load Diff
@ -16,7 +16,7 @@ import {
|
||||
addToExistingBucket,
|
||||
addToNewBucketForPost,
|
||||
writeFilesToFS,
|
||||
} from "@/app/lib/actions/entitymanagement/attachment/attachmentActions";
|
||||
} from "@/app/lib/actions/entityManagement/attachment/attachmentActions";
|
||||
import { Attributes } from "@sequelize/core";
|
||||
import { RequestCookie } from "next/dist/compiled/@edge-runtime/cookies";
|
||||
import { APIError, attemptAPIAction } from "@/util/api";
|
||||
|
||||
@ -1,4 +1,4 @@
|
||||
import { GetPostsAttributes } from "@/app/lib/actions/entitymanagement/post/postActions";
|
||||
import { GetPostsAttributes } from "@/app/lib/actions/entityManagement/post/postActions";
|
||||
import { Post, Project, Bucket, PostBucket, Attachment } from "@/models";
|
||||
import { Attributes } from "@sequelize/core";
|
||||
import { UUID } from "crypto";
|
||||
|
||||
@ -15,7 +15,7 @@ import { handleActionResult } from "@/app/lib/actions/clientActionHandler";
|
||||
import {
|
||||
getPostsWithBucketsAndProject,
|
||||
GetPostsAttributes,
|
||||
} from "@/app/lib/actions/entitymanagement/post/postActions";
|
||||
} from "@/app/lib/actions/entityManagement/post/postActions";
|
||||
import { PostViewProps } from "@/components/views/admin/post";
|
||||
import { StateHook } from "@/util/";
|
||||
|
||||
|
||||
@ -5,7 +5,7 @@ import PostTable, {
|
||||
import {
|
||||
GetPostsAttributes,
|
||||
PostServerActions,
|
||||
} from "@/app/lib/actions/entitymanagement/post/postActions";
|
||||
} from "@/app/lib/actions/entityManagement/post/postActions";
|
||||
import { EditorState } from "@/components/client/admin/PostEditor";
|
||||
import { Project } from "@/models";
|
||||
import { ReactNode, useState } from "react";
|
||||
|
||||
@ -8,8 +8,8 @@ import {
|
||||
updatePost,
|
||||
GetPostsAttributes,
|
||||
PostServerActions,
|
||||
} from "@/app/lib/actions/entitymanagement/post/postActions";
|
||||
import { getProjects } from "@/app/lib/actions/entitymanagement/post/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 { CPostView } from "@/components/views/admin/post";
|
||||
|
||||
@ -7,8 +7,8 @@ import {
|
||||
deletePost,
|
||||
getPostsWithBucketsAndProject,
|
||||
updatePost,
|
||||
} from "@/app/lib/actions/entitymanagement/post/postActions";
|
||||
import { getProjects } from "@/app/lib/actions/entitymanagement/post/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";
|
||||
|
||||
@ -24,7 +24,7 @@ export class Project extends Model<
|
||||
@AutoIncrement
|
||||
declare id: CreationOptional<number>;
|
||||
@Attribute(DataTypes.STRING)
|
||||
@Unique
|
||||
// @Unique
|
||||
declare readableIdentifier: string;
|
||||
@Attribute(DataTypes.STRING)
|
||||
declare name: string;
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user