@openframe-org/criteria-set-protocol 1.0.21 → 1.0.23
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.
|
@@ -34,7 +34,7 @@ export type LinkDocumentationItem = {
|
|
|
34
34
|
};
|
|
35
35
|
export type DocumentationItem = PdfDocumentationItem | InlineDocumentationItem | LinkDocumentationItem;
|
|
36
36
|
export type CriteriaTree = {
|
|
37
|
-
|
|
37
|
+
qualities: Quality[];
|
|
38
38
|
result?: any;
|
|
39
39
|
};
|
|
40
40
|
type BaseElement<Type extends CriteriaTreeElementType> = {
|
|
@@ -49,6 +49,7 @@ type BaseElement<Type extends CriteriaTreeElementType> = {
|
|
|
49
49
|
export type Quality = Pick<BaseElement<'quality'>, 'type' | 'tags' | 'documentation' | 'data'> & {
|
|
50
50
|
title?: string;
|
|
51
51
|
style?: QualityStyle;
|
|
52
|
+
items: Criterion[];
|
|
52
53
|
};
|
|
53
54
|
export type Criterion = BaseElement<'criterion'> & {
|
|
54
55
|
quality: Quality;
|
package/package.json
CHANGED