@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
|
* Who the station is when it opens its mouth: the character a model writes in, the phrasings underneath it, the voice that says them, and what it plays
|
|
3
|
-
* generated from [Persona](../../../../../apps/api/data/contracts/personas/personas.types.ck
|
|
3
|
+
* generated from [Persona](../../../../../apps/api/data/contracts/personas/personas.types.ck)
|
|
4
4
|
*/
|
|
5
5
|
export interface Persona {
|
|
6
6
|
id: string;
|
|
@@ -107,7 +107,7 @@ export interface PersonaInput {
|
|
|
107
107
|
}
|
|
108
108
|
/**
|
|
109
109
|
* A description of a character, in the operator's own words
|
|
110
|
-
* generated from [PersonaRequest](../../../../../apps/api/data/contracts/personas/personas.types.ck
|
|
110
|
+
* generated from [PersonaRequest](../../../../../apps/api/data/contracts/personas/personas.types.ck)
|
|
111
111
|
*/
|
|
112
112
|
export interface PersonaRequest {
|
|
113
113
|
description: string;
|
|
@@ -116,7 +116,7 @@ export interface PersonaRequest {
|
|
|
116
116
|
* A persona as a form's contents rather than a row: no id and not on air, because nothing has been
|
|
117
117
|
* saved. The console opens this in the editor and the operator saves it through POST /personas, which
|
|
118
118
|
* is what keeps generating a way of filling in the form rather than a second writer of the table
|
|
119
|
-
* generated from [PersonaDraftView](../../../../../apps/api/data/contracts/personas/personas.types.ck
|
|
119
|
+
* generated from [PersonaDraftView](../../../../../apps/api/data/contracts/personas/personas.types.ck)
|
|
120
120
|
*/
|
|
121
121
|
export interface PersonaDraftView {
|
|
122
122
|
key: string;
|
|
@@ -146,7 +146,7 @@ export interface PersonaDraftView {
|
|
|
146
146
|
* different claims: `said` records something it actually put on air and carries the script as its
|
|
147
147
|
* evidence, so it is a record and goes straight into use; `trait` infers who the character is
|
|
148
148
|
* becoming, which nothing can verify, so a model's arrives `suggested` and the operator is the check
|
|
149
|
-
* generated from [PersonaNote](../../../../../apps/api/data/contracts/personas/personas.types.ck
|
|
149
|
+
* generated from [PersonaNote](../../../../../apps/api/data/contracts/personas/personas.types.ck)
|
|
150
150
|
*/
|
|
151
151
|
export interface PersonaNote {
|
|
152
152
|
id: string;
|
|
@@ -174,7 +174,7 @@ export interface PersonaNoteInput {
|
|
|
174
174
|
}
|
|
175
175
|
/**
|
|
176
176
|
* A note an operator is writing by hand. Always active and always theirs; a proposal is something only the distil pass creates
|
|
177
|
-
* generated from [PersonaNoteWrite](../../../../../apps/api/data/contracts/personas/personas.types.ck
|
|
177
|
+
* generated from [PersonaNoteWrite](../../../../../apps/api/data/contracts/personas/personas.types.ck)
|
|
178
178
|
*/
|
|
179
179
|
export interface PersonaNoteWrite {
|
|
180
180
|
kind: 'said' | 'trait';
|
|
@@ -182,14 +182,14 @@ export interface PersonaNoteWrite {
|
|
|
182
182
|
}
|
|
183
183
|
/**
|
|
184
184
|
* Accepting a proposal, turning one down, or taking a note out of use without losing it
|
|
185
|
-
* generated from [PersonaNoteState](../../../../../apps/api/data/contracts/personas/personas.types.ck
|
|
185
|
+
* generated from [PersonaNoteState](../../../../../apps/api/data/contracts/personas/personas.types.ck)
|
|
186
186
|
*/
|
|
187
187
|
export interface PersonaNoteState {
|
|
188
188
|
state: 'active' | 'suggested' | 'rejected';
|
|
189
189
|
}
|
|
190
190
|
/**
|
|
191
191
|
* One thing a story has picked up since it was written. A row rather than a rewrite, so an invented clause can be turned down without losing the story
|
|
192
|
-
* generated from [PersonaStoryDetail](../../../../../apps/api/data/contracts/personas/personas.types.ck
|
|
192
|
+
* generated from [PersonaStoryDetail](../../../../../apps/api/data/contracts/personas/personas.types.ck)
|
|
193
193
|
*/
|
|
194
194
|
export interface PersonaStoryDetail {
|
|
195
195
|
id: string;
|
|
@@ -204,7 +204,7 @@ export interface PersonaStoryDetailInput {
|
|
|
204
204
|
}
|
|
205
205
|
/**
|
|
206
206
|
* A story an operator is writing by hand. Always active and always theirs; a proposal is something only the enrichment pass creates
|
|
207
|
-
* generated from [PersonaStoryWrite](../../../../../apps/api/data/contracts/personas/personas.types.ck
|
|
207
|
+
* generated from [PersonaStoryWrite](../../../../../apps/api/data/contracts/personas/personas.types.ck)
|
|
208
208
|
*/
|
|
209
209
|
export interface PersonaStoryWrite {
|
|
210
210
|
title: string;
|
|
@@ -214,7 +214,7 @@ export interface PersonaStoryWrite {
|
|
|
214
214
|
}
|
|
215
215
|
/**
|
|
216
216
|
* One part of an arc, in the order it is told. A SCRIPT rather than a summary, because the floor speaks it as it stands
|
|
217
|
-
* generated from [PersonaStoryBeat](../../../../../apps/api/data/contracts/personas/personas.types.ck
|
|
217
|
+
* generated from [PersonaStoryBeat](../../../../../apps/api/data/contracts/personas/personas.types.ck)
|
|
218
218
|
*/
|
|
219
219
|
export interface PersonaStoryBeat {
|
|
220
220
|
id: string;
|
|
@@ -235,7 +235,7 @@ export interface PersonaStoryBeatInput {
|
|
|
235
235
|
}
|
|
236
236
|
/**
|
|
237
237
|
* A part to add to an arc, or an edit to one
|
|
238
|
-
* generated from [PersonaStoryBeatWrite](../../../../../apps/api/data/contracts/personas/personas.types.ck
|
|
238
|
+
* generated from [PersonaStoryBeatWrite](../../../../../apps/api/data/contracts/personas/personas.types.ck)
|
|
239
239
|
*/
|
|
240
240
|
export interface PersonaStoryBeatWrite {
|
|
241
241
|
ordinal: number;
|
|
@@ -243,21 +243,21 @@ export interface PersonaStoryBeatWrite {
|
|
|
243
243
|
}
|
|
244
244
|
/**
|
|
245
245
|
* One thing to add to a story that already exists
|
|
246
|
-
* generated from [PersonaStoryDetailWrite](../../../../../apps/api/data/contracts/personas/personas.types.ck
|
|
246
|
+
* generated from [PersonaStoryDetailWrite](../../../../../apps/api/data/contracts/personas/personas.types.ck)
|
|
247
247
|
*/
|
|
248
248
|
export interface PersonaStoryDetailWrite {
|
|
249
249
|
detail: string;
|
|
250
250
|
}
|
|
251
251
|
/**
|
|
252
252
|
* Accepting a proposal, turning one down, or taking a story out of the rotation without losing it
|
|
253
|
-
* generated from [PersonaStoryState](../../../../../apps/api/data/contracts/personas/personas.types.ck
|
|
253
|
+
* generated from [PersonaStoryState](../../../../../apps/api/data/contracts/personas/personas.types.ck)
|
|
254
254
|
*/
|
|
255
255
|
export interface PersonaStoryState {
|
|
256
256
|
state: 'active' | 'suggested' | 'rejected';
|
|
257
257
|
}
|
|
258
258
|
/**
|
|
259
259
|
* One part of an arc, as a file carries it. No `origin` and no `source`, for the story's own reason
|
|
260
|
-
* generated from [PersonaFileStoryBeat](../../../../../apps/api/data/contracts/personas/personas.types.ck
|
|
260
|
+
* generated from [PersonaFileStoryBeat](../../../../../apps/api/data/contracts/personas/personas.types.ck)
|
|
261
261
|
*/
|
|
262
262
|
export interface PersonaFileStoryBeat {
|
|
263
263
|
ordinal: number;
|
|
@@ -267,7 +267,7 @@ export interface PersonaFileStoryBeat {
|
|
|
267
267
|
}
|
|
268
268
|
/**
|
|
269
269
|
* One thing a story picked up after it was written, carried the same way and for the same reasons
|
|
270
|
-
* generated from [PersonaFileStoryDetail](../../../../../apps/api/data/contracts/personas/personas.types.ck
|
|
270
|
+
* generated from [PersonaFileStoryDetail](../../../../../apps/api/data/contracts/personas/personas.types.ck)
|
|
271
271
|
*/
|
|
272
272
|
export interface PersonaFileStoryDetail {
|
|
273
273
|
detail: string;
|
|
@@ -277,7 +277,7 @@ export interface PersonaFileStoryDetail {
|
|
|
277
277
|
* Something to know before pressing Import. Not a refusal: every one of these describes a state the
|
|
278
278
|
* station can be in perfectly well, and the point of saying it is that each one is otherwise
|
|
279
279
|
* discovered by putting the character on air
|
|
280
|
-
* generated from [PersonaImportNotice](../../../../../apps/api/data/contracts/personas/personas.types.ck
|
|
280
|
+
* generated from [PersonaImportNotice](../../../../../apps/api/data/contracts/personas/personas.types.ck)
|
|
281
281
|
*/
|
|
282
282
|
export interface PersonaImportNotice {
|
|
283
283
|
/** Which sort, so a console can group or ignore by it rather than parsing the sentence */
|
|
@@ -291,7 +291,7 @@ export interface PersonaImportNoticeInput {
|
|
|
291
291
|
* One writer's turn at a rehearsal. Every writer asked is reported and not only the one that won: a
|
|
292
292
|
* model that declined and a floor that covered for it are two facts, and the second on its own reads
|
|
293
293
|
* as a station that never had a model configured
|
|
294
|
-
* generated from [PersonaRehearsalAttempt](../../../../../apps/api/data/contracts/personas/personas.types.ck
|
|
294
|
+
* generated from [PersonaRehearsalAttempt](../../../../../apps/api/data/contracts/personas/personas.types.ck)
|
|
295
295
|
*/
|
|
296
296
|
export interface PersonaRehearsalAttempt {
|
|
297
297
|
/** Which binding was asked, as `segments.writer` would record it */
|
|
@@ -310,7 +310,7 @@ export interface PersonaRehearsalAttempt {
|
|
|
310
310
|
* source: a provider's playlist, a playlist the station owns, or a published chart. It is READ at the
|
|
311
311
|
* moment of asking and its records are stored on the run, so a list edited afterwards does not change
|
|
312
312
|
* what was measured
|
|
313
|
-
* generated from [PersonaAuditionRequest](../../../../../apps/api/data/contracts/personas/personas.types.ck
|
|
313
|
+
* generated from [PersonaAuditionRequest](../../../../../apps/api/data/contracts/personas/personas.types.ck)
|
|
314
314
|
*/
|
|
315
315
|
export interface PersonaAuditionRequest {
|
|
316
316
|
/** Which catalog plugin the playlist belongs to. Required alongside `playlistId` */
|
|
@@ -329,7 +329,7 @@ export interface PersonaAuditionRequest {
|
|
|
329
329
|
* Where the records came from: exactly one of the provider's pair, `stationPlaylistId` or `chartId`.
|
|
330
330
|
* A snapshot of the name rather than a reference, so a source renamed or deleted afterwards leaves a
|
|
331
331
|
* finished audition readable
|
|
332
|
-
* generated from [PersonaAuditionSource](../../../../../apps/api/data/contracts/personas/personas.types.ck
|
|
332
|
+
* generated from [PersonaAuditionSource](../../../../../apps/api/data/contracts/personas/personas.types.ck)
|
|
333
333
|
*/
|
|
334
334
|
export interface PersonaAuditionSource {
|
|
335
335
|
/** The plugin whose playlist it was. Present exactly when `playlistId` is */
|
|
@@ -343,7 +343,7 @@ export interface PersonaAuditionSource {
|
|
|
343
343
|
}
|
|
344
344
|
/**
|
|
345
345
|
* One record, exactly as the writers were shown it
|
|
346
|
-
* generated from [PersonaAuditionRecord](../../../../../apps/api/data/contracts/personas/personas.types.ck
|
|
346
|
+
* generated from [PersonaAuditionRecord](../../../../../apps/api/data/contracts/personas/personas.types.ck)
|
|
347
347
|
*/
|
|
348
348
|
export interface PersonaAuditionRecord {
|
|
349
349
|
title: string;
|
|
@@ -359,7 +359,7 @@ export interface PersonaAuditionRecord {
|
|
|
359
359
|
* One time a character actually told one of its own stories. What the timeline lists, and what a
|
|
360
360
|
* rollback is chosen from: the moment on each row is the exact string the station compares against,
|
|
361
361
|
* not a rounding of it
|
|
362
|
-
* generated from [PersonaTelling](../../../../../apps/api/data/contracts/personas/personas.types.ck
|
|
362
|
+
* generated from [PersonaTelling](../../../../../apps/api/data/contracts/personas/personas.types.ck)
|
|
363
363
|
*/
|
|
364
364
|
export interface PersonaTelling {
|
|
365
365
|
id: string;
|
|
@@ -386,7 +386,7 @@ export interface PersonaTellingInput {
|
|
|
386
386
|
/**
|
|
387
387
|
* What a rollback would undo, or did. Counted with the same predicates the delete uses, so a preview
|
|
388
388
|
* cannot promise one thing and do another
|
|
389
|
-
* generated from [PersonaMemoryChange](../../../../../apps/api/data/contracts/personas/personas.types.ck
|
|
389
|
+
* generated from [PersonaMemoryChange](../../../../../apps/api/data/contracts/personas/personas.types.ck)
|
|
390
390
|
*/
|
|
391
391
|
export interface PersonaMemoryChange {
|
|
392
392
|
/** Tellings forgotten. Every one, whatever wrote it: a telling is a record of something the station did rather than a claim somebody made */
|
|
@@ -404,7 +404,7 @@ export interface PersonaMemoryChange {
|
|
|
404
404
|
}
|
|
405
405
|
/**
|
|
406
406
|
* Undo what this character accumulated on its own
|
|
407
|
-
* generated from [PersonaMemoryRollback](../../../../../apps/api/data/contracts/personas/personas.types.ck
|
|
407
|
+
* generated from [PersonaMemoryRollback](../../../../../apps/api/data/contracts/personas/personas.types.ck)
|
|
408
408
|
*/
|
|
409
409
|
export interface PersonaMemoryRollback {
|
|
410
410
|
/** The moment to go back to, as a timeline row reports it. Absent means all of it, which is a reset */
|
|
@@ -413,7 +413,7 @@ export interface PersonaMemoryRollback {
|
|
|
413
413
|
relearn?: boolean;
|
|
414
414
|
}
|
|
415
415
|
/**
|
|
416
|
-
* generated from [PersonaList](../../../../../apps/api/data/contracts/personas/personas.types.ck
|
|
416
|
+
* generated from [PersonaList](../../../../../apps/api/data/contracts/personas/personas.types.ck)
|
|
417
417
|
*/
|
|
418
418
|
export interface PersonaList {
|
|
419
419
|
personas: Persona[];
|
|
@@ -423,7 +423,7 @@ export interface PersonaListInput {
|
|
|
423
423
|
}
|
|
424
424
|
/**
|
|
425
425
|
* One character's whole notebook, oldest first, in every state
|
|
426
|
-
* generated from [PersonaNoteList](../../../../../apps/api/data/contracts/personas/personas.types.ck
|
|
426
|
+
* generated from [PersonaNoteList](../../../../../apps/api/data/contracts/personas/personas.types.ck)
|
|
427
427
|
*/
|
|
428
428
|
export interface PersonaNoteList {
|
|
429
429
|
personaId: string;
|
|
@@ -435,7 +435,7 @@ export interface PersonaNoteListInput {
|
|
|
435
435
|
}
|
|
436
436
|
/**
|
|
437
437
|
* What a model wrote, and what had to be dropped to make it usable
|
|
438
|
-
* generated from [GeneratedPersona](../../../../../apps/api/data/contracts/personas/personas.types.ck
|
|
438
|
+
* generated from [GeneratedPersona](../../../../../apps/api/data/contracts/personas/personas.types.ck)
|
|
439
439
|
*/
|
|
440
440
|
export interface GeneratedPersona {
|
|
441
441
|
persona: PersonaDraftView;
|
|
@@ -451,7 +451,7 @@ export interface GeneratedPersona {
|
|
|
451
451
|
* checked as one: `source` says where a proposal came from, for the operator reading it, and nothing
|
|
452
452
|
* downstream reads it as evidence — see `persona.story.ts` for why that is the load-bearing difference
|
|
453
453
|
* from a fact
|
|
454
|
-
* generated from [PersonaStory](../../../../../apps/api/data/contracts/personas/personas.types.ck
|
|
454
|
+
* generated from [PersonaStory](../../../../../apps/api/data/contracts/personas/personas.types.ck)
|
|
455
455
|
*/
|
|
456
456
|
export interface PersonaStory {
|
|
457
457
|
id: string;
|
|
@@ -488,7 +488,7 @@ export interface PersonaStoryInput {
|
|
|
488
488
|
* unlike the stored row: whoever exported this stood behind every story in it, so on the far side
|
|
489
489
|
* they are the receiving operator's own, and a sentence about where a proposal came from names a
|
|
490
490
|
* catalogue that station does not have
|
|
491
|
-
* generated from [PersonaFileStory](../../../../../apps/api/data/contracts/personas/personas.types.ck
|
|
491
|
+
* generated from [PersonaFileStory](../../../../../apps/api/data/contracts/personas/personas.types.ck)
|
|
492
492
|
*/
|
|
493
493
|
export interface PersonaFileStory {
|
|
494
494
|
title: string;
|
|
@@ -503,7 +503,7 @@ export interface PersonaFileStory {
|
|
|
503
503
|
}
|
|
504
504
|
/**
|
|
505
505
|
* One character in a file, and what would become of it here
|
|
506
|
-
* generated from [PersonaImportEntry](../../../../../apps/api/data/contracts/personas/personas.types.ck
|
|
506
|
+
* generated from [PersonaImportEntry](../../../../../apps/api/data/contracts/personas/personas.types.ck)
|
|
507
507
|
*/
|
|
508
508
|
export interface PersonaImportEntry {
|
|
509
509
|
/** What identifies this character across two installs */
|
|
@@ -523,7 +523,7 @@ export interface PersonaImportEntryInput {
|
|
|
523
523
|
}
|
|
524
524
|
/**
|
|
525
525
|
* What a persona says when it is asked for a break it will never air
|
|
526
|
-
* generated from [PersonaRehearsal](../../../../../apps/api/data/contracts/personas/personas.types.ck
|
|
526
|
+
* generated from [PersonaRehearsal](../../../../../apps/api/data/contracts/personas/personas.types.ck)
|
|
527
527
|
*/
|
|
528
528
|
export interface PersonaRehearsal {
|
|
529
529
|
personaId: string;
|
|
@@ -541,7 +541,7 @@ export interface PersonaRehearsal {
|
|
|
541
541
|
}
|
|
542
542
|
/**
|
|
543
543
|
* A run of one character over one playlist, without its breaks: what a list draws
|
|
544
|
-
* generated from [PersonaAuditionSummary](../../../../../apps/api/data/contracts/personas/personas.types.ck
|
|
544
|
+
* generated from [PersonaAuditionSummary](../../../../../apps/api/data/contracts/personas/personas.types.ck)
|
|
545
545
|
*/
|
|
546
546
|
export interface PersonaAuditionSummary {
|
|
547
547
|
id: string;
|
|
@@ -568,7 +568,7 @@ export interface PersonaAuditionSummary {
|
|
|
568
568
|
* One transition, and everything the writers said about it. Every writer asked is reported and not
|
|
569
569
|
* only the one that won, on the rehearsal's own argument: a model that declined and a floor that
|
|
570
570
|
* covered for it are two facts
|
|
571
|
-
* generated from [PersonaAuditionBreak](../../../../../apps/api/data/contracts/personas/personas.types.ck
|
|
571
|
+
* generated from [PersonaAuditionBreak](../../../../../apps/api/data/contracts/personas/personas.types.ck)
|
|
572
572
|
*/
|
|
573
573
|
export interface PersonaAuditionBreak {
|
|
574
574
|
/** Which transition, from 0 */
|
|
@@ -589,7 +589,7 @@ export interface PersonaAuditionBreak {
|
|
|
589
589
|
}
|
|
590
590
|
/**
|
|
591
591
|
* What one character has told, newest first
|
|
592
|
-
* generated from [PersonaMemoryTimeline](../../../../../apps/api/data/contracts/personas/personas.types.ck
|
|
592
|
+
* generated from [PersonaMemoryTimeline](../../../../../apps/api/data/contracts/personas/personas.types.ck)
|
|
593
593
|
*/
|
|
594
594
|
export interface PersonaMemoryTimeline {
|
|
595
595
|
personaId: string;
|
|
@@ -601,7 +601,7 @@ export interface PersonaMemoryTimelineInput {
|
|
|
601
601
|
}
|
|
602
602
|
/**
|
|
603
603
|
* What was undone, and where the timeline stands now
|
|
604
|
-
* generated from [PersonaMemory](../../../../../apps/api/data/contracts/personas/personas.types.ck
|
|
604
|
+
* generated from [PersonaMemory](../../../../../apps/api/data/contracts/personas/personas.types.ck)
|
|
605
605
|
*/
|
|
606
606
|
export interface PersonaMemory {
|
|
607
607
|
personaId: string;
|
|
@@ -615,7 +615,7 @@ export interface PersonaMemoryInput {
|
|
|
615
615
|
}
|
|
616
616
|
/**
|
|
617
617
|
* Every story one character holds, oldest first, in every state
|
|
618
|
-
* generated from [PersonaStoryList](../../../../../apps/api/data/contracts/personas/personas.types.ck
|
|
618
|
+
* generated from [PersonaStoryList](../../../../../apps/api/data/contracts/personas/personas.types.ck)
|
|
619
619
|
*/
|
|
620
620
|
export interface PersonaStoryList {
|
|
621
621
|
personaId: string;
|
|
@@ -629,7 +629,7 @@ export interface PersonaStoryListInput {
|
|
|
629
629
|
* One character in a file. `PersonaDraftView` is the sheet with no id and not on air, which is
|
|
630
630
|
* exactly what travels, plus the two fields a model is deliberately not asked for and a real install
|
|
631
631
|
* always knows: what the character is FOR, and which rack it has to hand
|
|
632
|
-
* generated from [PersonaFilePersona](../../../../../apps/api/data/contracts/personas/personas.types.ck
|
|
632
|
+
* generated from [PersonaFilePersona](../../../../../apps/api/data/contracts/personas/personas.types.ck)
|
|
633
633
|
*/
|
|
634
634
|
export interface PersonaFilePersona extends Omit<PersonaDraftView, 'soundboard'> {
|
|
635
635
|
/** Absent means `host`, as everywhere else */
|
|
@@ -644,7 +644,7 @@ export interface PersonaFilePersona extends Omit<PersonaDraftView, 'soundboard'>
|
|
|
644
644
|
* The same code the import itself runs, so what this reports is what will happen rather than a second
|
|
645
645
|
* opinion about it. It answers two questions an operator cannot get from the file alone: which
|
|
646
646
|
* characters are new here and which would be rewritten, and what this station cannot honour about them
|
|
647
|
-
* generated from [PersonaImportPlan](../../../../../apps/api/data/contracts/personas/personas.types.ck
|
|
647
|
+
* generated from [PersonaImportPlan](../../../../../apps/api/data/contracts/personas/personas.types.ck)
|
|
648
648
|
*/
|
|
649
649
|
export interface PersonaImportPlan {
|
|
650
650
|
/** What the file said it was. Reported rather than enforced: this repo edits migrations in place, so a version stamp cannot promise a shape, and the shapes are what was actually validated */
|
|
@@ -660,14 +660,14 @@ export interface PersonaImportPlan {
|
|
|
660
660
|
export interface PersonaImportPlanInput {
|
|
661
661
|
}
|
|
662
662
|
/**
|
|
663
|
-
* generated from [PersonaAuditionList](../../../../../apps/api/data/contracts/personas/personas.types.ck
|
|
663
|
+
* generated from [PersonaAuditionList](../../../../../apps/api/data/contracts/personas/personas.types.ck)
|
|
664
664
|
*/
|
|
665
665
|
export interface PersonaAuditionList {
|
|
666
666
|
auditions: PersonaAuditionSummary[];
|
|
667
667
|
}
|
|
668
668
|
/**
|
|
669
669
|
* The same run with every break it has written so far, in order
|
|
670
|
-
* generated from [PersonaAudition](../../../../../apps/api/data/contracts/personas/personas.types.ck
|
|
670
|
+
* generated from [PersonaAudition](../../../../../apps/api/data/contracts/personas/personas.types.ck)
|
|
671
671
|
*/
|
|
672
672
|
export interface PersonaAudition extends PersonaAuditionSummary {
|
|
673
673
|
breaks: PersonaAuditionBreak[];
|
|
@@ -675,7 +675,7 @@ export interface PersonaAudition extends PersonaAuditionSummary {
|
|
|
675
675
|
/**
|
|
676
676
|
* A character as a file: everything somebody would have to send to put this presenter on another
|
|
677
677
|
* station, and nothing that belongs to the station it came from
|
|
678
|
-
* generated from [PersonaFile](../../../../../apps/api/data/contracts/personas/personas.types.ck
|
|
678
|
+
* generated from [PersonaFile](../../../../../apps/api/data/contracts/personas/personas.types.ck)
|
|
679
679
|
*/
|
|
680
680
|
export interface PersonaFile {
|
|
681
681
|
/** What shape this is, so a file from a later build says so rather than being read wrongly. The shapes below are what an import actually validates; this is for the human reading the failure */
|
|
@@ -692,7 +692,7 @@ export interface PersonaFile {
|
|
|
692
692
|
* All or nothing: a file whose import failed part-way leaves the station exactly as it was, on
|
|
693
693
|
* `PUT /settings`' own rule. The preview is what stands between an operator and a surprise, so a
|
|
694
694
|
* partial landing would be the one outcome nothing had described
|
|
695
|
-
* generated from [PersonaImportResult](../../../../../apps/api/data/contracts/personas/personas.types.ck
|
|
695
|
+
* generated from [PersonaImportResult](../../../../../apps/api/data/contracts/personas/personas.types.ck)
|
|
696
696
|
*/
|
|
697
697
|
export interface PersonaImportResult {
|
|
698
698
|
/** What it decided to do, notices and all, so the answer carries its own explanation */
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { DateTime } from 'luxon';
|
|
2
2
|
/**
|
|
3
3
|
* An action a source will permit on one playlist's items. Item-scoped: neither value covers the playlist's own name or description
|
|
4
|
-
* generated from [PlaylistPermission](../../../../../apps/api/data/contracts/playlists/playlists.types.ck
|
|
4
|
+
* generated from [PlaylistPermission](../../../../../apps/api/data/contracts/playlists/playlists.types.ck)
|
|
5
5
|
*/
|
|
6
6
|
export type PlaylistPermission = 'read' | 'edit';
|
|
7
7
|
/**
|
|
@@ -11,7 +11,7 @@ export type PlaylistPermission = 'read' | 'edit';
|
|
|
11
11
|
* listing of what a playlist holds, not of what the station has ingested. The three ids below are the
|
|
12
12
|
* station's own and are absent for anything it has never seen, which on most playlists is plenty of
|
|
13
13
|
* rows — a playlist is a provider's list and the library is what a sync has walked
|
|
14
|
-
* generated from [CatalogTrack](../../../../../apps/api/data/contracts/playlists/playlists.types.ck
|
|
14
|
+
* generated from [CatalogTrack](../../../../../apps/api/data/contracts/playlists/playlists.types.ck)
|
|
15
15
|
*/
|
|
16
16
|
export interface CatalogTrack {
|
|
17
17
|
/** The PROVIDER's id for this copy, which is what an import names it by. Never a `deadair.tracks` id */
|
|
@@ -32,7 +32,7 @@ export interface CatalogTrack {
|
|
|
32
32
|
}
|
|
33
33
|
/**
|
|
34
34
|
* One catalog-capable plugin that could not be listed
|
|
35
|
-
* generated from [CatalogSourceError](../../../../../apps/api/data/contracts/playlists/playlists.types.ck
|
|
35
|
+
* generated from [CatalogSourceError](../../../../../apps/api/data/contracts/playlists/playlists.types.ck)
|
|
36
36
|
*/
|
|
37
37
|
export interface CatalogSourceError {
|
|
38
38
|
pluginId: string;
|
|
@@ -41,7 +41,7 @@ export interface CatalogSourceError {
|
|
|
41
41
|
}
|
|
42
42
|
/**
|
|
43
43
|
* One music source whose playlists are in this answer, and how old its list is
|
|
44
|
-
* generated from [CatalogPlaylistSource](../../../../../apps/api/data/contracts/playlists/playlists.types.ck
|
|
44
|
+
* generated from [CatalogPlaylistSource](../../../../../apps/api/data/contracts/playlists/playlists.types.ck)
|
|
45
45
|
*/
|
|
46
46
|
export interface CatalogPlaylistSource {
|
|
47
47
|
pluginId: string;
|
|
@@ -53,7 +53,7 @@ export interface CatalogPlaylistSource {
|
|
|
53
53
|
export declare function reviveCatalogPlaylistSource(raw: CatalogPlaylistSource): CatalogPlaylistSource;
|
|
54
54
|
/**
|
|
55
55
|
* A playlist a catalog-capable plugin offers, tagged with the plugin it came from so an aggregated list is addressable
|
|
56
|
-
* generated from [CatalogPlaylist](../../../../../apps/api/data/contracts/playlists/playlists.types.ck
|
|
56
|
+
* generated from [CatalogPlaylist](../../../../../apps/api/data/contracts/playlists/playlists.types.ck)
|
|
57
57
|
*/
|
|
58
58
|
export interface CatalogPlaylist {
|
|
59
59
|
pluginId: string;
|
|
@@ -71,7 +71,7 @@ export interface CatalogPlaylist {
|
|
|
71
71
|
hidden?: boolean;
|
|
72
72
|
}
|
|
73
73
|
/**
|
|
74
|
-
* generated from [CatalogPlaylistTracks](../../../../../apps/api/data/contracts/playlists/playlists.types.ck
|
|
74
|
+
* generated from [CatalogPlaylistTracks](../../../../../apps/api/data/contracts/playlists/playlists.types.ck)
|
|
75
75
|
*/
|
|
76
76
|
export interface CatalogPlaylistTracks {
|
|
77
77
|
pluginId: string;
|
|
@@ -79,7 +79,7 @@ export interface CatalogPlaylistTracks {
|
|
|
79
79
|
tracks: CatalogTrack[];
|
|
80
80
|
}
|
|
81
81
|
/**
|
|
82
|
-
* generated from [CatalogPlaylistPage](../../../../../apps/api/data/contracts/playlists/playlists.types.ck
|
|
82
|
+
* generated from [CatalogPlaylistPage](../../../../../apps/api/data/contracts/playlists/playlists.types.ck)
|
|
83
83
|
*/
|
|
84
84
|
export interface CatalogPlaylistPage {
|
|
85
85
|
playlists: CatalogPlaylist[];
|
|
@@ -2,7 +2,7 @@ import { DateTime } from 'luxon';
|
|
|
2
2
|
/**
|
|
3
3
|
* A playlist the station owns: records it holds in its own library, in an order somebody chose, cloned
|
|
4
4
|
* from somewhere else and free to differ from it afterwards
|
|
5
|
-
* generated from [StationPlaylist](../../../../../apps/api/data/contracts/playlists/station.playlists.types.ck
|
|
5
|
+
* generated from [StationPlaylist](../../../../../apps/api/data/contracts/playlists/station.playlists.types.ck)
|
|
6
6
|
*/
|
|
7
7
|
export interface StationPlaylist {
|
|
8
8
|
id: string;
|
|
@@ -27,7 +27,7 @@ export interface StationPlaylistInput {
|
|
|
27
27
|
export declare function reviveStationPlaylist(raw: StationPlaylist): StationPlaylist;
|
|
28
28
|
/**
|
|
29
29
|
* One row of a station playlist: a record in the library, or a placeholder for one it does not hold yet
|
|
30
|
-
* generated from [StationPlaylistTrack](../../../../../apps/api/data/contracts/playlists/station.playlists.types.ck
|
|
30
|
+
* generated from [StationPlaylistTrack](../../../../../apps/api/data/contracts/playlists/station.playlists.types.ck)
|
|
31
31
|
*/
|
|
32
32
|
export interface StationPlaylistTrack {
|
|
33
33
|
/** The row's own id, not the record's */
|
|
@@ -47,7 +47,7 @@ export interface StationPlaylistTrack {
|
|
|
47
47
|
}
|
|
48
48
|
/**
|
|
49
49
|
* What may change about a station playlist after it exists. Absent fields are left alone
|
|
50
|
-
* generated from [StationPlaylistUpdate](../../../../../apps/api/data/contracts/playlists/station.playlists.types.ck
|
|
50
|
+
* generated from [StationPlaylistUpdate](../../../../../apps/api/data/contracts/playlists/station.playlists.types.ck)
|
|
51
51
|
*/
|
|
52
52
|
export interface StationPlaylistUpdate {
|
|
53
53
|
name?: string;
|
|
@@ -56,7 +56,7 @@ export interface StationPlaylistUpdate {
|
|
|
56
56
|
/**
|
|
57
57
|
* Where a record in a file came from, when it came from a provider's copy. Carried so a record the
|
|
58
58
|
* receiving library does not hold can still be matched by that copy later
|
|
59
|
-
* generated from [PlaylistFileOrigin](../../../../../apps/api/data/contracts/playlists/station.playlists.types.ck
|
|
59
|
+
* generated from [PlaylistFileOrigin](../../../../../apps/api/data/contracts/playlists/station.playlists.types.ck)
|
|
60
60
|
*/
|
|
61
61
|
export interface PlaylistFileOrigin {
|
|
62
62
|
pluginId: string;
|
|
@@ -64,7 +64,7 @@ export interface PlaylistFileOrigin {
|
|
|
64
64
|
}
|
|
65
65
|
/**
|
|
66
66
|
* A playlist one of the station's music sources holds, named the way the playlists listing names it
|
|
67
|
-
* generated from [PlaylistProviderRef](../../../../../apps/api/data/contracts/playlists/station.playlists.types.ck
|
|
67
|
+
* generated from [PlaylistProviderRef](../../../../../apps/api/data/contracts/playlists/station.playlists.types.ck)
|
|
68
68
|
*/
|
|
69
69
|
export interface PlaylistProviderRef {
|
|
70
70
|
pluginId: string;
|
|
@@ -72,7 +72,7 @@ export interface PlaylistProviderRef {
|
|
|
72
72
|
}
|
|
73
73
|
/**
|
|
74
74
|
* What importing one record would do here
|
|
75
|
-
* generated from [PlaylistImportEntry](../../../../../apps/api/data/contracts/playlists/station.playlists.types.ck
|
|
75
|
+
* generated from [PlaylistImportEntry](../../../../../apps/api/data/contracts/playlists/station.playlists.types.ck)
|
|
76
76
|
*/
|
|
77
77
|
export interface PlaylistImportEntry {
|
|
78
78
|
position: number;
|
|
@@ -84,7 +84,7 @@ export interface PlaylistImportEntry {
|
|
|
84
84
|
trackId?: string;
|
|
85
85
|
}
|
|
86
86
|
/**
|
|
87
|
-
* generated from [StationPlaylistList](../../../../../apps/api/data/contracts/playlists/station.playlists.types.ck
|
|
87
|
+
* generated from [StationPlaylistList](../../../../../apps/api/data/contracts/playlists/station.playlists.types.ck)
|
|
88
88
|
*/
|
|
89
89
|
export interface StationPlaylistList {
|
|
90
90
|
playlists: StationPlaylist[];
|
|
@@ -95,7 +95,7 @@ export interface StationPlaylistListInput {
|
|
|
95
95
|
/** Rehydrates every wire-encoded scalar in a StationPlaylistList into its runtime type. Mutates and returns `raw`. */
|
|
96
96
|
export declare function reviveStationPlaylistList(raw: StationPlaylistList): StationPlaylistList;
|
|
97
97
|
/**
|
|
98
|
-
* generated from [StationPlaylistDetail](../../../../../apps/api/data/contracts/playlists/station.playlists.types.ck
|
|
98
|
+
* generated from [StationPlaylistDetail](../../../../../apps/api/data/contracts/playlists/station.playlists.types.ck)
|
|
99
99
|
*/
|
|
100
100
|
export interface StationPlaylistDetail extends StationPlaylist {
|
|
101
101
|
tracks: StationPlaylistTrack[];
|
|
@@ -108,7 +108,7 @@ export declare function reviveStationPlaylistDetail(raw: StationPlaylistDetail):
|
|
|
108
108
|
/**
|
|
109
109
|
* One record as a playlist file names it. By its words and its ISRC, never by an id of this station's:
|
|
110
110
|
* ids are minted afresh by every library, so a file keyed by them would restore onto nothing
|
|
111
|
-
* generated from [PlaylistFileTrack](../../../../../apps/api/data/contracts/playlists/station.playlists.types.ck
|
|
111
|
+
* generated from [PlaylistFileTrack](../../../../../apps/api/data/contracts/playlists/station.playlists.types.ck)
|
|
112
112
|
*/
|
|
113
113
|
export interface PlaylistFileTrack {
|
|
114
114
|
title: string;
|
|
@@ -121,7 +121,7 @@ export interface PlaylistFileTrack {
|
|
|
121
121
|
}
|
|
122
122
|
/**
|
|
123
123
|
* What an import WOULD do, written nowhere
|
|
124
|
-
* generated from [PlaylistImportPlan](../../../../../apps/api/data/contracts/playlists/station.playlists.types.ck
|
|
124
|
+
* generated from [PlaylistImportPlan](../../../../../apps/api/data/contracts/playlists/station.playlists.types.ck)
|
|
125
125
|
*/
|
|
126
126
|
export interface PlaylistImportPlan {
|
|
127
127
|
name: string;
|
|
@@ -136,7 +136,7 @@ export interface PlaylistImportPlan {
|
|
|
136
136
|
}
|
|
137
137
|
/**
|
|
138
138
|
* A playlist as a file: everything somebody would need to rebuild it on another station
|
|
139
|
-
* generated from [PlaylistFile](../../../../../apps/api/data/contracts/playlists/station.playlists.types.ck
|
|
139
|
+
* generated from [PlaylistFile](../../../../../apps/api/data/contracts/playlists/station.playlists.types.ck)
|
|
140
140
|
*/
|
|
141
141
|
export interface PlaylistFile {
|
|
142
142
|
/** What shape this is, so a file from a later build says so rather than being read wrongly */
|
|
@@ -150,7 +150,7 @@ export interface PlaylistFile {
|
|
|
150
150
|
tracks: PlaylistFileTrack[];
|
|
151
151
|
}
|
|
152
152
|
/**
|
|
153
|
-
* generated from [PlaylistImportResult](../../../../../apps/api/data/contracts/playlists/station.playlists.types.ck
|
|
153
|
+
* generated from [PlaylistImportResult](../../../../../apps/api/data/contracts/playlists/station.playlists.types.ck)
|
|
154
154
|
*/
|
|
155
155
|
export interface PlaylistImportResult {
|
|
156
156
|
plan: PlaylistImportPlan;
|
|
@@ -164,7 +164,7 @@ export interface PlaylistImportResultInput {
|
|
|
164
164
|
export declare function revivePlaylistImportResult(raw: PlaylistImportResult): PlaylistImportResult;
|
|
165
165
|
/**
|
|
166
166
|
* Something to import a playlist from. Exactly one source
|
|
167
|
-
* generated from [PlaylistImportInput](../../../../../apps/api/data/contracts/playlists/station.playlists.types.ck
|
|
167
|
+
* generated from [PlaylistImportInput](../../../../../apps/api/data/contracts/playlists/station.playlists.types.ck)
|
|
168
168
|
*/
|
|
169
169
|
export interface PlaylistImportInput {
|
|
170
170
|
/** A playlist exported from a deadair station */
|