New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@types/openfin

Package Overview
Dependencies
Maintainers
1
Versions
86
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@types/openfin - npm Package Compare versions

Comparing version 15.0.6 to 15.0.7

254

openfin v15.0/index.d.ts

@@ -136,11 +136,11 @@ // Type definitions for OpenFin API 15.0

*/
desktop?: boolean;
desktop?: boolean | undefined;
/**
* application has no shortcut in the start menu
*/
startMenu?: boolean;
startMenu?: boolean | undefined;
/**
* application will be launched on system startup
*/
systemStartup?: boolean;
systemStartup?: boolean | undefined;
}

@@ -162,6 +162,6 @@

interface ApplicationOptions {
url?: string;
uuid?: string;
name?: string;
mainWindowOptions?: WindowOptions;
url?: string | undefined;
uuid?: string | undefined;
name?: string | undefined;
mainWindowOptions?: WindowOptions | undefined;
}

@@ -174,17 +174,17 @@

accelerator?: {
devtools?: boolean,
zoom?: boolean
};
devtools?: boolean | undefined,
zoom?: boolean | undefined
} | undefined;
/**
* A flag to always position the window at the top of the window stack. Default: false.
*/
alwaysOnTop?: boolean;
alwaysOnTop?: boolean | undefined;
/**
* A flag to automatically show the Window when it is created. Default: false.
*/
autoShow?: boolean;
autoShow?: boolean | undefined;
/**
* A flag to show the context menu when right-clicking on a window. Gives access to the Developer Console for the Window. Default: true
*/
contextMenu?: boolean;
contextMenu?: boolean | undefined;
/**

@@ -194,5 +194,5 @@ * This defines and applies rounded corners for a frameless window. Default for both width and height: 0.

cornerRounding?: {
width?: number;
height?: number;
};
width?: number | undefined;
height?: number | undefined;
} | undefined;
/**

@@ -205,67 +205,67 @@ * A field that the user can attach serializable data to to be ferried around with the window options. Default: ''.

*/
defaultCentered?: boolean;
defaultCentered?: boolean | undefined;
/**
* The default height of the window. Specifies the height of the window when loaded for the first time on a machine. When the window corresponding to that id is loaded again, the height is taken to be the last height of the window before it was closed. Default: 500.
*/
defaultHeight?: number;
defaultHeight?: number | undefined;
/**
* The default left position of the window. Specifies the position of the left of the window when loaded for the first time on a machine. When the window corresponding to that id is loaded again, the value of left is taken to be the last value before the window was closed. Default: 100.
*/
defaultWidth?: number;
defaultWidth?: number | undefined;
/**
* The default top position of the window. Specifies the position of the top of the window when loaded for the first time on a machine. When the window corresponding to that id is loaded again, the value of top is taken to be the last value before the window was closed. Default: 100.
*/
defaultTop?: number;
defaultTop?: number | undefined;
/**
* The default width of the window. Specifies the width of the window when loaded for the first time on a machine. When the window corresponding to that id is loaded again, the width is taken to be the last width of the window before it was closed. Default: 800.
*/
defaultLeft?: number;
defaultLeft?: number | undefined;
/**
* A flag to show the frame. Default: true.
*/
frame?: boolean;
frame?: boolean | undefined;
/**
* A flag to allow a window to be hidden when the close button is clicked.Default: false.
*/
hideOnClose?: boolean;
hideOnClose?: boolean | undefined;
/**
* A URL for the icon to be shown in the window title bar and the taskbar.Default: The parent application's applicationIcon.
*/
icon?: string;
icon?: string | undefined;
/**
* The maximum height of a window.Will default to the OS defined value if set to - 1. Default: -1.
*/
maxHeight?: number;
maxHeight?: number | undefined;
/**
* A flag that lets the window be maximized.Default: true.
*/
maximizable?: boolean;
maximizable?: boolean | undefined;
/**
* The maximum width of a window.Will default to the OS defined value if set to - 1. Default: -1.
*/
maxWidth?: number;
maxWidth?: number | undefined;
/**
* The minimum height of a window.Default: 0.
*/
minHeight?: number;
minHeight?: number | undefined;
/**
* A flag that lets the window be minimized.Default: true.
*/
minimizable?: boolean;
minimizable?: boolean | undefined;
/**
* The minimum width of a window.Default: 0.
*/
minWidth?: number;
minWidth?: number | undefined;
/**
* The name for the window which must be unique within the context of the invoking Application.
*/
name?: string;
name?: string | undefined;
/**
* A flag that specifies how transparent the window will be.This value is clamped between 0.0 and 1.0.Default: 1.0.
*/
opacity?: number;
opacity?: number | undefined;
/**
* A flag to drop to allow the user to resize the window.Default: true.
*/
resizable?: boolean;
resizable?: boolean | undefined;
/**

@@ -278,3 +278,3 @@ * Defines a region in pixels that will respond to user mouse interaction for resizing a frameless window.

*/
size?: number;
size?: number | undefined;
/**

@@ -286,28 +286,28 @@ * The size in pixels of an additional

*/
bottomRightCorner?: number;
};
bottomRightCorner?: number | undefined;
} | undefined;
/**
* A flag to show the Window's icon in the taskbar. Default: true.
*/
showTaskbarIcon?: boolean;
showTaskbarIcon?: boolean | undefined;
/**
* A flag to cache the location of the window or not. Default: true.
*/
saveWindowState?: boolean;
saveWindowState?: boolean | undefined;
/**
* Specify a taskbar group for the window. Default: app's uuid.
*/
taskbarIconGroup?: string;
taskbarIconGroup?: string | undefined;
/**
* A string that sets the window to be "minimized", "maximized", or "normal" on creation. Default: "normal".
*/
state?: string;
state?: string | undefined;
/**
* The URL of the window. Default: "about:blank".
*/
url?: string;
url?: string | undefined;
/**
* When set to false, the window will render before the "load" event is fired on the content's window. Caution, when false you will see an initial empty white window. Default: true.
*/
waitForPageLoad?: boolean;
waitForPageLoad?: boolean | undefined;
}

