-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.ts
More file actions
39 lines (37 loc) · 1.13 KB
/
index.ts
File metadata and controls
39 lines (37 loc) · 1.13 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
/**
* Extension point for application-specific state that the animation loop shares across frames.
*
* @remarks
* Augment this interface via declaration merging so custom properties flow into {@link SnaprollContext}.
* Snaproll maintains a single context instance per controller; store long-lived data on user fields
* and rely on {@link SnaprollActionType | action-specific} payloads for phase details.
*
* @example
* ```ts
* declare module 'snaproll' {
* interface SnaprollUserContext {
* score: number
* }
* }
* ```
*/
// eslint-disable-next-line typescript/no-empty-object-type, typescript/no-empty-interface
export interface SnaprollUserContext {}
export {
Snaproll,
SnaprollActionType,
type SnaprollActionBegin,
type SnaprollActionDraw,
type SnaprollActionUpdate,
type SnaprollContext,
type SnaprollOptions,
type SnaprollResetOptions,
type SnaprollSubscription,
type SnaprollSubscriptionControls,
} from './snaproll'
export {
SnaprollDrawRateAdvisor,
type SnaprollDrawRateAdvisorOptions,
type SnaprollDrawRateAdvisorResponse,
type SnaprollDrawRateAdvisorSubscription,
} from './draw-rate-advisor'