@deadair/sdk 0.50.1 → 0.51.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/activity/types/activity.types.d.ts +5 -5
- package/dist/art/art.client.d.ts +30 -0
- package/dist/art/art.client.d.ts.map +1 -1
- package/dist/art/types/art.types.d.ts +6 -6
- package/dist/authentication/types/authentication.types.d.ts +70 -70
- package/dist/authentication/types/registration.types.d.ts +30 -30
- package/dist/catalog/types/catalog.types.d.ts +49 -46
- package/dist/catalog/types/catalog.types.d.ts.map +1 -1
- package/dist/charts/types/charts.types.d.ts +5 -5
- package/dist/director/types/clock.types.d.ts +2 -2
- package/dist/director/types/director.types.d.ts +31 -17
- package/dist/director/types/director.types.d.ts.map +1 -1
- package/dist/director/types/rules.types.d.ts +5 -5
- package/dist/history/types/history.types.d.ts +3 -3
- package/dist/index.js +57 -1
- package/dist/index.js.map +1 -1
- package/dist/languages/types/languages.types.d.ts +4 -4
- package/dist/messaging/types/messaging.types.d.ts +3 -3
- package/dist/narrations/types/narrations.types.d.ts +5 -5
- package/dist/news/types/news.types.d.ts +5 -5
- package/dist/nowplaying/types/nowplaying.types.d.ts +5 -5
- package/dist/nowplaying/types/nowplaying.types.d.ts.map +1 -1
- package/dist/oauth/types/oauth.types.d.ts +17 -17
- package/dist/onboarding/types/onboarding.types.d.ts +4 -4
- package/dist/outputs/types/outputs.types.d.ts +7 -7
- package/dist/personas/types/personas.types.d.ts +40 -40
- package/dist/playlists/types/playlists.types.d.ts +7 -7
- package/dist/playlists/types/station.playlists.types.d.ts +13 -13
- package/dist/playout/types/playout.types.d.ts +16 -16
- package/dist/playout/types/playout.types.d.ts.map +1 -1
- package/dist/plugins/plugins.client.d.ts +1 -1
- package/dist/plugins/types/plugins.types.d.ts +33 -33
- package/dist/podcasts/types/podcasts.types.d.ts +8 -8
- package/dist/productions/types/productions.types.d.ts +4 -4
- package/dist/render/types/render.types.d.ts +38 -38
- package/dist/requests/types/requests.types.d.ts +9 -9
- package/dist/schedule/types/schedule.types.d.ts +16 -8
- package/dist/schedule/types/schedule.types.d.ts.map +1 -1
- package/dist/settings/types/settings.types.d.ts +6 -6
- package/dist/shared/types/pagination.d.ts +2 -2
- package/dist/station/types/logs.types.d.ts +6 -6
- package/dist/station/types/station.types.d.ts +10 -10
- package/dist/station/types/traces.types.d.ts +6 -6
- package/dist/storage/types/storage.types.d.ts +3 -3
- package/dist/stream/types/stream.types.d.ts +4 -4
- package/dist/topics/types/topics.types.d.ts +5 -5
- package/package.json +2 -2
|
@@ -1,19 +1,19 @@
|
|
|
1
1
|
import { DateTime } from 'luxon';
|
|
2
2
|
/**
|
|
3
3
|
* Which part of the station an entry came from, and the console's one filter axis
|
|
4
|
-
* generated from [ActivityModule](../../../../../apps/api/data/contracts/activity/activity.types.ck
|
|
4
|
+
* generated from [ActivityModule](../../../../../apps/api/data/contracts/activity/activity.types.ck)
|
|
5
5
|
*/
|
|
6
6
|
export type ActivityModule = 'playout' | 'director' | 'render' | 'catalog' | 'plugins' | 'storage';
|
|
7
7
|
/**
|
|
8
8
|
* How an entry reads, not how bad it is. There is deliberately no `waiting`: a station idling for
|
|
9
9
|
* want of a listener says so in its own words and stays `info`, for the same reason the transport
|
|
10
10
|
* reports it as `ready` rather than as a mild fault
|
|
11
|
-
* generated from [ActivitySeverity](../../../../../apps/api/data/contracts/activity/activity.types.ck
|
|
11
|
+
* generated from [ActivitySeverity](../../../../../apps/api/data/contracts/activity/activity.types.ck)
|
|
12
12
|
*/
|
|
13
13
|
export type ActivitySeverity = 'info' | 'warn' | 'fault';
|
|
14
14
|
/**
|
|
15
15
|
* One thing that happened, from whichever of the feed's sources holds it
|
|
16
|
-
* generated from [ActivityEntry](../../../../../apps/api/data/contracts/activity/activity.types.ck
|
|
16
|
+
* generated from [ActivityEntry](../../../../../apps/api/data/contracts/activity/activity.types.ck)
|
|
17
17
|
*/
|
|
18
18
|
export interface ActivityEntry {
|
|
19
19
|
/** Unique across the whole feed, and half of the cursor below */
|
|
@@ -37,7 +37,7 @@ export interface ActivityEntry {
|
|
|
37
37
|
export declare function reviveActivityEntry(raw: ActivityEntry): ActivityEntry;
|
|
38
38
|
/**
|
|
39
39
|
* One page of the feed, newest first
|
|
40
|
-
* generated from [ActivityQuery](../../../../../apps/api/data/contracts/activity/activity.types.ck
|
|
40
|
+
* generated from [ActivityQuery](../../../../../apps/api/data/contracts/activity/activity.types.ck)
|
|
41
41
|
*/
|
|
42
42
|
export interface ActivityQuery {
|
|
43
43
|
limit?: number;
|
|
@@ -48,7 +48,7 @@ export interface ActivityQuery {
|
|
|
48
48
|
minSeverity?: ActivitySeverity;
|
|
49
49
|
}
|
|
50
50
|
/**
|
|
51
|
-
* generated from [ActivityPage](../../../../../apps/api/data/contracts/activity/activity.types.ck
|
|
51
|
+
* generated from [ActivityPage](../../../../../apps/api/data/contracts/activity/activity.types.ck)
|
|
52
52
|
*/
|
|
53
53
|
export interface ActivityPage {
|
|
54
54
|
entries: ActivityEntry[];
|
package/dist/art/art.client.d.ts
CHANGED
|
@@ -18,6 +18,36 @@ export declare class ArtClient {
|
|
|
18
18
|
* @description Puts the picture this repository ships back. The shipped file is read at this moment rather than copied at install, so an upgrade that improved it is what comes back
|
|
19
19
|
*/
|
|
20
20
|
revertBreakArtwork(kind: string): Promise<BreakArtworkList>;
|
|
21
|
+
/**
|
|
22
|
+
* @name Get source art
|
|
23
|
+
* @description The bytes of a cover the station fetches on first ask, addressed by its sealed source
|
|
24
|
+
*/
|
|
25
|
+
getSourceArt(token: string): Promise<{
|
|
26
|
+
status: 200;
|
|
27
|
+
contentType: 'image/jpeg' | 'image/png' | 'image/webp' | 'image/gif';
|
|
28
|
+
data: Blob;
|
|
29
|
+
headers: {
|
|
30
|
+
cacheControl?: string;
|
|
31
|
+
etag?: string;
|
|
32
|
+
};
|
|
33
|
+
} | {
|
|
34
|
+
status: 304;
|
|
35
|
+
}>;
|
|
36
|
+
/**
|
|
37
|
+
* @name Get source art file
|
|
38
|
+
* @description The bytes of a cover the station fetches on first ask, under any filename
|
|
39
|
+
*/
|
|
40
|
+
getSourceArtFile(token: string, filename: string): Promise<{
|
|
41
|
+
status: 200;
|
|
42
|
+
contentType: 'image/jpeg' | 'image/png' | 'image/webp' | 'image/gif';
|
|
43
|
+
data: Blob;
|
|
44
|
+
headers: {
|
|
45
|
+
cacheControl?: string;
|
|
46
|
+
etag?: string;
|
|
47
|
+
};
|
|
48
|
+
} | {
|
|
49
|
+
status: 304;
|
|
50
|
+
}>;
|
|
21
51
|
/**
|
|
22
52
|
* @name Get art
|
|
23
53
|
* @description The bytes of one cached image, addressed by its id alone
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"art.client.d.ts","sourceRoot":"","sources":["../../src/art/art.client.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,mBAAmB,CAAC;AAElD,OAAO,KAAK,EAAE,gBAAgB,EAAE,mBAAmB,EAAE,MAAM,sBAAsB,CAAC;AAElF,qBAAa,SAAS;IACN,OAAO,CAAC,KAAK;gBAAL,KAAK,EAAE,QAAQ;IAEnC;;;OAGG;IACG,gBAAgB,IAAI,OAAO,CAAC,gBAAgB,CAAC;IAKnD;;;OAGG;IACG,mBAAmB,CAAC,IAAI,EAAE,MAAM,EAAE,IAAI,EAAE,QAAQ,GAAG,OAAO,CAAC,gBAAgB,CAAC;IAQlF;;;OAGG;IACG,kBAAkB,CAAC,IAAI,EAAE,MAAM,GAAG,OAAO,CAAC,gBAAgB,CAAC;IAKjE;;;OAGG;IACG,MAAM,CAAC,EAAE,EAAE,MAAM,GAAG,OAAO,CAC3B;QACI,MAAM,EAAE,GAAG,CAAC;QACZ,WAAW,EAAE,YAAY,GAAG,WAAW,GAAG,YAAY,GAAG,WAAW,CAAC;QACrE,IAAI,EAAE,IAAI,CAAC;QACX,OAAO,EAAE;YAAE,YAAY,CAAC,EAAE,MAAM,CAAC;YAAC,IAAI,CAAC,EAAE,M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YAAY,GAAG,WAAW,GAAG,YAAY,GAAG,WAAW,CAAC;QACrE,IAAI,EAAE,IAAI,CAAC;QACX,OAAO,EAAE;YAAE,YAAY,CAAC,EAAE,MAAM,CAAC;YAAC,IAAI,CAAC,EAAE,MAAM,CAAA;SAAE,CAAC;KACrD,GACD;QAAE,MAAM,EAAE,GAAG,CAAA;KAAE,CACpB;IAkBD;;;OAGG;IACG,oBAAoB,IAAI,OAAO,CAAC,mBAAmB,CAAC;IAK1D;;;OAGG;IACG,sBAAsB,CAAC,SAAS,EAAE,MAAM,EAAE,IAAI,EAAE,QAAQ,GAAG,OAAO,CAAC,mBAAmB,CAAC;IAQ7F;;;OAGG;IACG,qBAAqB,CAAC,SAAS,EAAE,MAAM,GAAG,OAAO,CAAC,mBAAmB,CAAC;CAI/E"}
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
* Only kinds the station actually holds bytes for are listed. A kind with no picture is a break
|
|
6
6
|
* wearing the station's logo on the mount and nothing in a listener's app, which is what every break
|
|
7
7
|
* did before this existed and is not a row worth drawing
|
|
8
|
-
* generated from [BreakArtwork](../../../../../apps/api/data/contracts/art/art.types.ck
|
|
8
|
+
* generated from [BreakArtwork](../../../../../apps/api/data/contracts/art/art.types.ck)
|
|
9
9
|
*/
|
|
10
10
|
export interface BreakArtwork {
|
|
11
11
|
/** `segments.kind`, which is what decides which break wears this: `weather`, `news`, or whatever an operator wrote on a format-clock band */
|
|
@@ -23,7 +23,7 @@ export interface BreakArtwork {
|
|
|
23
23
|
* Documentation rather than validation: a multipart body reaches the service as the raw parser and
|
|
24
24
|
* the generated client types the body as `FormData`, so nothing checks this shape. It says what to
|
|
25
25
|
* send
|
|
26
|
-
* generated from [BreakArtworkUpload](../../../../../apps/api/data/contracts/art/art.types.ck
|
|
26
|
+
* generated from [BreakArtworkUpload](../../../../../apps/api/data/contracts/art/art.types.ck)
|
|
27
27
|
*/
|
|
28
28
|
export interface BreakArtworkUpload {
|
|
29
29
|
/** The image itself. jpeg, png, webp or gif, decided by its BYTES rather than by its name or its declared type, and at most 4 MB */
|
|
@@ -31,7 +31,7 @@ export interface BreakArtworkUpload {
|
|
|
31
31
|
}
|
|
32
32
|
/**
|
|
33
33
|
* A presenter's picture, which a listener's player shows while that persona is on air
|
|
34
|
-
* generated from [PersonaPortrait](../../../../../apps/api/data/contracts/art/art.types.ck
|
|
34
|
+
* generated from [PersonaPortrait](../../../../../apps/api/data/contracts/art/art.types.ck)
|
|
35
35
|
*/
|
|
36
36
|
export interface PersonaPortrait {
|
|
37
37
|
/** The persona it belongs to */
|
|
@@ -41,7 +41,7 @@ export interface PersonaPortrait {
|
|
|
41
41
|
}
|
|
42
42
|
/**
|
|
43
43
|
* A portrait arriving from the browser, as multipart form parts. Documentation rather than validation, as for a break's picture
|
|
44
|
-
* generated from [PersonaPortraitUpload](../../../../../apps/api/data/contracts/art/art.types.ck
|
|
44
|
+
* generated from [PersonaPortraitUpload](../../../../../apps/api/data/contracts/art/art.types.ck)
|
|
45
45
|
*/
|
|
46
46
|
export interface PersonaPortraitUpload {
|
|
47
47
|
/** The image itself. jpeg, png, webp or gif, decided by its BYTES, and at most 4 MB */
|
|
@@ -49,14 +49,14 @@ export interface PersonaPortraitUpload {
|
|
|
49
49
|
}
|
|
50
50
|
/**
|
|
51
51
|
* Every kind the station holds a picture for, kind by kind
|
|
52
|
-
* generated from [BreakArtworkList](../../../../../apps/api/data/contracts/art/art.types.ck
|
|
52
|
+
* generated from [BreakArtworkList](../../../../../apps/api/data/contracts/art/art.types.ck)
|
|
53
53
|
*/
|
|
54
54
|
export interface BreakArtworkList {
|
|
55
55
|
breaks: BreakArtwork[];
|
|
56
56
|
}
|
|
57
57
|
/**
|
|
58
58
|
* Every persona that has a portrait
|
|
59
|
-
* generated from [PersonaPortraitList](../../../../../apps/api/data/contracts/art/art.types.ck
|
|
59
|
+
* generated from [PersonaPortraitList](../../../../../apps/api/data/contracts/art/art.types.ck)
|
|
60
60
|
*/
|
|
61
61
|
export interface PersonaPortraitList {
|
|
62
62
|
portraits: PersonaPortrait[];
|