Files
log/src/types.ts
2026-01-16 12:55:57 +09:00

40 lines
623 B
TypeScript

export interface Profile {
did: string
handle: string
displayName?: string
description?: string
avatar?: string
banner?: string
}
export interface BlogPost {
uri: string
cid: string
title: string
content: string
createdAt: string
translations?: {
[lang: string]: {
content: string
title?: string
}
}
}
export interface NetworkConfig {
plc: string
bsky: string
web?: string
}
export interface AppConfig {
title: string
handle: string
collection: string
network: string
color?: string
siteUrl?: string
}
export type Networks = Record<string, NetworkConfig>