@types/openfin
Advanced tools
Comparing version
@@ -503,5 +503,2 @@ // Type definitions for OpenFin API 16.0 | ||
interface OpenFinSystem { | ||
/** | ||
* | ||
*/ | ||
Clipboard: OpenFinClipboard; | ||
@@ -710,5 +707,2 @@ /** | ||
cpus: NodeCpuInfo[]; | ||
/** | ||
* | ||
*/ | ||
gpu: { | ||
@@ -933,5 +927,5 @@ /** | ||
* A basic window that wraps a native HTML window. Provides more fine-grained control over the window state such as the ability to minimize, maximize, restore, etc. By default a window does not show upon instantiation; instead the window's show() method must be invoked manually. The new window appears in the same process as the parent window. | ||
* @param {any} options - The options of the window | ||
* @param {Function} [callback] - Called if the window creation was successful | ||
* @param {number} [callback.successObj] - httpResponseCode | ||
* @param options - The options of the window | ||
* @param [callback] - Called if the window creation was successful | ||
* @param [callback.successObj] - httpResponseCode | ||
*/ | ||
@@ -941,3 +935,3 @@ new (options: WindowOptions, callback?: (successObj: { httpResponseCode: number }) => void, errorCallback?: (reason: string, errorObj: NetworkErrorInfo) => void): OpenFinWindow; | ||
* Returns an instance of the current window. | ||
* @returns {OpenFinWindow} Current window | ||
* @returns Current window | ||
*/ | ||
@@ -962,3 +956,3 @@ getCurrent(): OpenFinWindow; | ||
* Returns the native JavaScript "window" object for the window. This method can only be used by the parent application or the window itself, otherwise it will return undefined. The same Single-Origin-Policy (SOP) rules apply for child windows created by window.open(url) in that the contents of the window object are only accessible if the URL has the same origin as the invoking window. See example below. Also, will not work with fin.desktop.Window objects created with fin.desktop.Window.wrap(). | ||
* @returns {Window} Native window | ||
* @returns Native window | ||
*/ | ||
@@ -968,3 +962,3 @@ getNativeWindow(): Window; | ||
* Gets the parent application. | ||
* @returns {OpenFinApplication} Parent application | ||
* @returns Parent application | ||
*/ | ||
@@ -998,3 +992,3 @@ getParentApplication(): OpenFinApplication; | ||
* Closes the window. | ||
* @param {force} Close will be prevented from closing when force is false and 'close-requested' has been subscribed to for application's main window. | ||
* @param Close will be prevented from closing when force is false and 'close-requested' has been subscribed to for application's main window. | ||
*/ | ||
@@ -1116,3 +1110,3 @@ close(force?: boolean, callback?: () => void, errorCallback?: (reason: string) => void): void; | ||
* Shows the window if it is hidden. | ||
* @param {force} Show will be prevented from closing when force is false and 'show-requested' has been subscribed to for application's main window. | ||
* @param Show will be prevented from closing when force is false and 'show-requested' has been subscribed to for application's main window. | ||
*/ | ||
@@ -1305,5 +1299,2 @@ show(force?: boolean, callback?: () => void, errorCallback?: (reason: string) => void): void; | ||
top: number; | ||
/** | ||
* | ||
*/ | ||
type: "bounds-changed" | "bounds-changing" | "disabled-frame-bounds-changed" | "disabled-frame-bounds-changing"; | ||
@@ -1310,0 +1301,0 @@ /** |
{ | ||
"name": "@types/openfin", | ||
"version": "16.0.2", | ||
"version": "16.0.3", | ||
"description": "TypeScript definitions for OpenFin API", | ||
@@ -19,5 +19,4 @@ "license": "MIT", | ||
"dependencies": {}, | ||
"peerDependencies": {}, | ||
"typesPublisherContentHash": "15384bcee8b9f5481f669ae5423bcd744d8ec403d49c0b45f9d4668c9f2bb4a4", | ||
"typesPublisherContentHash": "cffd681e350a986ea34ae6420dde57f08e5af483527e14d6a83c4124a4546c99", | ||
"typeScriptVersion": "2.0" | ||
} |
@@ -8,6 +8,6 @@ # Installation | ||
# Details | ||
Files were exported from https://www.github.com/DefinitelyTyped/DefinitelyTyped/tree/master/openfin/v16 | ||
Files were exported from https://www.github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/openfin/v16 | ||
Additional Details | ||
* Last updated: Wed, 22 Mar 2017 00:12:27 GMT | ||
* Last updated: Wed, 25 Oct 2017 01:21:35 GMT | ||
* Dependencies: none | ||
@@ -14,0 +14,0 @@ * Global values: fin |
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
58678
1.76%4
33.33%0
-100%1513
-0.59%