mirror of
https://github.com/jspsych/jsPsych.git
synced 2025-05-10 11:10:54 +00:00
fix COMPLEX type metadata syntax
This commit is contained in:
parent
8ae8ac3d92
commit
484300c49a
9
.changeset/ten-walls-double.md
Normal file
9
.changeset/ten-walls-double.md
Normal file
@ -0,0 +1,9 @@
|
||||
---
|
||||
"@jspsych/plugin-animation": patch
|
||||
"@jspsych/plugin-free-sort": patch
|
||||
"@jspsych/plugin-instructions": patch
|
||||
"@jspsych/plugin-maxdiff": patch
|
||||
"@jspsych/plugin-sketchpad": patch
|
||||
---
|
||||
|
||||
fix data values with `COMPLEX` type to use proper metadata syntax
|
@ -65,7 +65,7 @@ const info = <const>{
|
||||
animation_sequence: {
|
||||
type: ParameterType.COMPLEX,
|
||||
array: true,
|
||||
parameters: {
|
||||
nested: {
|
||||
stimulus: {
|
||||
type: ParameterType.STRING,
|
||||
},
|
||||
@ -83,7 +83,7 @@ const info = <const>{
|
||||
response: {
|
||||
type: ParameterType.COMPLEX,
|
||||
array: true,
|
||||
parameters: {
|
||||
nested: {
|
||||
stimulus: {
|
||||
type: ParameterType.STRING,
|
||||
},
|
||||
|
@ -134,7 +134,7 @@ const info = <const>{
|
||||
moves: {
|
||||
type: ParameterType.COMPLEX,
|
||||
array: true,
|
||||
parameters: {
|
||||
nested: {
|
||||
src: {
|
||||
type: ParameterType.STRING,
|
||||
},
|
||||
@ -150,7 +150,7 @@ const info = <const>{
|
||||
final_locations: {
|
||||
type: ParameterType.COMPLEX,
|
||||
array: true,
|
||||
parameters: {
|
||||
nested: {
|
||||
src: {
|
||||
type: ParameterType.STRING,
|
||||
},
|
||||
|
@ -78,7 +78,7 @@ const info = <const>{
|
||||
view_history: {
|
||||
type: ParameterType.COMPLEX,
|
||||
array: true,
|
||||
parameters: {
|
||||
nested: {
|
||||
page_index: {
|
||||
type: ParameterType.INT,
|
||||
},
|
||||
|
@ -52,7 +52,7 @@ const info = <const>{
|
||||
* columns. This will be encoded as a JSON string when data is saved using the `.json()` or `.csv()` functions. */
|
||||
labels: {
|
||||
type: ParameterType.COMPLEX,
|
||||
parameters: {
|
||||
nested: {
|
||||
left: {
|
||||
type: ParameterType.STRING,
|
||||
},
|
||||
@ -65,7 +65,7 @@ const info = <const>{
|
||||
* This will be encoded as a JSON string when data is saved using the `.json()` or `.csv()` functions. */
|
||||
response: {
|
||||
type: ParameterType.COMPLEX,
|
||||
parameters: {
|
||||
nested: {
|
||||
left: {
|
||||
type: ParameterType.STRING,
|
||||
},
|
||||
|
@ -232,7 +232,7 @@ const info = <const>{
|
||||
strokes: {
|
||||
type: ParameterType.COMPLEX,
|
||||
array: true,
|
||||
parameters: {
|
||||
nested: {
|
||||
action: {
|
||||
type: ParameterType.STRING,
|
||||
},
|
||||
|
Loading…
Reference in New Issue
Block a user