@deadair/sdk 0.8.3 → 0.10.0
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.
- package/dist/deadair.sdk.d.ts +2 -0
- package/dist/deadair.sdk.d.ts.map +1 -1
- package/dist/director/types/director.types.d.ts +12 -8
- package/dist/director/types/director.types.d.ts.map +1 -1
- package/dist/index.d.ts +2 -0
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +65 -0
- package/dist/index.js.map +1 -1
- package/dist/playout/types/playout.types.d.ts +14 -12
- package/dist/playout/types/playout.types.d.ts.map +1 -1
- package/dist/plugins/types/plugins.types.d.ts +1 -1
- package/dist/plugins/types/plugins.types.d.ts.map +1 -1
- package/dist/podcasts/podcasts.client.d.ts +32 -0
- package/dist/podcasts/podcasts.client.d.ts.map +1 -0
- package/dist/podcasts/types/index.d.ts +2 -0
- package/dist/podcasts/types/index.d.ts.map +1 -0
- package/dist/podcasts/types/podcasts.types.d.ts +114 -0
- package/dist/podcasts/types/podcasts.types.d.ts.map +1 -0
- package/dist/schedule/types/schedule.types.d.ts +9 -5
- package/dist/schedule/types/schedule.types.d.ts.map +1 -1
- package/package.json +1 -1
package/dist/deadair.sdk.d.ts
CHANGED
|
@@ -13,6 +13,7 @@ import { PersonasClient } from './personas/personas.client.js';
|
|
|
13
13
|
import { PlaylistsClient } from './playlists/playlists.client.js';
|
|
14
14
|
import { PlayoutClient } from './playout/playout.client.js';
|
|
15
15
|
import { PluginsClient } from './plugins/plugins.client.js';
|
|
16
|
+
import { PodcastsClient } from './podcasts/podcasts.client.js';
|
|
16
17
|
import { ProductionsClient } from './productions/productions.client.js';
|
|
17
18
|
import { RenderClient } from './render/render.client.js';
|
|
18
19
|
import { ScheduleClient } from './schedule/schedule.client.js';
|
|
@@ -36,6 +37,7 @@ export declare class DeadairSdk {
|
|
|
36
37
|
readonly playlists: PlaylistsClient;
|
|
37
38
|
readonly playout: PlayoutClient;
|
|
38
39
|
readonly plugins: PluginsClient;
|
|
40
|
+
readonly podcasts: PodcastsClient;
|
|
39
41
|
readonly productions: ProductionsClient;
|
|
40
42
|
readonly render: RenderClient;
|
|
41
43
|
readonly schedule: ScheduleClient;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"deadair.sdk.d.ts","sourceRoot":"","sources":["../src/deadair.sdk.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,kBAAkB,CAAC;AAEnD,OAAO,EAAE,cAAc,EAAE,MAAM,+BAA+B,CAAC;AAC/D,OAAO,EAAE,SAAS,EAAE,MAAM,qBAAqB,CAAC;AAChD,OAAO,EAAE,oBAAoB,EAAE,MAAM,2CAA2C,CAAC;AACjF,OAAO,EAAE,aAAa,EAAE,MAAM,6BAA6B,CAAC;AAC5D,OAAO,EAAE,YAAY,EAAE,MAAM,2BAA2B,CAAC;AACzD,OAAO,EAAE,cAAc,EAAE,MAAM,+BAA+B,CAAC;AAC/D,OAAO,EAAE,aAAa,EAAE,MAAM,6BAA6B,CAAC;AAC5D,OAAO,EAAE,UAAU,EAAE,MAAM,uBAAuB,CAAC;AACnD,OAAO,EAAE,gBAAgB,EAAE,MAAM,mCAAmC,CAAC;AACrE,OAAO,EAAE,gBAAgB,EAAE,MAAM,mCAAmC,CAAC;AACrE,OAAO,EAAE,cAAc,EAAE,MAAM,+BAA+B,CAAC;AAC/D,OAAO,EAAE,eAAe,EAAE,MAAM,iCAAiC,CAAC;AAClE,OAAO,EAAE,aAAa,EAAE,MAAM,6BAA6B,CAAC;AAC5D,OAAO,EAAE,aAAa,EAAE,MAAM,6BAA6B,CAAC;AAC5D,OAAO,EAAE,iBAAiB,EAAE,MAAM,qCAAqC,CAAC;AACxE,OAAO,EAAE,YAAY,EAAE,MAAM,2BAA2B,CAAC;AACzD,OAAO,EAAE,cAAc,EAAE,MAAM,+BAA+B,CAAC;AAC/D,OAAO,EAAE,cAAc,EAAE,MAAM,+BAA+B,CAAC;AAC/D,O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|
export type StationItemState = 'planned' | 'handed' | 'airing' | 'played' | 'skipped' | 'unavailable' | 'removed';
|
|
35
35
|
/**
|
|
36
36
|
* Change who is presenting the broadcast that is on air
|
|
37
|
-
* generated from [SetStationHostInput](../../../../../apps/api/data/contracts/director/director.types.ck#
|
|
37
|
+
* generated from [SetStationHostInput](../../../../../apps/api/data/contracts/director/director.types.ck#L96)
|
|
38
38
|
*/
|
|
39
39
|
export interface SetStationHostInput {
|
|
40
40
|
/** Who hosts it from here on. Absent hands it back to whichever persona the station has on air, which is what a broadcast that never named one already does */
|
|
@@ -42,7 +42,7 @@ export interface SetStationHostInput {
|
|
|
42
42
|
}
|
|
43
43
|
/**
|
|
44
44
|
* Put something the station says into the running order
|
|
45
|
-
* generated from [AddStationSegmentInput](../../../../../apps/api/data/contracts/director/director.types.ck#
|
|
45
|
+
* generated from [AddStationSegmentInput](../../../../../apps/api/data/contracts/director/director.types.ck#L100)
|
|
46
46
|
*/
|
|
47
47
|
export interface AddStationSegmentInput {
|
|
48
48
|
segmentId: string;
|
|
@@ -53,7 +53,7 @@ export interface AddStationSegmentInput {
|
|
|
53
53
|
}
|
|
54
54
|
/**
|
|
55
55
|
* Put a catalog record into the running order. Refused at the door — 404 for a record the catalog does not hold, 422 for one whose audio is not local yet — rather than accepted and left to fail when it comes round
|
|
56
|
-
* generated from [AddStationTrackInput](../../../../../apps/api/data/contracts/director/director.types.ck#
|
|
56
|
+
* generated from [AddStationTrackInput](../../../../../apps/api/data/contracts/director/director.types.ck#L106)
|
|
57
57
|
*/
|
|
58
58
|
export interface AddStationTrackInput {
|
|
59
59
|
trackId: string;
|
|
@@ -62,21 +62,21 @@ export interface AddStationTrackInput {
|
|
|
62
62
|
}
|
|
63
63
|
/**
|
|
64
64
|
* Move an item within the running order
|
|
65
|
-
* generated from [MoveStationItemInput](../../../../../apps/api/data/contracts/director/director.types.ck#
|
|
65
|
+
* generated from [MoveStationItemInput](../../../../../apps/api/data/contracts/director/director.types.ck#L111)
|
|
66
66
|
*/
|
|
67
67
|
export interface MoveStationItemInput {
|
|
68
68
|
toIndex: number;
|
|
69
69
|
}
|
|
70
70
|
/**
|
|
71
71
|
* Add tracks to the running order now, rather than waiting for it to run short
|
|
72
|
-
* generated from [ExtendStationInput](../../../../../apps/api/data/contracts/director/director.types.ck#
|
|
72
|
+
* generated from [ExtendStationInput](../../../../../apps/api/data/contracts/director/director.types.ck#L115)
|
|
73
73
|
*/
|
|
74
74
|
export interface ExtendStationInput {
|
|
75
75
|
count?: number;
|
|
76
76
|
}
|
|
77
77
|
/**
|
|
78
78
|
* Throw away everything the player is not already holding and programme it again. Unlike a shuffle, the records themselves change; unlike putting the station on air, the broadcast continues
|
|
79
|
-
* generated from [ReplanStationInput](../../../../../apps/api/data/contracts/director/director.types.ck#
|
|
79
|
+
* generated from [ReplanStationInput](../../../../../apps/api/data/contracts/director/director.types.ck#L119)
|
|
80
80
|
*/
|
|
81
81
|
export interface ReplanStationInput {
|
|
82
82
|
/** How many records to programme. Absent is roughly an hour */
|
|
@@ -117,7 +117,7 @@ export interface StationAir {
|
|
|
117
117
|
}
|
|
118
118
|
/**
|
|
119
119
|
* Put the station on air, building its running order from the top
|
|
120
|
-
* generated from [PutOnAirInput](../../../../../apps/api/data/contracts/director/director.types.ck#
|
|
120
|
+
* generated from [PutOnAirInput](../../../../../apps/api/data/contracts/director/director.types.ck#L80)
|
|
121
121
|
*/
|
|
122
122
|
export interface PutOnAirInput {
|
|
123
123
|
/** The plugin whose playlist to build from. Absent starts empty and lets the station generate its own programming */
|
|
@@ -140,6 +140,8 @@ export interface PutOnAirInput {
|
|
|
140
140
|
eraTo?: number;
|
|
141
141
|
/** Whether somebody phones in during this broadcast. A call is a short programme rather than a break: a few turns in a few voices, entering the running order as one block, spaced by `rotation.callinEveryMinutes`. Absent takes the station's own setting, which is off */
|
|
142
142
|
callins?: boolean;
|
|
143
|
+
/** Whether records that sound like the ones on this playlist are mixed in among them, one every `rotation.mixInEvery` records, found through the similarity plugin. The playlist still plays in full and in its own order around them. Absent takes the station's own setting, which is off. A setlist and a feature never have anything mixed in */
|
|
144
|
+
mixInSimilar?: boolean;
|
|
143
145
|
mode?: StationMode;
|
|
144
146
|
onEnd?: StationOnEnd;
|
|
145
147
|
}
|
|
@@ -173,6 +175,8 @@ export interface StationOrderItem {
|
|
|
173
175
|
albumId?: string;
|
|
174
176
|
/** What the station thinks of this record, read as the order is drawn rather than stored on it. Absent on a segment, and on a record the catalog has never seen */
|
|
175
177
|
rating?: Rating;
|
|
178
|
+
/** The station chose this record to sound like the playlist around it, rather than the playlist naming it. Absent on everything the playlist named, and on a segment */
|
|
179
|
+
mixedIn?: boolean;
|
|
176
180
|
/** Which segment this plays. Present only on a segment */
|
|
177
181
|
segmentId?: string;
|
|
178
182
|
segmentState?: 'planned' | 'writing' | 'written' | 'rendering' | 'ready' | 'failed' | 'gone';
|
|
@@ -187,7 +191,7 @@ export interface StationOrderItem {
|
|
|
187
191
|
}
|
|
188
192
|
/**
|
|
189
193
|
* The station's live running order: what is airing, item by item
|
|
190
|
-
* generated from [StationOrder](../../../../../apps/api/data/contracts/director/director.types.ck#
|
|
194
|
+
* generated from [StationOrder](../../../../../apps/api/data/contracts/director/director.types.ck#L66)
|
|
191
195
|
*/
|
|
192
196
|
export interface StationOrder {
|
|
193
197
|
/** What is on, for a console to draw. A label for this broadcast rather than the name of a stored object */
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"director.types.d.ts","sourceRoot":"","sources":["../../../src/director/types/director.types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,sCAAsC,CAAC;AAEnE;;;GAGG;AACH,MAAM,MAAM,WAAW,GAAG,UAAU,GAAG,SAAS,GAAG,SAAS,CAAC;AAE7D;;;GAGG;AACH,MAAM,MAAM,OAAO,GAAG,UAAU,GAAG,QAAQ,CAAC;AAE5C;;;GAGG;AACH,MAAM,MAAM,SAAS,GAAG,KAAK,GAAG,UAAU,GAAG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G,WAAW,GAAG,OAAO,GAAG,QAAQ,GAAG,MAAM,CAAC;IAC7F,+HAA+H;IAC/H,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,iFAAiF;IACjF,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,6HAA6H;IAC7H,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB,wJAAwJ;IACxJ,QAAQ,CAAC,EAAE,MAAM,CAAC;CACrB;AAED;;;GAGG;AACH,MAAM,WAAW,YAAY;IACzB,4GAA4G;IAC5G,IAAI,EAAE,MAAM,CAAC;IACb,oMAAoM;IACpM,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,mHAAmH;IACnH,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,0HAA0H;IAC1H,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,IAAI,EAAE,WAAW,CAAC;IAClB,KAAK,EAAE,YAAY,CAAC;IACpB,oDAAoD;IACpD,MAAM,EAAE,MAAM,CAAC;IACf,uEAAuE;IACvE,cAAc,CAAC,EAAE,MAAM,CAAC;IACxB,gBAAgB,CAAC,EAAE,MAAM,CAAC;IAC1B,+MAA+M;IAC/M,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB,KAAK,EAAE,gBAAgB,EAAE,CAAC;CAC7B"}
|
package/dist/index.d.ts
CHANGED
|
@@ -29,6 +29,8 @@ export * from './playout/playout.client.js';
|
|
|
29
29
|
export * from './playout/types/index.js';
|
|
30
30
|
export * from './plugins/plugins.client.js';
|
|
31
31
|
export * from './plugins/types/index.js';
|
|
32
|
+
export * from './podcasts/podcasts.client.js';
|
|
33
|
+
export * from './podcasts/types/index.js';
|
|
32
34
|
export * from './productions/productions.client.js';
|
|
33
35
|
export * from './productions/types/index.js';
|
|
34
36
|
export * from './render/render.client.js';
|
package/dist/index.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AACA,cAAc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kB,CAAC;AACjC,cAAc,+BAA+B,CAAC;AAC9C,cAAc,2BAA2B,CAAC;AAC1C,cAAc,yBAAyB,CAAC;AACxC,cAAc,6BAA6B,CAAC;AAC5C,cAAc,0BAA0B,CAAC;AACzC,cAAc,6BAA6B,CAAC;AAC5C,cAAc,0BAA0B,CAAC;AACzC,cAAc,2BAA2B,CAAC;AAC1C,cAAc,yBAAyB,CAAC;AACxC,cAAc,2BAA2B,CAAC;AAC1C,cAAc,yBAAyB,CAAC"}
|
package/dist/index.js
CHANGED
|
@@ -2337,6 +2337,68 @@ var PluginsClient = class {
|
|
|
2337
2337
|
}
|
|
2338
2338
|
};
|
|
2339
2339
|
|
|
2340
|
+
// src/podcasts/podcasts.client.ts
|
|
2341
|
+
var PodcastsClient = class {
|
|
2342
|
+
static {
|
|
2343
|
+
__name(this, "PodcastsClient");
|
|
2344
|
+
}
|
|
2345
|
+
fetch;
|
|
2346
|
+
constructor(fetch2) {
|
|
2347
|
+
this.fetch = fetch2;
|
|
2348
|
+
}
|
|
2349
|
+
/**
|
|
2350
|
+
* @name List shows
|
|
2351
|
+
* @description Every programme every installed podcast plugin carries
|
|
2352
|
+
*/
|
|
2353
|
+
async listShows() {
|
|
2354
|
+
const result = await this.fetch(`/podcasts/shows`, {
|
|
2355
|
+
method: "GET"
|
|
2356
|
+
});
|
|
2357
|
+
return await parseJson(result);
|
|
2358
|
+
}
|
|
2359
|
+
/**
|
|
2360
|
+
* @name Search podcast directory
|
|
2361
|
+
* @description Looks a show up in the directories the installed podcast plugins can search
|
|
2362
|
+
*/
|
|
2363
|
+
async searchPodcastDirectory(query) {
|
|
2364
|
+
const qs = buildQueryString(query);
|
|
2365
|
+
const result = await this.fetch(`/podcasts/search${qs}`, {
|
|
2366
|
+
method: "GET"
|
|
2367
|
+
});
|
|
2368
|
+
return await parseJson(result);
|
|
2369
|
+
}
|
|
2370
|
+
/**
|
|
2371
|
+
* @name List episodes
|
|
2372
|
+
* @description The episodes the station knows about, newest first, with what it has done with each
|
|
2373
|
+
*/
|
|
2374
|
+
async listEpisodes(query) {
|
|
2375
|
+
const qs = buildQueryString(query);
|
|
2376
|
+
const result = await this.fetch(`/podcasts/episodes${qs}`, {
|
|
2377
|
+
method: "GET"
|
|
2378
|
+
});
|
|
2379
|
+
return await parseJson(result);
|
|
2380
|
+
}
|
|
2381
|
+
/**
|
|
2382
|
+
* @name Fetch episode
|
|
2383
|
+
* @description Fetches one episode's audio into the station's store now, rather than waiting for its slot to come near
|
|
2384
|
+
*/
|
|
2385
|
+
async fetchEpisode(id) {
|
|
2386
|
+
const result = await this.fetch(`/podcasts/episodes/${encodeURIComponent(id)}/fetch`, {
|
|
2387
|
+
method: "POST"
|
|
2388
|
+
});
|
|
2389
|
+
return await parseJson(result);
|
|
2390
|
+
}
|
|
2391
|
+
/**
|
|
2392
|
+
* @name Refresh podcasts
|
|
2393
|
+
* @description Reads every show's feed again, in the background, rather than waiting for the next scheduled refresh
|
|
2394
|
+
*/
|
|
2395
|
+
async refreshPodcasts() {
|
|
2396
|
+
await this.fetch(`/podcasts/refresh`, {
|
|
2397
|
+
method: "POST"
|
|
2398
|
+
});
|
|
2399
|
+
}
|
|
2400
|
+
};
|
|
2401
|
+
|
|
2340
2402
|
// src/productions/types/productions.types.ts
|
|
2341
2403
|
import { Decimal as Decimal7 } from "decimal.js";
|
|
2342
2404
|
import { DateTime as DateTime7 } from "luxon";
|
|
@@ -3465,6 +3527,7 @@ var DeadairSdk = class {
|
|
|
3465
3527
|
playlists;
|
|
3466
3528
|
playout;
|
|
3467
3529
|
plugins;
|
|
3530
|
+
podcasts;
|
|
3468
3531
|
productions;
|
|
3469
3532
|
render;
|
|
3470
3533
|
schedule;
|
|
@@ -3489,6 +3552,7 @@ var DeadairSdk = class {
|
|
|
3489
3552
|
this.playlists = new PlaylistsClient(sdkFetch);
|
|
3490
3553
|
this.playout = new PlayoutClient(sdkFetch);
|
|
3491
3554
|
this.plugins = new PluginsClient(sdkFetch);
|
|
3555
|
+
this.podcasts = new PodcastsClient(sdkFetch);
|
|
3492
3556
|
this.productions = new ProductionsClient(sdkFetch);
|
|
3493
3557
|
this.render = new RenderClient(sdkFetch);
|
|
3494
3558
|
this.schedule = new ScheduleClient(sdkFetch);
|
|
@@ -3518,6 +3582,7 @@ export {
|
|
|
3518
3582
|
PlaylistsClient,
|
|
3519
3583
|
PlayoutClient,
|
|
3520
3584
|
PluginsClient,
|
|
3585
|
+
PodcastsClient,
|
|
3521
3586
|
ProductionsClient,
|
|
3522
3587
|
RenderClient,
|
|
3523
3588
|
ScheduleClient,
|