@@ -451,3 +451,3 @@

*/
ignoreMouseOver?: boolean;
ignoreMouseOver?: boolean | undefined;
/**

@@ -460,7 +460,7 @@ * A message of any primitive or composite-primitive type to be passed to the notification upon creation.

*/
duration?: number | "never";
duration?: number | "never" | undefined;
/**
* The url of the notification
*/
url?: string;
url?: string | undefined;
/**

@@ -628,15 +628,15 @@ * A function that is called when a notification is clicked.

interface CacheOptions {
cache?: boolean;
cookies?: boolean;
localStorage?: boolean;
appcache?: boolean;
userData?: boolean;
cache?: boolean | undefined;
cookies?: boolean | undefined;
localStorage?: boolean | undefined;
appcache?: boolean | undefined;
userData?: boolean | undefined;
}
interface AppAssetInfo {
src?: string;
alias?: string;
version?: string;
target?: string;
args?: string;
src?: string | undefined;
alias?: string | undefined;
version?: string | undefined;
target?: string | undefined;
args?: string | undefined;
}

@@ -648,17 +648,17 @@

*/
isRunning?: boolean;
isRunning?: boolean | undefined;
/**
* uuid of the application.
*/
uuid?: string;
uuid?: string | undefined;
/**
* uuid of the application that launches this application.
*/
parentUuid?: string;
parentUuid?: string | undefined;
}
interface WindowDetails {
uuid?: string;
mainWindow?: WindowInfo;
childWindows?: WindowInfo[];
uuid?: string | undefined;
mainWindow?: WindowInfo | undefined;
childWindows?: WindowInfo[] | undefined;
}

@@ -670,19 +670,19 @@

