import { ReactNode } from 'react'

import { ProjectModel, ThemeModel } from '@/graphql'

export type ProjectData = Pick<
	ProjectModel,
	'id' | 'name' | 'previewPath' | 'icon' | 'layers'
> & {
	theme: Pick<ThemeModel, 'options'>
}

export type ProjectsTableDataItem = Record<
	'icon' | 'name' | 'description' | 'author' | 'createdAt' | 'editedAt',
	ReactNode
>
