@@ -9,56 +9,56 @@ export type Options = {
99 /**
1010 * Application title
1111 */
12- title : string ,
12+ title : string ;
1313
1414 /**
1515 * Theme
1616 *
1717 * Possible options: spicy-oj, lfo, curveball
1818 */
19- theme : 'spicy-oj' | 'lfo' | 'curveball' | 'xmas' ,
19+ theme : 'spicy-oj' | 'lfo' | 'curveball' | 'xmas' ;
2020
2121 /**
2222 * List of custom stylesheets to embed.
2323 *
2424 * Note that setting this will cause 'theme' to be ignored.
2525 */
26- stylesheets : string [ ] ,
26+ stylesheets : string [ ] ;
2727
2828 /**
2929 * List of links that should be lifted to navigation sections
3030 */
31- navigationLinks : SureNavigationLinkMap ,
31+ navigationLinks : SureNavigationLinkMap ;
3232
3333 /**
3434 * Where the base assets are located
3535 */
36- assetBaseUrl : string ,
36+ assetBaseUrl : string ;
3737
3838 /**
3939 * Should this plugin handle serving the assets.
4040 *
4141 * Disable if the assets are hosted elsewhere
4242 */
43- serveAssets : boolean ,
43+ serveAssets : boolean ;
4444
4545 /**
4646 * List of hardcoded links that should show up on every page.
4747 */
48- defaultLinks : Link [ ] ,
48+ defaultLinks : Link [ ] ;
4949
5050 /**
5151 * List of uninteresting link relationships that should be hidden by default.
5252 */
53- hiddenRels : string [ ] ,
53+ hiddenRels : string [ ] ;
5454
5555 /**
5656 * If turned on, full JSON bodies are always rendered.
5757 *
5858 * This can also be turned on during runtime by adding a ?_browser-fullbody
5959 * query parameter
6060 */
61- fullBody : boolean ,
61+ fullBody : boolean ;
6262} ;
6363
6464/**
@@ -67,7 +67,7 @@ export type Options = {
6767export type NavigationLinkMap = {
6868
6969 // Navigation links are nullable so they can be overridden
70- [ rel : string ] : NavigationLink | null | true
70+ [ rel : string ] : NavigationLink | null | true ;
7171
7272} ;
7373
@@ -79,7 +79,7 @@ export type NavigationLinkMap = {
7979export type SureNavigationLinkMap = {
8080
8181 // Navigation links are nullable so they can be overridden
82- [ rel : string ] : NavigationLink
82+ [ rel : string ] : NavigationLink ;
8383
8484} ;
8585
@@ -95,28 +95,28 @@ export type NavigationPosition = 'header' | 'header-right' | 'pager' | 'alternat
9595export type NavigationLink = {
9696
9797 // A CSS class. If it's not specified, we'll default to "rel-" + rel
98- cssClass ?: string ,
98+ cssClass ?: string ;
9999
100100 // A title we'll put in the HTML title= attribute if it wasn't overriden.
101- defaultTitle ?: string ,
101+ defaultTitle ?: string ;
102102
103103 // A relative URI to an icon. If it's not specified, we'll default to
104104 // [rel].svg
105- icon ?: string ,
105+ icon ?: string ;
106106
107107 // Where the icon should appear
108- position ?: NavigationPosition ,
108+ position ?: NavigationPosition ;
109109
110110 // Set this to to make an icon appear earlier or later. Default is 0, lower is earlier.
111- priority ?: number ,
111+ priority ?: number ;
112112
113113 // Whether or not to show the 'title' as the button label.
114- showLabel ?: boolean
114+ showLabel ?: boolean ;
115115
116116} ;
117117
118118export type PageProps = {
119- resourceState : State ,
120- options : Options ,
121- csrfToken : string | null ,
119+ resourceState : State ;
120+ options : Options ;
121+ csrfToken : string | null ;
122122}
0 commit comments