*/
name?: string;
name?: string | undefined;
/**
* top-most coordinate of the child window
*/
top?: number;
top?: number | undefined;
/**
* right-most coordinate of the child window
*/
right?: number;
right?: number | undefined;
/**
* bottom-most coordinate of the child window
*/
bottom?: number;
bottom?: number | undefined;
/**
* left-most coordinate of the child window
*/
left?: number;
left?: number | undefined;
}

@@ -694,11 +694,11 @@

*/
name?: string;
name?: string | undefined;
/**
* the size of the log in bytes
*/
size?: number;
size?: number | undefined;
/**
* the unix time at which the log was created "Thu Jan 08 2015 14:40:30 GMT-0500 (Eastern Standard Time)"
*/
date?: string;
date?: string | undefined;
}

@@ -710,51 +710,51 @@

*/
cpuUsage?: number;
cpuUsage?: number | undefined;
/**
* the application name
*/
name?: string;
name?: string | undefined;
/**
* the current nonpaged pool usage in bytes
*/
nonPagedPoolUsage?: number;
nonPagedPoolUsage?: number | undefined;
/**
* the number of page faults
*/
pageFaultCount?: number;
pageFaultCount?: number | undefined;
/**
* the current paged pool usage in bytes
*/
pagedPoolUsage?: number;
pagedPoolUsage?: number | undefined;
/**
* the total amount of memory in bytes that the memory manager has committed
*/
pagefileUsage?: number;
pagefileUsage?: number | undefined;
/**
* the peak nonpaged pool usage in bytes
*/
peakNonPagedPoolUsage?: number;
peakNonPagedPoolUsage?: number | undefined;
/**
* the peak paged pool usage in bytes
*/
peakPagedPoolUsage?: number;
peakPagedPoolUsage?: number | undefined;
/**
* the peak value in bytes of pagefileUsage during the lifetime of this process
*/
peakPagefileUsage?: number;
peakPagefileUsage?: number | undefined;
/**
* the peak working set size in bytes
*/
peakWorkingSetSize?: number;
peakWorkingSetSize?: number | undefined;
/**
* the native process identifier
*/
processId?: number;
processId?: number | undefined;
/**
* the application UUID
*/
uuid?: string;
uuid?: string | undefined;
/**
* the current working set size (both shared and private data) in bytes
*/
workingSetSize?: number;
workingSetSize?: number | undefined;
}

@@ -766,20 +766,20 @@

*/
proxyAddress?: string;
proxyAddress?: string | undefined;
/**
* the configured Proxy port
*/
proxyPort?: number;
proxyPort?: number | undefined;
/**
* Proxy Type
*/
type?: string;
type?: string | undefined;
}
interface RvmInfo {
version?: string;
"start-time"?: string;
version?: string | undefined;
"start-time"?: string | undefined;
}
interface ExternalProcessLaunchInfo {
path?: string;
path?: string | undefined;
/**

@@ -790,3 +790,3 @@ * Additionally note that the executable found in the zip file specified in appAssets

*/
alias?: string;
alias?: string | undefined;
/**

@@ -799,18 +799,18 @@ * When using alias; if no arguments are passed then the arguments (if any)

*/
arguments?: string;
listener?: (result: {
arguments?: string | undefined;
listener?: ((result: {
/**
* "Exited" Or "released" on a call to releaseExternalProcess
*/
topic?: string;
topic?: string | undefined;
/**
* The mapped UUID which identifies the launched process
*/
uuid?: string;
uuid?: string | undefined;
/*
* Process exit code
*/
exitCode?: number;
}) => void;
certificate?: CertificationInfo;
exitCode?: number | undefined;
}) => void) | undefined;
certificate?: CertificationInfo | undefined;
}

@@ -822,37 +822,37 @@

