@deadair/sdk 0.50.1 → 0.50.2
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 +17 -17
- 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 +8 -8
- 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,6 +1,6 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* The plugin playlist to load into the running order
|
|
3
|
-
* generated from [PlayoutPlaylistInput](../../../../../apps/api/data/contracts/playout/playout.types.ck
|
|
3
|
+
* generated from [PlayoutPlaylistInput](../../../../../apps/api/data/contracts/playout/playout.types.ck)
|
|
4
4
|
*/
|
|
5
5
|
export interface PlayoutPlaylistInput {
|
|
6
6
|
pluginId: string;
|
|
@@ -12,7 +12,7 @@ export interface PlayoutPlaylistInput {
|
|
|
12
12
|
}
|
|
13
13
|
/**
|
|
14
14
|
* A playlist the station owns, to load into the running order
|
|
15
|
-
* generated from [PlayoutStationPlaylistInput](../../../../../apps/api/data/contracts/playout/playout.types.ck
|
|
15
|
+
* generated from [PlayoutStationPlaylistInput](../../../../../apps/api/data/contracts/playout/playout.types.ck)
|
|
16
16
|
*/
|
|
17
17
|
export interface PlayoutStationPlaylistInput {
|
|
18
18
|
stationPlaylistId: string;
|
|
@@ -23,14 +23,14 @@ export interface PlayoutStationPlaylistInput {
|
|
|
23
23
|
}
|
|
24
24
|
/**
|
|
25
25
|
* An album the library holds, to play whole
|
|
26
|
-
* generated from [PlayoutAlbumInput](../../../../../apps/api/data/contracts/playout/playout.types.ck
|
|
26
|
+
* generated from [PlayoutAlbumInput](../../../../../apps/api/data/contracts/playout/playout.types.ck)
|
|
27
27
|
*/
|
|
28
28
|
export interface PlayoutAlbumInput {
|
|
29
29
|
albumId: string;
|
|
30
30
|
}
|
|
31
31
|
/**
|
|
32
32
|
* The published chart to build the running order from
|
|
33
|
-
* generated from [PlayoutChartInput](../../../../../apps/api/data/contracts/playout/playout.types.ck
|
|
33
|
+
* generated from [PlayoutChartInput](../../../../../apps/api/data/contracts/playout/playout.types.ck)
|
|
34
34
|
*/
|
|
35
35
|
export interface PlayoutChartInput {
|
|
36
36
|
/** As `pluginId:chartId`, which is how `GET /charts` lists them */
|
|
@@ -44,7 +44,7 @@ export interface PlayoutChartInput {
|
|
|
44
44
|
}
|
|
45
45
|
/**
|
|
46
46
|
* One item in the running order, as the console sees it
|
|
47
|
-
* generated from [PlayoutItem](../../../../../apps/api/data/contracts/playout/playout.types.ck
|
|
47
|
+
* generated from [PlayoutItem](../../../../../apps/api/data/contracts/playout/playout.types.ck)
|
|
48
48
|
*/
|
|
49
49
|
export interface PlayoutItem {
|
|
50
50
|
/** deadair's own id for this item, not the provider's: a playlist may hold the same track twice */
|
|
@@ -57,7 +57,7 @@ export interface PlayoutItem {
|
|
|
57
57
|
/** Integer milliseconds. Deliberately not the `duration` scalar, which is a Luxon `Duration` over an ISO-8601 string */
|
|
58
58
|
durationMs?: number;
|
|
59
59
|
album?: string;
|
|
60
|
-
/** The
|
|
60
|
+
/** The station's own cover, as a path under the API root. Never a provider's URL */
|
|
61
61
|
artworkUrl?: string;
|
|
62
62
|
/** First release year, when the catalog knows one */
|
|
63
63
|
year?: number;
|
|
@@ -70,7 +70,7 @@ export interface PlayoutItem {
|
|
|
70
70
|
* re-rendered — so a reseeded secret leaves a process holding credentials that match nothing,
|
|
71
71
|
* and the symptom names something else entirely (every listener refused, or no mount at all).
|
|
72
72
|
* The app cannot restart a sibling container and should not be able to, so it reports.
|
|
73
|
-
* generated from [StreamConfigWarning](../../../../../apps/api/data/contracts/playout/playout.types.ck
|
|
73
|
+
* generated from [StreamConfigWarning](../../../../../apps/api/data/contracts/playout/playout.types.ck)
|
|
74
74
|
*/
|
|
75
75
|
export interface StreamConfigWarning {
|
|
76
76
|
/** Which one is behind */
|
|
@@ -83,19 +83,19 @@ export interface StreamConfigWarning {
|
|
|
83
83
|
/**
|
|
84
84
|
* Which gate is keeping the station quiet, or `airing` when none of them is. Ordered by cause: a
|
|
85
85
|
* stalled transport loop makes every reading under it stale, so it is ruled out first
|
|
86
|
-
* generated from [SilenceCause](../../../../../apps/api/data/contracts/playout/playout.types.ck
|
|
86
|
+
* generated from [SilenceCause](../../../../../apps/api/data/contracts/playout/playout.types.ck)
|
|
87
87
|
*/
|
|
88
88
|
export type SilenceCause = 'airing' | 'transportStalled' | 'controlDenied' | 'streamUnreachable' | 'configNotAdopted' | 'stoodDown' | 'noProgramme' | 'noAudience' | 'warmingUp' | 'waitingOnAudio' | 'notDriving' | 'starved';
|
|
89
89
|
/**
|
|
90
90
|
* How one gate is doing. `waiting` is its own state rather than a mild fault, because a station
|
|
91
91
|
* idling for want of a listener and a station that cannot reach its stream are both silent and only
|
|
92
92
|
* one of them is something to go and fix
|
|
93
|
-
* generated from [SilenceState](../../../../../apps/api/data/contracts/playout/playout.types.ck
|
|
93
|
+
* generated from [SilenceState](../../../../../apps/api/data/contracts/playout/playout.types.ck)
|
|
94
94
|
*/
|
|
95
95
|
export type SilenceState = 'ok' | 'waiting' | 'fault';
|
|
96
96
|
/**
|
|
97
97
|
* One mount the station is publishing right now
|
|
98
|
-
* generated from [PlayoutMount](../../../../../apps/api/data/contracts/playout/playout.types.ck
|
|
98
|
+
* generated from [PlayoutMount](../../../../../apps/api/data/contracts/playout/playout.types.ck)
|
|
99
99
|
*/
|
|
100
100
|
export interface PlayoutMount {
|
|
101
101
|
format: 'mp3' | 'opus' | 'aac' | 'flac';
|
|
@@ -106,7 +106,7 @@ export interface PlayoutMount {
|
|
|
106
106
|
}
|
|
107
107
|
/**
|
|
108
108
|
* Which rundown item Liquidsoap has just started playing
|
|
109
|
-
* generated from [PlayoutAiredQuery](../../../../../apps/api/data/contracts/playout/playout.types.ck
|
|
109
|
+
* generated from [PlayoutAiredQuery](../../../../../apps/api/data/contracts/playout/playout.types.ck)
|
|
110
110
|
*/
|
|
111
111
|
export interface PlayoutAiredQuery {
|
|
112
112
|
/** The id the app put on the pushed uri's `annotate:` metadata */
|
|
@@ -114,7 +114,7 @@ export interface PlayoutAiredQuery {
|
|
|
114
114
|
}
|
|
115
115
|
/**
|
|
116
116
|
* Which way the running order went, and how long it had been that way
|
|
117
|
-
* generated from [PlayoutStarveQuery](../../../../../apps/api/data/contracts/playout/playout.types.ck
|
|
117
|
+
* generated from [PlayoutStarveQuery](../../../../../apps/api/data/contracts/playout/playout.types.ck)
|
|
118
118
|
*/
|
|
119
119
|
export interface PlayoutStarveQuery {
|
|
120
120
|
/** `starved`: the queue stopped producing while deadair was driving, so the mount fell through to the local bed. `recovered`: it is producing again */
|
|
@@ -124,7 +124,7 @@ export interface PlayoutStarveQuery {
|
|
|
124
124
|
}
|
|
125
125
|
/**
|
|
126
126
|
* What the PLAYER says is airing, which is not the same as what was last handed to it
|
|
127
|
-
* generated from [PlayoutNowPlaying](../../../../../apps/api/data/contracts/playout/playout.types.ck
|
|
127
|
+
* generated from [PlayoutNowPlaying](../../../../../apps/api/data/contracts/playout/playout.types.ck)
|
|
128
128
|
*/
|
|
129
129
|
export interface PlayoutNowPlaying {
|
|
130
130
|
item: PlayoutItem;
|
|
@@ -135,7 +135,7 @@ export interface PlayoutNowPlaying {
|
|
|
135
135
|
}
|
|
136
136
|
/**
|
|
137
137
|
* One gate's answer about itself
|
|
138
|
-
* generated from [SilenceCheck](../../../../../apps/api/data/contracts/playout/playout.types.ck
|
|
138
|
+
* generated from [SilenceCheck](../../../../../apps/api/data/contracts/playout/playout.types.ck)
|
|
139
139
|
*/
|
|
140
140
|
export interface SilenceCheck {
|
|
141
141
|
/** Never `airing`, which is the absence of a blocking gate rather than a gate */
|
|
@@ -148,7 +148,7 @@ export interface SilenceCheck {
|
|
|
148
148
|
}
|
|
149
149
|
/**
|
|
150
150
|
* Why the station cannot be heard, as one answer
|
|
151
|
-
* generated from [StationSilence](../../../../../apps/api/data/contracts/playout/playout.types.ck
|
|
151
|
+
* generated from [StationSilence](../../../../../apps/api/data/contracts/playout/playout.types.ck)
|
|
152
152
|
*/
|
|
153
153
|
export interface StationSilence {
|
|
154
154
|
/** 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 */
|
|
@@ -161,7 +161,7 @@ export interface StationSilence {
|
|
|
161
161
|
}
|
|
162
162
|
/**
|
|
163
163
|
* The station's transport, as one reading
|
|
164
|
-
* generated from [PlayoutStatus](../../../../../apps/api/data/contracts/playout/playout.types.ck
|
|
164
|
+
* generated from [PlayoutStatus](../../../../../apps/api/data/contracts/playout/playout.types.ck)
|
|
165
165
|
*/
|
|
166
166
|
export interface PlayoutStatus {
|
|
167
167
|
/** 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;IACvB,2JAA2J;IAC3J,OAAO,CAAC,EAAE,OAAO,CAAC;CACrB;AAED;;;GAGG;AACH,MAAM,WAAW,2BAA2B;IACxC,iBAAiB,EAAE,MAAM,CAAC;IAC1B,uLAAuL;IACvL,YAAY,CAAC,EAAE,OAAO,CAAC;IACvB,2JAA2J;IAC3J,OAAO,CAAC,EAAE,OAAO,CAAC;CACrB;AAED;;;GAGG;AACH,MAAM,WAAW,iBAAiB;IAC9B,OAAO,EAAE,MAAM,CAAC;CACnB;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;IAClD,qPAAqP;IACrP,cAAc,CAAC,EAAE,OAAO,CAAC;IACzB,2JAA2J;IAC3J,OAAO,CAAC,EAAE,OAAO,CAAC;CACrB;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,
|
|
1
|
+
{"version":3,"file":"playout.types.d.ts","sourceRoot":"","sources":["../../../src/playout/types/playout.types.ts"],"names":[],"mappings":"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"}
|
|
@@ -25,7 +25,7 @@ export declare class PluginsClient {
|
|
|
25
25
|
rescanPlugins(): Promise<PluginSummary[]>;
|
|
26
26
|
/**
|
|
27
27
|
* @name Import plugin
|
|
28
|
-
* @description Takes a plugin in from the browser as the tarball npm pack writes and puts it in the plugins directory. It lands disabled,
|
|
28
|
+
* @description Takes a plugin in from the browser as the tarball npm pack writes and puts it in the plugins directory. Importing runs the plugin's code: the station loads it to read its manifest, inside the server and with the server's privileges. It lands disabled, which only means the station does not use it until it is enabled. A newer version of an installed plugin replaces the older one
|
|
29
29
|
*/
|
|
30
30
|
importPlugin(body: FormData): Promise<PluginImportResult>;
|
|
31
31
|
/**
|
|
@@ -1,24 +1,24 @@
|
|
|
1
1
|
import { DateTime } from 'luxon';
|
|
2
2
|
/**
|
|
3
3
|
* Lifecycle state of a plugin the host knows about
|
|
4
|
-
* generated from [PluginStatus](../../../../../apps/api/data/contracts/plugins/plugins.types.ck
|
|
4
|
+
* generated from [PluginStatus](../../../../../apps/api/data/contracts/plugins/plugins.types.ck)
|
|
5
5
|
*/
|
|
6
6
|
export type PluginStatus = 'discovered' | 'disabled' | 'misconfigured' | 'active' | 'failed';
|
|
7
7
|
/**
|
|
8
8
|
* Where the station found a plugin: shipped inside the image, or installed by the operator into the plugins
|
|
9
9
|
* directory on the data volume. Says nothing about trust; both kinds run inside the station with its privileges
|
|
10
|
-
* generated from [PluginOrigin](../../../../../apps/api/data/contracts/plugins/plugins.types.ck
|
|
10
|
+
* generated from [PluginOrigin](../../../../../apps/api/data/contracts/plugins/plugins.types.ck)
|
|
11
11
|
*/
|
|
12
12
|
export type PluginOrigin = 'bundled' | 'installed';
|
|
13
13
|
/**
|
|
14
|
-
* generated from [ConfigFieldType](../../../../../apps/api/data/contracts/plugins/plugins.types.ck
|
|
14
|
+
* generated from [ConfigFieldType](../../../../../apps/api/data/contracts/plugins/plugins.types.ck)
|
|
15
15
|
*/
|
|
16
16
|
export type ConfigFieldType = 'string' | 'text' | 'url' | 'secret' | 'number' | 'boolean' | 'select' | 'multiselect' | 'list' | 'note';
|
|
17
17
|
/**
|
|
18
18
|
* What a `number` field's value is measured in. The stored value is always in this unit; only the
|
|
19
19
|
* control the operator touches changes, so a byte count stays a byte count everywhere it is read and
|
|
20
20
|
* a `fraction` stays the share between 0 and 1 that the code multiplying by it wants
|
|
21
|
-
* generated from [ConfigFieldUnit](../../../../../apps/api/data/contracts/plugins/plugins.types.ck
|
|
21
|
+
* generated from [ConfigFieldUnit](../../../../../apps/api/data/contracts/plugins/plugins.types.ck)
|
|
22
22
|
*/
|
|
23
23
|
export type ConfigFieldUnit = 'bytes' | 'fraction';
|
|
24
24
|
/**
|
|
@@ -26,12 +26,12 @@ export type ConfigFieldUnit = 'bytes' | 'fraction';
|
|
|
26
26
|
* per field rather than inferred, because a slider is right for a value you feel for and wrong for
|
|
27
27
|
* one you have to hit exactly, and `tags` is right for a comma-separated line that is really a SET
|
|
28
28
|
* and wrong for one that is prose. Nothing about the stored value changes either way
|
|
29
|
-
* generated from [ConfigFieldControl](../../../../../apps/api/data/contracts/plugins/plugins.types.ck
|
|
29
|
+
* generated from [ConfigFieldControl](../../../../../apps/api/data/contracts/plugins/plugins.types.ck)
|
|
30
30
|
*/
|
|
31
31
|
export type ConfigFieldControl = 'slider' | 'tags';
|
|
32
32
|
/**
|
|
33
33
|
* One choice of a `select` config field
|
|
34
|
-
* generated from [ConfigFieldOption](../../../../../apps/api/data/contracts/plugins/plugins.types.ck
|
|
34
|
+
* generated from [ConfigFieldOption](../../../../../apps/api/data/contracts/plugins/plugins.types.ck)
|
|
35
35
|
*/
|
|
36
36
|
export interface ConfigFieldOption {
|
|
37
37
|
value: string;
|
|
@@ -41,12 +41,12 @@ export interface ConfigFieldOption {
|
|
|
41
41
|
* Where a field's or a column's choices come from when only the console can enumerate them: the
|
|
42
42
|
* station's own tables, the platform's zone list, the enabled plugins that can do one of five jobs,
|
|
43
43
|
* or the models the selected model plugin currently offers. Resolved by the console either way
|
|
44
|
-
* generated from [ConfigFieldOptionSource](../../../../../apps/api/data/contracts/plugins/plugins.types.ck
|
|
44
|
+
* generated from [ConfigFieldOptionSource](../../../../../apps/api/data/contracts/plugins/plugins.types.ck)
|
|
45
45
|
*/
|
|
46
46
|
export type ConfigFieldOptionSource = 'station.newsCategories' | 'station.newsFeeds' | 'station.podcastShows' | 'station.narrationSeries' | 'intl.timeZones' | 'plugins.speech' | 'plugins.llm' | 'plugins.mixer' | 'plugins.analysis' | 'plugins.similarity' | 'llm.models';
|
|
47
47
|
/**
|
|
48
48
|
* A row a `list` field offers to start from instead of an empty one. Adding a row from it fills the cells it names, by column key, and nothing records which preset a row came from
|
|
49
|
-
* generated from [ConfigFieldPreset](../../../../../apps/api/data/contracts/plugins/plugins.types.ck
|
|
49
|
+
* generated from [ConfigFieldPreset](../../../../../apps/api/data/contracts/plugins/plugins.types.ck)
|
|
50
50
|
*/
|
|
51
51
|
export interface ConfigFieldPreset {
|
|
52
52
|
/** What the operator picks it by */
|
|
@@ -58,25 +58,25 @@ export interface ConfigFieldPreset {
|
|
|
58
58
|
* Whether a capability has ONE answer or is asked of everything in turn. `one` stores a plugin id
|
|
59
59
|
* and `ordered` stores a list of them; see `plugins/plugin.providers.ts`, which both this and the
|
|
60
60
|
* station read the pairing from
|
|
61
|
-
* generated from [ProviderMode](../../../../../apps/api/data/contracts/plugins/plugins.types.ck
|
|
61
|
+
* generated from [ProviderMode](../../../../../apps/api/data/contracts/plugins/plugins.types.ck)
|
|
62
62
|
*/
|
|
63
63
|
export type ProviderMode = 'one' | 'ordered';
|
|
64
64
|
/**
|
|
65
65
|
* A plugin handed over from the browser. The generated client types the body as `FormData`, so
|
|
66
66
|
* nothing checks this shape. It says what to send
|
|
67
|
-
* generated from [PluginImport](../../../../../apps/api/data/contracts/plugins/plugins.types.ck
|
|
67
|
+
* generated from [PluginImport](../../../../../apps/api/data/contracts/plugins/plugins.types.ck)
|
|
68
68
|
*/
|
|
69
69
|
export interface PluginImport {
|
|
70
70
|
/** The gzip tarball npm pack writes: every entry under package/, holding package.json and the built code, at most 64 MB */
|
|
71
71
|
file: Blob;
|
|
72
72
|
}
|
|
73
73
|
/**
|
|
74
|
-
* generated from [PluginLogLevel](../../../../../apps/api/data/contracts/plugins/plugins.types.ck
|
|
74
|
+
* generated from [PluginLogLevel](../../../../../apps/api/data/contracts/plugins/plugins.types.ck)
|
|
75
75
|
*/
|
|
76
76
|
export type PluginLogLevel = 'debug' | 'info' | 'warn' | 'error';
|
|
77
77
|
/**
|
|
78
78
|
* A submitted settings form. Secret values arrive in here and are never echoed back
|
|
79
|
-
* generated from [PluginConfigInput](../../../../../apps/api/data/contracts/plugins/plugins.types.ck
|
|
79
|
+
* generated from [PluginConfigInput](../../../../../apps/api/data/contracts/plugins/plugins.types.ck)
|
|
80
80
|
*/
|
|
81
81
|
export interface PluginConfigInput {
|
|
82
82
|
config: Record<string, unknown>;
|
|
@@ -84,12 +84,12 @@ export interface PluginConfigInput {
|
|
|
84
84
|
/**
|
|
85
85
|
* What a plugin may do with a capability it asked for. Denied is the default and needs no row: a
|
|
86
86
|
* capability is refused until somebody allows it, so "never answered" and "refused" are one state
|
|
87
|
-
* generated from [GrantDecision](../../../../../apps/api/data/contracts/plugins/plugins.types.ck
|
|
87
|
+
* generated from [GrantDecision](../../../../../apps/api/data/contracts/plugins/plugins.types.ck)
|
|
88
88
|
*/
|
|
89
89
|
export type GrantDecision = 'allowed' | 'denied';
|
|
90
90
|
/**
|
|
91
91
|
* Outcome of the plugin's own `testConnection()`
|
|
92
|
-
* generated from [PluginTestResult](../../../../../apps/api/data/contracts/plugins/plugins.types.ck
|
|
92
|
+
* generated from [PluginTestResult](../../../../../apps/api/data/contracts/plugins/plugins.types.ck)
|
|
93
93
|
*/
|
|
94
94
|
export interface PluginTestResult {
|
|
95
95
|
ok: boolean;
|
|
@@ -98,14 +98,14 @@ export interface PluginTestResult {
|
|
|
98
98
|
/**
|
|
99
99
|
* Where the console should send the browser to obtain the operator's consent. Reported rather than
|
|
100
100
|
* redirected to: the route is behind the Bearer floor, so a browser cannot follow a redirect from it
|
|
101
|
-
* generated from [PluginOAuthStart](../../../../../apps/api/data/contracts/plugins/plugins.types.ck
|
|
101
|
+
* generated from [PluginOAuthStart](../../../../../apps/api/data/contracts/plugins/plugins.types.ck)
|
|
102
102
|
*/
|
|
103
103
|
export interface PluginOAuthStart {
|
|
104
104
|
url: string;
|
|
105
105
|
}
|
|
106
106
|
/**
|
|
107
107
|
* Outcome of an OAuth callback
|
|
108
|
-
* generated from [PluginOAuthResult](../../../../../apps/api/data/contracts/plugins/plugins.types.ck
|
|
108
|
+
* generated from [PluginOAuthResult](../../../../../apps/api/data/contracts/plugins/plugins.types.ck)
|
|
109
109
|
*/
|
|
110
110
|
export interface PluginOAuthResult {
|
|
111
111
|
pluginId: string;
|
|
@@ -113,7 +113,7 @@ export interface PluginOAuthResult {
|
|
|
113
113
|
message?: string;
|
|
114
114
|
}
|
|
115
115
|
/**
|
|
116
|
-
* generated from [PluginOAuthCallbackQuery](../../../../../apps/api/data/contracts/plugins/plugins.types.ck
|
|
116
|
+
* generated from [PluginOAuthCallbackQuery](../../../../../apps/api/data/contracts/plugins/plugins.types.ck)
|
|
117
117
|
*/
|
|
118
118
|
export interface PluginOAuthCallbackQuery {
|
|
119
119
|
code?: string;
|
|
@@ -130,7 +130,7 @@ export interface PluginOAuthCallbackQuery {
|
|
|
130
130
|
}
|
|
131
131
|
/**
|
|
132
132
|
* One plugin's standing for one capability, as the Providers section draws it
|
|
133
|
-
* generated from [ProviderCandidate](../../../../../apps/api/data/contracts/plugins/plugins.types.ck
|
|
133
|
+
* generated from [ProviderCandidate](../../../../../apps/api/data/contracts/plugins/plugins.types.ck)
|
|
134
134
|
*/
|
|
135
135
|
export interface ProviderCandidate {
|
|
136
136
|
pluginId: string;
|
|
@@ -151,7 +151,7 @@ export interface ProviderCandidate {
|
|
|
151
151
|
* Live choices for a plugin's config fields, keyed by field key, out of the plugin's own
|
|
152
152
|
* `suggestConfigOptions()`. What `ConfigFieldDescriptor.options` cannot be: fixed when the manifest
|
|
153
153
|
* was written, where these are whatever the operator's own server currently says
|
|
154
|
-
* generated from [PluginFieldSuggestions](../../../../../apps/api/data/contracts/plugins/plugins.types.ck
|
|
154
|
+
* generated from [PluginFieldSuggestions](../../../../../apps/api/data/contracts/plugins/plugins.types.ck)
|
|
155
155
|
*/
|
|
156
156
|
export interface PluginFieldSuggestions {
|
|
157
157
|
/** Keys the plugin had nothing to say about are simply absent, rather than present and empty */
|
|
@@ -165,7 +165,7 @@ export interface PluginFieldSuggestions {
|
|
|
165
165
|
/**
|
|
166
166
|
* One column of a `list` field. Every ordinary cell is stored as a string in the row, so this describes the
|
|
167
167
|
* control rather than the value; a `secret` cell is encrypted on its own and is never in the row at all
|
|
168
|
-
* generated from [ConfigFieldColumn](../../../../../apps/api/data/contracts/plugins/plugins.types.ck
|
|
168
|
+
* generated from [ConfigFieldColumn](../../../../../apps/api/data/contracts/plugins/plugins.types.ck)
|
|
169
169
|
*/
|
|
170
170
|
export interface ConfigFieldColumn {
|
|
171
171
|
key: string;
|
|
@@ -181,7 +181,7 @@ export interface ConfigFieldColumn {
|
|
|
181
181
|
dependsOnValues?: string[];
|
|
182
182
|
}
|
|
183
183
|
/**
|
|
184
|
-
* generated from [PluginLogEntry](../../../../../apps/api/data/contracts/plugins/plugins.types.ck
|
|
184
|
+
* generated from [PluginLogEntry](../../../../../apps/api/data/contracts/plugins/plugins.types.ck)
|
|
185
185
|
*/
|
|
186
186
|
export interface PluginLogEntry {
|
|
187
187
|
ts: string;
|
|
@@ -190,14 +190,14 @@ export interface PluginLogEntry {
|
|
|
190
190
|
text: string;
|
|
191
191
|
}
|
|
192
192
|
/**
|
|
193
|
-
* generated from [PluginLogQuery](../../../../../apps/api/data/contracts/plugins/plugins.types.ck
|
|
193
|
+
* generated from [PluginLogQuery](../../../../../apps/api/data/contracts/plugins/plugins.types.ck)
|
|
194
194
|
*/
|
|
195
195
|
export interface PluginLogQuery {
|
|
196
196
|
limit?: number;
|
|
197
197
|
level?: PluginLogLevel;
|
|
198
198
|
}
|
|
199
199
|
/**
|
|
200
|
-
* generated from [PluginLogLevelInput](../../../../../apps/api/data/contracts/plugins/plugins.types.ck
|
|
200
|
+
* generated from [PluginLogLevelInput](../../../../../apps/api/data/contracts/plugins/plugins.types.ck)
|
|
201
201
|
*/
|
|
202
202
|
export interface PluginLogLevelInput {
|
|
203
203
|
level: PluginLogLevel;
|
|
@@ -205,7 +205,7 @@ export interface PluginLogLevelInput {
|
|
|
205
205
|
/**
|
|
206
206
|
* One capability a plugin asked for, with the station's answer. The ask is the plugin's manifest and
|
|
207
207
|
* the answer is a row, so a plugin that stops asking stops appearing here whatever was stored
|
|
208
|
-
* generated from [PluginGrant](../../../../../apps/api/data/contracts/plugins/plugins.types.ck
|
|
208
|
+
* generated from [PluginGrant](../../../../../apps/api/data/contracts/plugins/plugins.types.ck)
|
|
209
209
|
*/
|
|
210
210
|
export interface PluginGrant {
|
|
211
211
|
pluginId: string;
|
|
@@ -221,7 +221,7 @@ export interface PluginGrant {
|
|
|
221
221
|
decision: GrantDecision;
|
|
222
222
|
}
|
|
223
223
|
/**
|
|
224
|
-
* generated from [PluginGrantInput](../../../../../apps/api/data/contracts/plugins/plugins.types.ck
|
|
224
|
+
* generated from [PluginGrantInput](../../../../../apps/api/data/contracts/plugins/plugins.types.ck)
|
|
225
225
|
*/
|
|
226
226
|
export interface PluginGrantInput {
|
|
227
227
|
capability: string;
|
|
@@ -229,7 +229,7 @@ export interface PluginGrantInput {
|
|
|
229
229
|
}
|
|
230
230
|
/**
|
|
231
231
|
* One capability, who can answer it, and what the operator has said about the order
|
|
232
|
-
* generated from [ProviderCapabilityState](../../../../../apps/api/data/contracts/plugins/plugins.types.ck
|
|
232
|
+
* generated from [ProviderCapabilityState](../../../../../apps/api/data/contracts/plugins/plugins.types.ck)
|
|
233
233
|
*/
|
|
234
234
|
export interface ProviderCapabilityState {
|
|
235
235
|
/** The manifest capability, which is also the console's anchor for this block */
|
|
@@ -248,7 +248,7 @@ export interface ProviderCapabilityState {
|
|
|
248
248
|
}
|
|
249
249
|
/**
|
|
250
250
|
* Mirrors the plugin SDK's `ConfigField`: enough for a console to render the settings form with no per-plugin code
|
|
251
|
-
* generated from [ConfigFieldDescriptor](../../../../../apps/api/data/contracts/plugins/plugins.types.ck
|
|
251
|
+
* generated from [ConfigFieldDescriptor](../../../../../apps/api/data/contracts/plugins/plugins.types.ck)
|
|
252
252
|
*/
|
|
253
253
|
export interface ConfigFieldDescriptor {
|
|
254
254
|
key: string;
|
|
@@ -281,7 +281,7 @@ export interface ConfigFieldDescriptor {
|
|
|
281
281
|
rangeWith?: string;
|
|
282
282
|
}
|
|
283
283
|
/**
|
|
284
|
-
* generated from [PluginLogPage](../../../../../apps/api/data/contracts/plugins/plugins.types.ck
|
|
284
|
+
* generated from [PluginLogPage](../../../../../apps/api/data/contracts/plugins/plugins.types.ck)
|
|
285
285
|
*/
|
|
286
286
|
export interface PluginLogPage {
|
|
287
287
|
pluginId: string;
|
|
@@ -290,7 +290,7 @@ export interface PluginLogPage {
|
|
|
290
290
|
entries: PluginLogEntry[];
|
|
291
291
|
}
|
|
292
292
|
/**
|
|
293
|
-
* generated from [PluginGrantList](../../../../../apps/api/data/contracts/plugins/plugins.types.ck
|
|
293
|
+
* generated from [PluginGrantList](../../../../../apps/api/data/contracts/plugins/plugins.types.ck)
|
|
294
294
|
*/
|
|
295
295
|
export interface PluginGrantList {
|
|
296
296
|
/** Every capability every installed plugin is asking for, refused ones included */
|
|
@@ -299,14 +299,14 @@ export interface PluginGrantList {
|
|
|
299
299
|
/**
|
|
300
300
|
* Every capability an operator chooses between. Capabilities that fan out and merge without
|
|
301
301
|
* ranking are deliberately absent: order changes nothing about a union
|
|
302
|
-
* generated from [ProviderCatalogue](../../../../../apps/api/data/contracts/plugins/plugins.types.ck
|
|
302
|
+
* generated from [ProviderCatalogue](../../../../../apps/api/data/contracts/plugins/plugins.types.ck)
|
|
303
303
|
*/
|
|
304
304
|
export interface ProviderCatalogue {
|
|
305
305
|
capabilities: ProviderCapabilityState[];
|
|
306
306
|
}
|
|
307
307
|
/**
|
|
308
308
|
* A plugin as the settings list sees it. Carries no configured VALUES, only which secrets are set
|
|
309
|
-
* generated from [PluginSummary](../../../../../apps/api/data/contracts/plugins/plugins.types.ck
|
|
309
|
+
* generated from [PluginSummary](../../../../../apps/api/data/contracts/plugins/plugins.types.ck)
|
|
310
310
|
*/
|
|
311
311
|
export interface PluginSummary {
|
|
312
312
|
id: string;
|
|
@@ -352,7 +352,7 @@ export interface PluginSummaryInput {
|
|
|
352
352
|
export declare function revivePluginSummary(raw: PluginSummary): PluginSummary;
|
|
353
353
|
/**
|
|
354
354
|
* What an import did
|
|
355
|
-
* generated from [PluginImportResult](../../../../../apps/api/data/contracts/plugins/plugins.types.ck
|
|
355
|
+
* generated from [PluginImportResult](../../../../../apps/api/data/contracts/plugins/plugins.types.ck)
|
|
356
356
|
*/
|
|
357
357
|
export interface PluginImportResult {
|
|
358
358
|
/** The id the imported plugin claimed */
|
|
@@ -374,7 +374,7 @@ export interface PluginImportResultInput {
|
|
|
374
374
|
export declare function revivePluginImportResult(raw: PluginImportResult): PluginImportResult;
|
|
375
375
|
/**
|
|
376
376
|
* A summary plus the stored NON-SECRET configuration
|
|
377
|
-
* generated from [PluginDetail](../../../../../apps/api/data/contracts/plugins/plugins.types.ck
|
|
377
|
+
* generated from [PluginDetail](../../../../../apps/api/data/contracts/plugins/plugins.types.ck)
|
|
378
378
|
*/
|
|
379
379
|
export interface PluginDetail extends PluginSummary {
|
|
380
380
|
/** Absolute path of the plugin's directory on the station */
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* A programme the station carries, as one installed plugin describes it
|
|
3
|
-
* generated from [StationShow](../../../../../apps/api/data/contracts/podcasts/podcasts.types.ck
|
|
3
|
+
* generated from [StationShow](../../../../../apps/api/data/contracts/podcasts/podcasts.types.ck)
|
|
4
4
|
*/
|
|
5
5
|
export interface StationShow {
|
|
6
6
|
/** Unique across the station: the plugin's own id for the show, qualified with the plugin that offered it */
|
|
@@ -22,7 +22,7 @@ export interface StationShow {
|
|
|
22
22
|
}
|
|
23
23
|
/**
|
|
24
24
|
* One episode of a programme the station carries, and what the station has done with it
|
|
25
|
-
* generated from [StationEpisode](../../../../../apps/api/data/contracts/podcasts/podcasts.types.ck
|
|
25
|
+
* generated from [StationEpisode](../../../../../apps/api/data/contracts/podcasts/podcasts.types.ck)
|
|
26
26
|
*/
|
|
27
27
|
export interface StationEpisode {
|
|
28
28
|
/** The station's own id for this episode */
|
|
@@ -58,7 +58,7 @@ export interface StationEpisode {
|
|
|
58
58
|
}
|
|
59
59
|
/**
|
|
60
60
|
* A show a podcast plugin's directory knows about, which the station may or may not carry
|
|
61
|
-
* generated from [StationDirectoryEntry](../../../../../apps/api/data/contracts/podcasts/podcasts.types.ck
|
|
61
|
+
* generated from [StationDirectoryEntry](../../../../../apps/api/data/contracts/podcasts/podcasts.types.ck)
|
|
62
62
|
*/
|
|
63
63
|
export interface StationDirectoryEntry {
|
|
64
64
|
/** The directory's own id for the show. A key in a list, and nothing more */
|
|
@@ -76,7 +76,7 @@ export interface StationDirectoryEntry {
|
|
|
76
76
|
explicit?: boolean;
|
|
77
77
|
}
|
|
78
78
|
/**
|
|
79
|
-
* generated from [StationDirectoryQuery](../../../../../apps/api/data/contracts/podcasts/podcasts.types.ck
|
|
79
|
+
* generated from [StationDirectoryQuery](../../../../../apps/api/data/contracts/podcasts/podcasts.types.ck)
|
|
80
80
|
*/
|
|
81
81
|
export interface StationDirectoryQuery {
|
|
82
82
|
/** Words to look a show up by: its name, its publisher, its subject */
|
|
@@ -84,7 +84,7 @@ export interface StationDirectoryQuery {
|
|
|
84
84
|
limit?: number;
|
|
85
85
|
}
|
|
86
86
|
/**
|
|
87
|
-
* generated from [StationEpisodeQuery](../../../../../apps/api/data/contracts/podcasts/podcasts.types.ck
|
|
87
|
+
* generated from [StationEpisodeQuery](../../../../../apps/api/data/contracts/podcasts/podcasts.types.ck)
|
|
88
88
|
*/
|
|
89
89
|
export interface StationEpisodeQuery {
|
|
90
90
|
/** One show's episodes, or absent for every show's, newest first */
|
|
@@ -92,20 +92,20 @@ export interface StationEpisodeQuery {
|
|
|
92
92
|
limit?: number;
|
|
93
93
|
}
|
|
94
94
|
/**
|
|
95
|
-
* generated from [StationShowList](../../../../../apps/api/data/contracts/podcasts/podcasts.types.ck
|
|
95
|
+
* generated from [StationShowList](../../../../../apps/api/data/contracts/podcasts/podcasts.types.ck)
|
|
96
96
|
*/
|
|
97
97
|
export interface StationShowList {
|
|
98
98
|
shows: StationShow[];
|
|
99
99
|
}
|
|
100
100
|
/**
|
|
101
|
-
* generated from [StationEpisodePage](../../../../../apps/api/data/contracts/podcasts/podcasts.types.ck
|
|
101
|
+
* generated from [StationEpisodePage](../../../../../apps/api/data/contracts/podcasts/podcasts.types.ck)
|
|
102
102
|
*/
|
|
103
103
|
export interface StationEpisodePage {
|
|
104
104
|
/** Newest first. Empty when the station knows of none, which is not an error */
|
|
105
105
|
episodes: StationEpisode[];
|
|
106
106
|
}
|
|
107
107
|
/**
|
|
108
|
-
* generated from [StationDirectoryPage](../../../../../apps/api/data/contracts/podcasts/podcasts.types.ck
|
|
108
|
+
* generated from [StationDirectoryPage](../../../../../apps/api/data/contracts/podcasts/podcasts.types.ck)
|
|
109
109
|
*/
|
|
110
110
|
export interface StationDirectoryPage {
|
|
111
111
|
/** Empty when nothing matched or no directory could be asked, which is not an error */
|
|
@@ -3,7 +3,7 @@ import { DateTime } from 'luxon';
|
|
|
3
3
|
* One person in a production: the presenter, or somebody cast to phone in. A snapshot rather than a
|
|
4
4
|
* reference, because the persona it names may be edited or deleted while the programme is still being
|
|
5
5
|
* made and what the turns were written as has to be what an operator reads back
|
|
6
|
-
* generated from [ProductionCastMember](../../../../../apps/api/data/contracts/productions/productions.types.ck
|
|
6
|
+
* generated from [ProductionCastMember](../../../../../apps/api/data/contracts/productions/productions.types.ck)
|
|
7
7
|
*/
|
|
8
8
|
export interface ProductionCastMember {
|
|
9
9
|
role: 'host' | 'caller' | 'guest' | 'cohost';
|
|
@@ -14,7 +14,7 @@ export interface ProductionCastMember {
|
|
|
14
14
|
}
|
|
15
15
|
/**
|
|
16
16
|
* What an operator asks for. Everything else about a production is decided by the passes that make it
|
|
17
|
-
* generated from [ProductionRequest](../../../../../apps/api/data/contracts/productions/productions.types.ck
|
|
17
|
+
* generated from [ProductionRequest](../../../../../apps/api/data/contracts/productions/productions.types.ck)
|
|
18
18
|
*/
|
|
19
19
|
export interface ProductionRequest {
|
|
20
20
|
kind?: string;
|
|
@@ -31,7 +31,7 @@ export interface ProductionRequest {
|
|
|
31
31
|
export declare function reviveProductionRequest(raw: ProductionRequest): ProductionRequest;
|
|
32
32
|
/**
|
|
33
33
|
* Something the station makes rather than something it says: several beats of speech, written in several passes, that airs as one block
|
|
34
|
-
* generated from [Production](../../../../../apps/api/data/contracts/productions/productions.types.ck
|
|
34
|
+
* generated from [Production](../../../../../apps/api/data/contracts/productions/productions.types.ck)
|
|
35
35
|
*/
|
|
36
36
|
export interface Production {
|
|
37
37
|
id: string;
|
|
@@ -77,7 +77,7 @@ export interface ProductionInput {
|
|
|
77
77
|
/** Rehydrates every wire-encoded scalar in a Production into its runtime type. Mutates and returns `raw`. */
|
|
78
78
|
export declare function reviveProduction(raw: Production): Production;
|
|
79
79
|
/**
|
|
80
|
-
* generated from [ProductionList](../../../../../apps/api/data/contracts/productions/productions.types.ck
|
|
80
|
+
* generated from [ProductionList](../../../../../apps/api/data/contracts/productions/productions.types.ck)
|
|
81
81
|
*/
|
|
82
82
|
export interface ProductionList {
|
|
83
83
|
productions: Production[];
|