From aab3c90e8083b0071bde8a32489f19dceda532d4 Mon Sep 17 00:00:00 2001 From: Drew Volz Date: Fri, 24 Jan 2025 18:16:06 -0800 Subject: [PATCH] format and update exported types --- ccc-types/bindings/index.d.ts | 6 +++--- ccc-types/src/streams.rs | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/ccc-types/bindings/index.d.ts b/ccc-types/bindings/index.d.ts index 6974fe3..279fb15 100644 --- a/ccc-types/bindings/index.d.ts +++ b/ccc-types/bindings/index.d.ts @@ -252,7 +252,7 @@ export interface Schedule { export type Stream = { starttime: string; location: string; - eid: any; + eid: string; performer: string; subtitle: string; poster: string; @@ -260,8 +260,8 @@ export type Stream = { status: string; category: string; hptitle: string; - categoryTextcolor: string; - categoryColor: string; + categoryTextcolor: string | null; + categoryColor: string | null; thumb: string; title: string; iframesrc: string; diff --git a/ccc-types/src/streams.rs b/ccc-types/src/streams.rs index 8bfcd29..5f3edbe 100644 --- a/ccc-types/src/streams.rs +++ b/ccc-types/src/streams.rs @@ -5,7 +5,7 @@ use ts_rs::TS; #[serde(rename_all = "camelCase")] #[ts(export, rename = "Stream")] pub struct StreamEntry { - pub starttime:String, + pub starttime: String, pub location: String, pub eid: String, pub performer: String,