Skip to content

Commit 851c6f6

Browse files
committed
updated types
1 parent 4675031 commit 851c6f6

8 files changed

+46
-4
lines changed

types/arjs-context.d.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
export default class Context {
2-
static baseUrl: string;
2+
static baseURL: string;
33
static REVISION: string;
44
constructor(parameters: any);
55
className: string;
@@ -22,6 +22,7 @@ export default class Context {
2222
initialized: boolean;
2323
_arMarkersControls: any[];
2424
_artoolkitProjectionAxisTransformMatrix: any;
25+
addEventListener(name: any, callback: any): void;
2526
dispatchEvent(event: any): void;
2627
/**
2728
* Init the artoolkit backend. This is one of the first steps in your app.

types/arjs-context.d.ts.map

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

types/index.d.ts

Lines changed: 13 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,18 @@
1+
declare namespace _default {
2+
export { Anchor };
3+
export { Context };
4+
export { Source };
5+
export { Profile };
6+
export { Session };
7+
export { AnchorDebugUI };
8+
export { SessionDebugUI };
9+
}
10+
export default _default;
11+
import Anchor from "./new-api/arjs-anchor";
12+
import Context from "./arjs-context";
113
import Source from "./arjs-source";
214
import Profile from "./arjs-profile";
315
import Session from "./new-api/arjs-session";
16+
import { AnchorDebugUI } from "./new-api/arjs-debugui";
417
import { SessionDebugUI } from "./new-api/arjs-debugui";
5-
export { Source, Profile, Session, SessionDebugUI };
618
//# sourceMappingURL=index.d.ts.map

types/index.d.ts.map

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

types/new-api/arjs-anchor.d.ts

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
export default class Anchor {
2+
constructor(arSession: any, markerParameters: any);
3+
arSession: any;
4+
parameters: any;
5+
controls: any;
6+
object3d: any;
7+
update: () => void;
8+
}
9+
//# sourceMappingURL=arjs-anchor.d.ts.map

types/new-api/arjs-anchor.d.ts.map

Lines changed: 1 addition & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

types/threex-arsmoothedcontrols.d.ts

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
export default class ArSmoothedControls extends ArBaseControls {
2+
constructor(object3d: any, parameters: any);
3+
_lastLerpStepAt: number;
4+
_visibleStartedAt: number;
5+
_unvisibleStartedAt: number;
6+
parameters: {
7+
lerpPosition: number;
8+
lerpQuaternion: number;
9+
lerpScale: number;
10+
lerpStepDelay: number;
11+
minVisibleDelay: number;
12+
minUnvisibleDelay: number;
13+
};
14+
update(targetObject3d: any): void;
15+
name(): string;
16+
}
17+
import ArBaseControls from "./threex-arbasecontrols";
18+
//# sourceMappingURL=threex-arsmoothedcontrols.d.ts.map

types/threex-arsmoothedcontrols.d.ts.map

Lines changed: 1 addition & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)