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 f1d80cd
Browse filesBrowse the repository at this point in the historyBrowse files
Copy file name to clipboardExpand all lines: src/_generated/schema.ts
+47-8Lines changed: 47 additions & 8 deletions
Original file line number
Diff line number
Diff line change
@@ -124,8 +124,9 @@ export interface paths {
124
124
* A run lasts from a change to OPERATING until the next change to CLOSED or REFURBISHMENT, DOWN periods included. A row is counted like this:
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
+
* - From 2026-10-08, also in published hours and for DOWN, after 24 hours absent from the park's feed (exceptions in the history notes).
127
128
* - 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.
129
+
* - `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
130
* - `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
131
* - `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
132
* - `inParkHours` repeats the numbers for the park's published hours, when it published any.
/** @description Always null for a single entity. */
483
486
next: string|null;
484
487
};
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. */
488
+
/** @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
489
HistoryDailyExtremeWaits: {
487
-
/** @description Standby readings of 480 minutes or more included in the day's standby statistics. */
490
+
/** @description Standby readings of 480 minutes or more. */
488
491
standby: number;
489
-
/** @description Single-rider readings of 480 minutes or more included in the day's single-rider statistics. */
492
+
/** @description Single-rider readings of 480 minutes or more. */
493
+
singleRider: number;
494
+
};
495
+
/** @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. */
496
+
HistoryDailyImplausibleWaits: {
497
+
/** @description Standby readings above the destination's plausibility ceiling, left out of the day's standby statistics. */
498
+
standby: number;
499
+
/** @description Single-rider readings above the destination's plausibility ceiling, left out of the day's single-rider statistics. */
490
500
singleRider: number;
491
501
};
492
502
/** @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. */
517
+
/** @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
548
changes: number;
537
549
};
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. */
550
+
/** @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
551
HistoryDailyStats: {
540
552
/** @description Lowest wait posted during the counted minutes, including one that showed for under a minute. */
541
553
min: number;
@@ -545,7 +557,7 @@ export interface components {
545
557
mean: number;
546
558
/** @description 90th-percentile wait, weighted by minutes. */
547
559
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. */
560
+
/** @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
561
max: number;
550
562
};
551
563
/** @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. */
648
+
HistoryKnownGap: {
649
+
/**
650
+
* Format: date-time
651
+
* @description First instant with no data (UTC, inclusive).
652
+
*/
653
+
from: string;
654
+
/**
655
+
* Format: date-time
656
+
* @description First instant with data again (UTC, exclusive).
657
+
*/
658
+
to: string;
659
+
/**
660
+
* Format: date
661
+
* @description First park-local day the gap touches, partly or wholly.
662
+
*/
663
+
firstDay: string;
664
+
/**
665
+
* Format: date
666
+
* @description Last park-local day the gap touches, partly or wholly.
667
+
*/
668
+
lastDay: string;
669
+
/** @description Why the data is missing, in one sentence. */
670
+
reason: string;
671
+
};
635
672
/** @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
673
HistoryOpening: {
637
674
/**
@@ -674,7 +711,7 @@ export interface components {
674
711
/** @description Entities with under a calendar year, usually something that opened recently. */
675
712
underOneYear: number;
676
713
};
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. */
714
+
/** @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
715
HistoryParkCoverageDocument: {
679
716
id: string;
680
717
name: string;
@@ -690,6 +727,8 @@ export interface components {
690
727
};
691
728
/** @description Every entity of the park history is held for. */
0 commit comments