mirror of
https://github.com/vector-im/hydrogen-web.git
synced 2024-12-23 03:25:12 +01:00
Make optional fields optional
This commit is contained in:
parent
8a976861fb
commit
63bdbee39c
@ -27,7 +27,7 @@ export type Config = {
|
|||||||
* Read more about rageshake at https://github.com/matrix-org/rageshake
|
* Read more about rageshake at https://github.com/matrix-org/rageshake
|
||||||
* OPTIONAL
|
* OPTIONAL
|
||||||
*/
|
*/
|
||||||
bugReportEndpointUrl: string;
|
bugReportEndpointUrl?: string;
|
||||||
/**
|
/**
|
||||||
* Paths to theme-manifests
|
* Paths to theme-manifests
|
||||||
* eg: ["assets/theme-element.json", "assets/theme-awesome.json"]
|
* eg: ["assets/theme-element.json", "assets/theme-awesome.json"]
|
||||||
@ -41,7 +41,7 @@ export type Config = {
|
|||||||
* Whether the dark or light variant is used depends on the system preference.
|
* Whether the dark or light variant is used depends on the system preference.
|
||||||
* OPTIONAL
|
* OPTIONAL
|
||||||
*/
|
*/
|
||||||
defaultTheme: {
|
defaultTheme?: {
|
||||||
// id of light theme
|
// id of light theme
|
||||||
light: string;
|
light: string;
|
||||||
// id of dark theme
|
// id of dark theme
|
||||||
@ -52,7 +52,7 @@ export type Config = {
|
|||||||
* See https://spec.matrix.org/latest/client-server-api/#post_matrixclientv3pushersset
|
* See https://spec.matrix.org/latest/client-server-api/#post_matrixclientv3pushersset
|
||||||
* OPTIONAL
|
* OPTIONAL
|
||||||
*/
|
*/
|
||||||
push: {
|
push?: {
|
||||||
// See app_id in the request body in above link
|
// See app_id in the request body in above link
|
||||||
appId: string;
|
appId: string;
|
||||||
// The host used for pushing notification
|
// The host used for pushing notification
|
||||||
|
Loading…
Reference in New Issue
Block a user