@deadair/sdk 0.34.2 → 0.35.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -0,0 +1,37 @@
1
+ import type { SdkFetch } from '../sdk-options.js';
2
+ import type { ConsoleLanguageChoice, ConsoleLanguageList, ConsoleLanguagePack } from './types/languages.types.js';
3
+ export declare class LanguagesClient {
4
+ private fetch;
5
+ constructor(fetch: SdkFetch);
6
+ /**
7
+ * @name Get my console language
8
+ * @description The language you chose for the console, if you chose one
9
+ */
10
+ getMyConsoleLanguage(): Promise<ConsoleLanguageChoice>;
11
+ /**
12
+ * @name Choose my console language
13
+ * @description Chooses the language your console is shown in, or, without one, goes back to following the browser
14
+ */
15
+ chooseMyConsoleLanguage(body: ConsoleLanguageChoice): Promise<ConsoleLanguageChoice>;
16
+ /**
17
+ * @name List console languages
18
+ * @description Every language this station holds a pack for, without the strings
19
+ */
20
+ listConsoleLanguages(): Promise<ConsoleLanguageList>;
21
+ /**
22
+ * @name Get console language
23
+ * @description One language's pack, strings and all, as it was imported
24
+ */
25
+ getConsoleLanguage(locale: string): Promise<ConsoleLanguagePack>;
26
+ /**
27
+ * @name Import console language
28
+ * @description Installs a language pack, replacing any pack already installed for the language. The tag in the path must be the pack's own
29
+ */
30
+ importConsoleLanguage(locale: string, body: ConsoleLanguagePack): Promise<ConsoleLanguageList>;
31
+ /**
32
+ * @name Remove console language
33
+ * @description Removes a language. Anybody who had chosen it sees English
34
+ */
35
+ removeConsoleLanguage(locale: string): Promise<ConsoleLanguageList>;
36
+ }
37
+ //# sourceMappingURL=languages.client.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"languages.client.d.ts","sourceRoot":"","sources":["../../src/languages/languages.client.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,mBAAmB,CAAC;AAElD,OAAO,KAAK,EAAE,qBAAqB,EAAE,mBAAmB,EAAE,mBAAmB,EAAE,MAAM,4BAA4B,CAAC;AAGlH,qBAAa,eAAe;IACZ,OAAO,CAAC,KAAK;gBAAL,KAAK,EAAE,QAAQ;IAEnC;;;OAGG;IACG,oBAAoB,IAAI,OAAO,CAAC,qBAAqB,CAAC;IAK5D;;;OAGG;IACG,uBAAuB,CAAC,IAAI,EAAE,qBAAqB,GAAG,OAAO,CAAC,qBAAqB,CAAC;IAS1F;;;OAGG;IACG,oBAAoB,IAAI,OAAO,CAAC,mBAAmB,CAAC;IAK1D;;;OAGG;IACG,kBAAkB,CAAC,MAAM,EAAE,MAAM,GAAG,OAAO,CAAC,mBAAmB,CAAC;IAKtE;;;OAGG;IACG,qBAAqB,CAAC,MAAM,EAAE,MAAM,EAAE,IAAI,EAAE,mBAAmB,GAAG,OAAO,CAAC,mBAAmB,CAAC;IASpG;;;OAGG;IACG,qBAAqB,CAAC,MAAM,EAAE,MAAM,GAAG,OAAO,CAAC,mBAAmB,CAAC;CAI5E"}
@@ -0,0 +1,2 @@
1
+ export * from './languages.types.js';
2
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/languages/types/index.ts"],"names":[],"mappings":"AACA,cAAc,sBAAsB,CAAC"}
@@ -0,0 +1,53 @@
1
+ import { DateTime } from 'luxon';
2
+ /**
3
+ * A language pack: every word the console says, in one language, as the file a translator made. The same document is exported, imported and stored. The console's language only; what the station broadcasts in is the `stream.language` setting
4
+ * generated from [ConsoleLanguagePack](../../../../../apps/api/data/contracts/languages/languages.types.ck#L8)
5
+ */
6
+ export interface ConsoleLanguagePack {
7
+ /** Says the file is a console language pack */
8
+ format: 'deadair.console-language';
9
+ /** The version of the document's shape. This station reads version 1 */
10
+ version: number;
11
+ /** The language, as a BCP 47 tag such as `de` or `pt-BR`. Never English, which is built into the console */
12
+ locale: string;
13
+ /** The language's name in itself, as the console's picker shows it: `Deutsch`, not `German` */
14
+ name: string;
15
+ /** Which way its text runs */
16
+ direction: 'ltr' | 'rtl';
17
+ /** The console version the pack was translated against. Empty when the file did not say */
18
+ madeFor: string;
19
+ /** The strings, nested by namespace and then by key, in the English catalog's shape. Every value is text or a further level of nesting */
20
+ catalog: Record<string, unknown>;
21
+ }
22
+ /**
23
+ * A language the console can be shown in on this station, without its strings
24
+ * generated from [ConsoleLanguage](../../../../../apps/api/data/contracts/languages/languages.types.ck#L19)
25
+ */
26
+ export interface ConsoleLanguage {
27
+ locale: string;
28
+ name: string;
29
+ direction: 'ltr' | 'rtl';
30
+ madeFor: string;
31
+ /** When the pack now installed for it was imported */
32
+ importedAt: DateTime;
33
+ }
34
+ /** Rehydrates every wire-encoded scalar in a ConsoleLanguage into its runtime type. Mutates and returns `raw`. */
35
+ export declare function reviveConsoleLanguage(raw: ConsoleLanguage): ConsoleLanguage;
36
+ /**
37
+ * The language the signed-in operator chose for the console. Absent means none was chosen, and the console follows the browser's own preference among the languages it has
38
+ * generated from [ConsoleLanguageChoice](../../../../../apps/api/data/contracts/languages/languages.types.ck#L32)
39
+ */
40
+ export interface ConsoleLanguageChoice {
41
+ /** A language this station holds a pack for, or `en` for English whatever the browser prefers */
42
+ locale?: string;
43
+ }
44
+ /**
45
+ * generated from [ConsoleLanguageList](../../../../../apps/api/data/contracts/languages/languages.types.ck#L27)
46
+ */
47
+ export interface ConsoleLanguageList {
48
+ /** In order of their tags. English is built in and is never listed */
49
+ languages: ConsoleLanguage[];
50
+ }
51
+ /** Rehydrates every wire-encoded scalar in a ConsoleLanguageList into its runtime type. Mutates and returns `raw`. */
52
+ export declare function reviveConsoleLanguageList(raw: ConsoleLanguageList): ConsoleLanguageList;
53
+ //# sourceMappingURL=languages.types.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"languages.types.d.ts","sourceRoot":"","sources":["../../../src/languages/types/languages.types.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC;AAUjC;;;GAGG;AACH,MAAM,WAAW,mBAAmB;IAChC,+CAA+C;IAC/C,MAAM,EAAE,0BAA0B,CAAC;IACnC,wEAAwE;IACxE,OAAO,EAAE,MAAM,CAAC;IAChB,4GAA4G;IAC5G,MAAM,EAAE,MAAM,CAAC;IACf,+FAA+F;IAC/F,IAAI,EAAE,MAAM,CAAC;IACb,8BAA8B;IAC9B,SAAS,EAAE,KAAK,GAAG,KAAK,CAAC;IACzB,2FAA2F;IAC3F,OAAO,EAAE,MAAM,CAAC;IAChB,0IAA0I;IAC1I,OAAO,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;CACpC;AAED;;;GAGG;AACH,MAAM,WAAW,eAAe;IAC5B,MAAM,EAAE,MAAM,CAAC;IACf,IAAI,EAAE,MAAM,CAAC;IACb,SAAS,EAAE,KAAK,GAAG,KAAK,CAAC;IACzB,OAAO,EAAE,MAAM,CAAC;IAChB,sDAAsD;IACtD,UAAU,EAAE,QAAQ,CAAC;CACxB;AAED,kHAAkH;AAClH,wBAAgB,qBAAqB,CAAC,GAAG,EAAE,eAAe,GAAG,eAAe,CAI3E;AAED;;;GAGG;AACH,MAAM,WAAW,qBAAqB;IAClC,iGAAiG;IACjG,MAAM,CAAC,EAAE,MAAM,CAAC;CACnB;AAED;;GAEG;AACH,MAAM,WAAW,mBAAmB;IAChC,sEAAsE;IACtE,SAAS,EAAE,eAAe,EAAE,CAAC;CAChC;AAED,sHAAsH;AACtH,wBAAgB,yBAAyB,CAAC,GAAG,EAAE,mBAAmB,GAAG,mBAAmB,CASvF"}
@@ -7,29 +7,35 @@ export interface PlayoutPlaylistInput {
7
7
  playlistId: string;
8
8
  /** Whether records that sound like the ones on this playlist are mixed in among them, one every `rotation.mixInEvery` records. The playlist still plays in full and in its own order around them. Absent takes the station's own setting, which is off */
9
9
  mixInSimilar?: boolean;
10
+ /** Whether somebody phones in during this broadcast, exactly as `PutOnAirInput.callins`. Absent is no calls: there is no station-wide default behind it */
11
+ callins?: boolean;
10
12
  }
