@types/gorilla-engine 1.1.19 → 1.1.21

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: Wed, 25 Sep 2024 14:07:46 GMT
11
+ * Last updated: Tue, 25 Feb 2025 14:02:21 GMT
12
12
  * Dependencies: none
13
13
 
14
14
  # Credits
@@ -0,0 +1,24 @@
1
+ declare namespace GorillaEngine.UI {
2
+ interface Zone {
3
+ index: number;
4
+ rootKey: number;
5
+ lowKey: number;
6
+ highKey: number;
7
+ lowVel: number;
8
+ highVel: number;
9
+ samplePath: string;
10
+ }
11
+ interface MappingEditorProps extends Common, Bounds, Background {
12
+ parentPath: string;
13
+ zones?: Zone[];
14
+ refreshView(index?: number): void;
15
+ addZone(zone: Partial<Zone>): Zone;
16
+ removeZone(zone: Partial<Zone>): void;
17
+ }
18
+
19
+ // tslint:disable-next-line:no-empty-interface
20
+ interface MappingEditor extends MappingEditorProps {}
21
+ class MappingEditor extends Component {
22
+ constructor(options: Partial<MappingEditorProps>);
23
+ }
24
+ }
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
  /**
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@types/gorilla-engine",
3
- "version": "1.1.19",
3
+ "version": "1.1.21",
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
- "typesPublisherContentHash": "25af3b5628685726402e71fee5952f86881c72d3f01593c0d348711d59b104e3",
49
- "typeScriptVersion": "4.8",
48
+ "peerDependencies": {},
49
+ "typesPublisherContentHash": "b4d04293faf16ed64befc521b99f7fa5fe925fefbf67bbf1c928dacafea5bf84",
50
+ "typeScriptVersion": "5.0",
50
51
  "nonNpm": true
51
52
  }