@m2c2kit/assessment-color-shapes 0.8.31 → 0.8.33
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/dist/index.d.ts +5 -2
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +1178 -13
- package/dist/index.js.map +1 -1
- package/dist/index.min.js +1 -1
- package/package.json +9 -9
- package/schemas.json +118 -1
package/dist/index.d.ts
CHANGED
|
@@ -1,12 +1,15 @@
|
|
|
1
|
-
import { Game } from "@m2c2kit/core";
|
|
1
|
+
import { Game, ScoringProvider, ActivityKeyValueData } from "@m2c2kit/core";
|
|
2
2
|
/**
|
|
3
3
|
* Color Shapes is a visual array change detection task, measuring intra-item
|
|
4
4
|
* feature binding, where participants determine if shapes change color across
|
|
5
5
|
* two sequential presentations of shape stimuli.
|
|
6
6
|
*/
|
|
7
|
-
declare class ColorShapes extends Game {
|
|
7
|
+
declare class ColorShapes extends Game implements ScoringProvider {
|
|
8
8
|
constructor();
|
|
9
9
|
initialize(): Promise<void>;
|
|
10
|
+
calculateScores(data: ActivityKeyValueData[], extras: {
|
|
11
|
+
numberOfTrials: number;
|
|
12
|
+
}): import("@m2c2kit/data-calc").Observation[];
|
|
10
13
|
private makeShapes;
|
|
11
14
|
}
|
|
12
15
|
export { ColorShapes };
|
package/dist/index.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,IAAI,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,IAAI,EAmBJ,eAAe,EACf,oBAAoB,EAErB,MAAM,eAAe,CAAC;AAWvB;;;;GAIG;AACH,cAAM,WAAY,SAAQ,IAAK,YAAW,eAAe;;IAibxC,UAAU;IAioBzB,eAAe,CACb,IAAI,EAAE,oBAAoB,EAAE,EAC5B,MAAM,EAAE;QACN,cAAc,EAAE,MAAM,CAAC;KACxB;IA6BH,OAAO,CAAC,UAAU;CA+EnB;AAaD,OAAO,EAAE,WAAW,EAAE,CAAC"}
|