- Add StockDataSource to fetch quotes from Yahoo Finance API - Add StockSettingsStore for persisting user's stock symbols - Add StockSettingsView with UI to manage symbols (max 5) - Add STOCK feed item type and ranker weight (0.3) - Integrate stock fetch into ContextOrchestrator pipeline - Stock cards appear in FYI bucket and sync to Glass via BLE 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
22 lines
479 B
Swift
22 lines
479 B
Swift
//
|
|
// Winner.swift
|
|
// iris
|
|
//
|
|
// Created by Codex.
|
|
//
|
|
|
|
import Foundation
|
|
|
|
enum FeedItemType: String, Codable, CaseIterable {
|
|
case weatherAlert = "WEATHER_ALERT"
|
|
case weatherWarning = "WEATHER_WARNING"
|
|
case transit = "TRANSIT"
|
|
case poiNearby = "POI_NEARBY"
|
|
case info = "INFO"
|
|
case nowPlaying = "NOW_PLAYING"
|
|
case currentWeather = "CURRENT_WEATHER"
|
|
case calendarEvent = "CALENDAR_EVENT"
|
|
case stock = "STOCK"
|
|
case allQuiet = "ALL_QUIET"
|
|
}
|