generated from Nicholai/astro-template
47 lines
795 B
TypeScript
47 lines
795 B
TypeScript
|
|
export type Category =
|
|
| 'FEMINIST_GUNDEM'
|
|
| 'CEVIRI'
|
|
| 'KADINLARDAN_GELENLER'
|
|
| 'CADI_YAYINLARI'
|
|
| 'TARIHCEMIZ';
|
|
|
|
export interface Article {
|
|
id: string;
|
|
title: string;
|
|
excerpt: string;
|
|
category: Category;
|
|
author: string;
|
|
date: string;
|
|
imageUrl: string;
|
|
readTime?: string;
|
|
}
|
|
|
|
export interface NavItem {
|
|
label: string;
|
|
href: string;
|
|
isActive?: boolean;
|
|
}
|
|
|
|
export interface Story {
|
|
id: string;
|
|
title: string;
|
|
subtitle: string;
|
|
author: string;
|
|
authorImage: string;
|
|
content: string;
|
|
imageUrl: string;
|
|
}
|
|
|
|
export type PublicationType = 'FANZIN' | 'RAPOR' | 'BROSUR' | 'KITAP';
|
|
|
|
export interface Publication {
|
|
id: string;
|
|
title: string;
|
|
type: PublicationType;
|
|
date: string;
|
|
coverUrl: string;
|
|
description: string;
|
|
downloadUrl?: string;
|
|
}
|