@deadair/sdk 0.32.0 → 0.33.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.
@@ -19,6 +19,8 @@ export interface ScheduleSlot {
19
19
  sourceChartId?: string;
20
20
  /** Which way round that chart is played. Absent is `countdown`, which ends on number one. Ignored without `sourceChartId` */
21
21
  sourceChartOrder?: 'countdown' | 'ranked' | 'unordered';
22
+ /** A playlist the station owns to play instead, read from the station's own library when the block starts rather than from a provider. An ALTERNATIVE to the playlist pair, which it wins over, and to `sourceChartId`, which wins over it */
23
+ sourceStationPlaylistId?: string;
22
24
  /** Who hosts this stretch of the day. Absent means the station's own active persona */
23
25
  personaId?: string;
24
26
  /** What this stretch of the day is asked to play, in the operator's own words. The same ceiling `PutOnAirInput.brief` has, because a changeover builds one of those from this and the two boxes are one field set on the console */
@@ -50,6 +52,8 @@ export interface ScheduleSlotInput {
50
52
  sourceChartId?: string;
51
53
  /** Which way round that chart is played. Absent is `countdown`, which ends on number one. Ignored without `sourceChartId` */
52
54
  sourceChartOrder?: 'countdown' | 'ranked' | 'unordered';
55
+ /** A playlist the station owns to play instead, read from the station's own library when the block starts rather than from a provider. An ALTERNATIVE to the playlist pair, which it wins over, and to `sourceChartId`, which wins over it */
56
+ sourceStationPlaylistId?: string;
53
57
  /** Who hosts this stretch of the day. Absent means the station's own active persona */
54
58
  personaId?: string;
55
59
  /** What this stretch of the day is asked to play, in the operator's own words. The same ceiling `PutOnAirInput.brief` has, because a changeover builds one of those from this and the two boxes are one field set on the console */
@@ -67,7 +71,7 @@ export interface ScheduleSlotInput {
67
71
  }
68
72
  /**
69
73
  * A window of the station's day to draw
70
- * generated from [ScheduleTimetableQuery](../../../../../apps/api/data/contracts/schedule/schedule.types.ck#L33)
74
+ * generated from [ScheduleTimetableQuery](../../../../../apps/api/data/contracts/schedule/schedule.types.ck#L34)
71
75
  */
72
76
  export interface ScheduleTimetableQuery {
73
77
  /** The first day to draw, as `YYYY-MM-DD` on the station's own calendar. Absent means the station's today, which is the only way a caller that does not know the station's timezone can anchor */
@@ -77,7 +81,7 @@ export interface ScheduleTimetableQuery {
77
81
  }
78
82
  /**
79
83
  * One block: this slot, on this day, between these two times
80
- * generated from [ScheduleOccurrence](../../../../../apps/api/data/contracts/schedule/schedule.types.ck#L46)
84
+ * generated from [ScheduleOccurrence](../../../../../apps/api/data/contracts/schedule/schedule.types.ck#L47)
81
85
  */
82
86
  export interface ScheduleOccurrence {
83
87
  slotId: string;
@@ -88,7 +92,7 @@ export interface ScheduleOccurrence {
88
92
  end: string;
89
93
  }
90
94
  /**
91
- * generated from [ScheduleSlotList](../../../../../apps/api/data/contracts/schedule/schedule.types.ck#L28)
95
+ * generated from [ScheduleSlotList](../../../../../apps/api/data/contracts/schedule/schedule.types.ck#L29)
92
96
  */
93
97
  export interface ScheduleSlotList {
94
98
  slots: ScheduleSlot[];
@@ -98,7 +102,7 @@ export interface ScheduleSlotListInput {
98
102
  }
99
103
  /**
100
104
  * The station's day as blocks, ready to draw
101
- * generated from [ScheduleTimetable](../../../../../apps/api/data/contracts/schedule/schedule.types.ck#L39)
105
+ * generated from [ScheduleTimetable](../../../../../apps/api/data/contracts/schedule/schedule.types.ck#L40)
102
106
  */
103
107
  export interface ScheduleTimetable {
104
108
  /** The range actually drawn, echoed so a caller steps forward and back by adding days to a string rather than by knowing the station's timezone */
@@ -108,7 +112,7 @@ export interface ScheduleTimetable {
108
112
  }
109
113
  /**
110
114
  * Which slot the clock says should be on right now, and what follows it
111
- * generated from [ScheduleNow](../../../../../apps/api/data/contracts/schedule/schedule.types.ck#L54)
115
+ * generated from [ScheduleNow](../../../../../apps/api/data/contracts/schedule/schedule.types.ck#L55)
112
116
  */
113
117
  export interface ScheduleNow {
114
118
  /** What time it is on the station's own clock, in the same zone-naive `YYYY-MM-DD HH:mm:ss` shape as a block's ends. It is here so a caller can say how much of the block is left without knowing the station's timezone: subtracting two readings taken in one frame is arithmetic, deriving one is not */
@@ -1 +1 @@
1
- {"version":3,"file":"schedule.types.d.ts","sourceRoot":"","sources":["../../../src/schedule/types/schedule.types.ts"],"names":[],"mappings":"AAAA;;;GAGG;AACH,MAAM,WAAW,YAAY;IACzB,EAAE,EAAE,MAAM,CAAC;IACX,oFAAoF;IACpF,KAAK,EAAE,MAAM,CAAC;IACd,sEAAsE;IACtE,eAAe,EAAE,MAAM,CAAC;IACxB,2KAA2K;IAC3K,aAAa,EAAE,MAAM,CAAC;IACtB,yEAAyE;IACzE,IAAI,CAAC,EAAE,MAAM,EAAE,CAAC;IAChB,qGAAqG;IACrG,cAAc,CAAC,EAAE,MAAM,CAAC;IACxB,gBAAgB,CAAC,EAAE,MAAM,CAAC;IAC1B,6PAA6P;IAC7P,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB,6HAA6H;IAC7H,gBAAgB,CAAC,EAAE,WAAW,GAAG,QAAQ,GAAG,WAAW,CAAC;IACxD,uFAAuF;IACvF,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,oOAAoO;IACpO,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,4KAA4K;IAC5K,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,0GAA0G;IAC1G,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,gPAAgP;IAChP,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,0UAA0U;IAC1U,YAAY,CAAC,EAAE,OAAO,CAAC;IACvB,IAAI,EAAE,UAAU,GAAG,SAAS,GAAG,SAAS,CAAC;IACzC,KAAK,EAAE,QAAQ,GAAG,QAAQ,GAAG,MAAM,CAAC;CACvC;AAED,MAAM,WAAW,iBAAiB;IAC9B,oFAAoF;IACpF,KAAK,EAAE,MAAM,CAAC;IACd,sEAAsE;IACtE,eAAe,EAAE,MAAM,CAAC;IACxB,2KAA2K;IAC3K,aAAa,EAAE,MAAM,CAAC;IACtB,yEAAyE;IACzE,IAAI,CAAC,EAAE,MAAM,EAAE,CAAC;IAChB,qGAAqG;IACrG,cAAc,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AAE,kBAAkB,EAAE,CAAC;CACrC;AAED;;;GAGG;AACH,MAAM,WAAW,WAAW;IACxB,4SAA4S;IAC5S,GAAG,EAAE,MAAM,CAAC;IACZ,kFAAkF;IAClF,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,kKAAkK;IAClK,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,uQAAuQ;IACvQ,QAAQ,EAAE,kBAAkB,EAAE,CAAC;CAClC"}
1
+ {"version":3,"file":"schedule.types.d.ts","sourceRoot":"","sources":["../../../src/schedule/types/schedule.types.ts"],"names":[],"mappings":"AAAA;;;GAGG;AACH,MAAM,WAAW,YAAY;IACzB,EAAE,EAAE,MAAM,CAAC;IACX,oFAAoF;IACpF,KAAK,EAAE,MAAM,CAAC;IACd,sEAAsE;IACtE,eAAe,EAAE,MAAM,CAAC;IACxB,2KAA2K;IAC3K,aAAa,EAAE,MAAM,CAAC;IACtB,yEAAyE;IACzE,IAAI,CAAC,EAAE,MAAM,EAAE,CAAC;IAChB,qGAAqG;IACrG,cAAc,CAAC,EAAE,MAAM,CAAC;IACxB,gBAAgB,CAAC,EAAE,MAAM,CAAC;IAC1B,6PAA6P;IAC7P,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB,6HAA6H;IAC7H,gBAAgB,CAAC,EAAE,WAAW,GAAG,QAAQ,GAAG,WAAW,CAAC;IACxD,8OAA8O;IAC9O,uBAAuB,CAAC,EAAE,MAAM,CAAC;IACjC,uFAAuF;IACvF,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,oOAAoO;IACpO,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,4KAA4K;IAC5K,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,0GAA0G;IAC1G,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,gPAAgP;IAChP,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,0UAA0U;IAC1U,YAAY,CAAC,EAAE,OAAO,CAAC;IACvB,IAAI,EAAE,UAAU,GAAG,SA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M,CAAC;IACd,+LAA+L;IAC/L,KAAK,EAAE,MAAM,CAAC;IACd,4GAA4G;IAC5G,GAAG,EAAE,MAAM,CAAC;CACf;AAED;;GAEG;AACH,MAAM,WAAW,gBAAgB;IAC7B,KAAK,EAAE,YAAY,EAAE,CAAC;CACzB;AAED,MAAM,WAAW,qBAAqB;IAClC,KAAK,EAAE,iBAAiB,EAAE,CAAC;CAC9B;AAED;;;GAGG;AACH,MAAM,WAAW,iBAAiB;IAC9B,mJAAmJ;IACnJ,IAAI,EAAE,MAAM,CAAC;IACb,IAAI,EAAE,MAAM,CAAC;IACb,WAAW,EAAE,kBAAkB,EAAE,CAAC;CACrC;AAED;;;GAGG;AACH,MAAM,WAAW,WAAW;IACxB,4SAA4S;IAC5S,GAAG,EAAE,MAAM,CAAC;IACZ,kFAAkF;IAClF,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,kKAAkK;IAClK,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,uQAAuQ;IACvQ,QAAQ,EAAE,kBAAkB,EAAE,CAAC;CAClC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@deadair/sdk",
3
- "version": "0.32.0",
3
+ "version": "0.33.0",
4
4
  "description": "A typed client for the deadair station's HTTP API, generated from the same contracts the station serves.",
5
5
  "keywords": [
6
6
  "deadair",