@types/gorilla-engine 1.1.18 → 1.1.20
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
gorilla-engine/README.md
CHANGED
|
@@ -8,7 +8,7 @@ This package contains type definitions for gorilla-engine (https://gorilla-engin
|
|
|
8
8
|
Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/gorilla-engine.
|
|
9
9
|
|
|
10
10
|
### Additional Details
|
|
11
|
-
* Last updated:
|
|
11
|
+
* Last updated: Mon, 11 Nov 2024 11:02:46 GMT
|
|
12
12
|
* Dependencies: none
|
|
13
13
|
|
|
14
14
|
# Credits
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
declare namespace GorillaEngine.UI {
|
|
2
|
+
interface MappingEditorProps extends Common, Bounds, Background {
|
|
3
|
+
parentPath: string;
|
|
4
|
+
refreshView(index?: number): void;
|
|
5
|
+
}
|
|
6
|
+
|
|
7
|
+
// tslint:disable-next-line:no-empty-interface
|
|
8
|
+
interface MappingEditor extends MappingEditorProps {}
|
|
9
|
+
class MappingEditor extends Component {
|
|
10
|
+
constructor(options: Partial<MappingEditorProps>);
|
|
11
|
+
}
|
|
12
|
+
}
|
gorilla-engine/index.d.ts
CHANGED
|
@@ -40,6 +40,7 @@
|
|
|
40
40
|
/// <reference path = "components/TagEditor.d.ts" />
|
|
41
41
|
/// <reference path = "components/XYPad.d.ts" />
|
|
42
42
|
/// <reference path = "components/Rubberband.d.ts" />
|
|
43
|
+
/// <reference path = "components/MappingEditor.d.ts" />
|
|
43
44
|
|
|
44
45
|
declare namespace GorillaEngine {
|
|
45
46
|
/**
|
|
@@ -426,6 +427,22 @@ declare namespace GorillaEngine {
|
|
|
426
427
|
* List all instrument names contained in this blob
|
|
427
428
|
*/
|
|
428
429
|
getInstrumentNames(): string[];
|
|
430
|
+
/**
|
|
431
|
+
* Read an item from the blob table of contents
|
|
432
|
+
*/
|
|
433
|
+
getValueFromTOC(key: string): string;
|
|
434
|
+
/**
|
|
435
|
+
* Get the unique ID of the blob
|
|
436
|
+
*/
|
|
437
|
+
readonly uuid: string;
|
|
438
|
+
/**
|
|
439
|
+
* Get the version/timestamp string of the first blob part, if any
|
|
440
|
+
*/
|
|
441
|
+
readonly part1version: string;
|
|
442
|
+
/**
|
|
443
|
+
* Get the version/timestamp string of the second blob part, if any
|
|
444
|
+
*/
|
|
445
|
+
readonly part2version: string;
|
|
429
446
|
}
|
|
430
447
|
|
|
431
448
|
interface PreviewPlayer {
|
|
@@ -574,5 +591,11 @@ declare namespace GorillaEngine {
|
|
|
574
591
|
* @param window the window to show
|
|
575
592
|
*/
|
|
576
593
|
function createWindow(window: Window): void;
|
|
594
|
+
/**
|
|
595
|
+
* Sets the postion where the settings button is located
|
|
596
|
+
* @param x the x position to place the settings button
|
|
597
|
+
* @param y the y position to place the settings button
|
|
598
|
+
*/
|
|
599
|
+
function setSettingsButtonPosition(x: number, y: number): void;
|
|
577
600
|
}
|
|
578
601
|
}
|
gorilla-engine/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@types/gorilla-engine",
|
|
3
|
-
"version": "1.1.
|
|
3
|
+
"version": "1.1.20",
|
|
4
4
|
"description": "TypeScript definitions for gorilla-engine",
|
|
5
5
|
"homepage": "https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/gorilla-engine",
|
|
6
6
|
"license": "MIT",
|
|
@@ -45,7 +45,8 @@
|
|
|
45
45
|
},
|
|
46
46
|
"scripts": {},
|
|
47
47
|
"dependencies": {},
|
|
48
|
-
"
|
|
49
|
-
"
|
|
48
|
+
"peerDependencies": {},
|
|
49
|
+
"typesPublisherContentHash": "7133b6fca994353248e34a4c730a5042d04c918c6df07708aed5d09579495fc7",
|
|
50
|
+
"typeScriptVersion": "4.9",
|
|
50
51
|
"nonNpm": true
|
|
51
52
|
}
|