*/
serial?: string;
serial?: string | undefined;
/**
* An internally tokenized and comma delimited string allowing partial or full checks of the subject fields
*/
subject?: string;
subject?: string | undefined;
/**
* A hex string with or without spaces
*/
publickey?: string;
publickey?: string | undefined;
/**
* A hex string with or without spaces
*/
thumbprint?: string;
thumbprint?: string | undefined;
/**
* A boolean indicating that the certificate is trusted and not revoked
*/
trusted?: boolean;
trusted?: boolean | undefined;
}
interface ExternalProcessInfo {
pid?: number;
listener?: (result: {
pid?: number | undefined;
listener?: ((result: {
/**
* "Exited" Or "released" on a call to releaseExternalProcess
*/
topic?: string;
topic?: string | undefined;
/**
* The mapped UUID which identifies the launched process
*/
uuid?: string;
uuid?: string | undefined;
/*
* Process exit code
*/
exitCode?: number;
}) => void;
exitCode?: number | undefined;
}) => void) | undefined;
}

@@ -1347,12 +1347,12 @@

*/
opacity?: number;
opacity?: number | undefined;
/**
* The total time in milliseconds this transition should take.
*/
duration?: number;
duration?: number | undefined;
/**
* Treat 'opacity' as absolute or as a delta. Defaults to false.
*/
relative?: boolean;
};
relative?: boolean | undefined;
} | undefined;
position?: {

@@ -1362,16 +1362,16 @@ /**

*/
left?: number;
left?: number | undefined;
/**
* Defaults to the window's current top position in virtual screen coordinates.
*/
top?: number;
top?: number | undefined;
/**
* The total time in milliseconds this transition should take.
*/
duration?: number;
duration?: number | undefined;
/**
* Treat 'left' and 'top' as absolute or as deltas. Defaults to false.
*/
relative?: boolean;
};
relative?: boolean | undefined;
} | undefined;
size?: {

@@ -1381,16 +1381,16 @@ /**

*/
width?: number;
width?: number | undefined;
/**
* Optional if width is present. Defaults to the window's current height.
*/
height?: number;
height?: number | undefined;
/**
* The total time in milliseconds this transition should take.
*/
duration?: number;
duration?: number | undefined;
/**
* Treat 'width' and 'height' as absolute or as deltas. Defaults to false.
*/
relative?: boolean;
};
relative?: boolean | undefined;
} | undefined;
}

@@ -1402,7 +1402,7 @@

*/
interrupt?: boolean;
interrupt?: boolean | undefined;
/**
* Transition effect. Defaults to 'ease-in-out'.
*/
tween?: OpenFinTweenType;
tween?: OpenFinTweenType | undefined;
}

@@ -1414,15 +1414,15 @@

*/
height?: number;
height?: number | undefined;
/**
* left-most coordinate of the window.
*/
left?: number;
left?: number | undefined;
/**
* top-most coordinate of the window.
*/
top?: number;
top?: number | undefined;
/**
* the width of the window.
*/
width?: number;
width?: number | undefined;
}

@@ -1429,0 +1429,0 @@

{
"name": "@types/openfin",
"version": "15.0.6",
"version": "15.0.7",
"description": "TypeScript definitions for OpenFin API",
"homepage": "https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/openfin",
"license": "MIT",

@@ -22,4 +23,4 @@ "contributors": [

"dependencies": {},
"typesPublisherContentHash": "f796d3236c3eff85a0024ad271e760823df8141458c2bebf7818ee96c0b7745e",
"typeScriptVersion": "3.0"
"typesPublisherContentHash": "da8efdbccbbaf29502725039ecf95aac1c6feca26f8394d8bf274725bc61ab5b",
"typeScriptVersion": "3.6"
}

@@ -11,3 +11,3 @@ # Installation

### Additional Details
* Last updated: Fri, 15 May 2020 11:31:56 GMT
* Last updated: Thu, 08 Jul 2021 18:52:12 GMT
* Dependencies: none

@@ -14,0 +14,0 @@ * Global values: `fin`

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc