@deadair/sdk 0.89.6 → 0.90.1

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.
@@ -1,8 +1,49 @@
1
1
  import type { SdkFetch } from '../sdk-options.js';
2
+ import type { OccasionImportPlan, OccasionImportResult, OccasionInput, OccasionList, OccasionOrder, OccasionPack } from './types/occasions.types.js';
2
3
  import type { ScheduleNow, ScheduleSlotApplied, ScheduleSlotInput, ScheduleSlotList, ScheduleTimetable, ScheduleTimetableQuery, SlotPlaylistPosition } from './types/schedule.types.js';
3
4
  export declare class ScheduleClient {
4
5
  private fetch;
5
6
  constructor(fetch: SdkFetch);
7
+ /**
8
+ * @name List occasions
9
+ * @description Every occasion on this station, in the order a date is matched against them, each saying when it next falls
10
+ */
11
+ listOccasions(): Promise<OccasionList>;
12
+ /**
13
+ * @name Add an occasion
14
+ * @description Adds an occasion at the end of the list. Presenters hear of it from the next break written for its day
15
+ */
16
+ addAnOccasion(body: OccasionInput): Promise<OccasionList>;
17
+ /**
18
+ * @name Reorder occasions
19
+ * @description Puts the list in a new order, which decides who wins when two fall on one date
20
+ */
21
+ reorderOccasions(body: OccasionOrder): Promise<OccasionList>;
22
+ /**
23
+ * @name Export occasions
24
+ * @description Every occasion on this station as one file, to hand to another station
25
+ */
26
+ exportOccasions(): Promise<OccasionPack>;
27
+ /**
28
+ * @name Preview occasion import
29
+ * @description Reads a file and reports what importing it would add, skip and leave out. Writes nothing
30
+ */
31
+ previewOccasionImport(body: OccasionPack): Promise<OccasionImportPlan>;
32
+ /**
33
+ * @name Import occasions
34
+ * @description Adds what is new in a file to the end of the list, switched off. Changes nothing the station already has
35
+ */
36
+ importOccasions(body: OccasionPack): Promise<OccasionImportResult>;
37
+ /**
38
+ * @name Change an occasion
39
+ * @description Replaces an occasion, keeping its place in the list
40
+ */
41
+ changeAnOccasion(id: string, body: OccasionInput): Promise<OccasionList>;
42
+ /**
43
+ * @name Remove an occasion
44
+ * @description Removes an occasion
45
+ */
46
+ removeAnOccasion(id: string): Promise<OccasionList>;
6
47
  /**
7
48
  * @name List schedule
8
49
  * @description Every slot in this station's schedule, earliest in the day first
@@ -1 +1 @@
1
- {"version":3,"file":"schedule.client.d.ts","sourceRoot":"","sources":["../../src/schedule/schedule.client.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,mBAAmB,CAAC;AAElD,OAAO,KAAK,EACR,WAAW,EACX,mBAAmB,EACnB,iBAAiB,EACjB,gBAAgB,EAChB,iBAAiB,EACjB,sBAAsB,EACtB,oBAAoB,EACvB,MAAM,2BAA2B,CAAC;AAEnC,qBAAa,cAAc;IACX,OAAO,CAAC,KAAK;gBAAL,KAAK,EAAE,QAAQ;IAEnC;;;OAGG;IACG,YAAY,IAAI,OAAO,CAAC,gBAAgB,CAAC;IAK/C;;;OAGG;IACG,kBAAkB,CAAC,IAAI,EAAE,iBAAiB,GAAG,OAAO,CAAC,gBAAgB,CAAC;IAS5E;;;OAGG;IACG,eAAe,IAAI,OAAO,CAAC,WAAW,CAAC;IAK7C;;;OAGG;IACG,aAAa,CAAC,KAAK,CAAC,EAAE,sBAAsB,GAAG,OAAO,CAAC,iBAAiB,CAAC;IAQ/E;;;OAGG;IACG,kBAAkB,CAAC,EAAE,EAAE,MAAM,EAAE,IAAI,EAAE,iBAAiB,GAAG,OAAO,CAAC,gBAAgB,CAAC;IASxF;;;OAGG;IACG,kBAAkB,CAAC,EAAE,EAAE,MAAM,GAAG,OAAO,CAAC,gBAAgB,CAAC;IAK/D;;;OAGG;IACG,sBAAsB,CAAC,EAAE,EAAE,MAAM,GAAG,OAAO,CAAC,mBAAmB,CAAC;IAKtE;;;OAGG;IACG,wBAAwB,CAAC,EAAE,EAAE,MAAM,GAAG,OAAO,CAAC,oBAAoB,CAAC;IAKzE;;;OAGG;IACG,mBAAmB,CAAC,EAAE,EAAE,MAAM,GAAG,OAAO,CAAC,IAAI,CAAC;CAGvD"}
1
+ {"version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AgB,CAAC;IAS5E;;;OAGG;IACG,eAAe,IAAI,OAAO,CAAC,WAAW,CAAC;IAK7C;;;OAGG;IACG,aAAa,CAAC,KAAK,CAAC,EAAE,sBAAsB,GAAG,OAAO,CAAC,iBAAiB,CAAC;IAQ/E;;;OAGG;IACG,kBAAkB,CAAC,EAAE,EAAE,MAAM,EAAE,IAAI,EAAE,iBAAiB,GAAG,OAAO,CAAC,gBAAgB,CAAC;IASxF;;;OAGG;IACG,kBAAkB,CAAC,EAAE,EAAE,MAAM,GAAG,OAAO,CAAC,gBAAgB,CAAC;IAK/D;;;OAGG;IACG,sBAAsB,CAAC,EAAE,EAAE,MAAM,GAAG,OAAO,CAAC,mBAAmB,CAAC;IAKtE;;;OAGG;IACG,wBAAwB,CAAC,EAAE,EAAE,MAAM,GAAG,OAAO,CAAC,oBAAoB,CAAC;IAKzE;;;OAGG;IACG,mBAAmB,CAAC,EAAE,EAAE,MAAM,GAAG,OAAO,CAAC,IAAI,CAAC;CAGvD"}
@@ -1,2 +1,3 @@
1
+ export * from './occasions.types.js';
1
2
  export * from './schedule.types.js';
2
3
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/schedule/types/index.ts"],"names":[],"mappings":"AACA,cAAc,qBAAqB,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/schedule/types/index.ts"],"names":[],"mappings":"AACA,cAAc,sBAAsB,CAAC;AACrC,cAAc,qBAAqB,CAAC"}
@@ -0,0 +1,163 @@
1
+ /**
2
+ * What a date means where this station is: a name the presenters can say, and a mood to lean into on a
3
+ * day the show on air names none. `ruleKind` says when it falls, and which of the fields beside it count
4
+ * generated from [Occasion](../../../../../apps/api/data/contracts/schedule/occasions.types.ck)
5
+ */
6
+ export interface Occasion {
7
+ id: string;
8
+ /** Said on air as written: `Halloween`, `the first day of Hanukkah` */
9
+ words: string;
10
+ /** `fixed` is the same date every year, from `month` and `day`. `weekday` is the nth of a weekday in a month, from `month`, `ordinal` and `weekday`. `easter` is a number of days from Western Easter Sunday, from `offsetDays`. `calendar` is a date in the Hebrew or Islamic calendar, from `calendar`, `calendarMonth` and `day`. `dates` is the dates themselves, from `dates`, for what no rule can work out */
11
+ ruleKind: 'fixed' | 'weekday' | 'easter' | 'calendar' | 'dates';
12
+ month?: number;
13
+ /** The day of the month, in the rule's own calendar */
14
+ day?: number;
15
+ /** Which of that weekday in the month: 1 to 5, or -1 for the last. The fourth Thursday of November is `4` */
16
+ ordinal?: number;
17
+ /** 0 is Sunday */
18
+ weekday?: number;
19
+ /** Days from Easter Sunday: 0 is the day itself and -2 is Good Friday */
20
+ offsetDays?: number;
21
+ /** `islamic-umalqura` is calculated, so a community going by the sighted moon may keep the day a day either side of it */
22
+ calendar?: 'hebrew' | 'islamic-umalqura';
23
+ /** The month in that calendar, as `calendars` lists it */
24
+ calendarMonth?: string;
25
+ /** As `YYYY-MM-DD`. These run out, so a list needs refreshing */
26
+ dates?: string[];
27
+ /** What this day leans into, when the show on air names no mood of its own. Records a model has judged to be in it are a little more likely to be picked, and nothing is ever kept off the air for it. Absent leans nothing */
28
+ mood?: 'love' | 'happiness' | 'comfort' | 'sadness' | 'loneliness' | 'anger' | 'fear';
29
+ /** Whether the station knows about it. Off, it is never said and never leans anything */
30
+ enabled: boolean;
31
+ /** Where it comes in the list. When two fall on one date the first wins */
32
+ position: number;
33
+ /** When it next falls, as `YYYY-MM-DD` on the station's calendar, counting today. Absent when it does not fall again, as a list of dates that has run out */
34
+ nextDate?: string;
35
+ }
36
+ export interface OccasionInput {
37
+ /** Said on air as written: `Halloween`, `the first day of Hanukkah` */
38
+ words: string;
39
+ /** `fixed` is the same date every year, from `month` and `day`. `weekday` is the nth of a weekday in a month, from `month`, `ordinal` and `weekday`. `easter` is a number of days from Western Easter Sunday, from `offsetDays`. `calendar` is a date in the Hebrew or Islamic calendar, from `calendar`, `calendarMonth` and `day`. `dates` is the dates themselves, from `dates`, for what no rule can work out */
40
+ ruleKind: 'fixed' | 'weekday' | 'easter' | 'calendar' | 'dates';
41
+ month?: number;
42
+ /** The day of the month, in the rule's own calendar */
43
+ day?: number;
44
+ /** Which of that weekday in the month: 1 to 5, or -1 for the last. The fourth Thursday of November is `4` */
45
+ ordinal?: number;
46
+ /** 0 is Sunday */
47
+ weekday?: number;
48
+ /** Days from Easter Sunday: 0 is the day itself and -2 is Good Friday */
49
+ offsetDays?: number;
50
+ /** `islamic-umalqura` is calculated, so a community going by the sighted moon may keep the day a day either side of it */
51
+ calendar?: 'hebrew' | 'islamic-umalqura';
52
+ /** The month in that calendar, as `calendars` lists it */
53
+ calendarMonth?: string;
54
+ /** As `YYYY-MM-DD`. These run out, so a list needs refreshing */
55
+ dates?: string[];
56
+ /** What this day leans into, when the show on air names no mood of its own. Records a model has judged to be in it are a little more likely to be picked, and nothing is ever kept off the air for it. Absent leans nothing */
57
+ mood?: 'love' | 'happiness' | 'comfort' | 'sadness' | 'loneliness' | 'anger' | 'fear';
58
+ /** Whether the station knows about it. Off, it is never said and never leans anything */
59
+ enabled: boolean;
60
+ }
61
+ /**
62
+ * The months of a calendar an occasion can be set in, in the order they come
63
+ * generated from [OccasionCalendarMonths](../../../../../apps/api/data/contracts/schedule/occasions.types.ck)
64
+ */
65
+ export interface OccasionCalendarMonths {
66
+ calendar: 'hebrew' | 'islamic-umalqura';
67
+ months: string[];
68
+ }
69
+ /**
70
+ * A new order for the list
71
+ * generated from [OccasionOrder](../../../../../apps/api/data/contracts/schedule/occasions.types.ck)
72
+ */
73
+ export interface OccasionOrder {
74
+ /** Occasions in the order they should be matched. Any left out stay behind these, in their current order */
75
+ ids: string[];
76
+ }
77
+ /**
78
+ * One occasion in a file: what it says, when it falls and what it leans into, and nothing that belongs
79
+ * to the station it came from
80
+ * generated from [OccasionPackRow](../../../../../apps/api/data/contracts/schedule/occasions.types.ck)
81
+ */
82
+ export interface OccasionPackRow {
83
+ /** Said on air as written */
84
+ words: string;
85
+ /** When it falls, and which of the fields beside it count, as on an occasion */
86
+ ruleKind: 'fixed' | 'weekday' | 'easter' | 'calendar' | 'dates';
87
+ month?: number;
88
+ day?: number;
89
+ ordinal?: number;
90
+ weekday?: number;
91
+ offsetDays?: number;
92
+ calendar?: 'hebrew' | 'islamic-umalqura';
93
+ calendarMonth?: string;
94
+ dates?: string[];
95
+ mood?: 'love' | 'happiness' | 'comfort' | 'sadness' | 'loneliness' | 'anger' | 'fear';
96
+ }
97
+ /**
98
+ * A set of occasions as one file, to hand to another station. Each entry is read as an `OccasionPackRow`
99
+ * when it is imported, so one a station cannot use is reported rather than refusing the file
100
+ * generated from [OccasionPack](../../../../../apps/api/data/contracts/schedule/occasions.types.ck)
101
+ */
102
+ export interface OccasionPack {
103
+ /** Says the file is an occasion pack */
104
+ format: 'deadair.occasions';
105
+ /** The version of the document's shape. This station reads version 1 */
106
+ version: number;
107
+ /** What the pack is, as whoever made it would describe it: `Canadian holidays` */
108
+ name: string;
109
+ occasions: Record<string, unknown>[];
110
+ }
111
+ /**
112
+ * An entry in a file that importing it would leave out, and why
113
+ * generated from [OccasionPackDropped](../../../../../apps/api/data/contracts/schedule/occasions.types.ck)
114
+ */
115
+ export interface OccasionPackDropped {
116
+ /** Which entry in the file, counting from 1 */
117
+ entry: number;
118
+ /** What it says, when it says */
119
+ words?: string;
120
+ /** Why the station cannot use it */
121
+ reason: string;
122
+ }
123
+ export interface OccasionPackDroppedInput {
124
+ }
125
+ /**
126
+ * Every occasion on the station, in the order a date is matched against them
127
+ * generated from [OccasionList](../../../../../apps/api/data/contracts/schedule/occasions.types.ck)
128
+ */
129
+ export interface OccasionList {
130
+ occasions: Occasion[];
131
+ calendars: OccasionCalendarMonths[];
132
+ }
133
+ export interface OccasionListInput {
134
+ occasions: OccasionInput[];
135
+ calendars: OccasionCalendarMonths[];
136
+ }
137
+ /**
138
+ * What importing a file would do. Everything it adds starts switched off
139
+ * generated from [OccasionImportPlan](../../../../../apps/api/data/contracts/schedule/occasions.types.ck)
140
+ */
141
+ export interface OccasionImportPlan {
142
+ /** What the file says it is */
143
+ name: string;
144
+ /** The occasions it would add, by their words */
145
+ adding: string[];
146
+ /** The ones this station already has, with the same words and the same rule, which it would leave alone */
147
+ skipped: string[];
148
+ /** The ones it cannot use */
149
+ dropped: OccasionPackDropped[];
150
+ }
151
+ export interface OccasionImportPlanInput {
152
+ }
153
+ /**
154
+ * What an import did, and the list as it now stands
155
+ * generated from [OccasionImportResult](../../../../../apps/api/data/contracts/schedule/occasions.types.ck)
156
+ */
157
+ export interface OccasionImportResult {
158
+ plan: OccasionImportPlan;
159
+ list: OccasionList;
160
+ }
161
+ export interface OccasionImportResultInput {
162
+ }
163
+ //# sourceMappingURL=occasions.types.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"occasions.types.d.ts","sourceRoot":"","sources":["../../../src/schedule/types/occasions.types.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AACH,MAAM,WAAW,QAAQ;IACrB,EAAE,EAAE,MAAM,CAAC;IACX,uEAAuE;IACvE,KAAK,EAAE,MAAM,CAAC;IACd,qZAAqZ;IACrZ,QAAQ,EAAE,OAAO,GAAG,SAAS,GAAG,QAAQ,GAAG,UAAU,GAAG,OAAO,CAAC;IAChE,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,uDAAuD;IACvD,GAAG,CAAC,EAAE,MAAM,CAAC;IACb,6GAA6G;IAC7G,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,kBAAkB;IAClB,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,yEAAyE;IACzE,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,0HAA0H;IAC1H,QAAQ,CAAC,EAAE,QAAQ,GAAG,kBAAkB,CAAC;IACzC,0DAA0D;IAC1D,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB,iEAAiE;IACjE,KAAK,CAAC,EAAE,MAAM,EAAE,CAAC;IACjB,+NAA+N;IAC/N,IAAI,CAAC,EAAE,M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S,EAAE,sBAAsB,EAAE,CAAC;CACvC;AAED;;;GAGG;AACH,MAAM,WAAW,kBAAkB;IAC/B,+BAA+B;IAC/B,IAAI,EAAE,MAAM,CAAC;IACb,iDAAiD;IACjD,MAAM,EAAE,MAAM,EAAE,CAAC;IACjB,2GAA2G;IAC3G,OAAO,EAAE,MAAM,EAAE,CAAC;IAClB,6BAA6B;IAC7B,OAAO,EAAE,mBAAmB,EAAE,CAAC;CAClC;AAED,MAAM,WAAW,uBAAuB;CAAG;AAE3C;;;GAGG;AACH,MAAM,WAAW,oBAAoB;IACjC,IAAI,EAAE,kBAAkB,CAAC;IACzB,IAAI,EAAE,YAAY,CAAC;CACtB;AAED,MAAM,WAAW,yBAAyB;CAAG"}
@@ -26,6 +26,29 @@ export interface SlotCoHost {
26
26
  /** With `everyN`, the fewest days between two of their nights. Absent is half of `everyN` */
27
27
  cooldownDays?: number;
28
28
  }
29
+ /**
30
+ * Which day a special comes round on. `ruleKind` says how, and which of the fields beside it count
31
+ * generated from [SpecialRecurrence](../../../../../apps/api/data/contracts/schedule/schedule.types.ck)
32
+ */
33
+ export interface SpecialRecurrence {
34
+ /** `fixed` is the same date every year, from `month` and `day`. `weekday` is the nth of a weekday in a month, from `month`, `ordinal` and `weekday`. `easter` is so many days from Western Easter Sunday, from `offsetDays`. `calendar` is a date in another calendar, from `calendar`, `calendarMonth` and `day`. `dates` is a list of dates, for what none of those can work out */
35
+ ruleKind: 'fixed' | 'weekday' | 'easter' | 'calendar' | 'dates';
36
+ month?: number;
37
+ /** The day of the month, in the rule's own calendar */
38
+ day?: number;
39
+ /** Which of that weekday in the month: 1 to 5, or -1 for the last. The fourth Thursday of November is `4` */
40
+ ordinal?: number;
41
+ /** 0 is Sunday */
42
+ weekday?: number;
43
+ /** Days from Easter Sunday: 0 is the day itself and -2 is Good Friday */
44
+ offsetDays?: number;
45
+ /** `islamic-umalqura` is calculated, so a community going by the sighted moon may keep the day a day either side of it */
46
+ calendar?: 'hebrew' | 'islamic-umalqura';
47
+ /** The month in that calendar, as `GET /schedule/occasions` lists them */
48
+ calendarMonth?: string;
49
+ /** As `YYYY-MM-DD`. These run out, so a list needs refreshing */
50
+ dates?: string[];
51
+ }
29
52
  /**
30
53
  * A window of the station's day to draw
31
54
  * generated from [ScheduleTimetableQuery](../../../../../apps/api/data/contracts/schedule/schedule.types.ck)
@@ -126,6 +149,10 @@ export interface ScheduleSlot {
126
149
  startsOn?: string;
127
150
  /** The last date it runs on, inclusive. `days` still applies in between, so the Fridays in December are a range and a mask */
128
151
  endsOn?: string;
152
+ /** The rule that says which day this slot runs on, which makes it a SPECIAL that comes round by itself, in place of `startsOn` and `endsOn`. It runs for its hours on each day the rule falls on the station's calendar, and takes over from the weekly schedule as any special does. Sent with no `days`, since the rule says which day. Rewriting a slot that has a rule without naming its dates or a rule keeps the rule */
153
+ recurrence?: SpecialRecurrence;
154
+ /** When a slot with a `recurrence` next runs, as `YYYY-MM-DD` on the station's calendar, counting today. Absent on any other slot, and when a list of dates has run out */
155
+ nextDate?: string;
129
156
  /** Who presents beside the slot's host, in order: every night, on fixed nights, or as a visitor who turns up at random. At most three are on any one night; a visitor who wins a night that is already full sits it out */
130
157
  coHosts?: SlotCoHost[];
131
158
  /** Hosts who sit in for this slot's own host on some nights, in precedence order: the first whose night it is takes it. A guest on fixed nights wins over one at random. Absent or empty is a slot its own host presents every time */
@@ -195,6 +222,8 @@ export interface ScheduleSlotInput {
195
222
  startsOn?: string;
196
223
  /** The last date it runs on, inclusive. `days` still applies in between, so the Fridays in December are a range and a mask */
197
224
  endsOn?: string;
225
+ /** The rule that says which day this slot runs on, which makes it a SPECIAL that comes round by itself, in place of `startsOn` and `endsOn`. It runs for its hours on each day the rule falls on the station's calendar, and takes over from the weekly schedule as any special does. Sent with no `days`, since the rule says which day. Rewriting a slot that has a rule without naming its dates or a rule keeps the rule */
226
+ recurrence?: SpecialRecurrence;
198
227
  /** Who presents beside the slot's host, in order: every night, on fixed nights, or as a visitor who turns up at random. At most three are on any one night; a visitor who wins a night that is already full sits it out */
199
228
  coHosts?: SlotCoHost[];
200
229
  /** Hosts who sit in for this slot's own host on some nights, in precedence order: the first whose night it is takes it. A guest on fixed nights wins over one at random. Absent or empty is a slot its own host presents every time */
@@ -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,aAAa;IAC1B,qFAAqF;IACrF,SAAS,EAAE,MAAM,CAAC;IAClB,6GAA6G;IAC7G,IAAI,CAAC,EAAE,MAAM,EAAE,CAAC;IAChB,wHAAwH;IACxH,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,kJAAkJ;IAClJ,YAAY,CAAC,EAAE,MAAM,CAAC;CACzB;AAED;;;GAGG;AACH,MAAM,WAAW,UAAU;IACvB,yFAAyF;IACzF,SAAS,EAAE,MAAM,CAAC;IAClB,wJAAwJ;IACxJ,IAAI,CAAC,EAAE,MAAM,EAAE,CAAC;IAChB,kGAAkG;IAClG,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,6FAA6F;IAC7F,YAAY,CAAC,EAAE,MAAM,CAAC;CACzB;AAED;;;GAGG;AACH,MAAM,WAAW,sBAAsB;IACnC,kMAAkM;IAClM,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,oDAAoD;IACpD,IAAI,CAAC,EAAE,MAAM,CAAC;CACjB;AAED;;;GAGG;AACH,MAAM,WAAW,kBAAkB;IAC/B,MAAM,EAAE,MAAM,CAAC;IACf,KAAK,EAAE,MAAM,CAAC;IACd,+LAA+L;IAC/L,KAAK,EAAE,MAAM,CAAC;IACd,4GAA4G;IAC5G,GAAG,EAAE,MAAM,CAAC;IACZ,8HAA8H;IAC9H,IAAI,CAAC,EAAE,OAAO,CAAC;CAClB;AAED;;;;GAIG;AACH,MAAM,MAAM,gBAAgB,GAAG,MAAM,GAAG,OAAO,GAAG,KAAK,GAAG,OAAO,GAAG,Y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CAAC;IACtB,uQAAuQ;IACvQ,QAAQ,EAAE,kBAAkB,EAAE,CAAC;CAClC;AAED;;;GAGG;AACH,MAAM,WAAW,mBAAmB;IAChC,4FAA4F;IAC5F,OAAO,EAAE,gBAAgB,EAAE,CAAC;IAC5B,4NAA4N;IAC5N,OAAO,EAAE,gBAAgB,EAAE,CAAC;IAC5B,qMAAqM;IACrM,UAAU,EAAE,OAAO,CAAC;CACvB;AAED;;GAEG;AACH,MAAM,WAAW,gBAAgB;IAC7B,KAAK,EAAE,YAAY,EAAE,CAAC;CACzB;AAED,MAAM,WAAW,qBAAqB;IAClC,KAAK,EAAE,iBAAiB,EAAE,CAAC;CAC9B"}
1
+ {"version":3,"file":"schedule.types.d.ts","sourceRoot":"","sources":["../../../src/schedule/types/schedule.types.ts"],"names":[],"mappings":"AAAA;;;GAGG;AACH,MAAM,WAAW,aAAa;IAC1B,qFAAqF;IACrF,SAAS,EAAE,MAAM,CAAC;IAClB,6GAA6G;IAC7G,IAAI,CAAC,EAAE,MAAM,EAAE,CAAC;IAChB,wHAAwH;IACxH,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,kJAAkJ;IAClJ,YAAY,CAAC,EAAE,MAAM,CAAC;CACzB;AAED;;;GAGG;AACH,MAAM,WAAW,UAAU;IACvB,yFAAyF;IACzF,SAAS,EAAE,MAAM,CAAC;IAClB,wJAAwJ;IACxJ,IAAI,CAAC,EAAE,MAAM,EAAE,CAAC;IAChB,kGAAkG;IAClG,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,6FAA6F;IAC7F,YAAY,CAAC,EAAE,MAAM,CAAC;CACzB;AAED;;;GAGG;AACH,MAAM,WAAW,iBAAiB;IAC9B,sXAAsX;IACtX,QAAQ,EAAE,OAAO,GAAG,SAAS,GAAG,QAAQ,GAAG,UAAU,GAAG,OAAO,CAAC;IAChE,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,uDAAuD;IACvD,GAAG,CAAC,EAAE,MAAM,CAAC;IACb,6G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ACvB;AAED;;GAEG;AACH,MAAM,WAAW,gBAAgB;IAC7B,KAAK,EAAE,YAAY,EAAE,CAAC;CACzB;AAED,MAAM,WAAW,qBAAqB;IAClC,KAAK,EAAE,iBAAiB,EAAE,CAAC;CAC9B"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@deadair/sdk",
3
- "version": "0.89.6",
3
+ "version": "0.90.1",
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",