diff --git a/src/steering-types.ts b/src/steering-types.ts index 8bfdca4a7768734e553e9dca2e1306d998719a8a..5a68be04bab6766cd5c69f6933ebfd1e75551354 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: {