@types/web-app-manifest
Advanced tools
Comparing version 1.0.7 to 1.0.8
export type TextDirectionType = "ltr" | "rtl" | "auto"; | ||
export type DisplayModeType = "fullscreen" | "standalone" | "minimal-ui" | "browser"; | ||
export type LaunchHandlerClientModeType = "auto" | "focus-existing" | "navigate-existing" | "navigate-new"; | ||
@@ -155,2 +156,16 @@ /** | ||
/** | ||
* The `LaunchHandler` is a dictionary containing configurations for how web app launches should behave. | ||
* | ||
* @see https://wicg.github.io/web-app-launch/#launch_handler-member | ||
*/ | ||
export interface LaunchHandler { | ||
/** | ||
* The `client_mode` member of the `LaunchHandler` is a `string` or list of `strings` that specify one or more client mode targets. | ||
* | ||
* @see https://wicg.github.io/web-app-launch/#client_mode-member | ||
*/ | ||
client_mode: LaunchHandlerClientModeType | LaunchHandlerClientModeType[]; | ||
} | ||
/** | ||
* A `manifest` is a JSON document that contains startup parameters and application defaults for | ||
@@ -315,2 +330,9 @@ * when a web application is launched. | ||
shortcuts?: ShortcutItem[] | undefined; | ||
/** | ||
* The `launch_handler` member is a `LaunchHandler` which defines values that control the launch of a web application. | ||
* | ||
* @see https://w3c.github.io/manifest/#launching-a-web-application | ||
*/ | ||
launch_handler?: LaunchHandler | undefined; | ||
} |
{ | ||
"name": "@types/web-app-manifest", | ||
"version": "1.0.7", | ||
"version": "1.0.8", | ||
"description": "TypeScript definitions for web-app-manifest", | ||
@@ -23,5 +23,5 @@ "homepage": "https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/web-app-manifest", | ||
"dependencies": {}, | ||
"typesPublisherContentHash": "7d813a1a62281217b332403c855bac6674a8faab680492739f950ab02b889be8", | ||
"typeScriptVersion": "4.5", | ||
"typesPublisherContentHash": "72131b9154a107b68b6abb30fe7e9a65dbdc14a7f71221b61ebf7703dd9c9a30", | ||
"typeScriptVersion": "4.6", | ||
"nonNpm": true | ||
} |
@@ -11,3 +11,3 @@ # Installation | ||
### Additional Details | ||
* Last updated: Tue, 07 Nov 2023 15:11:36 GMT | ||
* Last updated: Fri, 16 Feb 2024 23:06:58 GMT | ||
* Dependencies: none | ||
@@ -14,0 +14,0 @@ |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
14169
299