mirror of
https://github.com/juherr/kill-the-news.git
synced 2026-06-20 22:03:48 +00:00
feat(websub): add WebSubSubscription type
This commit is contained in:
@@ -66,6 +66,13 @@ export interface FeedListItem {
|
||||
description?: string;
|
||||
}
|
||||
|
||||
// WebSub (PubSubHubbub) subscription configuration
|
||||
export interface WebSubSubscription {
|
||||
callbackUrl: string;
|
||||
secret?: string;
|
||||
expiresAt: number; // Unix timestamp ms
|
||||
}
|
||||
|
||||
// Declare KVNamespace for TypeScript
|
||||
declare global {
|
||||
// This is not an ideal solution but works for our example
|
||||
|
||||
Reference in New Issue
Block a user