36 lines
628 B
TypeScript
36 lines
628 B
TypeScript
export interface ArtItem {
|
|
id: string;
|
|
title: string;
|
|
description: string;
|
|
imageUrl?: string;
|
|
createdAt: string;
|
|
medium: string;
|
|
type: 'collection' | 'single';
|
|
images?: ArtImage[];
|
|
}
|
|
|
|
export interface ArtImage {
|
|
id: string;
|
|
url: string;
|
|
title?: string;
|
|
description?: string;
|
|
}
|
|
|
|
export interface Story {
|
|
id: string;
|
|
title: string;
|
|
content: string;
|
|
excerpt: string;
|
|
createdAt: string;
|
|
readTime: number;
|
|
}
|
|
|
|
export interface Thought {
|
|
id: string;
|
|
title: string;
|
|
content: string;
|
|
excerpt: string;
|
|
createdAt: string;
|
|
category: 'technology' | 'life' | 'creativity';
|
|
readTime: number;
|
|
} |