add landtag feed with AW API polls, extend FeedItem for session/decision kinds
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
@@ -14,13 +14,14 @@ export interface FeedTopicRef {
|
||||
|
||||
export interface FeedItem {
|
||||
id: string
|
||||
kind: "poll" | "vorgang"
|
||||
kind: "poll" | "vorgang" | "session" | "decision"
|
||||
status: "upcoming" | "past"
|
||||
title: string
|
||||
url: string | null
|
||||
date: string | null
|
||||
topics: FeedTopicRef[]
|
||||
source: string
|
||||
result?: "accepted" | "rejected" | "conducted" | "referred" | null
|
||||
}
|
||||
|
||||
function classifyPoll(poll: Poll): "upcoming" | "past" {
|
||||
|
||||
Reference in New Issue
Block a user