@openframe-org/criteria-set-protocol 1.4.5 → 1.4.6
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.
|
@@ -22,7 +22,6 @@ export type Metadata = {
|
|
|
22
22
|
locales?: string[];
|
|
23
23
|
defaultLocale?: string;
|
|
24
24
|
schemas?: SchemaDefinitions;
|
|
25
|
-
certificationDefinitions?: CertificationDefinition[];
|
|
26
25
|
};
|
|
27
26
|
export type PdfDocumentationItem = {
|
|
28
27
|
type: 'pdf';
|
|
@@ -46,6 +45,7 @@ export type CriteriaTree = {
|
|
|
46
45
|
version: string;
|
|
47
46
|
qualities: Quality[];
|
|
48
47
|
certifications?: string[];
|
|
48
|
+
certificationDefinitions?: CertificationDefinition[];
|
|
49
49
|
result?: any;
|
|
50
50
|
};
|
|
51
51
|
type BaseElement<Type extends CriteriaTreeElementType> = {
|
|
@@ -117,7 +117,7 @@ export type DataMap = {
|
|
|
117
117
|
};
|
|
118
118
|
export type CertificationDefinitionType = 'number' | 'percentage';
|
|
119
119
|
type AbstractCertificationDefinitionRules<Rules> = Rules extends undefined | never ? {
|
|
120
|
-
rules?:
|
|
120
|
+
rules?: Rules;
|
|
121
121
|
rulesText?: string;
|
|
122
122
|
} : {
|
|
123
123
|
rules: Rules;
|
package/package.json
CHANGED