mirror of
https://github.com/vector-im/hydrogen-web.git
synced 2024-12-23 11:35:04 +01:00
Make all keys string
This commit is contained in:
parent
92e8fc8ad3
commit
646cbe0fff
@ -19,20 +19,20 @@ import {URLRouter} from "./URLRouter.js";
|
|||||||
import type { Path } from "./Navigation";
|
import type { Path } from "./Navigation";
|
||||||
|
|
||||||
type SegmentType = {
|
type SegmentType = {
|
||||||
login: true;
|
"login": true;
|
||||||
session: string;
|
"session": string;
|
||||||
sso: string;
|
"sso": string;
|
||||||
logout: true;
|
"logout": true;
|
||||||
room: string;
|
"room": string;
|
||||||
rooms: string[];
|
"rooms": string[];
|
||||||
settings: true;
|
"settings": true;
|
||||||
"create-room": true;
|
"create-room": true;
|
||||||
"empty-grid-tile": number;
|
"empty-grid-tile": number;
|
||||||
lightbox: string;
|
"lightbox": string;
|
||||||
"right-panel": true;
|
"right-panel": true;
|
||||||
details: true;
|
"details": true;
|
||||||
members: true;
|
"members": true;
|
||||||
member: string;
|
"member": string;
|
||||||
};
|
};
|
||||||
|
|
||||||
export function createNavigation() {
|
export function createNavigation() {
|
||||||
|
Loading…
Reference in New Issue
Block a user