devblog/src/types.ts
2024-12-25 02:14:10 -05:00

27 lines
537 B
TypeScript

import type socialIcons from "@assets/socialIcons";
export type Site = {
website: string;
author: string;
profile: string;
desc: string;
title: string;
ogImage?: string;
lightAndDarkMode: boolean;
postPerIndex: number;
postPerPage: number;
scheduledPostMargin: number;
showArchives?: boolean;
editPost?: {
url?: URL["href"];
text?: string;
appendFilePath?: boolean;
};
};
export type SocialObjects = {
name: keyof typeof socialIcons;
href: string;
active: boolean;
linkTitle: string;
}[];