manifold/common/post.ts
2022-08-29 15:46:36 +01:00

13 lines
227 B
TypeScript

import { JSONContent } from '@tiptap/core'
export type Post = {
id: string
name: string
content: JSONContent
creatorId: string // User id
createdTime: number
slug: string
}
export const MAX_POST_NAME_LENGTH = 480