diff options
| author | Dawid Rycerz <dawid@rycerz.xyz> | 2026-01-13 20:06:15 +0100 |
|---|---|---|
| committer | Dawid Rycerz <dawid@rycerz.xyz> | 2026-01-13 20:06:15 +0100 |
| commit | b6e440699e9fca474869bf74ce09f2310f05c620 (patch) | |
| tree | a089f456a0e9ebb6f9f6b72370deb7eeb8a3e308 /src/types.ts | |
| parent | f8a4e00f89913b0c57ca016965f49efc26f4bff9 (diff) | |
Cleanup unused functionalities
Diffstat (limited to 'src/types.ts')
| -rw-r--r-- | src/types.ts | 56 |
1 files changed, 0 insertions, 56 deletions
diff --git a/src/types.ts b/src/types.ts index ec40902..4177fb1 100644 --- a/src/types.ts +++ b/src/types.ts @@ -25,60 +25,4 @@ export interface SiteMeta { lang?: string | undefined; } -/** Webmentions */ -export interface WebmentionsFeed { - children: WebmentionsChildren[]; - name: string; - type: string; -} - -export interface WebmentionsCache { - children: WebmentionsChildren[]; - lastFetched: null | string; -} - -export interface WebmentionsChildren { - author: Author | null; - content?: Content | null; - "mention-of": string; - name?: null | string; - photo?: null | string[]; - published?: null | string; - rels?: Rels | null; - summary?: Summary | null; - syndication?: null | string[]; - type: string; - url: string; - "wm-id": number; - "wm-private": boolean; - "wm-property": string; - "wm-protocol": string; - "wm-received": string; - "wm-source": string; - "wm-target": string; -} - -export interface Author { - name: string; - photo: string; - type: string; - url: string; -} - -export interface Content { - "content-type": string; - html: string; - text: string; - value: string; -} - -export interface Rels { - canonical: string; -} - -export interface Summary { - "content-type": string; - value: string; -} - export type AdmonitionType = "tip" | "note" | "important" | "caution" | "warning"; |
