manifold/common/dashboard.ts
2022-08-25 13:03:29 +01:00

14 lines
262 B
TypeScript

import { JSONContent } from '@tiptap/core'
export type Dashboard = {
id: string
name: string
content: JSONContent
creatorId: string // User id
createdTime: number
lastUpdatedTime: number
slug: string
}
export const MAX_DASHBOARD_NAME_LENGTH = 75