Skip to content

Commit

Permalink
Fixed optional params in interfaces
Browse files Browse the repository at this point in the history
  • Loading branch information
ChronSyn committed Jan 15, 2020
1 parent 3e2c007 commit 82016fb
Show file tree
Hide file tree
Showing 66 changed files with 3,209 additions and 3,209 deletions.
54 changes: 27 additions & 27 deletions build/types/interfaces.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -78,25 +78,25 @@ export declare enum EStaffOperation {
getReasonCodeList = "GetReasonCodeList"
}
export interface IParams_GetArrBoardWithDetails {
numRows: number;
crs: string;
numRows?: number;
filterCrs?: string;
filterType?: EFilterType;
timeOffset?: number;
timeWindow?: number;
}
export interface IParams_GetArrDepBoardWithDetails {
numRows: number;
crs: string;
numRows?: number;
filterCrs?: string;
filterType?: EFilterType;
timeOffset?: number;
timeWindow?: number;
}
export interface IParams_GetArrivalBoardByCRS {
numRows: number;
crs: string;
time: Date;
numRows?: number;
time?: Date;
timeWindow?: number;
filterCrs?: string;
filterType?: EFilterType;
Expand All @@ -105,47 +105,47 @@ export interface IParams_GetArrivalBoardByCRS {
getNonPassengerServices?: boolean;
}
export interface IParams_GetArrivalBoardByTIPLOC {
numRows: number;
tiploc: string;
time: Date;
numRows?: number;
tiploc?: string;
filterTiploc?: string;
filterType?: EFilterType;
filterTOC?: string[] | string;
services?: EServices;
getNonPassengerServices?: boolean;
}
export interface IParams_GetArrivalDepartureBoardByCRS {
numRows: number;
crs: string;
time: Date;
numRows?: number;
time?: Date;
filterCrs?: string;
filterType?: EFilterType;
filterTOC?: string[] | string;
services?: EServices;
getNonPassengerServices?: boolean;
}
export interface IParams_GetArrivalDepartureBoardByTIPLOC {
numRows: number;
tiploc: string;
time: Date;
filterTiploc: string;
filterType: EFilterType;
filterTOC: string[] | string;
numRows?: number;
time?: Date;
filterTiploc?: string;
filterType?: EFilterType;
filterTOC?: string[] | string;
services?: EServices;
getNonPassengerServices: boolean;
}
export interface IParams_GetDepBoardWithDetails {
numRows: number;
crs: string;
numRows?: number;
timeOffset?: number;
filterCrs?: string;
filterType?: EFilterType;
timeWindow?: number;
}
export interface IParams_GetDepartureBoardByCRS {
crs: string;
time: Date;
numRows: number;
time?: Date;
numRows?: number;
timeWindow?: number;
filterCrs?: string;
filterType?: EFilterType;
Expand All @@ -154,9 +154,9 @@ export interface IParams_GetDepartureBoardByCRS {
getNonPassengerServices?: boolean;
}
export interface IParams_GetDepartureBoardByTIPLOC {
numRows: number;
tiploc: string;
time: Date;
numRows?: number;
time?: Date;
filterTiploc?: string;
filterType?: EFilterType;
filterTOC?: string[] | string;
Expand All @@ -168,24 +168,24 @@ export interface IParams_GetDisruptionList {
}
export interface IParams_GetFastestDepartures {
crs: string;
filterList: string[];
time: Date;
time?: Date;
filterList?: string[];
timeWindow?: number;
filterTOC?: string[] | string;
services?: EServices;
}
export interface IParams_GetFastestDeparturesWithDetails {
crs: string;
filterList: string[];
time: Date;
time?: Date;
filterList?: string[];
timeWindow?: number;
filterTOC?: string[] | string;
services?: EServices;
}
export interface IParams_GetHistoricDepartureBoard {
numRows: number;
crs: string;
historicDatetime: Date;
numRows?: number;
depBoardDate?: EDateModifier;
depBoardtime?: string;
timeWindow?: number;
Expand All @@ -208,16 +208,16 @@ export interface IParams_GetHistoricTimeLine {
}
export interface IParams_GetNextDepartures {
crs: string;
filterList: string[];
time: Date;
time?: Date;
filterList?: string[];
timeWindow?: number;
filterTOC?: string[] | string;
services?: EServices;
}
export interface IParams_GetNextDeparturesWithDetails {
crs: string;
filterList: string[];
time: Date;
time?: Date;
filterList?: string[];
timeWindow?: number;
filterTOC?: string[] | string;
services?: EServices;
Expand Down
2 changes: 1 addition & 1 deletion docs/assets/js/search.js

Large diffs are not rendered by default.

54 changes: 27 additions & 27 deletions docs/classes/tsopenldb.html
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<title>TSOpenLDB | tsopenldb - v1.1.0</title>
<title>TSOpenLDB | tsopenldb - v1.1.11</title>
<meta name="description" content="">
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="stylesheet" href="../assets/css/main.css">
Expand All @@ -22,7 +22,7 @@
<li class="state loading">Preparing search index...</li>
<li class="state failure">The search index is not available</li>
</ul>
<a href="../index.html" class="title">tsopenldb - v1.1.0</a>
<a href="../index.html" class="title">tsopenldb - v1.1.11</a>
</div>
<div class="table-cell" id="tsd-widgets">
<div id="tsd-filter">
Expand Down Expand Up @@ -139,7 +139,7 @@ <h3>constructor</h3>
<li class="tsd-description">
<aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/ChronSyn/TSOpenLDB/blob/884c091/src/index.ts#L89">index.ts:89</a></li>
<li>Defined in <a href="https://github.com/ChronSyn/TSOpenLDB/blob/3e2c007/src/index.ts#L89">index.ts:89</a></li>
</ul>
</aside>
<h4 class="tsd-parameters-title">Parameters</h4>
Expand All @@ -166,7 +166,7 @@ <h3><span class="tsd-flag ts-flagPrivate">Private</span> _api<wbr>Key</h3>
<div class="tsd-signature tsd-kind-icon">_api<wbr>Key<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">string</span></div>
<aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/ChronSyn/TSOpenLDB/blob/884c091/src/index.ts#L89">index.ts:89</a></li>
<li>Defined in <a href="https://github.com/ChronSyn/TSOpenLDB/blob/3e2c007/src/index.ts#L89">index.ts:89</a></li>
</ul>
</aside>
</section>
Expand All @@ -183,7 +183,7 @@ <h3><span class="tsd-flag ts-flagPrivate">Private</span> Call<wbr>Required<wbr>P
<li class="tsd-description">
<aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/ChronSyn/TSOpenLDB/blob/884c091/src/index.ts#L98">index.ts:98</a></li>
<li>Defined in <a href="https://github.com/ChronSyn/TSOpenLDB/blob/3e2c007/src/index.ts#L98">index.ts:98</a></li>
</ul>
</aside>
<h4 class="tsd-parameters-title">Parameters</h4>
Expand All @@ -206,7 +206,7 @@ <h3><span class="tsd-flag ts-flagPrivate">Private</span> fetch<wbr>From<wbr>Darw
<li class="tsd-description">
<aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/ChronSyn/TSOpenLDB/blob/884c091/src/index.ts#L312">index.ts:312</a></li>
<li>Defined in <a href="https://github.com/ChronSyn/TSOpenLDB/blob/3e2c007/src/index.ts#L312">index.ts:312</a></li>
</ul>
</aside>
<h4 class="tsd-parameters-title">Parameters</h4>
Expand All @@ -232,7 +232,7 @@ <h3>get<wbr>Arr<wbr>Board<wbr>With<wbr>Details</h3>
<li class="tsd-description">
<aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/ChronSyn/TSOpenLDB/blob/884c091/src/index.ts#L368">index.ts:368</a></li>
<li>Defined in <a href="https://github.com/ChronSyn/TSOpenLDB/blob/3e2c007/src/index.ts#L368">index.ts:368</a></li>
</ul>
</aside>
<h4 class="tsd-parameters-title">Parameters</h4>
Expand Down Expand Up @@ -269,7 +269,7 @@ <h3>get<wbr>Arr<wbr>Dep<wbr>Board<wbr>With<wbr>Details</h3>
<li class="tsd-description">
<aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/ChronSyn/TSOpenLDB/blob/884c091/src/index.ts#L373">index.ts:373</a></li>
<li>Defined in <a href="https://github.com/ChronSyn/TSOpenLDB/blob/3e2c007/src/index.ts#L373">index.ts:373</a></li>
</ul>
</aside>
<h4 class="tsd-parameters-title">Parameters</h4>
Expand Down Expand Up @@ -306,7 +306,7 @@ <h3>get<wbr>Arrival<wbr>Board<wbr>ByCRS</h3>
<li class="tsd-description">
<aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/ChronSyn/TSOpenLDB/blob/884c091/src/index.ts#L378">index.ts:378</a></li>
<li>Defined in <a href="https://github.com/ChronSyn/TSOpenLDB/blob/3e2c007/src/index.ts#L378">index.ts:378</a></li>
</ul>
</aside>
<h4 class="tsd-parameters-title">Parameters</h4>
Expand Down Expand Up @@ -349,7 +349,7 @@ <h3>get<wbr>Arrival<wbr>Board<wbr>ByTIPLOC</h3>
<li class="tsd-description">
<aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/ChronSyn/TSOpenLDB/blob/884c091/src/index.ts#L383">index.ts:383</a></li>
<li>Defined in <a href="https://github.com/ChronSyn/TSOpenLDB/blob/3e2c007/src/index.ts#L383">index.ts:383</a></li>
</ul>
</aside>
<h4 class="tsd-parameters-title">Parameters</h4>
Expand Down Expand Up @@ -389,7 +389,7 @@ <h3>get<wbr>Arrival<wbr>Departure<wbr>Board<wbr>ByCRS</h3>
<li class="tsd-description">
<aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/ChronSyn/TSOpenLDB/blob/884c091/src/index.ts#L388">index.ts:388</a></li>
<li>Defined in <a href="https://github.com/ChronSyn/TSOpenLDB/blob/3e2c007/src/index.ts#L388">index.ts:388</a></li>
</ul>
</aside>
<h4 class="tsd-parameters-title">Parameters</h4>
Expand Down Expand Up @@ -429,7 +429,7 @@ <h3>get<wbr>Arrival<wbr>Departure<wbr>Board<wbr>ByTIPLOC</h3>
<li class="tsd-description">
<aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/ChronSyn/TSOpenLDB/blob/884c091/src/index.ts#L393">index.ts:393</a></li>
<li>Defined in <a href="https://github.com/ChronSyn/TSOpenLDB/blob/3e2c007/src/index.ts#L393">index.ts:393</a></li>
</ul>
</aside>
<h4 class="tsd-parameters-title">Parameters</h4>
Expand Down Expand Up @@ -469,7 +469,7 @@ <h3>get<wbr>Dep<wbr>Board<wbr>With<wbr>Details</h3>
<li class="tsd-description">
<aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/ChronSyn/TSOpenLDB/blob/884c091/src/index.ts#L398">index.ts:398</a></li>
<li>Defined in <a href="https://github.com/ChronSyn/TSOpenLDB/blob/3e2c007/src/index.ts#L398">index.ts:398</a></li>
</ul>
</aside>
<h4 class="tsd-parameters-title">Parameters</h4>
Expand Down Expand Up @@ -506,7 +506,7 @@ <h3>get<wbr>Departure<wbr>Board<wbr>ByCRS</h3>
<li class="tsd-description">
<aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/ChronSyn/TSOpenLDB/blob/884c091/src/index.ts#L403">index.ts:403</a></li>
<li>Defined in <a href="https://github.com/ChronSyn/TSOpenLDB/blob/3e2c007/src/index.ts#L403">index.ts:403</a></li>
</ul>
</aside>
<h4 class="tsd-parameters-title">Parameters</h4>
Expand Down Expand Up @@ -552,7 +552,7 @@ <h3>get<wbr>Departure<wbr>Board<wbr>ByTIPLOC</h3>
<li class="tsd-description">
<aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/ChronSyn/TSOpenLDB/blob/884c091/src/index.ts#L408">index.ts:408</a></li>
<li>Defined in <a href="https://github.com/ChronSyn/TSOpenLDB/blob/3e2c007/src/index.ts#L408">index.ts:408</a></li>
</ul>
</aside>
<h4 class="tsd-parameters-title">Parameters</h4>
Expand Down Expand Up @@ -595,7 +595,7 @@ <h3>get<wbr>Disruption<wbr>List</h3>
<li class="tsd-description">
<aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/ChronSyn/TSOpenLDB/blob/884c091/src/index.ts#L413">index.ts:413</a></li>
<li>Defined in <a href="https://github.com/ChronSyn/TSOpenLDB/blob/3e2c007/src/index.ts#L413">index.ts:413</a></li>
</ul>
</aside>
<h4 class="tsd-parameters-title">Parameters</h4>
Expand Down Expand Up @@ -623,7 +623,7 @@ <h3>get<wbr>Fastest<wbr>Departures</h3>
<li class="tsd-description">
<aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/ChronSyn/TSOpenLDB/blob/884c091/src/index.ts#L418">index.ts:418</a></li>
<li>Defined in <a href="https://github.com/ChronSyn/TSOpenLDB/blob/3e2c007/src/index.ts#L418">index.ts:418</a></li>
</ul>
</aside>
<h4 class="tsd-parameters-title">Parameters</h4>
Expand Down Expand Up @@ -660,7 +660,7 @@ <h3>get<wbr>Fastest<wbr>Departures<wbr>With<wbr>Details</h3>
<li class="tsd-description">
<aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/ChronSyn/TSOpenLDB/blob/884c091/src/index.ts#L423">index.ts:423</a></li>
<li>Defined in <a href="https://github.com/ChronSyn/TSOpenLDB/blob/3e2c007/src/index.ts#L423">index.ts:423</a></li>
</ul>
</aside>
<h4 class="tsd-parameters-title">Parameters</h4>
Expand Down Expand Up @@ -697,7 +697,7 @@ <h3>get<wbr>Historic<wbr>Departure<wbr>Board</h3>
<li class="tsd-description">
<aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/ChronSyn/TSOpenLDB/blob/884c091/src/index.ts#L428">index.ts:428</a></li>
<li>Defined in <a href="https://github.com/ChronSyn/TSOpenLDB/blob/3e2c007/src/index.ts#L428">index.ts:428</a></li>
</ul>
</aside>
<h4 class="tsd-parameters-title">Parameters</h4>
Expand Down Expand Up @@ -737,7 +737,7 @@ <h3>get<wbr>Historic<wbr>Service<wbr>Details</h3>
<li class="tsd-description">
<aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/ChronSyn/TSOpenLDB/blob/884c091/src/index.ts#L433">index.ts:433</a></li>
<li>Defined in <a href="https://github.com/ChronSyn/TSOpenLDB/blob/3e2c007/src/index.ts#L433">index.ts:433</a></li>
</ul>
</aside>
<h4 class="tsd-parameters-title">Parameters</h4>
Expand Down Expand Up @@ -765,7 +765,7 @@ <h3>get<wbr>Historic<wbr>Time<wbr>Line</h3>
<li class="tsd-description">
<aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/ChronSyn/TSOpenLDB/blob/884c091/src/index.ts#L438">index.ts:438</a></li>
<li>Defined in <a href="https://github.com/ChronSyn/TSOpenLDB/blob/3e2c007/src/index.ts#L438">index.ts:438</a></li>
</ul>
</aside>
<h4 class="tsd-parameters-title">Parameters</h4>
Expand Down Expand Up @@ -793,7 +793,7 @@ <h3>get<wbr>Next<wbr>Departures</h3>
<li class="tsd-description">
<aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/ChronSyn/TSOpenLDB/blob/884c091/src/index.ts#L443">index.ts:443</a></li>
<li>Defined in <a href="https://github.com/ChronSyn/TSOpenLDB/blob/3e2c007/src/index.ts#L443">index.ts:443</a></li>
</ul>
</aside>
<h4 class="tsd-parameters-title">Parameters</h4>
Expand Down Expand Up @@ -830,7 +830,7 @@ <h3>get<wbr>Next<wbr>Departures<wbr>With<wbr>Details</h3>
<li class="tsd-description">
<aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/ChronSyn/TSOpenLDB/blob/884c091/src/index.ts#L448">index.ts:448</a></li>
<li>Defined in <a href="https://github.com/ChronSyn/TSOpenLDB/blob/3e2c007/src/index.ts#L448">index.ts:448</a></li>
</ul>
</aside>
<h4 class="tsd-parameters-title">Parameters</h4>
Expand Down Expand Up @@ -867,7 +867,7 @@ <h3>get<wbr>Service<wbr>Details<wbr>ByRid</h3>
<li class="tsd-description">
<aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/ChronSyn/TSOpenLDB/blob/884c091/src/index.ts#L454">index.ts:454</a></li>
<li>Defined in <a href="https://github.com/ChronSyn/TSOpenLDB/blob/3e2c007/src/index.ts#L454">index.ts:454</a></li>
</ul>
</aside>
<h4 class="tsd-parameters-title">Parameters</h4>
Expand Down Expand Up @@ -895,7 +895,7 @@ <h3><span class="tsd-flag ts-flagPrivate">Private</span> map<wbr>Params<wbr>ToSO
<li class="tsd-description">
<aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/ChronSyn/TSOpenLDB/blob/884c091/src/index.ts#L343">index.ts:343</a></li>
<li>Defined in <a href="https://github.com/ChronSyn/TSOpenLDB/blob/3e2c007/src/index.ts#L343">index.ts:343</a></li>
</ul>
</aside>
<h4 class="tsd-parameters-title">Parameters</h4>
Expand All @@ -921,7 +921,7 @@ <h3>query<wbr>Historic<wbr>Services</h3>
<li class="tsd-description">
<aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/ChronSyn/TSOpenLDB/blob/884c091/src/index.ts#L460">index.ts:460</a></li>
<li>Defined in <a href="https://github.com/ChronSyn/TSOpenLDB/blob/3e2c007/src/index.ts#L460">index.ts:460</a></li>
</ul>
</aside>
<h4 class="tsd-parameters-title">Parameters</h4>
Expand Down Expand Up @@ -952,7 +952,7 @@ <h3>query<wbr>Services</h3>
<li class="tsd-description">
<aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/ChronSyn/TSOpenLDB/blob/884c091/src/index.ts#L465">index.ts:465</a></li>
<li>Defined in <a href="https://github.com/ChronSyn/TSOpenLDB/blob/3e2c007/src/index.ts#L465">index.ts:465</a></li>
</ul>
</aside>
<h4 class="tsd-parameters-title">Parameters</h4>
Expand Down
Loading

0 comments on commit 82016fb

Please sign in to comment.