import { ConfigurationSchema } from '../editionConfig';
import { config as variableInstanceConfig } from './VariableInstance';
export const config: ConfigurationSchema<IQuestionInstance> = {
  ...variableInstanceConfig,
  '@class': {
    type: 'string',
    value: 'QuestionInstance',
    view: { type: 'hidden' },
  },
  active: {
    type: 'boolean',
    view: { label: 'Active' },
  },
  validated: {
    type: 'boolean',
    view: { type: 'hidden' },
  },
  unread: {
    type: 'boolean',
    view: { type: 'hidden' },
  },
};

import { ConfigurationSchema } from '../editionConfig';
import { config as variableInstanceConfig } from './VariableInstance';
export const config: ConfigurationSchema<IQuestionInstance> = {
  ...variableInstanceConfig,
  active: {
    type: 'boolean',
    view: { label: 'Active' },
  },
  validated: {
    type: 'boolean',
    view: { type: 'hidden' },
  },
  unread: {
    type: 'boolean',
    view: { type: 'hidden' },
  },
};

--- 
+++ 
@@ -2,6 +2,11 @@
 import { config as variableInstanceConfig } from './VariableInstance';
 export const config: ConfigurationSchema<IQuestionInstance> = {
   ...variableInstanceConfig,
+  '@class': {
+    type: 'string',
+    value: 'QuestionInstance',
+    view: { type: 'hidden' },
+  },
   active: {
     type: 'boolean',
     view: { label: 'Active' },
Fix missing instance from questions
