@types/forge-viewer 7.61.1 → 7.69.0

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.
forge-viewer/README.md CHANGED
@@ -8,7 +8,7 @@ This package contains type definitions for Forge Viewer (https://forge.autodesk.
8
8
  Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/forge-viewer.
9
9
 
10
10
  ### Additional Details
11
- * Last updated: Wed, 18 May 2022 16:31:39 GMT
11
+ * Last updated: Thu, 26 May 2022 07:31:30 GMT
12
12
  * Dependencies: none
13
13
  * Global values: `Autodesk`, `THREE`
14
14
 
forge-viewer/index.d.ts CHANGED
@@ -1,4 +1,4 @@
1
- // Type definitions for non-npm package Forge Viewer 7.61
1
+ // Type definitions for non-npm package Forge Viewer 7.69
2
2
  // Project: https://forge.autodesk.com/en/docs/viewer/v7/developers_guide/overview/
3
3
  // Definitions by: Autodesk Forge Partner Development <https://github.com/Autodesk-Forge>
4
4
  // Alan Smith <https://github.com/alansmithnbs>
@@ -318,6 +318,7 @@ declare namespace Autodesk {
318
318
  const AGGREGATE_SELECTION_CHANGED_EVENT = 'aggregateSelection';
319
319
  const ANIM_ENDED = 'animEnded';
320
320
  const ANIMATION_READY_EVENT = 'animationReady';
321
+ const BEFORE_MODEL_UNLOAD_EVENT = 'beforeModelUnload';
321
322
  const CAMERA_CHANGE_EVENT = 'cameraChanged';
322
323
  const CAMERA_TRANSITION_COMPLETED = 'cameraTransitionCompleted';
323
324
  const CUTPLANES_CHANGE_EVENT = 'cutplanesChanged';
@@ -1089,7 +1090,7 @@ declare namespace Autodesk {
1089
1090
  createControls(): void;
1090
1091
  initialize(): any;
1091
1092
  setUp(config: any): void;
1092
- tearDown(): void;
1093
+ tearDown(isUnloadModelsWanted?: boolean): void;
1093
1094
  run(): void;
1094
1095
  localize(): void;
1095
1096
  uninitialize(): void;
@@ -1613,7 +1614,9 @@ declare namespace Autodesk {
1613
1614
  function fadeValue(startValue: number, endValue: number, duration: number, setParam: (value: number) => void, onFinished?: () => void): any;
1614
1615
  function formatValueWithUnits(value: number, units: string, type: number, precision: number,
1615
1616
  options?: { noMixedArea?: boolean | undefined; noMixedVolume?: boolean | undefined, preferLetters?: boolean | undefined; }): string;
1617
+ function getAndroidVersion(ua: any): string;
1616
1618
  function getHtmlTemplate(url: string, callback: (error: string, content: string) => void): void;
1619
+ function getIOSVersion(ua: any): string;
1617
1620
  function lerp(x: number, y: number, t: number): number;
1618
1621
 
1619
1622
  interface FragmentList {
forge-viewer/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@types/forge-viewer",
3
- "version": "7.61.1",
3
+ "version": "7.69.0",
4
4
  "description": "TypeScript definitions for Forge Viewer",
5
5
  "homepage": "https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/forge-viewer",
6
6
  "license": "MIT",
@@ -40,6 +40,6 @@
40
40
  },
41
41
  "scripts": {},
42
42
  "dependencies": {},
43
- "typesPublisherContentHash": "1687c0433767ef42f0a3c113e2499d22076bc42c374f0d2d9163826347d023ac",
43
+ "typesPublisherContentHash": "6decbf869d78a5424b41c1e3bb4cb80d5da354b216c0cc4f4c3f99478ba5ecaf",
44
44
  "typeScriptVersion": "3.9"
45
45
  }