From 4b63d8c350e378300740f81c4825070259ebad84 Mon Sep 17 00:00:00 2001
From: Konrad Mohrfeldt <konrad.mohrfeldt@farbdev.org>
Date: Tue, 28 May 2024 00:21:08 +0200
Subject: [PATCH] chore: update steering types

---
 src/steering-types.ts | 36 +++++++++++++-----------------------
 1 file changed, 13 insertions(+), 23 deletions(-)

diff --git a/src/steering-types.ts b/src/steering-types.ts
index 8bfdca4a..5a68be04 100644
--- a/src/steering-types.ts
+++ b/src/steering-types.ts
@@ -1,18 +1,9 @@
 /* eslint-disable */
 /*
- * This file was auto-generated by `make update-types` at 2024-05-23 13:38:58.635Z.
+ * This file was auto-generated by `make update-types` at 2024-05-27 21:37:28.061Z.
  * DO NOT make changes to this file.
  */
 
-/** OneOf type helpers */
-type Without<T, U> = { [P in Exclude<keyof T, keyof U>]?: never }
-type XOR<T, U> = T | U extends object ? (Without<T, U> & U) | (Without<U, T> & T) : T | U
-type OneOf<T extends any[]> = T extends [infer Only]
-  ? Only
-  : T extends [infer A, infer B, ...infer Rest]
-    ? OneOf<[XOR<A, B>, ...Rest]>
-    : never
-
 export interface paths {
   '/api/v1/categories/': {
     /** List all categories. */
@@ -495,6 +486,7 @@ export interface components {
       credits?: string
       /** Format: uri */
       image?: string | null
+      isUseExplicitlyGrantedByAuthor?: boolean
       licenseId?: number | null
       ppoi?: string
       height: number | null
@@ -688,6 +680,7 @@ export interface components {
       credits?: string
       /** Format: uri */
       image?: string | null
+      isUseExplicitlyGrantedByAuthor?: boolean
       licenseId?: number | null
       ppoi?: string
       height?: number | null
@@ -909,26 +902,23 @@ export interface components {
       name: string
     }
     RadioSettings: {
-      cba: OneOf<
-        [
-          {
-            [key: string]: string
-          },
-          {
-            [key: string]: string[]
-          },
-        ]
-      >
+      id: number
+      cba: {
+        readonly apiKey?: string
+        readonly domains: string[]
+      }
       playout: {
-        [key: string]: {
+        readonly lineInChannels: {
           [key: string]: string
         }
       }
       programme: {
-        [key: string]: number
+        readonly fallbackShowId: number | null
       }
       station: {
-        [key: string]: number | string
+        readonly name: string
+        readonly logoId: number | null
+        readonly website: string
       }
     }
     Schedule: {
-- 
GitLab