851cffd73e
* Create backend for Dashboards * Rm lastupdatetime for now * Added a create-dashboard and sharable view dashboard page * Various nit fixes. * Renamed Dashboards to Posts * Fix nits
13 lines
229 B
TypeScript
13 lines
229 B
TypeScript
import { JSONContent } from '@tiptap/core'
|
|
|
|
export type Post = {
|
|
id: string
|
|
title: string
|
|
content: JSONContent
|
|
creatorId: string // User id
|
|
createdTime: number
|
|
slug: string
|
|
}
|
|
|
|
export const MAX_POST_TITLE_LENGTH = 480
|