11
13
  /**
12
14
  * A playlist the station owns, to load into the running order
13
- * generated from [PlayoutStationPlaylistInput](../../../../../apps/api/data/contracts/playout/playout.types.ck#L13)
15
+ * generated from [PlayoutStationPlaylistInput](../../../../../apps/api/data/contracts/playout/playout.types.ck#L14)
14
16
  */
15
17
  export interface PlayoutStationPlaylistInput {
16
18
  stationPlaylistId: string;
17
19
  /** Whether records that sound like the ones on this playlist are mixed in among them, one every `rotation.mixInEvery` records. Absent takes the station's own setting, which is off */
18
20
  mixInSimilar?: boolean;
21
+ /** Whether somebody phones in during this broadcast, exactly as `PutOnAirInput.callins`. Absent is no calls: there is no station-wide default behind it */
22
+ callins?: boolean;
19
23
  }
20
24
  /**
21
25
  * The published chart to build the running order from
22
- * generated from [PlayoutChartInput](../../../../../apps/api/data/contracts/playout/playout.types.ck#L18)
26
+ * generated from [PlayoutChartInput](../../../../../apps/api/data/contracts/playout/playout.types.ck#L20)
23
27
  */
24
28
  export interface PlayoutChartInput {
25
29
  /** As `pluginId:chartId`, which is how `GET /charts` lists them */
26
30
  chartId: string;
27
31
  /** Which way round to play it. Absent is `countdown`, which opens on the lowest rank and ends on number one */
28
32
  chartOrder?: 'countdown' | 'ranked' | 'unordered';
33
+ /** Whether somebody phones in during this broadcast, exactly as `PutOnAirInput.callins`. Absent is no calls: there is no station-wide default behind it */
34
+ callins?: boolean;
29
35
  }
