@types/appdmg
Advanced tools
Comparing version 0.5.0 to 0.5.1
@@ -32,4 +32,4 @@ // Type definitions for appdmg 0.5 | ||
interface SpecificationWindow { | ||
position?: { x: number; y: number }; | ||
size?: { width: number; height: number }; | ||
position?: { x: number; y: number } | undefined; | ||
size?: { width: number; height: number } | undefined; | ||
} | ||
@@ -42,3 +42,3 @@ | ||
path: string; | ||
name?: string; | ||
name?: string | undefined; | ||
} | ||
@@ -48,3 +48,3 @@ | ||
"signing-identity": string; | ||
identifier?: string; | ||
identifier?: string | undefined; | ||
} | ||
@@ -54,10 +54,10 @@ | ||
title: string; | ||
icon?: string; | ||
background?: string; | ||
"background-color"?: string; | ||
"icon-size"?: number; | ||
window?: SpecificationWindow; | ||
icon?: string | undefined; | ||
background?: string | undefined; | ||
"background-color"?: string | undefined; | ||
"icon-size"?: number | undefined; | ||
window?: SpecificationWindow | undefined; | ||
format: "UDRW" | "UDRO" | "UDCO" | "UDZO" | "UDBZ" | "ULFO"; | ||
contents: SpecificationContents[]; | ||
"code-sign"?: SpecificationCodeSign; | ||
"code-sign"?: SpecificationCodeSign | undefined; | ||
} | ||
@@ -64,0 +64,0 @@ |
{ | ||
"name": "@types/appdmg", | ||
"version": "0.5.0", | ||
"version": "0.5.1", | ||
"description": "TypeScript definitions for appdmg", | ||
"homepage": "https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/appdmg", | ||
"license": "MIT", | ||
@@ -14,5 +15,7 @@ "contributors": [ | ||
"main": "", | ||
"types": "index.d.ts", | ||
"repository": { | ||
"type": "git", | ||
"url": "https://www.github.com/DefinitelyTyped/DefinitelyTyped.git" | ||
"url": "https://github.com/DefinitelyTyped/DefinitelyTyped.git", | ||
"directory": "types/appdmg" | ||
}, | ||
@@ -23,4 +26,4 @@ "scripts": {}, | ||
}, | ||
"typesPublisherContentHash": "9f50ec2e38588b6930034d3eee52756032020ea68fe8e2f50f7a1fee0cd3b560", | ||
"typeScriptVersion": "2.0" | ||
"typesPublisherContentHash": "b49e02725ecf0bc7fa112facbecdfcfc039389153095db2c39364cef261edf3c", | ||
"typeScriptVersion": "3.6" | ||
} |
@@ -8,10 +8,84 @@ # Installation | ||
# Details | ||
Files were exported from https://www.github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/appdmg | ||
Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/appdmg. | ||
## [index.d.ts](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/appdmg/index.d.ts) | ||
````ts | ||
// Type definitions for appdmg 0.5 | ||
// Project: https://github.com/LinusU/node-appdmg#readme | ||
// Definitions by: Daniel Perez Alvarez <https://github.com/unindented> | ||
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped | ||
Additional Details | ||
* Last updated: Mon, 11 Dec 2017 19:14:19 GMT | ||
* Dependencies: node | ||
/// <reference types="node" /> | ||
declare namespace appdmg { | ||
interface Progress { | ||
current: number; | ||
total: number; | ||
type: "step-begin" | "step-end"; | ||
title: string; | ||
status: "ok" | "skip" | "fail"; | ||
} | ||
interface EventEmitter extends NodeJS.EventEmitter { | ||
on(event: "progress", listener: (info: Progress) => void): this; | ||
on(event: "finish", listener: () => void): this; | ||
on(event: "error", listener: (err: any) => void): this; | ||
} | ||
interface SpecificationOptions { | ||
app: string; | ||
background: string; | ||
icon: string; | ||
iconSize: number; | ||
title: string; | ||
} | ||
interface SpecificationWindow { | ||
position?: { x: number; y: number } | undefined; | ||
size?: { width: number; height: number } | undefined; | ||
} | ||
interface SpecificationContents { | ||
x: number; | ||
y: number; | ||
type: "link" | "file" | "position"; | ||
path: string; | ||
name?: string | undefined; | ||
} | ||
interface SpecificationCodeSign { | ||
"signing-identity": string; | ||
identifier?: string | undefined; | ||
} | ||
interface Specification { | ||
title: string; | ||
icon?: string | undefined; | ||
background?: string | undefined; | ||
"background-color"?: string | undefined; | ||
"icon-size"?: number | undefined; | ||
window?: SpecificationWindow | undefined; | ||
format: "UDRW" | "UDRO" | "UDCO" | "UDZO" | "UDBZ" | "ULFO"; | ||
contents: SpecificationContents[]; | ||
"code-sign"?: SpecificationCodeSign | undefined; | ||
} | ||
interface Options { | ||
target: string; | ||
basepath: string; | ||
specification: Specification; | ||
} | ||
} | ||
declare function appdmg(options?: appdmg.Options): appdmg.EventEmitter; | ||
export = appdmg; | ||
```` | ||
### Additional Details | ||
* Last updated: Wed, 07 Jul 2021 21:44:27 GMT | ||
* Dependencies: [@types/node](https://npmjs.com/package/@types/node) | ||
* Global values: none | ||
# Credits | ||
These definitions were written by Daniel Perez Alvarez <https://github.com/unindented>. | ||
These definitions were written by [Daniel Perez Alvarez](https://github.com/unindented). |
Sorry, the diff of this file is not supported yet
No website
QualityPackage does not have a website.
Found 1 instance in 1 package
6350
1
91