You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit cb6777a
Browse filesBrowse the repository at this point in the historyBrowse files
Copy file name to clipboardExpand all lines: src/_generated/schema.ts
+46-8Lines changed: 46 additions & 8 deletions
Original file line number
Diff line number
Diff line change
@@ -125,7 +125,7 @@ export interface paths {
125
125
*
126
126
* - Outside the park's published hours, an OPERATING status counts as `unknownMinutes`, not `operatingMinutes`, after 4 hours or more unconfirmed. On a day with published hours, only a status change confirms it; a status carried over midnight is unconfirmed. On other days, any change but `showtimes` confirms it, across midnight.
127
127
* - A wait counts only while the entity is OPERATING and on the day it was posted. The wait showing when a ride opens counts if it last changed within 24 hours.
128
-
* - `extremeWaits` counts readings of 480 minutes or more, usually feed errors. Nothing is left out: those readings stay in the statistics, and `extremeWaits` flags them.
128
+
* - `extremeWaits` counts readings of 480 minutes or more. `implausibleWaits` counts readings above the destination's plausibility ceiling (600 minutes or lower, see the history notes), which are left out of the statistics; the rest stay in. Wait values above 1440 minutes (24 hours) are feed errors and are omitted.
129
129
* - `firstOperatingAt` is null when the entity did not change to OPERATING that day; it may still have operated, carried over from the day before.
130
130
* - `lastClosedAt` is when the last run that started that day closed, which can be after midnight. The next day's row does not repeat it.
131
131
* - `inParkHours` repeats the numbers for the park's published hours, when it published any.
/** @description Always null for a single entity. */
483
485
next: string|null;
484
486
};
485
-
/** @description How many wait readings of 480 minutes or more the day's statistics include. Such readings are usually feed errors (values like 999); they are counted here as a flag and stay in every statistic. Counted per reading while OPERATING. Present only when there were some, and then with both counts. */
487
+
/** @description How many wait readings of 480 minutes or more the day had. Such readings are usually feed errors (values like 999); they are counted here as a flag. Those at or below the destination's plausibility ceiling stay in every statistic; those above it are left out and also counted in implausibleWaits. Wait values above 1440 minutes (24 hours) are feed errors and are omitted. Counted per reading while OPERATING. Present only when there were some, and then with both counts. */
486
488
HistoryDailyExtremeWaits: {
487
-
/** @description Standby readings of 480 minutes or more included in the day's standby statistics. */
489
+
/** @description Standby readings of 480 minutes or more. */
488
490
standby: number;
489
-
/** @description Single-rider readings of 480 minutes or more included in the day's single-rider statistics. */
491
+
/** @description Single-rider readings of 480 minutes or more. */
492
+
singleRider: number;
493
+
};
494
+
/** @description How many wait readings above the destination's plausibility ceiling the day had: 600 minutes, or 300 at destinations whose longest genuine waits are far shorter (listed in the history notes). Such a reading is a value the park's feed or app shows that cannot be a real queue (a placeholder like 999, or an unlabelled code); the live API still reports it as the park published it, and the raw history keeps it, but the day's statistics leave it out as if no wait were showing. Counted per reading while OPERATING. Present only when there were some, and then with both counts. */
495
+
HistoryDailyImplausibleWaits: {
496
+
/** @description Standby readings above the destination's plausibility ceiling, left out of the day's standby statistics. */
497
+
standby: number;
498
+
/** @description Single-rider readings above the destination's plausibility ceiling, left out of the day's single-rider statistics. */
490
499
singleRider: number;
491
500
};
492
501
/** @description The day's numbers limited to the park's published hours. Present only when the park published hours that day. */
/** @description One day of an entity's history. standby, singleRider, extremeWaits, showCount and inParkHours are absent when there is nothing to report; a standby block needs a valid wait showing for at least one whole minute. A row without unknownMinutes was counted under earlier rules, and also lacks extremeWaits and inParkHours. */
516
+
/** @description One day of an entity's history. standby, singleRider, extremeWaits, implausibleWaits, showCount and inParkHours are absent when there is nothing to report; a standby block needs a valid wait showing for at least one whole minute. A row without unknownMinutes was counted under earlier rules, and also lacks extremeWaits, implausibleWaits and inParkHours. */
/** @description How many times any field changed this day. */
536
547
changes: number;
537
548
};
538
-
/** @description Wait statistics for the day. p50, mean and p90 are weighted by how many minutes each wait was showing; min and max are the extremes of every value posted. Only minutes where the entity was OPERATING (not unknown) and the wait was valid count. A wait is valid during the run and on the day it was posted; the wait showing when a ride opens counts from the opening if it last changed within 24 hours; a wait carried over midnight does not count until it changes. Nothing the park reported is excluded: a reading of 480 minutes or more stays in these statistics and is counted in the row's `extremeWaits`. Absent when no minute counted. */
549
+
/** @description Wait statistics for the day. p50, mean and p90 are weighted by how many minutes each wait was showing; min and max are the extremes of every value posted. Only minutes where the entity was OPERATING (not unknown) and the wait was valid count. A wait is valid during the run and on the day it was posted; the wait showing when a ride opens counts from the opening if it last changed within 24 hours; a wait carried over midnight does not count until it changes. Wait values above 1440 minutes (24 hours) are feed errors and are omitted. So is a reading above the destination's plausibility ceiling (600 minutes, or 300 at the destinations the history notes list), which is counted in the row's `implausibleWaits` instead. Otherwise, a reading of 480 minutes or more stays in these statistics and is counted in the row's `extremeWaits`. Absent when no minute counted. */
539
550
HistoryDailyStats: {
540
551
/** @description Lowest wait posted during the counted minutes, including one that showed for under a minute. */
541
552
min: number;
@@ -545,7 +556,7 @@ export interface components {
545
556
mean: number;
546
557
/** @description 90th-percentile wait, weighted by minutes. */
547
558
p90: number;
548
-
/** @description Highest wait posted during the counted minutes, including a brief spike. It can be a feed error: the row's extremeWaits counts readings of 480 minutes or more. */
559
+
/** @description Highest wait posted during the counted minutes, including a brief spike. It can be a feed error: the row's extremeWaits counts readings of 480 minutes or more. It never exceeds the destination's plausibility ceiling (see implausibleWaits). */
549
560
max: number;
550
561
};
551
562
/** @description One entity's history. For a PARK the same call returns HistoryParkRawEnvelope instead. */
/** @description A window where nothing was observed for this entity's destination and nothing can be recovered. /history has no rows inside it and /history/daily counts its minutes as unknown. Rows either side are real. */
647
+
HistoryKnownGap: {
648
+
/**
649
+
* Format: date-time
650
+
* @description First instant with no data (UTC, inclusive).
651
+
*/
652
+
from: string;
653
+
/**
654
+
* Format: date-time
655
+
* @description First instant with data again (UTC, exclusive).
656
+
*/
657
+
to: string;
658
+
/**
659
+
* Format: date
660
+
* @description First park-local day the gap touches, partly or wholly.
661
+
*/
662
+
firstDay: string;
663
+
/**
664
+
* Format: date
665
+
* @description Last park-local day the gap touches, partly or wholly.
666
+
*/
667
+
lastDay: string;
668
+
/** @description Why the data is missing, in one sentence. */
669
+
reason: string;
670
+
};
635
671
/** @description The `opening` object: the complete state at the start of the range, in the same shape as a row. A field is present only if the entity has it. An unknown value is its empty form (standby `{"waitTime": null}`, showtimes `[]`); an unknown status is null. */
636
672
HistoryOpening: {
637
673
/**
@@ -674,7 +710,7 @@ export interface components {
674
710
/** @description Entities with under a calendar year, usually something that opened recently. */
675
711
underOneYear: number;
676
712
};
677
-
/** @description What history we hold across a whole PARK, returned by /history/coverage when the entity is a PARK. Its names map to the single-entity document: `fields` is `kinds`, and each `from` and `newest` is a `first` and `last`. It reports depth and breadth; it does not find missing days. */
713
+
/** @description What history we hold across a whole PARK, returned by /history/coverage when the entity is a PARK. Its names map to the single-entity document: `fields` is `kinds`, and each `from` and `newest` is a `first` and `last`. It reports depth and breadth, and `knownGaps` lists the verified windows where nothing was observed; it does not search for other missing days. */
678
714
HistoryParkCoverageDocument: {
679
715
id: string;
680
716
name: string;
@@ -690,6 +726,8 @@ export interface components {
690
726
};
691
727
/** @description Every entity of the park history is held for. */
0 commit comments