30
36
  /**
31
37
  * One item in the running order, as the console sees it
32
- * generated from [PlayoutItem](../../../../../apps/api/data/contracts/playout/playout.types.ck#L23)
38
+ * generated from [PlayoutItem](../../../../../apps/api/data/contracts/playout/playout.types.ck#L26)
33
39
  */
34
40
  export interface PlayoutItem {
35
41
  /** deadair's own id for this item, not the provider's: a playlist may hold the same track twice */
@@ -55,7 +61,7 @@ export interface PlayoutItem {
55
61
  * re-rendered — so a reseeded secret leaves a process holding credentials that match nothing,
56
62
  * and the symptom names something else entirely (every listener refused, or no mount at all).
57
63
  * The app cannot restart a sibling container and should not be able to, so it reports.
58
- * generated from [StreamConfigWarning](../../../../../apps/api/data/contracts/playout/playout.types.ck#L47)
64
+ * generated from [StreamConfigWarning](../../../../../apps/api/data/contracts/playout/playout.types.ck#L50)
59
65
  */
60
66
  export interface StreamConfigWarning {
61
67
  /** Which one is behind */
@@ -68,19 +74,19 @@ export interface StreamConfigWarning {
68
74
  /**
69
75
  * Which gate is keeping the station quiet, or `airing` when none of them is. Ordered by cause: a
70
76
  * stalled transport loop makes every reading under it stale, so it is ruled out first
71
- * generated from [SilenceCause](../../../../../apps/api/data/contracts/playout/playout.types.ck#L55)
77
+ * generated from [SilenceCause](../../../../../apps/api/data/contracts/playout/playout.types.ck#L58)
72
78
  */
73
79
  export type SilenceCause = 'airing' | 'transportStalled' | 'controlDenied' | 'streamUnreachable' | 'configNotAdopted' | 'stoodDown' | 'noProgramme' | 'noAudience' | 'warmingUp' | 'waitingOnAudio' | 'notDriving' | 'starved';
74
80
  /**
75
81
  * How one gate is doing. `waiting` is its own state rather than a mild fault, because a station
76
82
  * idling for want of a listener and a station that cannot reach its stream are both silent and only
77
83
  * one of them is something to go and fix
78
- * generated from [SilenceState](../../../../../apps/api/data/contracts/playout/playout.types.ck#L73)
84
+ * generated from [SilenceState](../../../../../apps/api/data/contracts/playout/playout.types.ck#L76)
79
85
  */
80
86
  export type SilenceState = 'ok' | 'waiting' | 'fault';
81
87
  /**
82
88
  * One mount the station is publishing right now
83
- * generated from [PlayoutMount](../../../../../apps/api/data/contracts/playout/playout.types.ck#L90)
89
+ * generated from [PlayoutMount](../../../../../apps/api/data/contracts/playout/playout.types.ck#L93)
84
90
  */
85
91
  export interface PlayoutMount {
86
92
  format: 'mp3' | 'opus' | 'aac' | 'flac';
@@ -91,7 +97,7 @@ export interface PlayoutMount {
91
97
  }
92
98
  /**
93
99
  * Which rundown item Liquidsoap has just started playing
94
- * generated from [PlayoutAiredQuery](../../../../../apps/api/data/contracts/playout/playout.types.ck#L110)
100
+ * generated from [PlayoutAiredQuery](../../../../../apps/api/data/contracts/playout/playout.types.ck#L113)
95
101
  */
96
102
  export interface PlayoutAiredQuery {
97
103
  /** The id the app put on the pushed uri's `annotate:` metadata */
@@ -99,7 +105,7 @@ export interface PlayoutAiredQuery {
99
105
  }
100
106
  /**
101
107
  * Which way the running order went, and how long it had been that way
102
- * generated from [PlayoutStarveQuery](../../../../../apps/api/data/contracts/playout/playout.types.ck#L114)
108
+ * generated from [PlayoutStarveQuery](../../../../../apps/api/data/contracts/playout/playout.types.ck#L117)
103
109
  */
104
110
  export interface PlayoutStarveQuery {
105
111
  /** `starved`: the queue stopped producing while deadair was driving, so the mount fell through to the local bed. `recovered`: it is producing again */
@@ -109,7 +115,7 @@ export interface PlayoutStarveQuery {
109
115
  }
110
116
  /**
111
117
  * What the PLAYER says is airing, which is not the same as what was last handed to it
112
- * generated from [PlayoutNowPlaying](../../../../../apps/api/data/contracts/playout/playout.types.ck#L36)
118
+ * generated from [PlayoutNowPlaying](../../../../../apps/api/data/contracts/playout/playout.types.ck#L39)
113
119
  */
114
120
  export interface PlayoutNowPlaying {
115
121
  item: PlayoutItem;
@@ -120,7 +126,7 @@ export interface PlayoutNowPlaying {
120
126
  }
121
127
  /**
122
128
  * One gate's answer about itself
123
- * generated from [SilenceCheck](../../../../../apps/api/data/contracts/playout/playout.types.ck#L75)
129
+ * generated from [SilenceCheck](../../../../../apps/api/data/contracts/playout/playout.types.ck#L78)
124
130
  */
125
131
  export interface SilenceCheck {
126
132
  /** Never `airing`, which is the absence of a blocking gate rather than a gate */
@@ -133,7 +139,7 @@ export interface SilenceCheck {
133
139
  }
134
140
  /**
135
141
  * Why the station cannot be heard, as one answer
136
- * generated from [StationSilence](../../../../../apps/api/data/contracts/playout/playout.types.ck#L82)
142
+ * generated from [StationSilence](../../../../../apps/api/data/contracts/playout/playout.types.ck#L85)
137
143
  */
138
144
  export interface StationSilence {
139
145
  /** Whether the station believes its programme is reaching the mount. NOT whether anybody is hearing it: a station can be audible with no listeners in `always` mode, and can have listeners while airing the local bed */
@@ -146,7 +152,7 @@ export interface StationSilence {
146
152
  }
147
153
  /**
148
154
  * The station's transport, as one reading
149
- * generated from [PlayoutStatus](../../../../../apps/api/data/contracts/playout/playout.types.ck#L96)
155
+ * generated from [PlayoutStatus](../../../../../apps/api/data/contracts/playout/playout.types.ck#L99)
150
156
  */
151
157
  export interface PlayoutStatus {
152
158
  /** Whether Liquidsoap's control API is answering at all. False means nothing can air, whatever the running order holds */
@@ -1 +1 @@
1
- {"version":3,"file":"playout.types.d.ts","sourceRoot":"","sources":["../../../src/playout/types/playout.types.ts"],"names":[],"mappings":"AAAA;;;GAGG;AACH,MAAM,WAAW,oBAAoB;IACjC,QAAQ,EAAE,MAAM,CAAC;IACjB,UAAU,EAAE,MAAM,CAAC;IACnB,0PAA0P;IAC1P,YAAY,CAAC,EAAE,OAAO,CAAC;CAC1B;AAED;;;GAGG;AACH,MAAM,WAAW,2BAA2B;IACxC,iBAAiB,EAAE,MAAM,CAAC;IAC1B,uLAAuL;IACvL,YAAY,CAAC,EAAE,OAAO,CAAC;CAC1B;AAED;;;GAGG;AACH,MAAM,WAAW,iBAAiB;IAC9B,mEAAmE;IACnE,OAAO,EAAE,MAAM,CAAC;IAChB,+GAA+G;IAC/G,UAAU,CAAC,EAAE,WAAW,GAAG,QAAQ,GAAG,WAAW,CAAC;CACrD;AAED;;;GAGG;AACH,MAAM,WAAW,WAAW;IACxB,mGAAmG;IACnG,EAAE,EAAE,MAAM,CAAC;IACX,QAAQ,EAAE,MAAM,CAAC;IACjB,8CAA8C;IAC9C,UAAU,EAAE,MAAM,CAAC;IACnB,KAAK,EAAE,MAAM,CAAC;IACd,OAAO,EAAE,MAAM,EAAE,CAAC;IAClB,wHAAwH;IACxH,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,gFAAgF;IAChF,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,qDAAqD;IACrD,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,qIAAqI;IACrI,OAAO,CAA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EAA+E;IAC/E,MAAM,EAAE,MAAM,CAAC;IACf,gFAAgF;IAChF,MAAM,CAAC,EAAE,MAAM,CAAC;CACnB;AAED;;;GAGG;AACH,MAAM,WAAW,cAAc;IAC3B,0NAA0N;IAC1N,OAAO,EAAE,OAAO,CAAC;IACjB,KAAK,EAAE,YAAY,CAAC;IACpB,MAAM,EAAE,MAAM,CAAC;IACf,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,kNAAkN;IAClN,MAAM,EAAE,YAAY,EAAE,CAAC;CAC1B;AAED;;;GAGG;AACH,MAAM,WAAW,aAAa;IAC1B,0HAA0H;IAC1H,QAAQ,EAAE,OAAO,CAAC;IAClB,qOAAqO;IACrO,KAAK,EAAE,OAAO,CAAC;IACf,0QAA0Q;IAC1Q,SAAS,EAAE,MAAM,CAAC;IAClB,+TAA+T;IAC/T,MAAM,EAAE,YAAY,EAAE,CAAC;IACvB,UAAU,CAAC,EAAE,iBAAiB,CAAC;IAC/B,qEAAqE;IACrE,MAAM,EAAE,WAAW,EAAE,CAAC;IACtB,yEAAyE;IACzE,WAAW,EAAE,MAAM,CAAC;IACpB,gLAAgL;IAChL,SAAS,EAAE,MAAM,CAAC;IAClB,8JAA8J;IAC9J,QAAQ,EAAE,OAAO,CAAC;IAClB,2LAA2L;IAC3L,iBAAiB,EAAE,mBAAmB,EAAE,CAAC;IACzC,gQAAgQ;IAChQ,OAAO,EAAE,cAAc,CAAC;CAC3B"}
1
+ {"version":3,"file":"playout.types.d.ts","sourceRoot":"","sources":["../../../src/playout/types/playout.types.ts"],"names":[],"mappings":"AAAA;;;GAGG;AACH,MAAM,WAAW,oBAAoB;IACjC,QAAQ,EAAE,MAAM,CAAC;IACjB,UAAU,EAAE,MAAM,CAAC;IACnB,0PAA0P;IAC1P,YAAY,CAAC,EAAE,OAAO,CAAC;IACvB,2JAA2J;IAC3J,OAAO,CAAC,EAAE,OAAO,CAAC;CACrB;AAED;;;GAGG;AACH,MAAM,WAAW,2BAA2B;IACxC,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EAAE,OAAO,CAAC;IACf,0QAA0Q;IAC1Q,SAAS,EAAE,MAAM,CAAC;IAClB,+TAA+T;IAC/T,MAAM,EAAE,YAAY,EAAE,CAAC;IACvB,UAAU,CAAC,EAAE,iBAAiB,CAAC;IAC/B,qEAAqE;IACrE,MAAM,EAAE,WAAW,EAAE,CAAC;IACtB,yEAAyE;IACzE,WAAW,EAAE,MAAM,CAAC;IACpB,gLAAgL;IAChL,SAAS,EAAE,MAAM,CAAC;IAClB,8JAA8J;IAC9J,QAAQ,EAAE,OAAO,CAAC;IAClB,2LAA2L;IAC3L,iBAAiB,EAAE,mBAAmB,EAAE,CAAC;IACzC,gQAAgQ;IAChQ,OAAO,EAAE,cAAc,CAAC;CAC3B"}
@@ -29,7 +29,7 @@ export interface ScheduleSlot {
29
29
  eraFrom?: number;
30
30
  /** The latest release year, on the same terms. Set with `eraFrom` for a decade; either may stand alone */
31
31
  eraTo?: number;
32
- /** Whether somebody phones in during this stretch of the day. Absent leaves the station's own setting standing, exactly as it does when an operator briefs a broadcast by hand; a `setlist` or a `feature` takes no calls whatever this says */
32
+ /** Whether somebody phones in during this stretch of the day. Absent is no calls, exactly as it is when an operator puts a broadcast on air by hand; a `setlist` or a `feature` takes no calls whatever this says */
33
33
  callins?: boolean;
34
34
  /** Whether records that sound like this slot's playlist are mixed in among its records, one every `rotation.mixInEvery` records. Absent leaves the station's own setting standing, exactly as it does when an operator airs a playlist by hand; a slot with no playlist, or a `setlist` or a `feature`, never mixes whatever this says */
35
35
  mixInSimilar?: boolean;
@@ -62,7 +62,7 @@ export interface ScheduleSlotInput {
62
62
  eraFrom?: number;
63
63
  /** The latest release year, on the same terms. Set with `eraFrom` for a decade; either may stand alone */
64
64
  eraTo?: number;
65
- /** Whether somebody phones in during this stretch of the day. Absent leaves the station's own setting standing, exactly as it does when an operator briefs a broadcast by hand; a `setlist` or a `feature` takes no calls whatever this says */
65
+ /** Whether somebody phones in during this stretch of the day. Absent is no calls, exactly as it is when an operator puts a broadcast on air by hand; a `setlist` or a `feature` takes no calls whatever this says */
66
66
  callins?: boolean;
67
67
  /** Whether records that sound like this slot's playlist are mixed in among its records, one every `rotation.mixInEvery` records. Absent leaves the station's own setting standing, exactly as it does when an operator airs a playlist by hand; a slot with no playlist, or a `setlist` or a `feature`, never mixes whatever this says */
68
68
  mixInSimilar?: boolean;
@@ -1 +1 @@
1
- {"version":3,"file":"schedule.types.d.ts","sourceRoot":"","sources":["../../../src/schedule/types/schedule.types.ts"],"names":[],"mappings":"AAAA;;;GAGG;AACH,MAAM,WAAW,YAAY;IACzB,EAAE,EAAE,MAAM,CAAC;IACX,oFAAoF;IACpF,KAAK,EAAE,MAAM,CAAC;IACd,sEAAsE;IACtE,eAAe,EAAE,MAAM,CAAC;IACxB,2KAA2K;IAC3K,aAAa,EAAE,MAAM,CAAC;IACtB,yEAAyE;IACzE,IAAI,CAAC,EAAE,MAAM,EAAE,CAAC;IAChB,qGAAqG;IACrG,cAAc,CAAC,EAAE,MAAM,CAAC;IACxB,gBAAgB,CAAC,EAAE,MAAM,CAAC;IAC1B,6PAA6P;IAC7P,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB,6HAA6H;IAC7H,gBAAgB,CAAC,EAAE,WAAW,GAAG,QAAQ,GAAG,WAAW,CAAC;IACxD,8OAA8O;IAC9O,uBAAuB,CAAC,EAAE,MAAM,CAAC;IACjC,uFAAuF;IACvF,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,oOAAoO;IACpO,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,4KAA4K;IAC5K,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,0GAA0G;IAC1G,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,gPAAgP;IAChP,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,0UAA0U;IAC1U,YAAY,CAAC,EAAE,OAAO,CAAC;IACvB,IAAI,EAAE,UAAU,GAAG,SAAS,GAAG,SAAS,CAAC;IACzC,KAAK,EAAE,QAAQ,G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AAC;IACd,4GAA4G;IAC5G,GAAG,EAAE,MAAM,CAAC;CACf;AAED;;GAEG;AACH,MAAM,WAAW,gBAAgB;IAC7B,KAAK,EAAE,YAAY,EAAE,CAAC;CACzB;AAED,MAAM,WAAW,qBAAqB;IAClC,KAAK,EAAE,iBAAiB,EAAE,CAAC;CAC9B;AAED;;;GAGG;AACH,MAAM,WAAW,iBAAiB;IAC9B,mJAAmJ;IACnJ,IAAI,EAAE,MAAM,CAAC;IACb,IAAI,EAAE,MAAM,CAAC;IACb,WAAW,EAAE,kBAAkB,EAAE,CAAC;CACrC;AAED;;;GAGG;AACH,MAAM,WAAW,WAAW;IACxB,4SAA4S;IAC5S,GAAG,EAAE,MAAM,CAAC;IACZ,kFAAkF;IAClF,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,kKAAkK;IAClK,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,uQAAuQ;IACvQ,QAAQ,EAAE,kBAAkB,EAAE,CAAC;CAClC"}
1
+ {"version":3,"file":"schedule.types.d.ts","sourceRoot":"","sources":["../../../src/schedule/types/schedule.types.ts"],"names":[],"mappings":"AAAA;;;GAGG;AACH,MAAM,WAAW,YAAY;IACzB,EAAE,EAAE,MAAM,CAAC;IACX,oFAAoF;IACpF,KAAK,EAAE,MAAM,CAAC;IACd,sEAAsE;IACtE,eAAe,EAAE,MAAM,CAAC;IACxB,2KAA2K;IAC3K,aAAa,EAAE,MAAM,CAAC;IACtB,yEAAyE;IACzE,IAAI,CAAC,EAAE,MAAM,EAAE,CAAC;IAChB,qGAAqG;IACrG,cAAc,CAAC,EAAE,MAAM,CAAC;IACxB,gBAAgB,CAAC,EAAE,MAAM,CAAC;IAC1B,6PAA6P;IAC7P,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB,6HAA6H;IAC7H,gBAAgB,CAAC,EAAE,WAAW,GAAG,QAAQ,GAAG,WAAW,CAAC;IACxD,8OAA8O;IAC9O,uBAAuB,CAAC,EAAE,MAAM,CAAC;IACj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UAAU,GAAG,SAAS,GAAG,SAAS,CAAC;IACzC,KAAK,EAAE,QAAQ,GAAG,QAAQ,GAAG,MAAM,CAAC;CACvC;AAED;;;GAGG;AACH,MAAM,WAAW,sBAAsB;IACnC,kMAAkM;IAClM,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,oDAAoD;IACpD,IAAI,CAAC,EAAE,MAAM,CAAC;CACjB;AAED;;;GAGG;AACH,MAAM,WAAW,kBAAkB;IAC/B,MAAM,EAAE,MAAM,CAAC;IACf,KAAK,EAAE,MAAM,CAAC;IACd,+LAA+L;IAC/L,KAAK,EAAE,MAAM,CAAC;IACd,4GAA4G;IAC5G,GAAG,EAAE,MAAM,CAAC;CACf;AAED;;GAEG;AACH,MAAM,WAAW,gBAAgB;IAC7B,KAAK,EAAE,YAAY,EAAE,CAAC;CACzB;AAED,MAAM,WAAW,qBAAqB;IAClC,KAAK,EAAE,iBAAiB,EAAE,CAAC;CAC9B;AAED;;;GAGG;AACH,MAAM,WAAW,iBAAiB;IAC9B,mJAAmJ;IACnJ,IAAI,EAAE,MAAM,CAAC;IACb,IAAI,EAAE,MAAM,CAAC;IACb,WAAW,EAAE,kBAAkB,EAAE,CAAC;CACrC;AAED;;;GAGG;AACH,MAAM,WAAW,WAAW;IACxB,4SAA4S;IAC5S,GAAG,EAAE,MAAM,CAAC;IACZ,kFAAkF;IAClF,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,kKAAkK;IAClK,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,uQAAuQ;IACvQ,QAAQ,EAAE,kBAAkB,EAAE,CAAC;CAClC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@deadair/sdk",
3
- "version": "0.34.2",
3
+ "version": "0.35.1",
4
4
  "description": "A typed client for the deadair station's HTTP API, generated from the same contracts the station serves.",
5
5
  "keywords": [
6
6
  "deadair",