Skip to content
Snippets Groups Projects
Commit 4b63d8c3 authored by Konrad Mohrfeldt's avatar Konrad Mohrfeldt :koala:
Browse files

chore: update steering types

parent f5b9740c
No related branches found
No related tags found
No related merge requests found
/* 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: {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment