@khanacademy/perseus-core 0.0.0-PR681-20230821185150 → 0.0.0-PR681-20230821192414
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.
- package/CHANGELOG.md +1 -1
- package/package.json +1 -1
- package/dist/analytics.js.flow +0 -30
- package/dist/index.js.flow +0 -8
- package/dist/types.js.flow +0 -17
package/CHANGELOG.md
CHANGED
package/package.json
CHANGED
package/dist/analytics.js.flow
DELETED
|
@@ -1,30 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Flowtype definitions for data
|
|
3
|
-
* Generated by Flowgen from a Typescript Definition
|
|
4
|
-
* Flowgen v1.21.0
|
|
5
|
-
* @flow
|
|
6
|
-
*/
|
|
7
|
-
export type PerseusAnalyticsEvent =
|
|
8
|
-
| {|
|
|
9
|
-
type: "perseus:expression-evaluated",
|
|
10
|
-
payload: {|
|
|
11
|
-
virtualKeypadVersion?: string,
|
|
12
|
-
result: "correct" | "incorrect" | "invalid",
|
|
13
|
-
|},
|
|
14
|
-
|}
|
|
15
|
-
| {|
|
|
16
|
-
type: "math-input:keypad-closed",
|
|
17
|
-
payload: {|
|
|
18
|
-
virtualKeypadVersion: string,
|
|
19
|
-
|},
|
|
20
|
-
|}
|
|
21
|
-
| {|
|
|
22
|
-
type: "math-input:keypad-opened",
|
|
23
|
-
payload: {|
|
|
24
|
-
virtualKeypadVersion: string,
|
|
25
|
-
|},
|
|
26
|
-
|};
|
|
27
|
-
/**
|
|
28
|
-
* A function to send analytics events.
|
|
29
|
-
*/
|
|
30
|
-
export type SendEventFn = (event: PerseusAnalyticsEvent) => Promise<void>;
|
package/dist/index.js.flow
DELETED
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Flowtype definitions for data
|
|
3
|
-
* Generated by Flowgen from a Typescript Definition
|
|
4
|
-
* Flowgen v1.21.0
|
|
5
|
-
* @flow
|
|
6
|
-
*/
|
|
7
|
-
export type { PerseusAnalyticsEvent, SendEventFn } from "./analytics";
|
|
8
|
-
export type { KEScore, KeypadContextRendererInterface } from "./types";
|
package/dist/types.js.flow
DELETED
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Flowtype definitions for data
|
|
3
|
-
* Generated by Flowgen from a Typescript Definition
|
|
4
|
-
* Flowgen v1.21.0
|
|
5
|
-
* @flow
|
|
6
|
-
*/
|
|
7
|
-
export interface KeypadContextRendererInterface {
|
|
8
|
-
blur(): void;
|
|
9
|
-
}
|
|
10
|
-
export type KEScore = {|
|
|
11
|
-
empty: boolean,
|
|
12
|
-
correct: boolean,
|
|
13
|
-
message?: string | null | void,
|
|
14
|
-
suppressAlmostThere?: boolean | null | void,
|
|
15
|
-
guess: any,
|
|
16
|
-
state: any,
|
|
17
|
-
|};
|