-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* ci: Adds v2.20.0 asset files * ci: adds widget v2.20.1
- Loading branch information
Showing
37 changed files
with
10,539 additions
and
67 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,33 @@ | ||
import type { GeocoderFeature } from '@atb/page-modules/departures'; | ||
|
||
export declare function createWidget({ urlBase, language, outputOverrideOptions, }: WidgetOptions): PlannerWebOutput; | ||
|
||
declare type Languages = 'nb' | 'nn' | 'en'; | ||
|
||
declare type OutputOverrideOptions = { | ||
inheritFont?: boolean; | ||
singleColumnLayout?: boolean; | ||
}; | ||
|
||
export declare type PlannerWebOutput = { | ||
output: string; | ||
init: () => void; | ||
urls: SettingConstants; | ||
}; | ||
|
||
export declare function reverse(urlBase: string, coords: GeolocationCoordinates): Promise<GeocoderFeature | undefined>; | ||
|
||
declare type SettingConstants = { | ||
URL_BASE: string; | ||
URL_JS_UMD: string; | ||
URL_JS_ESM: string; | ||
URL_CSS: string; | ||
}; | ||
|
||
export declare type WidgetOptions = { | ||
urlBase: string; | ||
language?: Languages; | ||
outputOverrideOptions?: Partial<OutputOverrideOptions>; | ||
}; | ||
|
||
export { } |
Oops, something went wrong.