@openframe-org/criteria-set-protocol 1.1.2 → 1.2.0

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.
@@ -50,7 +50,7 @@ type BaseElement<Type extends CriteriaTreeElementType> = {
50
50
  type: Type;
51
51
  id: string;
52
52
  title: string;
53
- label?: string;
53
+ code?: string;
54
54
  tags?: string[];
55
55
  documentation?: DocumentationItem[];
56
56
  data?: Record<string, any>;
@@ -105,6 +105,7 @@ export type TaskItemDefinition = SelectSingleType | SelectMultipleType | NumberT
105
105
  export type CriteriaTreeElement = Quality | Criterion | TaskGroup | Task | TaskItem;
106
106
  export type CriteriaTreeElementType = 'quality' | 'criterion' | 'task-group' | 'task' | 'task-item';
107
107
  export type DataMap = {
108
+ version: string;
108
109
  elements: Record<string, any>;
109
110
  result: any;
110
111
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@openframe-org/criteria-set-protocol",
3
- "version": "1.1.2",
3
+ "version": "1.2.0",
4
4
  "description": "A protocol and tools for defining and working with criteria sets",
5
5
  "private": false,
6
6
  "author": "Andrés Angulo <aa@openframe.org>",